(function(){const h=document.createElement("link").relList;if(h&&h.supports&&h.supports("modulepreload"))return;for(const x of document.querySelectorAll('link[rel="modulepreload"]'))d(x);new MutationObserver(x=>{for(const M of x)if(M.type==="childList")for(const U of M.addedNodes)U.tagName==="LINK"&&U.rel==="modulepreload"&&d(U)}).observe(document,{childList:!0,subtree:!0});function p(x){const M={};return x.integrity&&(M.integrity=x.integrity),x.referrerPolicy&&(M.referrerPolicy=x.referrerPolicy),x.crossOrigin==="use-credentials"?M.credentials="include":x.crossOrigin==="anonymous"?M.credentials="omit":M.credentials="same-origin",M}function d(x){if(x.ep)return;x.ep=!0;const M=p(x);fetch(x.href,M)}})();var Sf={exports:{}},Ou={};/**
 * @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 Or;function r0(){if(Or)return Ou;Or=1;var y=Symbol.for("react.transitional.element"),h=Symbol.for("react.fragment");function p(d,x,M){var U=null;if(M!==void 0&&(U=""+M),x.key!==void 0&&(U=""+x.key),"key"in x){M={};for(var Z in x)Z!=="key"&&(M[Z]=x[Z])}else M=x;return x=M.ref,{$$typeof:y,type:d,key:U,ref:x!==void 0?x:null,props:M}}return Ou.Fragment=h,Ou.jsx=p,Ou.jsxs=p,Ou}var Mr;function m0(){return Mr||(Mr=1,Sf.exports=r0()),Sf.exports}var o=m0(),bf={exports:{}},Mu={},pf={exports:{}},Tf={};/**
 * @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 jr;function y0(){return jr||(jr=1,(function(y){function h(z,R){var L=z.length;z.push(R);l:for(;0<L;){var dl=L-1>>>1,hl=z[dl];if(0<x(hl,R))z[dl]=R,z[L]=hl,L=dl;else break l}}function p(z){return z.length===0?null:z[0]}function d(z){if(z.length===0)return null;var R=z[0],L=z.pop();if(L!==R){z[0]=L;l:for(var dl=0,hl=z.length,r=hl>>>1;dl<r;){var O=2*(dl+1)-1,C=z[O],B=O+1,K=z[B];if(0>x(C,L))B<hl&&0>x(K,C)?(z[dl]=K,z[B]=L,dl=B):(z[dl]=C,z[O]=L,dl=O);else if(B<hl&&0>x(K,L))z[dl]=K,z[B]=L,dl=B;else break l}}return R}function x(z,R){var L=z.sortIndex-R.sortIndex;return L!==0?L:z.id-R.id}if(y.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var M=performance;y.unstable_now=function(){return M.now()}}else{var U=Date,Z=U.now();y.unstable_now=function(){return U.now()-Z}}var N=[],E=[],j=1,D=null,w=3,Nl=!1,Gl=!1,Rl=!1,Ml=!1,_l=typeof setTimeout=="function"?setTimeout:null,tt=typeof clearTimeout=="function"?clearTimeout:null,Xl=typeof setImmediate<"u"?setImmediate:null;function et(z){for(var R=p(E);R!==null;){if(R.callback===null)d(E);else if(R.startTime<=z)d(E),R.sortIndex=R.expirationTime,h(N,R);else break;R=p(E)}}function el(z){if(Rl=!1,et(z),!Gl)if(p(N)!==null)Gl=!0,W||(W=!0,xl());else{var R=p(E);R!==null&&Rt(el,R.startTime-z)}}var W=!1,Q=-1,ol=5,Tl=-1;function Wl(){return Ml?!0:!(y.unstable_now()-Tl<ol)}function sl(){if(Ml=!1,W){var z=y.unstable_now();Tl=z;var R=!0;try{l:{Gl=!1,Rl&&(Rl=!1,tt(Q),Q=-1),Nl=!0;var L=w;try{t:{for(et(z),D=p(N);D!==null&&!(D.expirationTime>z&&Wl());){var dl=D.callback;if(typeof dl=="function"){D.callback=null,w=D.priorityLevel;var hl=dl(D.expirationTime<=z);if(z=y.unstable_now(),typeof hl=="function"){D.callback=hl,et(z),R=!0;break t}D===p(N)&&d(N),et(z)}else d(N);D=p(N)}if(D!==null)R=!0;else{var r=p(E);r!==null&&Rt(el,r.startTime-z),R=!1}}break l}finally{D=null,w=L,Nl=!1}R=void 0}}finally{R?xl():W=!1}}}var xl;if(typeof Xl=="function")xl=function(){Xl(sl)};else if(typeof MessageChannel<"u"){var at=new MessageChannel,zt=at.port2;at.port1.onmessage=sl,xl=function(){zt.postMessage(null)}}else xl=function(){_l(sl,0)};function Rt(z,R){Q=_l(function(){z(y.unstable_now())},R)}y.unstable_IdlePriority=5,y.unstable_ImmediatePriority=1,y.unstable_LowPriority=4,y.unstable_NormalPriority=3,y.unstable_Profiling=null,y.unstable_UserBlockingPriority=2,y.unstable_cancelCallback=function(z){z.callback=null},y.unstable_forceFrameRate=function(z){0>z||125<z?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ol=0<z?Math.floor(1e3/z):5},y.unstable_getCurrentPriorityLevel=function(){return w},y.unstable_next=function(z){switch(w){case 1:case 2:case 3:var R=3;break;default:R=w}var L=w;w=R;try{return z()}finally{w=L}},y.unstable_requestPaint=function(){Ml=!0},y.unstable_runWithPriority=function(z,R){switch(z){case 1:case 2:case 3:case 4:case 5:break;default:z=3}var L=w;w=z;try{return R()}finally{w=L}},y.unstable_scheduleCallback=function(z,R,L){var dl=y.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?dl+L:dl):L=dl,z){case 1:var hl=-1;break;case 2:hl=250;break;case 5:hl=1073741823;break;case 4:hl=1e4;break;default:hl=5e3}return hl=L+hl,z={id:j++,callback:R,priorityLevel:z,startTime:L,expirationTime:hl,sortIndex:-1},L>dl?(z.sortIndex=L,h(E,z),p(N)===null&&z===p(E)&&(Rl?(tt(Q),Q=-1):Rl=!0,Rt(el,L-dl))):(z.sortIndex=hl,h(N,z),Gl||Nl||(Gl=!0,W||(W=!0,xl()))),z},y.unstable_shouldYield=Wl,y.unstable_wrapCallback=function(z){var R=w;return function(){var L=w;w=R;try{return z.apply(this,arguments)}finally{w=L}}}})(Tf)),Tf}var Dr;function h0(){return Dr||(Dr=1,pf.exports=y0()),pf.exports}var zf={exports:{}},V={};/**
 * @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 Ur;function v0(){if(Ur)return V;Ur=1;var y=Symbol.for("react.transitional.element"),h=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),M=Symbol.for("react.consumer"),U=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),w=Symbol.iterator;function Nl(r){return r===null||typeof r!="object"?null:(r=w&&r[w]||r["@@iterator"],typeof r=="function"?r:null)}var Gl={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Rl=Object.assign,Ml={};function _l(r,O,C){this.props=r,this.context=O,this.refs=Ml,this.updater=C||Gl}_l.prototype.isReactComponent={},_l.prototype.setState=function(r,O){if(typeof r!="object"&&typeof r!="function"&&r!=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,r,O,"setState")},_l.prototype.forceUpdate=function(r){this.updater.enqueueForceUpdate(this,r,"forceUpdate")};function tt(){}tt.prototype=_l.prototype;function Xl(r,O,C){this.props=r,this.context=O,this.refs=Ml,this.updater=C||Gl}var et=Xl.prototype=new tt;et.constructor=Xl,Rl(et,_l.prototype),et.isPureReactComponent=!0;var el=Array.isArray;function W(){}var Q={H:null,A:null,T:null,S:null},ol=Object.prototype.hasOwnProperty;function Tl(r,O,C){var B=C.ref;return{$$typeof:y,type:r,key:O,ref:B!==void 0?B:null,props:C}}function Wl(r,O){return Tl(r.type,O,r.props)}function sl(r){return typeof r=="object"&&r!==null&&r.$$typeof===y}function xl(r){var O={"=":"=0",":":"=2"};return"$"+r.replace(/[=:]/g,function(C){return O[C]})}var at=/\/+/g;function zt(r,O){return typeof r=="object"&&r!==null&&r.key!=null?xl(""+r.key):O.toString(36)}function Rt(r){switch(r.status){case"fulfilled":return r.value;case"rejected":throw r.reason;default:switch(typeof r.status=="string"?r.then(W,W):(r.status="pending",r.then(function(O){r.status==="pending"&&(r.status="fulfilled",r.value=O)},function(O){r.status==="pending"&&(r.status="rejected",r.reason=O)})),r.status){case"fulfilled":return r.value;case"rejected":throw r.reason}}throw r}function z(r,O,C,B,K){var $=typeof r;($==="undefined"||$==="boolean")&&(r=null);var il=!1;if(r===null)il=!0;else switch($){case"bigint":case"string":case"number":il=!0;break;case"object":switch(r.$$typeof){case y:case h:il=!0;break;case j:return il=r._init,z(il(r._payload),O,C,B,K)}}if(il)return K=K(r),il=B===""?"."+zt(r,0):B,el(K)?(C="",il!=null&&(C=il.replace(at,"$&/")+"/"),z(K,O,C,"",function(Ca){return Ca})):K!=null&&(sl(K)&&(K=Wl(K,C+(K.key==null||r&&r.key===K.key?"":(""+K.key).replace(at,"$&/")+"/")+il)),O.push(K)),1;il=0;var Pl=B===""?".":B+":";if(el(r))for(var jl=0;jl<r.length;jl++)B=r[jl],$=Pl+zt(B,jl),il+=z(B,O,C,$,K);else if(jl=Nl(r),typeof jl=="function")for(r=jl.call(r),jl=0;!(B=r.next()).done;)B=B.value,$=Pl+zt(B,jl++),il+=z(B,O,C,$,K);else if($==="object"){if(typeof r.then=="function")return z(Rt(r),O,C,B,K);throw O=String(r),Error("Objects are not valid as a React child (found: "+(O==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":O)+"). If you meant to render a collection of children, use an array instead.")}return il}function R(r,O,C){if(r==null)return r;var B=[],K=0;return z(r,B,"","",function($){return O.call(C,$,K++)}),B}function L(r){if(r._status===-1){var O=r._result;O=O(),O.then(function(C){(r._status===0||r._status===-1)&&(r._status=1,r._result=C)},function(C){(r._status===0||r._status===-1)&&(r._status=2,r._result=C)}),r._status===-1&&(r._status=0,r._result=O)}if(r._status===1)return r._result.default;throw r._result}var dl=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var O=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(O))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)},hl={map:R,forEach:function(r,O,C){R(r,function(){O.apply(this,arguments)},C)},count:function(r){var O=0;return R(r,function(){O++}),O},toArray:function(r){return R(r,function(O){return O})||[]},only:function(r){if(!sl(r))throw Error("React.Children.only expected to receive a single React element child.");return r}};return V.Activity=D,V.Children=hl,V.Component=_l,V.Fragment=p,V.Profiler=x,V.PureComponent=Xl,V.StrictMode=d,V.Suspense=N,V.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Q,V.__COMPILER_RUNTIME={__proto__:null,c:function(r){return Q.H.useMemoCache(r)}},V.cache=function(r){return function(){return r.apply(null,arguments)}},V.cacheSignal=function(){return null},V.cloneElement=function(r,O,C){if(r==null)throw Error("The argument must be a React element, but you passed "+r+".");var B=Rl({},r.props),K=r.key;if(O!=null)for($ in O.key!==void 0&&(K=""+O.key),O)!ol.call(O,$)||$==="key"||$==="__self"||$==="__source"||$==="ref"&&O.ref===void 0||(B[$]=O[$]);var $=arguments.length-2;if($===1)B.children=C;else if(1<$){for(var il=Array($),Pl=0;Pl<$;Pl++)il[Pl]=arguments[Pl+2];B.children=il}return Tl(r.type,K,B)},V.createContext=function(r){return r={$$typeof:U,_currentValue:r,_currentValue2:r,_threadCount:0,Provider:null,Consumer:null},r.Provider=r,r.Consumer={$$typeof:M,_context:r},r},V.createElement=function(r,O,C){var B,K={},$=null;if(O!=null)for(B in O.key!==void 0&&($=""+O.key),O)ol.call(O,B)&&B!=="key"&&B!=="__self"&&B!=="__source"&&(K[B]=O[B]);var il=arguments.length-2;if(il===1)K.children=C;else if(1<il){for(var Pl=Array(il),jl=0;jl<il;jl++)Pl[jl]=arguments[jl+2];K.children=Pl}if(r&&r.defaultProps)for(B in il=r.defaultProps,il)K[B]===void 0&&(K[B]=il[B]);return Tl(r,$,K)},V.createRef=function(){return{current:null}},V.forwardRef=function(r){return{$$typeof:Z,render:r}},V.isValidElement=sl,V.lazy=function(r){return{$$typeof:j,_payload:{_status:-1,_result:r},_init:L}},V.memo=function(r,O){return{$$typeof:E,type:r,compare:O===void 0?null:O}},V.startTransition=function(r){var O=Q.T,C={};Q.T=C;try{var B=r(),K=Q.S;K!==null&&K(C,B),typeof B=="object"&&B!==null&&typeof B.then=="function"&&B.then(W,dl)}catch($){dl($)}finally{O!==null&&C.types!==null&&(O.types=C.types),Q.T=O}},V.unstable_useCacheRefresh=function(){return Q.H.useCacheRefresh()},V.use=function(r){return Q.H.use(r)},V.useActionState=function(r,O,C){return Q.H.useActionState(r,O,C)},V.useCallback=function(r,O){return Q.H.useCallback(r,O)},V.useContext=function(r){return Q.H.useContext(r)},V.useDebugValue=function(){},V.useDeferredValue=function(r,O){return Q.H.useDeferredValue(r,O)},V.useEffect=function(r,O){return Q.H.useEffect(r,O)},V.useEffectEvent=function(r){return Q.H.useEffectEvent(r)},V.useId=function(){return Q.H.useId()},V.useImperativeHandle=function(r,O,C){return Q.H.useImperativeHandle(r,O,C)},V.useInsertionEffect=function(r,O){return Q.H.useInsertionEffect(r,O)},V.useLayoutEffect=function(r,O){return Q.H.useLayoutEffect(r,O)},V.useMemo=function(r,O){return Q.H.useMemo(r,O)},V.useOptimistic=function(r,O){return Q.H.useOptimistic(r,O)},V.useReducer=function(r,O,C){return Q.H.useReducer(r,O,C)},V.useRef=function(r){return Q.H.useRef(r)},V.useState=function(r){return Q.H.useState(r)},V.useSyncExternalStore=function(r,O,C){return Q.H.useSyncExternalStore(r,O,C)},V.useTransition=function(){return Q.H.useTransition()},V.version="19.2.4",V}var Nr;function _f(){return Nr||(Nr=1,zf.exports=v0()),zf.exports}var xf={exports:{}},$l={};/**
 * @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 Rr;function g0(){if(Rr)return $l;Rr=1;var y=_f();function h(N){var E="https://react.dev/errors/"+N;if(1<arguments.length){E+="?args[]="+encodeURIComponent(arguments[1]);for(var j=2;j<arguments.length;j++)E+="&args[]="+encodeURIComponent(arguments[j])}return"Minified React error #"+N+"; visit "+E+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function p(){}var d={d:{f:p,r:function(){throw Error(h(522))},D:p,C:p,L:p,m:p,X:p,S:p,M:p},p:0,findDOMNode:null},x=Symbol.for("react.portal");function M(N,E,j){var D=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:x,key:D==null?null:""+D,children:N,containerInfo:E,implementation:j}}var U=y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Z(N,E){if(N==="font")return"";if(typeof E=="string")return E==="use-credentials"?E:""}return $l.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=d,$l.createPortal=function(N,E){var j=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!E||E.nodeType!==1&&E.nodeType!==9&&E.nodeType!==11)throw Error(h(299));return M(N,E,null,j)},$l.flushSync=function(N){var E=U.T,j=d.p;try{if(U.T=null,d.p=2,N)return N()}finally{U.T=E,d.p=j,d.d.f()}},$l.preconnect=function(N,E){typeof N=="string"&&(E?(E=E.crossOrigin,E=typeof E=="string"?E==="use-credentials"?E:"":void 0):E=null,d.d.C(N,E))},$l.prefetchDNS=function(N){typeof N=="string"&&d.d.D(N)},$l.preinit=function(N,E){if(typeof N=="string"&&E&&typeof E.as=="string"){var j=E.as,D=Z(j,E.crossOrigin),w=typeof E.integrity=="string"?E.integrity:void 0,Nl=typeof E.fetchPriority=="string"?E.fetchPriority:void 0;j==="style"?d.d.S(N,typeof E.precedence=="string"?E.precedence:void 0,{crossOrigin:D,integrity:w,fetchPriority:Nl}):j==="script"&&d.d.X(N,{crossOrigin:D,integrity:w,fetchPriority:Nl,nonce:typeof E.nonce=="string"?E.nonce:void 0})}},$l.preinitModule=function(N,E){if(typeof N=="string")if(typeof E=="object"&&E!==null){if(E.as==null||E.as==="script"){var j=Z(E.as,E.crossOrigin);d.d.M(N,{crossOrigin:j,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0})}}else E==null&&d.d.M(N)},$l.preload=function(N,E){if(typeof N=="string"&&typeof E=="object"&&E!==null&&typeof E.as=="string"){var j=E.as,D=Z(j,E.crossOrigin);d.d.L(N,j,{crossOrigin:D,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0,type:typeof E.type=="string"?E.type:void 0,fetchPriority:typeof E.fetchPriority=="string"?E.fetchPriority:void 0,referrerPolicy:typeof E.referrerPolicy=="string"?E.referrerPolicy:void 0,imageSrcSet:typeof E.imageSrcSet=="string"?E.imageSrcSet:void 0,imageSizes:typeof E.imageSizes=="string"?E.imageSizes:void 0,media:typeof E.media=="string"?E.media:void 0})}},$l.preloadModule=function(N,E){if(typeof N=="string")if(E){var j=Z(E.as,E.crossOrigin);d.d.m(N,{as:typeof E.as=="string"&&E.as!=="script"?E.as:void 0,crossOrigin:j,integrity:typeof E.integrity=="string"?E.integrity:void 0})}else d.d.m(N)},$l.requestFormReset=function(N){d.d.r(N)},$l.unstable_batchedUpdates=function(N,E){return N(E)},$l.useFormState=function(N,E,j){return U.H.useFormState(N,E,j)},$l.useFormStatus=function(){return U.H.useHostTransitionStatus()},$l.version="19.2.4",$l}var Cr;function S0(){if(Cr)return xf.exports;Cr=1;function y(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(y)}catch(h){console.error(h)}}return y(),xf.exports=g0(),xf.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 Hr;function b0(){if(Hr)return Mu;Hr=1;var y=h0(),h=_f(),p=S0();function d(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 x(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function M(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 U(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 Z(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 N(l){if(M(l)!==l)throw Error(d(188))}function E(l){var t=l.alternate;if(!t){if(t=M(l),t===null)throw Error(d(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 N(u),l;if(n===a)return N(u),t;n=n.sibling}throw Error(d(188))}if(e.return!==a.return)e=u,a=n;else{for(var i=!1,c=u.child;c;){if(c===e){i=!0,e=u,a=n;break}if(c===a){i=!0,a=u,e=n;break}c=c.sibling}if(!i){for(c=n.child;c;){if(c===e){i=!0,e=n,a=u;break}if(c===a){i=!0,a=n,e=u;break}c=c.sibling}if(!i)throw Error(d(189))}}if(e.alternate!==a)throw Error(d(190))}if(e.tag!==3)throw Error(d(188));return e.stateNode.current===e?l:t}function j(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l;for(l=l.child;l!==null;){if(t=j(l),t!==null)return t;l=l.sibling}return null}var D=Object.assign,w=Symbol.for("react.element"),Nl=Symbol.for("react.transitional.element"),Gl=Symbol.for("react.portal"),Rl=Symbol.for("react.fragment"),Ml=Symbol.for("react.strict_mode"),_l=Symbol.for("react.profiler"),tt=Symbol.for("react.consumer"),Xl=Symbol.for("react.context"),et=Symbol.for("react.forward_ref"),el=Symbol.for("react.suspense"),W=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),ol=Symbol.for("react.lazy"),Tl=Symbol.for("react.activity"),Wl=Symbol.for("react.memo_cache_sentinel"),sl=Symbol.iterator;function xl(l){return l===null||typeof l!="object"?null:(l=sl&&l[sl]||l["@@iterator"],typeof l=="function"?l:null)}var at=Symbol.for("react.client.reference");function zt(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===at?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Rl:return"Fragment";case _l:return"Profiler";case Ml:return"StrictMode";case el:return"Suspense";case W:return"SuspenseList";case Tl:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case Gl:return"Portal";case Xl:return l.displayName||"Context";case tt:return(l._context.displayName||"Context")+".Consumer";case et:var t=l.render;return l=l.displayName,l||(l=t.displayName||t.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case Q:return t=l.displayName||null,t!==null?t:zt(l.type)||"Memo";case ol:t=l._payload,l=l._init;try{return zt(l(t))}catch{}}return null}var Rt=Array.isArray,z=h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R=p.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L={pending:!1,data:null,method:null,action:null},dl=[],hl=-1;function r(l){return{current:l}}function O(l){0>hl||(l.current=dl[hl],dl[hl]=null,hl--)}function C(l,t){hl++,dl[hl]=l.current,l.current=t}var B=r(null),K=r(null),$=r(null),il=r(null);function Pl(l,t){switch(C($,t),C(K,l),C(B,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?$d(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=$d(t),l=Fd(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}O(B),C(B,l)}function jl(){O(B),O(K),O($)}function Ca(l){l.memoizedState!==null&&C(il,l);var t=B.current,e=Fd(t,l.type);t!==e&&(C(K,l),C(B,e))}function Uu(l){K.current===l&&(O(B),O(K)),il.current===l&&(O(il),xu._currentValue=L)}var Pn,Ef;function Ue(l){if(Pn===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Pn=t&&t[1]||"",Ef=-1<e.stack.indexOf(`
    at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Pn+l+Ef}var li=!1;function ti(l,t){if(!l||li)return"";li=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var A=function(){throw Error()};if(Object.defineProperty(A.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(A,[])}catch(b){var S=b}Reflect.construct(l,[],A)}else{try{A.call()}catch(b){S=b}l.call(A.prototype)}}else{try{throw Error()}catch(b){S=b}(A=l())&&typeof A.catch=="function"&&A.catch(function(){})}}catch(b){if(b&&S&&typeof b.stack=="string")return[b.stack,S.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(),i=n[0],c=n[1];if(i&&c){var f=i.split(`
`),g=c.split(`
`);for(u=a=0;a<f.length&&!f[a].includes("DetermineComponentFrameRoot");)a++;for(;u<g.length&&!g[u].includes("DetermineComponentFrameRoot");)u++;if(a===f.length||u===g.length)for(a=f.length-1,u=g.length-1;1<=a&&0<=u&&f[a]!==g[u];)u--;for(;1<=a&&0<=u;a--,u--)if(f[a]!==g[u]){if(a!==1||u!==1)do if(a--,u--,0>u||f[a]!==g[u]){var T=`
`+f[a].replace(" at new "," at ");return l.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",l.displayName)),T}while(1<=a&&0<=u);break}}}finally{li=!1,Error.prepareStackTrace=e}return(e=l?l.displayName||l.name:"")?Ue(e):""}function Zr(l,t){switch(l.tag){case 26:case 27:case 5:return Ue(l.type);case 16:return Ue("Lazy");case 13:return l.child!==t&&t!==null?Ue("Suspense Fallback"):Ue("Suspense");case 19:return Ue("SuspenseList");case 0:case 15:return ti(l.type,!1);case 11:return ti(l.type.render,!1);case 1:return ti(l.type,!0);case 31:return Ue("Activity");default:return""}}function Af(l){try{var t="",e=null;do t+=Zr(l,e),e=l,l=l.return;while(l);return t}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}var ei=Object.prototype.hasOwnProperty,ai=y.unstable_scheduleCallback,ui=y.unstable_cancelCallback,Vr=y.unstable_shouldYield,Kr=y.unstable_requestPaint,dt=y.unstable_now,Jr=y.unstable_getCurrentPriorityLevel,Of=y.unstable_ImmediatePriority,Mf=y.unstable_UserBlockingPriority,Nu=y.unstable_NormalPriority,wr=y.unstable_LowPriority,jf=y.unstable_IdlePriority,kr=y.log,Wr=y.unstable_setDisableYieldValue,Ha=null,rt=null;function ne(l){if(typeof kr=="function"&&Wr(l),rt&&typeof rt.setStrictMode=="function")try{rt.setStrictMode(Ha,l)}catch{}}var mt=Math.clz32?Math.clz32:Ir,$r=Math.log,Fr=Math.LN2;function Ir(l){return l>>>=0,l===0?32:31-($r(l)/Fr|0)|0}var Ru=256,Cu=262144,Hu=4194304;function Ne(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 Bu(l,t,e){var a=l.pendingLanes;if(a===0)return 0;var u=0,n=l.suspendedLanes,i=l.pingedLanes;l=l.warmLanes;var c=a&134217727;return c!==0?(a=c&~n,a!==0?u=Ne(a):(i&=c,i!==0?u=Ne(i):e||(e=c&~l,e!==0&&(u=Ne(e))))):(c=a&~n,c!==0?u=Ne(c):i!==0?u=Ne(i):e||(e=a&~l,e!==0&&(u=Ne(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 Ba(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function Pr(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 Df(){var l=Hu;return Hu<<=1,(Hu&62914560)===0&&(Hu=4194304),l}function ni(l){for(var t=[],e=0;31>e;e++)t.push(l);return t}function qa(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function lm(l,t,e,a,u,n){var i=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 c=l.entanglements,f=l.expirationTimes,g=l.hiddenUpdates;for(e=i&~e;0<e;){var T=31-mt(e),A=1<<T;c[T]=0,f[T]=-1;var S=g[T];if(S!==null)for(g[T]=null,T=0;T<S.length;T++){var b=S[T];b!==null&&(b.lane&=-536870913)}e&=~A}a!==0&&Uf(l,a,0),n!==0&&u===0&&l.tag!==0&&(l.suspendedLanes|=n&~(i&~t))}function Uf(l,t,e){l.pendingLanes|=t,l.suspendedLanes&=~t;var a=31-mt(t);l.entangledLanes|=t,l.entanglements[a]=l.entanglements[a]|1073741824|e&261930}function Nf(l,t){var e=l.entangledLanes|=t;for(l=l.entanglements;e;){var a=31-mt(e),u=1<<a;u&t|l[a]&t&&(l[a]|=t),e&=~u}}function Rf(l,t){var e=t&-t;return e=(e&42)!==0?1:ii(e),(e&(l.suspendedLanes|t))!==0?0:e}function ii(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 ci(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function Cf(){var l=R.p;return l!==0?l:(l=window.event,l===void 0?32:pr(l.type))}function Hf(l,t){var e=R.p;try{return R.p=l,t()}finally{R.p=e}}var ie=Math.random().toString(36).slice(2),Vl="__reactFiber$"+ie,ut="__reactProps$"+ie,$e="__reactContainer$"+ie,fi="__reactEvents$"+ie,tm="__reactListeners$"+ie,em="__reactHandles$"+ie,Bf="__reactResources$"+ie,Ya="__reactMarker$"+ie;function oi(l){delete l[Vl],delete l[ut],delete l[fi],delete l[tm],delete l[em]}function Fe(l){var t=l[Vl];if(t)return t;for(var e=l.parentNode;e;){if(t=e[$e]||e[Vl]){if(e=t.alternate,t.child!==null||e!==null&&e.child!==null)for(l=ur(l);l!==null;){if(e=l[Vl])return e;l=ur(l)}return t}l=e,e=l.parentNode}return null}function Ie(l){if(l=l[Vl]||l[$e]){var t=l.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return l}return null}function Ga(l){var t=l.tag;if(t===5||t===26||t===27||t===6)return l.stateNode;throw Error(d(33))}function Pe(l){var t=l[Bf];return t||(t=l[Bf]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ql(l){l[Ya]=!0}var qf=new Set,Yf={};function Re(l,t){la(l,t),la(l+"Capture",t)}function la(l,t){for(Yf[l]=t,l=0;l<t.length;l++)qf.add(t[l])}var am=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]*$"),Gf={},Lf={};function um(l){return ei.call(Lf,l)?!0:ei.call(Gf,l)?!1:am.test(l)?Lf[l]=!0:(Gf[l]=!0,!1)}function qu(l,t,e){if(um(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 Yu(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 Xt(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 xt(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Xf(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function nm(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(i){e=""+i,n.call(this,i)}}),Object.defineProperty(l,t,{enumerable:a.enumerable}),{getValue:function(){return e},setValue:function(i){e=""+i},stopTracking:function(){l._valueTracker=null,delete l[t]}}}}function si(l){if(!l._valueTracker){var t=Xf(l)?"checked":"value";l._valueTracker=nm(l,t,""+l[t])}}function Qf(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var e=t.getValue(),a="";return l&&(a=Xf(l)?l.checked?"true":"false":l.value),l=a,l!==e?(t.setValue(l),!0):!1}function Gu(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 im=/[\n"\\]/g;function _t(l){return l.replace(im,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function di(l,t,e,a,u,n,i,c){l.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?l.type=i:l.removeAttribute("type"),t!=null?i==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+xt(t)):l.value!==""+xt(t)&&(l.value=""+xt(t)):i!=="submit"&&i!=="reset"||l.removeAttribute("value"),t!=null?ri(l,i,xt(t)):e!=null?ri(l,i,xt(e)):a!=null&&l.removeAttribute("value"),u==null&&n!=null&&(l.defaultChecked=!!n),u!=null&&(l.checked=u&&typeof u!="function"&&typeof u!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.name=""+xt(c):l.removeAttribute("name")}function Zf(l,t,e,a,u,n,i,c){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)){si(l);return}e=e!=null?""+xt(e):"",t=t!=null?""+xt(t):e,c||t===l.value||(l.value=t),l.defaultValue=t}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,l.checked=c?l.checked:!!a,l.defaultChecked=!!a,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(l.name=i),si(l)}function ri(l,t,e){t==="number"&&Gu(l.ownerDocument)===l||l.defaultValue===""+e||(l.defaultValue=""+e)}function ta(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=""+xt(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 Vf(l,t,e){if(t!=null&&(t=""+xt(t),t!==l.value&&(l.value=t),e==null)){l.defaultValue!==t&&(l.defaultValue=t);return}l.defaultValue=e!=null?""+xt(e):""}function Kf(l,t,e,a){if(t==null){if(a!=null){if(e!=null)throw Error(d(92));if(Rt(a)){if(1<a.length)throw Error(d(93));a=a[0]}e=a}e==null&&(e=""),t=e}e=xt(t),l.defaultValue=e,a=l.textContent,a===e&&a!==""&&a!==null&&(l.value=a),si(l)}function ea(l,t){if(t){var e=l.firstChild;if(e&&e===l.lastChild&&e.nodeType===3){e.nodeValue=t;return}}l.textContent=t}var cm=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 Jf(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||cm.has(t)?t==="float"?l.cssFloat=e:l[t]=(""+e).trim():l[t]=e+"px"}function wf(l,t,e){if(t!=null&&typeof t!="object")throw Error(d(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&&Jf(l,u,a)}else for(var n in t)t.hasOwnProperty(n)&&Jf(l,n,t[n])}function mi(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 fm=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"]]),om=/^[\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 Lu(l){return om.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}function Qt(){}var yi=null;function hi(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var aa=null,ua=null;function kf(l){var t=Ie(l);if(t&&(l=t.stateNode)){var e=l[ut]||null;l:switch(l=t.stateNode,t.type){case"input":if(di(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="'+_t(""+t)+'"][type="radio"]'),t=0;t<e.length;t++){var a=e[t];if(a!==l&&a.form===l.form){var u=a[ut]||null;if(!u)throw Error(d(90));di(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&&Qf(a)}break l;case"textarea":Vf(l,e.value,e.defaultValue);break l;case"select":t=e.value,t!=null&&ta(l,!!e.multiple,t,!1)}}}var vi=!1;function Wf(l,t,e){if(vi)return l(t,e);vi=!0;try{var a=l(t);return a}finally{if(vi=!1,(aa!==null||ua!==null)&&(Mn(),aa&&(t=aa,l=ua,ua=aa=null,kf(t),l)))for(t=0;t<l.length;t++)kf(l[t])}}function La(l,t){var e=l.stateNode;if(e===null)return null;var a=e[ut]||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(d(231,t,typeof e));return e}var Zt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gi=!1;if(Zt)try{var Xa={};Object.defineProperty(Xa,"passive",{get:function(){gi=!0}}),window.addEventListener("test",Xa,Xa),window.removeEventListener("test",Xa,Xa)}catch{gi=!1}var ce=null,Si=null,Xu=null;function $f(){if(Xu)return Xu;var l,t=Si,e=t.length,a,u="value"in ce?ce.value:ce.textContent,n=u.length;for(l=0;l<e&&t[l]===u[l];l++);var i=e-l;for(a=1;a<=i&&t[e-a]===u[n-a];a++);return Xu=u.slice(l,1<a?1-a:void 0)}function Qu(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 Zu(){return!0}function Ff(){return!1}function nt(l){function t(e,a,u,n,i){this._reactName=e,this._targetInst=u,this.type=a,this.nativeEvent=n,this.target=i,this.currentTarget=null;for(var c in l)l.hasOwnProperty(c)&&(e=l[c],this[c]=e?e(n):n[c]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?Zu:Ff,this.isPropagationStopped=Ff,this}return D(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=Zu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=Zu)},persist:function(){},isPersistent:Zu}),t}var Ce={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Vu=nt(Ce),Qa=D({},Ce,{view:0,detail:0}),sm=nt(Qa),bi,pi,Za,Ku=D({},Qa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:zi,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!==Za&&(Za&&l.type==="mousemove"?(bi=l.screenX-Za.screenX,pi=l.screenY-Za.screenY):pi=bi=0,Za=l),bi)},movementY:function(l){return"movementY"in l?l.movementY:pi}}),If=nt(Ku),dm=D({},Ku,{dataTransfer:0}),rm=nt(dm),mm=D({},Qa,{relatedTarget:0}),Ti=nt(mm),ym=D({},Ce,{animationName:0,elapsedTime:0,pseudoElement:0}),hm=nt(ym),vm=D({},Ce,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),gm=nt(vm),Sm=D({},Ce,{data:0}),Pf=nt(Sm),bm={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},pm={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"},Tm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zm(l){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(l):(l=Tm[l])?!!t[l]:!1}function zi(){return zm}var xm=D({},Qa,{key:function(l){if(l.key){var t=bm[l.key]||l.key;if(t!=="Unidentified")return t}return l.type==="keypress"?(l=Qu(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?pm[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:zi,charCode:function(l){return l.type==="keypress"?Qu(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?Qu(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),_m=nt(xm),Em=D({},Ku,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),lo=nt(Em),Am=D({},Qa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:zi}),Om=nt(Am),Mm=D({},Ce,{propertyName:0,elapsedTime:0,pseudoElement:0}),jm=nt(Mm),Dm=D({},Ku,{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}),Um=nt(Dm),Nm=D({},Ce,{newState:0,oldState:0}),Rm=nt(Nm),Cm=[9,13,27,32],xi=Zt&&"CompositionEvent"in window,Va=null;Zt&&"documentMode"in document&&(Va=document.documentMode);var Hm=Zt&&"TextEvent"in window&&!Va,to=Zt&&(!xi||Va&&8<Va&&11>=Va),eo=" ",ao=!1;function uo(l,t){switch(l){case"keyup":return Cm.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function no(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var na=!1;function Bm(l,t){switch(l){case"compositionend":return no(t);case"keypress":return t.which!==32?null:(ao=!0,eo);case"textInput":return l=t.data,l===eo&&ao?null:l;default:return null}}function qm(l,t){if(na)return l==="compositionend"||!xi&&uo(l,t)?(l=$f(),Xu=Si=ce=null,na=!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 to&&t.locale!=="ko"?null:t.data;default:return null}}var Ym={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 io(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t==="input"?!!Ym[l.type]:t==="textarea"}function co(l,t,e,a){aa?ua?ua.push(a):ua=[a]:aa=a,t=Hn(t,"onChange"),0<t.length&&(e=new Vu("onChange","change",null,e,a),l.push({event:e,listeners:t}))}var Ka=null,Ja=null;function Gm(l){Vd(l,0)}function Ju(l){var t=Ga(l);if(Qf(t))return l}function fo(l,t){if(l==="change")return t}var oo=!1;if(Zt){var _i;if(Zt){var Ei="oninput"in document;if(!Ei){var so=document.createElement("div");so.setAttribute("oninput","return;"),Ei=typeof so.oninput=="function"}_i=Ei}else _i=!1;oo=_i&&(!document.documentMode||9<document.documentMode)}function ro(){Ka&&(Ka.detachEvent("onpropertychange",mo),Ja=Ka=null)}function mo(l){if(l.propertyName==="value"&&Ju(Ja)){var t=[];co(t,Ja,l,hi(l)),Wf(Gm,t)}}function Lm(l,t,e){l==="focusin"?(ro(),Ka=t,Ja=e,Ka.attachEvent("onpropertychange",mo)):l==="focusout"&&ro()}function Xm(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Ju(Ja)}function Qm(l,t){if(l==="click")return Ju(t)}function Zm(l,t){if(l==="input"||l==="change")return Ju(t)}function Vm(l,t){return l===t&&(l!==0||1/l===1/t)||l!==l&&t!==t}var yt=typeof Object.is=="function"?Object.is:Vm;function wa(l,t){if(yt(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(!ei.call(t,u)||!yt(l[u],t[u]))return!1}return!0}function yo(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function ho(l,t){var e=yo(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=yo(e)}}function vo(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?vo(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function go(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Gu(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=Gu(l.document)}return t}function Ai(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 Km=Zt&&"documentMode"in document&&11>=document.documentMode,ia=null,Oi=null,ka=null,Mi=!1;function So(l,t,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;Mi||ia==null||ia!==Gu(a)||(a=ia,"selectionStart"in a&&Ai(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}),ka&&wa(ka,a)||(ka=a,a=Hn(Oi,"onSelect"),0<a.length&&(t=new Vu("onSelect","select",null,t,e),l.push({event:t,listeners:a}),t.target=ia)))}function He(l,t){var e={};return e[l.toLowerCase()]=t.toLowerCase(),e["Webkit"+l]="webkit"+t,e["Moz"+l]="moz"+t,e}var ca={animationend:He("Animation","AnimationEnd"),animationiteration:He("Animation","AnimationIteration"),animationstart:He("Animation","AnimationStart"),transitionrun:He("Transition","TransitionRun"),transitionstart:He("Transition","TransitionStart"),transitioncancel:He("Transition","TransitionCancel"),transitionend:He("Transition","TransitionEnd")},ji={},bo={};Zt&&(bo=document.createElement("div").style,"AnimationEvent"in window||(delete ca.animationend.animation,delete ca.animationiteration.animation,delete ca.animationstart.animation),"TransitionEvent"in window||delete ca.transitionend.transition);function Be(l){if(ji[l])return ji[l];if(!ca[l])return l;var t=ca[l],e;for(e in t)if(t.hasOwnProperty(e)&&e in bo)return ji[l]=t[e];return l}var po=Be("animationend"),To=Be("animationiteration"),zo=Be("animationstart"),Jm=Be("transitionrun"),wm=Be("transitionstart"),km=Be("transitioncancel"),xo=Be("transitionend"),_o=new Map,Di="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(" ");Di.push("scrollEnd");function Ct(l,t){_o.set(l,t),Re(t,[l])}var wu=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)},Et=[],fa=0,Ui=0;function ku(){for(var l=fa,t=Ui=fa=0;t<l;){var e=Et[t];Et[t++]=null;var a=Et[t];Et[t++]=null;var u=Et[t];Et[t++]=null;var n=Et[t];if(Et[t++]=null,a!==null&&u!==null){var i=a.pending;i===null?u.next=u:(u.next=i.next,i.next=u),a.pending=u}n!==0&&Eo(e,u,n)}}function Wu(l,t,e,a){Et[fa++]=l,Et[fa++]=t,Et[fa++]=e,Et[fa++]=a,Ui|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}function Ni(l,t,e,a){return Wu(l,t,e,a),$u(l)}function qe(l,t){return Wu(l,null,null,t),$u(l)}function Eo(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-mt(e),l=n.hiddenUpdates,a=l[u],a===null?l[u]=[t]:a.push(t),t.lane=e|536870912),n):null}function $u(l){if(50<vu)throw vu=0,Xc=null,Error(d(185));for(var t=l.return;t!==null;)l=t,t=l.return;return l.tag===3?l.stateNode:null}var oa={};function Wm(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 ht(l,t,e,a){return new Wm(l,t,e,a)}function Ri(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Vt(l,t){var e=l.alternate;return e===null?(e=ht(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 Ao(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 Fu(l,t,e,a,u,n){var i=0;if(a=l,typeof l=="function")Ri(l)&&(i=1);else if(typeof l=="string")i=l0(l,e,B.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case Tl:return l=ht(31,e,t,u),l.elementType=Tl,l.lanes=n,l;case Rl:return Ye(e.children,u,n,t);case Ml:i=8,u|=24;break;case _l:return l=ht(12,e,t,u|2),l.elementType=_l,l.lanes=n,l;case el:return l=ht(13,e,t,u),l.elementType=el,l.lanes=n,l;case W:return l=ht(19,e,t,u),l.elementType=W,l.lanes=n,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case Xl:i=10;break l;case tt:i=9;break l;case et:i=11;break l;case Q:i=14;break l;case ol:i=16,a=null;break l}i=29,e=Error(d(130,l===null?"null":typeof l,"")),a=null}return t=ht(i,e,t,u),t.elementType=l,t.type=a,t.lanes=n,t}function Ye(l,t,e,a){return l=ht(7,l,a,t),l.lanes=e,l}function Ci(l,t,e){return l=ht(6,l,null,t),l.lanes=e,l}function Oo(l){var t=ht(18,null,null,0);return t.stateNode=l,t}function Hi(l,t,e){return t=ht(4,l.children!==null?l.children:[],l.key,t),t.lanes=e,t.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},t}var Mo=new WeakMap;function At(l,t){if(typeof l=="object"&&l!==null){var e=Mo.get(l);return e!==void 0?e:(t={value:l,source:t,stack:Af(t)},Mo.set(l,t),t)}return{value:l,source:t,stack:Af(t)}}var sa=[],da=0,Iu=null,Wa=0,Ot=[],Mt=0,fe=null,qt=1,Yt="";function Kt(l,t){sa[da++]=Wa,sa[da++]=Iu,Iu=l,Wa=t}function jo(l,t,e){Ot[Mt++]=qt,Ot[Mt++]=Yt,Ot[Mt++]=fe,fe=l;var a=qt;l=Yt;var u=32-mt(a)-1;a&=~(1<<u),e+=1;var n=32-mt(t)+u;if(30<n){var i=u-u%5;n=(a&(1<<i)-1).toString(32),a>>=i,u-=i,qt=1<<32-mt(t)+u|e<<u|a,Yt=n+l}else qt=1<<n|e<<u|a,Yt=l}function Bi(l){l.return!==null&&(Kt(l,1),jo(l,1,0))}function qi(l){for(;l===Iu;)Iu=sa[--da],sa[da]=null,Wa=sa[--da],sa[da]=null;for(;l===fe;)fe=Ot[--Mt],Ot[Mt]=null,Yt=Ot[--Mt],Ot[Mt]=null,qt=Ot[--Mt],Ot[Mt]=null}function Do(l,t){Ot[Mt++]=qt,Ot[Mt++]=Yt,Ot[Mt++]=fe,qt=t.id,Yt=t.overflow,fe=l}var Kl=null,Sl=null,tl=!1,oe=null,jt=!1,Yi=Error(d(519));function se(l){var t=Error(d(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw $a(At(t,l)),Yi}function Uo(l){var t=l.stateNode,e=l.type,a=l.memoizedProps;switch(t[Vl]=l,t[ut]=a,e){case"dialog":I("cancel",t),I("close",t);break;case"iframe":case"object":case"embed":I("load",t);break;case"video":case"audio":for(e=0;e<Su.length;e++)I(Su[e],t);break;case"source":I("error",t);break;case"img":case"image":case"link":I("error",t),I("load",t);break;case"details":I("toggle",t);break;case"input":I("invalid",t),Zf(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":I("invalid",t);break;case"textarea":I("invalid",t),Kf(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||kd(t.textContent,e)?(a.popover!=null&&(I("beforetoggle",t),I("toggle",t)),a.onScroll!=null&&I("scroll",t),a.onScrollEnd!=null&&I("scrollend",t),a.onClick!=null&&(t.onclick=Qt),t=!0):t=!1,t||se(l,!0)}function No(l){for(Kl=l.return;Kl;)switch(Kl.tag){case 5:case 31:case 13:jt=!1;return;case 27:case 3:jt=!0;return;default:Kl=Kl.return}}function ra(l){if(l!==Kl)return!1;if(!tl)return No(l),tl=!0,!1;var t=l.tag,e;if((e=t!==3&&t!==27)&&((e=t===5)&&(e=l.type,e=!(e!=="form"&&e!=="button")||ef(l.type,l.memoizedProps)),e=!e),e&&Sl&&se(l),No(l),t===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(d(317));Sl=ar(l)}else if(t===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(d(317));Sl=ar(l)}else t===27?(t=Sl,_e(l.type)?(l=ff,ff=null,Sl=l):Sl=t):Sl=Kl?Ut(l.stateNode.nextSibling):null;return!0}function Ge(){Sl=Kl=null,tl=!1}function Gi(){var l=oe;return l!==null&&(ot===null?ot=l:ot.push.apply(ot,l),oe=null),l}function $a(l){oe===null?oe=[l]:oe.push(l)}var Li=r(null),Le=null,Jt=null;function de(l,t,e){C(Li,t._currentValue),t._currentValue=e}function wt(l){l._currentValue=Li.current,O(Li)}function Xi(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 Qi(l,t,e,a){var u=l.child;for(u!==null&&(u.return=l);u!==null;){var n=u.dependencies;if(n!==null){var i=u.child;n=n.firstContext;l:for(;n!==null;){var c=n;n=u;for(var f=0;f<t.length;f++)if(c.context===t[f]){n.lanes|=e,c=n.alternate,c!==null&&(c.lanes|=e),Xi(n.return,e,l),a||(i=null);break l}n=c.next}}else if(u.tag===18){if(i=u.return,i===null)throw Error(d(341));i.lanes|=e,n=i.alternate,n!==null&&(n.lanes|=e),Xi(i,e,l),i=null}else i=u.child;if(i!==null)i.return=u;else for(i=u;i!==null;){if(i===l){i=null;break}if(u=i.sibling,u!==null){u.return=i.return,i=u;break}i=i.return}u=i}}function ma(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 i=u.alternate;if(i===null)throw Error(d(387));if(i=i.memoizedProps,i!==null){var c=u.type;yt(u.pendingProps.value,i.value)||(l!==null?l.push(c):l=[c])}}else if(u===il.current){if(i=u.alternate,i===null)throw Error(d(387));i.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(l!==null?l.push(xu):l=[xu])}u=u.return}l!==null&&Qi(t,l,e,a),t.flags|=262144}function Pu(l){for(l=l.firstContext;l!==null;){if(!yt(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function Xe(l){Le=l,Jt=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function Jl(l){return Ro(Le,l)}function ln(l,t){return Le===null&&Xe(l),Ro(l,t)}function Ro(l,t){var e=t._currentValue;if(t={context:t,memoizedValue:e,next:null},Jt===null){if(l===null)throw Error(d(308));Jt=t,l.dependencies={lanes:0,firstContext:t},l.flags|=524288}else Jt=Jt.next=t;return e}var $m=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()})}},Fm=y.unstable_scheduleCallback,Im=y.unstable_NormalPriority,Cl={$$typeof:Xl,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Zi(){return{controller:new $m,data:new Map,refCount:0}}function Fa(l){l.refCount--,l.refCount===0&&Fm(Im,function(){l.controller.abort()})}var Ia=null,Vi=0,ya=0,ha=null;function Pm(l,t){if(Ia===null){var e=Ia=[];Vi=0,ya=wc(),ha={status:"pending",value:void 0,then:function(a){e.push(a)}}}return Vi++,t.then(Co,Co),t}function Co(){if(--Vi===0&&Ia!==null){ha!==null&&(ha.status="fulfilled");var l=Ia;Ia=null,ya=0,ha=null;for(var t=0;t<l.length;t++)(0,l[t])()}}function ly(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 Ho=z.S;z.S=function(l,t){Sd=dt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Pm(l,t),Ho!==null&&Ho(l,t)};var Qe=r(null);function Ki(){var l=Qe.current;return l!==null?l:vl.pooledCache}function tn(l,t){t===null?C(Qe,Qe.current):C(Qe,t.pool)}function Bo(){var l=Ki();return l===null?null:{parent:Cl._currentValue,pool:l}}var va=Error(d(460)),Ji=Error(d(474)),en=Error(d(542)),an={then:function(){}};function qo(l){return l=l.status,l==="fulfilled"||l==="rejected"}function Yo(l,t,e){switch(e=l[e],e===void 0?l.push(t):e!==t&&(t.then(Qt,Qt),t=e),t.status){case"fulfilled":return t.value;case"rejected":throw l=t.reason,Lo(l),l;default:if(typeof t.status=="string")t.then(Qt,Qt);else{if(l=vl,l!==null&&100<l.shellSuspendCounter)throw Error(d(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,Lo(l),l}throw Ve=t,va}}function Ze(l){try{var t=l._init;return t(l._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(Ve=e,va):e}}var Ve=null;function Go(){if(Ve===null)throw Error(d(459));var l=Ve;return Ve=null,l}function Lo(l){if(l===va||l===en)throw Error(d(483))}var ga=null,Pa=0;function un(l){var t=Pa;return Pa+=1,ga===null&&(ga=[]),Yo(ga,l,t)}function lu(l,t){t=t.props.ref,l.ref=t!==void 0?t:null}function nn(l,t){throw t.$$typeof===w?Error(d(525)):(l=Object.prototype.toString.call(t),Error(d(31,l==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":l)))}function Xo(l){function t(m,s){if(l){var v=m.deletions;v===null?(m.deletions=[s],m.flags|=16):v.push(s)}}function e(m,s){if(!l)return null;for(;s!==null;)t(m,s),s=s.sibling;return null}function a(m){for(var s=new Map;m!==null;)m.key!==null?s.set(m.key,m):s.set(m.index,m),m=m.sibling;return s}function u(m,s){return m=Vt(m,s),m.index=0,m.sibling=null,m}function n(m,s,v){return m.index=v,l?(v=m.alternate,v!==null?(v=v.index,v<s?(m.flags|=67108866,s):v):(m.flags|=67108866,s)):(m.flags|=1048576,s)}function i(m){return l&&m.alternate===null&&(m.flags|=67108866),m}function c(m,s,v,_){return s===null||s.tag!==6?(s=Ci(v,m.mode,_),s.return=m,s):(s=u(s,v),s.return=m,s)}function f(m,s,v,_){var Y=v.type;return Y===Rl?T(m,s,v.props.children,_,v.key):s!==null&&(s.elementType===Y||typeof Y=="object"&&Y!==null&&Y.$$typeof===ol&&Ze(Y)===s.type)?(s=u(s,v.props),lu(s,v),s.return=m,s):(s=Fu(v.type,v.key,v.props,null,m.mode,_),lu(s,v),s.return=m,s)}function g(m,s,v,_){return s===null||s.tag!==4||s.stateNode.containerInfo!==v.containerInfo||s.stateNode.implementation!==v.implementation?(s=Hi(v,m.mode,_),s.return=m,s):(s=u(s,v.children||[]),s.return=m,s)}function T(m,s,v,_,Y){return s===null||s.tag!==7?(s=Ye(v,m.mode,_,Y),s.return=m,s):(s=u(s,v),s.return=m,s)}function A(m,s,v){if(typeof s=="string"&&s!==""||typeof s=="number"||typeof s=="bigint")return s=Ci(""+s,m.mode,v),s.return=m,s;if(typeof s=="object"&&s!==null){switch(s.$$typeof){case Nl:return v=Fu(s.type,s.key,s.props,null,m.mode,v),lu(v,s),v.return=m,v;case Gl:return s=Hi(s,m.mode,v),s.return=m,s;case ol:return s=Ze(s),A(m,s,v)}if(Rt(s)||xl(s))return s=Ye(s,m.mode,v,null),s.return=m,s;if(typeof s.then=="function")return A(m,un(s),v);if(s.$$typeof===Xl)return A(m,ln(m,s),v);nn(m,s)}return null}function S(m,s,v,_){var Y=s!==null?s.key:null;if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return Y!==null?null:c(m,s,""+v,_);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Nl:return v.key===Y?f(m,s,v,_):null;case Gl:return v.key===Y?g(m,s,v,_):null;case ol:return v=Ze(v),S(m,s,v,_)}if(Rt(v)||xl(v))return Y!==null?null:T(m,s,v,_,null);if(typeof v.then=="function")return S(m,s,un(v),_);if(v.$$typeof===Xl)return S(m,s,ln(m,v),_);nn(m,v)}return null}function b(m,s,v,_,Y){if(typeof _=="string"&&_!==""||typeof _=="number"||typeof _=="bigint")return m=m.get(v)||null,c(s,m,""+_,Y);if(typeof _=="object"&&_!==null){switch(_.$$typeof){case Nl:return m=m.get(_.key===null?v:_.key)||null,f(s,m,_,Y);case Gl:return m=m.get(_.key===null?v:_.key)||null,g(s,m,_,Y);case ol:return _=Ze(_),b(m,s,v,_,Y)}if(Rt(_)||xl(_))return m=m.get(v)||null,T(s,m,_,Y,null);if(typeof _.then=="function")return b(m,s,v,un(_),Y);if(_.$$typeof===Xl)return b(m,s,v,ln(s,_),Y);nn(s,_)}return null}function H(m,s,v,_){for(var Y=null,al=null,q=s,k=s=0,ll=null;q!==null&&k<v.length;k++){q.index>k?(ll=q,q=null):ll=q.sibling;var ul=S(m,q,v[k],_);if(ul===null){q===null&&(q=ll);break}l&&q&&ul.alternate===null&&t(m,q),s=n(ul,s,k),al===null?Y=ul:al.sibling=ul,al=ul,q=ll}if(k===v.length)return e(m,q),tl&&Kt(m,k),Y;if(q===null){for(;k<v.length;k++)q=A(m,v[k],_),q!==null&&(s=n(q,s,k),al===null?Y=q:al.sibling=q,al=q);return tl&&Kt(m,k),Y}for(q=a(q);k<v.length;k++)ll=b(q,m,k,v[k],_),ll!==null&&(l&&ll.alternate!==null&&q.delete(ll.key===null?k:ll.key),s=n(ll,s,k),al===null?Y=ll:al.sibling=ll,al=ll);return l&&q.forEach(function(je){return t(m,je)}),tl&&Kt(m,k),Y}function G(m,s,v,_){if(v==null)throw Error(d(151));for(var Y=null,al=null,q=s,k=s=0,ll=null,ul=v.next();q!==null&&!ul.done;k++,ul=v.next()){q.index>k?(ll=q,q=null):ll=q.sibling;var je=S(m,q,ul.value,_);if(je===null){q===null&&(q=ll);break}l&&q&&je.alternate===null&&t(m,q),s=n(je,s,k),al===null?Y=je:al.sibling=je,al=je,q=ll}if(ul.done)return e(m,q),tl&&Kt(m,k),Y;if(q===null){for(;!ul.done;k++,ul=v.next())ul=A(m,ul.value,_),ul!==null&&(s=n(ul,s,k),al===null?Y=ul:al.sibling=ul,al=ul);return tl&&Kt(m,k),Y}for(q=a(q);!ul.done;k++,ul=v.next())ul=b(q,m,k,ul.value,_),ul!==null&&(l&&ul.alternate!==null&&q.delete(ul.key===null?k:ul.key),s=n(ul,s,k),al===null?Y=ul:al.sibling=ul,al=ul);return l&&q.forEach(function(d0){return t(m,d0)}),tl&&Kt(m,k),Y}function yl(m,s,v,_){if(typeof v=="object"&&v!==null&&v.type===Rl&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Nl:l:{for(var Y=v.key;s!==null;){if(s.key===Y){if(Y=v.type,Y===Rl){if(s.tag===7){e(m,s.sibling),_=u(s,v.props.children),_.return=m,m=_;break l}}else if(s.elementType===Y||typeof Y=="object"&&Y!==null&&Y.$$typeof===ol&&Ze(Y)===s.type){e(m,s.sibling),_=u(s,v.props),lu(_,v),_.return=m,m=_;break l}e(m,s);break}else t(m,s);s=s.sibling}v.type===Rl?(_=Ye(v.props.children,m.mode,_,v.key),_.return=m,m=_):(_=Fu(v.type,v.key,v.props,null,m.mode,_),lu(_,v),_.return=m,m=_)}return i(m);case Gl:l:{for(Y=v.key;s!==null;){if(s.key===Y)if(s.tag===4&&s.stateNode.containerInfo===v.containerInfo&&s.stateNode.implementation===v.implementation){e(m,s.sibling),_=u(s,v.children||[]),_.return=m,m=_;break l}else{e(m,s);break}else t(m,s);s=s.sibling}_=Hi(v,m.mode,_),_.return=m,m=_}return i(m);case ol:return v=Ze(v),yl(m,s,v,_)}if(Rt(v))return H(m,s,v,_);if(xl(v)){if(Y=xl(v),typeof Y!="function")throw Error(d(150));return v=Y.call(v),G(m,s,v,_)}if(typeof v.then=="function")return yl(m,s,un(v),_);if(v.$$typeof===Xl)return yl(m,s,ln(m,v),_);nn(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,s!==null&&s.tag===6?(e(m,s.sibling),_=u(s,v),_.return=m,m=_):(e(m,s),_=Ci(v,m.mode,_),_.return=m,m=_),i(m)):e(m,s)}return function(m,s,v,_){try{Pa=0;var Y=yl(m,s,v,_);return ga=null,Y}catch(q){if(q===va||q===en)throw q;var al=ht(29,q,null,m.mode);return al.lanes=_,al.return=m,al}finally{}}}var Ke=Xo(!0),Qo=Xo(!1),re=!1;function wi(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ki(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 me(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function ye(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=$u(l),Eo(l,null,e),t}return Wu(l,a,t,e),$u(l)}function tu(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,Nf(l,e)}}function Wi(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 i={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};n===null?u=n=i:n=n.next=i,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 $i=!1;function eu(){if($i){var l=ha;if(l!==null)throw l}}function au(l,t,e,a){$i=!1;var u=l.updateQueue;re=!1;var n=u.firstBaseUpdate,i=u.lastBaseUpdate,c=u.shared.pending;if(c!==null){u.shared.pending=null;var f=c,g=f.next;f.next=null,i===null?n=g:i.next=g,i=f;var T=l.alternate;T!==null&&(T=T.updateQueue,c=T.lastBaseUpdate,c!==i&&(c===null?T.firstBaseUpdate=g:c.next=g,T.lastBaseUpdate=f))}if(n!==null){var A=u.baseState;i=0,T=g=f=null,c=n;do{var S=c.lane&-536870913,b=S!==c.lane;if(b?(P&S)===S:(a&S)===S){S!==0&&S===ya&&($i=!0),T!==null&&(T=T.next={lane:0,tag:c.tag,payload:c.payload,callback:null,next:null});l:{var H=l,G=c;S=t;var yl=e;switch(G.tag){case 1:if(H=G.payload,typeof H=="function"){A=H.call(yl,A,S);break l}A=H;break l;case 3:H.flags=H.flags&-65537|128;case 0:if(H=G.payload,S=typeof H=="function"?H.call(yl,A,S):H,S==null)break l;A=D({},A,S);break l;case 2:re=!0}}S=c.callback,S!==null&&(l.flags|=64,b&&(l.flags|=8192),b=u.callbacks,b===null?u.callbacks=[S]:b.push(S))}else b={lane:S,tag:c.tag,payload:c.payload,callback:c.callback,next:null},T===null?(g=T=b,f=A):T=T.next=b,i|=S;if(c=c.next,c===null){if(c=u.shared.pending,c===null)break;b=c,c=b.next,b.next=null,u.lastBaseUpdate=b,u.shared.pending=null}}while(!0);T===null&&(f=A),u.baseState=f,u.firstBaseUpdate=g,u.lastBaseUpdate=T,n===null&&(u.shared.lanes=0),be|=i,l.lanes=i,l.memoizedState=A}}function Zo(l,t){if(typeof l!="function")throw Error(d(191,l));l.call(t)}function Vo(l,t){var e=l.callbacks;if(e!==null)for(l.callbacks=null,l=0;l<e.length;l++)Zo(e[l],t)}var Sa=r(null),cn=r(0);function Ko(l,t){l=ee,C(cn,l),C(Sa,t),ee=l|t.baseLanes}function Fi(){C(cn,ee),C(Sa,Sa.current)}function Ii(){ee=cn.current,O(Sa),O(cn)}var vt=r(null),Dt=null;function he(l){var t=l.alternate;C(Dl,Dl.current&1),C(vt,l),Dt===null&&(t===null||Sa.current!==null||t.memoizedState!==null)&&(Dt=l)}function Pi(l){C(Dl,Dl.current),C(vt,l),Dt===null&&(Dt=l)}function Jo(l){l.tag===22?(C(Dl,Dl.current),C(vt,l),Dt===null&&(Dt=l)):ve()}function ve(){C(Dl,Dl.current),C(vt,vt.current)}function gt(l){O(vt),Dt===l&&(Dt=null),O(Dl)}var Dl=r(0);function fn(l){for(var t=l;t!==null;){if(t.tag===13){var e=t.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||nf(e)||cf(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 kt=0,J=null,rl=null,Hl=null,on=!1,ba=!1,Je=!1,sn=0,uu=0,pa=null,ty=0;function El(){throw Error(d(321))}function lc(l,t){if(t===null)return!1;for(var e=0;e<t.length&&e<l.length;e++)if(!yt(l[e],t[e]))return!1;return!0}function tc(l,t,e,a,u,n){return kt=n,J=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,z.H=l===null||l.memoizedState===null?js:vc,Je=!1,n=e(a,u),Je=!1,ba&&(n=ko(t,e,a,u)),wo(l),n}function wo(l){z.H=cu;var t=rl!==null&&rl.next!==null;if(kt=0,Hl=rl=J=null,on=!1,uu=0,pa=null,t)throw Error(d(300));l===null||Bl||(l=l.dependencies,l!==null&&Pu(l)&&(Bl=!0))}function ko(l,t,e,a){J=l;var u=0;do{if(ba&&(pa=null),uu=0,ba=!1,25<=u)throw Error(d(301));if(u+=1,Hl=rl=null,l.updateQueue!=null){var n=l.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}z.H=Ds,n=t(e,a)}while(ba);return n}function ey(){var l=z.H,t=l.useState()[0];return t=typeof t.then=="function"?nu(t):t,l=l.useState()[0],(rl!==null?rl.memoizedState:null)!==l&&(J.flags|=1024),t}function ec(){var l=sn!==0;return sn=0,l}function ac(l,t,e){t.updateQueue=l.updateQueue,t.flags&=-2053,l.lanes&=~e}function uc(l){if(on){for(l=l.memoizedState;l!==null;){var t=l.queue;t!==null&&(t.pending=null),l=l.next}on=!1}kt=0,Hl=rl=J=null,ba=!1,uu=sn=0,pa=null}function lt(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Hl===null?J.memoizedState=Hl=l:Hl=Hl.next=l,Hl}function Ul(){if(rl===null){var l=J.alternate;l=l!==null?l.memoizedState:null}else l=rl.next;var t=Hl===null?J.memoizedState:Hl.next;if(t!==null)Hl=t,rl=l;else{if(l===null)throw J.alternate===null?Error(d(467)):Error(d(310));rl=l,l={memoizedState:rl.memoizedState,baseState:rl.baseState,baseQueue:rl.baseQueue,queue:rl.queue,next:null},Hl===null?J.memoizedState=Hl=l:Hl=Hl.next=l}return Hl}function dn(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function nu(l){var t=uu;return uu+=1,pa===null&&(pa=[]),l=Yo(pa,l,t),t=J,(Hl===null?t.memoizedState:Hl.next)===null&&(t=t.alternate,z.H=t===null||t.memoizedState===null?js:vc),l}function rn(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return nu(l);if(l.$$typeof===Xl)return Jl(l)}throw Error(d(438,String(l)))}function nc(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=dn(),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]=Wl;return t.index++,e}function Wt(l,t){return typeof t=="function"?t(l):t}function mn(l){var t=Ul();return ic(t,rl,l)}function ic(l,t,e){var a=l.queue;if(a===null)throw Error(d(311));a.lastRenderedReducer=e;var u=l.baseQueue,n=a.pending;if(n!==null){if(u!==null){var i=u.next;u.next=n.next,n.next=i}t.baseQueue=u=n,a.pending=null}if(n=l.baseState,u===null)l.memoizedState=n;else{t=u.next;var c=i=null,f=null,g=t,T=!1;do{var A=g.lane&-536870913;if(A!==g.lane?(P&A)===A:(kt&A)===A){var S=g.revertLane;if(S===0)f!==null&&(f=f.next={lane:0,revertLane:0,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null}),A===ya&&(T=!0);else if((kt&S)===S){g=g.next,S===ya&&(T=!0);continue}else A={lane:0,revertLane:g.revertLane,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},f===null?(c=f=A,i=n):f=f.next=A,J.lanes|=S,be|=S;A=g.action,Je&&e(n,A),n=g.hasEagerState?g.eagerState:e(n,A)}else S={lane:A,revertLane:g.revertLane,gesture:g.gesture,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},f===null?(c=f=S,i=n):f=f.next=S,J.lanes|=A,be|=A;g=g.next}while(g!==null&&g!==t);if(f===null?i=n:f.next=c,!yt(n,l.memoizedState)&&(Bl=!0,T&&(e=ha,e!==null)))throw e;l.memoizedState=n,l.baseState=i,l.baseQueue=f,a.lastRenderedState=n}return u===null&&(a.lanes=0),[l.memoizedState,a.dispatch]}function cc(l){var t=Ul(),e=t.queue;if(e===null)throw Error(d(311));e.lastRenderedReducer=l;var a=e.dispatch,u=e.pending,n=t.memoizedState;if(u!==null){e.pending=null;var i=u=u.next;do n=l(n,i.action),i=i.next;while(i!==u);yt(n,t.memoizedState)||(Bl=!0),t.memoizedState=n,t.baseQueue===null&&(t.baseState=n),e.lastRenderedState=n}return[n,a]}function Wo(l,t,e){var a=J,u=Ul(),n=tl;if(n){if(e===void 0)throw Error(d(407));e=e()}else e=t();var i=!yt((rl||u).memoizedState,e);if(i&&(u.memoizedState=e,Bl=!0),u=u.queue,sc(Io.bind(null,a,u,l),[l]),u.getSnapshot!==t||i||Hl!==null&&Hl.memoizedState.tag&1){if(a.flags|=2048,Ta(9,{destroy:void 0},Fo.bind(null,a,u,e,t),null),vl===null)throw Error(d(349));n||(kt&127)!==0||$o(a,t,e)}return e}function $o(l,t,e){l.flags|=16384,l={getSnapshot:t,value:e},t=J.updateQueue,t===null?(t=dn(),J.updateQueue=t,t.stores=[l]):(e=t.stores,e===null?t.stores=[l]:e.push(l))}function Fo(l,t,e,a){t.value=e,t.getSnapshot=a,Po(t)&&ls(l)}function Io(l,t,e){return e(function(){Po(t)&&ls(l)})}function Po(l){var t=l.getSnapshot;l=l.value;try{var e=t();return!yt(l,e)}catch{return!0}}function ls(l){var t=qe(l,2);t!==null&&st(t,l,2)}function fc(l){var t=lt();if(typeof l=="function"){var e=l;if(l=e(),Je){ne(!0);try{e()}finally{ne(!1)}}}return t.memoizedState=t.baseState=l,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wt,lastRenderedState:l},t}function ts(l,t,e,a){return l.baseState=e,ic(l,rl,typeof a=="function"?a:Wt)}function ay(l,t,e,a,u){if(vn(l))throw Error(d(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(i){n.listeners.push(i)}};z.T!==null?e(!0):n.isTransition=!1,a(n),e=t.pending,e===null?(n.next=t.pending=n,es(t,n)):(n.next=e.next,t.pending=e.next=n)}}function es(l,t){var e=t.action,a=t.payload,u=l.state;if(t.isTransition){var n=z.T,i={};z.T=i;try{var c=e(u,a),f=z.S;f!==null&&f(i,c),as(l,t,c)}catch(g){oc(l,t,g)}finally{n!==null&&i.types!==null&&(n.types=i.types),z.T=n}}else try{n=e(u,a),as(l,t,n)}catch(g){oc(l,t,g)}}function as(l,t,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){us(l,t,a)},function(a){return oc(l,t,a)}):us(l,t,e)}function us(l,t,e){t.status="fulfilled",t.value=e,ns(t),l.state=e,t=l.pending,t!==null&&(e=t.next,e===t?l.pending=null:(e=e.next,t.next=e,es(l,e)))}function oc(l,t,e){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=e,ns(t),t=t.next;while(t!==a)}l.action=null}function ns(l){l=l.listeners;for(var t=0;t<l.length;t++)(0,l[t])()}function is(l,t){return t}function cs(l,t){if(tl){var e=vl.formState;if(e!==null){l:{var a=J;if(tl){if(Sl){t:{for(var u=Sl,n=jt;u.nodeType!==8;){if(!n){u=null;break t}if(u=Ut(u.nextSibling),u===null){u=null;break t}}n=u.data,u=n==="F!"||n==="F"?u:null}if(u){Sl=Ut(u.nextSibling),a=u.data==="F!";break l}}se(a)}a=!1}a&&(t=e[0])}}return e=lt(),e.memoizedState=e.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:is,lastRenderedState:t},e.queue=a,e=As.bind(null,J,a),a.dispatch=e,a=fc(!1),n=hc.bind(null,J,!1,a.queue),a=lt(),u={state:t,dispatch:null,action:l,pending:null},a.queue=u,e=ay.bind(null,J,u,n,e),u.dispatch=e,a.memoizedState=l,[t,e,!1]}function fs(l){var t=Ul();return os(t,rl,l)}function os(l,t,e){if(t=ic(l,t,is)[0],l=mn(Wt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=nu(t)}catch(i){throw i===va?en:i}else a=t;t=Ul();var u=t.queue,n=u.dispatch;return e!==t.memoizedState&&(J.flags|=2048,Ta(9,{destroy:void 0},uy.bind(null,u,e),null)),[a,n,l]}function uy(l,t){l.action=t}function ss(l){var t=Ul(),e=rl;if(e!==null)return os(t,e,l);Ul(),t=t.memoizedState,e=Ul();var a=e.queue.dispatch;return e.memoizedState=l,[t,a,!1]}function Ta(l,t,e,a){return l={tag:l,create:e,deps:a,inst:t,next:null},t=J.updateQueue,t===null&&(t=dn(),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 ds(){return Ul().memoizedState}function yn(l,t,e,a){var u=lt();J.flags|=l,u.memoizedState=Ta(1|t,{destroy:void 0},e,a===void 0?null:a)}function hn(l,t,e,a){var u=Ul();a=a===void 0?null:a;var n=u.memoizedState.inst;rl!==null&&a!==null&&lc(a,rl.memoizedState.deps)?u.memoizedState=Ta(t,n,e,a):(J.flags|=l,u.memoizedState=Ta(1|t,n,e,a))}function rs(l,t){yn(8390656,8,l,t)}function sc(l,t){hn(2048,8,l,t)}function ny(l){J.flags|=4;var t=J.updateQueue;if(t===null)t=dn(),J.updateQueue=t,t.events=[l];else{var e=t.events;e===null?t.events=[l]:e.push(l)}}function ms(l){var t=Ul().memoizedState;return ny({ref:t,nextImpl:l}),function(){if((nl&2)!==0)throw Error(d(440));return t.impl.apply(void 0,arguments)}}function ys(l,t){return hn(4,2,l,t)}function hs(l,t){return hn(4,4,l,t)}function vs(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 gs(l,t,e){e=e!=null?e.concat([l]):null,hn(4,4,vs.bind(null,t,l),e)}function dc(){}function Ss(l,t){var e=Ul();t=t===void 0?null:t;var a=e.memoizedState;return t!==null&&lc(t,a[1])?a[0]:(e.memoizedState=[l,t],l)}function bs(l,t){var e=Ul();t=t===void 0?null:t;var a=e.memoizedState;if(t!==null&&lc(t,a[1]))return a[0];if(a=l(),Je){ne(!0);try{l()}finally{ne(!1)}}return e.memoizedState=[a,t],a}function rc(l,t,e){return e===void 0||(kt&1073741824)!==0&&(P&261930)===0?l.memoizedState=t:(l.memoizedState=e,l=pd(),J.lanes|=l,be|=l,e)}function ps(l,t,e,a){return yt(e,t)?e:Sa.current!==null?(l=rc(l,e,a),yt(l,t)||(Bl=!0),l):(kt&42)===0||(kt&1073741824)!==0&&(P&261930)===0?(Bl=!0,l.memoizedState=e):(l=pd(),J.lanes|=l,be|=l,t)}function Ts(l,t,e,a,u){var n=R.p;R.p=n!==0&&8>n?n:8;var i=z.T,c={};z.T=c,hc(l,!1,t,e);try{var f=u(),g=z.S;if(g!==null&&g(c,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var T=ly(f,a);iu(l,t,T,pt(l))}else iu(l,t,a,pt(l))}catch(A){iu(l,t,{then:function(){},status:"rejected",reason:A},pt())}finally{R.p=n,i!==null&&c.types!==null&&(i.types=c.types),z.T=i}}function iy(){}function mc(l,t,e,a){if(l.tag!==5)throw Error(d(476));var u=zs(l).queue;Ts(l,u,t,L,e===null?iy:function(){return xs(l),e(a)})}function zs(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:L,baseState:L,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wt,lastRenderedState:L},next:null};var e={};return t.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Wt,lastRenderedState:e},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function xs(l){var t=zs(l);t.next===null&&(t=l.alternate.memoizedState),iu(l,t.next.queue,{},pt())}function yc(){return Jl(xu)}function _s(){return Ul().memoizedState}function Es(){return Ul().memoizedState}function cy(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var e=pt();l=me(e);var a=ye(t,l,e);a!==null&&(st(a,t,e),tu(a,t,e)),t={cache:Zi()},l.payload=t;return}t=t.return}}function fy(l,t,e){var a=pt();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},vn(l)?Os(t,e):(e=Ni(l,t,e,a),e!==null&&(st(e,l,a),Ms(e,t,a)))}function As(l,t,e){var a=pt();iu(l,t,e,a)}function iu(l,t,e,a){var u={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(vn(l))Os(t,u);else{var n=l.alternate;if(l.lanes===0&&(n===null||n.lanes===0)&&(n=t.lastRenderedReducer,n!==null))try{var i=t.lastRenderedState,c=n(i,e);if(u.hasEagerState=!0,u.eagerState=c,yt(c,i))return Wu(l,t,u,0),vl===null&&ku(),!1}catch{}finally{}if(e=Ni(l,t,u,a),e!==null)return st(e,l,a),Ms(e,t,a),!0}return!1}function hc(l,t,e,a){if(a={lane:2,revertLane:wc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},vn(l)){if(t)throw Error(d(479))}else t=Ni(l,e,a,2),t!==null&&st(t,l,2)}function vn(l){var t=l.alternate;return l===J||t!==null&&t===J}function Os(l,t){ba=on=!0;var e=l.pending;e===null?t.next=t:(t.next=e.next,e.next=t),l.pending=t}function Ms(l,t,e){if((e&4194048)!==0){var a=t.lanes;a&=l.pendingLanes,e|=a,t.lanes=e,Nf(l,e)}}var cu={readContext:Jl,use:rn,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};cu.useEffectEvent=El;var js={readContext:Jl,use:rn,useCallback:function(l,t){return lt().memoizedState=[l,t===void 0?null:t],l},useContext:Jl,useEffect:rs,useImperativeHandle:function(l,t,e){e=e!=null?e.concat([l]):null,yn(4194308,4,vs.bind(null,t,l),e)},useLayoutEffect:function(l,t){return yn(4194308,4,l,t)},useInsertionEffect:function(l,t){yn(4,2,l,t)},useMemo:function(l,t){var e=lt();t=t===void 0?null:t;var a=l();if(Je){ne(!0);try{l()}finally{ne(!1)}}return e.memoizedState=[a,t],a},useReducer:function(l,t,e){var a=lt();if(e!==void 0){var u=e(t);if(Je){ne(!0);try{e(t)}finally{ne(!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=fy.bind(null,J,l),[a.memoizedState,l]},useRef:function(l){var t=lt();return l={current:l},t.memoizedState=l},useState:function(l){l=fc(l);var t=l.queue,e=As.bind(null,J,t);return t.dispatch=e,[l.memoizedState,e]},useDebugValue:dc,useDeferredValue:function(l,t){var e=lt();return rc(e,l,t)},useTransition:function(){var l=fc(!1);return l=Ts.bind(null,J,l.queue,!0,!1),lt().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,e){var a=J,u=lt();if(tl){if(e===void 0)throw Error(d(407));e=e()}else{if(e=t(),vl===null)throw Error(d(349));(P&127)!==0||$o(a,t,e)}u.memoizedState=e;var n={value:e,getSnapshot:t};return u.queue=n,rs(Io.bind(null,a,n,l),[l]),a.flags|=2048,Ta(9,{destroy:void 0},Fo.bind(null,a,n,e,t),null),e},useId:function(){var l=lt(),t=vl.identifierPrefix;if(tl){var e=Yt,a=qt;e=(a&~(1<<32-mt(a)-1)).toString(32)+e,t="_"+t+"R_"+e,e=sn++,0<e&&(t+="H"+e.toString(32)),t+="_"}else e=ty++,t="_"+t+"r_"+e.toString(32)+"_";return l.memoizedState=t},useHostTransitionStatus:yc,useFormState:cs,useActionState:cs,useOptimistic:function(l){var t=lt();t.memoizedState=t.baseState=l;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=e,t=hc.bind(null,J,!0,e),e.dispatch=t,[l,t]},useMemoCache:nc,useCacheRefresh:function(){return lt().memoizedState=cy.bind(null,J)},useEffectEvent:function(l){var t=lt(),e={impl:l};return t.memoizedState=e,function(){if((nl&2)!==0)throw Error(d(440));return e.impl.apply(void 0,arguments)}}},vc={readContext:Jl,use:rn,useCallback:Ss,useContext:Jl,useEffect:sc,useImperativeHandle:gs,useInsertionEffect:ys,useLayoutEffect:hs,useMemo:bs,useReducer:mn,useRef:ds,useState:function(){return mn(Wt)},useDebugValue:dc,useDeferredValue:function(l,t){var e=Ul();return ps(e,rl.memoizedState,l,t)},useTransition:function(){var l=mn(Wt)[0],t=Ul().memoizedState;return[typeof l=="boolean"?l:nu(l),t]},useSyncExternalStore:Wo,useId:_s,useHostTransitionStatus:yc,useFormState:fs,useActionState:fs,useOptimistic:function(l,t){var e=Ul();return ts(e,rl,l,t)},useMemoCache:nc,useCacheRefresh:Es};vc.useEffectEvent=ms;var Ds={readContext:Jl,use:rn,useCallback:Ss,useContext:Jl,useEffect:sc,useImperativeHandle:gs,useInsertionEffect:ys,useLayoutEffect:hs,useMemo:bs,useReducer:cc,useRef:ds,useState:function(){return cc(Wt)},useDebugValue:dc,useDeferredValue:function(l,t){var e=Ul();return rl===null?rc(e,l,t):ps(e,rl.memoizedState,l,t)},useTransition:function(){var l=cc(Wt)[0],t=Ul().memoizedState;return[typeof l=="boolean"?l:nu(l),t]},useSyncExternalStore:Wo,useId:_s,useHostTransitionStatus:yc,useFormState:ss,useActionState:ss,useOptimistic:function(l,t){var e=Ul();return rl!==null?ts(e,rl,l,t):(e.baseState=l,[l,e.queue.dispatch])},useMemoCache:nc,useCacheRefresh:Es};Ds.useEffectEvent=ms;function gc(l,t,e,a){t=l.memoizedState,e=e(a,t),e=e==null?t:D({},t,e),l.memoizedState=e,l.lanes===0&&(l.updateQueue.baseState=e)}var Sc={enqueueSetState:function(l,t,e){l=l._reactInternals;var a=pt(),u=me(a);u.payload=t,e!=null&&(u.callback=e),t=ye(l,u,a),t!==null&&(st(t,l,a),tu(t,l,a))},enqueueReplaceState:function(l,t,e){l=l._reactInternals;var a=pt(),u=me(a);u.tag=1,u.payload=t,e!=null&&(u.callback=e),t=ye(l,u,a),t!==null&&(st(t,l,a),tu(t,l,a))},enqueueForceUpdate:function(l,t){l=l._reactInternals;var e=pt(),a=me(e);a.tag=2,t!=null&&(a.callback=t),t=ye(l,a,e),t!==null&&(st(t,l,e),tu(t,l,e))}};function Us(l,t,e,a,u,n,i){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(a,n,i):t.prototype&&t.prototype.isPureReactComponent?!wa(e,a)||!wa(u,n):!0}function Ns(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&&Sc.enqueueReplaceState(t,t.state,null)}function we(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=D({},e));for(var u in l)e[u]===void 0&&(e[u]=l[u])}return e}function Rs(l){wu(l)}function Cs(l){console.error(l)}function Hs(l){wu(l)}function gn(l,t){try{var e=l.onUncaughtError;e(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function Bs(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 bc(l,t,e){return e=me(e),e.tag=3,e.payload={element:null},e.callback=function(){gn(l,t)},e}function qs(l){return l=me(l),l.tag=3,l}function Ys(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(){Bs(t,e,a)}}var i=e.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(l.callback=function(){Bs(t,e,a),typeof u!="function"&&(pe===null?pe=new Set([this]):pe.add(this));var c=a.stack;this.componentDidCatch(a.value,{componentStack:c!==null?c:""})})}function oy(l,t,e,a,u){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=e.alternate,t!==null&&ma(t,e,u,!0),e=vt.current,e!==null){switch(e.tag){case 31:case 13:return Dt===null?jn():e.alternate===null&&Al===0&&(Al=3),e.flags&=-257,e.flags|=65536,e.lanes=u,a===an?e.flags|=16384:(t=e.updateQueue,t===null?e.updateQueue=new Set([a]):t.add(a),Vc(l,a,u)),!1;case 22:return e.flags|=65536,a===an?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)),Vc(l,a,u)),!1}throw Error(d(435,e.tag))}return Vc(l,a,u),jn(),!1}if(tl)return t=vt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=u,a!==Yi&&(l=Error(d(422),{cause:a}),$a(At(l,e)))):(a!==Yi&&(t=Error(d(423),{cause:a}),$a(At(t,e))),l=l.current.alternate,l.flags|=65536,u&=-u,l.lanes|=u,a=At(a,e),u=bc(l.stateNode,a,u),Wi(l,u),Al!==4&&(Al=2)),!1;var n=Error(d(520),{cause:a});if(n=At(n,e),hu===null?hu=[n]:hu.push(n),Al!==4&&(Al=2),t===null)return!0;a=At(a,e),e=t;do{switch(e.tag){case 3:return e.flags|=65536,l=u&-u,e.lanes|=l,l=bc(e.stateNode,a,l),Wi(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"&&(pe===null||!pe.has(n))))return e.flags|=65536,u&=-u,e.lanes|=u,u=qs(u),Ys(u,l,e,a),Wi(e,u),!1}e=e.return}while(e!==null);return!1}var pc=Error(d(461)),Bl=!1;function wl(l,t,e,a){t.child=l===null?Qo(t,null,e,a):Ke(t,l.child,e,a)}function Gs(l,t,e,a,u){e=e.render;var n=t.ref;if("ref"in a){var i={};for(var c in a)c!=="ref"&&(i[c]=a[c])}else i=a;return Xe(t),a=tc(l,t,e,i,n,u),c=ec(),l!==null&&!Bl?(ac(l,t,u),$t(l,t,u)):(tl&&c&&Bi(t),t.flags|=1,wl(l,t,a,u),t.child)}function Ls(l,t,e,a,u){if(l===null){var n=e.type;return typeof n=="function"&&!Ri(n)&&n.defaultProps===void 0&&e.compare===null?(t.tag=15,t.type=n,Xs(l,t,n,a,u)):(l=Fu(e.type,null,a,t,t.mode,u),l.ref=t.ref,l.return=t,t.child=l)}if(n=l.child,!Mc(l,u)){var i=n.memoizedProps;if(e=e.compare,e=e!==null?e:wa,e(i,a)&&l.ref===t.ref)return $t(l,t,u)}return t.flags|=1,l=Vt(n,a),l.ref=t.ref,l.return=t,t.child=l}function Xs(l,t,e,a,u){if(l!==null){var n=l.memoizedProps;if(wa(n,a)&&l.ref===t.ref)if(Bl=!1,t.pendingProps=a=n,Mc(l,u))(l.flags&131072)!==0&&(Bl=!0);else return t.lanes=l.lanes,$t(l,t,u)}return Tc(l,t,e,a,u)}function Qs(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 Zs(l,t,n,e,a)}if((e&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},l!==null&&tn(t,n!==null?n.cachePool:null),n!==null?Ko(t,n):Fi(),Jo(t);else return a=t.lanes=536870912,Zs(l,t,n!==null?n.baseLanes|e:e,e,a)}else n!==null?(tn(t,n.cachePool),Ko(t,n),ve(),t.memoizedState=null):(l!==null&&tn(t,null),Fi(),ve());return wl(l,t,u,e),t.child}function fu(l,t){return l!==null&&l.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function Zs(l,t,e,a,u){var n=Ki();return n=n===null?null:{parent:Cl._currentValue,pool:n},t.memoizedState={baseLanes:e,cachePool:n},l!==null&&tn(t,null),Fi(),Jo(t),l!==null&&ma(l,t,a,!0),t.childLanes=u,null}function Sn(l,t){return t=pn({mode:t.mode,children:t.children},l.mode),t.ref=l.ref,l.child=t,t.return=l,t}function Vs(l,t,e){return Ke(t,l.child,null,e),l=Sn(t,t.pendingProps),l.flags|=2,gt(t),t.memoizedState=null,l}function sy(l,t,e){var a=t.pendingProps,u=(t.flags&128)!==0;if(t.flags&=-129,l===null){if(tl){if(a.mode==="hidden")return l=Sn(t,a),t.lanes=536870912,fu(null,l);if(Pi(t),(l=Sl)?(l=er(l,jt),l=l!==null&&l.data==="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:fe!==null?{id:qt,overflow:Yt}:null,retryLane:536870912,hydrationErrors:null},e=Oo(l),e.return=t,t.child=e,Kl=t,Sl=null)):l=null,l===null)throw se(t);return t.lanes=536870912,null}return Sn(t,a)}var n=l.memoizedState;if(n!==null){var i=n.dehydrated;if(Pi(t),u)if(t.flags&256)t.flags&=-257,t=Vs(l,t,e);else if(t.memoizedState!==null)t.child=l.child,t.flags|=128,t=null;else throw Error(d(558));else if(Bl||ma(l,t,e,!1),u=(e&l.childLanes)!==0,Bl||u){if(a=vl,a!==null&&(i=Rf(a,e),i!==0&&i!==n.retryLane))throw n.retryLane=i,qe(l,i),st(a,l,i),pc;jn(),t=Vs(l,t,e)}else l=n.treeContext,Sl=Ut(i.nextSibling),Kl=t,tl=!0,oe=null,jt=!1,l!==null&&Do(t,l),t=Sn(t,a),t.flags|=4096;return t}return l=Vt(l.child,{mode:a.mode,children:a.children}),l.ref=t.ref,t.child=l,l.return=t,l}function bn(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(d(284));(l===null||l.ref!==e)&&(t.flags|=4194816)}}function Tc(l,t,e,a,u){return Xe(t),e=tc(l,t,e,a,void 0,u),a=ec(),l!==null&&!Bl?(ac(l,t,u),$t(l,t,u)):(tl&&a&&Bi(t),t.flags|=1,wl(l,t,e,u),t.child)}function Ks(l,t,e,a,u,n){return Xe(t),t.updateQueue=null,e=ko(t,a,e,u),wo(l),a=ec(),l!==null&&!Bl?(ac(l,t,n),$t(l,t,n)):(tl&&a&&Bi(t),t.flags|=1,wl(l,t,e,n),t.child)}function Js(l,t,e,a,u){if(Xe(t),t.stateNode===null){var n=oa,i=e.contextType;typeof i=="object"&&i!==null&&(n=Jl(i)),n=new e(a,n),t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=Sc,t.stateNode=n,n._reactInternals=t,n=t.stateNode,n.props=a,n.state=t.memoizedState,n.refs={},wi(t),i=e.contextType,n.context=typeof i=="object"&&i!==null?Jl(i):oa,n.state=t.memoizedState,i=e.getDerivedStateFromProps,typeof i=="function"&&(gc(t,e,i,a),n.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(i=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),i!==n.state&&Sc.enqueueReplaceState(n,n.state,null),au(t,a,n,u),eu(),n.state=t.memoizedState),typeof n.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(l===null){n=t.stateNode;var c=t.memoizedProps,f=we(e,c);n.props=f;var g=n.context,T=e.contextType;i=oa,typeof T=="object"&&T!==null&&(i=Jl(T));var A=e.getDerivedStateFromProps;T=typeof A=="function"||typeof n.getSnapshotBeforeUpdate=="function",c=t.pendingProps!==c,T||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c||g!==i)&&Ns(t,n,a,i),re=!1;var S=t.memoizedState;n.state=S,au(t,a,n,u),eu(),g=t.memoizedState,c||S!==g||re?(typeof A=="function"&&(gc(t,e,A,a),g=t.memoizedState),(f=re||Us(t,e,f,a,S,g,i))?(T||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=g),n.props=a,n.state=g,n.context=i,a=f):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{n=t.stateNode,ki(l,t),i=t.memoizedProps,T=we(e,i),n.props=T,A=t.pendingProps,S=n.context,g=e.contextType,f=oa,typeof g=="object"&&g!==null&&(f=Jl(g)),c=e.getDerivedStateFromProps,(g=typeof c=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(i!==A||S!==f)&&Ns(t,n,a,f),re=!1,S=t.memoizedState,n.state=S,au(t,a,n,u),eu();var b=t.memoizedState;i!==A||S!==b||re||l!==null&&l.dependencies!==null&&Pu(l.dependencies)?(typeof c=="function"&&(gc(t,e,c,a),b=t.memoizedState),(T=re||Us(t,e,T,a,S,b,f)||l!==null&&l.dependencies!==null&&Pu(l.dependencies))?(g||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(a,b,f),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(a,b,f)),typeof n.componentDidUpdate=="function"&&(t.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof n.componentDidUpdate!="function"||i===l.memoizedProps&&S===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===l.memoizedProps&&S===l.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=b),n.props=a,n.state=b,n.context=f,a=T):(typeof n.componentDidUpdate!="function"||i===l.memoizedProps&&S===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||i===l.memoizedProps&&S===l.memoizedState||(t.flags|=1024),a=!1)}return n=a,bn(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=Ke(t,l.child,null,u),t.child=Ke(t,null,e,u)):wl(l,t,e,u),t.memoizedState=n.state,l=t.child):l=$t(l,t,u),l}function ws(l,t,e,a){return Ge(),t.flags|=256,wl(l,t,e,a),t.child}var zc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function xc(l){return{baseLanes:l,cachePool:Bo()}}function _c(l,t,e){return l=l!==null?l.childLanes&~e:0,t&&(l|=bt),l}function ks(l,t,e){var a=t.pendingProps,u=!1,n=(t.flags&128)!==0,i;if((i=n)||(i=l!==null&&l.memoizedState===null?!1:(Dl.current&2)!==0),i&&(u=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,l===null){if(tl){if(u?he(t):ve(),(l=Sl)?(l=er(l,jt),l=l!==null&&l.data!=="&"?l:null,l!==null&&(t.memoizedState={dehydrated:l,treeContext:fe!==null?{id:qt,overflow:Yt}:null,retryLane:536870912,hydrationErrors:null},e=Oo(l),e.return=t,t.child=e,Kl=t,Sl=null)):l=null,l===null)throw se(t);return cf(l)?t.lanes=32:t.lanes=536870912,null}var c=a.children;return a=a.fallback,u?(ve(),u=t.mode,c=pn({mode:"hidden",children:c},u),a=Ye(a,u,e,null),c.return=t,a.return=t,c.sibling=a,t.child=c,a=t.child,a.memoizedState=xc(e),a.childLanes=_c(l,i,e),t.memoizedState=zc,fu(null,a)):(he(t),Ec(t,c))}var f=l.memoizedState;if(f!==null&&(c=f.dehydrated,c!==null)){if(n)t.flags&256?(he(t),t.flags&=-257,t=Ac(l,t,e)):t.memoizedState!==null?(ve(),t.child=l.child,t.flags|=128,t=null):(ve(),c=a.fallback,u=t.mode,a=pn({mode:"visible",children:a.children},u),c=Ye(c,u,e,null),c.flags|=2,a.return=t,c.return=t,a.sibling=c,t.child=a,Ke(t,l.child,null,e),a=t.child,a.memoizedState=xc(e),a.childLanes=_c(l,i,e),t.memoizedState=zc,t=fu(null,a));else if(he(t),cf(c)){if(i=c.nextSibling&&c.nextSibling.dataset,i)var g=i.dgst;i=g,a=Error(d(419)),a.stack="",a.digest=i,$a({value:a,source:null,stack:null}),t=Ac(l,t,e)}else if(Bl||ma(l,t,e,!1),i=(e&l.childLanes)!==0,Bl||i){if(i=vl,i!==null&&(a=Rf(i,e),a!==0&&a!==f.retryLane))throw f.retryLane=a,qe(l,a),st(i,l,a),pc;nf(c)||jn(),t=Ac(l,t,e)}else nf(c)?(t.flags|=192,t.child=l.child,t=null):(l=f.treeContext,Sl=Ut(c.nextSibling),Kl=t,tl=!0,oe=null,jt=!1,l!==null&&Do(t,l),t=Ec(t,a.children),t.flags|=4096);return t}return u?(ve(),c=a.fallback,u=t.mode,f=l.child,g=f.sibling,a=Vt(f,{mode:"hidden",children:a.children}),a.subtreeFlags=f.subtreeFlags&65011712,g!==null?c=Vt(g,c):(c=Ye(c,u,e,null),c.flags|=2),c.return=t,a.return=t,a.sibling=c,t.child=a,fu(null,a),a=t.child,c=l.child.memoizedState,c===null?c=xc(e):(u=c.cachePool,u!==null?(f=Cl._currentValue,u=u.parent!==f?{parent:f,pool:f}:u):u=Bo(),c={baseLanes:c.baseLanes|e,cachePool:u}),a.memoizedState=c,a.childLanes=_c(l,i,e),t.memoizedState=zc,fu(l.child,a)):(he(t),e=l.child,l=e.sibling,e=Vt(e,{mode:"visible",children:a.children}),e.return=t,e.sibling=null,l!==null&&(i=t.deletions,i===null?(t.deletions=[l],t.flags|=16):i.push(l)),t.child=e,t.memoizedState=null,e)}function Ec(l,t){return t=pn({mode:"visible",children:t},l.mode),t.return=l,l.child=t}function pn(l,t){return l=ht(22,l,null,t),l.lanes=0,l}function Ac(l,t,e){return Ke(t,l.child,null,e),l=Ec(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}function Ws(l,t,e){l.lanes|=t;var a=l.alternate;a!==null&&(a.lanes|=t),Xi(l.return,t,e)}function Oc(l,t,e,a,u,n){var i=l.memoizedState;i===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:u,treeForkCount:n}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=e,i.tailMode=u,i.treeForkCount=n)}function $s(l,t,e){var a=t.pendingProps,u=a.revealOrder,n=a.tail;a=a.children;var i=Dl.current,c=(i&2)!==0;if(c?(i=i&1|2,t.flags|=128):i&=1,C(Dl,i),wl(l,t,a,e),a=tl?Wa:0,!c&&l!==null&&(l.flags&128)!==0)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Ws(l,e,t);else if(l.tag===19)Ws(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&&fn(l)===null&&(u=e),e=e.sibling;e=u,e===null?(u=t.child,t.child=null):(u=e.sibling,e.sibling=null),Oc(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&&fn(l)===null){t.child=u;break}l=u.sibling,u.sibling=e,e=u,u=l}Oc(t,!0,e,null,n,a);break;case"together":Oc(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function $t(l,t,e){if(l!==null&&(t.dependencies=l.dependencies),be|=t.lanes,(e&t.childLanes)===0)if(l!==null){if(ma(l,t,e,!1),(e&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(d(153));if(t.child!==null){for(l=t.child,e=Vt(l,l.pendingProps),t.child=e,e.return=t;l.sibling!==null;)l=l.sibling,e=e.sibling=Vt(l,l.pendingProps),e.return=t;e.sibling=null}return t.child}function Mc(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&Pu(l)))}function dy(l,t,e){switch(t.tag){case 3:Pl(t,t.stateNode.containerInfo),de(t,Cl,l.memoizedState.cache),Ge();break;case 27:case 5:Ca(t);break;case 4:Pl(t,t.stateNode.containerInfo);break;case 10:de(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Pi(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(he(t),t.flags|=128,null):(e&t.child.childLanes)!==0?ks(l,t,e):(he(t),l=$t(l,t,e),l!==null?l.sibling:null);he(t);break;case 19:var u=(l.flags&128)!==0;if(a=(e&t.childLanes)!==0,a||(ma(l,t,e,!1),a=(e&t.childLanes)!==0),u){if(a)return $s(l,t,e);t.flags|=128}if(u=t.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),C(Dl,Dl.current),a)break;return null;case 22:return t.lanes=0,Qs(l,t,e,t.pendingProps);case 24:de(t,Cl,l.memoizedState.cache)}return $t(l,t,e)}function Fs(l,t,e){if(l!==null)if(l.memoizedProps!==t.pendingProps)Bl=!0;else{if(!Mc(l,e)&&(t.flags&128)===0)return Bl=!1,dy(l,t,e);Bl=(l.flags&131072)!==0}else Bl=!1,tl&&(t.flags&1048576)!==0&&jo(t,Wa,t.index);switch(t.lanes=0,t.tag){case 16:l:{var a=t.pendingProps;if(l=Ze(t.elementType),t.type=l,typeof l=="function")Ri(l)?(a=we(l,a),t.tag=1,t=Js(null,t,l,a,e)):(t.tag=0,t=Tc(null,t,l,a,e));else{if(l!=null){var u=l.$$typeof;if(u===et){t.tag=11,t=Gs(null,t,l,a,e);break l}else if(u===Q){t.tag=14,t=Ls(null,t,l,a,e);break l}}throw t=zt(l)||l,Error(d(306,t,""))}}return t;case 0:return Tc(l,t,t.type,t.pendingProps,e);case 1:return a=t.type,u=we(a,t.pendingProps),Js(l,t,a,u,e);case 3:l:{if(Pl(t,t.stateNode.containerInfo),l===null)throw Error(d(387));a=t.pendingProps;var n=t.memoizedState;u=n.element,ki(l,t),au(t,a,null,e);var i=t.memoizedState;if(a=i.cache,de(t,Cl,a),a!==n.cache&&Qi(t,[Cl],e,!0),eu(),a=i.element,n.isDehydrated)if(n={element:a,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=n,t.memoizedState=n,t.flags&256){t=ws(l,t,a,e);break l}else if(a!==u){u=At(Error(d(424)),t),$a(u),t=ws(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(Sl=Ut(l.firstChild),Kl=t,tl=!0,oe=null,jt=!0,e=Qo(t,null,a,e),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(Ge(),a===u){t=$t(l,t,e);break l}wl(l,t,a,e)}t=t.child}return t;case 26:return bn(l,t),l===null?(e=fr(t.type,null,t.pendingProps,null))?t.memoizedState=e:tl||(e=t.type,l=t.pendingProps,a=Bn($.current).createElement(e),a[Vl]=t,a[ut]=l,kl(a,e,l),Ql(a),t.stateNode=a):t.memoizedState=fr(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return Ca(t),l===null&&tl&&(a=t.stateNode=nr(t.type,t.pendingProps,$.current),Kl=t,jt=!0,u=Sl,_e(t.type)?(ff=u,Sl=Ut(a.firstChild)):Sl=u),wl(l,t,t.pendingProps.children,e),bn(l,t),l===null&&(t.flags|=4194304),t.child;case 5:return l===null&&tl&&((u=a=Sl)&&(a=Xy(a,t.type,t.pendingProps,jt),a!==null?(t.stateNode=a,Kl=t,Sl=Ut(a.firstChild),jt=!1,u=!0):u=!1),u||se(t)),Ca(t),u=t.type,n=t.pendingProps,i=l!==null?l.memoizedProps:null,a=n.children,ef(u,n)?a=null:i!==null&&ef(u,i)&&(t.flags|=32),t.memoizedState!==null&&(u=tc(l,t,ey,null,null,e),xu._currentValue=u),bn(l,t),wl(l,t,a,e),t.child;case 6:return l===null&&tl&&((l=e=Sl)&&(e=Qy(e,t.pendingProps,jt),e!==null?(t.stateNode=e,Kl=t,Sl=null,l=!0):l=!1),l||se(t)),null;case 13:return ks(l,t,e);case 4:return Pl(t,t.stateNode.containerInfo),a=t.pendingProps,l===null?t.child=Ke(t,null,a,e):wl(l,t,a,e),t.child;case 11:return Gs(l,t,t.type,t.pendingProps,e);case 7:return wl(l,t,t.pendingProps,e),t.child;case 8:return wl(l,t,t.pendingProps.children,e),t.child;case 12:return wl(l,t,t.pendingProps.children,e),t.child;case 10:return a=t.pendingProps,de(t,t.type,a.value),wl(l,t,a.children,e),t.child;case 9:return u=t.type._context,a=t.pendingProps.children,Xe(t),u=Jl(u),a=a(u),t.flags|=1,wl(l,t,a,e),t.child;case 14:return Ls(l,t,t.type,t.pendingProps,e);case 15:return Xs(l,t,t.type,t.pendingProps,e);case 19:return $s(l,t,e);case 31:return sy(l,t,e);case 22:return Qs(l,t,e,t.pendingProps);case 24:return Xe(t),a=Jl(Cl),l===null?(u=Ki(),u===null&&(u=vl,n=Zi(),u.pooledCache=n,n.refCount++,n!==null&&(u.pooledCacheLanes|=e),u=n),t.memoizedState={parent:a,cache:u},wi(t),de(t,Cl,u)):((l.lanes&e)!==0&&(ki(l,t),au(t,null,null,e),eu()),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),de(t,Cl,a)):(a=n.cache,de(t,Cl,a),a!==u.cache&&Qi(t,[Cl],e,!0))),wl(l,t,t.pendingProps.children,e),t.child;case 29:throw t.pendingProps}throw Error(d(156,t.tag))}function Ft(l){l.flags|=4}function jc(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(_d())l.flags|=8192;else throw Ve=an,Ji}else l.flags&=-16777217}function Is(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!mr(t))if(_d())l.flags|=8192;else throw Ve=an,Ji}function Tn(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?Df():536870912,l.lanes|=t,Ea|=t)}function ou(l,t){if(!tl)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 ry(l,t,e){var a=t.pendingProps;switch(qi(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),wt(Cl),jl(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(l===null||l.child===null)&&(ra(t)?Ft(t):l===null||l.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Gi())),bl(t),null;case 26:var u=t.type,n=t.memoizedState;return l===null?(Ft(t),n!==null?(bl(t),Is(t,n)):(bl(t),jc(t,u,null,a,e))):n?n!==l.memoizedState?(Ft(t),bl(t),Is(t,n)):(bl(t),t.flags&=-16777217):(l=l.memoizedProps,l!==a&&Ft(t),bl(t),jc(t,u,l,a,e)),null;case 27:if(Uu(t),e=$.current,u=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Ft(t);else{if(!a){if(t.stateNode===null)throw Error(d(166));return bl(t),null}l=B.current,ra(t)?Uo(t):(l=nr(u,a,e),t.stateNode=l,Ft(t))}return bl(t),null;case 5:if(Uu(t),u=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==a&&Ft(t);else{if(!a){if(t.stateNode===null)throw Error(d(166));return bl(t),null}if(n=B.current,ra(t))Uo(t);else{var i=Bn($.current);switch(n){case 1:n=i.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:n=i.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":n=i.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":n=i.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":n=i.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?n.multiple=!0:a.size&&(n.size=a.size);break;default:n=typeof a.is=="string"?i.createElement(u,{is:a.is}):i.createElement(u)}}n[Vl]=t,n[ut]=a;l:for(i=t.child;i!==null;){if(i.tag===5||i.tag===6)n.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break l;for(;i.sibling===null;){if(i.return===null||i.return===t)break l;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=n;l:switch(kl(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&&Ft(t)}}return bl(t),jc(t,t.type,l===null?null:l.memoizedProps,t.pendingProps,e),null;case 6:if(l&&t.stateNode!=null)l.memoizedProps!==a&&Ft(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(d(166));if(l=$.current,ra(t)){if(l=t.stateNode,e=t.memoizedProps,a=null,u=Kl,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}l[Vl]=t,l=!!(l.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||kd(l.nodeValue,e)),l||se(t,!0)}else l=Bn(l).createTextNode(a),l[Vl]=t,t.stateNode=l}return bl(t),null;case 31:if(e=t.memoizedState,l===null||l.memoizedState!==null){if(a=ra(t),e!==null){if(l===null){if(!a)throw Error(d(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(d(557));l[Vl]=t}else Ge(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;bl(t),l=!1}else e=Gi(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=e),l=!0;if(!l)return t.flags&256?(gt(t),t):(gt(t),null);if((t.flags&128)!==0)throw Error(d(558))}return bl(t),null;case 13:if(a=t.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(u=ra(t),a!==null&&a.dehydrated!==null){if(l===null){if(!u)throw Error(d(318));if(u=t.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(d(317));u[Vl]=t}else Ge(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;bl(t),u=!1}else u=Gi(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=u),u=!0;if(!u)return t.flags&256?(gt(t),t):(gt(t),null)}return gt(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),Tn(t,t.updateQueue),bl(t),null);case 4:return jl(),l===null&&Fc(t.stateNode.containerInfo),bl(t),null;case 10:return wt(t.type),bl(t),null;case 19:if(O(Dl),a=t.memoizedState,a===null)return bl(t),null;if(u=(t.flags&128)!==0,n=a.rendering,n===null)if(u)ou(a,!1);else{if(Al!==0||l!==null&&(l.flags&128)!==0)for(l=t.child;l!==null;){if(n=fn(l),n!==null){for(t.flags|=128,ou(a,!1),l=n.updateQueue,t.updateQueue=l,Tn(t,l),t.subtreeFlags=0,l=e,e=t.child;e!==null;)Ao(e,l),e=e.sibling;return C(Dl,Dl.current&1|2),tl&&Kt(t,a.treeForkCount),t.child}l=l.sibling}a.tail!==null&&dt()>An&&(t.flags|=128,u=!0,ou(a,!1),t.lanes=4194304)}else{if(!u)if(l=fn(n),l!==null){if(t.flags|=128,u=!0,l=l.updateQueue,t.updateQueue=l,Tn(t,l),ou(a,!0),a.tail===null&&a.tailMode==="hidden"&&!n.alternate&&!tl)return bl(t),null}else 2*dt()-a.renderingStartTime>An&&e!==536870912&&(t.flags|=128,u=!0,ou(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=dt(),l.sibling=null,e=Dl.current,C(Dl,u?e&1|2:e&1),tl&&Kt(t,a.treeForkCount),l):(bl(t),null);case 22:case 23:return gt(t),Ii(),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&&Tn(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&&O(Qe),null;case 24:return e=null,l!==null&&(e=l.memoizedState.cache),t.memoizedState.cache!==e&&(t.flags|=2048),wt(Cl),bl(t),null;case 25:return null;case 30:return null}throw Error(d(156,t.tag))}function my(l,t){switch(qi(t),t.tag){case 1:return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 3:return wt(Cl),jl(),l=t.flags,(l&65536)!==0&&(l&128)===0?(t.flags=l&-65537|128,t):null;case 26:case 27:case 5:return Uu(t),null;case 31:if(t.memoizedState!==null){if(gt(t),t.alternate===null)throw Error(d(340));Ge()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 13:if(gt(t),l=t.memoizedState,l!==null&&l.dehydrated!==null){if(t.alternate===null)throw Error(d(340));Ge()}return l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 19:return O(Dl),null;case 4:return jl(),null;case 10:return wt(t.type),null;case 22:case 23:return gt(t),Ii(),l!==null&&O(Qe),l=t.flags,l&65536?(t.flags=l&-65537|128,t):null;case 24:return wt(Cl),null;case 25:return null;default:return null}}function Ps(l,t){switch(qi(t),t.tag){case 3:wt(Cl),jl();break;case 26:case 27:case 5:Uu(t);break;case 4:jl();break;case 31:t.memoizedState!==null&&gt(t);break;case 13:gt(t);break;case 19:O(Dl);break;case 10:wt(t.type);break;case 22:case 23:gt(t),Ii(),l!==null&&O(Qe);break;case 24:wt(Cl)}}function su(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,i=e.inst;a=n(),i.destroy=a}e=e.next}while(e!==u)}}catch(c){fl(t,t.return,c)}}function ge(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 i=a.inst,c=i.destroy;if(c!==void 0){i.destroy=void 0,u=t;var f=e,g=c;try{g()}catch(T){fl(u,f,T)}}}a=a.next}while(a!==n)}}catch(T){fl(t,t.return,T)}}function ld(l){var t=l.updateQueue;if(t!==null){var e=l.stateNode;try{Vo(t,e)}catch(a){fl(l,l.return,a)}}}function td(l,t,e){e.props=we(l.type,l.memoizedProps),e.state=l.memoizedState;try{e.componentWillUnmount()}catch(a){fl(l,t,a)}}function du(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 Gt(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 ed(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 Dc(l,t,e){try{var a=l.stateNode;Hy(a,l.type,e,t),a[ut]=t}catch(u){fl(l,l.return,u)}}function ad(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&_e(l.type)||l.tag===4}function Uc(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||ad(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&&_e(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 Nc(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=Qt));else if(a!==4&&(a===27&&_e(l.type)&&(e=l.stateNode,t=null),l=l.child,l!==null))for(Nc(l,t,e),l=l.sibling;l!==null;)Nc(l,t,e),l=l.sibling}function zn(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&&_e(l.type)&&(e=l.stateNode),l=l.child,l!==null))for(zn(l,t,e),l=l.sibling;l!==null;)zn(l,t,e),l=l.sibling}function ud(l){var t=l.stateNode,e=l.memoizedProps;try{for(var a=l.type,u=t.attributes;u.length;)t.removeAttributeNode(u[0]);kl(t,a,e),t[Vl]=l,t[ut]=e}catch(n){fl(l,l.return,n)}}var It=!1,ql=!1,Rc=!1,nd=typeof WeakSet=="function"?WeakSet:Set,Zl=null;function yy(l,t){if(l=l.containerInfo,lf=Zn,l=go(l),Ai(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 i=0,c=-1,f=-1,g=0,T=0,A=l,S=null;t:for(;;){for(var b;A!==e||u!==0&&A.nodeType!==3||(c=i+u),A!==n||a!==0&&A.nodeType!==3||(f=i+a),A.nodeType===3&&(i+=A.nodeValue.length),(b=A.firstChild)!==null;)S=A,A=b;for(;;){if(A===l)break t;if(S===e&&++g===u&&(c=i),S===n&&++T===a&&(f=i),(b=A.nextSibling)!==null)break;A=S,S=A.parentNode}A=b}e=c===-1||f===-1?null:{start:c,end:f}}else e=null}e=e||{start:0,end:0}}else e=null;for(tf={focusedElem:l,selectionRange:e},Zn=!1,Zl=t;Zl!==null;)if(t=Zl,l=t.child,(t.subtreeFlags&1028)!==0&&l!==null)l.return=t,Zl=l;else for(;Zl!==null;){switch(t=Zl,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 H=we(e.type,u);l=a.getSnapshotBeforeUpdate(H,n),a.__reactInternalSnapshotBeforeUpdate=l}catch(G){fl(e,e.return,G)}}break;case 3:if((l&1024)!==0){if(l=t.stateNode.containerInfo,e=l.nodeType,e===9)uf(l);else if(e===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":uf(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(d(163))}if(l=t.sibling,l!==null){l.return=t.return,Zl=l;break}Zl=t.return}}function id(l,t,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:le(l,e),a&4&&su(5,e);break;case 1:if(le(l,e),a&4)if(l=e.stateNode,t===null)try{l.componentDidMount()}catch(i){fl(e,e.return,i)}else{var u=we(e.type,t.memoizedProps);t=t.memoizedState;try{l.componentDidUpdate(u,t,l.__reactInternalSnapshotBeforeUpdate)}catch(i){fl(e,e.return,i)}}a&64&&ld(e),a&512&&du(e,e.return);break;case 3:if(le(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{Vo(l,t)}catch(i){fl(e,e.return,i)}}break;case 27:t===null&&a&4&&ud(e);case 26:case 5:le(l,e),t===null&&a&4&&ed(e),a&512&&du(e,e.return);break;case 12:le(l,e);break;case 31:le(l,e),a&4&&od(l,e);break;case 13:le(l,e),a&4&&sd(l,e),a&64&&(l=e.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(e=xy.bind(null,e),Zy(l,e))));break;case 22:if(a=e.memoizedState!==null||It,!a){t=t!==null&&t.memoizedState!==null||ql,u=It;var n=ql;It=a,(ql=t)&&!n?te(l,e,(e.subtreeFlags&8772)!==0):le(l,e),It=u,ql=n}break;case 30:break;default:le(l,e)}}function cd(l){var t=l.alternate;t!==null&&(l.alternate=null,cd(t)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(t=l.stateNode,t!==null&&oi(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 zl=null,it=!1;function Pt(l,t,e){for(e=e.child;e!==null;)fd(l,t,e),e=e.sibling}function fd(l,t,e){if(rt&&typeof rt.onCommitFiberUnmount=="function")try{rt.onCommitFiberUnmount(Ha,e)}catch{}switch(e.tag){case 26:ql||Gt(e,t),Pt(l,t,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:ql||Gt(e,t);var a=zl,u=it;_e(e.type)&&(zl=e.stateNode,it=!1),Pt(l,t,e),pu(e.stateNode),zl=a,it=u;break;case 5:ql||Gt(e,t);case 6:if(a=zl,u=it,zl=null,Pt(l,t,e),zl=a,it=u,zl!==null)if(it)try{(zl.nodeType===9?zl.body:zl.nodeName==="HTML"?zl.ownerDocument.body:zl).removeChild(e.stateNode)}catch(n){fl(e,t,n)}else try{zl.removeChild(e.stateNode)}catch(n){fl(e,t,n)}break;case 18:zl!==null&&(it?(l=zl,lr(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.stateNode),Ra(l)):lr(zl,e.stateNode));break;case 4:a=zl,u=it,zl=e.stateNode.containerInfo,it=!0,Pt(l,t,e),zl=a,it=u;break;case 0:case 11:case 14:case 15:ge(2,e,t),ql||ge(4,e,t),Pt(l,t,e);break;case 1:ql||(Gt(e,t),a=e.stateNode,typeof a.componentWillUnmount=="function"&&td(e,t,a)),Pt(l,t,e);break;case 21:Pt(l,t,e);break;case 22:ql=(a=ql)||e.memoizedState!==null,Pt(l,t,e),ql=a;break;default:Pt(l,t,e)}}function od(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{Ra(l)}catch(e){fl(t,t.return,e)}}}function sd(l,t){if(t.memoizedState===null&&(l=t.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{Ra(l)}catch(e){fl(t,t.return,e)}}function hy(l){switch(l.tag){case 31:case 13:case 19:var t=l.stateNode;return t===null&&(t=l.stateNode=new nd),t;case 22:return l=l.stateNode,t=l._retryCache,t===null&&(t=l._retryCache=new nd),t;default:throw Error(d(435,l.tag))}}function xn(l,t){var e=hy(l);t.forEach(function(a){if(!e.has(a)){e.add(a);var u=_y.bind(null,l,a);a.then(u,u)}})}function ct(l,t){var e=t.deletions;if(e!==null)for(var a=0;a<e.length;a++){var u=e[a],n=l,i=t,c=i;l:for(;c!==null;){switch(c.tag){case 27:if(_e(c.type)){zl=c.stateNode,it=!1;break l}break;case 5:zl=c.stateNode,it=!1;break l;case 3:case 4:zl=c.stateNode.containerInfo,it=!0;break l}c=c.return}if(zl===null)throw Error(d(160));fd(n,i,u),zl=null,it=!1,n=u.alternate,n!==null&&(n.return=null),u.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)dd(t,l),t=t.sibling}var Ht=null;function dd(l,t){var e=l.alternate,a=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:ct(t,l),ft(l),a&4&&(ge(3,l,l.return),su(3,l),ge(5,l,l.return));break;case 1:ct(t,l),ft(l),a&512&&(ql||e===null||Gt(e,e.return)),a&64&&It&&(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=Ht;if(ct(t,l),ft(l),a&512&&(ql||e===null||Gt(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[Ya]||n[Vl]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=u.createElement(a),u.head.insertBefore(n,u.querySelector("head > title"))),kl(n,a,e),n[Vl]=l,Ql(n),a=n;break l;case"link":var i=dr("link","href",u).get(a+(e.href||""));if(i){for(var c=0;c<i.length;c++)if(n=i[c],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)){i.splice(c,1);break t}}n=u.createElement(a),kl(n,a,e),u.head.appendChild(n);break;case"meta":if(i=dr("meta","content",u).get(a+(e.content||""))){for(c=0;c<i.length;c++)if(n=i[c],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)){i.splice(c,1);break t}}n=u.createElement(a),kl(n,a,e),u.head.appendChild(n);break;default:throw Error(d(468,a))}n[Vl]=l,Ql(n),a=n}l.stateNode=a}else rr(u,l.type,l.stateNode);else l.stateNode=sr(u,a,l.memoizedProps);else n!==a?(n===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):n.count--,a===null?rr(u,l.type,l.stateNode):sr(u,a,l.memoizedProps)):a===null&&l.stateNode!==null&&Dc(l,l.memoizedProps,e.memoizedProps)}break;case 27:ct(t,l),ft(l),a&512&&(ql||e===null||Gt(e,e.return)),e!==null&&a&4&&Dc(l,l.memoizedProps,e.memoizedProps);break;case 5:if(ct(t,l),ft(l),a&512&&(ql||e===null||Gt(e,e.return)),l.flags&32){u=l.stateNode;try{ea(u,"")}catch(H){fl(l,l.return,H)}}a&4&&l.stateNode!=null&&(u=l.memoizedProps,Dc(l,u,e!==null?e.memoizedProps:u)),a&1024&&(Rc=!0);break;case 6:if(ct(t,l),ft(l),a&4){if(l.stateNode===null)throw Error(d(162));a=l.memoizedProps,e=l.stateNode;try{e.nodeValue=a}catch(H){fl(l,l.return,H)}}break;case 3:if(Gn=null,u=Ht,Ht=qn(t.containerInfo),ct(t,l),Ht=u,ft(l),a&4&&e!==null&&e.memoizedState.isDehydrated)try{Ra(t.containerInfo)}catch(H){fl(l,l.return,H)}Rc&&(Rc=!1,rd(l));break;case 4:a=Ht,Ht=qn(l.stateNode.containerInfo),ct(t,l),ft(l),Ht=a;break;case 12:ct(t,l),ft(l);break;case 31:ct(t,l),ft(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,xn(l,a)));break;case 13:ct(t,l),ft(l),l.child.flags&8192&&l.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(En=dt()),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,xn(l,a)));break;case 22:u=l.memoizedState!==null;var f=e!==null&&e.memoizedState!==null,g=It,T=ql;if(It=g||u,ql=T||f,ct(t,l),ql=T,It=g,ft(l),a&8192)l:for(t=l.stateNode,t._visibility=u?t._visibility&-2:t._visibility|1,u&&(e===null||f||It||ql||ke(l)),e=null,t=l;;){if(t.tag===5||t.tag===26){if(e===null){f=e=t;try{if(n=f.stateNode,u)i=n.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none";else{c=f.stateNode;var A=f.memoizedProps.style,S=A!=null&&A.hasOwnProperty("display")?A.display:null;c.style.display=S==null||typeof S=="boolean"?"":(""+S).trim()}}catch(H){fl(f,f.return,H)}}}else if(t.tag===6){if(e===null){f=t;try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(H){fl(f,f.return,H)}}}else if(t.tag===18){if(e===null){f=t;try{var b=f.stateNode;u?tr(b,!0):tr(f.stateNode,!1)}catch(H){fl(f,f.return,H)}}}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,xn(l,e))));break;case 19:ct(t,l),ft(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,xn(l,a)));break;case 30:break;case 21:break;default:ct(t,l),ft(l)}}function ft(l){var t=l.flags;if(t&2){try{for(var e,a=l.return;a!==null;){if(ad(a)){e=a;break}a=a.return}if(e==null)throw Error(d(160));switch(e.tag){case 27:var u=e.stateNode,n=Uc(l);zn(l,n,u);break;case 5:var i=e.stateNode;e.flags&32&&(ea(i,""),e.flags&=-33);var c=Uc(l);zn(l,c,i);break;case 3:case 4:var f=e.stateNode.containerInfo,g=Uc(l);Nc(l,g,f);break;default:throw Error(d(161))}}catch(T){fl(l,l.return,T)}l.flags&=-3}t&4096&&(l.flags&=-4097)}function rd(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var t=l;rd(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),l=l.sibling}}function le(l,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)id(l,t.alternate,t),t=t.sibling}function ke(l){for(l=l.child;l!==null;){var t=l;switch(t.tag){case 0:case 11:case 14:case 15:ge(4,t,t.return),ke(t);break;case 1:Gt(t,t.return);var e=t.stateNode;typeof e.componentWillUnmount=="function"&&td(t,t.return,e),ke(t);break;case 27:pu(t.stateNode);case 26:case 5:Gt(t,t.return),ke(t);break;case 22:t.memoizedState===null&&ke(t);break;case 30:ke(t);break;default:ke(t)}l=l.sibling}}function te(l,t,e){for(e=e&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,u=l,n=t,i=n.flags;switch(n.tag){case 0:case 11:case 15:te(u,n,e),su(4,n);break;case 1:if(te(u,n,e),a=n,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(g){fl(a,a.return,g)}if(a=n,u=a.updateQueue,u!==null){var c=a.stateNode;try{var f=u.shared.hiddenCallbacks;if(f!==null)for(u.shared.hiddenCallbacks=null,u=0;u<f.length;u++)Zo(f[u],c)}catch(g){fl(a,a.return,g)}}e&&i&64&&ld(n),du(n,n.return);break;case 27:ud(n);case 26:case 5:te(u,n,e),e&&a===null&&i&4&&ed(n),du(n,n.return);break;case 12:te(u,n,e);break;case 31:te(u,n,e),e&&i&4&&od(u,n);break;case 13:te(u,n,e),e&&i&4&&sd(u,n);break;case 22:n.memoizedState===null&&te(u,n,e),du(n,n.return);break;case 30:break;default:te(u,n,e)}t=t.sibling}}function Cc(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&&Fa(e))}function Hc(l,t){l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(t.refCount++,l!=null&&Fa(l))}function Bt(l,t,e,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)md(l,t,e,a),t=t.sibling}function md(l,t,e,a){var u=t.flags;switch(t.tag){case 0:case 11:case 15:Bt(l,t,e,a),u&2048&&su(9,t);break;case 1:Bt(l,t,e,a);break;case 3:Bt(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&&Fa(l)));break;case 12:if(u&2048){Bt(l,t,e,a),l=t.stateNode;try{var n=t.memoizedProps,i=n.id,c=n.onPostCommit;typeof c=="function"&&c(i,t.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(f){fl(t,t.return,f)}}else Bt(l,t,e,a);break;case 31:Bt(l,t,e,a);break;case 13:Bt(l,t,e,a);break;case 23:break;case 22:n=t.stateNode,i=t.alternate,t.memoizedState!==null?n._visibility&2?Bt(l,t,e,a):ru(l,t):n._visibility&2?Bt(l,t,e,a):(n._visibility|=2,za(l,t,e,a,(t.subtreeFlags&10256)!==0||!1)),u&2048&&Cc(i,t);break;case 24:Bt(l,t,e,a),u&2048&&Hc(t.alternate,t);break;default:Bt(l,t,e,a)}}function za(l,t,e,a,u){for(u=u&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var n=l,i=t,c=e,f=a,g=i.flags;switch(i.tag){case 0:case 11:case 15:za(n,i,c,f,u),su(8,i);break;case 23:break;case 22:var T=i.stateNode;i.memoizedState!==null?T._visibility&2?za(n,i,c,f,u):ru(n,i):(T._visibility|=2,za(n,i,c,f,u)),u&&g&2048&&Cc(i.alternate,i);break;case 24:za(n,i,c,f,u),u&&g&2048&&Hc(i.alternate,i);break;default:za(n,i,c,f,u)}t=t.sibling}}function ru(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:ru(e,a),u&2048&&Cc(a.alternate,a);break;case 24:ru(e,a),u&2048&&Hc(a.alternate,a);break;default:ru(e,a)}t=t.sibling}}var mu=8192;function xa(l,t,e){if(l.subtreeFlags&mu)for(l=l.child;l!==null;)yd(l,t,e),l=l.sibling}function yd(l,t,e){switch(l.tag){case 26:xa(l,t,e),l.flags&mu&&l.memoizedState!==null&&t0(e,Ht,l.memoizedState,l.memoizedProps);break;case 5:xa(l,t,e);break;case 3:case 4:var a=Ht;Ht=qn(l.stateNode.containerInfo),xa(l,t,e),Ht=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=mu,mu=16777216,xa(l,t,e),mu=a):xa(l,t,e));break;default:xa(l,t,e)}}function hd(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 yu(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];Zl=a,gd(a,l)}hd(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)vd(l),l=l.sibling}function vd(l){switch(l.tag){case 0:case 11:case 15:yu(l),l.flags&2048&&ge(9,l,l.return);break;case 3:yu(l);break;case 12:yu(l);break;case 22:var t=l.stateNode;l.memoizedState!==null&&t._visibility&2&&(l.return===null||l.return.tag!==13)?(t._visibility&=-3,_n(l)):yu(l);break;default:yu(l)}}function _n(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];Zl=a,gd(a,l)}hd(l)}for(l=l.child;l!==null;){switch(t=l,t.tag){case 0:case 11:case 15:ge(8,t,t.return),_n(t);break;case 22:e=t.stateNode,e._visibility&2&&(e._visibility&=-3,_n(t));break;default:_n(t)}l=l.sibling}}function gd(l,t){for(;Zl!==null;){var e=Zl;switch(e.tag){case 0:case 11:case 15:ge(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:Fa(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,Zl=a;else l:for(e=l;Zl!==null;){a=Zl;var u=a.sibling,n=a.return;if(cd(a),a===e){Zl=null;break l}if(u!==null){u.return=n,Zl=u;break l}Zl=n}}}var vy={getCacheForType:function(l){var t=Jl(Cl),e=t.data.get(l);return e===void 0&&(e=l(),t.data.set(l,e)),e},cacheSignal:function(){return Jl(Cl).controller.signal}},gy=typeof WeakMap=="function"?WeakMap:Map,nl=0,vl=null,F=null,P=0,cl=0,St=null,Se=!1,_a=!1,Bc=!1,ee=0,Al=0,be=0,We=0,qc=0,bt=0,Ea=0,hu=null,ot=null,Yc=!1,En=0,Sd=0,An=1/0,On=null,pe=null,Ll=0,Te=null,Aa=null,ae=0,Gc=0,Lc=null,bd=null,vu=0,Xc=null;function pt(){return(nl&2)!==0&&P!==0?P&-P:z.T!==null?wc():Cf()}function pd(){if(bt===0)if((P&536870912)===0||tl){var l=Cu;Cu<<=1,(Cu&3932160)===0&&(Cu=262144),bt=l}else bt=536870912;return l=vt.current,l!==null&&(l.flags|=32),bt}function st(l,t,e){(l===vl&&(cl===2||cl===9)||l.cancelPendingCommit!==null)&&(Oa(l,0),ze(l,P,bt,!1)),qa(l,e),((nl&2)===0||l!==vl)&&(l===vl&&((nl&2)===0&&(We|=e),Al===4&&ze(l,P,bt,!1)),Lt(l))}function Td(l,t,e){if((nl&6)!==0)throw Error(d(327));var a=!e&&(t&127)===0&&(t&l.expiredLanes)===0||Ba(l,t),u=a?py(l,t):Zc(l,t,!0),n=a;do{if(u===0){_a&&!a&&ze(l,t,0,!1);break}else{if(e=l.current.alternate,n&&!Sy(e)){u=Zc(l,t,!1),n=!1;continue}if(u===2){if(n=t,l.errorRecoveryDisabledLanes&n)var i=0;else i=l.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){t=i;l:{var c=l;u=hu;var f=c.current.memoizedState.isDehydrated;if(f&&(Oa(c,i).flags|=256),i=Zc(c,i,!1),i!==2){if(Bc&&!f){c.errorRecoveryDisabledLanes|=n,We|=n,u=4;break l}n=ot,ot=u,n!==null&&(ot===null?ot=n:ot.push.apply(ot,n))}u=i}if(n=!1,u!==2)continue}}if(u===1){Oa(l,0),ze(l,t,0,!0);break}l:{switch(a=l,n=u,n){case 0:case 1:throw Error(d(345));case 4:if((t&4194048)!==t)break;case 6:ze(a,t,bt,!Se);break l;case 2:ot=null;break;case 3:case 5:break;default:throw Error(d(329))}if((t&62914560)===t&&(u=En+300-dt(),10<u)){if(ze(a,t,bt,!Se),Bu(a,0,!0)!==0)break l;ae=t,a.timeoutHandle=Id(zd.bind(null,a,e,ot,On,Yc,t,bt,We,Ea,Se,n,"Throttled",-0,0),u);break l}zd(a,e,ot,On,Yc,t,bt,We,Ea,Se,n,null,-0,0)}}break}while(!0);Lt(l)}function zd(l,t,e,a,u,n,i,c,f,g,T,A,S,b){if(l.timeoutHandle=-1,A=t.subtreeFlags,A&8192||(A&16785408)===16785408){A={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Qt},yd(t,n,A);var H=(n&62914560)===n?En-dt():(n&4194048)===n?Sd-dt():0;if(H=e0(A,H),H!==null){ae=n,l.cancelPendingCommit=H(Dd.bind(null,l,t,n,e,a,u,i,c,f,T,A,null,S,b)),ze(l,n,i,!g);return}}Dd(l,t,n,e,a,u,i,c,f)}function Sy(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(!yt(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 ze(l,t,e,a){t&=~qc,t&=~We,l.suspendedLanes|=t,l.pingedLanes&=~t,a&&(l.warmLanes|=t),a=l.expirationTimes;for(var u=t;0<u;){var n=31-mt(u),i=1<<n;a[n]=-1,u&=~i}e!==0&&Uf(l,e,t)}function Mn(){return(nl&6)===0?(gu(0),!1):!0}function Qc(){if(F!==null){if(cl===0)var l=F.return;else l=F,Jt=Le=null,uc(l),ga=null,Pa=0,l=F;for(;l!==null;)Ps(l.alternate,l),l=l.return;F=null}}function Oa(l,t){var e=l.timeoutHandle;e!==-1&&(l.timeoutHandle=-1,Yy(e)),e=l.cancelPendingCommit,e!==null&&(l.cancelPendingCommit=null,e()),ae=0,Qc(),vl=l,F=e=Vt(l.current,null),P=t,cl=0,St=null,Se=!1,_a=Ba(l,t),Bc=!1,Ea=bt=qc=We=be=Al=0,ot=hu=null,Yc=!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-mt(a),n=1<<u;t|=l[u],a&=~n}return ee=t,ku(),e}function xd(l,t){J=null,z.H=cu,t===va||t===en?(t=Go(),cl=3):t===Ji?(t=Go(),cl=4):cl=t===pc?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,St=t,F===null&&(Al=1,gn(l,At(t,l.current)))}function _d(){var l=vt.current;return l===null?!0:(P&4194048)===P?Dt===null:(P&62914560)===P||(P&536870912)!==0?l===Dt:!1}function Ed(){var l=z.H;return z.H=cu,l===null?cu:l}function Ad(){var l=z.A;return z.A=vy,l}function jn(){Al=4,Se||(P&4194048)!==P&&vt.current!==null||(_a=!0),(be&134217727)===0&&(We&134217727)===0||vl===null||ze(vl,P,bt,!1)}function Zc(l,t,e){var a=nl;nl|=2;var u=Ed(),n=Ad();(vl!==l||P!==t)&&(On=null,Oa(l,t)),t=!1;var i=Al;l:do try{if(cl!==0&&F!==null){var c=F,f=St;switch(cl){case 8:Qc(),i=6;break l;case 3:case 2:case 9:case 6:vt.current===null&&(t=!0);var g=cl;if(cl=0,St=null,Ma(l,c,f,g),e&&_a){i=0;break l}break;default:g=cl,cl=0,St=null,Ma(l,c,f,g)}}by(),i=Al;break}catch(T){xd(l,T)}while(!0);return t&&l.shellSuspendCounter++,Jt=Le=null,nl=a,z.H=u,z.A=n,F===null&&(vl=null,P=0,ku()),i}function by(){for(;F!==null;)Od(F)}function py(l,t){var e=nl;nl|=2;var a=Ed(),u=Ad();vl!==l||P!==t?(On=null,An=dt()+500,Oa(l,t)):_a=Ba(l,t);l:do try{if(cl!==0&&F!==null){t=F;var n=St;t:switch(cl){case 1:cl=0,St=null,Ma(l,t,n,1);break;case 2:case 9:if(qo(n)){cl=0,St=null,Md(t);break}t=function(){cl!==2&&cl!==9||vl!==l||(cl=7),Lt(l)},n.then(t,t);break l;case 3:cl=7;break l;case 4:cl=5;break l;case 7:qo(n)?(cl=0,St=null,Md(t)):(cl=0,St=null,Ma(l,t,n,7));break;case 5:var i=null;switch(F.tag){case 26:i=F.memoizedState;case 5:case 27:var c=F;if(i?mr(i):c.stateNode.complete){cl=0,St=null;var f=c.sibling;if(f!==null)F=f;else{var g=c.return;g!==null?(F=g,Dn(g)):F=null}break t}}cl=0,St=null,Ma(l,t,n,5);break;case 6:cl=0,St=null,Ma(l,t,n,6);break;case 8:Qc(),Al=6;break l;default:throw Error(d(462))}}Ty();break}catch(T){xd(l,T)}while(!0);return Jt=Le=null,z.H=a,z.A=u,nl=e,F!==null?0:(vl=null,P=0,ku(),Al)}function Ty(){for(;F!==null&&!Vr();)Od(F)}function Od(l){var t=Fs(l.alternate,l,ee);l.memoizedProps=l.pendingProps,t===null?Dn(l):F=t}function Md(l){var t=l,e=t.alternate;switch(t.tag){case 15:case 0:t=Ks(e,t,t.pendingProps,t.type,void 0,P);break;case 11:t=Ks(e,t,t.pendingProps,t.type.render,t.ref,P);break;case 5:uc(t);default:Ps(e,t),t=F=Ao(t,ee),t=Fs(e,t,ee)}l.memoizedProps=l.pendingProps,t===null?Dn(l):F=t}function Ma(l,t,e,a){Jt=Le=null,uc(t),ga=null,Pa=0;var u=t.return;try{if(oy(l,u,t,e,P)){Al=1,gn(l,At(e,l.current)),F=null;return}}catch(n){if(u!==null)throw F=u,n;Al=1,gn(l,At(e,l.current)),F=null;return}t.flags&32768?(tl||a===1?l=!0:_a||(P&536870912)!==0?l=!1:(Se=l=!0,(a===2||a===9||a===3||a===6)&&(a=vt.current,a!==null&&a.tag===13&&(a.flags|=16384))),jd(t,l)):Dn(t)}function Dn(l){var t=l;do{if((t.flags&32768)!==0){jd(t,Se);return}l=t.return;var e=ry(t.alternate,t,ee);if(e!==null){F=e;return}if(t=t.sibling,t!==null){F=t;return}F=t=l}while(t!==null);Al===0&&(Al=5)}function jd(l,t){do{var e=my(l.alternate,l);if(e!==null){e.flags&=32767,F=e;return}if(e=l.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!t&&(l=l.sibling,l!==null)){F=l;return}F=l=e}while(l!==null);Al=6,F=null}function Dd(l,t,e,a,u,n,i,c,f){l.cancelPendingCommit=null;do Un();while(Ll!==0);if((nl&6)!==0)throw Error(d(327));if(t!==null){if(t===l.current)throw Error(d(177));if(n=t.lanes|t.childLanes,n|=Ui,lm(l,e,n,i,c,f),l===vl&&(F=vl=null,P=0),Aa=t,Te=l,ae=e,Gc=n,Lc=u,bd=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,Ey(Nu,function(){return Hd(),null})):(l.callbackNode=null,l.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=z.T,z.T=null,u=R.p,R.p=2,i=nl,nl|=4;try{yy(l,t,e)}finally{nl=i,R.p=u,z.T=a}}Ll=1,Ud(),Nd(),Rd()}}function Ud(){if(Ll===1){Ll=0;var l=Te,t=Aa,e=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||e){e=z.T,z.T=null;var a=R.p;R.p=2;var u=nl;nl|=4;try{dd(t,l);var n=tf,i=go(l.containerInfo),c=n.focusedElem,f=n.selectionRange;if(i!==c&&c&&c.ownerDocument&&vo(c.ownerDocument.documentElement,c)){if(f!==null&&Ai(c)){var g=f.start,T=f.end;if(T===void 0&&(T=g),"selectionStart"in c)c.selectionStart=g,c.selectionEnd=Math.min(T,c.value.length);else{var A=c.ownerDocument||document,S=A&&A.defaultView||window;if(S.getSelection){var b=S.getSelection(),H=c.textContent.length,G=Math.min(f.start,H),yl=f.end===void 0?G:Math.min(f.end,H);!b.extend&&G>yl&&(i=yl,yl=G,G=i);var m=ho(c,G),s=ho(c,yl);if(m&&s&&(b.rangeCount!==1||b.anchorNode!==m.node||b.anchorOffset!==m.offset||b.focusNode!==s.node||b.focusOffset!==s.offset)){var v=A.createRange();v.setStart(m.node,m.offset),b.removeAllRanges(),G>yl?(b.addRange(v),b.extend(s.node,s.offset)):(v.setEnd(s.node,s.offset),b.addRange(v))}}}}for(A=[],b=c;b=b.parentNode;)b.nodeType===1&&A.push({element:b,left:b.scrollLeft,top:b.scrollTop});for(typeof c.focus=="function"&&c.focus(),c=0;c<A.length;c++){var _=A[c];_.element.scrollLeft=_.left,_.element.scrollTop=_.top}}Zn=!!lf,tf=lf=null}finally{nl=u,R.p=a,z.T=e}}l.current=t,Ll=2}}function Nd(){if(Ll===2){Ll=0;var l=Te,t=Aa,e=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||e){e=z.T,z.T=null;var a=R.p;R.p=2;var u=nl;nl|=4;try{id(l,t.alternate,t)}finally{nl=u,R.p=a,z.T=e}}Ll=3}}function Rd(){if(Ll===4||Ll===3){Ll=0,Kr();var l=Te,t=Aa,e=ae,a=bd;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Ll=5:(Ll=0,Aa=Te=null,Cd(l,l.pendingLanes));var u=l.pendingLanes;if(u===0&&(pe=null),ci(e),t=t.stateNode,rt&&typeof rt.onCommitFiberRoot=="function")try{rt.onCommitFiberRoot(Ha,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=z.T,u=R.p,R.p=2,z.T=null;try{for(var n=l.onRecoverableError,i=0;i<a.length;i++){var c=a[i];n(c.value,{componentStack:c.stack})}}finally{z.T=t,R.p=u}}(ae&3)!==0&&Un(),Lt(l),u=l.pendingLanes,(e&261930)!==0&&(u&42)!==0?l===Xc?vu++:(vu=0,Xc=l):vu=0,gu(0)}}function Cd(l,t){(l.pooledCacheLanes&=t)===0&&(t=l.pooledCache,t!=null&&(l.pooledCache=null,Fa(t)))}function Un(){return Ud(),Nd(),Rd(),Hd()}function Hd(){if(Ll!==5)return!1;var l=Te,t=Gc;Gc=0;var e=ci(ae),a=z.T,u=R.p;try{R.p=32>e?32:e,z.T=null,e=Lc,Lc=null;var n=Te,i=ae;if(Ll=0,Aa=Te=null,ae=0,(nl&6)!==0)throw Error(d(331));var c=nl;if(nl|=4,vd(n.current),md(n,n.current,i,e),nl=c,gu(0,!1),rt&&typeof rt.onPostCommitFiberRoot=="function")try{rt.onPostCommitFiberRoot(Ha,n)}catch{}return!0}finally{R.p=u,z.T=a,Cd(l,t)}}function Bd(l,t,e){t=At(e,t),t=bc(l.stateNode,t,2),l=ye(l,t,2),l!==null&&(qa(l,2),Lt(l))}function fl(l,t,e){if(l.tag===3)Bd(l,l,e);else for(;t!==null;){if(t.tag===3){Bd(t,l,e);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(pe===null||!pe.has(a))){l=At(e,l),e=qs(2),a=ye(t,e,2),a!==null&&(Ys(e,a,t,l),qa(a,2),Lt(a));break}}t=t.return}}function Vc(l,t,e){var a=l.pingCache;if(a===null){a=l.pingCache=new gy;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)||(Bc=!0,u.add(e),l=zy.bind(null,l,t,e),t.then(l,l))}function zy(l,t,e){var a=l.pingCache;a!==null&&a.delete(t),l.pingedLanes|=l.suspendedLanes&e,l.warmLanes&=~e,vl===l&&(P&e)===e&&(Al===4||Al===3&&(P&62914560)===P&&300>dt()-En?(nl&2)===0&&Oa(l,0):qc|=e,Ea===P&&(Ea=0)),Lt(l)}function qd(l,t){t===0&&(t=Df()),l=qe(l,t),l!==null&&(qa(l,t),Lt(l))}function xy(l){var t=l.memoizedState,e=0;t!==null&&(e=t.retryLane),qd(l,e)}function _y(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(d(314))}a!==null&&a.delete(t),qd(l,e)}function Ey(l,t){return ai(l,t)}var Nn=null,ja=null,Kc=!1,Rn=!1,Jc=!1,xe=0;function Lt(l){l!==ja&&l.next===null&&(ja===null?Nn=ja=l:ja=ja.next=l),Rn=!0,Kc||(Kc=!0,Oy())}function gu(l,t){if(!Jc&&Rn){Jc=!0;do for(var e=!1,a=Nn;a!==null;){if(l!==0){var u=a.pendingLanes;if(u===0)var n=0;else{var i=a.suspendedLanes,c=a.pingedLanes;n=(1<<31-mt(42|l)+1)-1,n&=u&~(i&~c),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(e=!0,Xd(a,n))}else n=P,n=Bu(a,a===vl?n:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(n&3)===0||Ba(a,n)||(e=!0,Xd(a,n));a=a.next}while(e);Jc=!1}}function Ay(){Yd()}function Yd(){Rn=Kc=!1;var l=0;xe!==0&&qy()&&(l=xe);for(var t=dt(),e=null,a=Nn;a!==null;){var u=a.next,n=Gd(a,t);n===0?(a.next=null,e===null?Nn=u:e.next=u,u===null&&(ja=e)):(e=a,(l!==0||(n&3)!==0)&&(Rn=!0)),a=u}Ll!==0&&Ll!==5||gu(l),xe!==0&&(xe=0)}function Gd(l,t){for(var e=l.suspendedLanes,a=l.pingedLanes,u=l.expirationTimes,n=l.pendingLanes&-62914561;0<n;){var i=31-mt(n),c=1<<i,f=u[i];f===-1?((c&e)===0||(c&a)!==0)&&(u[i]=Pr(c,t)):f<=t&&(l.expiredLanes|=c),n&=~c}if(t=vl,e=P,e=Bu(l,l===t?e:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a=l.callbackNode,e===0||l===t&&(cl===2||cl===9)||l.cancelPendingCommit!==null)return a!==null&&a!==null&&ui(a),l.callbackNode=null,l.callbackPriority=0;if((e&3)===0||Ba(l,e)){if(t=e&-e,t===l.callbackPriority)return t;switch(a!==null&&ui(a),ci(e)){case 2:case 8:e=Mf;break;case 32:e=Nu;break;case 268435456:e=jf;break;default:e=Nu}return a=Ld.bind(null,l),e=ai(e,a),l.callbackPriority=t,l.callbackNode=e,t}return a!==null&&a!==null&&ui(a),l.callbackPriority=2,l.callbackNode=null,2}function Ld(l,t){if(Ll!==0&&Ll!==5)return l.callbackNode=null,l.callbackPriority=0,null;var e=l.callbackNode;if(Un()&&l.callbackNode!==e)return null;var a=P;return a=Bu(l,l===vl?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(Td(l,a,t),Gd(l,dt()),l.callbackNode!=null&&l.callbackNode===e?Ld.bind(null,l):null)}function Xd(l,t){if(Un())return null;Td(l,t,!0)}function Oy(){Gy(function(){(nl&6)!==0?ai(Of,Ay):Yd()})}function wc(){if(xe===0){var l=ya;l===0&&(l=Ru,Ru<<=1,(Ru&261888)===0&&(Ru=256)),xe=l}return xe}function Qd(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Lu(""+l)}function Zd(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 My(l,t,e,a,u){if(t==="submit"&&e&&e.stateNode===u){var n=Qd((u[ut]||null).action),i=a.submitter;i&&(t=(t=i[ut]||null)?Qd(t.formAction):i.getAttribute("formAction"),t!==null&&(n=t,i=null));var c=new Vu("action","action",null,a,u);l.push({event:c,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(xe!==0){var f=i?Zd(u,i):new FormData(u);mc(e,{pending:!0,data:f,method:u.method,action:n},null,f)}}else typeof n=="function"&&(c.preventDefault(),f=i?Zd(u,i):new FormData(u),mc(e,{pending:!0,data:f,method:u.method,action:n},n,f))},currentTarget:u}]})}}for(var kc=0;kc<Di.length;kc++){var Wc=Di[kc],jy=Wc.toLowerCase(),Dy=Wc[0].toUpperCase()+Wc.slice(1);Ct(jy,"on"+Dy)}Ct(po,"onAnimationEnd"),Ct(To,"onAnimationIteration"),Ct(zo,"onAnimationStart"),Ct("dblclick","onDoubleClick"),Ct("focusin","onFocus"),Ct("focusout","onBlur"),Ct(Jm,"onTransitionRun"),Ct(wm,"onTransitionStart"),Ct(km,"onTransitionCancel"),Ct(xo,"onTransitionEnd"),la("onMouseEnter",["mouseout","mouseover"]),la("onMouseLeave",["mouseout","mouseover"]),la("onPointerEnter",["pointerout","pointerover"]),la("onPointerLeave",["pointerout","pointerover"]),Re("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Re("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Re("onBeforeInput",["compositionend","keypress","textInput","paste"]),Re("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Re("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Re("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Su="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(" "),Uy=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Su));function Vd(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 i=a.length-1;0<=i;i--){var c=a[i],f=c.instance,g=c.currentTarget;if(c=c.listener,f!==n&&u.isPropagationStopped())break l;n=c,u.currentTarget=g;try{n(u)}catch(T){wu(T)}u.currentTarget=null,n=f}else for(i=0;i<a.length;i++){if(c=a[i],f=c.instance,g=c.currentTarget,c=c.listener,f!==n&&u.isPropagationStopped())break l;n=c,u.currentTarget=g;try{n(u)}catch(T){wu(T)}u.currentTarget=null,n=f}}}}function I(l,t){var e=t[fi];e===void 0&&(e=t[fi]=new Set);var a=l+"__bubble";e.has(a)||(Kd(t,l,2,!1),e.add(a))}function $c(l,t,e){var a=0;t&&(a|=4),Kd(e,l,a,t)}var Cn="_reactListening"+Math.random().toString(36).slice(2);function Fc(l){if(!l[Cn]){l[Cn]=!0,qf.forEach(function(e){e!=="selectionchange"&&(Uy.has(e)||$c(e,!1,l),$c(e,!0,l))});var t=l.nodeType===9?l:l.ownerDocument;t===null||t[Cn]||(t[Cn]=!0,$c("selectionchange",!1,t))}}function Kd(l,t,e,a){switch(pr(t)){case 2:var u=n0;break;case 8:u=i0;break;default:u=mf}e=u.bind(null,t,e,l),u=void 0,!gi||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 Ic(l,t,e,a,u){var n=a;if((t&1)===0&&(t&2)===0&&a!==null)l:for(;;){if(a===null)return;var i=a.tag;if(i===3||i===4){var c=a.stateNode.containerInfo;if(c===u)break;if(i===4)for(i=a.return;i!==null;){var f=i.tag;if((f===3||f===4)&&i.stateNode.containerInfo===u)return;i=i.return}for(;c!==null;){if(i=Fe(c),i===null)return;if(f=i.tag,f===5||f===6||f===26||f===27){a=n=i;continue l}c=c.parentNode}}a=a.return}Wf(function(){var g=n,T=hi(e),A=[];l:{var S=_o.get(l);if(S!==void 0){var b=Vu,H=l;switch(l){case"keypress":if(Qu(e)===0)break l;case"keydown":case"keyup":b=_m;break;case"focusin":H="focus",b=Ti;break;case"focusout":H="blur",b=Ti;break;case"beforeblur":case"afterblur":b=Ti;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":b=If;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=rm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=Om;break;case po:case To:case zo:b=hm;break;case xo:b=jm;break;case"scroll":case"scrollend":b=sm;break;case"wheel":b=Um;break;case"copy":case"cut":case"paste":b=gm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=lo;break;case"toggle":case"beforetoggle":b=Rm}var G=(t&4)!==0,yl=!G&&(l==="scroll"||l==="scrollend"),m=G?S!==null?S+"Capture":null:S;G=[];for(var s=g,v;s!==null;){var _=s;if(v=_.stateNode,_=_.tag,_!==5&&_!==26&&_!==27||v===null||m===null||(_=La(s,m),_!=null&&G.push(bu(s,_,v))),yl)break;s=s.return}0<G.length&&(S=new b(S,H,null,e,T),A.push({event:S,listeners:G}))}}if((t&7)===0){l:{if(S=l==="mouseover"||l==="pointerover",b=l==="mouseout"||l==="pointerout",S&&e!==yi&&(H=e.relatedTarget||e.fromElement)&&(Fe(H)||H[$e]))break l;if((b||S)&&(S=T.window===T?T:(S=T.ownerDocument)?S.defaultView||S.parentWindow:window,b?(H=e.relatedTarget||e.toElement,b=g,H=H?Fe(H):null,H!==null&&(yl=M(H),G=H.tag,H!==yl||G!==5&&G!==27&&G!==6)&&(H=null)):(b=null,H=g),b!==H)){if(G=If,_="onMouseLeave",m="onMouseEnter",s="mouse",(l==="pointerout"||l==="pointerover")&&(G=lo,_="onPointerLeave",m="onPointerEnter",s="pointer"),yl=b==null?S:Ga(b),v=H==null?S:Ga(H),S=new G(_,s+"leave",b,e,T),S.target=yl,S.relatedTarget=v,_=null,Fe(T)===g&&(G=new G(m,s+"enter",H,e,T),G.target=v,G.relatedTarget=yl,_=G),yl=_,b&&H)t:{for(G=Ny,m=b,s=H,v=0,_=m;_;_=G(_))v++;_=0;for(var Y=s;Y;Y=G(Y))_++;for(;0<v-_;)m=G(m),v--;for(;0<_-v;)s=G(s),_--;for(;v--;){if(m===s||s!==null&&m===s.alternate){G=m;break t}m=G(m),s=G(s)}G=null}else G=null;b!==null&&Jd(A,S,b,G,!1),H!==null&&yl!==null&&Jd(A,yl,H,G,!0)}}l:{if(S=g?Ga(g):window,b=S.nodeName&&S.nodeName.toLowerCase(),b==="select"||b==="input"&&S.type==="file")var al=fo;else if(io(S))if(oo)al=Zm;else{al=Xm;var q=Lm}else b=S.nodeName,!b||b.toLowerCase()!=="input"||S.type!=="checkbox"&&S.type!=="radio"?g&&mi(g.elementType)&&(al=fo):al=Qm;if(al&&(al=al(l,g))){co(A,al,e,T);break l}q&&q(l,S,g),l==="focusout"&&g&&S.type==="number"&&g.memoizedProps.value!=null&&ri(S,"number",S.value)}switch(q=g?Ga(g):window,l){case"focusin":(io(q)||q.contentEditable==="true")&&(ia=q,Oi=g,ka=null);break;case"focusout":ka=Oi=ia=null;break;case"mousedown":Mi=!0;break;case"contextmenu":case"mouseup":case"dragend":Mi=!1,So(A,e,T);break;case"selectionchange":if(Km)break;case"keydown":case"keyup":So(A,e,T)}var k;if(xi)l:{switch(l){case"compositionstart":var ll="onCompositionStart";break l;case"compositionend":ll="onCompositionEnd";break l;case"compositionupdate":ll="onCompositionUpdate";break l}ll=void 0}else na?uo(l,e)&&(ll="onCompositionEnd"):l==="keydown"&&e.keyCode===229&&(ll="onCompositionStart");ll&&(to&&e.locale!=="ko"&&(na||ll!=="onCompositionStart"?ll==="onCompositionEnd"&&na&&(k=$f()):(ce=T,Si="value"in ce?ce.value:ce.textContent,na=!0)),q=Hn(g,ll),0<q.length&&(ll=new Pf(ll,l,null,e,T),A.push({event:ll,listeners:q}),k?ll.data=k:(k=no(e),k!==null&&(ll.data=k)))),(k=Hm?Bm(l,e):qm(l,e))&&(ll=Hn(g,"onBeforeInput"),0<ll.length&&(q=new Pf("onBeforeInput","beforeinput",null,e,T),A.push({event:q,listeners:ll}),q.data=k)),My(A,l,g,e,T)}Vd(A,t)})}function bu(l,t,e){return{instance:l,listener:t,currentTarget:e}}function Hn(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=La(l,e),u!=null&&a.unshift(bu(l,u,n)),u=La(l,t),u!=null&&a.push(bu(l,u,n))),l.tag===3)return a;l=l.return}return[]}function Ny(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function Jd(l,t,e,a,u){for(var n=t._reactName,i=[];e!==null&&e!==a;){var c=e,f=c.alternate,g=c.stateNode;if(c=c.tag,f!==null&&f===a)break;c!==5&&c!==26&&c!==27||g===null||(f=g,u?(g=La(e,n),g!=null&&i.unshift(bu(e,g,f))):u||(g=La(e,n),g!=null&&i.push(bu(e,g,f)))),e=e.return}i.length!==0&&l.push({event:t,listeners:i})}var Ry=/\r\n?/g,Cy=/\u0000|\uFFFD/g;function wd(l){return(typeof l=="string"?l:""+l).replace(Ry,`
`).replace(Cy,"")}function kd(l,t){return t=wd(t),wd(l)===t}function ml(l,t,e,a,u,n){switch(e){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||ea(l,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&ea(l,""+a);break;case"className":Yu(l,"class",a);break;case"tabIndex":Yu(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Yu(l,e,a);break;case"style":wf(l,a,n);break;case"data":if(t!=="object"){Yu(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=Lu(""+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=Lu(""+a),l.setAttribute(e,a);break;case"onClick":a!=null&&(l.onclick=Qt);break;case"onScroll":a!=null&&I("scroll",l);break;case"onScrollEnd":a!=null&&I("scrollend",l);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(d(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(d(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=Lu(""+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":I("beforetoggle",l),I("toggle",l),qu(l,"popover",a);break;case"xlinkActuate":Xt(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Xt(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Xt(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Xt(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Xt(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Xt(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Xt(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Xt(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Xt(l,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":qu(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=fm.get(e)||e,qu(l,e,a))}}function Pc(l,t,e,a,u,n){switch(e){case"style":wf(l,a,n);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(d(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(d(60));l.innerHTML=e}}break;case"children":typeof a=="string"?ea(l,a):(typeof a=="number"||typeof a=="bigint")&&ea(l,""+a);break;case"onScroll":a!=null&&I("scroll",l);break;case"onScrollEnd":a!=null&&I("scrollend",l);break;case"onClick":a!=null&&(l.onclick=Qt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Yf.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[ut]||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,""):qu(l,e,a)}}}function kl(l,t,e){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":I("error",l),I("load",l);var a=!1,u=!1,n;for(n in e)if(e.hasOwnProperty(n)){var i=e[n];if(i!=null)switch(n){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(d(137,t));default:ml(l,t,n,i,e,null)}}u&&ml(l,t,"srcSet",e.srcSet,e,null),a&&ml(l,t,"src",e.src,e,null);return;case"input":I("invalid",l);var c=n=i=u=null,f=null,g=null;for(a in e)if(e.hasOwnProperty(a)){var T=e[a];if(T!=null)switch(a){case"name":u=T;break;case"type":i=T;break;case"checked":f=T;break;case"defaultChecked":g=T;break;case"value":n=T;break;case"defaultValue":c=T;break;case"children":case"dangerouslySetInnerHTML":if(T!=null)throw Error(d(137,t));break;default:ml(l,t,a,T,e,null)}}Zf(l,n,c,f,g,i,u,!1);return;case"select":I("invalid",l),a=i=n=null;for(u in e)if(e.hasOwnProperty(u)&&(c=e[u],c!=null))switch(u){case"value":n=c;break;case"defaultValue":i=c;break;case"multiple":a=c;default:ml(l,t,u,c,e,null)}t=n,e=i,l.multiple=!!a,t!=null?ta(l,!!a,t,!1):e!=null&&ta(l,!!a,e,!0);return;case"textarea":I("invalid",l),n=u=a=null;for(i in e)if(e.hasOwnProperty(i)&&(c=e[i],c!=null))switch(i){case"value":a=c;break;case"defaultValue":u=c;break;case"children":n=c;break;case"dangerouslySetInnerHTML":if(c!=null)throw Error(d(91));break;default:ml(l,t,i,c,e,null)}Kf(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":I("beforetoggle",l),I("toggle",l),I("cancel",l),I("close",l);break;case"iframe":case"object":I("load",l);break;case"video":case"audio":for(a=0;a<Su.length;a++)I(Su[a],l);break;case"image":I("error",l),I("load",l);break;case"details":I("toggle",l);break;case"embed":case"source":case"link":I("error",l),I("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(g in e)if(e.hasOwnProperty(g)&&(a=e[g],a!=null))switch(g){case"children":case"dangerouslySetInnerHTML":throw Error(d(137,t));default:ml(l,t,g,a,e,null)}return;default:if(mi(t)){for(T in e)e.hasOwnProperty(T)&&(a=e[T],a!==void 0&&Pc(l,t,T,a,e,void 0));return}}for(c in e)e.hasOwnProperty(c)&&(a=e[c],a!=null&&ml(l,t,c,a,e,null))}function Hy(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,i=null,c=null,f=null,g=null,T=null;for(b in e){var A=e[b];if(e.hasOwnProperty(b)&&A!=null)switch(b){case"checked":break;case"value":break;case"defaultValue":f=A;default:a.hasOwnProperty(b)||ml(l,t,b,null,a,A)}}for(var S in a){var b=a[S];if(A=e[S],a.hasOwnProperty(S)&&(b!=null||A!=null))switch(S){case"type":n=b;break;case"name":u=b;break;case"checked":g=b;break;case"defaultChecked":T=b;break;case"value":i=b;break;case"defaultValue":c=b;break;case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(d(137,t));break;default:b!==A&&ml(l,t,S,b,a,A)}}di(l,i,c,f,g,T,n,u);return;case"select":b=i=c=S=null;for(n in e)if(f=e[n],e.hasOwnProperty(n)&&f!=null)switch(n){case"value":break;case"multiple":b=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":S=n;break;case"defaultValue":c=n;break;case"multiple":i=n;default:n!==f&&ml(l,t,u,n,a,f)}t=c,e=i,a=b,S!=null?ta(l,!!e,S,!1):!!a!=!!e&&(t!=null?ta(l,!!e,t,!0):ta(l,!!e,e?[]:"",!1));return;case"textarea":b=S=null;for(c in e)if(u=e[c],e.hasOwnProperty(c)&&u!=null&&!a.hasOwnProperty(c))switch(c){case"value":break;case"children":break;default:ml(l,t,c,null,a,u)}for(i in a)if(u=a[i],n=e[i],a.hasOwnProperty(i)&&(u!=null||n!=null))switch(i){case"value":S=u;break;case"defaultValue":b=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(d(91));break;default:u!==n&&ml(l,t,i,u,a,n)}Vf(l,S,b);return;case"option":for(var H in e)if(S=e[H],e.hasOwnProperty(H)&&S!=null&&!a.hasOwnProperty(H))switch(H){case"selected":l.selected=!1;break;default:ml(l,t,H,null,a,S)}for(f in a)if(S=a[f],b=e[f],a.hasOwnProperty(f)&&S!==b&&(S!=null||b!=null))switch(f){case"selected":l.selected=S&&typeof S!="function"&&typeof S!="symbol";break;default:ml(l,t,f,S,a,b)}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 G in e)S=e[G],e.hasOwnProperty(G)&&S!=null&&!a.hasOwnProperty(G)&&ml(l,t,G,null,a,S);for(g in a)if(S=a[g],b=e[g],a.hasOwnProperty(g)&&S!==b&&(S!=null||b!=null))switch(g){case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(d(137,t));break;default:ml(l,t,g,S,a,b)}return;default:if(mi(t)){for(var yl in e)S=e[yl],e.hasOwnProperty(yl)&&S!==void 0&&!a.hasOwnProperty(yl)&&Pc(l,t,yl,void 0,a,S);for(T in a)S=a[T],b=e[T],!a.hasOwnProperty(T)||S===b||S===void 0&&b===void 0||Pc(l,t,T,S,a,b);return}}for(var m in e)S=e[m],e.hasOwnProperty(m)&&S!=null&&!a.hasOwnProperty(m)&&ml(l,t,m,null,a,S);for(A in a)S=a[A],b=e[A],!a.hasOwnProperty(A)||S===b||S==null&&b==null||ml(l,t,A,S,a,b)}function Wd(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function By(){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,i=u.initiatorType,c=u.duration;if(n&&c&&Wd(i)){for(i=0,c=u.responseEnd,a+=1;a<e.length;a++){var f=e[a],g=f.startTime;if(g>c)break;var T=f.transferSize,A=f.initiatorType;T&&Wd(A)&&(f=f.responseEnd,i+=T*(f<c?1:(c-g)/(f-g)))}if(--a,t+=8*(n+i)/(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 lf=null,tf=null;function Bn(l){return l.nodeType===9?l:l.ownerDocument}function $d(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 Fd(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 ef(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 af=null;function qy(){var l=window.event;return l&&l.type==="popstate"?l===af?!1:(af=l,!0):(af=null,!1)}var Id=typeof setTimeout=="function"?setTimeout:void 0,Yy=typeof clearTimeout=="function"?clearTimeout:void 0,Pd=typeof Promise=="function"?Promise:void 0,Gy=typeof queueMicrotask=="function"?queueMicrotask:typeof Pd<"u"?function(l){return Pd.resolve(null).then(l).catch(Ly)}:Id;function Ly(l){setTimeout(function(){throw l})}function _e(l){return l==="head"}function lr(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),Ra(t);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")pu(l.ownerDocument.documentElement);else if(e==="head"){e=l.ownerDocument.head,pu(e);for(var n=e.firstChild;n;){var i=n.nextSibling,c=n.nodeName;n[Ya]||c==="SCRIPT"||c==="STYLE"||c==="LINK"&&n.rel.toLowerCase()==="stylesheet"||e.removeChild(n),n=i}}else e==="body"&&pu(l.ownerDocument.body);e=u}while(e);Ra(t)}function tr(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 uf(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":uf(e),oi(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}l.removeChild(e)}}function Xy(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[Ya])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=Ut(l.nextSibling),l===null)break}return null}function Qy(l,t,e){if(t==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=Ut(l.nextSibling),l===null))return null;return l}function er(l,t){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=Ut(l.nextSibling),l===null))return null;return l}function nf(l){return l.data==="$?"||l.data==="$~"}function cf(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}function Zy(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 Ut(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 ff=null;function ar(l){l=l.nextSibling;for(var t=0;l;){if(l.nodeType===8){var e=l.data;if(e==="/$"||e==="/&"){if(t===0)return Ut(l.nextSibling);t--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||t++}l=l.nextSibling}return null}function ur(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 nr(l,t,e){switch(t=Bn(e),l){case"html":if(l=t.documentElement,!l)throw Error(d(452));return l;case"head":if(l=t.head,!l)throw Error(d(453));return l;case"body":if(l=t.body,!l)throw Error(d(454));return l;default:throw Error(d(451))}}function pu(l){for(var t=l.attributes;t.length;)l.removeAttributeNode(t[0]);oi(l)}var Nt=new Map,ir=new Set;function qn(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var ue=R.d;R.d={f:Vy,r:Ky,D:Jy,C:wy,L:ky,m:Wy,X:Fy,S:$y,M:Iy};function Vy(){var l=ue.f(),t=Mn();return l||t}function Ky(l){var t=Ie(l);t!==null&&t.tag===5&&t.type==="form"?xs(t):ue.r(l)}var Da=typeof document>"u"?null:document;function cr(l,t,e){var a=Da;if(a&&typeof t=="string"&&t){var u=_t(t);u='link[rel="'+l+'"][href="'+u+'"]',typeof e=="string"&&(u+='[crossorigin="'+e+'"]'),ir.has(u)||(ir.add(u),l={rel:l,crossOrigin:e,href:t},a.querySelector(u)===null&&(t=a.createElement("link"),kl(t,"link",l),Ql(t),a.head.appendChild(t)))}}function Jy(l){ue.D(l),cr("dns-prefetch",l,null)}function wy(l,t){ue.C(l,t),cr("preconnect",l,t)}function ky(l,t,e){ue.L(l,t,e);var a=Da;if(a&&l&&t){var u='link[rel="preload"][as="'+_t(t)+'"]';t==="image"&&e&&e.imageSrcSet?(u+='[imagesrcset="'+_t(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(u+='[imagesizes="'+_t(e.imageSizes)+'"]')):u+='[href="'+_t(l)+'"]';var n=u;switch(t){case"style":n=Ua(l);break;case"script":n=Na(l)}Nt.has(n)||(l=D({rel:"preload",href:t==="image"&&e&&e.imageSrcSet?void 0:l,as:t},e),Nt.set(n,l),a.querySelector(u)!==null||t==="style"&&a.querySelector(Tu(n))||t==="script"&&a.querySelector(zu(n))||(t=a.createElement("link"),kl(t,"link",l),Ql(t),a.head.appendChild(t)))}}function Wy(l,t){ue.m(l,t);var e=Da;if(e&&l){var a=t&&typeof t.as=="string"?t.as:"script",u='link[rel="modulepreload"][as="'+_t(a)+'"][href="'+_t(l)+'"]',n=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=Na(l)}if(!Nt.has(n)&&(l=D({rel:"modulepreload",href:l},t),Nt.set(n,l),e.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(zu(n)))return}a=e.createElement("link"),kl(a,"link",l),Ql(a),e.head.appendChild(a)}}}function $y(l,t,e){ue.S(l,t,e);var a=Da;if(a&&l){var u=Pe(a).hoistableStyles,n=Ua(l);t=t||"default";var i=u.get(n);if(!i){var c={loading:0,preload:null};if(i=a.querySelector(Tu(n)))c.loading=5;else{l=D({rel:"stylesheet",href:l,"data-precedence":t},e),(e=Nt.get(n))&&of(l,e);var f=i=a.createElement("link");Ql(f),kl(f,"link",l),f._p=new Promise(function(g,T){f.onload=g,f.onerror=T}),f.addEventListener("load",function(){c.loading|=1}),f.addEventListener("error",function(){c.loading|=2}),c.loading|=4,Yn(i,t,a)}i={type:"stylesheet",instance:i,count:1,state:c},u.set(n,i)}}}function Fy(l,t){ue.X(l,t);var e=Da;if(e&&l){var a=Pe(e).hoistableScripts,u=Na(l),n=a.get(u);n||(n=e.querySelector(zu(u)),n||(l=D({src:l,async:!0},t),(t=Nt.get(u))&&sf(l,t),n=e.createElement("script"),Ql(n),kl(n,"link",l),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function Iy(l,t){ue.M(l,t);var e=Da;if(e&&l){var a=Pe(e).hoistableScripts,u=Na(l),n=a.get(u);n||(n=e.querySelector(zu(u)),n||(l=D({src:l,async:!0,type:"module"},t),(t=Nt.get(u))&&sf(l,t),n=e.createElement("script"),Ql(n),kl(n,"link",l),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function fr(l,t,e,a){var u=(u=$.current)?qn(u):null;if(!u)throw Error(d(446));switch(l){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(t=Ua(e.href),e=Pe(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=Ua(e.href);var n=Pe(u).hoistableStyles,i=n.get(l);if(i||(u=u.ownerDocument||u,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(l,i),(n=u.querySelector(Tu(l)))&&!n._p&&(i.instance=n,i.state.loading=5),Nt.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},Nt.set(l,e),n||Py(u,l,e,i.state))),t&&a===null)throw Error(d(528,""));return i}if(t&&a!==null)throw Error(d(529,""));return null;case"script":return t=e.async,e=e.src,typeof e=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Na(e),e=Pe(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(d(444,l))}}function Ua(l){return'href="'+_t(l)+'"'}function Tu(l){return'link[rel="stylesheet"]['+l+"]"}function or(l){return D({},l,{"data-precedence":l.precedence,precedence:null})}function Py(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}),kl(t,"link",e),Ql(t),l.head.appendChild(t))}function Na(l){return'[src="'+_t(l)+'"]'}function zu(l){return"script[async]"+l}function sr(l,t,e){if(t.count++,t.instance===null)switch(t.type){case"style":var a=l.querySelector('style[data-href~="'+_t(e.href)+'"]');if(a)return t.instance=a,Ql(a),a;var u=D({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),Ql(a),kl(a,"style",u),Yn(a,e.precedence,l),t.instance=a;case"stylesheet":u=Ua(e.href);var n=l.querySelector(Tu(u));if(n)return t.state.loading|=4,t.instance=n,Ql(n),n;a=or(e),(u=Nt.get(u))&&of(a,u),n=(l.ownerDocument||l).createElement("link"),Ql(n);var i=n;return i._p=new Promise(function(c,f){i.onload=c,i.onerror=f}),kl(n,"link",a),t.state.loading|=4,Yn(n,e.precedence,l),t.instance=n;case"script":return n=Na(e.src),(u=l.querySelector(zu(n)))?(t.instance=u,Ql(u),u):(a=e,(u=Nt.get(n))&&(a=D({},e),sf(a,u)),l=l.ownerDocument||l,u=l.createElement("script"),Ql(u),kl(u,"link",a),l.head.appendChild(u),t.instance=u);case"void":return null;default:throw Error(d(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,Yn(a,e.precedence,l));return t.instance}function Yn(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,i=0;i<a.length;i++){var c=a[i];if(c.dataset.precedence===t)n=c;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 of(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.title==null&&(l.title=t.title)}function sf(l,t){l.crossOrigin==null&&(l.crossOrigin=t.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=t.referrerPolicy),l.integrity==null&&(l.integrity=t.integrity)}var Gn=null;function dr(l,t,e){if(Gn===null){var a=new Map,u=Gn=new Map;u.set(e,a)}else u=Gn,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[Ya]||n[Vl]||l==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var i=n.getAttribute(t)||"";i=l+i;var c=a.get(i);c?c.push(n):a.set(i,[n])}}return a}function rr(l,t,e){l=l.ownerDocument||l,l.head.insertBefore(e,t==="title"?l.querySelector("head > title"):null)}function l0(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 mr(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function t0(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=Ua(a.href),n=t.querySelector(Tu(u));if(n){t=n._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(l.count++,l=Ln.bind(l),t.then(l,l)),e.state.loading|=4,e.instance=n,Ql(n);return}n=t.ownerDocument||t,a=or(a),(u=Nt.get(u))&&of(a,u),n=n.createElement("link"),Ql(n);var i=n;i._p=new Promise(function(c,f){i.onload=c,i.onerror=f}),kl(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=Ln.bind(l),t.addEventListener("load",e),t.addEventListener("error",e))}}var df=0;function e0(l,t){return l.stylesheets&&l.count===0&&Qn(l,l.stylesheets),0<l.count||0<l.imgCount?function(e){var a=setTimeout(function(){if(l.stylesheets&&Qn(l,l.stylesheets),l.unsuspend){var n=l.unsuspend;l.unsuspend=null,n()}},6e4+t);0<l.imgBytes&&df===0&&(df=62500*By());var u=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Qn(l,l.stylesheets),l.unsuspend)){var n=l.unsuspend;l.unsuspend=null,n()}},(l.imgBytes>df?50:800)+t);return l.unsuspend=e,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function Ln(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Qn(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var Xn=null;function Qn(l,t){l.stylesheets=null,l.unsuspend!==null&&(l.count++,Xn=new Map,t.forEach(a0,l),Xn=null,Ln.call(l))}function a0(l,t){if(!(t.state.loading&4)){var e=Xn.get(l);if(e)var a=e.get(null);else{e=new Map,Xn.set(l,e);for(var u=l.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n<u.length;n++){var i=u[n];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(e.set(i.dataset.precedence,i),a=i)}a&&e.set(null,a)}u=t.instance,i=u.getAttribute("data-precedence"),n=e.get(i)||a,n===a&&e.set(null,u),e.set(i,u),this.count++,a=Ln.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 xu={$$typeof:Xl,Provider:null,Consumer:null,_currentValue:L,_currentValue2:L,_threadCount:0};function u0(l,t,e,a,u,n,i,c,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=ni(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ni(0),this.hiddenUpdates=ni(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=n,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.incompleteTransitions=new Map}function yr(l,t,e,a,u,n,i,c,f,g,T,A){return l=new u0(l,t,e,i,f,g,T,A,c),t=1,n===!0&&(t|=24),n=ht(3,null,null,t),l.current=n,n.stateNode=l,t=Zi(),t.refCount++,l.pooledCache=t,t.refCount++,n.memoizedState={element:a,isDehydrated:e,cache:t},wi(n),l}function hr(l){return l?(l=oa,l):oa}function vr(l,t,e,a,u,n){u=hr(u),a.context===null?a.context=u:a.pendingContext=u,a=me(t),a.payload={element:e},n=n===void 0?null:n,n!==null&&(a.callback=n),e=ye(l,a,t),e!==null&&(st(e,l,t),tu(e,l,t))}function gr(l,t){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var e=l.retryLane;l.retryLane=e!==0&&e<t?e:t}}function rf(l,t){gr(l,t),(l=l.alternate)&&gr(l,t)}function Sr(l){if(l.tag===13||l.tag===31){var t=qe(l,67108864);t!==null&&st(t,l,67108864),rf(l,67108864)}}function br(l){if(l.tag===13||l.tag===31){var t=pt();t=ii(t);var e=qe(l,t);e!==null&&st(e,l,t),rf(l,t)}}var Zn=!0;function n0(l,t,e,a){var u=z.T;z.T=null;var n=R.p;try{R.p=2,mf(l,t,e,a)}finally{R.p=n,z.T=u}}function i0(l,t,e,a){var u=z.T;z.T=null;var n=R.p;try{R.p=8,mf(l,t,e,a)}finally{R.p=n,z.T=u}}function mf(l,t,e,a){if(Zn){var u=yf(a);if(u===null)Ic(l,t,a,Vn,e),Tr(l,a);else if(f0(u,l,t,e,a))a.stopPropagation();else if(Tr(l,a),t&4&&-1<c0.indexOf(l)){for(;u!==null;){var n=Ie(u);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var i=Ne(n.pendingLanes);if(i!==0){var c=n;for(c.pendingLanes|=2,c.entangledLanes|=2;i;){var f=1<<31-mt(i);c.entanglements[1]|=f,i&=~f}Lt(n),(nl&6)===0&&(An=dt()+500,gu(0))}}break;case 31:case 13:c=qe(n,2),c!==null&&st(c,n,2),Mn(),rf(n,2)}if(n=yf(a),n===null&&Ic(l,t,a,Vn,e),n===u)break;u=n}u!==null&&a.stopPropagation()}else Ic(l,t,a,null,e)}}function yf(l){return l=hi(l),hf(l)}var Vn=null;function hf(l){if(Vn=null,l=Fe(l),l!==null){var t=M(l);if(t===null)l=null;else{var e=t.tag;if(e===13){if(l=U(t),l!==null)return l;l=null}else if(e===31){if(l=Z(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 Vn=l,null}function pr(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(Jr()){case Of:return 2;case Mf:return 8;case Nu:case wr:return 32;case jf:return 268435456;default:return 32}default:return 32}}var vf=!1,Ee=null,Ae=null,Oe=null,_u=new Map,Eu=new Map,Me=[],c0="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 Tr(l,t){switch(l){case"focusin":case"focusout":Ee=null;break;case"dragenter":case"dragleave":Ae=null;break;case"mouseover":case"mouseout":Oe=null;break;case"pointerover":case"pointerout":_u.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Eu.delete(t.pointerId)}}function Au(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=Ie(t),t!==null&&Sr(t)),l):(l.eventSystemFlags|=a,t=l.targetContainers,u!==null&&t.indexOf(u)===-1&&t.push(u),l)}function f0(l,t,e,a,u){switch(t){case"focusin":return Ee=Au(Ee,l,t,e,a,u),!0;case"dragenter":return Ae=Au(Ae,l,t,e,a,u),!0;case"mouseover":return Oe=Au(Oe,l,t,e,a,u),!0;case"pointerover":var n=u.pointerId;return _u.set(n,Au(_u.get(n)||null,l,t,e,a,u)),!0;case"gotpointercapture":return n=u.pointerId,Eu.set(n,Au(Eu.get(n)||null,l,t,e,a,u)),!0}return!1}function zr(l){var t=Fe(l.target);if(t!==null){var e=M(t);if(e!==null){if(t=e.tag,t===13){if(t=U(e),t!==null){l.blockedOn=t,Hf(l.priority,function(){br(e)});return}}else if(t===31){if(t=Z(e),t!==null){l.blockedOn=t,Hf(l.priority,function(){br(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 Kn(l){if(l.blockedOn!==null)return!1;for(var t=l.targetContainers;0<t.length;){var e=yf(l.nativeEvent);if(e===null){e=l.nativeEvent;var a=new e.constructor(e.type,e);yi=a,e.target.dispatchEvent(a),yi=null}else return t=Ie(e),t!==null&&Sr(t),l.blockedOn=e,!1;t.shift()}return!0}function xr(l,t,e){Kn(l)&&e.delete(t)}function o0(){vf=!1,Ee!==null&&Kn(Ee)&&(Ee=null),Ae!==null&&Kn(Ae)&&(Ae=null),Oe!==null&&Kn(Oe)&&(Oe=null),_u.forEach(xr),Eu.forEach(xr)}function Jn(l,t){l.blockedOn===t&&(l.blockedOn=null,vf||(vf=!0,y.unstable_scheduleCallback(y.unstable_NormalPriority,o0)))}var wn=null;function _r(l){wn!==l&&(wn=l,y.unstable_scheduleCallback(y.unstable_NormalPriority,function(){wn===l&&(wn=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(hf(a||e)===null)continue;break}var n=Ie(e);n!==null&&(l.splice(t,3),t-=3,mc(n,{pending:!0,data:u,method:e.method,action:a},a,u))}}))}function Ra(l){function t(f){return Jn(f,l)}Ee!==null&&Jn(Ee,l),Ae!==null&&Jn(Ae,l),Oe!==null&&Jn(Oe,l),_u.forEach(t),Eu.forEach(t);for(var e=0;e<Me.length;e++){var a=Me[e];a.blockedOn===l&&(a.blockedOn=null)}for(;0<Me.length&&(e=Me[0],e.blockedOn===null);)zr(e),e.blockedOn===null&&Me.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],i=u[ut]||null;if(typeof n=="function")i||_r(e);else if(i){var c=null;if(n&&n.hasAttribute("formAction")){if(u=n,i=n[ut]||null)c=i.formAction;else if(hf(u)!==null)continue}else c=i.action;typeof c=="function"?e[a+1]=c:(e.splice(a,3),a-=3),_r(e)}}}function Er(){function l(n){n.canIntercept&&n.info==="react-transition"&&n.intercept({handler:function(){return new Promise(function(i){return u=i})},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 gf(l){this._internalRoot=l}kn.prototype.render=gf.prototype.render=function(l){var t=this._internalRoot;if(t===null)throw Error(d(409));var e=t.current,a=pt();vr(e,a,l,t,null,null)},kn.prototype.unmount=gf.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var t=l.containerInfo;vr(l.current,2,null,l,null,null),Mn(),t[$e]=null}};function kn(l){this._internalRoot=l}kn.prototype.unstable_scheduleHydration=function(l){if(l){var t=Cf();l={blockedOn:null,target:l,priority:t};for(var e=0;e<Me.length&&t!==0&&t<Me[e].priority;e++);Me.splice(e,0,l),e===0&&zr(l)}};var Ar=h.version;if(Ar!=="19.2.4")throw Error(d(527,Ar,"19.2.4"));R.findDOMNode=function(l){var t=l._reactInternals;if(t===void 0)throw typeof l.render=="function"?Error(d(188)):(l=Object.keys(l).join(","),Error(d(268,l)));return l=E(t),l=l!==null?j(l):null,l=l===null?null:l.stateNode,l};var s0={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:z,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Wn=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Wn.isDisabled&&Wn.supportsFiber)try{Ha=Wn.inject(s0),rt=Wn}catch{}}return Mu.createRoot=function(l,t){if(!x(l))throw Error(d(299));var e=!1,a="",u=Rs,n=Cs,i=Hs;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&&(i=t.onRecoverableError)),t=yr(l,1,!1,null,null,e,a,null,u,n,i,Er),l[$e]=t.current,Fc(l),new gf(t)},Mu.hydrateRoot=function(l,t,e){if(!x(l))throw Error(d(299));var a=!1,u="",n=Rs,i=Cs,c=Hs,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&&(i=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError),e.formState!==void 0&&(f=e.formState)),t=yr(l,1,!0,t,e??null,a,u,f,n,i,c,Er),t.context=hr(null),e=t.current,a=pt(),a=ii(a),u=me(a),u.callback=null,ye(e,u,a),e=a,t.current.lanes=e,qa(t,e),Lt(t),l[$e]=t.current,Fc(l),new kn(t)},Mu.version="19.2.4",Mu}var Br;function p0(){if(Br)return bf.exports;Br=1;function y(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(y)}catch(h){console.error(h)}}return y(),bf.exports=b0(),bf.exports}var T0=p0();function z0(y){const h=y.attributes,p=h["yuu.cost.amount"];return p==null?null:{category:h["yuu.cost.category"]??"llm",currency:h["yuu.cost.currency"]??"USD",amount:Number(p),source:h["yuu.cost.source"],pricingId:h["yuu.cost.pricing_id"],llmProvider:h["yuu.llm.provider"],llmModel:h["yuu.llm.model"],llmRequestId:h["yuu.llm.request_id"],toolName:h["yuu.tool.name"],toolCallId:h["yuu.tool.call_id"]}}function x0(y){const h=y.attributes,p=h["yuu.llm.provider"];return p==null?null:{provider:String(p),model:String(h["yuu.llm.model"]??""),requestId:h["yuu.llm.request_id"],inputTokens:Number(h["yuu.llm.usage.input_tokens"]??0),outputTokens:Number(h["yuu.llm.usage.output_tokens"]??0),cacheReadTokens:Number(h["yuu.llm.usage.cache_read_tokens"]??0),cacheWriteTokens:Number(h["yuu.llm.usage.cache_write_tokens"]??0),totalTokens:h["yuu.llm.usage.total_tokens"]!=null?Number(h["yuu.llm.usage.total_tokens"]):void 0}}function _0(y){const h=y.attributes,p=h["yuu.tool.name"];return p==null?null:{name:String(p),callId:h["yuu.tool.call_id"],unit:String(h["yuu.tool.usage.unit"]??""),quantity:Number(h["yuu.tool.usage.quantity"]??0)}}function Lr(y){return y.events.filter(h=>h.name==="yuu.cost").map(z0).filter(h=>h!==null)}function Xr(y){return y.events.filter(h=>h.name==="yuu.llm.usage").map(x0).filter(h=>h!==null)}function Qr(y){return y.events.filter(h=>h.name==="yuu.tool.usage").map(_0).filter(h=>h!==null)}function E0(y){return y.events.filter(h=>h.name==="yuu.turn").map(h=>{const p=h.attributes,d=p["yuu.turn.role"];if(d!=="user"&&d!=="assistant")return null;let x=[];try{x=JSON.parse(p["yuu.turn.items"]??"[]")}catch{}const M=p["yuu.llm.provider"];let U;M&&(U={provider:M,model:p["yuu.llm.model"]??"",requestId:p["yuu.llm.request_id"],inputTokens:Number(p["yuu.llm.usage.input_tokens"]??0),outputTokens:Number(p["yuu.llm.usage.output_tokens"]??0),cacheReadTokens:Number(p["yuu.llm.usage.cache_read_tokens"]??0),cacheWriteTokens:Number(p["yuu.llm.usage.cache_write_tokens"]??0),totalTokens:p["yuu.llm.usage.total_tokens"]!=null?Number(p["yuu.llm.usage.total_tokens"]):void 0});const Z=p["yuu.cost.amount"];let N;return Z!=null&&(N={category:p["yuu.cost.category"]??"llm",currency:p["yuu.cost.currency"]??"USD",amount:Number(Z),source:p["yuu.cost.source"],pricingId:p["yuu.cost.pricing_id"],llmProvider:p["yuu.llm.provider"],llmModel:p["yuu.llm.model"],llmRequestId:p["yuu.llm.request_id"]}),{role:d,items:x,startTimeNs:Number(p["yuu.turn.start_time"]??h.time_unix_nano),timeNs:h.time_unix_nano,usage:U,cost:N}}).filter(h=>h!==null)}function A0(y){return y.filter(h=>h.name==="turn").map(h=>{const p=h.attributes,d=p["yuu.turn.role"];if(d!=="user"&&d!=="assistant")return null;let x=[];try{x=JSON.parse(p["yuu.turn.items"]??"[]")}catch{}const M=p["yuu.llm.provider"];let U;M&&(U={provider:M,model:p["yuu.llm.model"]??"",requestId:p["yuu.llm.request_id"],inputTokens:Number(p["yuu.llm.usage.input_tokens"]??0),outputTokens:Number(p["yuu.llm.usage.output_tokens"]??0),cacheReadTokens:Number(p["yuu.llm.usage.cache_read_tokens"]??0),cacheWriteTokens:Number(p["yuu.llm.usage.cache_write_tokens"]??0),totalTokens:p["yuu.llm.usage.total_tokens"]!=null?Number(p["yuu.llm.usage.total_tokens"]):void 0});const Z=p["yuu.cost.amount"];let N;return Z!=null&&(N={category:p["yuu.cost.category"]??"llm",currency:p["yuu.cost.currency"]??"USD",amount:Number(Z),source:p["yuu.cost.source"],pricingId:p["yuu.cost.pricing_id"],llmProvider:p["yuu.llm.provider"],llmModel:p["yuu.llm.model"],llmRequestId:p["yuu.llm.request_id"]}),{role:d,items:x,startTimeNs:Number(p["yuu.turn.start_time"]??h.start_time_unix_nano),timeNs:h.end_time_unix_nano,usage:U,cost:N}}).filter(h=>h!==null)}function O0(y){const h=[],p=[],d=[];for(const x of y)h.push(...Lr(x)),p.push(...Xr(x)),d.push(...Qr(x));return{costs:h,usages:p,toolUsages:d}}function In({source:y}){if(!y)return null;const h=y.url??void 0,p=y.data??void 0,d=y.media_type??"image",x=U=>U.startsWith("[blob:")&&U.endsWith("]"),M=U=>`/api/blobs/${U.slice(6,-1)}`;if(h)return x(h)?o.jsx("img",{src:M(h),alt:"image",style:$n}):o.jsx("img",{src:h,alt:"image",style:$n});if(p){if(x(p))return o.jsx("img",{src:M(p),alt:"image",style:$n});const U=p.startsWith("data:")?p:`data:${d};base64,${p}`;return o.jsx("img",{src:U,alt:"image",style:$n})}return null}const $n={maxWidth:"100%",maxHeight:320,borderRadius:4,border:"1px solid #2d333b",display:"block"};function M0(y){return y>=1e3?`${(y/1e3).toFixed(1)}k`:String(y)}function j0({span:y,usage:h,cost:p}){const d=(y.end_time_unix_nano-y.start_time_unix_nano)/1e6,x=y.attributes["yuu.llm_gen.items"];let M=[];if(typeof x=="string")try{M=JSON.parse(x)}catch(U){console.error("Failed to parse llm_gen.items:",U)}return o.jsxs("div",{style:gl.card,children:[o.jsxs("div",{style:gl.header,children:[o.jsxs("div",{style:gl.headerLeft,children:[o.jsx("span",{style:gl.icon,children:"🤖"}),o.jsx("span",{style:gl.name,children:y.name})]}),o.jsxs("div",{style:gl.headerRight,children:[p&&o.jsxs("span",{style:gl.cost,children:["$",p.amount.toFixed(4)]}),o.jsxs("span",{style:gl.duration,children:[d.toFixed(0),"ms"]})]})]}),h&&o.jsxs("div",{style:gl.body,children:[o.jsxs("div",{style:gl.modelLine,children:[o.jsx("span",{style:gl.provider,children:h.provider}),o.jsx("span",{style:gl.model,children:h.model})]}),o.jsxs("div",{style:gl.tokens,children:[o.jsx(ju,{label:"in",value:h.inputTokens,color:"#58a6ff"}),o.jsx(ju,{label:"out",value:h.outputTokens,color:"#d2a8ff"}),h.cacheReadTokens>0&&o.jsx(ju,{label:"cache↓",value:h.cacheReadTokens,color:"#3fb950"}),h.cacheWriteTokens>0&&o.jsx(ju,{label:"cache↑",value:h.cacheWriteTokens,color:"#f0883e"}),h.totalTokens!=null&&o.jsx(ju,{label:"total",value:h.totalTokens,color:"#8b949e"})]}),h.requestId&&o.jsxs("div",{style:gl.requestId,children:["req: ",h.requestId]})]}),M.length>0&&o.jsx("div",{style:gl.content,children:M.map((U,Z)=>{var N,E;return o.jsxs("div",{style:gl.contentItem,children:[U.type==="text"&&o.jsx("div",{style:gl.textContent,children:U.text}),U.type==="tool_calls"&&o.jsxs("div",{style:gl.toolCalls,children:[o.jsx("div",{style:gl.toolCallsHeader,children:"🔧 Tool Calls:"}),(N=U.tool_calls)==null?void 0:N.map((j,D)=>o.jsxs("div",{style:gl.toolCall,children:[o.jsx("span",{style:gl.toolCallName,children:j.function}),o.jsx("pre",{style:gl.toolCallArgs,children:JSON.stringify(typeof j.arguments=="string"?JSON.parse(j.arguments):j.arguments,null,2)})]},D))]}),U.type==="image"&&o.jsx(In,{source:U.source}),U.type==="image_url"&&o.jsx(In,{source:U.image_url}),U.type==="document"&&o.jsxs("div",{style:gl.mediaBadge,children:[o.jsx("span",{style:gl.mediaIcon,children:"📄"}),o.jsx("span",{style:gl.mediaLabel,children:((E=U.source)==null?void 0:E.media_type)??"document"})]})]},Z)})}),y.status_code===2&&o.jsx("div",{style:gl.error,children:"⚠ Error"})]})}function ju({label:y,value:h,color:p}){return o.jsxs("span",{style:{...gl.badge,borderColor:p},children:[o.jsx("span",{style:{color:"#8b949e",fontSize:10},children:y})," ",o.jsx("span",{style:{color:p,fontWeight:600},children:M0(h)})]})}const gl={card:{background:"#161b22",border:"1px solid #1f3a5f",borderRadius:8,padding:"12px 16px",borderLeft:"3px solid #58a6ff"},header:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:8},headerLeft:{display:"flex",alignItems:"center",gap:6},headerRight:{display:"flex",alignItems:"center",gap:10},icon:{fontSize:16},name:{fontWeight:600,fontSize:14,color:"#e1e4e8"},cost:{fontSize:13,color:"#3fb950",fontFamily:"monospace",fontWeight:600},duration:{fontSize:12,color:"#8b949e",fontFamily:"monospace"},body:{display:"flex",flexDirection:"column",gap:6},modelLine:{display:"flex",gap:8,alignItems:"center"},provider:{fontSize:12,color:"#8b949e"},model:{fontSize:12,color:"#d2a8ff",background:"#21262d",padding:"1px 6px",borderRadius:4,fontFamily:"monospace"},tokens:{display:"flex",gap:6,flexWrap:"wrap"},badge:{display:"inline-flex",gap:4,alignItems:"center",fontSize:12,fontFamily:"monospace",padding:"2px 8px",borderRadius:4,border:"1px solid",background:"#0d1117"},requestId:{fontSize:11,color:"#6e7681",fontFamily:"monospace"},content:{marginTop:8,paddingTop:8,borderTop:"1px solid #21262d"},contentItem:{marginBottom:6},textContent:{fontSize:13,color:"#c9d1d9",lineHeight:1.5,whiteSpace:"pre-wrap",wordBreak:"break-word"},toolCalls:{fontSize:12,color:"#8b949e"},toolCallsHeader:{fontWeight:600,marginBottom:4,color:"#3fb950"},toolCall:{display:"flex",flexDirection:"column",gap:2,marginLeft:12,marginBottom:4,padding:"4px 8px",background:"#0d1117",borderRadius:4,borderLeft:"2px solid #3fb950"},toolCallName:{fontWeight:600,color:"#58a6ff",fontFamily:"monospace"},toolCallArgs:{fontSize:11,color:"#8b949e",fontFamily:"monospace",wordBreak:"break-all",whiteSpace:"pre-wrap",margin:0},error:{marginTop:6,fontSize:12,color:"#f85149",fontWeight:600},mediaBadge:{display:"inline-flex",alignItems:"center",gap:6,padding:"4px 10px",background:"#21262d",border:"1px solid #2d333b",borderRadius:4,fontSize:12,fontFamily:"monospace",color:"#8b949e"},mediaIcon:{fontSize:14},mediaLabel:{color:"#6e7681"}};function qr(y){if(y!=null){if(typeof y=="string"){const h=y.trim();if(!h)return;try{const p=JSON.parse(h);return typeof p=="string"?p:JSON.stringify(p,null,2)}catch{return y}}return JSON.stringify(y,null,2)}}function D0({span:y,usage:h,cost:p}){const d=(y.end_time_unix_nano-y.start_time_unix_nano)/1e6,x=(h==null?void 0:h.name)??y.attributes["yuu.tool.name"]??y.name,M=y.attributes["yuu.tool.output"],U=y.attributes["yuu.tool.input"],Z=y.attributes["yuu.tool.error"],N=qr(U),E=qr(M),j=typeof Z=="string"&&Z.trim()?Z.trim():void 0,D=!!j;return o.jsxs("div",{style:D?Yl.cardError:Yl.card,children:[o.jsxs("div",{style:Yl.header,children:[o.jsxs("div",{style:Yl.headerLeft,children:[o.jsx("span",{style:Yl.icon,children:"🔧"}),o.jsx("span",{style:Yl.name,children:x})]}),o.jsxs("div",{style:Yl.headerRight,children:[p&&o.jsxs("span",{style:Yl.cost,children:["$",p.amount.toFixed(4)]}),o.jsxs("span",{style:Yl.duration,children:[d.toFixed(0),"ms"]})]})]}),h&&o.jsx("div",{style:Yl.body,children:o.jsxs("span",{style:Yl.usageLine,children:[h.quantity," ",h.unit]})}),N&&o.jsxs("div",{style:Yl.ioSection,children:[o.jsx("div",{style:Yl.ioLabel,children:"Input:"}),o.jsx("div",{style:Yl.ioContent,children:N})]}),E&&o.jsxs("div",{style:Yl.ioSection,children:[o.jsx("div",{style:Yl.ioLabel,children:"Output:"}),o.jsx("div",{style:Yl.ioContent,children:E})]}),j&&o.jsxs("div",{style:Yl.errorSection,children:[o.jsx("div",{style:Yl.errorLabel,children:"Error:"}),o.jsx("div",{style:Yl.errorContent,children:j})]})]})}const Yl={card:{background:"#161b22",border:"1px solid #2d4a2d",borderRadius:8,padding:"12px 16px",borderLeft:"3px solid #3fb950"},header:{display:"flex",justifyContent:"space-between",alignItems:"center"},headerLeft:{display:"flex",alignItems:"center",gap:6},headerRight:{display:"flex",alignItems:"center",gap:10},icon:{fontSize:16},name:{fontWeight:600,fontSize:14,color:"#e1e4e8"},cost:{fontSize:13,color:"#3fb950",fontFamily:"monospace",fontWeight:600},duration:{fontSize:12,color:"#8b949e",fontFamily:"monospace"},body:{marginTop:6},usageLine:{fontSize:12,color:"#8b949e",fontFamily:"monospace"},ioSection:{marginTop:8,paddingTop:8,borderTop:"1px solid #21262d"},ioLabel:{fontSize:11,fontWeight:600,color:"#8b949e",marginBottom:4,textTransform:"uppercase"},ioContent:{fontSize:12,color:"#c9d1d9",fontFamily:"monospace",background:"#0d1117",padding:"6px 8px",borderRadius:4,whiteSpace:"pre-wrap",wordBreak:"break-word",maxHeight:"200px",overflowY:"auto"},cardError:{background:"#161b22",border:"1px solid #6e2d2d",borderRadius:8,padding:"12px 16px",borderLeft:"3px solid #f85149"},errorSection:{marginTop:8,paddingTop:8,borderTop:"1px solid #3d1e1e"},errorLabel:{fontSize:11,fontWeight:600,color:"#f85149",marginBottom:4,textTransform:"uppercase"},errorContent:{fontSize:12,color:"#ffa198",fontFamily:"monospace",background:"#1a0d0d",padding:"6px 8px",borderRadius:4,whiteSpace:"pre-wrap",wordBreak:"break-word",maxHeight:"200px",overflowY:"auto"}};function U0({spans:y}){const h=y.filter(j=>j.name!=="tools"),p=h.filter(j=>j.name==="conversation"),d=h.some(j=>j.name==="turn"),x=!d&&p.some(j=>j.events.some(D=>D.name==="yuu.turn")),M=d||x;let U;d?U=A0(h).map((D,w)=>({kind:"turn",turn:D,time:D.startTimeNs,key:`turn-span-${w}`})):x?U=p.flatMap(j=>E0(j).map((D,w)=>({kind:"turn",turn:D,time:D.timeNs,key:`${j.span_id}-turn-${w}`}))):U=p.flatMap(j=>j.events.filter(D=>D.name==="user").map((D,w)=>({kind:"user",content:D.attributes.content??"",time:D.time_unix_nano,key:`${j.span_id}-user-${w}`})));const N=[...h.filter(j=>j.name!=="turn").filter(j=>!(M&&j.name==="llm_gen")).map(j=>({kind:"span",span:j,time:j.start_time_unix_nano})),...U].sort((j,D)=>j.time-D.time),E=p.reduce((j,D)=>D.start_time_unix_nano<j?D.start_time_unix_nano:j,1/0);return o.jsx("div",{style:X.container,children:N.map(j=>{if(j.kind==="user")return o.jsx(B0,{content:j.content},j.key);if(j.kind==="turn")return o.jsx(N0,{turn:j.turn},j.key);const{span:D}=j,w=Lr(D),Nl=D.name==="llm_gen"||D.name.startsWith("llm"),Gl=D.name.startsWith("tool:");if(Nl){const Ml=Xr(D),_l=w.find(tt=>tt.category==="llm");return o.jsx(j0,{span:D,usage:Ml[0],cost:_l},D.span_id)}if(Gl){const Ml=Qr(D),_l=w.find(tt=>tt.category==="tool");return o.jsx(D0,{span:D,usage:Ml[0],cost:_l},D.span_id)}const Rl=D.name==="conversation"&&D.start_time_unix_nano!==E;return o.jsx(H0,{span:D,costs:w,hideSystem:Rl},D.span_id)})})}function Fn(y){return y>=1e3?`${(y/1e3).toFixed(1)}k`:String(y)}function N0({turn:y}){const h=y.role==="user",p=h?X.userCard:X.assistantCard,d=h?X.userLabel:X.assistantLabel,x=h?"User":"Assistant";let M;!h&&y.startTimeNs!==y.timeNs&&(M=(y.timeNs-y.startTimeNs)/1e6);const{usage:U,cost:Z}=y;return o.jsxs("div",{style:p,children:[o.jsxs("div",{style:X.turnHeader,children:[o.jsx("div",{style:d,children:x}),o.jsxs("div",{style:X.turnHeaderRight,children:[Z&&o.jsxs("span",{style:X.costBadge,children:["$",Z.amount.toFixed(4)]}),M!=null&&o.jsxs("span",{style:X.duration,children:[M.toFixed(0),"ms"]})]})]}),U&&o.jsxs("div",{style:X.usageRow,children:[o.jsx("span",{style:X.modelBadge,children:U.model}),o.jsxs("span",{style:X.tokenBadge,children:[o.jsx("span",{style:X.tokenLabel,children:"in"})," ",o.jsx("span",{style:X.tokenValueBlue,children:Fn(U.inputTokens)})]}),o.jsxs("span",{style:X.tokenBadge,children:[o.jsx("span",{style:X.tokenLabel,children:"out"})," ",o.jsx("span",{style:X.tokenValuePurple,children:Fn(U.outputTokens)})]}),U.cacheReadTokens>0&&o.jsxs("span",{style:X.tokenBadge,children:[o.jsx("span",{style:X.tokenLabel,children:"cache↓"})," ",o.jsx("span",{style:X.tokenValueGreen,children:Fn(U.cacheReadTokens)})]}),U.cacheWriteTokens>0&&o.jsxs("span",{style:X.tokenBadge,children:[o.jsx("span",{style:X.tokenLabel,children:"cache↑"})," ",o.jsx("span",{style:X.tokenValueOrange,children:Fn(U.cacheWriteTokens)})]})]}),o.jsx(C0,{items:y.items})]})}function R0(y){if(!y.includes("&"))return y;const h=document.createElement("textarea");return h.innerHTML=y,h.value}function C0({items:y}){return!y||y.length===0?null:o.jsx("div",{children:y.map((h,p)=>{var d,x;return o.jsxs("div",{style:X.contentItem,children:[h.type==="text"&&o.jsx("div",{style:X.textContent,children:R0(h.text)}),h.type==="tool_calls"&&o.jsxs("div",{style:X.toolCalls,children:[o.jsx("div",{style:X.toolCallsHeader,children:"Tool Calls:"}),(d=h.tool_calls)==null?void 0:d.map((M,U)=>o.jsxs("div",{style:X.toolCall,children:[o.jsx("span",{style:X.toolCallName,children:M.function}),o.jsx("pre",{style:X.toolCallArgs,children:JSON.stringify(typeof M.arguments=="string"?JSON.parse(M.arguments):M.arguments,null,2)})]},U))]}),h.type==="image"&&o.jsx(In,{source:h.source}),h.type==="image_url"&&o.jsx(In,{source:h.image_url}),h.type==="document"&&o.jsxs("div",{style:X.mediaBadge,children:[o.jsx("span",{style:X.mediaIcon,children:"doc"}),o.jsx("span",{style:X.mediaLabel,children:((x=h.source)==null?void 0:x.media_type)??"document"})]})]},p)})})}function H0({span:y,costs:h,hideSystem:p=!1}){const d=h.reduce((N,E)=>N+E.amount,0),x=(y.end_time_unix_nano-y.start_time_unix_nano)/1e6,M=p?void 0:y.attributes["yuu.context.system.persona"],U=p?void 0:y.attributes["yuu.context.system.tools"],Z=M||U;return o.jsxs("div",{style:X.card,children:[o.jsxs("div",{style:X.cardHeader,children:[o.jsx("span",{style:X.spanName,children:y.name}),o.jsxs("span",{style:X.duration,children:[x.toFixed(0),"ms"]})]}),Z&&o.jsxs("div",{style:X.contextSection,children:[M&&o.jsxs("div",{style:X.contextBlock,children:[o.jsx("div",{style:X.contextLabel,children:"System"}),o.jsx("div",{style:X.contextContent,children:M})]}),U&&o.jsxs("div",{style:X.contextBlock,children:[o.jsx("div",{style:X.contextLabel,children:"Tools"}),o.jsx("pre",{style:X.contextPre,children:(()=>{try{return JSON.stringify(JSON.parse(U),null,2)}catch{return U}})()})]})]}),d>0&&o.jsxs("div",{style:X.costLine,children:["Total: $",d.toFixed(4)]})]})}function B0({content:y}){let h;try{const p=JSON.parse(y);h=typeof p=="string"?p:JSON.stringify(p,null,2)}catch{h=y}return o.jsxs("div",{style:X.userCard,children:[o.jsx("div",{style:X.userLabel,children:"User"}),o.jsx("div",{style:X.textContent,children:h})]})}const X={container:{display:"flex",flexDirection:"column",gap:8,padding:16},card:{background:"#161b22",border:"1px solid #2d333b",borderRadius:8,padding:"12px 16px"},userCard:{background:"#0d1117",border:"1px solid #1f6feb",borderRadius:8,padding:"12px 16px"},assistantCard:{background:"#161b22",border:"1px solid #1f3a5f",borderRadius:8,padding:"12px 16px",borderLeft:"3px solid #58a6ff"},turnHeader:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:6},turnHeaderRight:{display:"flex",alignItems:"center",gap:10},costBadge:{fontSize:13,color:"#3fb950",fontFamily:"monospace",fontWeight:600},usageRow:{display:"flex",gap:6,flexWrap:"wrap",alignItems:"center",marginBottom:8},modelBadge:{fontSize:12,color:"#d2a8ff",background:"#21262d",padding:"1px 6px",borderRadius:4,fontFamily:"monospace"},tokenBadge:{display:"inline-flex",gap:4,alignItems:"center",fontSize:12,fontFamily:"monospace",padding:"2px 8px",borderRadius:4,background:"#0d1117",border:"1px solid #2d333b"},tokenLabel:{color:"#8b949e",fontSize:10},tokenValueBlue:{color:"#58a6ff",fontWeight:600},tokenValuePurple:{color:"#d2a8ff",fontWeight:600},tokenValueGreen:{color:"#3fb950",fontWeight:600},tokenValueOrange:{color:"#f0883e",fontWeight:600},userLabel:{fontSize:11,fontWeight:600,color:"#58a6ff",textTransform:"uppercase",letterSpacing:"0.05em"},assistantLabel:{fontSize:11,fontWeight:600,color:"#d2a8ff",textTransform:"uppercase",letterSpacing:"0.05em"},textContent:{fontSize:13,color:"#c9d1d9",whiteSpace:"pre-wrap",wordBreak:"break-word",lineHeight:1.5},contentItem:{marginBottom:6},toolCalls:{fontSize:12,color:"#8b949e"},toolCallsHeader:{fontWeight:600,marginBottom:4,color:"#3fb950"},toolCall:{display:"flex",flexDirection:"column",gap:2,marginLeft:12,marginBottom:4,padding:"4px 8px",background:"#0d1117",borderRadius:4,borderLeft:"2px solid #3fb950"},toolCallName:{fontWeight:600,color:"#58a6ff",fontFamily:"monospace"},toolCallArgs:{fontSize:11,color:"#8b949e",fontFamily:"monospace",wordBreak:"break-all",whiteSpace:"pre-wrap",margin:0},mediaBadge:{display:"inline-flex",alignItems:"center",gap:6,padding:"4px 10px",background:"#21262d",border:"1px solid #2d333b",borderRadius:4,fontSize:12,fontFamily:"monospace",color:"#8b949e"},mediaIcon:{fontSize:14},mediaLabel:{color:"#6e7681"},cardHeader:{display:"flex",justifyContent:"space-between",alignItems:"center"},spanName:{fontWeight:600,fontSize:14,color:"#e1e4e8"},duration:{fontSize:12,color:"#8b949e",fontFamily:"monospace"},costLine:{marginTop:4,fontSize:12,color:"#3fb950",fontFamily:"monospace"},contextSection:{marginTop:12,paddingTop:12,borderTop:"1px solid #2d333b",display:"flex",flexDirection:"column",gap:12},contextBlock:{display:"flex",flexDirection:"column",gap:4},contextLabel:{fontSize:11,fontWeight:600,color:"#8b949e",textTransform:"uppercase",letterSpacing:"0.5px"},contextContent:{fontSize:13,color:"#c9d1d9",lineHeight:1.5,whiteSpace:"pre-wrap",wordBreak:"break-word"},contextPre:{fontSize:11,color:"#8b949e",background:"#0d1117",padding:8,borderRadius:4,overflow:"auto",maxHeight:400,margin:0,whiteSpace:"pre-wrap",wordBreak:"break-word"}};var Ol=_f();function q0(y){return new Date(y/1e6).toLocaleString()}function Y0(y){return`$${y.toFixed(4)}`}function G0({conversations:y,selectedId:h,onSelect:p,hasMore:d,onLoadMore:x}){const[M,U]=Ol.useState(""),Z=Ol.useRef(null),N=Ol.useRef(null);Ol.useEffect(()=>{const j=N.current,D=Z.current;if(!j||!D||!x)return;const w=new IntersectionObserver(Nl=>{Nl[0].isIntersecting&&d&&x()},{root:D,threshold:0});return w.observe(j),()=>w.disconnect()},[d,x]);const E=y.filter(j=>{const D=M.toLowerCase();return(j.agent??"").toLowerCase().includes(D)||(j.id??"").toLowerCase().includes(D)||(j.model??"").toLowerCase().includes(D)});return o.jsxs("div",{style:Fl.container,children:[o.jsxs("div",{style:Fl.header,children:[o.jsx("h2",{style:Fl.title,children:"Conversations"}),o.jsx("input",{type:"text",placeholder:"Search...",value:M,onChange:j=>U(j.target.value),style:Fl.search})]}),o.jsxs("div",{ref:Z,style:Fl.list,children:[E.length===0&&o.jsx("div",{style:Fl.empty,children:"No conversations found"}),E.map(j=>o.jsxs("div",{onClick:()=>p==null?void 0:p(j.id),style:{...Fl.item,...j.id===h?Fl.itemSelected:{}},children:[o.jsxs("div",{style:Fl.itemHeader,children:[o.jsx("span",{style:Fl.agent,children:j.agent}),o.jsx("span",{style:Fl.cost,children:Y0(j.total_cost)})]}),o.jsxs("div",{style:Fl.itemMeta,children:[j.model&&o.jsx("span",{style:Fl.model,children:j.model}),o.jsxs("span",{style:Fl.spanCount,children:[j.span_count," spans"]})]}),o.jsx("div",{style:Fl.time,children:q0(j.start_time)})]},j.id)),d&&o.jsx("div",{ref:N,style:Fl.loadMore,children:"Loading more..."})]})]})}const Fl={container:{display:"flex",flexDirection:"column",height:"100%",borderRight:"1px solid #2d333b",background:"#161b22",minWidth:280},header:{padding:"16px",borderBottom:"1px solid #2d333b"},title:{fontSize:16,fontWeight:600,marginBottom:8,color:"#e1e4e8"},search:{width:"100%",padding:"6px 10px",borderRadius:6,border:"1px solid #3d444d",background:"#0d1117",color:"#e1e4e8",fontSize:13,outline:"none"},list:{flex:1,overflowY:"auto"},empty:{padding:16,color:"#8b949e",textAlign:"center",fontSize:13},item:{padding:"10px 16px",borderBottom:"1px solid #21262d",cursor:"pointer",transition:"background 0.15s"},itemSelected:{background:"#1f2937",borderLeft:"3px solid #58a6ff"},itemHeader:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:4},agent:{fontWeight:600,fontSize:14,color:"#e1e4e8"},cost:{fontSize:12,color:"#3fb950",fontFamily:"monospace"},itemMeta:{display:"flex",gap:8,marginBottom:2},model:{fontSize:12,color:"#8b949e",background:"#21262d",padding:"1px 6px",borderRadius:4},spanCount:{fontSize:12,color:"#8b949e"},time:{fontSize:11,color:"#6e7681"},loadMore:{padding:12,color:"#8b949e",textAlign:"center",fontSize:12}};function L0({costs:y}){if(y.length===0)return o.jsxs("div",{style:Il.container,children:[o.jsx("h3",{style:Il.title,children:"Cost"}),o.jsx("div",{style:Il.empty,children:"No cost data"})]});const h=y.reduce((x,M)=>x+M.amount,0),p=new Map;for(const x of y)p.set(x.category,(p.get(x.category)??0)+x.amount);const d=new Map;for(const x of y)x.category==="llm"&&x.llmModel&&d.set(x.llmModel,(d.get(x.llmModel)??0)+x.amount);return o.jsxs("div",{style:Il.container,children:[o.jsx("h3",{style:Il.title,children:"Cost"}),o.jsxs("div",{style:Il.total,children:[o.jsx("span",{children:"Total"}),o.jsxs("span",{style:Il.amount,children:["$",h.toFixed(4)]})]}),o.jsx("div",{style:Il.divider}),Array.from(p.entries()).map(([x,M])=>o.jsxs("div",{style:Il.row,children:[o.jsx("span",{style:Il.label,children:x==="llm"?"🤖 LLM":"🔧 Tool"}),o.jsxs("span",{style:Il.value,children:["$",M.toFixed(4)]})]},x)),d.size>0&&o.jsxs(o.Fragment,{children:[o.jsx("div",{style:Il.divider}),o.jsx("div",{style:Il.sectionTitle,children:"By Model"}),Array.from(d.entries()).map(([x,M])=>o.jsxs("div",{style:Il.row,children:[o.jsx("span",{style:Il.modelLabel,children:x}),o.jsxs("span",{style:Il.value,children:["$",M.toFixed(4)]})]},x))]})]})}const Il={container:{background:"#161b22",border:"1px solid #2d333b",borderRadius:8,padding:16},title:{fontSize:14,fontWeight:600,color:"#e1e4e8",marginBottom:12},empty:{fontSize:13,color:"#8b949e"},total:{display:"flex",justifyContent:"space-between",alignItems:"center",fontSize:14,color:"#e1e4e8",fontWeight:600},amount:{color:"#3fb950",fontFamily:"monospace",fontSize:16},divider:{height:1,background:"#2d333b",margin:"10px 0"},row:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"3px 0"},label:{fontSize:13,color:"#e1e4e8"},value:{fontSize:13,color:"#3fb950",fontFamily:"monospace"},sectionTitle:{fontSize:12,color:"#8b949e",fontWeight:600,marginBottom:4},modelLabel:{fontSize:12,color:"#d2a8ff",fontFamily:"monospace"}};function X0({spans:y}){if(y.length===0)return null;const h=Math.min(...y.map(M=>M.start_time_unix_nano)),d=Math.max(...y.map(M=>M.end_time_unix_nano))-h||1,x=[...y].sort((M,U)=>M.start_time_unix_nano-U.start_time_unix_nano);return o.jsxs("div",{style:De.container,children:[o.jsx("h3",{style:De.title,children:"Timeline"}),o.jsx("div",{style:De.chart,children:x.map(M=>{const U=(M.start_time_unix_nano-h)/d*100,Z=(M.end_time_unix_nano-M.start_time_unix_nano)/d*100,N=(M.end_time_unix_nano-M.start_time_unix_nano)/1e6,E=M.name==="llm_gen"||M.name.startsWith("llm"),j=M.name==="tools"||M.name.startsWith("tool:"),D=E?"#58a6ff":j?"#3fb950":"#8b949e";return o.jsxs("div",{style:De.row,children:[o.jsx("div",{style:De.label,title:M.name,children:M.name}),o.jsx("div",{style:De.track,children:o.jsx("div",{style:{...De.bar,left:`${U}%`,width:`${Math.max(Z,.5)}%`,background:D},title:`${N.toFixed(0)}ms`})}),o.jsxs("div",{style:De.duration,children:[N.toFixed(0),"ms"]})]},M.span_id)})})]})}const De={container:{background:"#161b22",border:"1px solid #2d333b",borderRadius:8,padding:16},title:{fontSize:14,fontWeight:600,color:"#e1e4e8",marginBottom:12},chart:{display:"flex",flexDirection:"column",gap:4},row:{display:"flex",alignItems:"center",gap:8,height:24},label:{width:100,fontSize:12,color:"#8b949e",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flexShrink:0},track:{flex:1,position:"relative",height:16,background:"#0d1117",borderRadius:3},bar:{position:"absolute",top:0,height:"100%",borderRadius:3,minWidth:2,opacity:.85},duration:{width:60,fontSize:11,color:"#6e7681",fontFamily:"monospace",textAlign:"right",flexShrink:0}};function Du(y){return y>=1e6?`${(y/1e6).toFixed(2)}M`:y>=1e3?`${(y/1e3).toFixed(1)}k`:String(y)}function Q0({usages:y}){if(y.length===0)return o.jsxs("div",{style:pl.container,children:[o.jsx("h3",{style:pl.title,children:"Usage"}),o.jsx("div",{style:pl.empty,children:"No usage data"})]});const h=new Map;for(const x of y){const M=`${x.provider}/${x.model}`,U=h.get(M);U?(U.inputTokens+=x.inputTokens,U.outputTokens+=x.outputTokens,U.cacheReadTokens+=x.cacheReadTokens,U.cacheWriteTokens+=x.cacheWriteTokens,U.requests+=1):h.set(M,{model:x.model,provider:x.provider,inputTokens:x.inputTokens,outputTokens:x.outputTokens,cacheReadTokens:x.cacheReadTokens,cacheWriteTokens:x.cacheWriteTokens,requests:1})}const p=y.reduce((x,M)=>x+M.inputTokens,0),d=y.reduce((x,M)=>x+M.outputTokens,0);return o.jsxs("div",{style:pl.container,children:[o.jsx("h3",{style:pl.title,children:"Usage"}),o.jsxs("div",{style:pl.totalRow,children:[o.jsxs("div",{style:pl.totalItem,children:[o.jsx("span",{style:pl.totalLabel,children:"Input"}),o.jsx("span",{style:pl.totalValue,children:Du(p)})]}),o.jsxs("div",{style:pl.totalItem,children:[o.jsx("span",{style:pl.totalLabel,children:"Output"}),o.jsx("span",{style:pl.totalValue,children:Du(d)})]}),o.jsxs("div",{style:pl.totalItem,children:[o.jsx("span",{style:pl.totalLabel,children:"Requests"}),o.jsx("span",{style:pl.totalValue,children:y.length})]})]}),o.jsx("div",{style:pl.divider}),Array.from(h.values()).map(x=>o.jsxs("div",{style:pl.modelBlock,children:[o.jsxs("div",{style:pl.modelHeader,children:[o.jsx("span",{style:pl.modelName,children:x.model}),o.jsx("span",{style:pl.provider,children:x.provider})]}),o.jsxs("div",{style:pl.tokenRow,children:[o.jsxs("span",{style:pl.tokenLabel,children:["in: ",o.jsx("b",{children:Du(x.inputTokens)})]}),o.jsxs("span",{style:pl.tokenLabel,children:["out: ",o.jsx("b",{children:Du(x.outputTokens)})]}),x.cacheReadTokens>0&&o.jsxs("span",{style:pl.tokenLabel,children:["cache↓: ",o.jsx("b",{children:Du(x.cacheReadTokens)})]}),o.jsxs("span",{style:pl.tokenLabel,children:["×",x.requests]})]})]},`${x.provider}/${x.model}`))]})}const pl={container:{background:"#161b22",border:"1px solid #2d333b",borderRadius:8,padding:16},title:{fontSize:14,fontWeight:600,color:"#e1e4e8",marginBottom:12},empty:{fontSize:13,color:"#8b949e"},totalRow:{display:"flex",gap:16},totalItem:{display:"flex",flexDirection:"column",gap:2},totalLabel:{fontSize:11,color:"#8b949e",textTransform:"uppercase",letterSpacing:"0.5px"},totalValue:{fontSize:16,fontWeight:600,color:"#e1e4e8",fontFamily:"monospace"},divider:{height:1,background:"#2d333b",margin:"12px 0"},modelBlock:{marginBottom:10},modelHeader:{display:"flex",gap:8,alignItems:"center",marginBottom:4},modelName:{fontSize:13,color:"#d2a8ff",fontFamily:"monospace",fontWeight:600},provider:{fontSize:11,color:"#8b949e"},tokenRow:{display:"flex",gap:10,flexWrap:"wrap"},tokenLabel:{fontSize:12,color:"#8b949e",fontFamily:"monospace"}},Z0=50,Yr=3e3;function V0(y=""){const[h,p]=Ol.useState([]),[d,x]=Ol.useState(null),[M,U]=Ol.useState(!1),[Z,N]=Ol.useState(null),E=Ol.useRef(0),j=Ol.useRef(0),D=Ol.useRef(!1),w=Ol.useRef(null),Nl=Ol.useRef(!1),Gl=Ol.useCallback((el,W,Q)=>{if(Q==="append"){const sl=new Set(el.map(xl=>xl.id));return[...el,...W.filter(xl=>!sl.has(xl.id))]}if(Q==="replace"||el.length===0)return W;const ol=new Map(el.map(sl=>[sl.id,sl])),Tl=W.map(sl=>{const xl=ol.get(sl.id);return xl==null?sl:{...xl,...sl}}),Wl=new Set(W.map(sl=>sl.id));for(const sl of el)Wl.has(sl.id)||Tl.push(sl);return Tl},[]),Rl=Ol.useCallback((el,W)=>{if(el==null||el.id!==W.id)return W;const Q=new Map(el.spans.map(Tl=>[Tl.span_id,Tl])),ol=W.spans.map(Tl=>{const Wl=Q.get(Tl.span_id);if(Wl==null)return Tl;const sl=new Map(Wl.events.map(at=>[at.id,at])),xl=Tl.events.map(at=>{const zt=sl.get(at.id);return zt==null?at:{...zt,...at}});return{...Wl,...Tl,events:xl}});return{...el,...W,spans:ol}},[]),Ml=Ol.useCallback(async(el,W)=>{const Q=W!=="poll"&&(!Nl.current||W!=="append");Q&&U(!0),N(null);try{const ol=await fetch(`${y}/api/conversations?limit=${Z0}&offset=${el}`);if(!ol.ok)throw new Error(`HTTP ${ol.status}`);const Tl=await ol.json(),Wl=Tl.conversations??[];E.current=Tl.total??0,j.current=W==="append"?j.current+Wl.length:Wl.length,Nl.current=!0,p(sl=>Gl(sl,Wl,W))}catch(ol){N(ol instanceof Error?ol.message:String(ol))}finally{Q&&U(!1),D.current=!1}},[y,Gl]),_l=Ol.useCallback(async el=>{try{const W=await fetch(`${y}/api/conversations/${el}`);if(!W.ok)throw new Error(`HTTP ${W.status}`);const Q=await W.json();x(ol=>Rl(ol,Q))}catch(W){N(W instanceof Error?W.message:String(W))}},[y,Rl]),tt=Ol.useCallback(()=>{D.current||(D.current=!0,Ml(j.current,"append"))},[Ml]),Xl=Ol.useCallback(async el=>{w.current=el,U(!0),N(null),await _l(el),U(!1)},[_l]);Ol.useEffect(()=>{Ml(0,"replace")},[Ml]),Ol.useEffect(()=>{const el=setInterval(()=>{Ml(0,"poll")},Yr);return()=>clearInterval(el)},[Ml]),Ol.useEffect(()=>{if(!w.current)return;const el=w.current,W=setInterval(()=>{_l(el)},Yr);return()=>clearInterval(W)},[d==null?void 0:d.id,_l]);const et=h.length<E.current;return{conversations:h,selectedConversation:d,loading:M,error:Z,hasMore:et,selectConversation:Xl,loadMore:tt,refresh:()=>Ml(0,"replace")}}function K0(){const{conversations:y,selectedConversation:h,loading:p,error:d,hasMore:x,selectConversation:M,loadMore:U}=V0(),Z=h?O0(h.spans):null;return o.jsxs("div",{style:Tt.layout,children:[o.jsx("div",{style:Tt.sidebar,children:o.jsx(G0,{conversations:y,selectedId:h==null?void 0:h.id,onSelect:M,hasMore:x,onLoadMore:U})}),o.jsxs("div",{style:Tt.center,children:[p&&o.jsx("div",{style:Tt.status,children:"Loading..."}),d&&o.jsxs("div",{style:Tt.error,children:["Error: ",d]}),!h&&!p&&o.jsx("div",{style:Tt.placeholder,children:"Select a conversation to view traces"}),h&&o.jsxs(o.Fragment,{children:[o.jsxs("div",{style:Tt.header,children:[o.jsx("h2",{style:Tt.title,children:h.agent}),h.model&&o.jsx("span",{style:Tt.model,children:h.model})]}),o.jsx(X0,{spans:h.spans}),o.jsx(U0,{spans:h.spans})]})]}),o.jsxs("div",{style:Tt.rightSidebar,children:[h&&o.jsxs("div",{style:Tt.convId,children:[o.jsx("div",{style:Tt.convIdLabel,children:"Conversation ID"}),o.jsx("div",{style:Tt.convIdValue,children:h.id})]}),Z&&o.jsxs(o.Fragment,{children:[o.jsx("div",{style:{height:h?12:0}}),o.jsx(L0,{costs:Z.costs}),o.jsx("div",{style:{height:12}}),o.jsx(Q0,{usages:Z.usages})]})]})]})}const Tt={layout:{display:"flex",height:"100vh",overflow:"hidden"},sidebar:{width:300,flexShrink:0,overflow:"hidden"},center:{flex:1,overflowY:"auto",padding:16,display:"flex",flexDirection:"column",gap:12},rightSidebar:{width:280,flexShrink:0,overflowY:"auto",padding:16,borderLeft:"1px solid #2d333b"},convId:{background:"#161b22",border:"1px solid #2d333b",borderRadius:6,padding:"8px 10px"},convIdLabel:{fontSize:11,fontWeight:600,color:"#8b949e",textTransform:"uppercase",letterSpacing:"0.5px",marginBottom:4},convIdValue:{fontSize:11,fontFamily:"monospace",color:"#d2a8ff",wordBreak:"break-all"},status:{color:"#8b949e",textAlign:"center",padding:40},error:{color:"#f85149",textAlign:"center",padding:40},placeholder:{color:"#6e7681",textAlign:"center",padding:80,fontSize:15},header:{display:"flex",alignItems:"center",gap:10,paddingBottom:8,borderBottom:"1px solid #2d333b"},title:{fontSize:18,fontWeight:600,color:"#e1e4e8"},model:{fontSize:13,color:"#d2a8ff",background:"#21262d",padding:"2px 8px",borderRadius:4,fontFamily:"monospace"}},Gr=document.getElementById("root");Gr&&T0.createRoot(Gr).render(o.jsx(K0,{}));
