@mcp-graph-workflow/mcp-graph 5.20.1 → 5.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/web/dashboard/dist/assets/benchmark-tab-D7nae4k4.js +1 -0
  2. package/dist/web/dashboard/dist/assets/circle-alert-vaRHjxbG.js +6 -0
  3. package/dist/web/dashboard/dist/assets/context-tab-DRUGmBRL.js +1 -0
  4. package/dist/web/dashboard/dist/assets/{gitnexus-tab-Caz7v7Mn.js → gitnexus-tab-h8BwIua3.js} +10 -10
  5. package/dist/web/dashboard/dist/assets/{graph-section-B2T_NMja.js → graph-section-C4ymXtzh.js} +1 -1
  6. package/dist/web/dashboard/dist/assets/graph-tab-C6nWMQkR.js +6 -0
  7. package/dist/web/dashboard/dist/assets/{graph-utils-CpifDP5W.js → graph-utils-DkRXfigF.js} +1 -1
  8. package/dist/web/dashboard/dist/assets/{index-C9AGF8Ai.js → index-BW0cq1-5.js} +1 -1
  9. package/dist/web/dashboard/dist/assets/index-CvAguK65.css +1 -0
  10. package/dist/web/dashboard/dist/assets/index-DSPPavjF.js +218 -0
  11. package/dist/web/dashboard/dist/assets/{index-BPPSD6wP.js → index-DmT4Jne7.js} +1 -1
  12. package/dist/web/dashboard/dist/assets/{insights-tab-8XuKAe-4.js → insights-tab-CL9LCuow.js} +15 -15
  13. package/dist/web/dashboard/dist/assets/journey-tab-CbJSfdpz.js +1 -0
  14. package/dist/web/dashboard/dist/assets/languages-tab-Vjkz6r99.js +70 -0
  15. package/dist/web/dashboard/dist/assets/loader-circle-CrUmRfZB.js +6 -0
  16. package/dist/web/dashboard/dist/assets/{logs-tab-Y5DvtoGU.js → logs-tab-CeH_wY9u.js} +2 -2
  17. package/dist/web/dashboard/dist/assets/lsp-tab-BLIpJrAk.js +49 -0
  18. package/dist/web/dashboard/dist/assets/memories-tab-BHOvEW0o.js +1 -0
  19. package/dist/web/dashboard/dist/assets/prd-backlog-tab-BBUG4V7M.js +1 -0
  20. package/dist/web/dashboard/dist/assets/refresh-cw-DRsAUgYq.js +6 -0
  21. package/dist/web/dashboard/dist/assets/{siebel-tab-Bkeox_-_.js → siebel-tab-DZXhcoUu.js} +3 -3
  22. package/dist/web/dashboard/dist/assets/skills-tab-_A8OYt_b.js +1 -0
  23. package/dist/web/dashboard/dist/assets/{style-Cca8j3c-.js → style-DpBYmOVU.js} +1 -1
  24. package/dist/web/dashboard/dist/assets/triangle-alert-N0TixBQV.js +16 -0
  25. package/dist/web/dashboard/dist/index.html +2 -2
  26. package/package.json +1 -1
  27. package/dist/web/dashboard/dist/assets/benchmark-tab-BxKC16Rh.js +0 -1
  28. package/dist/web/dashboard/dist/assets/context-tab-CyTA0xHn.js +0 -1
  29. package/dist/web/dashboard/dist/assets/graph-tab-H8UjUBJg.js +0 -1
  30. package/dist/web/dashboard/dist/assets/index-CW7bjrwy.js +0 -218
  31. package/dist/web/dashboard/dist/assets/index-DDQD2WTj.css +0 -1
  32. package/dist/web/dashboard/dist/assets/journey-tab-L-g_jwf1.js +0 -1
  33. package/dist/web/dashboard/dist/assets/languages-tab-171i5Bxw.js +0 -63
  34. package/dist/web/dashboard/dist/assets/lsp-tab-Dprc5zKc.js +0 -64
  35. package/dist/web/dashboard/dist/assets/memories-tab-DvgKhmWu.js +0 -1
  36. package/dist/web/dashboard/dist/assets/prd-backlog-tab-OHV_0-dF.js +0 -1
  37. package/dist/web/dashboard/dist/assets/skills-tab-DCHjQiA2.js +0 -1
  38. package/dist/web/dashboard/dist/assets/triangle-alert-uww45pBS.js +0 -11
@@ -0,0 +1,218 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/graph-tab-C6nWMQkR.js","assets/style-DpBYmOVU.js","assets/index-BW0cq1-5.js","assets/style-BZV40eAE.css","assets/graph-utils-DkRXfigF.js","assets/constants-lq4BIQN3.js","assets/index-DmT4Jne7.js","assets/loader-circle-CrUmRfZB.js","assets/circle-alert-vaRHjxbG.js","assets/prd-backlog-tab-BBUG4V7M.js","assets/journey-tab-CbJSfdpz.js","assets/gitnexus-tab-h8BwIua3.js","assets/gitnexus-tab-DEqMBSbC.css","assets/insights-tab-CL9LCuow.js","assets/refresh-cw-DRsAUgYq.js","assets/skills-tab-_A8OYt_b.js","assets/siebel-tab-DZXhcoUu.js","assets/lsp-tab-BLIpJrAk.js","assets/triangle-alert-N0TixBQV.js","assets/languages-tab-Vjkz6r99.js"])))=>i.map(i=>d[i]);
2
+ var d0=Object.defineProperty;var m0=(f,y,p)=>y in f?d0(f,y,{enumerable:!0,configurable:!0,writable:!0,value:p}):f[y]=p;var Vn=(f,y,p)=>m0(f,typeof y!="symbol"?y+"":y,p);function h0(f,y){for(var p=0;p<y.length;p++){const o=y[p];if(typeof o!="string"&&!Array.isArray(o)){for(const M in o)if(M!=="default"&&!(M in f)){const N=Object.getOwnPropertyDescriptor(o,M);N&&Object.defineProperty(f,M,N.get?N:{enumerable:!0,get:()=>o[M]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}(function(){const y=document.createElement("link").relList;if(y&&y.supports&&y.supports("modulepreload"))return;for(const M of document.querySelectorAll('link[rel="modulepreload"]'))o(M);new MutationObserver(M=>{for(const N of M)if(N.type==="childList")for(const X of N.addedNodes)X.tagName==="LINK"&&X.rel==="modulepreload"&&o(X)}).observe(document,{childList:!0,subtree:!0});function p(M){const N={};return M.integrity&&(N.integrity=M.integrity),M.referrerPolicy&&(N.referrerPolicy=M.referrerPolicy),M.crossOrigin==="use-credentials"?N.credentials="include":M.crossOrigin==="anonymous"?N.credentials="omit":N.credentials="same-origin",N}function o(M){if(M.ep)return;M.ep=!0;const N=p(M);fetch(M.href,N)}})();function y0(f){return f&&f.__esModule&&Object.prototype.hasOwnProperty.call(f,"default")?f.default:f}var rf={exports:{}},Eu={};/**
3
+ * @license React
4
+ * react-jsx-runtime.production.js
5
+ *
6
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */var Ed;function v0(){if(Ed)return Eu;Ed=1;var f=Symbol.for("react.transitional.element"),y=Symbol.for("react.fragment");function p(o,M,N){var X=null;if(N!==void 0&&(X=""+N),M.key!==void 0&&(X=""+M.key),"key"in M){N={};for(var B in M)B!=="key"&&(N[B]=M[B])}else N=M;return M=N.ref,{$$typeof:f,type:o,key:X,ref:M!==void 0?M:null,props:N}}return Eu.Fragment=y,Eu.jsx=p,Eu.jsxs=p,Eu}var zd;function g0(){return zd||(zd=1,rf.exports=v0()),rf.exports}var r=g0(),df={exports:{}},K={};/**
11
+ * @license React
12
+ * react.production.js
13
+ *
14
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
15
+ *
16
+ * This source code is licensed under the MIT license found in the
17
+ * LICENSE file in the root directory of this source tree.
18
+ */var _d;function b0(){if(_d)return K;_d=1;var f=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),p=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),N=Symbol.for("react.consumer"),X=Symbol.for("react.context"),B=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),S=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),j=Symbol.for("react.activity"),q=Symbol.iterator;function et(m){return m===null||typeof m!="object"?null:(m=q&&m[q]||m["@@iterator"],typeof m=="function"?m:null)}var F={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},gt=Object.assign,w={};function pt(m,A,R){this.props=m,this.context=A,this.refs=w,this.updater=R||F}pt.prototype.isReactComponent={},pt.prototype.setState=function(m,A){if(typeof m!="object"&&typeof m!="function"&&m!=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,m,A,"setState")},pt.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this,m,"forceUpdate")};function ct(){}ct.prototype=pt.prototype;function Ot(m,A,R){this.props=m,this.context=A,this.refs=w,this.updater=R||F}var Lt=Ot.prototype=new ct;Lt.constructor=Ot,gt(Lt,pt.prototype),Lt.isPureReactComponent=!0;var It=Array.isArray;function Xt(){}var I={H:null,A:null,T:null,S:null},Qt=Object.prototype.hasOwnProperty;function kt(m,A,R){var G=R.ref;return{$$typeof:f,type:m,key:A,ref:G!==void 0?G:null,props:R}}function jl(m,A){return kt(m.type,A,m.props)}function bl(m){return typeof m=="object"&&m!==null&&m.$$typeof===f}function Z(m){var A={"=":"=0",":":"=2"};return"$"+m.replace(/[=:]/g,function(R){return A[R]})}var Nt=/\/+/g;function jt(m,A){return typeof m=="object"&&m!==null&&m.key!=null?Z(""+m.key):A.toString(36)}function Pt(m){switch(m.status){case"fulfilled":return m.value;case"rejected":throw m.reason;default:switch(typeof m.status=="string"?m.then(Xt,Xt):(m.status="pending",m.then(function(A){m.status==="pending"&&(m.status="fulfilled",m.value=A)},function(A){m.status==="pending"&&(m.status="rejected",m.reason=A)})),m.status){case"fulfilled":return m.value;case"rejected":throw m.reason}}throw m}function E(m,A,R,G,k){var P=typeof m;(P==="undefined"||P==="boolean")&&(m=null);var ot=!1;if(m===null)ot=!0;else switch(P){case"bigint":case"string":case"number":ot=!0;break;case"object":switch(m.$$typeof){case f:case y:ot=!0;break;case H:return ot=m._init,E(ot(m._payload),A,R,G,k)}}if(ot)return k=k(m),ot=G===""?"."+jt(m,0):G,It(k)?(R="",ot!=null&&(R=ot.replace(Nt,"$&/")+"/"),E(k,A,R,"",function(Ma){return Ma})):k!=null&&(bl(k)&&(k=jl(k,R+(k.key==null||m&&m.key===k.key?"":(""+k.key).replace(Nt,"$&/")+"/")+ot)),A.push(k)),1;ot=0;var Wt=G===""?".":G+":";if(It(m))for(var Mt=0;Mt<m.length;Mt++)G=m[Mt],P=Wt+jt(G,Mt),ot+=E(G,A,R,P,k);else if(Mt=et(m),typeof Mt=="function")for(m=Mt.call(m),Mt=0;!(G=m.next()).done;)G=G.value,P=Wt+jt(G,Mt++),ot+=E(G,A,R,P,k);else if(P==="object"){if(typeof m.then=="function")return E(Pt(m),A,R,G,k);throw A=String(m),Error("Objects are not valid as a React child (found: "+(A==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":A)+"). If you meant to render a collection of children, use an array instead.")}return ot}function U(m,A,R){if(m==null)return m;var G=[],k=0;return E(m,G,"","",function(P){return A.call(R,P,k++)}),G}function J(m){if(m._status===-1){var A=m._result;A=A(),A.then(function(R){(m._status===0||m._status===-1)&&(m._status=1,m._result=R)},function(R){(m._status===0||m._status===-1)&&(m._status=2,m._result=R)}),m._status===-1&&(m._status=0,m._result=A)}if(m._status===1)return m._result.default;throw m._result}var mt=typeof reportError=="function"?reportError:function(m){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var A=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof m=="object"&&m!==null&&typeof m.message=="string"?String(m.message):String(m),error:m});if(!window.dispatchEvent(A))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",m);return}console.error(m)},bt={map:U,forEach:function(m,A,R){U(m,function(){A.apply(this,arguments)},R)},count:function(m){var A=0;return U(m,function(){A++}),A},toArray:function(m){return U(m,function(A){return A})||[]},only:function(m){if(!bl(m))throw Error("React.Children.only expected to receive a single React element child.");return m}};return K.Activity=j,K.Children=bt,K.Component=pt,K.Fragment=p,K.Profiler=M,K.PureComponent=Ot,K.StrictMode=o,K.Suspense=D,K.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=I,K.__COMPILER_RUNTIME={__proto__:null,c:function(m){return I.H.useMemoCache(m)}},K.cache=function(m){return function(){return m.apply(null,arguments)}},K.cacheSignal=function(){return null},K.cloneElement=function(m,A,R){if(m==null)throw Error("The argument must be a React element, but you passed "+m+".");var G=gt({},m.props),k=m.key;if(A!=null)for(P in A.key!==void 0&&(k=""+A.key),A)!Qt.call(A,P)||P==="key"||P==="__self"||P==="__source"||P==="ref"&&A.ref===void 0||(G[P]=A[P]);var P=arguments.length-2;if(P===1)G.children=R;else if(1<P){for(var ot=Array(P),Wt=0;Wt<P;Wt++)ot[Wt]=arguments[Wt+2];G.children=ot}return kt(m.type,k,G)},K.createContext=function(m){return m={$$typeof:X,_currentValue:m,_currentValue2:m,_threadCount:0,Provider:null,Consumer:null},m.Provider=m,m.Consumer={$$typeof:N,_context:m},m},K.createElement=function(m,A,R){var G,k={},P=null;if(A!=null)for(G in A.key!==void 0&&(P=""+A.key),A)Qt.call(A,G)&&G!=="key"&&G!=="__self"&&G!=="__source"&&(k[G]=A[G]);var ot=arguments.length-2;if(ot===1)k.children=R;else if(1<ot){for(var Wt=Array(ot),Mt=0;Mt<ot;Mt++)Wt[Mt]=arguments[Mt+2];k.children=Wt}if(m&&m.defaultProps)for(G in ot=m.defaultProps,ot)k[G]===void 0&&(k[G]=ot[G]);return kt(m,P,k)},K.createRef=function(){return{current:null}},K.forwardRef=function(m){return{$$typeof:B,render:m}},K.isValidElement=bl,K.lazy=function(m){return{$$typeof:H,_payload:{_status:-1,_result:m},_init:J}},K.memo=function(m,A){return{$$typeof:S,type:m,compare:A===void 0?null:A}},K.startTransition=function(m){var A=I.T,R={};I.T=R;try{var G=m(),k=I.S;k!==null&&k(R,G),typeof G=="object"&&G!==null&&typeof G.then=="function"&&G.then(Xt,mt)}catch(P){mt(P)}finally{A!==null&&R.types!==null&&(A.types=R.types),I.T=A}},K.unstable_useCacheRefresh=function(){return I.H.useCacheRefresh()},K.use=function(m){return I.H.use(m)},K.useActionState=function(m,A,R){return I.H.useActionState(m,A,R)},K.useCallback=function(m,A){return I.H.useCallback(m,A)},K.useContext=function(m){return I.H.useContext(m)},K.useDebugValue=function(){},K.useDeferredValue=function(m,A){return I.H.useDeferredValue(m,A)},K.useEffect=function(m,A){return I.H.useEffect(m,A)},K.useEffectEvent=function(m){return I.H.useEffectEvent(m)},K.useId=function(){return I.H.useId()},K.useImperativeHandle=function(m,A,R){return I.H.useImperativeHandle(m,A,R)},K.useInsertionEffect=function(m,A){return I.H.useInsertionEffect(m,A)},K.useLayoutEffect=function(m,A){return I.H.useLayoutEffect(m,A)},K.useMemo=function(m,A){return I.H.useMemo(m,A)},K.useOptimistic=function(m,A){return I.H.useOptimistic(m,A)},K.useReducer=function(m,A,R){return I.H.useReducer(m,A,R)},K.useRef=function(m){return I.H.useRef(m)},K.useState=function(m){return I.H.useState(m)},K.useSyncExternalStore=function(m,A,R){return I.H.useSyncExternalStore(m,A,R)},K.useTransition=function(){return I.H.useTransition()},K.version="19.2.4",K}var Ad;function pf(){return Ad||(Ad=1,df.exports=b0()),df.exports}var O=pf();const Yd=y0(O),e1=h0({__proto__:null,default:Yd},[O]);var mf={exports:{}},zu={},hf={exports:{}},yf={};/**
19
+ * @license React
20
+ * scheduler.production.js
21
+ *
22
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
23
+ *
24
+ * This source code is licensed under the MIT license found in the
25
+ * LICENSE file in the root directory of this source tree.
26
+ */var Od;function S0(){return Od||(Od=1,(function(f){function y(E,U){var J=E.length;E.push(U);t:for(;0<J;){var mt=J-1>>>1,bt=E[mt];if(0<M(bt,U))E[mt]=U,E[J]=bt,J=mt;else break t}}function p(E){return E.length===0?null:E[0]}function o(E){if(E.length===0)return null;var U=E[0],J=E.pop();if(J!==U){E[0]=J;t:for(var mt=0,bt=E.length,m=bt>>>1;mt<m;){var A=2*(mt+1)-1,R=E[A],G=A+1,k=E[G];if(0>M(R,J))G<bt&&0>M(k,R)?(E[mt]=k,E[G]=J,mt=G):(E[mt]=R,E[A]=J,mt=A);else if(G<bt&&0>M(k,J))E[mt]=k,E[G]=J,mt=G;else break t}}return U}function M(E,U){var J=E.sortIndex-U.sortIndex;return J!==0?J:E.id-U.id}if(f.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var N=performance;f.unstable_now=function(){return N.now()}}else{var X=Date,B=X.now();f.unstable_now=function(){return X.now()-B}}var D=[],S=[],H=1,j=null,q=3,et=!1,F=!1,gt=!1,w=!1,pt=typeof setTimeout=="function"?setTimeout:null,ct=typeof clearTimeout=="function"?clearTimeout:null,Ot=typeof setImmediate<"u"?setImmediate:null;function Lt(E){for(var U=p(S);U!==null;){if(U.callback===null)o(S);else if(U.startTime<=E)o(S),U.sortIndex=U.expirationTime,y(D,U);else break;U=p(S)}}function It(E){if(gt=!1,Lt(E),!F)if(p(D)!==null)F=!0,Xt||(Xt=!0,Z());else{var U=p(S);U!==null&&Pt(It,U.startTime-E)}}var Xt=!1,I=-1,Qt=5,kt=-1;function jl(){return w?!0:!(f.unstable_now()-kt<Qt)}function bl(){if(w=!1,Xt){var E=f.unstable_now();kt=E;var U=!0;try{t:{F=!1,gt&&(gt=!1,ct(I),I=-1),et=!0;var J=q;try{l:{for(Lt(E),j=p(D);j!==null&&!(j.expirationTime>E&&jl());){var mt=j.callback;if(typeof mt=="function"){j.callback=null,q=j.priorityLevel;var bt=mt(j.expirationTime<=E);if(E=f.unstable_now(),typeof bt=="function"){j.callback=bt,Lt(E),U=!0;break l}j===p(D)&&o(D),Lt(E)}else o(D);j=p(D)}if(j!==null)U=!0;else{var m=p(S);m!==null&&Pt(It,m.startTime-E),U=!1}}break t}finally{j=null,q=J,et=!1}U=void 0}}finally{U?Z():Xt=!1}}}var Z;if(typeof Ot=="function")Z=function(){Ot(bl)};else if(typeof MessageChannel<"u"){var Nt=new MessageChannel,jt=Nt.port2;Nt.port1.onmessage=bl,Z=function(){jt.postMessage(null)}}else Z=function(){pt(bl,0)};function Pt(E,U){I=pt(function(){E(f.unstable_now())},U)}f.unstable_IdlePriority=5,f.unstable_ImmediatePriority=1,f.unstable_LowPriority=4,f.unstable_NormalPriority=3,f.unstable_Profiling=null,f.unstable_UserBlockingPriority=2,f.unstable_cancelCallback=function(E){E.callback=null},f.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Qt=0<E?Math.floor(1e3/E):5},f.unstable_getCurrentPriorityLevel=function(){return q},f.unstable_next=function(E){switch(q){case 1:case 2:case 3:var U=3;break;default:U=q}var J=q;q=U;try{return E()}finally{q=J}},f.unstable_requestPaint=function(){w=!0},f.unstable_runWithPriority=function(E,U){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var J=q;q=E;try{return U()}finally{q=J}},f.unstable_scheduleCallback=function(E,U,J){var mt=f.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?mt+J:mt):J=mt,E){case 1:var bt=-1;break;case 2:bt=250;break;case 5:bt=1073741823;break;case 4:bt=1e4;break;default:bt=5e3}return bt=J+bt,E={id:H++,callback:U,priorityLevel:E,startTime:J,expirationTime:bt,sortIndex:-1},J>mt?(E.sortIndex=J,y(S,E),p(D)===null&&E===p(S)&&(gt?(ct(I),I=-1):gt=!0,Pt(It,J-mt))):(E.sortIndex=bt,y(D,E),F||et||(F=!0,Xt||(Xt=!0,Z()))),E},f.unstable_shouldYield=jl,f.unstable_wrapCallback=function(E){var U=q;return function(){var J=q;q=U;try{return E.apply(this,arguments)}finally{q=J}}}})(yf)),yf}var Nd;function p0(){return Nd||(Nd=1,hf.exports=S0()),hf.exports}var vf={exports:{}},$t={};/**
27
+ * @license React
28
+ * react-dom.production.js
29
+ *
30
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
31
+ *
32
+ * This source code is licensed under the MIT license found in the
33
+ * LICENSE file in the root directory of this source tree.
34
+ */var jd;function x0(){if(jd)return $t;jd=1;var f=pf();function y(D){var S="https://react.dev/errors/"+D;if(1<arguments.length){S+="?args[]="+encodeURIComponent(arguments[1]);for(var H=2;H<arguments.length;H++)S+="&args[]="+encodeURIComponent(arguments[H])}return"Minified React error #"+D+"; visit "+S+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function p(){}var o={d:{f:p,r:function(){throw Error(y(522))},D:p,C:p,L:p,m:p,X:p,S:p,M:p},p:0,findDOMNode:null},M=Symbol.for("react.portal");function N(D,S,H){var j=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:M,key:j==null?null:""+j,children:D,containerInfo:S,implementation:H}}var X=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function B(D,S){if(D==="font")return"";if(typeof S=="string")return S==="use-credentials"?S:""}return $t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,$t.createPortal=function(D,S){var H=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!S||S.nodeType!==1&&S.nodeType!==9&&S.nodeType!==11)throw Error(y(299));return N(D,S,null,H)},$t.flushSync=function(D){var S=X.T,H=o.p;try{if(X.T=null,o.p=2,D)return D()}finally{X.T=S,o.p=H,o.d.f()}},$t.preconnect=function(D,S){typeof D=="string"&&(S?(S=S.crossOrigin,S=typeof S=="string"?S==="use-credentials"?S:"":void 0):S=null,o.d.C(D,S))},$t.prefetchDNS=function(D){typeof D=="string"&&o.d.D(D)},$t.preinit=function(D,S){if(typeof D=="string"&&S&&typeof S.as=="string"){var H=S.as,j=B(H,S.crossOrigin),q=typeof S.integrity=="string"?S.integrity:void 0,et=typeof S.fetchPriority=="string"?S.fetchPriority:void 0;H==="style"?o.d.S(D,typeof S.precedence=="string"?S.precedence:void 0,{crossOrigin:j,integrity:q,fetchPriority:et}):H==="script"&&o.d.X(D,{crossOrigin:j,integrity:q,fetchPriority:et,nonce:typeof S.nonce=="string"?S.nonce:void 0})}},$t.preinitModule=function(D,S){if(typeof D=="string")if(typeof S=="object"&&S!==null){if(S.as==null||S.as==="script"){var H=B(S.as,S.crossOrigin);o.d.M(D,{crossOrigin:H,integrity:typeof S.integrity=="string"?S.integrity:void 0,nonce:typeof S.nonce=="string"?S.nonce:void 0})}}else S==null&&o.d.M(D)},$t.preload=function(D,S){if(typeof D=="string"&&typeof S=="object"&&S!==null&&typeof S.as=="string"){var H=S.as,j=B(H,S.crossOrigin);o.d.L(D,H,{crossOrigin:j,integrity:typeof S.integrity=="string"?S.integrity:void 0,nonce:typeof S.nonce=="string"?S.nonce:void 0,type:typeof S.type=="string"?S.type:void 0,fetchPriority:typeof S.fetchPriority=="string"?S.fetchPriority:void 0,referrerPolicy:typeof S.referrerPolicy=="string"?S.referrerPolicy:void 0,imageSrcSet:typeof S.imageSrcSet=="string"?S.imageSrcSet:void 0,imageSizes:typeof S.imageSizes=="string"?S.imageSizes:void 0,media:typeof S.media=="string"?S.media:void 0})}},$t.preloadModule=function(D,S){if(typeof D=="string")if(S){var H=B(S.as,S.crossOrigin);o.d.m(D,{as:typeof S.as=="string"&&S.as!=="script"?S.as:void 0,crossOrigin:H,integrity:typeof S.integrity=="string"?S.integrity:void 0})}else o.d.m(D)},$t.requestFormReset=function(D){o.d.r(D)},$t.unstable_batchedUpdates=function(D,S){return D(S)},$t.useFormState=function(D,S,H){return X.H.useFormState(D,S,H)},$t.useFormStatus=function(){return X.H.useHostTransitionStatus()},$t.version="19.2.4",$t}var Md;function T0(){if(Md)return vf.exports;Md=1;function f(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(f)}catch(y){console.error(y)}}return f(),vf.exports=x0(),vf.exports}/**
35
+ * @license React
36
+ * react-dom-client.production.js
37
+ *
38
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
39
+ *
40
+ * This source code is licensed under the MIT license found in the
41
+ * LICENSE file in the root directory of this source tree.
42
+ */var Dd;function E0(){if(Dd)return zu;Dd=1;var f=p0(),y=pf(),p=T0();function o(t){var l="https://react.dev/errors/"+t;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var e=2;e<arguments.length;e++)l+="&args[]="+encodeURIComponent(arguments[e])}return"Minified React error #"+t+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function M(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function N(t){var l=t,e=t;if(t.alternate)for(;l.return;)l=l.return;else{t=l;do l=t,(l.flags&4098)!==0&&(e=l.return),t=l.return;while(t)}return l.tag===3?e:null}function X(t){if(t.tag===13){var l=t.memoizedState;if(l===null&&(t=t.alternate,t!==null&&(l=t.memoizedState)),l!==null)return l.dehydrated}return null}function B(t){if(t.tag===31){var l=t.memoizedState;if(l===null&&(t=t.alternate,t!==null&&(l=t.memoizedState)),l!==null)return l.dehydrated}return null}function D(t){if(N(t)!==t)throw Error(o(188))}function S(t){var l=t.alternate;if(!l){if(l=N(t),l===null)throw Error(o(188));return l!==t?null:t}for(var e=t,a=l;;){var u=e.return;if(u===null)break;var n=u.alternate;if(n===null){if(a=u.return,a!==null){e=a;continue}break}if(u.child===n.child){for(n=u.child;n;){if(n===e)return D(u),t;if(n===a)return D(u),l;n=n.sibling}throw Error(o(188))}if(e.return!==a.return)e=u,a=n;else{for(var c=!1,i=u.child;i;){if(i===e){c=!0,e=u,a=n;break}if(i===a){c=!0,a=u,e=n;break}i=i.sibling}if(!c){for(i=n.child;i;){if(i===e){c=!0,e=n,a=u;break}if(i===a){c=!0,a=n,e=u;break}i=i.sibling}if(!c)throw Error(o(189))}}if(e.alternate!==a)throw Error(o(190))}if(e.tag!==3)throw Error(o(188));return e.stateNode.current===e?t:l}function H(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t;for(t=t.child;t!==null;){if(l=H(t),l!==null)return l;t=t.sibling}return null}var j=Object.assign,q=Symbol.for("react.element"),et=Symbol.for("react.transitional.element"),F=Symbol.for("react.portal"),gt=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),pt=Symbol.for("react.profiler"),ct=Symbol.for("react.consumer"),Ot=Symbol.for("react.context"),Lt=Symbol.for("react.forward_ref"),It=Symbol.for("react.suspense"),Xt=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),Qt=Symbol.for("react.lazy"),kt=Symbol.for("react.activity"),jl=Symbol.for("react.memo_cache_sentinel"),bl=Symbol.iterator;function Z(t){return t===null||typeof t!="object"?null:(t=bl&&t[bl]||t["@@iterator"],typeof t=="function"?t:null)}var Nt=Symbol.for("react.client.reference");function jt(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Nt?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case gt:return"Fragment";case pt:return"Profiler";case w:return"StrictMode";case It:return"Suspense";case Xt:return"SuspenseList";case kt:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case F:return"Portal";case Ot:return t.displayName||"Context";case ct:return(t._context.displayName||"Context")+".Consumer";case Lt:var l=t.render;return t=t.displayName,t||(t=l.displayName||l.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case I:return l=t.displayName||null,l!==null?l:jt(t.type)||"Memo";case Qt:l=t._payload,t=t._init;try{return jt(t(l))}catch{}}return null}var Pt=Array.isArray,E=y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U=p.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},mt=[],bt=-1;function m(t){return{current:t}}function A(t){0>bt||(t.current=mt[bt],mt[bt]=null,bt--)}function R(t,l){bt++,mt[bt]=t.current,t.current=l}var G=m(null),k=m(null),P=m(null),ot=m(null);function Wt(t,l){switch(R(P,l),R(k,t),R(G,null),l.nodeType){case 9:case 11:t=(t=l.documentElement)&&(t=t.namespaceURI)?Kr(t):0;break;default:if(t=l.tagName,l=l.namespaceURI)l=Kr(l),t=wr(l,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}A(G),R(G,t)}function Mt(){A(G),A(k),A(P)}function Ma(t){t.memoizedState!==null&&R(ot,t);var l=G.current,e=wr(l,t.type);l!==e&&(R(k,t),R(G,e))}function _u(t){k.current===t&&(A(G),A(k)),ot.current===t&&(A(ot),Su._currentValue=J)}var Kn,xf;function Oe(t){if(Kn===void 0)try{throw Error()}catch(e){var l=e.stack.trim().match(/\n( *(at )?)/);Kn=l&&l[1]||"",xf=-1<e.stack.indexOf(`
43
+ at`)?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return`
44
+ `+Kn+t+xf}var wn=!1;function kn(t,l){if(!t||wn)return"";wn=!0;var e=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(l){var _=function(){throw Error()};if(Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(x){var b=x}Reflect.construct(t,[],_)}else{try{_.call()}catch(x){b=x}t.call(_.prototype)}}else{try{throw Error()}catch(x){b=x}(_=t())&&typeof _.catch=="function"&&_.catch(function(){})}}catch(x){if(x&&b&&typeof x.stack=="string")return[x.stack,b.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var u=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");u&&u.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var n=a.DetermineComponentFrameRoot(),c=n[0],i=n[1];if(c&&i){var s=c.split(`
45
+ `),g=i.split(`
46
+ `);for(u=a=0;a<s.length&&!s[a].includes("DetermineComponentFrameRoot");)a++;for(;u<g.length&&!g[u].includes("DetermineComponentFrameRoot");)u++;if(a===s.length||u===g.length)for(a=s.length-1,u=g.length-1;1<=a&&0<=u&&s[a]!==g[u];)u--;for(;1<=a&&0<=u;a--,u--)if(s[a]!==g[u]){if(a!==1||u!==1)do if(a--,u--,0>u||s[a]!==g[u]){var T=`
47
+ `+s[a].replace(" at new "," at ");return t.displayName&&T.includes("<anonymous>")&&(T=T.replace("<anonymous>",t.displayName)),T}while(1<=a&&0<=u);break}}}finally{wn=!1,Error.prepareStackTrace=e}return(e=t?t.displayName||t.name:"")?Oe(e):""}function Zd(t,l){switch(t.tag){case 26:case 27:case 5:return Oe(t.type);case 16:return Oe("Lazy");case 13:return t.child!==l&&l!==null?Oe("Suspense Fallback"):Oe("Suspense");case 19:return Oe("SuspenseList");case 0:case 15:return kn(t.type,!1);case 11:return kn(t.type.render,!1);case 1:return kn(t.type,!0);case 31:return Oe("Activity");default:return""}}function Tf(t){try{var l="",e=null;do l+=Zd(t,e),e=t,t=t.return;while(t);return l}catch(a){return`
48
+ Error generating stack: `+a.message+`
49
+ `+a.stack}}var $n=Object.prototype.hasOwnProperty,Wn=f.unstable_scheduleCallback,Fn=f.unstable_cancelCallback,Vd=f.unstable_shouldYield,Jd=f.unstable_requestPaint,il=f.unstable_now,Kd=f.unstable_getCurrentPriorityLevel,Ef=f.unstable_ImmediatePriority,zf=f.unstable_UserBlockingPriority,Au=f.unstable_NormalPriority,wd=f.unstable_LowPriority,_f=f.unstable_IdlePriority,kd=f.log,$d=f.unstable_setDisableYieldValue,Da=null,fl=null;function ee(t){if(typeof kd=="function"&&$d(t),fl&&typeof fl.setStrictMode=="function")try{fl.setStrictMode(Da,t)}catch{}}var sl=Math.clz32?Math.clz32:Id,Wd=Math.log,Fd=Math.LN2;function Id(t){return t>>>=0,t===0?32:31-(Wd(t)/Fd|0)|0}var Ou=256,Nu=262144,ju=4194304;function Ne(t){var l=t&42;if(l!==0)return l;switch(t&-t){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 t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Mu(t,l,e){var a=t.pendingLanes;if(a===0)return 0;var u=0,n=t.suspendedLanes,c=t.pingedLanes;t=t.warmLanes;var i=a&134217727;return i!==0?(a=i&~n,a!==0?u=Ne(a):(c&=i,c!==0?u=Ne(c):e||(e=i&~t,e!==0&&(u=Ne(e))))):(i=a&~n,i!==0?u=Ne(i):c!==0?u=Ne(c):e||(e=a&~t,e!==0&&(u=Ne(e)))),u===0?0:l!==0&&l!==u&&(l&n)===0&&(n=u&-u,e=l&-l,n>=e||n===32&&(e&4194048)!==0)?l:u}function Ca(t,l){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&l)===0}function Pd(t,l){switch(t){case 1:case 2:case 4:case 8:case 64:return l+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 l+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 Af(){var t=ju;return ju<<=1,(ju&62914560)===0&&(ju=4194304),t}function In(t){for(var l=[],e=0;31>e;e++)l.push(t);return l}function Ua(t,l){t.pendingLanes|=l,l!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function tm(t,l,e,a,u,n){var c=t.pendingLanes;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=e,t.entangledLanes&=e,t.errorRecoveryDisabledLanes&=e,t.shellSuspendCounter=0;var i=t.entanglements,s=t.expirationTimes,g=t.hiddenUpdates;for(e=c&~e;0<e;){var T=31-sl(e),_=1<<T;i[T]=0,s[T]=-1;var b=g[T];if(b!==null)for(g[T]=null,T=0;T<b.length;T++){var x=b[T];x!==null&&(x.lane&=-536870913)}e&=~_}a!==0&&Of(t,a,0),n!==0&&u===0&&t.tag!==0&&(t.suspendedLanes|=n&~(c&~l))}function Of(t,l,e){t.pendingLanes|=l,t.suspendedLanes&=~l;var a=31-sl(l);t.entangledLanes|=l,t.entanglements[a]=t.entanglements[a]|1073741824|e&261930}function Nf(t,l){var e=t.entangledLanes|=l;for(t=t.entanglements;e;){var a=31-sl(e),u=1<<a;u&l|t[a]&l&&(t[a]|=l),e&=~u}}function jf(t,l){var e=l&-l;return e=(e&42)!==0?1:Pn(e),(e&(t.suspendedLanes|l))!==0?0:e}function Pn(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function tc(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Mf(){var t=U.p;return t!==0?t:(t=window.event,t===void 0?32:vd(t.type))}function Df(t,l){var e=U.p;try{return U.p=t,l()}finally{U.p=e}}var ae=Math.random().toString(36).slice(2),Zt="__reactFiber$"+ae,tl="__reactProps$"+ae,Ke="__reactContainer$"+ae,lc="__reactEvents$"+ae,lm="__reactListeners$"+ae,em="__reactHandles$"+ae,Cf="__reactResources$"+ae,Ra="__reactMarker$"+ae;function ec(t){delete t[Zt],delete t[tl],delete t[lc],delete t[lm],delete t[em]}function we(t){var l=t[Zt];if(l)return l;for(var e=t.parentNode;e;){if(l=e[Ke]||e[Zt]){if(e=l.alternate,l.child!==null||e!==null&&e.child!==null)for(t=td(t);t!==null;){if(e=t[Zt])return e;t=td(t)}return l}t=e,e=t.parentNode}return null}function ke(t){if(t=t[Zt]||t[Ke]){var l=t.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return t}return null}function Ha(t){var l=t.tag;if(l===5||l===26||l===27||l===6)return t.stateNode;throw Error(o(33))}function $e(t){var l=t[Cf];return l||(l=t[Cf]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Yt(t){t[Ra]=!0}var Uf=new Set,Rf={};function je(t,l){We(t,l),We(t+"Capture",l)}function We(t,l){for(Rf[t]=l,t=0;t<l.length;t++)Uf.add(l[t])}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]*$"),Hf={},qf={};function um(t){return $n.call(qf,t)?!0:$n.call(Hf,t)?!1:am.test(t)?qf[t]=!0:(Hf[t]=!0,!1)}function Du(t,l,e){if(um(l))if(e===null)t.removeAttribute(l);else{switch(typeof e){case"undefined":case"function":case"symbol":t.removeAttribute(l);return;case"boolean":var a=l.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(l);return}}t.setAttribute(l,""+e)}}function Cu(t,l,e){if(e===null)t.removeAttribute(l);else{switch(typeof e){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttribute(l,""+e)}}function Yl(t,l,e,a){if(a===null)t.removeAttribute(e);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttributeNS(l,e,""+a)}}function Sl(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Bf(t){var l=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function nm(t,l,e){var a=Object.getOwnPropertyDescriptor(t.constructor.prototype,l);if(!t.hasOwnProperty(l)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var u=a.get,n=a.set;return Object.defineProperty(t,l,{configurable:!0,get:function(){return u.call(this)},set:function(c){e=""+c,n.call(this,c)}}),Object.defineProperty(t,l,{enumerable:a.enumerable}),{getValue:function(){return e},setValue:function(c){e=""+c},stopTracking:function(){t._valueTracker=null,delete t[l]}}}}function ac(t){if(!t._valueTracker){var l=Bf(t)?"checked":"value";t._valueTracker=nm(t,l,""+t[l])}}function Yf(t){if(!t)return!1;var l=t._valueTracker;if(!l)return!0;var e=l.getValue(),a="";return t&&(a=Bf(t)?t.checked?"true":"false":t.value),t=a,t!==e?(l.setValue(t),!0):!1}function Uu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var cm=/[\n"\\]/g;function pl(t){return t.replace(cm,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function uc(t,l,e,a,u,n,c,i){t.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?t.type=c:t.removeAttribute("type"),l!=null?c==="number"?(l===0&&t.value===""||t.value!=l)&&(t.value=""+Sl(l)):t.value!==""+Sl(l)&&(t.value=""+Sl(l)):c!=="submit"&&c!=="reset"||t.removeAttribute("value"),l!=null?nc(t,c,Sl(l)):e!=null?nc(t,c,Sl(e)):a!=null&&t.removeAttribute("value"),u==null&&n!=null&&(t.defaultChecked=!!n),u!=null&&(t.checked=u&&typeof u!="function"&&typeof u!="symbol"),i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?t.name=""+Sl(i):t.removeAttribute("name")}function Gf(t,l,e,a,u,n,c,i){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(t.type=n),l!=null||e!=null){if(!(n!=="submit"&&n!=="reset"||l!=null)){ac(t);return}e=e!=null?""+Sl(e):"",l=l!=null?""+Sl(l):e,i||l===t.value||(t.value=l),t.defaultValue=l}a=a??u,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=i?t.checked:!!a,t.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(t.name=c),ac(t)}function nc(t,l,e){l==="number"&&Uu(t.ownerDocument)===t||t.defaultValue===""+e||(t.defaultValue=""+e)}function Fe(t,l,e,a){if(t=t.options,l){l={};for(var u=0;u<e.length;u++)l["$"+e[u]]=!0;for(e=0;e<t.length;e++)u=l.hasOwnProperty("$"+t[e].value),t[e].selected!==u&&(t[e].selected=u),u&&a&&(t[e].defaultSelected=!0)}else{for(e=""+Sl(e),l=null,u=0;u<t.length;u++){if(t[u].value===e){t[u].selected=!0,a&&(t[u].defaultSelected=!0);return}l!==null||t[u].disabled||(l=t[u])}l!==null&&(l.selected=!0)}}function Lf(t,l,e){if(l!=null&&(l=""+Sl(l),l!==t.value&&(t.value=l),e==null)){t.defaultValue!==l&&(t.defaultValue=l);return}t.defaultValue=e!=null?""+Sl(e):""}function Xf(t,l,e,a){if(l==null){if(a!=null){if(e!=null)throw Error(o(92));if(Pt(a)){if(1<a.length)throw Error(o(93));a=a[0]}e=a}e==null&&(e=""),l=e}e=Sl(l),t.defaultValue=e,a=t.textContent,a===e&&a!==""&&a!==null&&(t.value=a),ac(t)}function Ie(t,l){if(l){var e=t.firstChild;if(e&&e===t.lastChild&&e.nodeType===3){e.nodeValue=l;return}}t.textContent=l}var im=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 Qf(t,l,e){var a=l.indexOf("--")===0;e==null||typeof e=="boolean"||e===""?a?t.setProperty(l,""):l==="float"?t.cssFloat="":t[l]="":a?t.setProperty(l,e):typeof e!="number"||e===0||im.has(l)?l==="float"?t.cssFloat=e:t[l]=(""+e).trim():t[l]=e+"px"}function Zf(t,l,e){if(l!=null&&typeof l!="object")throw Error(o(62));if(t=t.style,e!=null){for(var a in e)!e.hasOwnProperty(a)||l!=null&&l.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var u in l)a=l[u],l.hasOwnProperty(u)&&e[u]!==a&&Qf(t,u,a)}else for(var n in l)l.hasOwnProperty(n)&&Qf(t,n,l[n])}function cc(t){if(t.indexOf("-")===-1)return!1;switch(t){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"]]),sm=/^[\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 Ru(t){return sm.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Gl(){}var ic=null;function fc(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Pe=null,ta=null;function Vf(t){var l=ke(t);if(l&&(t=l.stateNode)){var e=t[tl]||null;t:switch(t=l.stateNode,l.type){case"input":if(uc(t,e.value,e.defaultValue,e.defaultValue,e.checked,e.defaultChecked,e.type,e.name),l=e.name,e.type==="radio"&&l!=null){for(e=t;e.parentNode;)e=e.parentNode;for(e=e.querySelectorAll('input[name="'+pl(""+l)+'"][type="radio"]'),l=0;l<e.length;l++){var a=e[l];if(a!==t&&a.form===t.form){var u=a[tl]||null;if(!u)throw Error(o(90));uc(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name)}}for(l=0;l<e.length;l++)a=e[l],a.form===t.form&&Yf(a)}break t;case"textarea":Lf(t,e.value,e.defaultValue);break t;case"select":l=e.value,l!=null&&Fe(t,!!e.multiple,l,!1)}}}var sc=!1;function Jf(t,l,e){if(sc)return t(l,e);sc=!0;try{var a=t(l);return a}finally{if(sc=!1,(Pe!==null||ta!==null)&&(Tn(),Pe&&(l=Pe,t=ta,ta=Pe=null,Vf(l),t)))for(l=0;l<t.length;l++)Vf(t[l])}}function qa(t,l){var e=t.stateNode;if(e===null)return null;var a=e[tl]||null;if(a===null)return null;e=a[l];t:switch(l){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)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(e&&typeof e!="function")throw Error(o(231,l,typeof e));return e}var Ll=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),oc=!1;if(Ll)try{var Ba={};Object.defineProperty(Ba,"passive",{get:function(){oc=!0}}),window.addEventListener("test",Ba,Ba),window.removeEventListener("test",Ba,Ba)}catch{oc=!1}var ue=null,rc=null,Hu=null;function Kf(){if(Hu)return Hu;var t,l=rc,e=l.length,a,u="value"in ue?ue.value:ue.textContent,n=u.length;for(t=0;t<e&&l[t]===u[t];t++);var c=e-t;for(a=1;a<=c&&l[e-a]===u[n-a];a++);return Hu=u.slice(t,1<a?1-a:void 0)}function qu(t){var l=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&l===13&&(t=13)):t=l,t===10&&(t=13),32<=t||t===13?t:0}function Bu(){return!0}function wf(){return!1}function ll(t){function l(e,a,u,n,c){this._reactName=e,this._targetInst=u,this.type=a,this.nativeEvent=n,this.target=c,this.currentTarget=null;for(var i in t)t.hasOwnProperty(i)&&(e=t[i],this[i]=e?e(n):n[i]);return this.isDefaultPrevented=(n.defaultPrevented!=null?n.defaultPrevented:n.returnValue===!1)?Bu:wf,this.isPropagationStopped=wf,this}return j(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!="unknown"&&(e.returnValue=!1),this.isDefaultPrevented=Bu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!="unknown"&&(e.cancelBubble=!0),this.isPropagationStopped=Bu)},persist:function(){},isPersistent:Bu}),l}var Me={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Yu=ll(Me),Ya=j({},Me,{view:0,detail:0}),om=ll(Ya),dc,mc,Ga,Gu=j({},Ya,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yc,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Ga&&(Ga&&t.type==="mousemove"?(dc=t.screenX-Ga.screenX,mc=t.screenY-Ga.screenY):mc=dc=0,Ga=t),dc)},movementY:function(t){return"movementY"in t?t.movementY:mc}}),kf=ll(Gu),rm=j({},Gu,{dataTransfer:0}),dm=ll(rm),mm=j({},Ya,{relatedTarget:0}),hc=ll(mm),hm=j({},Me,{animationName:0,elapsedTime:0,pseudoElement:0}),ym=ll(hm),vm=j({},Me,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),gm=ll(vm),bm=j({},Me,{data:0}),$f=ll(bm),Sm={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"},xm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tm(t){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(t):(t=xm[t])?!!l[t]:!1}function yc(){return Tm}var Em=j({},Ya,{key:function(t){if(t.key){var l=Sm[t.key]||t.key;if(l!=="Unidentified")return l}return t.type==="keypress"?(t=qu(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?pm[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yc,charCode:function(t){return t.type==="keypress"?qu(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?qu(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),zm=ll(Em),_m=j({},Gu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Wf=ll(_m),Am=j({},Ya,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yc}),Om=ll(Am),Nm=j({},Me,{propertyName:0,elapsedTime:0,pseudoElement:0}),jm=ll(Nm),Mm=j({},Gu,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Dm=ll(Mm),Cm=j({},Me,{newState:0,oldState:0}),Um=ll(Cm),Rm=[9,13,27,32],vc=Ll&&"CompositionEvent"in window,La=null;Ll&&"documentMode"in document&&(La=document.documentMode);var Hm=Ll&&"TextEvent"in window&&!La,Ff=Ll&&(!vc||La&&8<La&&11>=La),If=" ",Pf=!1;function ts(t,l){switch(t){case"keyup":return Rm.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ls(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var la=!1;function qm(t,l){switch(t){case"compositionend":return ls(l);case"keypress":return l.which!==32?null:(Pf=!0,If);case"textInput":return t=l.data,t===If&&Pf?null:t;default:return null}}function Bm(t,l){if(la)return t==="compositionend"||!vc&&ts(t,l)?(t=Kf(),Hu=rc=ue=null,la=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return Ff&&l.locale!=="ko"?null:l.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 es(t){var l=t&&t.nodeName&&t.nodeName.toLowerCase();return l==="input"?!!Ym[t.type]:l==="textarea"}function as(t,l,e,a){Pe?ta?ta.push(a):ta=[a]:Pe=a,l=jn(l,"onChange"),0<l.length&&(e=new Yu("onChange","change",null,e,a),t.push({event:e,listeners:l}))}var Xa=null,Qa=null;function Gm(t){Lr(t,0)}function Lu(t){var l=Ha(t);if(Yf(l))return t}function us(t,l){if(t==="change")return l}var ns=!1;if(Ll){var gc;if(Ll){var bc="oninput"in document;if(!bc){var cs=document.createElement("div");cs.setAttribute("oninput","return;"),bc=typeof cs.oninput=="function"}gc=bc}else gc=!1;ns=gc&&(!document.documentMode||9<document.documentMode)}function is(){Xa&&(Xa.detachEvent("onpropertychange",fs),Qa=Xa=null)}function fs(t){if(t.propertyName==="value"&&Lu(Qa)){var l=[];as(l,Qa,t,fc(t)),Jf(Gm,l)}}function Lm(t,l,e){t==="focusin"?(is(),Xa=l,Qa=e,Xa.attachEvent("onpropertychange",fs)):t==="focusout"&&is()}function Xm(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Lu(Qa)}function Qm(t,l){if(t==="click")return Lu(l)}function Zm(t,l){if(t==="input"||t==="change")return Lu(l)}function Vm(t,l){return t===l&&(t!==0||1/t===1/l)||t!==t&&l!==l}var ol=typeof Object.is=="function"?Object.is:Vm;function Za(t,l){if(ol(t,l))return!0;if(typeof t!="object"||t===null||typeof l!="object"||l===null)return!1;var e=Object.keys(t),a=Object.keys(l);if(e.length!==a.length)return!1;for(a=0;a<e.length;a++){var u=e[a];if(!$n.call(l,u)||!ol(t[u],l[u]))return!1}return!0}function ss(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function os(t,l){var e=ss(t);t=0;for(var a;e;){if(e.nodeType===3){if(a=t+e.textContent.length,t<=l&&a>=l)return{node:e,offset:l-t};t=a}t:{for(;e;){if(e.nextSibling){e=e.nextSibling;break t}e=e.parentNode}e=void 0}e=ss(e)}}function rs(t,l){return t&&l?t===l?!0:t&&t.nodeType===3?!1:l&&l.nodeType===3?rs(t,l.parentNode):"contains"in t?t.contains(l):t.compareDocumentPosition?!!(t.compareDocumentPosition(l)&16):!1:!1}function ds(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var l=Uu(t.document);l instanceof t.HTMLIFrameElement;){try{var e=typeof l.contentWindow.location.href=="string"}catch{e=!1}if(e)t=l.contentWindow;else break;l=Uu(t.document)}return l}function Sc(t){var l=t&&t.nodeName&&t.nodeName.toLowerCase();return l&&(l==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||l==="textarea"||t.contentEditable==="true")}var Jm=Ll&&"documentMode"in document&&11>=document.documentMode,ea=null,pc=null,Va=null,xc=!1;function ms(t,l,e){var a=e.window===e?e.document:e.nodeType===9?e:e.ownerDocument;xc||ea==null||ea!==Uu(a)||(a=ea,"selectionStart"in a&&Sc(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}),Va&&Za(Va,a)||(Va=a,a=jn(pc,"onSelect"),0<a.length&&(l=new Yu("onSelect","select",null,l,e),t.push({event:l,listeners:a}),l.target=ea)))}function De(t,l){var e={};return e[t.toLowerCase()]=l.toLowerCase(),e["Webkit"+t]="webkit"+l,e["Moz"+t]="moz"+l,e}var aa={animationend:De("Animation","AnimationEnd"),animationiteration:De("Animation","AnimationIteration"),animationstart:De("Animation","AnimationStart"),transitionrun:De("Transition","TransitionRun"),transitionstart:De("Transition","TransitionStart"),transitioncancel:De("Transition","TransitionCancel"),transitionend:De("Transition","TransitionEnd")},Tc={},hs={};Ll&&(hs=document.createElement("div").style,"AnimationEvent"in window||(delete aa.animationend.animation,delete aa.animationiteration.animation,delete aa.animationstart.animation),"TransitionEvent"in window||delete aa.transitionend.transition);function Ce(t){if(Tc[t])return Tc[t];if(!aa[t])return t;var l=aa[t],e;for(e in l)if(l.hasOwnProperty(e)&&e in hs)return Tc[t]=l[e];return t}var ys=Ce("animationend"),vs=Ce("animationiteration"),gs=Ce("animationstart"),Km=Ce("transitionrun"),wm=Ce("transitionstart"),km=Ce("transitioncancel"),bs=Ce("transitionend"),Ss=new Map,Ec="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(" ");Ec.push("scrollEnd");function Ml(t,l){Ss.set(t,l),je(l,[t])}var Xu=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},xl=[],ua=0,zc=0;function Qu(){for(var t=ua,l=zc=ua=0;l<t;){var e=xl[l];xl[l++]=null;var a=xl[l];xl[l++]=null;var u=xl[l];xl[l++]=null;var n=xl[l];if(xl[l++]=null,a!==null&&u!==null){var c=a.pending;c===null?u.next=u:(u.next=c.next,c.next=u),a.pending=u}n!==0&&ps(e,u,n)}}function Zu(t,l,e,a){xl[ua++]=t,xl[ua++]=l,xl[ua++]=e,xl[ua++]=a,zc|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function _c(t,l,e,a){return Zu(t,l,e,a),Vu(t)}function Ue(t,l){return Zu(t,null,null,l),Vu(t)}function ps(t,l,e){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e);for(var u=!1,n=t.return;n!==null;)n.childLanes|=e,a=n.alternate,a!==null&&(a.childLanes|=e),n.tag===22&&(t=n.stateNode,t===null||t._visibility&1||(u=!0)),t=n,n=n.return;return t.tag===3?(n=t.stateNode,u&&l!==null&&(u=31-sl(e),t=n.hiddenUpdates,a=t[u],a===null?t[u]=[l]:a.push(l),l.lane=e|536870912),n):null}function Vu(t){if(50<du)throw du=0,Ri=null,Error(o(185));for(var l=t.return;l!==null;)t=l,l=t.return;return t.tag===3?t.stateNode:null}var na={};function $m(t,l,e,a){this.tag=t,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=l,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 rl(t,l,e,a){return new $m(t,l,e,a)}function Ac(t){return t=t.prototype,!(!t||!t.isReactComponent)}function Xl(t,l){var e=t.alternate;return e===null?(e=rl(t.tag,l,t.key,t.mode),e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.alternate=t,t.alternate=e):(e.pendingProps=l,e.type=t.type,e.flags=0,e.subtreeFlags=0,e.deletions=null),e.flags=t.flags&65011712,e.childLanes=t.childLanes,e.lanes=t.lanes,e.child=t.child,e.memoizedProps=t.memoizedProps,e.memoizedState=t.memoizedState,e.updateQueue=t.updateQueue,l=t.dependencies,e.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.refCleanup=t.refCleanup,e}function xs(t,l){t.flags&=65011714;var e=t.alternate;return e===null?(t.childLanes=0,t.lanes=l,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,t.type=e.type,l=e.dependencies,t.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),t}function Ju(t,l,e,a,u,n){var c=0;if(a=t,typeof t=="function")Ac(t)&&(c=1);else if(typeof t=="string")c=t0(t,e,G.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case kt:return t=rl(31,e,l,u),t.elementType=kt,t.lanes=n,t;case gt:return Re(e.children,u,n,l);case w:c=8,u|=24;break;case pt:return t=rl(12,e,l,u|2),t.elementType=pt,t.lanes=n,t;case It:return t=rl(13,e,l,u),t.elementType=It,t.lanes=n,t;case Xt:return t=rl(19,e,l,u),t.elementType=Xt,t.lanes=n,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Ot:c=10;break t;case ct:c=9;break t;case Lt:c=11;break t;case I:c=14;break t;case Qt:c=16,a=null;break t}c=29,e=Error(o(130,t===null?"null":typeof t,"")),a=null}return l=rl(c,e,l,u),l.elementType=t,l.type=a,l.lanes=n,l}function Re(t,l,e,a){return t=rl(7,t,a,l),t.lanes=e,t}function Oc(t,l,e){return t=rl(6,t,null,l),t.lanes=e,t}function Ts(t){var l=rl(18,null,null,0);return l.stateNode=t,l}function Nc(t,l,e){return l=rl(4,t.children!==null?t.children:[],t.key,l),l.lanes=e,l.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},l}var Es=new WeakMap;function Tl(t,l){if(typeof t=="object"&&t!==null){var e=Es.get(t);return e!==void 0?e:(l={value:t,source:l,stack:Tf(l)},Es.set(t,l),l)}return{value:t,source:l,stack:Tf(l)}}var ca=[],ia=0,Ku=null,Ja=0,El=[],zl=0,ne=null,Rl=1,Hl="";function Ql(t,l){ca[ia++]=Ja,ca[ia++]=Ku,Ku=t,Ja=l}function zs(t,l,e){El[zl++]=Rl,El[zl++]=Hl,El[zl++]=ne,ne=t;var a=Rl;t=Hl;var u=32-sl(a)-1;a&=~(1<<u),e+=1;var n=32-sl(l)+u;if(30<n){var c=u-u%5;n=(a&(1<<c)-1).toString(32),a>>=c,u-=c,Rl=1<<32-sl(l)+u|e<<u|a,Hl=n+t}else Rl=1<<n|e<<u|a,Hl=t}function jc(t){t.return!==null&&(Ql(t,1),zs(t,1,0))}function Mc(t){for(;t===Ku;)Ku=ca[--ia],ca[ia]=null,Ja=ca[--ia],ca[ia]=null;for(;t===ne;)ne=El[--zl],El[zl]=null,Hl=El[--zl],El[zl]=null,Rl=El[--zl],El[zl]=null}function _s(t,l){El[zl++]=Rl,El[zl++]=Hl,El[zl++]=ne,Rl=l.id,Hl=l.overflow,ne=t}var Vt=null,xt=null,nt=!1,ce=null,_l=!1,Dc=Error(o(519));function ie(t){var l=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ka(Tl(l,t)),Dc}function As(t){var l=t.stateNode,e=t.type,a=t.memoizedProps;switch(l[Zt]=t,l[tl]=a,e){case"dialog":lt("cancel",l),lt("close",l);break;case"iframe":case"object":case"embed":lt("load",l);break;case"video":case"audio":for(e=0;e<hu.length;e++)lt(hu[e],l);break;case"source":lt("error",l);break;case"img":case"image":case"link":lt("error",l),lt("load",l);break;case"details":lt("toggle",l);break;case"input":lt("invalid",l),Gf(l,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":lt("invalid",l);break;case"textarea":lt("invalid",l),Xf(l,a.value,a.defaultValue,a.children)}e=a.children,typeof e!="string"&&typeof e!="number"&&typeof e!="bigint"||l.textContent===""+e||a.suppressHydrationWarning===!0||Vr(l.textContent,e)?(a.popover!=null&&(lt("beforetoggle",l),lt("toggle",l)),a.onScroll!=null&&lt("scroll",l),a.onScrollEnd!=null&&lt("scrollend",l),a.onClick!=null&&(l.onclick=Gl),l=!0):l=!1,l||ie(t,!0)}function Os(t){for(Vt=t.return;Vt;)switch(Vt.tag){case 5:case 31:case 13:_l=!1;return;case 27:case 3:_l=!0;return;default:Vt=Vt.return}}function fa(t){if(t!==Vt)return!1;if(!nt)return Os(t),nt=!0,!1;var l=t.tag,e;if((e=l!==3&&l!==27)&&((e=l===5)&&(e=t.type,e=!(e!=="form"&&e!=="button")||$i(t.type,t.memoizedProps)),e=!e),e&&xt&&ie(t),Os(t),l===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));xt=Pr(t)}else if(l===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(317));xt=Pr(t)}else l===27?(l=xt,xe(t.type)?(t=tf,tf=null,xt=t):xt=l):xt=Vt?Ol(t.stateNode.nextSibling):null;return!0}function He(){xt=Vt=null,nt=!1}function Cc(){var t=ce;return t!==null&&(nl===null?nl=t:nl.push.apply(nl,t),ce=null),t}function Ka(t){ce===null?ce=[t]:ce.push(t)}var Uc=m(null),qe=null,Zl=null;function fe(t,l,e){R(Uc,l._currentValue),l._currentValue=e}function Vl(t){t._currentValue=Uc.current,A(Uc)}function Rc(t,l,e){for(;t!==null;){var a=t.alternate;if((t.childLanes&l)!==l?(t.childLanes|=l,a!==null&&(a.childLanes|=l)):a!==null&&(a.childLanes&l)!==l&&(a.childLanes|=l),t===e)break;t=t.return}}function Hc(t,l,e,a){var u=t.child;for(u!==null&&(u.return=t);u!==null;){var n=u.dependencies;if(n!==null){var c=u.child;n=n.firstContext;t:for(;n!==null;){var i=n;n=u;for(var s=0;s<l.length;s++)if(i.context===l[s]){n.lanes|=e,i=n.alternate,i!==null&&(i.lanes|=e),Rc(n.return,e,t),a||(c=null);break t}n=i.next}}else if(u.tag===18){if(c=u.return,c===null)throw Error(o(341));c.lanes|=e,n=c.alternate,n!==null&&(n.lanes|=e),Rc(c,e,t),c=null}else c=u.child;if(c!==null)c.return=u;else for(c=u;c!==null;){if(c===t){c=null;break}if(u=c.sibling,u!==null){u.return=c.return,c=u;break}c=c.return}u=c}}function sa(t,l,e,a){t=null;for(var u=l,n=!1;u!==null;){if(!n){if((u.flags&524288)!==0)n=!0;else if((u.flags&262144)!==0)break}if(u.tag===10){var c=u.alternate;if(c===null)throw Error(o(387));if(c=c.memoizedProps,c!==null){var i=u.type;ol(u.pendingProps.value,c.value)||(t!==null?t.push(i):t=[i])}}else if(u===ot.current){if(c=u.alternate,c===null)throw Error(o(387));c.memoizedState.memoizedState!==u.memoizedState.memoizedState&&(t!==null?t.push(Su):t=[Su])}u=u.return}t!==null&&Hc(l,t,e,a),l.flags|=262144}function wu(t){for(t=t.firstContext;t!==null;){if(!ol(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function Be(t){qe=t,Zl=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Jt(t){return Ns(qe,t)}function ku(t,l){return qe===null&&Be(t),Ns(t,l)}function Ns(t,l){var e=l._currentValue;if(l={context:l,memoizedValue:e,next:null},Zl===null){if(t===null)throw Error(o(308));Zl=l,t.dependencies={lanes:0,firstContext:l},t.flags|=524288}else Zl=Zl.next=l;return e}var Wm=typeof AbortController<"u"?AbortController:function(){var t=[],l=this.signal={aborted:!1,addEventListener:function(e,a){t.push(a)}};this.abort=function(){l.aborted=!0,t.forEach(function(e){return e()})}},Fm=f.unstable_scheduleCallback,Im=f.unstable_NormalPriority,Ut={$$typeof:Ot,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function qc(){return{controller:new Wm,data:new Map,refCount:0}}function wa(t){t.refCount--,t.refCount===0&&Fm(Im,function(){t.controller.abort()})}var ka=null,Bc=0,oa=0,ra=null;function Pm(t,l){if(ka===null){var e=ka=[];Bc=0,oa=Li(),ra={status:"pending",value:void 0,then:function(a){e.push(a)}}}return Bc++,l.then(js,js),l}function js(){if(--Bc===0&&ka!==null){ra!==null&&(ra.status="fulfilled");var t=ka;ka=null,oa=0,ra=null;for(var l=0;l<t.length;l++)(0,t[l])()}}function th(t,l){var e=[],a={status:"pending",value:null,reason:null,then:function(u){e.push(u)}};return t.then(function(){a.status="fulfilled",a.value=l;for(var u=0;u<e.length;u++)(0,e[u])(l)},function(u){for(a.status="rejected",a.reason=u,u=0;u<e.length;u++)(0,e[u])(void 0)}),a}var Ms=E.S;E.S=function(t,l){hr=il(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&Pm(t,l),Ms!==null&&Ms(t,l)};var Ye=m(null);function Yc(){var t=Ye.current;return t!==null?t:St.pooledCache}function $u(t,l){l===null?R(Ye,Ye.current):R(Ye,l.pool)}function Ds(){var t=Yc();return t===null?null:{parent:Ut._currentValue,pool:t}}var da=Error(o(460)),Gc=Error(o(474)),Wu=Error(o(542)),Fu={then:function(){}};function Cs(t){return t=t.status,t==="fulfilled"||t==="rejected"}function Us(t,l,e){switch(e=t[e],e===void 0?t.push(l):e!==l&&(l.then(Gl,Gl),l=e),l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,Hs(t),t;default:if(typeof l.status=="string")l.then(Gl,Gl);else{if(t=St,t!==null&&100<t.shellSuspendCounter)throw Error(o(482));t=l,t.status="pending",t.then(function(a){if(l.status==="pending"){var u=l;u.status="fulfilled",u.value=a}},function(a){if(l.status==="pending"){var u=l;u.status="rejected",u.reason=a}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw t=l.reason,Hs(t),t}throw Le=l,da}}function Ge(t){try{var l=t._init;return l(t._payload)}catch(e){throw e!==null&&typeof e=="object"&&typeof e.then=="function"?(Le=e,da):e}}var Le=null;function Rs(){if(Le===null)throw Error(o(459));var t=Le;return Le=null,t}function Hs(t){if(t===da||t===Wu)throw Error(o(483))}var ma=null,$a=0;function Iu(t){var l=$a;return $a+=1,ma===null&&(ma=[]),Us(ma,t,l)}function Wa(t,l){l=l.props.ref,t.ref=l!==void 0?l:null}function Pu(t,l){throw l.$$typeof===q?Error(o(525)):(t=Object.prototype.toString.call(l),Error(o(31,t==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":t)))}function qs(t){function l(h,d){if(t){var v=h.deletions;v===null?(h.deletions=[d],h.flags|=16):v.push(d)}}function e(h,d){if(!t)return null;for(;d!==null;)l(h,d),d=d.sibling;return null}function a(h){for(var d=new Map;h!==null;)h.key!==null?d.set(h.key,h):d.set(h.index,h),h=h.sibling;return d}function u(h,d){return h=Xl(h,d),h.index=0,h.sibling=null,h}function n(h,d,v){return h.index=v,t?(v=h.alternate,v!==null?(v=v.index,v<d?(h.flags|=67108866,d):v):(h.flags|=67108866,d)):(h.flags|=1048576,d)}function c(h){return t&&h.alternate===null&&(h.flags|=67108866),h}function i(h,d,v,z){return d===null||d.tag!==6?(d=Oc(v,h.mode,z),d.return=h,d):(d=u(d,v),d.return=h,d)}function s(h,d,v,z){var Q=v.type;return Q===gt?T(h,d,v.props.children,z,v.key):d!==null&&(d.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===Qt&&Ge(Q)===d.type)?(d=u(d,v.props),Wa(d,v),d.return=h,d):(d=Ju(v.type,v.key,v.props,null,h.mode,z),Wa(d,v),d.return=h,d)}function g(h,d,v,z){return d===null||d.tag!==4||d.stateNode.containerInfo!==v.containerInfo||d.stateNode.implementation!==v.implementation?(d=Nc(v,h.mode,z),d.return=h,d):(d=u(d,v.children||[]),d.return=h,d)}function T(h,d,v,z,Q){return d===null||d.tag!==7?(d=Re(v,h.mode,z,Q),d.return=h,d):(d=u(d,v),d.return=h,d)}function _(h,d,v){if(typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint")return d=Oc(""+d,h.mode,v),d.return=h,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case et:return v=Ju(d.type,d.key,d.props,null,h.mode,v),Wa(v,d),v.return=h,v;case F:return d=Nc(d,h.mode,v),d.return=h,d;case Qt:return d=Ge(d),_(h,d,v)}if(Pt(d)||Z(d))return d=Re(d,h.mode,v,null),d.return=h,d;if(typeof d.then=="function")return _(h,Iu(d),v);if(d.$$typeof===Ot)return _(h,ku(h,d),v);Pu(h,d)}return null}function b(h,d,v,z){var Q=d!==null?d.key:null;if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return Q!==null?null:i(h,d,""+v,z);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case et:return v.key===Q?s(h,d,v,z):null;case F:return v.key===Q?g(h,d,v,z):null;case Qt:return v=Ge(v),b(h,d,v,z)}if(Pt(v)||Z(v))return Q!==null?null:T(h,d,v,z,null);if(typeof v.then=="function")return b(h,d,Iu(v),z);if(v.$$typeof===Ot)return b(h,d,ku(h,v),z);Pu(h,v)}return null}function x(h,d,v,z,Q){if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return h=h.get(v)||null,i(d,h,""+z,Q);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case et:return h=h.get(z.key===null?v:z.key)||null,s(d,h,z,Q);case F:return h=h.get(z.key===null?v:z.key)||null,g(d,h,z,Q);case Qt:return z=Ge(z),x(h,d,v,z,Q)}if(Pt(z)||Z(z))return h=h.get(v)||null,T(d,h,z,Q,null);if(typeof z.then=="function")return x(h,d,v,Iu(z),Q);if(z.$$typeof===Ot)return x(h,d,v,ku(d,z),Q);Pu(d,z)}return null}function Y(h,d,v,z){for(var Q=null,it=null,L=d,W=d=0,ut=null;L!==null&&W<v.length;W++){L.index>W?(ut=L,L=null):ut=L.sibling;var ft=b(h,L,v[W],z);if(ft===null){L===null&&(L=ut);break}t&&L&&ft.alternate===null&&l(h,L),d=n(ft,d,W),it===null?Q=ft:it.sibling=ft,it=ft,L=ut}if(W===v.length)return e(h,L),nt&&Ql(h,W),Q;if(L===null){for(;W<v.length;W++)L=_(h,v[W],z),L!==null&&(d=n(L,d,W),it===null?Q=L:it.sibling=L,it=L);return nt&&Ql(h,W),Q}for(L=a(L);W<v.length;W++)ut=x(L,h,W,v[W],z),ut!==null&&(t&&ut.alternate!==null&&L.delete(ut.key===null?W:ut.key),d=n(ut,d,W),it===null?Q=ut:it.sibling=ut,it=ut);return t&&L.forEach(function(Ae){return l(h,Ae)}),nt&&Ql(h,W),Q}function V(h,d,v,z){if(v==null)throw Error(o(151));for(var Q=null,it=null,L=d,W=d=0,ut=null,ft=v.next();L!==null&&!ft.done;W++,ft=v.next()){L.index>W?(ut=L,L=null):ut=L.sibling;var Ae=b(h,L,ft.value,z);if(Ae===null){L===null&&(L=ut);break}t&&L&&Ae.alternate===null&&l(h,L),d=n(Ae,d,W),it===null?Q=Ae:it.sibling=Ae,it=Ae,L=ut}if(ft.done)return e(h,L),nt&&Ql(h,W),Q;if(L===null){for(;!ft.done;W++,ft=v.next())ft=_(h,ft.value,z),ft!==null&&(d=n(ft,d,W),it===null?Q=ft:it.sibling=ft,it=ft);return nt&&Ql(h,W),Q}for(L=a(L);!ft.done;W++,ft=v.next())ft=x(L,h,W,ft.value,z),ft!==null&&(t&&ft.alternate!==null&&L.delete(ft.key===null?W:ft.key),d=n(ft,d,W),it===null?Q=ft:it.sibling=ft,it=ft);return t&&L.forEach(function(r0){return l(h,r0)}),nt&&Ql(h,W),Q}function vt(h,d,v,z){if(typeof v=="object"&&v!==null&&v.type===gt&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case et:t:{for(var Q=v.key;d!==null;){if(d.key===Q){if(Q=v.type,Q===gt){if(d.tag===7){e(h,d.sibling),z=u(d,v.props.children),z.return=h,h=z;break t}}else if(d.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===Qt&&Ge(Q)===d.type){e(h,d.sibling),z=u(d,v.props),Wa(z,v),z.return=h,h=z;break t}e(h,d);break}else l(h,d);d=d.sibling}v.type===gt?(z=Re(v.props.children,h.mode,z,v.key),z.return=h,h=z):(z=Ju(v.type,v.key,v.props,null,h.mode,z),Wa(z,v),z.return=h,h=z)}return c(h);case F:t:{for(Q=v.key;d!==null;){if(d.key===Q)if(d.tag===4&&d.stateNode.containerInfo===v.containerInfo&&d.stateNode.implementation===v.implementation){e(h,d.sibling),z=u(d,v.children||[]),z.return=h,h=z;break t}else{e(h,d);break}else l(h,d);d=d.sibling}z=Nc(v,h.mode,z),z.return=h,h=z}return c(h);case Qt:return v=Ge(v),vt(h,d,v,z)}if(Pt(v))return Y(h,d,v,z);if(Z(v)){if(Q=Z(v),typeof Q!="function")throw Error(o(150));return v=Q.call(v),V(h,d,v,z)}if(typeof v.then=="function")return vt(h,d,Iu(v),z);if(v.$$typeof===Ot)return vt(h,d,ku(h,v),z);Pu(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,d!==null&&d.tag===6?(e(h,d.sibling),z=u(d,v),z.return=h,h=z):(e(h,d),z=Oc(v,h.mode,z),z.return=h,h=z),c(h)):e(h,d)}return function(h,d,v,z){try{$a=0;var Q=vt(h,d,v,z);return ma=null,Q}catch(L){if(L===da||L===Wu)throw L;var it=rl(29,L,null,h.mode);return it.lanes=z,it.return=h,it}finally{}}}var Xe=qs(!0),Bs=qs(!1),se=!1;function Lc(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Xc(t,l){t=t.updateQueue,l.updateQueue===t&&(l.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function oe(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function re(t,l,e){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(st&2)!==0){var u=a.pending;return u===null?l.next=l:(l.next=u.next,u.next=l),a.pending=l,l=Vu(t),ps(t,null,e),l}return Zu(t,a,l,e),Vu(t)}function Fa(t,l,e){if(l=l.updateQueue,l!==null&&(l=l.shared,(e&4194048)!==0)){var a=l.lanes;a&=t.pendingLanes,e|=a,l.lanes=e,Nf(t,e)}}function Qc(t,l){var e=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,e===a)){var u=null,n=null;if(e=e.firstBaseUpdate,e!==null){do{var c={lane:e.lane,tag:e.tag,payload:e.payload,callback:null,next:null};n===null?u=n=c:n=n.next=c,e=e.next}while(e!==null);n===null?u=n=l:n=n.next=l}else u=n=l;e={baseState:a.baseState,firstBaseUpdate:u,lastBaseUpdate:n,shared:a.shared,callbacks:a.callbacks},t.updateQueue=e;return}t=e.lastBaseUpdate,t===null?e.firstBaseUpdate=l:t.next=l,e.lastBaseUpdate=l}var Zc=!1;function Ia(){if(Zc){var t=ra;if(t!==null)throw t}}function Pa(t,l,e,a){Zc=!1;var u=t.updateQueue;se=!1;var n=u.firstBaseUpdate,c=u.lastBaseUpdate,i=u.shared.pending;if(i!==null){u.shared.pending=null;var s=i,g=s.next;s.next=null,c===null?n=g:c.next=g,c=s;var T=t.alternate;T!==null&&(T=T.updateQueue,i=T.lastBaseUpdate,i!==c&&(i===null?T.firstBaseUpdate=g:i.next=g,T.lastBaseUpdate=s))}if(n!==null){var _=u.baseState;c=0,T=g=s=null,i=n;do{var b=i.lane&-536870913,x=b!==i.lane;if(x?(at&b)===b:(a&b)===b){b!==0&&b===oa&&(Zc=!0),T!==null&&(T=T.next={lane:0,tag:i.tag,payload:i.payload,callback:null,next:null});t:{var Y=t,V=i;b=l;var vt=e;switch(V.tag){case 1:if(Y=V.payload,typeof Y=="function"){_=Y.call(vt,_,b);break t}_=Y;break t;case 3:Y.flags=Y.flags&-65537|128;case 0:if(Y=V.payload,b=typeof Y=="function"?Y.call(vt,_,b):Y,b==null)break t;_=j({},_,b);break t;case 2:se=!0}}b=i.callback,b!==null&&(t.flags|=64,x&&(t.flags|=8192),x=u.callbacks,x===null?u.callbacks=[b]:x.push(b))}else x={lane:b,tag:i.tag,payload:i.payload,callback:i.callback,next:null},T===null?(g=T=x,s=_):T=T.next=x,c|=b;if(i=i.next,i===null){if(i=u.shared.pending,i===null)break;x=i,i=x.next,x.next=null,u.lastBaseUpdate=x,u.shared.pending=null}}while(!0);T===null&&(s=_),u.baseState=s,u.firstBaseUpdate=g,u.lastBaseUpdate=T,n===null&&(u.shared.lanes=0),ve|=c,t.lanes=c,t.memoizedState=_}}function Ys(t,l){if(typeof t!="function")throw Error(o(191,t));t.call(l)}function Gs(t,l){var e=t.callbacks;if(e!==null)for(t.callbacks=null,t=0;t<e.length;t++)Ys(e[t],l)}var ha=m(null),tn=m(0);function Ls(t,l){t=Pl,R(tn,t),R(ha,l),Pl=t|l.baseLanes}function Vc(){R(tn,Pl),R(ha,ha.current)}function Jc(){Pl=tn.current,A(ha),A(tn)}var dl=m(null),Al=null;function de(t){var l=t.alternate;R(Dt,Dt.current&1),R(dl,t),Al===null&&(l===null||ha.current!==null||l.memoizedState!==null)&&(Al=t)}function Kc(t){R(Dt,Dt.current),R(dl,t),Al===null&&(Al=t)}function Xs(t){t.tag===22?(R(Dt,Dt.current),R(dl,t),Al===null&&(Al=t)):me()}function me(){R(Dt,Dt.current),R(dl,dl.current)}function ml(t){A(dl),Al===t&&(Al=null),A(Dt)}var Dt=m(0);function ln(t){for(var l=t;l!==null;){if(l.tag===13){var e=l.memoizedState;if(e!==null&&(e=e.dehydrated,e===null||Ii(e)||Pi(e)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break;for(;l.sibling===null;){if(l.return===null||l.return===t)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Jl=0,$=null,ht=null,Rt=null,en=!1,ya=!1,Qe=!1,an=0,tu=0,va=null,lh=0;function zt(){throw Error(o(321))}function wc(t,l){if(l===null)return!1;for(var e=0;e<l.length&&e<t.length;e++)if(!ol(t[e],l[e]))return!1;return!0}function kc(t,l,e,a,u,n){return Jl=n,$=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,E.H=t===null||t.memoizedState===null?_o:si,Qe=!1,n=e(a,u),Qe=!1,ya&&(n=Zs(l,e,a,u)),Qs(t),n}function Qs(t){E.H=au;var l=ht!==null&&ht.next!==null;if(Jl=0,Rt=ht=$=null,en=!1,tu=0,va=null,l)throw Error(o(300));t===null||Ht||(t=t.dependencies,t!==null&&wu(t)&&(Ht=!0))}function Zs(t,l,e,a){$=t;var u=0;do{if(ya&&(va=null),tu=0,ya=!1,25<=u)throw Error(o(301));if(u+=1,Rt=ht=null,t.updateQueue!=null){var n=t.updateQueue;n.lastEffect=null,n.events=null,n.stores=null,n.memoCache!=null&&(n.memoCache.index=0)}E.H=Ao,n=l(e,a)}while(ya);return n}function eh(){var t=E.H,l=t.useState()[0];return l=typeof l.then=="function"?lu(l):l,t=t.useState()[0],(ht!==null?ht.memoizedState:null)!==t&&($.flags|=1024),l}function $c(){var t=an!==0;return an=0,t}function Wc(t,l,e){l.updateQueue=t.updateQueue,l.flags&=-2053,t.lanes&=~e}function Fc(t){if(en){for(t=t.memoizedState;t!==null;){var l=t.queue;l!==null&&(l.pending=null),t=t.next}en=!1}Jl=0,Rt=ht=$=null,ya=!1,tu=an=0,va=null}function Ft(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Rt===null?$.memoizedState=Rt=t:Rt=Rt.next=t,Rt}function Ct(){if(ht===null){var t=$.alternate;t=t!==null?t.memoizedState:null}else t=ht.next;var l=Rt===null?$.memoizedState:Rt.next;if(l!==null)Rt=l,ht=t;else{if(t===null)throw $.alternate===null?Error(o(467)):Error(o(310));ht=t,t={memoizedState:ht.memoizedState,baseState:ht.baseState,baseQueue:ht.baseQueue,queue:ht.queue,next:null},Rt===null?$.memoizedState=Rt=t:Rt=Rt.next=t}return Rt}function un(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function lu(t){var l=tu;return tu+=1,va===null&&(va=[]),t=Us(va,t,l),l=$,(Rt===null?l.memoizedState:Rt.next)===null&&(l=l.alternate,E.H=l===null||l.memoizedState===null?_o:si),t}function nn(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return lu(t);if(t.$$typeof===Ot)return Jt(t)}throw Error(o(438,String(t)))}function Ic(t){var l=null,e=$.updateQueue;if(e!==null&&(l=e.memoCache),l==null){var a=$.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(l={data:a.data.map(function(u){return u.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),e===null&&(e=un(),$.updateQueue=e),e.memoCache=l,e=l.data[l.index],e===void 0)for(e=l.data[l.index]=Array(t),a=0;a<t;a++)e[a]=jl;return l.index++,e}function Kl(t,l){return typeof l=="function"?l(t):l}function cn(t){var l=Ct();return Pc(l,ht,t)}function Pc(t,l,e){var a=t.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=e;var u=t.baseQueue,n=a.pending;if(n!==null){if(u!==null){var c=u.next;u.next=n.next,n.next=c}l.baseQueue=u=n,a.pending=null}if(n=t.baseState,u===null)t.memoizedState=n;else{l=u.next;var i=c=null,s=null,g=l,T=!1;do{var _=g.lane&-536870913;if(_!==g.lane?(at&_)===_:(Jl&_)===_){var b=g.revertLane;if(b===0)s!==null&&(s=s.next={lane:0,revertLane:0,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null}),_===oa&&(T=!0);else if((Jl&b)===b){g=g.next,b===oa&&(T=!0);continue}else _={lane:0,revertLane:g.revertLane,gesture:null,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},s===null?(i=s=_,c=n):s=s.next=_,$.lanes|=b,ve|=b;_=g.action,Qe&&e(n,_),n=g.hasEagerState?g.eagerState:e(n,_)}else b={lane:_,revertLane:g.revertLane,gesture:g.gesture,action:g.action,hasEagerState:g.hasEagerState,eagerState:g.eagerState,next:null},s===null?(i=s=b,c=n):s=s.next=b,$.lanes|=_,ve|=_;g=g.next}while(g!==null&&g!==l);if(s===null?c=n:s.next=i,!ol(n,t.memoizedState)&&(Ht=!0,T&&(e=ra,e!==null)))throw e;t.memoizedState=n,t.baseState=c,t.baseQueue=s,a.lastRenderedState=n}return u===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function ti(t){var l=Ct(),e=l.queue;if(e===null)throw Error(o(311));e.lastRenderedReducer=t;var a=e.dispatch,u=e.pending,n=l.memoizedState;if(u!==null){e.pending=null;var c=u=u.next;do n=t(n,c.action),c=c.next;while(c!==u);ol(n,l.memoizedState)||(Ht=!0),l.memoizedState=n,l.baseQueue===null&&(l.baseState=n),e.lastRenderedState=n}return[n,a]}function Vs(t,l,e){var a=$,u=Ct(),n=nt;if(n){if(e===void 0)throw Error(o(407));e=e()}else e=l();var c=!ol((ht||u).memoizedState,e);if(c&&(u.memoizedState=e,Ht=!0),u=u.queue,ai(ws.bind(null,a,u,t),[t]),u.getSnapshot!==l||c||Rt!==null&&Rt.memoizedState.tag&1){if(a.flags|=2048,ga(9,{destroy:void 0},Ks.bind(null,a,u,e,l),null),St===null)throw Error(o(349));n||(Jl&127)!==0||Js(a,l,e)}return e}function Js(t,l,e){t.flags|=16384,t={getSnapshot:l,value:e},l=$.updateQueue,l===null?(l=un(),$.updateQueue=l,l.stores=[t]):(e=l.stores,e===null?l.stores=[t]:e.push(t))}function Ks(t,l,e,a){l.value=e,l.getSnapshot=a,ks(l)&&$s(t)}function ws(t,l,e){return e(function(){ks(l)&&$s(t)})}function ks(t){var l=t.getSnapshot;t=t.value;try{var e=l();return!ol(t,e)}catch{return!0}}function $s(t){var l=Ue(t,2);l!==null&&cl(l,t,2)}function li(t){var l=Ft();if(typeof t=="function"){var e=t;if(t=e(),Qe){ee(!0);try{e()}finally{ee(!1)}}}return l.memoizedState=l.baseState=t,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kl,lastRenderedState:t},l}function Ws(t,l,e,a){return t.baseState=e,Pc(t,ht,typeof a=="function"?a:Kl)}function ah(t,l,e,a,u){if(on(t))throw Error(o(485));if(t=l.action,t!==null){var n={payload:u,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){n.listeners.push(c)}};E.T!==null?e(!0):n.isTransition=!1,a(n),e=l.pending,e===null?(n.next=l.pending=n,Fs(l,n)):(n.next=e.next,l.pending=e.next=n)}}function Fs(t,l){var e=l.action,a=l.payload,u=t.state;if(l.isTransition){var n=E.T,c={};E.T=c;try{var i=e(u,a),s=E.S;s!==null&&s(c,i),Is(t,l,i)}catch(g){ei(t,l,g)}finally{n!==null&&c.types!==null&&(n.types=c.types),E.T=n}}else try{n=e(u,a),Is(t,l,n)}catch(g){ei(t,l,g)}}function Is(t,l,e){e!==null&&typeof e=="object"&&typeof e.then=="function"?e.then(function(a){Ps(t,l,a)},function(a){return ei(t,l,a)}):Ps(t,l,e)}function Ps(t,l,e){l.status="fulfilled",l.value=e,to(l),t.state=e,l=t.pending,l!==null&&(e=l.next,e===l?t.pending=null:(e=e.next,l.next=e,Fs(t,e)))}function ei(t,l,e){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do l.status="rejected",l.reason=e,to(l),l=l.next;while(l!==a)}t.action=null}function to(t){t=t.listeners;for(var l=0;l<t.length;l++)(0,t[l])()}function lo(t,l){return l}function eo(t,l){if(nt){var e=St.formState;if(e!==null){t:{var a=$;if(nt){if(xt){l:{for(var u=xt,n=_l;u.nodeType!==8;){if(!n){u=null;break l}if(u=Ol(u.nextSibling),u===null){u=null;break l}}n=u.data,u=n==="F!"||n==="F"?u:null}if(u){xt=Ol(u.nextSibling),a=u.data==="F!";break t}}ie(a)}a=!1}a&&(l=e[0])}}return e=Ft(),e.memoizedState=e.baseState=l,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:lo,lastRenderedState:l},e.queue=a,e=To.bind(null,$,a),a.dispatch=e,a=li(!1),n=fi.bind(null,$,!1,a.queue),a=Ft(),u={state:l,dispatch:null,action:t,pending:null},a.queue=u,e=ah.bind(null,$,u,n,e),u.dispatch=e,a.memoizedState=t,[l,e,!1]}function ao(t){var l=Ct();return uo(l,ht,t)}function uo(t,l,e){if(l=Pc(t,l,lo)[0],t=cn(Kl)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var a=lu(l)}catch(c){throw c===da?Wu:c}else a=l;l=Ct();var u=l.queue,n=u.dispatch;return e!==l.memoizedState&&($.flags|=2048,ga(9,{destroy:void 0},uh.bind(null,u,e),null)),[a,n,t]}function uh(t,l){t.action=l}function no(t){var l=Ct(),e=ht;if(e!==null)return uo(l,e,t);Ct(),l=l.memoizedState,e=Ct();var a=e.queue.dispatch;return e.memoizedState=t,[l,a,!1]}function ga(t,l,e,a){return t={tag:t,create:e,deps:a,inst:l,next:null},l=$.updateQueue,l===null&&(l=un(),$.updateQueue=l),e=l.lastEffect,e===null?l.lastEffect=t.next=t:(a=e.next,e.next=t,t.next=a,l.lastEffect=t),t}function co(){return Ct().memoizedState}function fn(t,l,e,a){var u=Ft();$.flags|=t,u.memoizedState=ga(1|l,{destroy:void 0},e,a===void 0?null:a)}function sn(t,l,e,a){var u=Ct();a=a===void 0?null:a;var n=u.memoizedState.inst;ht!==null&&a!==null&&wc(a,ht.memoizedState.deps)?u.memoizedState=ga(l,n,e,a):($.flags|=t,u.memoizedState=ga(1|l,n,e,a))}function io(t,l){fn(8390656,8,t,l)}function ai(t,l){sn(2048,8,t,l)}function nh(t){$.flags|=4;var l=$.updateQueue;if(l===null)l=un(),$.updateQueue=l,l.events=[t];else{var e=l.events;e===null?l.events=[t]:e.push(t)}}function fo(t){var l=Ct().memoizedState;return nh({ref:l,nextImpl:t}),function(){if((st&2)!==0)throw Error(o(440));return l.impl.apply(void 0,arguments)}}function so(t,l){return sn(4,2,t,l)}function oo(t,l){return sn(4,4,t,l)}function ro(t,l){if(typeof l=="function"){t=t();var e=l(t);return function(){typeof e=="function"?e():l(null)}}if(l!=null)return t=t(),l.current=t,function(){l.current=null}}function mo(t,l,e){e=e!=null?e.concat([t]):null,sn(4,4,ro.bind(null,l,t),e)}function ui(){}function ho(t,l){var e=Ct();l=l===void 0?null:l;var a=e.memoizedState;return l!==null&&wc(l,a[1])?a[0]:(e.memoizedState=[t,l],t)}function yo(t,l){var e=Ct();l=l===void 0?null:l;var a=e.memoizedState;if(l!==null&&wc(l,a[1]))return a[0];if(a=t(),Qe){ee(!0);try{t()}finally{ee(!1)}}return e.memoizedState=[a,l],a}function ni(t,l,e){return e===void 0||(Jl&1073741824)!==0&&(at&261930)===0?t.memoizedState=l:(t.memoizedState=e,t=vr(),$.lanes|=t,ve|=t,e)}function vo(t,l,e,a){return ol(e,l)?e:ha.current!==null?(t=ni(t,e,a),ol(t,l)||(Ht=!0),t):(Jl&42)===0||(Jl&1073741824)!==0&&(at&261930)===0?(Ht=!0,t.memoizedState=e):(t=vr(),$.lanes|=t,ve|=t,l)}function go(t,l,e,a,u){var n=U.p;U.p=n!==0&&8>n?n:8;var c=E.T,i={};E.T=i,fi(t,!1,l,e);try{var s=u(),g=E.S;if(g!==null&&g(i,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var T=th(s,a);eu(t,l,T,vl(t))}else eu(t,l,a,vl(t))}catch(_){eu(t,l,{then:function(){},status:"rejected",reason:_},vl())}finally{U.p=n,c!==null&&i.types!==null&&(c.types=i.types),E.T=c}}function ch(){}function ci(t,l,e,a){if(t.tag!==5)throw Error(o(476));var u=bo(t).queue;go(t,u,l,J,e===null?ch:function(){return So(t),e(a)})}function bo(t){var l=t.memoizedState;if(l!==null)return l;l={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kl,lastRenderedState:J},next:null};var e={};return l.next={memoizedState:e,baseState:e,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Kl,lastRenderedState:e},next:null},t.memoizedState=l,t=t.alternate,t!==null&&(t.memoizedState=l),l}function So(t){var l=bo(t);l.next===null&&(l=t.alternate.memoizedState),eu(t,l.next.queue,{},vl())}function ii(){return Jt(Su)}function po(){return Ct().memoizedState}function xo(){return Ct().memoizedState}function ih(t){for(var l=t.return;l!==null;){switch(l.tag){case 24:case 3:var e=vl();t=oe(e);var a=re(l,t,e);a!==null&&(cl(a,l,e),Fa(a,l,e)),l={cache:qc()},t.payload=l;return}l=l.return}}function fh(t,l,e){var a=vl();e={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null},on(t)?Eo(l,e):(e=_c(t,l,e,a),e!==null&&(cl(e,t,a),zo(e,l,a)))}function To(t,l,e){var a=vl();eu(t,l,e,a)}function eu(t,l,e,a){var u={lane:a,revertLane:0,gesture:null,action:e,hasEagerState:!1,eagerState:null,next:null};if(on(t))Eo(l,u);else{var n=t.alternate;if(t.lanes===0&&(n===null||n.lanes===0)&&(n=l.lastRenderedReducer,n!==null))try{var c=l.lastRenderedState,i=n(c,e);if(u.hasEagerState=!0,u.eagerState=i,ol(i,c))return Zu(t,l,u,0),St===null&&Qu(),!1}catch{}finally{}if(e=_c(t,l,u,a),e!==null)return cl(e,t,a),zo(e,l,a),!0}return!1}function fi(t,l,e,a){if(a={lane:2,revertLane:Li(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},on(t)){if(l)throw Error(o(479))}else l=_c(t,e,a,2),l!==null&&cl(l,t,2)}function on(t){var l=t.alternate;return t===$||l!==null&&l===$}function Eo(t,l){ya=en=!0;var e=t.pending;e===null?l.next=l:(l.next=e.next,e.next=l),t.pending=l}function zo(t,l,e){if((e&4194048)!==0){var a=l.lanes;a&=t.pendingLanes,e|=a,l.lanes=e,Nf(t,e)}}var au={readContext:Jt,use:nn,useCallback:zt,useContext:zt,useEffect:zt,useImperativeHandle:zt,useLayoutEffect:zt,useInsertionEffect:zt,useMemo:zt,useReducer:zt,useRef:zt,useState:zt,useDebugValue:zt,useDeferredValue:zt,useTransition:zt,useSyncExternalStore:zt,useId:zt,useHostTransitionStatus:zt,useFormState:zt,useActionState:zt,useOptimistic:zt,useMemoCache:zt,useCacheRefresh:zt};au.useEffectEvent=zt;var _o={readContext:Jt,use:nn,useCallback:function(t,l){return Ft().memoizedState=[t,l===void 0?null:l],t},useContext:Jt,useEffect:io,useImperativeHandle:function(t,l,e){e=e!=null?e.concat([t]):null,fn(4194308,4,ro.bind(null,l,t),e)},useLayoutEffect:function(t,l){return fn(4194308,4,t,l)},useInsertionEffect:function(t,l){fn(4,2,t,l)},useMemo:function(t,l){var e=Ft();l=l===void 0?null:l;var a=t();if(Qe){ee(!0);try{t()}finally{ee(!1)}}return e.memoizedState=[a,l],a},useReducer:function(t,l,e){var a=Ft();if(e!==void 0){var u=e(l);if(Qe){ee(!0);try{e(l)}finally{ee(!1)}}}else u=l;return a.memoizedState=a.baseState=u,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:u},a.queue=t,t=t.dispatch=fh.bind(null,$,t),[a.memoizedState,t]},useRef:function(t){var l=Ft();return t={current:t},l.memoizedState=t},useState:function(t){t=li(t);var l=t.queue,e=To.bind(null,$,l);return l.dispatch=e,[t.memoizedState,e]},useDebugValue:ui,useDeferredValue:function(t,l){var e=Ft();return ni(e,t,l)},useTransition:function(){var t=li(!1);return t=go.bind(null,$,t.queue,!0,!1),Ft().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,l,e){var a=$,u=Ft();if(nt){if(e===void 0)throw Error(o(407));e=e()}else{if(e=l(),St===null)throw Error(o(349));(at&127)!==0||Js(a,l,e)}u.memoizedState=e;var n={value:e,getSnapshot:l};return u.queue=n,io(ws.bind(null,a,n,t),[t]),a.flags|=2048,ga(9,{destroy:void 0},Ks.bind(null,a,n,e,l),null),e},useId:function(){var t=Ft(),l=St.identifierPrefix;if(nt){var e=Hl,a=Rl;e=(a&~(1<<32-sl(a)-1)).toString(32)+e,l="_"+l+"R_"+e,e=an++,0<e&&(l+="H"+e.toString(32)),l+="_"}else e=lh++,l="_"+l+"r_"+e.toString(32)+"_";return t.memoizedState=l},useHostTransitionStatus:ii,useFormState:eo,useActionState:eo,useOptimistic:function(t){var l=Ft();l.memoizedState=l.baseState=t;var e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=e,l=fi.bind(null,$,!0,e),e.dispatch=l,[t,l]},useMemoCache:Ic,useCacheRefresh:function(){return Ft().memoizedState=ih.bind(null,$)},useEffectEvent:function(t){var l=Ft(),e={impl:t};return l.memoizedState=e,function(){if((st&2)!==0)throw Error(o(440));return e.impl.apply(void 0,arguments)}}},si={readContext:Jt,use:nn,useCallback:ho,useContext:Jt,useEffect:ai,useImperativeHandle:mo,useInsertionEffect:so,useLayoutEffect:oo,useMemo:yo,useReducer:cn,useRef:co,useState:function(){return cn(Kl)},useDebugValue:ui,useDeferredValue:function(t,l){var e=Ct();return vo(e,ht.memoizedState,t,l)},useTransition:function(){var t=cn(Kl)[0],l=Ct().memoizedState;return[typeof t=="boolean"?t:lu(t),l]},useSyncExternalStore:Vs,useId:po,useHostTransitionStatus:ii,useFormState:ao,useActionState:ao,useOptimistic:function(t,l){var e=Ct();return Ws(e,ht,t,l)},useMemoCache:Ic,useCacheRefresh:xo};si.useEffectEvent=fo;var Ao={readContext:Jt,use:nn,useCallback:ho,useContext:Jt,useEffect:ai,useImperativeHandle:mo,useInsertionEffect:so,useLayoutEffect:oo,useMemo:yo,useReducer:ti,useRef:co,useState:function(){return ti(Kl)},useDebugValue:ui,useDeferredValue:function(t,l){var e=Ct();return ht===null?ni(e,t,l):vo(e,ht.memoizedState,t,l)},useTransition:function(){var t=ti(Kl)[0],l=Ct().memoizedState;return[typeof t=="boolean"?t:lu(t),l]},useSyncExternalStore:Vs,useId:po,useHostTransitionStatus:ii,useFormState:no,useActionState:no,useOptimistic:function(t,l){var e=Ct();return ht!==null?Ws(e,ht,t,l):(e.baseState=t,[t,e.queue.dispatch])},useMemoCache:Ic,useCacheRefresh:xo};Ao.useEffectEvent=fo;function oi(t,l,e,a){l=t.memoizedState,e=e(a,l),e=e==null?l:j({},l,e),t.memoizedState=e,t.lanes===0&&(t.updateQueue.baseState=e)}var ri={enqueueSetState:function(t,l,e){t=t._reactInternals;var a=vl(),u=oe(a);u.payload=l,e!=null&&(u.callback=e),l=re(t,u,a),l!==null&&(cl(l,t,a),Fa(l,t,a))},enqueueReplaceState:function(t,l,e){t=t._reactInternals;var a=vl(),u=oe(a);u.tag=1,u.payload=l,e!=null&&(u.callback=e),l=re(t,u,a),l!==null&&(cl(l,t,a),Fa(l,t,a))},enqueueForceUpdate:function(t,l){t=t._reactInternals;var e=vl(),a=oe(e);a.tag=2,l!=null&&(a.callback=l),l=re(t,a,e),l!==null&&(cl(l,t,e),Fa(l,t,e))}};function Oo(t,l,e,a,u,n,c){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,n,c):l.prototype&&l.prototype.isPureReactComponent?!Za(e,a)||!Za(u,n):!0}function No(t,l,e,a){t=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(e,a),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(e,a),l.state!==t&&ri.enqueueReplaceState(l,l.state,null)}function Ze(t,l){var e=l;if("ref"in l){e={};for(var a in l)a!=="ref"&&(e[a]=l[a])}if(t=t.defaultProps){e===l&&(e=j({},e));for(var u in t)e[u]===void 0&&(e[u]=t[u])}return e}function jo(t){Xu(t)}function Mo(t){console.error(t)}function Do(t){Xu(t)}function rn(t,l){try{var e=t.onUncaughtError;e(l.value,{componentStack:l.stack})}catch(a){setTimeout(function(){throw a})}}function Co(t,l,e){try{var a=t.onCaughtError;a(e.value,{componentStack:e.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(u){setTimeout(function(){throw u})}}function di(t,l,e){return e=oe(e),e.tag=3,e.payload={element:null},e.callback=function(){rn(t,l)},e}function Uo(t){return t=oe(t),t.tag=3,t}function Ro(t,l,e,a){var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var n=a.value;t.payload=function(){return u(n)},t.callback=function(){Co(l,e,a)}}var c=e.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(t.callback=function(){Co(l,e,a),typeof u!="function"&&(ge===null?ge=new Set([this]):ge.add(this));var i=a.stack;this.componentDidCatch(a.value,{componentStack:i!==null?i:""})})}function sh(t,l,e,a,u){if(e.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(l=e.alternate,l!==null&&sa(l,e,u,!0),e=dl.current,e!==null){switch(e.tag){case 31:case 13:return Al===null?En():e.alternate===null&&_t===0&&(_t=3),e.flags&=-257,e.flags|=65536,e.lanes=u,a===Fu?e.flags|=16384:(l=e.updateQueue,l===null?e.updateQueue=new Set([a]):l.add(a),Bi(t,a,u)),!1;case 22:return e.flags|=65536,a===Fu?e.flags|=16384:(l=e.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([a])},e.updateQueue=l):(e=l.retryQueue,e===null?l.retryQueue=new Set([a]):e.add(a)),Bi(t,a,u)),!1}throw Error(o(435,e.tag))}return Bi(t,a,u),En(),!1}if(nt)return l=dl.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=u,a!==Dc&&(t=Error(o(422),{cause:a}),Ka(Tl(t,e)))):(a!==Dc&&(l=Error(o(423),{cause:a}),Ka(Tl(l,e))),t=t.current.alternate,t.flags|=65536,u&=-u,t.lanes|=u,a=Tl(a,e),u=di(t.stateNode,a,u),Qc(t,u),_t!==4&&(_t=2)),!1;var n=Error(o(520),{cause:a});if(n=Tl(n,e),ru===null?ru=[n]:ru.push(n),_t!==4&&(_t=2),l===null)return!0;a=Tl(a,e),e=l;do{switch(e.tag){case 3:return e.flags|=65536,t=u&-u,e.lanes|=t,t=di(e.stateNode,a,t),Qc(e,t),!1;case 1:if(l=e.type,n=e.stateNode,(e.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(ge===null||!ge.has(n))))return e.flags|=65536,u&=-u,e.lanes|=u,u=Uo(u),Ro(u,t,e,a),Qc(e,u),!1}e=e.return}while(e!==null);return!1}var mi=Error(o(461)),Ht=!1;function Kt(t,l,e,a){l.child=t===null?Bs(l,null,e,a):Xe(l,t.child,e,a)}function Ho(t,l,e,a,u){e=e.render;var n=l.ref;if("ref"in a){var c={};for(var i in a)i!=="ref"&&(c[i]=a[i])}else c=a;return Be(l),a=kc(t,l,e,c,n,u),i=$c(),t!==null&&!Ht?(Wc(t,l,u),wl(t,l,u)):(nt&&i&&jc(l),l.flags|=1,Kt(t,l,a,u),l.child)}function qo(t,l,e,a,u){if(t===null){var n=e.type;return typeof n=="function"&&!Ac(n)&&n.defaultProps===void 0&&e.compare===null?(l.tag=15,l.type=n,Bo(t,l,n,a,u)):(t=Ju(e.type,null,a,l,l.mode,u),t.ref=l.ref,t.return=l,l.child=t)}if(n=t.child,!xi(t,u)){var c=n.memoizedProps;if(e=e.compare,e=e!==null?e:Za,e(c,a)&&t.ref===l.ref)return wl(t,l,u)}return l.flags|=1,t=Xl(n,a),t.ref=l.ref,t.return=l,l.child=t}function Bo(t,l,e,a,u){if(t!==null){var n=t.memoizedProps;if(Za(n,a)&&t.ref===l.ref)if(Ht=!1,l.pendingProps=a=n,xi(t,u))(t.flags&131072)!==0&&(Ht=!0);else return l.lanes=t.lanes,wl(t,l,u)}return hi(t,l,e,a,u)}function Yo(t,l,e,a){var u=a.children,n=t!==null?t.memoizedState:null;if(t===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((l.flags&128)!==0){if(n=n!==null?n.baseLanes|e:e,t!==null){for(a=l.child=t.child,u=0;a!==null;)u=u|a.lanes|a.childLanes,a=a.sibling;a=u&~n}else a=0,l.child=null;return Go(t,l,n,e,a)}if((e&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},t!==null&&$u(l,n!==null?n.cachePool:null),n!==null?Ls(l,n):Vc(),Xs(l);else return a=l.lanes=536870912,Go(t,l,n!==null?n.baseLanes|e:e,e,a)}else n!==null?($u(l,n.cachePool),Ls(l,n),me(),l.memoizedState=null):(t!==null&&$u(l,null),Vc(),me());return Kt(t,l,u,e),l.child}function uu(t,l){return t!==null&&t.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function Go(t,l,e,a,u){var n=Yc();return n=n===null?null:{parent:Ut._currentValue,pool:n},l.memoizedState={baseLanes:e,cachePool:n},t!==null&&$u(l,null),Vc(),Xs(l),t!==null&&sa(t,l,a,!0),l.childLanes=u,null}function dn(t,l){return l=hn({mode:l.mode,children:l.children},t.mode),l.ref=t.ref,t.child=l,l.return=t,l}function Lo(t,l,e){return Xe(l,t.child,null,e),t=dn(l,l.pendingProps),t.flags|=2,ml(l),l.memoizedState=null,t}function oh(t,l,e){var a=l.pendingProps,u=(l.flags&128)!==0;if(l.flags&=-129,t===null){if(nt){if(a.mode==="hidden")return t=dn(l,a),l.lanes=536870912,uu(null,t);if(Kc(l),(t=xt)?(t=Ir(t,_l),t=t!==null&&t.data==="&"?t:null,t!==null&&(l.memoizedState={dehydrated:t,treeContext:ne!==null?{id:Rl,overflow:Hl}:null,retryLane:536870912,hydrationErrors:null},e=Ts(t),e.return=l,l.child=e,Vt=l,xt=null)):t=null,t===null)throw ie(l);return l.lanes=536870912,null}return dn(l,a)}var n=t.memoizedState;if(n!==null){var c=n.dehydrated;if(Kc(l),u)if(l.flags&256)l.flags&=-257,l=Lo(t,l,e);else if(l.memoizedState!==null)l.child=t.child,l.flags|=128,l=null;else throw Error(o(558));else if(Ht||sa(t,l,e,!1),u=(e&t.childLanes)!==0,Ht||u){if(a=St,a!==null&&(c=jf(a,e),c!==0&&c!==n.retryLane))throw n.retryLane=c,Ue(t,c),cl(a,t,c),mi;En(),l=Lo(t,l,e)}else t=n.treeContext,xt=Ol(c.nextSibling),Vt=l,nt=!0,ce=null,_l=!1,t!==null&&_s(l,t),l=dn(l,a),l.flags|=4096;return l}return t=Xl(t.child,{mode:a.mode,children:a.children}),t.ref=l.ref,l.child=t,t.return=l,t}function mn(t,l){var e=l.ref;if(e===null)t!==null&&t.ref!==null&&(l.flags|=4194816);else{if(typeof e!="function"&&typeof e!="object")throw Error(o(284));(t===null||t.ref!==e)&&(l.flags|=4194816)}}function hi(t,l,e,a,u){return Be(l),e=kc(t,l,e,a,void 0,u),a=$c(),t!==null&&!Ht?(Wc(t,l,u),wl(t,l,u)):(nt&&a&&jc(l),l.flags|=1,Kt(t,l,e,u),l.child)}function Xo(t,l,e,a,u,n){return Be(l),l.updateQueue=null,e=Zs(l,a,e,u),Qs(t),a=$c(),t!==null&&!Ht?(Wc(t,l,n),wl(t,l,n)):(nt&&a&&jc(l),l.flags|=1,Kt(t,l,e,n),l.child)}function Qo(t,l,e,a,u){if(Be(l),l.stateNode===null){var n=na,c=e.contextType;typeof c=="object"&&c!==null&&(n=Jt(c)),n=new e(a,n),l.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=ri,l.stateNode=n,n._reactInternals=l,n=l.stateNode,n.props=a,n.state=l.memoizedState,n.refs={},Lc(l),c=e.contextType,n.context=typeof c=="object"&&c!==null?Jt(c):na,n.state=l.memoizedState,c=e.getDerivedStateFromProps,typeof c=="function"&&(oi(l,e,c,a),n.state=l.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(c=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),c!==n.state&&ri.enqueueReplaceState(n,n.state,null),Pa(l,a,n,u),Ia(),n.state=l.memoizedState),typeof n.componentDidMount=="function"&&(l.flags|=4194308),a=!0}else if(t===null){n=l.stateNode;var i=l.memoizedProps,s=Ze(e,i);n.props=s;var g=n.context,T=e.contextType;c=na,typeof T=="object"&&T!==null&&(c=Jt(T));var _=e.getDerivedStateFromProps;T=typeof _=="function"||typeof n.getSnapshotBeforeUpdate=="function",i=l.pendingProps!==i,T||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(i||g!==c)&&No(l,n,a,c),se=!1;var b=l.memoizedState;n.state=b,Pa(l,a,n,u),Ia(),g=l.memoizedState,i||b!==g||se?(typeof _=="function"&&(oi(l,e,_,a),g=l.memoizedState),(s=se||Oo(l,e,s,a,b,g,c))?(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"&&(l.flags|=4194308)):(typeof n.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=a,l.memoizedState=g),n.props=a,n.state=g,n.context=c,a=s):(typeof n.componentDidMount=="function"&&(l.flags|=4194308),a=!1)}else{n=l.stateNode,Xc(t,l),c=l.memoizedProps,T=Ze(e,c),n.props=T,_=l.pendingProps,b=n.context,g=e.contextType,s=na,typeof g=="object"&&g!==null&&(s=Jt(g)),i=e.getDerivedStateFromProps,(g=typeof i=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c!==_||b!==s)&&No(l,n,a,s),se=!1,b=l.memoizedState,n.state=b,Pa(l,a,n,u),Ia();var x=l.memoizedState;c!==_||b!==x||se||t!==null&&t.dependencies!==null&&wu(t.dependencies)?(typeof i=="function"&&(oi(l,e,i,a),x=l.memoizedState),(T=se||Oo(l,e,T,a,b,x,s)||t!==null&&t.dependencies!==null&&wu(t.dependencies))?(g||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(a,x,s),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(a,x,s)),typeof n.componentDidUpdate=="function"&&(l.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof n.componentDidUpdate!="function"||c===t.memoizedProps&&b===t.memoizedState||(l.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||c===t.memoizedProps&&b===t.memoizedState||(l.flags|=1024),l.memoizedProps=a,l.memoizedState=x),n.props=a,n.state=x,n.context=s,a=T):(typeof n.componentDidUpdate!="function"||c===t.memoizedProps&&b===t.memoizedState||(l.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||c===t.memoizedProps&&b===t.memoizedState||(l.flags|=1024),a=!1)}return n=a,mn(t,l),a=(l.flags&128)!==0,n||a?(n=l.stateNode,e=a&&typeof e.getDerivedStateFromError!="function"?null:n.render(),l.flags|=1,t!==null&&a?(l.child=Xe(l,t.child,null,u),l.child=Xe(l,null,e,u)):Kt(t,l,e,u),l.memoizedState=n.state,t=l.child):t=wl(t,l,u),t}function Zo(t,l,e,a){return He(),l.flags|=256,Kt(t,l,e,a),l.child}var yi={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function vi(t){return{baseLanes:t,cachePool:Ds()}}function gi(t,l,e){return t=t!==null?t.childLanes&~e:0,l&&(t|=yl),t}function Vo(t,l,e){var a=l.pendingProps,u=!1,n=(l.flags&128)!==0,c;if((c=n)||(c=t!==null&&t.memoizedState===null?!1:(Dt.current&2)!==0),c&&(u=!0,l.flags&=-129),c=(l.flags&32)!==0,l.flags&=-33,t===null){if(nt){if(u?de(l):me(),(t=xt)?(t=Ir(t,_l),t=t!==null&&t.data!=="&"?t:null,t!==null&&(l.memoizedState={dehydrated:t,treeContext:ne!==null?{id:Rl,overflow:Hl}:null,retryLane:536870912,hydrationErrors:null},e=Ts(t),e.return=l,l.child=e,Vt=l,xt=null)):t=null,t===null)throw ie(l);return Pi(t)?l.lanes=32:l.lanes=536870912,null}var i=a.children;return a=a.fallback,u?(me(),u=l.mode,i=hn({mode:"hidden",children:i},u),a=Re(a,u,e,null),i.return=l,a.return=l,i.sibling=a,l.child=i,a=l.child,a.memoizedState=vi(e),a.childLanes=gi(t,c,e),l.memoizedState=yi,uu(null,a)):(de(l),bi(l,i))}var s=t.memoizedState;if(s!==null&&(i=s.dehydrated,i!==null)){if(n)l.flags&256?(de(l),l.flags&=-257,l=Si(t,l,e)):l.memoizedState!==null?(me(),l.child=t.child,l.flags|=128,l=null):(me(),i=a.fallback,u=l.mode,a=hn({mode:"visible",children:a.children},u),i=Re(i,u,e,null),i.flags|=2,a.return=l,i.return=l,a.sibling=i,l.child=a,Xe(l,t.child,null,e),a=l.child,a.memoizedState=vi(e),a.childLanes=gi(t,c,e),l.memoizedState=yi,l=uu(null,a));else if(de(l),Pi(i)){if(c=i.nextSibling&&i.nextSibling.dataset,c)var g=c.dgst;c=g,a=Error(o(419)),a.stack="",a.digest=c,Ka({value:a,source:null,stack:null}),l=Si(t,l,e)}else if(Ht||sa(t,l,e,!1),c=(e&t.childLanes)!==0,Ht||c){if(c=St,c!==null&&(a=jf(c,e),a!==0&&a!==s.retryLane))throw s.retryLane=a,Ue(t,a),cl(c,t,a),mi;Ii(i)||En(),l=Si(t,l,e)}else Ii(i)?(l.flags|=192,l.child=t.child,l=null):(t=s.treeContext,xt=Ol(i.nextSibling),Vt=l,nt=!0,ce=null,_l=!1,t!==null&&_s(l,t),l=bi(l,a.children),l.flags|=4096);return l}return u?(me(),i=a.fallback,u=l.mode,s=t.child,g=s.sibling,a=Xl(s,{mode:"hidden",children:a.children}),a.subtreeFlags=s.subtreeFlags&65011712,g!==null?i=Xl(g,i):(i=Re(i,u,e,null),i.flags|=2),i.return=l,a.return=l,a.sibling=i,l.child=a,uu(null,a),a=l.child,i=t.child.memoizedState,i===null?i=vi(e):(u=i.cachePool,u!==null?(s=Ut._currentValue,u=u.parent!==s?{parent:s,pool:s}:u):u=Ds(),i={baseLanes:i.baseLanes|e,cachePool:u}),a.memoizedState=i,a.childLanes=gi(t,c,e),l.memoizedState=yi,uu(t.child,a)):(de(l),e=t.child,t=e.sibling,e=Xl(e,{mode:"visible",children:a.children}),e.return=l,e.sibling=null,t!==null&&(c=l.deletions,c===null?(l.deletions=[t],l.flags|=16):c.push(t)),l.child=e,l.memoizedState=null,e)}function bi(t,l){return l=hn({mode:"visible",children:l},t.mode),l.return=t,t.child=l}function hn(t,l){return t=rl(22,t,null,l),t.lanes=0,t}function Si(t,l,e){return Xe(l,t.child,null,e),t=bi(l,l.pendingProps.children),t.flags|=2,l.memoizedState=null,t}function Jo(t,l,e){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l),Rc(t.return,l,e)}function pi(t,l,e,a,u,n){var c=t.memoizedState;c===null?t.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:a,tail:e,tailMode:u,treeForkCount:n}:(c.isBackwards=l,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=e,c.tailMode=u,c.treeForkCount=n)}function Ko(t,l,e){var a=l.pendingProps,u=a.revealOrder,n=a.tail;a=a.children;var c=Dt.current,i=(c&2)!==0;if(i?(c=c&1|2,l.flags|=128):c&=1,R(Dt,c),Kt(t,l,a,e),a=nt?Ja:0,!i&&t!==null&&(t.flags&128)!==0)t:for(t=l.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Jo(t,e,l);else if(t.tag===19)Jo(t,e,l);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===l)break t;for(;t.sibling===null;){if(t.return===null||t.return===l)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(u){case"forwards":for(e=l.child,u=null;e!==null;)t=e.alternate,t!==null&&ln(t)===null&&(u=e),e=e.sibling;e=u,e===null?(u=l.child,l.child=null):(u=e.sibling,e.sibling=null),pi(l,!1,u,e,n,a);break;case"backwards":case"unstable_legacy-backwards":for(e=null,u=l.child,l.child=null;u!==null;){if(t=u.alternate,t!==null&&ln(t)===null){l.child=u;break}t=u.sibling,u.sibling=e,e=u,u=t}pi(l,!0,e,null,n,a);break;case"together":pi(l,!1,null,null,void 0,a);break;default:l.memoizedState=null}return l.child}function wl(t,l,e){if(t!==null&&(l.dependencies=t.dependencies),ve|=l.lanes,(e&l.childLanes)===0)if(t!==null){if(sa(t,l,e,!1),(e&l.childLanes)===0)return null}else return null;if(t!==null&&l.child!==t.child)throw Error(o(153));if(l.child!==null){for(t=l.child,e=Xl(t,t.pendingProps),l.child=e,e.return=l;t.sibling!==null;)t=t.sibling,e=e.sibling=Xl(t,t.pendingProps),e.return=l;e.sibling=null}return l.child}function xi(t,l){return(t.lanes&l)!==0?!0:(t=t.dependencies,!!(t!==null&&wu(t)))}function rh(t,l,e){switch(l.tag){case 3:Wt(l,l.stateNode.containerInfo),fe(l,Ut,t.memoizedState.cache),He();break;case 27:case 5:Ma(l);break;case 4:Wt(l,l.stateNode.containerInfo);break;case 10:fe(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,Kc(l),null;break;case 13:var a=l.memoizedState;if(a!==null)return a.dehydrated!==null?(de(l),l.flags|=128,null):(e&l.child.childLanes)!==0?Vo(t,l,e):(de(l),t=wl(t,l,e),t!==null?t.sibling:null);de(l);break;case 19:var u=(t.flags&128)!==0;if(a=(e&l.childLanes)!==0,a||(sa(t,l,e,!1),a=(e&l.childLanes)!==0),u){if(a)return Ko(t,l,e);l.flags|=128}if(u=l.memoizedState,u!==null&&(u.rendering=null,u.tail=null,u.lastEffect=null),R(Dt,Dt.current),a)break;return null;case 22:return l.lanes=0,Yo(t,l,e,l.pendingProps);case 24:fe(l,Ut,t.memoizedState.cache)}return wl(t,l,e)}function wo(t,l,e){if(t!==null)if(t.memoizedProps!==l.pendingProps)Ht=!0;else{if(!xi(t,e)&&(l.flags&128)===0)return Ht=!1,rh(t,l,e);Ht=(t.flags&131072)!==0}else Ht=!1,nt&&(l.flags&1048576)!==0&&zs(l,Ja,l.index);switch(l.lanes=0,l.tag){case 16:t:{var a=l.pendingProps;if(t=Ge(l.elementType),l.type=t,typeof t=="function")Ac(t)?(a=Ze(t,a),l.tag=1,l=Qo(null,l,t,a,e)):(l.tag=0,l=hi(null,l,t,a,e));else{if(t!=null){var u=t.$$typeof;if(u===Lt){l.tag=11,l=Ho(null,l,t,a,e);break t}else if(u===I){l.tag=14,l=qo(null,l,t,a,e);break t}}throw l=jt(t)||t,Error(o(306,l,""))}}return l;case 0:return hi(t,l,l.type,l.pendingProps,e);case 1:return a=l.type,u=Ze(a,l.pendingProps),Qo(t,l,a,u,e);case 3:t:{if(Wt(l,l.stateNode.containerInfo),t===null)throw Error(o(387));a=l.pendingProps;var n=l.memoizedState;u=n.element,Xc(t,l),Pa(l,a,null,e);var c=l.memoizedState;if(a=c.cache,fe(l,Ut,a),a!==n.cache&&Hc(l,[Ut],e,!0),Ia(),a=c.element,n.isDehydrated)if(n={element:a,isDehydrated:!1,cache:c.cache},l.updateQueue.baseState=n,l.memoizedState=n,l.flags&256){l=Zo(t,l,a,e);break t}else if(a!==u){u=Tl(Error(o(424)),l),Ka(u),l=Zo(t,l,a,e);break t}else{switch(t=l.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(xt=Ol(t.firstChild),Vt=l,nt=!0,ce=null,_l=!0,e=Bs(l,null,a,e),l.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(He(),a===u){l=wl(t,l,e);break t}Kt(t,l,a,e)}l=l.child}return l;case 26:return mn(t,l),t===null?(e=ud(l.type,null,l.pendingProps,null))?l.memoizedState=e:nt||(e=l.type,t=l.pendingProps,a=Mn(P.current).createElement(e),a[Zt]=l,a[tl]=t,wt(a,e,t),Yt(a),l.stateNode=a):l.memoizedState=ud(l.type,t.memoizedProps,l.pendingProps,t.memoizedState),null;case 27:return Ma(l),t===null&&nt&&(a=l.stateNode=ld(l.type,l.pendingProps,P.current),Vt=l,_l=!0,u=xt,xe(l.type)?(tf=u,xt=Ol(a.firstChild)):xt=u),Kt(t,l,l.pendingProps.children,e),mn(t,l),t===null&&(l.flags|=4194304),l.child;case 5:return t===null&&nt&&((u=a=xt)&&(a=Xh(a,l.type,l.pendingProps,_l),a!==null?(l.stateNode=a,Vt=l,xt=Ol(a.firstChild),_l=!1,u=!0):u=!1),u||ie(l)),Ma(l),u=l.type,n=l.pendingProps,c=t!==null?t.memoizedProps:null,a=n.children,$i(u,n)?a=null:c!==null&&$i(u,c)&&(l.flags|=32),l.memoizedState!==null&&(u=kc(t,l,eh,null,null,e),Su._currentValue=u),mn(t,l),Kt(t,l,a,e),l.child;case 6:return t===null&&nt&&((t=e=xt)&&(e=Qh(e,l.pendingProps,_l),e!==null?(l.stateNode=e,Vt=l,xt=null,t=!0):t=!1),t||ie(l)),null;case 13:return Vo(t,l,e);case 4:return Wt(l,l.stateNode.containerInfo),a=l.pendingProps,t===null?l.child=Xe(l,null,a,e):Kt(t,l,a,e),l.child;case 11:return Ho(t,l,l.type,l.pendingProps,e);case 7:return Kt(t,l,l.pendingProps,e),l.child;case 8:return Kt(t,l,l.pendingProps.children,e),l.child;case 12:return Kt(t,l,l.pendingProps.children,e),l.child;case 10:return a=l.pendingProps,fe(l,l.type,a.value),Kt(t,l,a.children,e),l.child;case 9:return u=l.type._context,a=l.pendingProps.children,Be(l),u=Jt(u),a=a(u),l.flags|=1,Kt(t,l,a,e),l.child;case 14:return qo(t,l,l.type,l.pendingProps,e);case 15:return Bo(t,l,l.type,l.pendingProps,e);case 19:return Ko(t,l,e);case 31:return oh(t,l,e);case 22:return Yo(t,l,e,l.pendingProps);case 24:return Be(l),a=Jt(Ut),t===null?(u=Yc(),u===null&&(u=St,n=qc(),u.pooledCache=n,n.refCount++,n!==null&&(u.pooledCacheLanes|=e),u=n),l.memoizedState={parent:a,cache:u},Lc(l),fe(l,Ut,u)):((t.lanes&e)!==0&&(Xc(t,l),Pa(l,null,null,e),Ia()),u=t.memoizedState,n=l.memoizedState,u.parent!==a?(u={parent:a,cache:a},l.memoizedState=u,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=u),fe(l,Ut,a)):(a=n.cache,fe(l,Ut,a),a!==u.cache&&Hc(l,[Ut],e,!0))),Kt(t,l,l.pendingProps.children,e),l.child;case 29:throw l.pendingProps}throw Error(o(156,l.tag))}function kl(t){t.flags|=4}function Ti(t,l,e,a,u){if((l=(t.mode&32)!==0)&&(l=!1),l){if(t.flags|=16777216,(u&335544128)===u)if(t.stateNode.complete)t.flags|=8192;else if(pr())t.flags|=8192;else throw Le=Fu,Gc}else t.flags&=-16777217}function ko(t,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!sd(l))if(pr())t.flags|=8192;else throw Le=Fu,Gc}function yn(t,l){l!==null&&(t.flags|=4),t.flags&16384&&(l=t.tag!==22?Af():536870912,t.lanes|=l,xa|=l)}function nu(t,l){if(!nt)switch(t.tailMode){case"hidden":l=t.tail;for(var e=null;l!==null;)l.alternate!==null&&(e=l),l=l.sibling;e===null?t.tail=null:e.sibling=null;break;case"collapsed":e=t.tail;for(var a=null;e!==null;)e.alternate!==null&&(a=e),e=e.sibling;a===null?l||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Tt(t){var l=t.alternate!==null&&t.alternate.child===t.child,e=0,a=0;if(l)for(var u=t.child;u!==null;)e|=u.lanes|u.childLanes,a|=u.subtreeFlags&65011712,a|=u.flags&65011712,u.return=t,u=u.sibling;else for(u=t.child;u!==null;)e|=u.lanes|u.childLanes,a|=u.subtreeFlags,a|=u.flags,u.return=t,u=u.sibling;return t.subtreeFlags|=a,t.childLanes=e,l}function dh(t,l,e){var a=l.pendingProps;switch(Mc(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Tt(l),null;case 1:return Tt(l),null;case 3:return e=l.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),l.memoizedState.cache!==a&&(l.flags|=2048),Vl(Ut),Mt(),e.pendingContext&&(e.context=e.pendingContext,e.pendingContext=null),(t===null||t.child===null)&&(fa(l)?kl(l):t===null||t.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Cc())),Tt(l),null;case 26:var u=l.type,n=l.memoizedState;return t===null?(kl(l),n!==null?(Tt(l),ko(l,n)):(Tt(l),Ti(l,u,null,a,e))):n?n!==t.memoizedState?(kl(l),Tt(l),ko(l,n)):(Tt(l),l.flags&=-16777217):(t=t.memoizedProps,t!==a&&kl(l),Tt(l),Ti(l,u,t,a,e)),null;case 27:if(_u(l),e=P.current,u=l.type,t!==null&&l.stateNode!=null)t.memoizedProps!==a&&kl(l);else{if(!a){if(l.stateNode===null)throw Error(o(166));return Tt(l),null}t=G.current,fa(l)?As(l):(t=ld(u,a,e),l.stateNode=t,kl(l))}return Tt(l),null;case 5:if(_u(l),u=l.type,t!==null&&l.stateNode!=null)t.memoizedProps!==a&&kl(l);else{if(!a){if(l.stateNode===null)throw Error(o(166));return Tt(l),null}if(n=G.current,fa(l))As(l);else{var c=Mn(P.current);switch(n){case 1:n=c.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:n=c.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":n=c.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":n=c.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":n=c.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?n.multiple=!0:a.size&&(n.size=a.size);break;default:n=typeof a.is=="string"?c.createElement(u,{is:a.is}):c.createElement(u)}}n[Zt]=l,n[tl]=a;t:for(c=l.child;c!==null;){if(c.tag===5||c.tag===6)n.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===l)break t;for(;c.sibling===null;){if(c.return===null||c.return===l)break t;c=c.return}c.sibling.return=c.return,c=c.sibling}l.stateNode=n;t:switch(wt(n,u,a),u){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&kl(l)}}return Tt(l),Ti(l,l.type,t===null?null:t.memoizedProps,l.pendingProps,e),null;case 6:if(t&&l.stateNode!=null)t.memoizedProps!==a&&kl(l);else{if(typeof a!="string"&&l.stateNode===null)throw Error(o(166));if(t=P.current,fa(l)){if(t=l.stateNode,e=l.memoizedProps,a=null,u=Vt,u!==null)switch(u.tag){case 27:case 5:a=u.memoizedProps}t[Zt]=l,t=!!(t.nodeValue===e||a!==null&&a.suppressHydrationWarning===!0||Vr(t.nodeValue,e)),t||ie(l,!0)}else t=Mn(t).createTextNode(a),t[Zt]=l,l.stateNode=t}return Tt(l),null;case 31:if(e=l.memoizedState,t===null||t.memoizedState!==null){if(a=fa(l),e!==null){if(t===null){if(!a)throw Error(o(318));if(t=l.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(o(557));t[Zt]=l}else He(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Tt(l),t=!1}else e=Cc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=e),t=!0;if(!t)return l.flags&256?(ml(l),l):(ml(l),null);if((l.flags&128)!==0)throw Error(o(558))}return Tt(l),null;case 13:if(a=l.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(u=fa(l),a!==null&&a.dehydrated!==null){if(t===null){if(!u)throw Error(o(318));if(u=l.memoizedState,u=u!==null?u.dehydrated:null,!u)throw Error(o(317));u[Zt]=l}else He(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Tt(l),u=!1}else u=Cc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=u),u=!0;if(!u)return l.flags&256?(ml(l),l):(ml(l),null)}return ml(l),(l.flags&128)!==0?(l.lanes=e,l):(e=a!==null,t=t!==null&&t.memoizedState!==null,e&&(a=l.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!==t&&e&&(l.child.flags|=8192),yn(l,l.updateQueue),Tt(l),null);case 4:return Mt(),t===null&&Vi(l.stateNode.containerInfo),Tt(l),null;case 10:return Vl(l.type),Tt(l),null;case 19:if(A(Dt),a=l.memoizedState,a===null)return Tt(l),null;if(u=(l.flags&128)!==0,n=a.rendering,n===null)if(u)nu(a,!1);else{if(_t!==0||t!==null&&(t.flags&128)!==0)for(t=l.child;t!==null;){if(n=ln(t),n!==null){for(l.flags|=128,nu(a,!1),t=n.updateQueue,l.updateQueue=t,yn(l,t),l.subtreeFlags=0,t=e,e=l.child;e!==null;)xs(e,t),e=e.sibling;return R(Dt,Dt.current&1|2),nt&&Ql(l,a.treeForkCount),l.child}t=t.sibling}a.tail!==null&&il()>pn&&(l.flags|=128,u=!0,nu(a,!1),l.lanes=4194304)}else{if(!u)if(t=ln(n),t!==null){if(l.flags|=128,u=!0,t=t.updateQueue,l.updateQueue=t,yn(l,t),nu(a,!0),a.tail===null&&a.tailMode==="hidden"&&!n.alternate&&!nt)return Tt(l),null}else 2*il()-a.renderingStartTime>pn&&e!==536870912&&(l.flags|=128,u=!0,nu(a,!1),l.lanes=4194304);a.isBackwards?(n.sibling=l.child,l.child=n):(t=a.last,t!==null?t.sibling=n:l.child=n,a.last=n)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=il(),t.sibling=null,e=Dt.current,R(Dt,u?e&1|2:e&1),nt&&Ql(l,a.treeForkCount),t):(Tt(l),null);case 22:case 23:return ml(l),Jc(),a=l.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(l.flags|=8192):a&&(l.flags|=8192),a?(e&536870912)!==0&&(l.flags&128)===0&&(Tt(l),l.subtreeFlags&6&&(l.flags|=8192)):Tt(l),e=l.updateQueue,e!==null&&yn(l,e.retryQueue),e=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),a=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),a!==e&&(l.flags|=2048),t!==null&&A(Ye),null;case 24:return e=null,t!==null&&(e=t.memoizedState.cache),l.memoizedState.cache!==e&&(l.flags|=2048),Vl(Ut),Tt(l),null;case 25:return null;case 30:return null}throw Error(o(156,l.tag))}function mh(t,l){switch(Mc(l),l.tag){case 1:return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 3:return Vl(Ut),Mt(),t=l.flags,(t&65536)!==0&&(t&128)===0?(l.flags=t&-65537|128,l):null;case 26:case 27:case 5:return _u(l),null;case 31:if(l.memoizedState!==null){if(ml(l),l.alternate===null)throw Error(o(340));He()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 13:if(ml(l),t=l.memoizedState,t!==null&&t.dehydrated!==null){if(l.alternate===null)throw Error(o(340));He()}return t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 19:return A(Dt),null;case 4:return Mt(),null;case 10:return Vl(l.type),null;case 22:case 23:return ml(l),Jc(),t!==null&&A(Ye),t=l.flags,t&65536?(l.flags=t&-65537|128,l):null;case 24:return Vl(Ut),null;case 25:return null;default:return null}}function $o(t,l){switch(Mc(l),l.tag){case 3:Vl(Ut),Mt();break;case 26:case 27:case 5:_u(l);break;case 4:Mt();break;case 31:l.memoizedState!==null&&ml(l);break;case 13:ml(l);break;case 19:A(Dt);break;case 10:Vl(l.type);break;case 22:case 23:ml(l),Jc(),t!==null&&A(Ye);break;case 24:Vl(Ut)}}function cu(t,l){try{var e=l.updateQueue,a=e!==null?e.lastEffect:null;if(a!==null){var u=a.next;e=u;do{if((e.tag&t)===t){a=void 0;var n=e.create,c=e.inst;a=n(),c.destroy=a}e=e.next}while(e!==u)}}catch(i){dt(l,l.return,i)}}function he(t,l,e){try{var a=l.updateQueue,u=a!==null?a.lastEffect:null;if(u!==null){var n=u.next;a=n;do{if((a.tag&t)===t){var c=a.inst,i=c.destroy;if(i!==void 0){c.destroy=void 0,u=l;var s=e,g=i;try{g()}catch(T){dt(u,s,T)}}}a=a.next}while(a!==n)}}catch(T){dt(l,l.return,T)}}function Wo(t){var l=t.updateQueue;if(l!==null){var e=t.stateNode;try{Gs(l,e)}catch(a){dt(t,t.return,a)}}}function Fo(t,l,e){e.props=Ze(t.type,t.memoizedProps),e.state=t.memoizedState;try{e.componentWillUnmount()}catch(a){dt(t,l,a)}}function iu(t,l){try{var e=t.ref;if(e!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof e=="function"?t.refCleanup=e(a):e.current=a}}catch(u){dt(t,l,u)}}function ql(t,l){var e=t.ref,a=t.refCleanup;if(e!==null)if(typeof a=="function")try{a()}catch(u){dt(t,l,u)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof e=="function")try{e(null)}catch(u){dt(t,l,u)}else e.current=null}function Io(t){var l=t.type,e=t.memoizedProps,a=t.stateNode;try{t:switch(l){case"button":case"input":case"select":case"textarea":e.autoFocus&&a.focus();break t;case"img":e.src?a.src=e.src:e.srcSet&&(a.srcset=e.srcSet)}}catch(u){dt(t,t.return,u)}}function Ei(t,l,e){try{var a=t.stateNode;Hh(a,t.type,e,l),a[tl]=l}catch(u){dt(t,t.return,u)}}function Po(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&xe(t.type)||t.tag===4}function zi(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Po(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&xe(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function _i(t,l,e){var a=t.tag;if(a===5||a===6)t=t.stateNode,l?(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).insertBefore(t,l):(l=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.appendChild(t),e=e._reactRootContainer,e!=null||l.onclick!==null||(l.onclick=Gl));else if(a!==4&&(a===27&&xe(t.type)&&(e=t.stateNode,l=null),t=t.child,t!==null))for(_i(t,l,e),t=t.sibling;t!==null;)_i(t,l,e),t=t.sibling}function vn(t,l,e){var a=t.tag;if(a===5||a===6)t=t.stateNode,l?e.insertBefore(t,l):e.appendChild(t);else if(a!==4&&(a===27&&xe(t.type)&&(e=t.stateNode),t=t.child,t!==null))for(vn(t,l,e),t=t.sibling;t!==null;)vn(t,l,e),t=t.sibling}function tr(t){var l=t.stateNode,e=t.memoizedProps;try{for(var a=t.type,u=l.attributes;u.length;)l.removeAttributeNode(u[0]);wt(l,a,e),l[Zt]=t,l[tl]=e}catch(n){dt(t,t.return,n)}}var $l=!1,qt=!1,Ai=!1,lr=typeof WeakSet=="function"?WeakSet:Set,Gt=null;function hh(t,l){if(t=t.containerInfo,wi=Bn,t=ds(t),Sc(t)){if("selectionStart"in t)var e={start:t.selectionStart,end:t.selectionEnd};else t:{e=(e=t.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 t}var c=0,i=-1,s=-1,g=0,T=0,_=t,b=null;l:for(;;){for(var x;_!==e||u!==0&&_.nodeType!==3||(i=c+u),_!==n||a!==0&&_.nodeType!==3||(s=c+a),_.nodeType===3&&(c+=_.nodeValue.length),(x=_.firstChild)!==null;)b=_,_=x;for(;;){if(_===t)break l;if(b===e&&++g===u&&(i=c),b===n&&++T===a&&(s=c),(x=_.nextSibling)!==null)break;_=b,b=_.parentNode}_=x}e=i===-1||s===-1?null:{start:i,end:s}}else e=null}e=e||{start:0,end:0}}else e=null;for(ki={focusedElem:t,selectionRange:e},Bn=!1,Gt=l;Gt!==null;)if(l=Gt,t=l.child,(l.subtreeFlags&1028)!==0&&t!==null)t.return=l,Gt=t;else for(;Gt!==null;){switch(l=Gt,n=l.alternate,t=l.flags,l.tag){case 0:if((t&4)!==0&&(t=l.updateQueue,t=t!==null?t.events:null,t!==null))for(e=0;e<t.length;e++)u=t[e],u.ref.impl=u.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&n!==null){t=void 0,e=l,u=n.memoizedProps,n=n.memoizedState,a=e.stateNode;try{var Y=Ze(e.type,u);t=a.getSnapshotBeforeUpdate(Y,n),a.__reactInternalSnapshotBeforeUpdate=t}catch(V){dt(e,e.return,V)}}break;case 3:if((t&1024)!==0){if(t=l.stateNode.containerInfo,e=t.nodeType,e===9)Fi(t);else if(e===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Fi(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(o(163))}if(t=l.sibling,t!==null){t.return=l.return,Gt=t;break}Gt=l.return}}function er(t,l,e){var a=e.flags;switch(e.tag){case 0:case 11:case 15:Fl(t,e),a&4&&cu(5,e);break;case 1:if(Fl(t,e),a&4)if(t=e.stateNode,l===null)try{t.componentDidMount()}catch(c){dt(e,e.return,c)}else{var u=Ze(e.type,l.memoizedProps);l=l.memoizedState;try{t.componentDidUpdate(u,l,t.__reactInternalSnapshotBeforeUpdate)}catch(c){dt(e,e.return,c)}}a&64&&Wo(e),a&512&&iu(e,e.return);break;case 3:if(Fl(t,e),a&64&&(t=e.updateQueue,t!==null)){if(l=null,e.child!==null)switch(e.child.tag){case 27:case 5:l=e.child.stateNode;break;case 1:l=e.child.stateNode}try{Gs(t,l)}catch(c){dt(e,e.return,c)}}break;case 27:l===null&&a&4&&tr(e);case 26:case 5:Fl(t,e),l===null&&a&4&&Io(e),a&512&&iu(e,e.return);break;case 12:Fl(t,e);break;case 31:Fl(t,e),a&4&&nr(t,e);break;case 13:Fl(t,e),a&4&&cr(t,e),a&64&&(t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(e=Eh.bind(null,e),Zh(t,e))));break;case 22:if(a=e.memoizedState!==null||$l,!a){l=l!==null&&l.memoizedState!==null||qt,u=$l;var n=qt;$l=a,(qt=l)&&!n?Il(t,e,(e.subtreeFlags&8772)!==0):Fl(t,e),$l=u,qt=n}break;case 30:break;default:Fl(t,e)}}function ar(t){var l=t.alternate;l!==null&&(t.alternate=null,ar(l)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(l=t.stateNode,l!==null&&ec(l)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Et=null,el=!1;function Wl(t,l,e){for(e=e.child;e!==null;)ur(t,l,e),e=e.sibling}function ur(t,l,e){if(fl&&typeof fl.onCommitFiberUnmount=="function")try{fl.onCommitFiberUnmount(Da,e)}catch{}switch(e.tag){case 26:qt||ql(e,l),Wl(t,l,e),e.memoizedState?e.memoizedState.count--:e.stateNode&&(e=e.stateNode,e.parentNode.removeChild(e));break;case 27:qt||ql(e,l);var a=Et,u=el;xe(e.type)&&(Et=e.stateNode,el=!1),Wl(t,l,e),vu(e.stateNode),Et=a,el=u;break;case 5:qt||ql(e,l);case 6:if(a=Et,u=el,Et=null,Wl(t,l,e),Et=a,el=u,Et!==null)if(el)try{(Et.nodeType===9?Et.body:Et.nodeName==="HTML"?Et.ownerDocument.body:Et).removeChild(e.stateNode)}catch(n){dt(e,l,n)}else try{Et.removeChild(e.stateNode)}catch(n){dt(e,l,n)}break;case 18:Et!==null&&(el?(t=Et,Wr(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,e.stateNode),ja(t)):Wr(Et,e.stateNode));break;case 4:a=Et,u=el,Et=e.stateNode.containerInfo,el=!0,Wl(t,l,e),Et=a,el=u;break;case 0:case 11:case 14:case 15:he(2,e,l),qt||he(4,e,l),Wl(t,l,e);break;case 1:qt||(ql(e,l),a=e.stateNode,typeof a.componentWillUnmount=="function"&&Fo(e,l,a)),Wl(t,l,e);break;case 21:Wl(t,l,e);break;case 22:qt=(a=qt)||e.memoizedState!==null,Wl(t,l,e),qt=a;break;default:Wl(t,l,e)}}function nr(t,l){if(l.memoizedState===null&&(t=l.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{ja(t)}catch(e){dt(l,l.return,e)}}}function cr(t,l){if(l.memoizedState===null&&(t=l.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{ja(t)}catch(e){dt(l,l.return,e)}}function yh(t){switch(t.tag){case 31:case 13:case 19:var l=t.stateNode;return l===null&&(l=t.stateNode=new lr),l;case 22:return t=t.stateNode,l=t._retryCache,l===null&&(l=t._retryCache=new lr),l;default:throw Error(o(435,t.tag))}}function gn(t,l){var e=yh(t);l.forEach(function(a){if(!e.has(a)){e.add(a);var u=zh.bind(null,t,a);a.then(u,u)}})}function al(t,l){var e=l.deletions;if(e!==null)for(var a=0;a<e.length;a++){var u=e[a],n=t,c=l,i=c;t:for(;i!==null;){switch(i.tag){case 27:if(xe(i.type)){Et=i.stateNode,el=!1;break t}break;case 5:Et=i.stateNode,el=!1;break t;case 3:case 4:Et=i.stateNode.containerInfo,el=!0;break t}i=i.return}if(Et===null)throw Error(o(160));ur(n,c,u),Et=null,el=!1,n=u.alternate,n!==null&&(n.return=null),u.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)ir(l,t),l=l.sibling}var Dl=null;function ir(t,l){var e=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:al(l,t),ul(t),a&4&&(he(3,t,t.return),cu(3,t),he(5,t,t.return));break;case 1:al(l,t),ul(t),a&512&&(qt||e===null||ql(e,e.return)),a&64&&$l&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(e=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=e===null?a:e.concat(a))));break;case 26:var u=Dl;if(al(l,t),ul(t),a&512&&(qt||e===null||ql(e,e.return)),a&4){var n=e!==null?e.memoizedState:null;if(a=t.memoizedState,e===null)if(a===null)if(t.stateNode===null){t:{a=t.type,e=t.memoizedProps,u=u.ownerDocument||u;l:switch(a){case"title":n=u.getElementsByTagName("title")[0],(!n||n[Ra]||n[Zt]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=u.createElement(a),u.head.insertBefore(n,u.querySelector("head > title"))),wt(n,a,e),n[Zt]=t,Yt(n),a=n;break t;case"link":var c=id("link","href",u).get(a+(e.href||""));if(c){for(var i=0;i<c.length;i++)if(n=c[i],n.getAttribute("href")===(e.href==null||e.href===""?null:e.href)&&n.getAttribute("rel")===(e.rel==null?null:e.rel)&&n.getAttribute("title")===(e.title==null?null:e.title)&&n.getAttribute("crossorigin")===(e.crossOrigin==null?null:e.crossOrigin)){c.splice(i,1);break l}}n=u.createElement(a),wt(n,a,e),u.head.appendChild(n);break;case"meta":if(c=id("meta","content",u).get(a+(e.content||""))){for(i=0;i<c.length;i++)if(n=c[i],n.getAttribute("content")===(e.content==null?null:""+e.content)&&n.getAttribute("name")===(e.name==null?null:e.name)&&n.getAttribute("property")===(e.property==null?null:e.property)&&n.getAttribute("http-equiv")===(e.httpEquiv==null?null:e.httpEquiv)&&n.getAttribute("charset")===(e.charSet==null?null:e.charSet)){c.splice(i,1);break l}}n=u.createElement(a),wt(n,a,e),u.head.appendChild(n);break;default:throw Error(o(468,a))}n[Zt]=t,Yt(n),a=n}t.stateNode=a}else fd(u,t.type,t.stateNode);else t.stateNode=cd(u,a,t.memoizedProps);else n!==a?(n===null?e.stateNode!==null&&(e=e.stateNode,e.parentNode.removeChild(e)):n.count--,a===null?fd(u,t.type,t.stateNode):cd(u,a,t.memoizedProps)):a===null&&t.stateNode!==null&&Ei(t,t.memoizedProps,e.memoizedProps)}break;case 27:al(l,t),ul(t),a&512&&(qt||e===null||ql(e,e.return)),e!==null&&a&4&&Ei(t,t.memoizedProps,e.memoizedProps);break;case 5:if(al(l,t),ul(t),a&512&&(qt||e===null||ql(e,e.return)),t.flags&32){u=t.stateNode;try{Ie(u,"")}catch(Y){dt(t,t.return,Y)}}a&4&&t.stateNode!=null&&(u=t.memoizedProps,Ei(t,u,e!==null?e.memoizedProps:u)),a&1024&&(Ai=!0);break;case 6:if(al(l,t),ul(t),a&4){if(t.stateNode===null)throw Error(o(162));a=t.memoizedProps,e=t.stateNode;try{e.nodeValue=a}catch(Y){dt(t,t.return,Y)}}break;case 3:if(Un=null,u=Dl,Dl=Dn(l.containerInfo),al(l,t),Dl=u,ul(t),a&4&&e!==null&&e.memoizedState.isDehydrated)try{ja(l.containerInfo)}catch(Y){dt(t,t.return,Y)}Ai&&(Ai=!1,fr(t));break;case 4:a=Dl,Dl=Dn(t.stateNode.containerInfo),al(l,t),ul(t),Dl=a;break;case 12:al(l,t),ul(t);break;case 31:al(l,t),ul(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,gn(t,a)));break;case 13:al(l,t),ul(t),t.child.flags&8192&&t.memoizedState!==null!=(e!==null&&e.memoizedState!==null)&&(Sn=il()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,gn(t,a)));break;case 22:u=t.memoizedState!==null;var s=e!==null&&e.memoizedState!==null,g=$l,T=qt;if($l=g||u,qt=T||s,al(l,t),qt=T,$l=g,ul(t),a&8192)t:for(l=t.stateNode,l._visibility=u?l._visibility&-2:l._visibility|1,u&&(e===null||s||$l||qt||Ve(t)),e=null,l=t;;){if(l.tag===5||l.tag===26){if(e===null){s=e=l;try{if(n=s.stateNode,u)c=n.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{i=s.stateNode;var _=s.memoizedProps.style,b=_!=null&&_.hasOwnProperty("display")?_.display:null;i.style.display=b==null||typeof b=="boolean"?"":(""+b).trim()}}catch(Y){dt(s,s.return,Y)}}}else if(l.tag===6){if(e===null){s=l;try{s.stateNode.nodeValue=u?"":s.memoizedProps}catch(Y){dt(s,s.return,Y)}}}else if(l.tag===18){if(e===null){s=l;try{var x=s.stateNode;u?Fr(x,!0):Fr(s.stateNode,!1)}catch(Y){dt(s,s.return,Y)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===t)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break t;for(;l.sibling===null;){if(l.return===null||l.return===t)break t;e===l&&(e=null),l=l.return}e===l&&(e=null),l.sibling.return=l.return,l=l.sibling}a&4&&(a=t.updateQueue,a!==null&&(e=a.retryQueue,e!==null&&(a.retryQueue=null,gn(t,e))));break;case 19:al(l,t),ul(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,gn(t,a)));break;case 30:break;case 21:break;default:al(l,t),ul(t)}}function ul(t){var l=t.flags;if(l&2){try{for(var e,a=t.return;a!==null;){if(Po(a)){e=a;break}a=a.return}if(e==null)throw Error(o(160));switch(e.tag){case 27:var u=e.stateNode,n=zi(t);vn(t,n,u);break;case 5:var c=e.stateNode;e.flags&32&&(Ie(c,""),e.flags&=-33);var i=zi(t);vn(t,i,c);break;case 3:case 4:var s=e.stateNode.containerInfo,g=zi(t);_i(t,g,s);break;default:throw Error(o(161))}}catch(T){dt(t,t.return,T)}t.flags&=-3}l&4096&&(t.flags&=-4097)}function fr(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var l=t;fr(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),t=t.sibling}}function Fl(t,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)er(t,l.alternate,l),l=l.sibling}function Ve(t){for(t=t.child;t!==null;){var l=t;switch(l.tag){case 0:case 11:case 14:case 15:he(4,l,l.return),Ve(l);break;case 1:ql(l,l.return);var e=l.stateNode;typeof e.componentWillUnmount=="function"&&Fo(l,l.return,e),Ve(l);break;case 27:vu(l.stateNode);case 26:case 5:ql(l,l.return),Ve(l);break;case 22:l.memoizedState===null&&Ve(l);break;case 30:Ve(l);break;default:Ve(l)}t=t.sibling}}function Il(t,l,e){for(e=e&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var a=l.alternate,u=t,n=l,c=n.flags;switch(n.tag){case 0:case 11:case 15:Il(u,n,e),cu(4,n);break;case 1:if(Il(u,n,e),a=n,u=a.stateNode,typeof u.componentDidMount=="function")try{u.componentDidMount()}catch(g){dt(a,a.return,g)}if(a=n,u=a.updateQueue,u!==null){var i=a.stateNode;try{var s=u.shared.hiddenCallbacks;if(s!==null)for(u.shared.hiddenCallbacks=null,u=0;u<s.length;u++)Ys(s[u],i)}catch(g){dt(a,a.return,g)}}e&&c&64&&Wo(n),iu(n,n.return);break;case 27:tr(n);case 26:case 5:Il(u,n,e),e&&a===null&&c&4&&Io(n),iu(n,n.return);break;case 12:Il(u,n,e);break;case 31:Il(u,n,e),e&&c&4&&nr(u,n);break;case 13:Il(u,n,e),e&&c&4&&cr(u,n);break;case 22:n.memoizedState===null&&Il(u,n,e),iu(n,n.return);break;case 30:break;default:Il(u,n,e)}l=l.sibling}}function Oi(t,l){var e=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),t=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(t=l.memoizedState.cachePool.pool),t!==e&&(t!=null&&t.refCount++,e!=null&&wa(e))}function Ni(t,l){t=null,l.alternate!==null&&(t=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==t&&(l.refCount++,t!=null&&wa(t))}function Cl(t,l,e,a){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)sr(t,l,e,a),l=l.sibling}function sr(t,l,e,a){var u=l.flags;switch(l.tag){case 0:case 11:case 15:Cl(t,l,e,a),u&2048&&cu(9,l);break;case 1:Cl(t,l,e,a);break;case 3:Cl(t,l,e,a),u&2048&&(t=null,l.alternate!==null&&(t=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==t&&(l.refCount++,t!=null&&wa(t)));break;case 12:if(u&2048){Cl(t,l,e,a),t=l.stateNode;try{var n=l.memoizedProps,c=n.id,i=n.onPostCommit;typeof i=="function"&&i(c,l.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(s){dt(l,l.return,s)}}else Cl(t,l,e,a);break;case 31:Cl(t,l,e,a);break;case 13:Cl(t,l,e,a);break;case 23:break;case 22:n=l.stateNode,c=l.alternate,l.memoizedState!==null?n._visibility&2?Cl(t,l,e,a):fu(t,l):n._visibility&2?Cl(t,l,e,a):(n._visibility|=2,ba(t,l,e,a,(l.subtreeFlags&10256)!==0||!1)),u&2048&&Oi(c,l);break;case 24:Cl(t,l,e,a),u&2048&&Ni(l.alternate,l);break;default:Cl(t,l,e,a)}}function ba(t,l,e,a,u){for(u=u&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var n=t,c=l,i=e,s=a,g=c.flags;switch(c.tag){case 0:case 11:case 15:ba(n,c,i,s,u),cu(8,c);break;case 23:break;case 22:var T=c.stateNode;c.memoizedState!==null?T._visibility&2?ba(n,c,i,s,u):fu(n,c):(T._visibility|=2,ba(n,c,i,s,u)),u&&g&2048&&Oi(c.alternate,c);break;case 24:ba(n,c,i,s,u),u&&g&2048&&Ni(c.alternate,c);break;default:ba(n,c,i,s,u)}l=l.sibling}}function fu(t,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var e=t,a=l,u=a.flags;switch(a.tag){case 22:fu(e,a),u&2048&&Oi(a.alternate,a);break;case 24:fu(e,a),u&2048&&Ni(a.alternate,a);break;default:fu(e,a)}l=l.sibling}}var su=8192;function Sa(t,l,e){if(t.subtreeFlags&su)for(t=t.child;t!==null;)or(t,l,e),t=t.sibling}function or(t,l,e){switch(t.tag){case 26:Sa(t,l,e),t.flags&su&&t.memoizedState!==null&&l0(e,Dl,t.memoizedState,t.memoizedProps);break;case 5:Sa(t,l,e);break;case 3:case 4:var a=Dl;Dl=Dn(t.stateNode.containerInfo),Sa(t,l,e),Dl=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=su,su=16777216,Sa(t,l,e),su=a):Sa(t,l,e));break;default:Sa(t,l,e)}}function rr(t){var l=t.alternate;if(l!==null&&(t=l.child,t!==null)){l.child=null;do l=t.sibling,t.sibling=null,t=l;while(t!==null)}}function ou(t){var l=t.deletions;if((t.flags&16)!==0){if(l!==null)for(var e=0;e<l.length;e++){var a=l[e];Gt=a,mr(a,t)}rr(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)dr(t),t=t.sibling}function dr(t){switch(t.tag){case 0:case 11:case 15:ou(t),t.flags&2048&&he(9,t,t.return);break;case 3:ou(t);break;case 12:ou(t);break;case 22:var l=t.stateNode;t.memoizedState!==null&&l._visibility&2&&(t.return===null||t.return.tag!==13)?(l._visibility&=-3,bn(t)):ou(t);break;default:ou(t)}}function bn(t){var l=t.deletions;if((t.flags&16)!==0){if(l!==null)for(var e=0;e<l.length;e++){var a=l[e];Gt=a,mr(a,t)}rr(t)}for(t=t.child;t!==null;){switch(l=t,l.tag){case 0:case 11:case 15:he(8,l,l.return),bn(l);break;case 22:e=l.stateNode,e._visibility&2&&(e._visibility&=-3,bn(l));break;default:bn(l)}t=t.sibling}}function mr(t,l){for(;Gt!==null;){var e=Gt;switch(e.tag){case 0:case 11:case 15:he(8,e,l);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:wa(e.memoizedState.cache)}if(a=e.child,a!==null)a.return=e,Gt=a;else t:for(e=t;Gt!==null;){a=Gt;var u=a.sibling,n=a.return;if(ar(a),a===e){Gt=null;break t}if(u!==null){u.return=n,Gt=u;break t}Gt=n}}}var vh={getCacheForType:function(t){var l=Jt(Ut),e=l.data.get(t);return e===void 0&&(e=t(),l.data.set(t,e)),e},cacheSignal:function(){return Jt(Ut).controller.signal}},gh=typeof WeakMap=="function"?WeakMap:Map,st=0,St=null,tt=null,at=0,rt=0,hl=null,ye=!1,pa=!1,ji=!1,Pl=0,_t=0,ve=0,Je=0,Mi=0,yl=0,xa=0,ru=null,nl=null,Di=!1,Sn=0,hr=0,pn=1/0,xn=null,ge=null,Bt=0,be=null,Ta=null,te=0,Ci=0,Ui=null,yr=null,du=0,Ri=null;function vl(){return(st&2)!==0&&at!==0?at&-at:E.T!==null?Li():Mf()}function vr(){if(yl===0)if((at&536870912)===0||nt){var t=Nu;Nu<<=1,(Nu&3932160)===0&&(Nu=262144),yl=t}else yl=536870912;return t=dl.current,t!==null&&(t.flags|=32),yl}function cl(t,l,e){(t===St&&(rt===2||rt===9)||t.cancelPendingCommit!==null)&&(Ea(t,0),Se(t,at,yl,!1)),Ua(t,e),((st&2)===0||t!==St)&&(t===St&&((st&2)===0&&(Je|=e),_t===4&&Se(t,at,yl,!1)),Bl(t))}function gr(t,l,e){if((st&6)!==0)throw Error(o(327));var a=!e&&(l&127)===0&&(l&t.expiredLanes)===0||Ca(t,l),u=a?ph(t,l):qi(t,l,!0),n=a;do{if(u===0){pa&&!a&&Se(t,l,0,!1);break}else{if(e=t.current.alternate,n&&!bh(e)){u=qi(t,l,!1),n=!1;continue}if(u===2){if(n=l,t.errorRecoveryDisabledLanes&n)var c=0;else c=t.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){l=c;t:{var i=t;u=ru;var s=i.current.memoizedState.isDehydrated;if(s&&(Ea(i,c).flags|=256),c=qi(i,c,!1),c!==2){if(ji&&!s){i.errorRecoveryDisabledLanes|=n,Je|=n,u=4;break t}n=nl,nl=u,n!==null&&(nl===null?nl=n:nl.push.apply(nl,n))}u=c}if(n=!1,u!==2)continue}}if(u===1){Ea(t,0),Se(t,l,0,!0);break}t:{switch(a=t,n=u,n){case 0:case 1:throw Error(o(345));case 4:if((l&4194048)!==l)break;case 6:Se(a,l,yl,!ye);break t;case 2:nl=null;break;case 3:case 5:break;default:throw Error(o(329))}if((l&62914560)===l&&(u=Sn+300-il(),10<u)){if(Se(a,l,yl,!ye),Mu(a,0,!0)!==0)break t;te=l,a.timeoutHandle=kr(br.bind(null,a,e,nl,xn,Di,l,yl,Je,xa,ye,n,"Throttled",-0,0),u);break t}br(a,e,nl,xn,Di,l,yl,Je,xa,ye,n,null,-0,0)}}break}while(!0);Bl(t)}function br(t,l,e,a,u,n,c,i,s,g,T,_,b,x){if(t.timeoutHandle=-1,_=l.subtreeFlags,_&8192||(_&16785408)===16785408){_={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Gl},or(l,n,_);var Y=(n&62914560)===n?Sn-il():(n&4194048)===n?hr-il():0;if(Y=e0(_,Y),Y!==null){te=n,t.cancelPendingCommit=Y(Ar.bind(null,t,l,n,e,a,u,c,i,s,T,_,null,b,x)),Se(t,n,c,!g);return}}Ar(t,l,n,e,a,u,c,i,s)}function bh(t){for(var l=t;;){var e=l.tag;if((e===0||e===11||e===15)&&l.flags&16384&&(e=l.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(!ol(n(),u))return!1}catch{return!1}}if(e=l.child,l.subtreeFlags&16384&&e!==null)e.return=l,l=e;else{if(l===t)break;for(;l.sibling===null;){if(l.return===null||l.return===t)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function Se(t,l,e,a){l&=~Mi,l&=~Je,t.suspendedLanes|=l,t.pingedLanes&=~l,a&&(t.warmLanes|=l),a=t.expirationTimes;for(var u=l;0<u;){var n=31-sl(u),c=1<<n;a[n]=-1,u&=~c}e!==0&&Of(t,e,l)}function Tn(){return(st&6)===0?(mu(0),!1):!0}function Hi(){if(tt!==null){if(rt===0)var t=tt.return;else t=tt,Zl=qe=null,Fc(t),ma=null,$a=0,t=tt;for(;t!==null;)$o(t.alternate,t),t=t.return;tt=null}}function Ea(t,l){var e=t.timeoutHandle;e!==-1&&(t.timeoutHandle=-1,Yh(e)),e=t.cancelPendingCommit,e!==null&&(t.cancelPendingCommit=null,e()),te=0,Hi(),St=t,tt=e=Xl(t.current,null),at=l,rt=0,hl=null,ye=!1,pa=Ca(t,l),ji=!1,xa=yl=Mi=Je=ve=_t=0,nl=ru=null,Di=!1,(l&8)!==0&&(l|=l&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=l;0<a;){var u=31-sl(a),n=1<<u;l|=t[u],a&=~n}return Pl=l,Qu(),e}function Sr(t,l){$=null,E.H=au,l===da||l===Wu?(l=Rs(),rt=3):l===Gc?(l=Rs(),rt=4):rt=l===mi?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,hl=l,tt===null&&(_t=1,rn(t,Tl(l,t.current)))}function pr(){var t=dl.current;return t===null?!0:(at&4194048)===at?Al===null:(at&62914560)===at||(at&536870912)!==0?t===Al:!1}function xr(){var t=E.H;return E.H=au,t===null?au:t}function Tr(){var t=E.A;return E.A=vh,t}function En(){_t=4,ye||(at&4194048)!==at&&dl.current!==null||(pa=!0),(ve&134217727)===0&&(Je&134217727)===0||St===null||Se(St,at,yl,!1)}function qi(t,l,e){var a=st;st|=2;var u=xr(),n=Tr();(St!==t||at!==l)&&(xn=null,Ea(t,l)),l=!1;var c=_t;t:do try{if(rt!==0&&tt!==null){var i=tt,s=hl;switch(rt){case 8:Hi(),c=6;break t;case 3:case 2:case 9:case 6:dl.current===null&&(l=!0);var g=rt;if(rt=0,hl=null,za(t,i,s,g),e&&pa){c=0;break t}break;default:g=rt,rt=0,hl=null,za(t,i,s,g)}}Sh(),c=_t;break}catch(T){Sr(t,T)}while(!0);return l&&t.shellSuspendCounter++,Zl=qe=null,st=a,E.H=u,E.A=n,tt===null&&(St=null,at=0,Qu()),c}function Sh(){for(;tt!==null;)Er(tt)}function ph(t,l){var e=st;st|=2;var a=xr(),u=Tr();St!==t||at!==l?(xn=null,pn=il()+500,Ea(t,l)):pa=Ca(t,l);t:do try{if(rt!==0&&tt!==null){l=tt;var n=hl;l:switch(rt){case 1:rt=0,hl=null,za(t,l,n,1);break;case 2:case 9:if(Cs(n)){rt=0,hl=null,zr(l);break}l=function(){rt!==2&&rt!==9||St!==t||(rt=7),Bl(t)},n.then(l,l);break t;case 3:rt=7;break t;case 4:rt=5;break t;case 7:Cs(n)?(rt=0,hl=null,zr(l)):(rt=0,hl=null,za(t,l,n,7));break;case 5:var c=null;switch(tt.tag){case 26:c=tt.memoizedState;case 5:case 27:var i=tt;if(c?sd(c):i.stateNode.complete){rt=0,hl=null;var s=i.sibling;if(s!==null)tt=s;else{var g=i.return;g!==null?(tt=g,zn(g)):tt=null}break l}}rt=0,hl=null,za(t,l,n,5);break;case 6:rt=0,hl=null,za(t,l,n,6);break;case 8:Hi(),_t=6;break t;default:throw Error(o(462))}}xh();break}catch(T){Sr(t,T)}while(!0);return Zl=qe=null,E.H=a,E.A=u,st=e,tt!==null?0:(St=null,at=0,Qu(),_t)}function xh(){for(;tt!==null&&!Vd();)Er(tt)}function Er(t){var l=wo(t.alternate,t,Pl);t.memoizedProps=t.pendingProps,l===null?zn(t):tt=l}function zr(t){var l=t,e=l.alternate;switch(l.tag){case 15:case 0:l=Xo(e,l,l.pendingProps,l.type,void 0,at);break;case 11:l=Xo(e,l,l.pendingProps,l.type.render,l.ref,at);break;case 5:Fc(l);default:$o(e,l),l=tt=xs(l,Pl),l=wo(e,l,Pl)}t.memoizedProps=t.pendingProps,l===null?zn(t):tt=l}function za(t,l,e,a){Zl=qe=null,Fc(l),ma=null,$a=0;var u=l.return;try{if(sh(t,u,l,e,at)){_t=1,rn(t,Tl(e,t.current)),tt=null;return}}catch(n){if(u!==null)throw tt=u,n;_t=1,rn(t,Tl(e,t.current)),tt=null;return}l.flags&32768?(nt||a===1?t=!0:pa||(at&536870912)!==0?t=!1:(ye=t=!0,(a===2||a===9||a===3||a===6)&&(a=dl.current,a!==null&&a.tag===13&&(a.flags|=16384))),_r(l,t)):zn(l)}function zn(t){var l=t;do{if((l.flags&32768)!==0){_r(l,ye);return}t=l.return;var e=dh(l.alternate,l,Pl);if(e!==null){tt=e;return}if(l=l.sibling,l!==null){tt=l;return}tt=l=t}while(l!==null);_t===0&&(_t=5)}function _r(t,l){do{var e=mh(t.alternate,t);if(e!==null){e.flags&=32767,tt=e;return}if(e=t.return,e!==null&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),!l&&(t=t.sibling,t!==null)){tt=t;return}tt=t=e}while(t!==null);_t=6,tt=null}function Ar(t,l,e,a,u,n,c,i,s){t.cancelPendingCommit=null;do _n();while(Bt!==0);if((st&6)!==0)throw Error(o(327));if(l!==null){if(l===t.current)throw Error(o(177));if(n=l.lanes|l.childLanes,n|=zc,tm(t,e,n,c,i,s),t===St&&(tt=St=null,at=0),Ta=l,be=t,te=e,Ci=n,Ui=u,yr=a,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,_h(Au,function(){return Dr(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||a){a=E.T,E.T=null,u=U.p,U.p=2,c=st,st|=4;try{hh(t,l,e)}finally{st=c,U.p=u,E.T=a}}Bt=1,Or(),Nr(),jr()}}function Or(){if(Bt===1){Bt=0;var t=be,l=Ta,e=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||e){e=E.T,E.T=null;var a=U.p;U.p=2;var u=st;st|=4;try{ir(l,t);var n=ki,c=ds(t.containerInfo),i=n.focusedElem,s=n.selectionRange;if(c!==i&&i&&i.ownerDocument&&rs(i.ownerDocument.documentElement,i)){if(s!==null&&Sc(i)){var g=s.start,T=s.end;if(T===void 0&&(T=g),"selectionStart"in i)i.selectionStart=g,i.selectionEnd=Math.min(T,i.value.length);else{var _=i.ownerDocument||document,b=_&&_.defaultView||window;if(b.getSelection){var x=b.getSelection(),Y=i.textContent.length,V=Math.min(s.start,Y),vt=s.end===void 0?V:Math.min(s.end,Y);!x.extend&&V>vt&&(c=vt,vt=V,V=c);var h=os(i,V),d=os(i,vt);if(h&&d&&(x.rangeCount!==1||x.anchorNode!==h.node||x.anchorOffset!==h.offset||x.focusNode!==d.node||x.focusOffset!==d.offset)){var v=_.createRange();v.setStart(h.node,h.offset),x.removeAllRanges(),V>vt?(x.addRange(v),x.extend(d.node,d.offset)):(v.setEnd(d.node,d.offset),x.addRange(v))}}}}for(_=[],x=i;x=x.parentNode;)x.nodeType===1&&_.push({element:x,left:x.scrollLeft,top:x.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<_.length;i++){var z=_[i];z.element.scrollLeft=z.left,z.element.scrollTop=z.top}}Bn=!!wi,ki=wi=null}finally{st=u,U.p=a,E.T=e}}t.current=l,Bt=2}}function Nr(){if(Bt===2){Bt=0;var t=be,l=Ta,e=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||e){e=E.T,E.T=null;var a=U.p;U.p=2;var u=st;st|=4;try{er(t,l.alternate,l)}finally{st=u,U.p=a,E.T=e}}Bt=3}}function jr(){if(Bt===4||Bt===3){Bt=0,Jd();var t=be,l=Ta,e=te,a=yr;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?Bt=5:(Bt=0,Ta=be=null,Mr(t,t.pendingLanes));var u=t.pendingLanes;if(u===0&&(ge=null),tc(e),l=l.stateNode,fl&&typeof fl.onCommitFiberRoot=="function")try{fl.onCommitFiberRoot(Da,l,void 0,(l.current.flags&128)===128)}catch{}if(a!==null){l=E.T,u=U.p,U.p=2,E.T=null;try{for(var n=t.onRecoverableError,c=0;c<a.length;c++){var i=a[c];n(i.value,{componentStack:i.stack})}}finally{E.T=l,U.p=u}}(te&3)!==0&&_n(),Bl(t),u=t.pendingLanes,(e&261930)!==0&&(u&42)!==0?t===Ri?du++:(du=0,Ri=t):du=0,mu(0)}}function Mr(t,l){(t.pooledCacheLanes&=l)===0&&(l=t.pooledCache,l!=null&&(t.pooledCache=null,wa(l)))}function _n(){return Or(),Nr(),jr(),Dr()}function Dr(){if(Bt!==5)return!1;var t=be,l=Ci;Ci=0;var e=tc(te),a=E.T,u=U.p;try{U.p=32>e?32:e,E.T=null,e=Ui,Ui=null;var n=be,c=te;if(Bt=0,Ta=be=null,te=0,(st&6)!==0)throw Error(o(331));var i=st;if(st|=4,dr(n.current),sr(n,n.current,c,e),st=i,mu(0,!1),fl&&typeof fl.onPostCommitFiberRoot=="function")try{fl.onPostCommitFiberRoot(Da,n)}catch{}return!0}finally{U.p=u,E.T=a,Mr(t,l)}}function Cr(t,l,e){l=Tl(e,l),l=di(t.stateNode,l,2),t=re(t,l,2),t!==null&&(Ua(t,2),Bl(t))}function dt(t,l,e){if(t.tag===3)Cr(t,t,e);else for(;l!==null;){if(l.tag===3){Cr(l,t,e);break}else if(l.tag===1){var a=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(ge===null||!ge.has(a))){t=Tl(e,t),e=Uo(2),a=re(l,e,2),a!==null&&(Ro(e,a,l,t),Ua(a,2),Bl(a));break}}l=l.return}}function Bi(t,l,e){var a=t.pingCache;if(a===null){a=t.pingCache=new gh;var u=new Set;a.set(l,u)}else u=a.get(l),u===void 0&&(u=new Set,a.set(l,u));u.has(e)||(ji=!0,u.add(e),t=Th.bind(null,t,l,e),l.then(t,t))}function Th(t,l,e){var a=t.pingCache;a!==null&&a.delete(l),t.pingedLanes|=t.suspendedLanes&e,t.warmLanes&=~e,St===t&&(at&e)===e&&(_t===4||_t===3&&(at&62914560)===at&&300>il()-Sn?(st&2)===0&&Ea(t,0):Mi|=e,xa===at&&(xa=0)),Bl(t)}function Ur(t,l){l===0&&(l=Af()),t=Ue(t,l),t!==null&&(Ua(t,l),Bl(t))}function Eh(t){var l=t.memoizedState,e=0;l!==null&&(e=l.retryLane),Ur(t,e)}function zh(t,l){var e=0;switch(t.tag){case 31:case 13:var a=t.stateNode,u=t.memoizedState;u!==null&&(e=u.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(l),Ur(t,e)}function _h(t,l){return Wn(t,l)}var An=null,_a=null,Yi=!1,On=!1,Gi=!1,pe=0;function Bl(t){t!==_a&&t.next===null&&(_a===null?An=_a=t:_a=_a.next=t),On=!0,Yi||(Yi=!0,Oh())}function mu(t,l){if(!Gi&&On){Gi=!0;do for(var e=!1,a=An;a!==null;){if(t!==0){var u=a.pendingLanes;if(u===0)var n=0;else{var c=a.suspendedLanes,i=a.pingedLanes;n=(1<<31-sl(42|t)+1)-1,n&=u&~(c&~i),n=n&201326741?n&201326741|1:n?n|2:0}n!==0&&(e=!0,Br(a,n))}else n=at,n=Mu(a,a===St?n:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(n&3)===0||Ca(a,n)||(e=!0,Br(a,n));a=a.next}while(e);Gi=!1}}function Ah(){Rr()}function Rr(){On=Yi=!1;var t=0;pe!==0&&Bh()&&(t=pe);for(var l=il(),e=null,a=An;a!==null;){var u=a.next,n=Hr(a,l);n===0?(a.next=null,e===null?An=u:e.next=u,u===null&&(_a=e)):(e=a,(t!==0||(n&3)!==0)&&(On=!0)),a=u}Bt!==0&&Bt!==5||mu(t),pe!==0&&(pe=0)}function Hr(t,l){for(var e=t.suspendedLanes,a=t.pingedLanes,u=t.expirationTimes,n=t.pendingLanes&-62914561;0<n;){var c=31-sl(n),i=1<<c,s=u[c];s===-1?((i&e)===0||(i&a)!==0)&&(u[c]=Pd(i,l)):s<=l&&(t.expiredLanes|=i),n&=~i}if(l=St,e=at,e=Mu(t,t===l?e:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,e===0||t===l&&(rt===2||rt===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&Fn(a),t.callbackNode=null,t.callbackPriority=0;if((e&3)===0||Ca(t,e)){if(l=e&-e,l===t.callbackPriority)return l;switch(a!==null&&Fn(a),tc(e)){case 2:case 8:e=zf;break;case 32:e=Au;break;case 268435456:e=_f;break;default:e=Au}return a=qr.bind(null,t),e=Wn(e,a),t.callbackPriority=l,t.callbackNode=e,l}return a!==null&&a!==null&&Fn(a),t.callbackPriority=2,t.callbackNode=null,2}function qr(t,l){if(Bt!==0&&Bt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var e=t.callbackNode;if(_n()&&t.callbackNode!==e)return null;var a=at;return a=Mu(t,t===St?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(gr(t,a,l),Hr(t,il()),t.callbackNode!=null&&t.callbackNode===e?qr.bind(null,t):null)}function Br(t,l){if(_n())return null;gr(t,l,!0)}function Oh(){Gh(function(){(st&6)!==0?Wn(Ef,Ah):Rr()})}function Li(){if(pe===0){var t=oa;t===0&&(t=Ou,Ou<<=1,(Ou&261888)===0&&(Ou=256)),pe=t}return pe}function Yr(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Ru(""+t)}function Gr(t,l){var e=l.ownerDocument.createElement("input");return e.name=l.name,e.value=l.value,t.id&&e.setAttribute("form",t.id),l.parentNode.insertBefore(e,l),t=new FormData(t),e.parentNode.removeChild(e),t}function Nh(t,l,e,a,u){if(l==="submit"&&e&&e.stateNode===u){var n=Yr((u[tl]||null).action),c=a.submitter;c&&(l=(l=c[tl]||null)?Yr(l.formAction):c.getAttribute("formAction"),l!==null&&(n=l,c=null));var i=new Yu("action","action",null,a,u);t.push({event:i,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(pe!==0){var s=c?Gr(u,c):new FormData(u);ci(e,{pending:!0,data:s,method:u.method,action:n},null,s)}}else typeof n=="function"&&(i.preventDefault(),s=c?Gr(u,c):new FormData(u),ci(e,{pending:!0,data:s,method:u.method,action:n},n,s))},currentTarget:u}]})}}for(var Xi=0;Xi<Ec.length;Xi++){var Qi=Ec[Xi],jh=Qi.toLowerCase(),Mh=Qi[0].toUpperCase()+Qi.slice(1);Ml(jh,"on"+Mh)}Ml(ys,"onAnimationEnd"),Ml(vs,"onAnimationIteration"),Ml(gs,"onAnimationStart"),Ml("dblclick","onDoubleClick"),Ml("focusin","onFocus"),Ml("focusout","onBlur"),Ml(Km,"onTransitionRun"),Ml(wm,"onTransitionStart"),Ml(km,"onTransitionCancel"),Ml(bs,"onTransitionEnd"),We("onMouseEnter",["mouseout","mouseover"]),We("onMouseLeave",["mouseout","mouseover"]),We("onPointerEnter",["pointerout","pointerover"]),We("onPointerLeave",["pointerout","pointerover"]),je("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),je("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),je("onBeforeInput",["compositionend","keypress","textInput","paste"]),je("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),je("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),je("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var hu="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(" "),Dh=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(hu));function Lr(t,l){l=(l&4)!==0;for(var e=0;e<t.length;e++){var a=t[e],u=a.event;a=a.listeners;t:{var n=void 0;if(l)for(var c=a.length-1;0<=c;c--){var i=a[c],s=i.instance,g=i.currentTarget;if(i=i.listener,s!==n&&u.isPropagationStopped())break t;n=i,u.currentTarget=g;try{n(u)}catch(T){Xu(T)}u.currentTarget=null,n=s}else for(c=0;c<a.length;c++){if(i=a[c],s=i.instance,g=i.currentTarget,i=i.listener,s!==n&&u.isPropagationStopped())break t;n=i,u.currentTarget=g;try{n(u)}catch(T){Xu(T)}u.currentTarget=null,n=s}}}}function lt(t,l){var e=l[lc];e===void 0&&(e=l[lc]=new Set);var a=t+"__bubble";e.has(a)||(Xr(l,t,2,!1),e.add(a))}function Zi(t,l,e){var a=0;l&&(a|=4),Xr(e,t,a,l)}var Nn="_reactListening"+Math.random().toString(36).slice(2);function Vi(t){if(!t[Nn]){t[Nn]=!0,Uf.forEach(function(e){e!=="selectionchange"&&(Dh.has(e)||Zi(e,!1,t),Zi(e,!0,t))});var l=t.nodeType===9?t:t.ownerDocument;l===null||l[Nn]||(l[Nn]=!0,Zi("selectionchange",!1,l))}}function Xr(t,l,e,a){switch(vd(l)){case 2:var u=n0;break;case 8:u=c0;break;default:u=nf}e=u.bind(null,l,e,t),u=void 0,!oc||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(u=!0),a?u!==void 0?t.addEventListener(l,e,{capture:!0,passive:u}):t.addEventListener(l,e,!0):u!==void 0?t.addEventListener(l,e,{passive:u}):t.addEventListener(l,e,!1)}function Ji(t,l,e,a,u){var n=a;if((l&1)===0&&(l&2)===0&&a!==null)t:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var i=a.stateNode.containerInfo;if(i===u)break;if(c===4)for(c=a.return;c!==null;){var s=c.tag;if((s===3||s===4)&&c.stateNode.containerInfo===u)return;c=c.return}for(;i!==null;){if(c=we(i),c===null)return;if(s=c.tag,s===5||s===6||s===26||s===27){a=n=c;continue t}i=i.parentNode}}a=a.return}Jf(function(){var g=n,T=fc(e),_=[];t:{var b=Ss.get(t);if(b!==void 0){var x=Yu,Y=t;switch(t){case"keypress":if(qu(e)===0)break t;case"keydown":case"keyup":x=zm;break;case"focusin":Y="focus",x=hc;break;case"focusout":Y="blur",x=hc;break;case"beforeblur":case"afterblur":x=hc;break;case"click":if(e.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=kf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=dm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=Om;break;case ys:case vs:case gs:x=ym;break;case bs:x=jm;break;case"scroll":case"scrollend":x=om;break;case"wheel":x=Dm;break;case"copy":case"cut":case"paste":x=gm;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=Wf;break;case"toggle":case"beforetoggle":x=Um}var V=(l&4)!==0,vt=!V&&(t==="scroll"||t==="scrollend"),h=V?b!==null?b+"Capture":null:b;V=[];for(var d=g,v;d!==null;){var z=d;if(v=z.stateNode,z=z.tag,z!==5&&z!==26&&z!==27||v===null||h===null||(z=qa(d,h),z!=null&&V.push(yu(d,z,v))),vt)break;d=d.return}0<V.length&&(b=new x(b,Y,null,e,T),_.push({event:b,listeners:V}))}}if((l&7)===0){t:{if(b=t==="mouseover"||t==="pointerover",x=t==="mouseout"||t==="pointerout",b&&e!==ic&&(Y=e.relatedTarget||e.fromElement)&&(we(Y)||Y[Ke]))break t;if((x||b)&&(b=T.window===T?T:(b=T.ownerDocument)?b.defaultView||b.parentWindow:window,x?(Y=e.relatedTarget||e.toElement,x=g,Y=Y?we(Y):null,Y!==null&&(vt=N(Y),V=Y.tag,Y!==vt||V!==5&&V!==27&&V!==6)&&(Y=null)):(x=null,Y=g),x!==Y)){if(V=kf,z="onMouseLeave",h="onMouseEnter",d="mouse",(t==="pointerout"||t==="pointerover")&&(V=Wf,z="onPointerLeave",h="onPointerEnter",d="pointer"),vt=x==null?b:Ha(x),v=Y==null?b:Ha(Y),b=new V(z,d+"leave",x,e,T),b.target=vt,b.relatedTarget=v,z=null,we(T)===g&&(V=new V(h,d+"enter",Y,e,T),V.target=v,V.relatedTarget=vt,z=V),vt=z,x&&Y)l:{for(V=Ch,h=x,d=Y,v=0,z=h;z;z=V(z))v++;z=0;for(var Q=d;Q;Q=V(Q))z++;for(;0<v-z;)h=V(h),v--;for(;0<z-v;)d=V(d),z--;for(;v--;){if(h===d||d!==null&&h===d.alternate){V=h;break l}h=V(h),d=V(d)}V=null}else V=null;x!==null&&Qr(_,b,x,V,!1),Y!==null&&vt!==null&&Qr(_,vt,Y,V,!0)}}t:{if(b=g?Ha(g):window,x=b.nodeName&&b.nodeName.toLowerCase(),x==="select"||x==="input"&&b.type==="file")var it=us;else if(es(b))if(ns)it=Zm;else{it=Xm;var L=Lm}else x=b.nodeName,!x||x.toLowerCase()!=="input"||b.type!=="checkbox"&&b.type!=="radio"?g&&cc(g.elementType)&&(it=us):it=Qm;if(it&&(it=it(t,g))){as(_,it,e,T);break t}L&&L(t,b,g),t==="focusout"&&g&&b.type==="number"&&g.memoizedProps.value!=null&&nc(b,"number",b.value)}switch(L=g?Ha(g):window,t){case"focusin":(es(L)||L.contentEditable==="true")&&(ea=L,pc=g,Va=null);break;case"focusout":Va=pc=ea=null;break;case"mousedown":xc=!0;break;case"contextmenu":case"mouseup":case"dragend":xc=!1,ms(_,e,T);break;case"selectionchange":if(Jm)break;case"keydown":case"keyup":ms(_,e,T)}var W;if(vc)t:{switch(t){case"compositionstart":var ut="onCompositionStart";break t;case"compositionend":ut="onCompositionEnd";break t;case"compositionupdate":ut="onCompositionUpdate";break t}ut=void 0}else la?ts(t,e)&&(ut="onCompositionEnd"):t==="keydown"&&e.keyCode===229&&(ut="onCompositionStart");ut&&(Ff&&e.locale!=="ko"&&(la||ut!=="onCompositionStart"?ut==="onCompositionEnd"&&la&&(W=Kf()):(ue=T,rc="value"in ue?ue.value:ue.textContent,la=!0)),L=jn(g,ut),0<L.length&&(ut=new $f(ut,t,null,e,T),_.push({event:ut,listeners:L}),W?ut.data=W:(W=ls(e),W!==null&&(ut.data=W)))),(W=Hm?qm(t,e):Bm(t,e))&&(ut=jn(g,"onBeforeInput"),0<ut.length&&(L=new $f("onBeforeInput","beforeinput",null,e,T),_.push({event:L,listeners:ut}),L.data=W)),Nh(_,t,g,e,T)}Lr(_,l)})}function yu(t,l,e){return{instance:t,listener:l,currentTarget:e}}function jn(t,l){for(var e=l+"Capture",a=[];t!==null;){var u=t,n=u.stateNode;if(u=u.tag,u!==5&&u!==26&&u!==27||n===null||(u=qa(t,e),u!=null&&a.unshift(yu(t,u,n)),u=qa(t,l),u!=null&&a.push(yu(t,u,n))),t.tag===3)return a;t=t.return}return[]}function Ch(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Qr(t,l,e,a,u){for(var n=l._reactName,c=[];e!==null&&e!==a;){var i=e,s=i.alternate,g=i.stateNode;if(i=i.tag,s!==null&&s===a)break;i!==5&&i!==26&&i!==27||g===null||(s=g,u?(g=qa(e,n),g!=null&&c.unshift(yu(e,g,s))):u||(g=qa(e,n),g!=null&&c.push(yu(e,g,s)))),e=e.return}c.length!==0&&t.push({event:l,listeners:c})}var Uh=/\r\n?/g,Rh=/\u0000|\uFFFD/g;function Zr(t){return(typeof t=="string"?t:""+t).replace(Uh,`
50
+ `).replace(Rh,"")}function Vr(t,l){return l=Zr(l),Zr(t)===l}function yt(t,l,e,a,u,n){switch(e){case"children":typeof a=="string"?l==="body"||l==="textarea"&&a===""||Ie(t,a):(typeof a=="number"||typeof a=="bigint")&&l!=="body"&&Ie(t,""+a);break;case"className":Cu(t,"class",a);break;case"tabIndex":Cu(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Cu(t,e,a);break;case"style":Zf(t,a,n);break;case"data":if(l!=="object"){Cu(t,"data",a);break}case"src":case"href":if(a===""&&(l!=="a"||e!=="href")){t.removeAttribute(e);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(e);break}a=Ru(""+a),t.setAttribute(e,a);break;case"action":case"formAction":if(typeof a=="function"){t.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"?(l!=="input"&&yt(t,l,"name",u.name,u,null),yt(t,l,"formEncType",u.formEncType,u,null),yt(t,l,"formMethod",u.formMethod,u,null),yt(t,l,"formTarget",u.formTarget,u,null)):(yt(t,l,"encType",u.encType,u,null),yt(t,l,"method",u.method,u,null),yt(t,l,"target",u.target,u,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(e);break}a=Ru(""+a),t.setAttribute(e,a);break;case"onClick":a!=null&&(t.onclick=Gl);break;case"onScroll":a!=null&&lt("scroll",t);break;case"onScrollEnd":a!=null&&lt("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(o(60));t.innerHTML=e}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.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"){t.removeAttribute("xlink:href");break}e=Ru(""+a),t.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"?t.setAttribute(e,""+a):t.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"?t.setAttribute(e,""):t.removeAttribute(e);break;case"capture":case"download":a===!0?t.setAttribute(e,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(e,a):t.removeAttribute(e);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(e,a):t.removeAttribute(e);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(e):t.setAttribute(e,a);break;case"popover":lt("beforetoggle",t),lt("toggle",t),Du(t,"popover",a);break;case"xlinkActuate":Yl(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Yl(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Yl(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Yl(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Yl(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Yl(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Yl(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Yl(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Yl(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Du(t,"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,Du(t,e,a))}}function Ki(t,l,e,a,u,n){switch(e){case"style":Zf(t,a,n);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(e=a.__html,e!=null){if(u.children!=null)throw Error(o(60));t.innerHTML=e}}break;case"children":typeof a=="string"?Ie(t,a):(typeof a=="number"||typeof a=="bigint")&&Ie(t,""+a);break;case"onScroll":a!=null&&lt("scroll",t);break;case"onScrollEnd":a!=null&&lt("scrollend",t);break;case"onClick":a!=null&&(t.onclick=Gl);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Rf.hasOwnProperty(e))t:{if(e[0]==="o"&&e[1]==="n"&&(u=e.endsWith("Capture"),l=e.slice(2,u?e.length-7:void 0),n=t[tl]||null,n=n!=null?n[e]:null,typeof n=="function"&&t.removeEventListener(l,n,u),typeof a=="function")){typeof n!="function"&&n!==null&&(e in t?t[e]=null:t.hasAttribute(e)&&t.removeAttribute(e)),t.addEventListener(l,a,u);break t}e in t?t[e]=a:a===!0?t.setAttribute(e,""):Du(t,e,a)}}}function wt(t,l,e){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":lt("error",t),lt("load",t);var a=!1,u=!1,n;for(n in e)if(e.hasOwnProperty(n)){var c=e[n];if(c!=null)switch(n){case"src":a=!0;break;case"srcSet":u=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,l));default:yt(t,l,n,c,e,null)}}u&&yt(t,l,"srcSet",e.srcSet,e,null),a&&yt(t,l,"src",e.src,e,null);return;case"input":lt("invalid",t);var i=n=c=u=null,s=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":c=T;break;case"checked":s=T;break;case"defaultChecked":g=T;break;case"value":n=T;break;case"defaultValue":i=T;break;case"children":case"dangerouslySetInnerHTML":if(T!=null)throw Error(o(137,l));break;default:yt(t,l,a,T,e,null)}}Gf(t,n,i,s,g,c,u,!1);return;case"select":lt("invalid",t),a=c=n=null;for(u in e)if(e.hasOwnProperty(u)&&(i=e[u],i!=null))switch(u){case"value":n=i;break;case"defaultValue":c=i;break;case"multiple":a=i;default:yt(t,l,u,i,e,null)}l=n,e=c,t.multiple=!!a,l!=null?Fe(t,!!a,l,!1):e!=null&&Fe(t,!!a,e,!0);return;case"textarea":lt("invalid",t),n=u=a=null;for(c in e)if(e.hasOwnProperty(c)&&(i=e[c],i!=null))switch(c){case"value":a=i;break;case"defaultValue":u=i;break;case"children":n=i;break;case"dangerouslySetInnerHTML":if(i!=null)throw Error(o(91));break;default:yt(t,l,c,i,e,null)}Xf(t,a,u,n);return;case"option":for(s in e)if(e.hasOwnProperty(s)&&(a=e[s],a!=null))switch(s){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:yt(t,l,s,a,e,null)}return;case"dialog":lt("beforetoggle",t),lt("toggle",t),lt("cancel",t),lt("close",t);break;case"iframe":case"object":lt("load",t);break;case"video":case"audio":for(a=0;a<hu.length;a++)lt(hu[a],t);break;case"image":lt("error",t),lt("load",t);break;case"details":lt("toggle",t);break;case"embed":case"source":case"link":lt("error",t),lt("load",t);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(o(137,l));default:yt(t,l,g,a,e,null)}return;default:if(cc(l)){for(T in e)e.hasOwnProperty(T)&&(a=e[T],a!==void 0&&Ki(t,l,T,a,e,void 0));return}}for(i in e)e.hasOwnProperty(i)&&(a=e[i],a!=null&&yt(t,l,i,a,e,null))}function Hh(t,l,e,a){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var u=null,n=null,c=null,i=null,s=null,g=null,T=null;for(x in e){var _=e[x];if(e.hasOwnProperty(x)&&_!=null)switch(x){case"checked":break;case"value":break;case"defaultValue":s=_;default:a.hasOwnProperty(x)||yt(t,l,x,null,a,_)}}for(var b in a){var x=a[b];if(_=e[b],a.hasOwnProperty(b)&&(x!=null||_!=null))switch(b){case"type":n=x;break;case"name":u=x;break;case"checked":g=x;break;case"defaultChecked":T=x;break;case"value":c=x;break;case"defaultValue":i=x;break;case"children":case"dangerouslySetInnerHTML":if(x!=null)throw Error(o(137,l));break;default:x!==_&&yt(t,l,b,x,a,_)}}uc(t,c,i,s,g,T,n,u);return;case"select":x=c=i=b=null;for(n in e)if(s=e[n],e.hasOwnProperty(n)&&s!=null)switch(n){case"value":break;case"multiple":x=s;default:a.hasOwnProperty(n)||yt(t,l,n,null,a,s)}for(u in a)if(n=a[u],s=e[u],a.hasOwnProperty(u)&&(n!=null||s!=null))switch(u){case"value":b=n;break;case"defaultValue":i=n;break;case"multiple":c=n;default:n!==s&&yt(t,l,u,n,a,s)}l=i,e=c,a=x,b!=null?Fe(t,!!e,b,!1):!!a!=!!e&&(l!=null?Fe(t,!!e,l,!0):Fe(t,!!e,e?[]:"",!1));return;case"textarea":x=b=null;for(i in e)if(u=e[i],e.hasOwnProperty(i)&&u!=null&&!a.hasOwnProperty(i))switch(i){case"value":break;case"children":break;default:yt(t,l,i,null,a,u)}for(c in a)if(u=a[c],n=e[c],a.hasOwnProperty(c)&&(u!=null||n!=null))switch(c){case"value":b=u;break;case"defaultValue":x=u;break;case"children":break;case"dangerouslySetInnerHTML":if(u!=null)throw Error(o(91));break;default:u!==n&&yt(t,l,c,u,a,n)}Lf(t,b,x);return;case"option":for(var Y in e)if(b=e[Y],e.hasOwnProperty(Y)&&b!=null&&!a.hasOwnProperty(Y))switch(Y){case"selected":t.selected=!1;break;default:yt(t,l,Y,null,a,b)}for(s in a)if(b=a[s],x=e[s],a.hasOwnProperty(s)&&b!==x&&(b!=null||x!=null))switch(s){case"selected":t.selected=b&&typeof b!="function"&&typeof b!="symbol";break;default:yt(t,l,s,b,a,x)}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 V in e)b=e[V],e.hasOwnProperty(V)&&b!=null&&!a.hasOwnProperty(V)&&yt(t,l,V,null,a,b);for(g in a)if(b=a[g],x=e[g],a.hasOwnProperty(g)&&b!==x&&(b!=null||x!=null))switch(g){case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(o(137,l));break;default:yt(t,l,g,b,a,x)}return;default:if(cc(l)){for(var vt in e)b=e[vt],e.hasOwnProperty(vt)&&b!==void 0&&!a.hasOwnProperty(vt)&&Ki(t,l,vt,void 0,a,b);for(T in a)b=a[T],x=e[T],!a.hasOwnProperty(T)||b===x||b===void 0&&x===void 0||Ki(t,l,T,b,a,x);return}}for(var h in e)b=e[h],e.hasOwnProperty(h)&&b!=null&&!a.hasOwnProperty(h)&&yt(t,l,h,null,a,b);for(_ in a)b=a[_],x=e[_],!a.hasOwnProperty(_)||b===x||b==null&&x==null||yt(t,l,_,b,a,x)}function Jr(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function qh(){if(typeof performance.getEntriesByType=="function"){for(var t=0,l=0,e=performance.getEntriesByType("resource"),a=0;a<e.length;a++){var u=e[a],n=u.transferSize,c=u.initiatorType,i=u.duration;if(n&&i&&Jr(c)){for(c=0,i=u.responseEnd,a+=1;a<e.length;a++){var s=e[a],g=s.startTime;if(g>i)break;var T=s.transferSize,_=s.initiatorType;T&&Jr(_)&&(s=s.responseEnd,c+=T*(s<i?1:(i-g)/(s-g)))}if(--a,l+=8*(n+c)/(u.duration/1e3),t++,10<t)break}}if(0<t)return l/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var wi=null,ki=null;function Mn(t){return t.nodeType===9?t:t.ownerDocument}function Kr(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function wr(t,l){if(t===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&l==="foreignObject"?0:t}function $i(t,l){return t==="textarea"||t==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var Wi=null;function Bh(){var t=window.event;return t&&t.type==="popstate"?t===Wi?!1:(Wi=t,!0):(Wi=null,!1)}var kr=typeof setTimeout=="function"?setTimeout:void 0,Yh=typeof clearTimeout=="function"?clearTimeout:void 0,$r=typeof Promise=="function"?Promise:void 0,Gh=typeof queueMicrotask=="function"?queueMicrotask:typeof $r<"u"?function(t){return $r.resolve(null).then(t).catch(Lh)}:kr;function Lh(t){setTimeout(function(){throw t})}function xe(t){return t==="head"}function Wr(t,l){var e=l,a=0;do{var u=e.nextSibling;if(t.removeChild(e),u&&u.nodeType===8)if(e=u.data,e==="/$"||e==="/&"){if(a===0){t.removeChild(u),ja(l);return}a--}else if(e==="$"||e==="$?"||e==="$~"||e==="$!"||e==="&")a++;else if(e==="html")vu(t.ownerDocument.documentElement);else if(e==="head"){e=t.ownerDocument.head,vu(e);for(var n=e.firstChild;n;){var c=n.nextSibling,i=n.nodeName;n[Ra]||i==="SCRIPT"||i==="STYLE"||i==="LINK"&&n.rel.toLowerCase()==="stylesheet"||e.removeChild(n),n=c}}else e==="body"&&vu(t.ownerDocument.body);e=u}while(e);ja(l)}function Fr(t,l){var e=t;t=0;do{var a=e.nextSibling;if(e.nodeType===1?l?(e._stashedDisplay=e.style.display,e.style.display="none"):(e.style.display=e._stashedDisplay||"",e.getAttribute("style")===""&&e.removeAttribute("style")):e.nodeType===3&&(l?(e._stashedText=e.nodeValue,e.nodeValue=""):e.nodeValue=e._stashedText||""),a&&a.nodeType===8)if(e=a.data,e==="/$"){if(t===0)break;t--}else e!=="$"&&e!=="$?"&&e!=="$~"&&e!=="$!"||t++;e=a}while(e)}function Fi(t){var l=t.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var e=l;switch(l=l.nextSibling,e.nodeName){case"HTML":case"HEAD":case"BODY":Fi(e),ec(e);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(e.rel.toLowerCase()==="stylesheet")continue}t.removeChild(e)}}function Xh(t,l,e,a){for(;t.nodeType===1;){var u=e;if(t.nodeName.toLowerCase()!==l.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[Ra])switch(l){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(n=t.getAttribute("rel"),n==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(n!==u.rel||t.getAttribute("href")!==(u.href==null||u.href===""?null:u.href)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin)||t.getAttribute("title")!==(u.title==null?null:u.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(n=t.getAttribute("src"),(n!==(u.src==null?null:u.src)||t.getAttribute("type")!==(u.type==null?null:u.type)||t.getAttribute("crossorigin")!==(u.crossOrigin==null?null:u.crossOrigin))&&n&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(l==="input"&&t.type==="hidden"){var n=u.name==null?null:""+u.name;if(u.type==="hidden"&&t.getAttribute("name")===n)return t}else return t;if(t=Ol(t.nextSibling),t===null)break}return null}function Qh(t,l,e){if(l==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Ol(t.nextSibling),t===null))return null;return t}function Ir(t,l){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Ol(t.nextSibling),t===null))return null;return t}function Ii(t){return t.data==="$?"||t.data==="$~"}function Pi(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function Zh(t,l){var e=t.ownerDocument;if(t.data==="$~")t._reactRetry=l;else if(t.data!=="$?"||e.readyState!=="loading")l();else{var a=function(){l(),e.removeEventListener("DOMContentLoaded",a)};e.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function Ol(t){for(;t!=null;t=t.nextSibling){var l=t.nodeType;if(l===1||l===3)break;if(l===8){if(l=t.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return t}var tf=null;function Pr(t){t=t.nextSibling;for(var l=0;t;){if(t.nodeType===8){var e=t.data;if(e==="/$"||e==="/&"){if(l===0)return Ol(t.nextSibling);l--}else e!=="$"&&e!=="$!"&&e!=="$?"&&e!=="$~"&&e!=="&"||l++}t=t.nextSibling}return null}function td(t){t=t.previousSibling;for(var l=0;t;){if(t.nodeType===8){var e=t.data;if(e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"){if(l===0)return t;l--}else e!=="/$"&&e!=="/&"||l++}t=t.previousSibling}return null}function ld(t,l,e){switch(l=Mn(e),t){case"html":if(t=l.documentElement,!t)throw Error(o(452));return t;case"head":if(t=l.head,!t)throw Error(o(453));return t;case"body":if(t=l.body,!t)throw Error(o(454));return t;default:throw Error(o(451))}}function vu(t){for(var l=t.attributes;l.length;)t.removeAttributeNode(l[0]);ec(t)}var Nl=new Map,ed=new Set;function Dn(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var le=U.d;U.d={f:Vh,r:Jh,D:Kh,C:wh,L:kh,m:$h,X:Fh,S:Wh,M:Ih};function Vh(){var t=le.f(),l=Tn();return t||l}function Jh(t){var l=ke(t);l!==null&&l.tag===5&&l.type==="form"?So(l):le.r(t)}var Aa=typeof document>"u"?null:document;function ad(t,l,e){var a=Aa;if(a&&typeof l=="string"&&l){var u=pl(l);u='link[rel="'+t+'"][href="'+u+'"]',typeof e=="string"&&(u+='[crossorigin="'+e+'"]'),ed.has(u)||(ed.add(u),t={rel:t,crossOrigin:e,href:l},a.querySelector(u)===null&&(l=a.createElement("link"),wt(l,"link",t),Yt(l),a.head.appendChild(l)))}}function Kh(t){le.D(t),ad("dns-prefetch",t,null)}function wh(t,l){le.C(t,l),ad("preconnect",t,l)}function kh(t,l,e){le.L(t,l,e);var a=Aa;if(a&&t&&l){var u='link[rel="preload"][as="'+pl(l)+'"]';l==="image"&&e&&e.imageSrcSet?(u+='[imagesrcset="'+pl(e.imageSrcSet)+'"]',typeof e.imageSizes=="string"&&(u+='[imagesizes="'+pl(e.imageSizes)+'"]')):u+='[href="'+pl(t)+'"]';var n=u;switch(l){case"style":n=Oa(t);break;case"script":n=Na(t)}Nl.has(n)||(t=j({rel:"preload",href:l==="image"&&e&&e.imageSrcSet?void 0:t,as:l},e),Nl.set(n,t),a.querySelector(u)!==null||l==="style"&&a.querySelector(gu(n))||l==="script"&&a.querySelector(bu(n))||(l=a.createElement("link"),wt(l,"link",t),Yt(l),a.head.appendChild(l)))}}function $h(t,l){le.m(t,l);var e=Aa;if(e&&t){var a=l&&typeof l.as=="string"?l.as:"script",u='link[rel="modulepreload"][as="'+pl(a)+'"][href="'+pl(t)+'"]',n=u;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=Na(t)}if(!Nl.has(n)&&(t=j({rel:"modulepreload",href:t},l),Nl.set(n,t),e.querySelector(u)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(e.querySelector(bu(n)))return}a=e.createElement("link"),wt(a,"link",t),Yt(a),e.head.appendChild(a)}}}function Wh(t,l,e){le.S(t,l,e);var a=Aa;if(a&&t){var u=$e(a).hoistableStyles,n=Oa(t);l=l||"default";var c=u.get(n);if(!c){var i={loading:0,preload:null};if(c=a.querySelector(gu(n)))i.loading=5;else{t=j({rel:"stylesheet",href:t,"data-precedence":l},e),(e=Nl.get(n))&&lf(t,e);var s=c=a.createElement("link");Yt(s),wt(s,"link",t),s._p=new Promise(function(g,T){s.onload=g,s.onerror=T}),s.addEventListener("load",function(){i.loading|=1}),s.addEventListener("error",function(){i.loading|=2}),i.loading|=4,Cn(c,l,a)}c={type:"stylesheet",instance:c,count:1,state:i},u.set(n,c)}}}function Fh(t,l){le.X(t,l);var e=Aa;if(e&&t){var a=$e(e).hoistableScripts,u=Na(t),n=a.get(u);n||(n=e.querySelector(bu(u)),n||(t=j({src:t,async:!0},l),(l=Nl.get(u))&&ef(t,l),n=e.createElement("script"),Yt(n),wt(n,"link",t),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function Ih(t,l){le.M(t,l);var e=Aa;if(e&&t){var a=$e(e).hoistableScripts,u=Na(t),n=a.get(u);n||(n=e.querySelector(bu(u)),n||(t=j({src:t,async:!0,type:"module"},l),(l=Nl.get(u))&&ef(t,l),n=e.createElement("script"),Yt(n),wt(n,"link",t),e.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},a.set(u,n))}}function ud(t,l,e,a){var u=(u=P.current)?Dn(u):null;if(!u)throw Error(o(446));switch(t){case"meta":case"title":return null;case"style":return typeof e.precedence=="string"&&typeof e.href=="string"?(l=Oa(e.href),e=$e(u).hoistableStyles,a=e.get(l),a||(a={type:"style",instance:null,count:0,state:null},e.set(l,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(e.rel==="stylesheet"&&typeof e.href=="string"&&typeof e.precedence=="string"){t=Oa(e.href);var n=$e(u).hoistableStyles,c=n.get(t);if(c||(u=u.ownerDocument||u,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(t,c),(n=u.querySelector(gu(t)))&&!n._p&&(c.instance=n,c.state.loading=5),Nl.has(t)||(e={rel:"preload",as:"style",href:e.href,crossOrigin:e.crossOrigin,integrity:e.integrity,media:e.media,hrefLang:e.hrefLang,referrerPolicy:e.referrerPolicy},Nl.set(t,e),n||Ph(u,t,e,c.state))),l&&a===null)throw Error(o(528,""));return c}if(l&&a!==null)throw Error(o(529,""));return null;case"script":return l=e.async,e=e.src,typeof e=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Na(e),e=$e(u).hoistableScripts,a=e.get(l),a||(a={type:"script",instance:null,count:0,state:null},e.set(l,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,t))}}function Oa(t){return'href="'+pl(t)+'"'}function gu(t){return'link[rel="stylesheet"]['+t+"]"}function nd(t){return j({},t,{"data-precedence":t.precedence,precedence:null})}function Ph(t,l,e,a){t.querySelector('link[rel="preload"][as="style"]['+l+"]")?a.loading=1:(l=t.createElement("link"),a.preload=l,l.addEventListener("load",function(){return a.loading|=1}),l.addEventListener("error",function(){return a.loading|=2}),wt(l,"link",e),Yt(l),t.head.appendChild(l))}function Na(t){return'[src="'+pl(t)+'"]'}function bu(t){return"script[async]"+t}function cd(t,l,e){if(l.count++,l.instance===null)switch(l.type){case"style":var a=t.querySelector('style[data-href~="'+pl(e.href)+'"]');if(a)return l.instance=a,Yt(a),a;var u=j({},e,{"data-href":e.href,"data-precedence":e.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),Yt(a),wt(a,"style",u),Cn(a,e.precedence,t),l.instance=a;case"stylesheet":u=Oa(e.href);var n=t.querySelector(gu(u));if(n)return l.state.loading|=4,l.instance=n,Yt(n),n;a=nd(e),(u=Nl.get(u))&&lf(a,u),n=(t.ownerDocument||t).createElement("link"),Yt(n);var c=n;return c._p=new Promise(function(i,s){c.onload=i,c.onerror=s}),wt(n,"link",a),l.state.loading|=4,Cn(n,e.precedence,t),l.instance=n;case"script":return n=Na(e.src),(u=t.querySelector(bu(n)))?(l.instance=u,Yt(u),u):(a=e,(u=Nl.get(n))&&(a=j({},e),ef(a,u)),t=t.ownerDocument||t,u=t.createElement("script"),Yt(u),wt(u,"link",a),t.head.appendChild(u),l.instance=u);case"void":return null;default:throw Error(o(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(a=l.instance,l.state.loading|=4,Cn(a,e.precedence,t));return l.instance}function Cn(t,l,e){for(var a=e.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),u=a.length?a[a.length-1]:null,n=u,c=0;c<a.length;c++){var i=a[c];if(i.dataset.precedence===l)n=i;else if(n!==u)break}n?n.parentNode.insertBefore(t,n.nextSibling):(l=e.nodeType===9?e.head:e,l.insertBefore(t,l.firstChild))}function lf(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.title==null&&(t.title=l.title)}function ef(t,l){t.crossOrigin==null&&(t.crossOrigin=l.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=l.referrerPolicy),t.integrity==null&&(t.integrity=l.integrity)}var Un=null;function id(t,l,e){if(Un===null){var a=new Map,u=Un=new Map;u.set(e,a)}else u=Un,a=u.get(e),a||(a=new Map,u.set(e,a));if(a.has(t))return a;for(a.set(t,null),e=e.getElementsByTagName(t),u=0;u<e.length;u++){var n=e[u];if(!(n[Ra]||n[Zt]||t==="link"&&n.getAttribute("rel")==="stylesheet")&&n.namespaceURI!=="http://www.w3.org/2000/svg"){var c=n.getAttribute(l)||"";c=t+c;var i=a.get(c);i?i.push(n):a.set(c,[n])}}return a}function fd(t,l,e){t=t.ownerDocument||t,t.head.insertBefore(e,l==="title"?t.querySelector("head > title"):null)}function t0(t,l,e){if(e===1||l.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return t=l.disabled,typeof l.precedence=="string"&&t==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function sd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function l0(t,l,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=Oa(a.href),n=l.querySelector(gu(u));if(n){l=n._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(t.count++,t=Rn.bind(t),l.then(t,t)),e.state.loading|=4,e.instance=n,Yt(n);return}n=l.ownerDocument||l,a=nd(a),(u=Nl.get(u))&&lf(a,u),n=n.createElement("link"),Yt(n);var c=n;c._p=new Promise(function(i,s){c.onload=i,c.onerror=s}),wt(n,"link",a),e.instance=n}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(e,l),(l=e.state.preload)&&(e.state.loading&3)===0&&(t.count++,e=Rn.bind(t),l.addEventListener("load",e),l.addEventListener("error",e))}}var af=0;function e0(t,l){return t.stylesheets&&t.count===0&&qn(t,t.stylesheets),0<t.count||0<t.imgCount?function(e){var a=setTimeout(function(){if(t.stylesheets&&qn(t,t.stylesheets),t.unsuspend){var n=t.unsuspend;t.unsuspend=null,n()}},6e4+l);0<t.imgBytes&&af===0&&(af=62500*qh());var u=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&qn(t,t.stylesheets),t.unsuspend)){var n=t.unsuspend;t.unsuspend=null,n()}},(t.imgBytes>af?50:800)+l);return t.unsuspend=e,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(u)}}:null}function Rn(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)qn(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Hn=null;function qn(t,l){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Hn=new Map,l.forEach(a0,t),Hn=null,Rn.call(t))}function a0(t,l){if(!(l.state.loading&4)){var e=Hn.get(t);if(e)var a=e.get(null);else{e=new Map,Hn.set(t,e);for(var u=t.querySelectorAll("link[data-precedence],style[data-precedence]"),n=0;n<u.length;n++){var c=u[n];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(e.set(c.dataset.precedence,c),a=c)}a&&e.set(null,a)}u=l.instance,c=u.getAttribute("data-precedence"),n=e.get(c)||a,n===a&&e.set(null,u),e.set(c,u),this.count++,a=Rn.bind(this),u.addEventListener("load",a),u.addEventListener("error",a),n?n.parentNode.insertBefore(u,n.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(u,t.firstChild)),l.state.loading|=4}}var Su={$$typeof:Ot,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function u0(t,l,e,a,u,n,c,i,s){this.tag=1,this.containerInfo=t,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=In(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=In(0),this.hiddenUpdates=In(null),this.identifierPrefix=a,this.onUncaughtError=u,this.onCaughtError=n,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function od(t,l,e,a,u,n,c,i,s,g,T,_){return t=new u0(t,l,e,c,s,g,T,_,i),l=1,n===!0&&(l|=24),n=rl(3,null,null,l),t.current=n,n.stateNode=t,l=qc(),l.refCount++,t.pooledCache=l,l.refCount++,n.memoizedState={element:a,isDehydrated:e,cache:l},Lc(n),t}function rd(t){return t?(t=na,t):na}function dd(t,l,e,a,u,n){u=rd(u),a.context===null?a.context=u:a.pendingContext=u,a=oe(l),a.payload={element:e},n=n===void 0?null:n,n!==null&&(a.callback=n),e=re(t,a,l),e!==null&&(cl(e,t,l),Fa(e,t,l))}function md(t,l){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var e=t.retryLane;t.retryLane=e!==0&&e<l?e:l}}function uf(t,l){md(t,l),(t=t.alternate)&&md(t,l)}function hd(t){if(t.tag===13||t.tag===31){var l=Ue(t,67108864);l!==null&&cl(l,t,67108864),uf(t,67108864)}}function yd(t){if(t.tag===13||t.tag===31){var l=vl();l=Pn(l);var e=Ue(t,l);e!==null&&cl(e,t,l),uf(t,l)}}var Bn=!0;function n0(t,l,e,a){var u=E.T;E.T=null;var n=U.p;try{U.p=2,nf(t,l,e,a)}finally{U.p=n,E.T=u}}function c0(t,l,e,a){var u=E.T;E.T=null;var n=U.p;try{U.p=8,nf(t,l,e,a)}finally{U.p=n,E.T=u}}function nf(t,l,e,a){if(Bn){var u=cf(a);if(u===null)Ji(t,l,a,Yn,e),gd(t,a);else if(f0(u,t,l,e,a))a.stopPropagation();else if(gd(t,a),l&4&&-1<i0.indexOf(t)){for(;u!==null;){var n=ke(u);if(n!==null)switch(n.tag){case 3:if(n=n.stateNode,n.current.memoizedState.isDehydrated){var c=Ne(n.pendingLanes);if(c!==0){var i=n;for(i.pendingLanes|=2,i.entangledLanes|=2;c;){var s=1<<31-sl(c);i.entanglements[1]|=s,c&=~s}Bl(n),(st&6)===0&&(pn=il()+500,mu(0))}}break;case 31:case 13:i=Ue(n,2),i!==null&&cl(i,n,2),Tn(),uf(n,2)}if(n=cf(a),n===null&&Ji(t,l,a,Yn,e),n===u)break;u=n}u!==null&&a.stopPropagation()}else Ji(t,l,a,null,e)}}function cf(t){return t=fc(t),ff(t)}var Yn=null;function ff(t){if(Yn=null,t=we(t),t!==null){var l=N(t);if(l===null)t=null;else{var e=l.tag;if(e===13){if(t=X(l),t!==null)return t;t=null}else if(e===31){if(t=B(l),t!==null)return t;t=null}else if(e===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;t=null}else l!==t&&(t=null)}}return Yn=t,null}function vd(t){switch(t){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(Kd()){case Ef:return 2;case zf:return 8;case Au:case wd:return 32;case _f:return 268435456;default:return 32}default:return 32}}var sf=!1,Te=null,Ee=null,ze=null,pu=new Map,xu=new Map,_e=[],i0="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 gd(t,l){switch(t){case"focusin":case"focusout":Te=null;break;case"dragenter":case"dragleave":Ee=null;break;case"mouseover":case"mouseout":ze=null;break;case"pointerover":case"pointerout":pu.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":xu.delete(l.pointerId)}}function Tu(t,l,e,a,u,n){return t===null||t.nativeEvent!==n?(t={blockedOn:l,domEventName:e,eventSystemFlags:a,nativeEvent:n,targetContainers:[u]},l!==null&&(l=ke(l),l!==null&&hd(l)),t):(t.eventSystemFlags|=a,l=t.targetContainers,u!==null&&l.indexOf(u)===-1&&l.push(u),t)}function f0(t,l,e,a,u){switch(l){case"focusin":return Te=Tu(Te,t,l,e,a,u),!0;case"dragenter":return Ee=Tu(Ee,t,l,e,a,u),!0;case"mouseover":return ze=Tu(ze,t,l,e,a,u),!0;case"pointerover":var n=u.pointerId;return pu.set(n,Tu(pu.get(n)||null,t,l,e,a,u)),!0;case"gotpointercapture":return n=u.pointerId,xu.set(n,Tu(xu.get(n)||null,t,l,e,a,u)),!0}return!1}function bd(t){var l=we(t.target);if(l!==null){var e=N(l);if(e!==null){if(l=e.tag,l===13){if(l=X(e),l!==null){t.blockedOn=l,Df(t.priority,function(){yd(e)});return}}else if(l===31){if(l=B(e),l!==null){t.blockedOn=l,Df(t.priority,function(){yd(e)});return}}else if(l===3&&e.stateNode.current.memoizedState.isDehydrated){t.blockedOn=e.tag===3?e.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Gn(t){if(t.blockedOn!==null)return!1;for(var l=t.targetContainers;0<l.length;){var e=cf(t.nativeEvent);if(e===null){e=t.nativeEvent;var a=new e.constructor(e.type,e);ic=a,e.target.dispatchEvent(a),ic=null}else return l=ke(e),l!==null&&hd(l),t.blockedOn=e,!1;l.shift()}return!0}function Sd(t,l,e){Gn(t)&&e.delete(l)}function s0(){sf=!1,Te!==null&&Gn(Te)&&(Te=null),Ee!==null&&Gn(Ee)&&(Ee=null),ze!==null&&Gn(ze)&&(ze=null),pu.forEach(Sd),xu.forEach(Sd)}function Ln(t,l){t.blockedOn===l&&(t.blockedOn=null,sf||(sf=!0,f.unstable_scheduleCallback(f.unstable_NormalPriority,s0)))}var Xn=null;function pd(t){Xn!==t&&(Xn=t,f.unstable_scheduleCallback(f.unstable_NormalPriority,function(){Xn===t&&(Xn=null);for(var l=0;l<t.length;l+=3){var e=t[l],a=t[l+1],u=t[l+2];if(typeof a!="function"){if(ff(a||e)===null)continue;break}var n=ke(e);n!==null&&(t.splice(l,3),l-=3,ci(n,{pending:!0,data:u,method:e.method,action:a},a,u))}}))}function ja(t){function l(s){return Ln(s,t)}Te!==null&&Ln(Te,t),Ee!==null&&Ln(Ee,t),ze!==null&&Ln(ze,t),pu.forEach(l),xu.forEach(l);for(var e=0;e<_e.length;e++){var a=_e[e];a.blockedOn===t&&(a.blockedOn=null)}for(;0<_e.length&&(e=_e[0],e.blockedOn===null);)bd(e),e.blockedOn===null&&_e.shift();if(e=(t.ownerDocument||t).$$reactFormReplay,e!=null)for(a=0;a<e.length;a+=3){var u=e[a],n=e[a+1],c=u[tl]||null;if(typeof n=="function")c||pd(e);else if(c){var i=null;if(n&&n.hasAttribute("formAction")){if(u=n,c=n[tl]||null)i=c.formAction;else if(ff(u)!==null)continue}else i=c.action;typeof i=="function"?e[a+1]=i:(e.splice(a,3),a-=3),pd(e)}}}function xd(){function t(n){n.canIntercept&&n.info==="react-transition"&&n.intercept({handler:function(){return new Promise(function(c){return u=c})},focusReset:"manual",scroll:"manual"})}function l(){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",t),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(e,100),function(){a=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),u!==null&&(u(),u=null)}}}function of(t){this._internalRoot=t}Qn.prototype.render=of.prototype.render=function(t){var l=this._internalRoot;if(l===null)throw Error(o(409));var e=l.current,a=vl();dd(e,a,t,l,null,null)},Qn.prototype.unmount=of.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var l=t.containerInfo;dd(t.current,2,null,t,null,null),Tn(),l[Ke]=null}};function Qn(t){this._internalRoot=t}Qn.prototype.unstable_scheduleHydration=function(t){if(t){var l=Mf();t={blockedOn:null,target:t,priority:l};for(var e=0;e<_e.length&&l!==0&&l<_e[e].priority;e++);_e.splice(e,0,t),e===0&&bd(t)}};var Td=y.version;if(Td!=="19.2.4")throw Error(o(527,Td,"19.2.4"));U.findDOMNode=function(t){var l=t._reactInternals;if(l===void 0)throw typeof t.render=="function"?Error(o(188)):(t=Object.keys(t).join(","),Error(o(268,t)));return t=S(l),t=t!==null?H(t):null,t=t===null?null:t.stateNode,t};var o0={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:E,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Zn=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zn.isDisabled&&Zn.supportsFiber)try{Da=Zn.inject(o0),fl=Zn}catch{}}return zu.createRoot=function(t,l){if(!M(t))throw Error(o(299));var e=!1,a="",u=jo,n=Mo,c=Do;return l!=null&&(l.unstable_strictMode===!0&&(e=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(n=l.onCaughtError),l.onRecoverableError!==void 0&&(c=l.onRecoverableError)),l=od(t,1,!1,null,null,e,a,null,u,n,c,xd),t[Ke]=l.current,Vi(t),new of(l)},zu.hydrateRoot=function(t,l,e){if(!M(t))throw Error(o(299));var a=!1,u="",n=jo,c=Mo,i=Do,s=null;return e!=null&&(e.unstable_strictMode===!0&&(a=!0),e.identifierPrefix!==void 0&&(u=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(c=e.onCaughtError),e.onRecoverableError!==void 0&&(i=e.onRecoverableError),e.formState!==void 0&&(s=e.formState)),l=od(t,1,!0,l,e??null,a,u,s,n,c,i,xd),l.context=rd(null),e=l.current,a=vl(),a=Pn(a),u=oe(a),u.callback=null,re(e,u,a),e=a,l.current.lanes=e,Ua(l,e),Bl(l),t[Ke]=l.current,Vi(t),new Qn(l)},zu.version="19.2.4",zu}var Cd;function z0(){if(Cd)return mf.exports;Cd=1;function f(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(f)}catch(y){console.error(y)}}return f(),mf.exports=E0(),mf.exports}var _0=z0();const A0="modulepreload",O0=function(f){return"/"+f},Ud={},gl=function(y,p,o){let M=Promise.resolve();if(p&&p.length>0){let X=function(S){return Promise.all(S.map(H=>Promise.resolve(H).then(j=>({status:"fulfilled",value:j}),j=>({status:"rejected",reason:j}))))};document.getElementsByTagName("link");const B=document.querySelector("meta[property=csp-nonce]"),D=(B==null?void 0:B.nonce)||(B==null?void 0:B.getAttribute("nonce"));M=X(p.map(S=>{if(S=O0(S),S in Ud)return;Ud[S]=!0;const H=S.endsWith(".css"),j=H?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${S}"]${j}`))return;const q=document.createElement("link");if(q.rel=H?"stylesheet":A0,H||(q.as="script"),q.crossOrigin="",q.href=S,D&&q.setAttribute("nonce",D),document.head.appendChild(q),H)return new Promise((et,F)=>{q.addEventListener("load",et),q.addEventListener("error",()=>F(new Error(`Unable to preload CSS for ${S}`)))})}))}function N(X){const B=new Event("vite:preloadError",{cancelable:!0});if(B.payload=X,window.dispatchEvent(B),!B.defaultPrevented)throw X}return M.then(X=>{for(const B of X||[])B.status==="rejected"&&N(B.reason);return y().catch(N)})},Gd=O.createContext({theme:"dark",toggleTheme:()=>{}});function N0({children:f}){const[y,p]=O.useState(()=>{const M=localStorage.getItem("mcp-graph-theme");return M==="light"||M==="dark"?M:"dark"});O.useEffect(()=>{document.body.classList.toggle("dark",y==="dark"),localStorage.setItem("mcp-graph-theme",y)},[y]);const o=O.useCallback(()=>{p(M=>M==="dark"?"light":"dark")},[]);return r.jsx(Gd,{value:{theme:y,toggleTheme:o},children:f})}function j0(){return O.useContext(Gd)}const bf="/api/v1";class Sf extends Error{constructor(p,o,M){super(p);Vn(this,"status");Vn(this,"details");this.name="ApiError",this.status=o,this.details=M}}async function C(f,y={}){const p=`${bf}${f}`,o=await fetch(p,{headers:{"Content-Type":"application/json",...y.headers},...y});if(o.status===204)return null;const M=await o.json();if(!o.ok)throw new Sf(M.error||`HTTP ${o.status}`,o.status,M.details);return M}const Ul={request:C,getProject:()=>C("/project"),initProject:f=>C("/project/init",{method:"POST",body:JSON.stringify({name:f})}),getProjects:()=>C("/project/list"),getActiveProject:()=>C("/project/active"),activateProject:f=>C(`/project/${f}/activate`,{method:"POST"}),getNodes:(f={})=>{const y=new URLSearchParams(f).toString();return C(`/nodes${y?"?"+y:""}`)},getNode:f=>C(`/nodes/${f}`),createNode:f=>C("/nodes",{method:"POST",body:JSON.stringify(f)}),updateNode:(f,y)=>C(`/nodes/${f}`,{method:"PATCH",body:JSON.stringify(y)}),deleteNode:f=>C(`/nodes/${f}`,{method:"DELETE"}),getEdges:()=>C("/edges"),createEdge:f=>C("/edges",{method:"POST",body:JSON.stringify(f)}),deleteEdge:f=>C(`/edges/${f}`,{method:"DELETE"}),getStats:()=>C("/stats"),search:(f,y)=>{const p={q:f};return y&&(p.limit=String(y)),C(`/search?${new URLSearchParams(p)}`)},getGraph:()=>C("/graph"),importFile:async(f,y=!1)=>{const p=new FormData;p.append("file",f),y&&p.append("force","true");const o=await fetch(`${bf}/import`,{method:"POST",body:p}),M=await o.json();if(!o.ok)throw new Sf(M.error||`HTTP ${o.status}`,o.status);return M},getIntegrationStatus:()=>C("/integrations/status"),getBottlenecks:()=>C("/insights/bottlenecks"),getRecommendations:()=>C("/insights/recommendations"),getMetrics:()=>C("/insights/metrics"),getSkills:()=>C("/skills"),getSkillPreferences:()=>C("/skills/preferences"),toggleSkill:(f,y)=>C(`/skills/${encodeURIComponent(f)}/preference`,{method:"PATCH",body:JSON.stringify({enabled:y})}),createCustomSkill:f=>C("/skills/custom",{method:"POST",body:JSON.stringify(f)}),updateCustomSkill:(f,y)=>C(`/skills/custom/${f}`,{method:"PUT",body:JSON.stringify(y)}),deleteCustomSkill:f=>C(`/skills/custom/${f}`,{method:"DELETE"}),getContextBudget:()=>C("/context/budget"),getKnowledgeStats:()=>C("/knowledge/stats/summary"),captureUrl:(f,y,p)=>C("/capture",{method:"POST",body:JSON.stringify({url:f,selector:y,waitForSelector:p})}),getCodeGraphStatus:()=>C("/code-graph/status"),getSymbolContext:f=>C("/code-graph/context",{method:"POST",body:JSON.stringify({symbol:f})}),getSymbolImpact:f=>C("/code-graph/impact",{method:"POST",body:JSON.stringify({symbol:f})}),searchCodeGraph:(f,y)=>C("/code-graph/search",{method:"POST",body:JSON.stringify({query:f,limit:y})}),getFullCodeGraph:()=>C("/code-graph/full"),triggerReindex:()=>C("/code-graph/reindex",{method:"POST"}),getGitNexusStatus:()=>C("/code-graph/status"),getMemories:()=>C("/integrations/memories"),getSerenaMemories:()=>C("/integrations/memories"),getFolder:()=>C("/folder"),openFolder:f=>C("/folder/open",{method:"POST",body:JSON.stringify({path:f})}),browseFolder:f=>C(`/folder/browse?path=${encodeURIComponent(f)}`),getLogs:f=>{const y=new URLSearchParams;f!=null&&f.level&&y.set("level",f.level),(f==null?void 0:f.since)!==void 0&&y.set("since",String(f.since)),f!=null&&f.search&&y.set("search",f.search);const p=y.toString();return C(`/logs${p?"?"+p:""}`)},clearLogs:()=>C("/logs",{method:"DELETE"}),getJourneyMaps:()=>C("/journey/maps"),getJourneyMap:f=>C(`/journey/maps/${f}`),createJourneyMap:f=>C("/journey/maps",{method:"POST",body:JSON.stringify(f)}),deleteJourneyMap:f=>C(`/journey/maps/${f}`,{method:"DELETE"}),importJourneyMap:f=>C("/journey/maps/import",{method:"POST",body:JSON.stringify(f)}),getJourneyScreenshots:()=>C("/journey/screenshots"),siebelGetObjects:f=>{const y=new URLSearchParams;f!=null&&f.type&&y.set("type",f.type),f!=null&&f.limit&&y.set("limit",String(f.limit));const p=y.toString();return C(`/siebel/objects${p?"?"+p:""}`)},siebelGetTemplates:()=>C("/siebel/generate/templates"),siebelPrepareGeneration:f=>C("/siebel/generate/prepare",{method:"POST",body:JSON.stringify(f)}),siebelFinalizeGeneration:f=>C("/siebel/generate/finalize",{method:"POST",body:JSON.stringify(f)}),siebelUploadDocs:async f=>{const y=new FormData;y.append("file",f);const p=await fetch(`${bf}/siebel/upload-docs`,{method:"POST",body:y}),o=await p.json();if(!p.ok)throw new Sf(o.error||`HTTP ${p.status}`,p.status);return o},siebelImportSif:(f,y,p)=>C("/siebel/import",{method:"POST",body:JSON.stringify({content:f,fileName:y,mapToGraph:p})}),siebelGetGraph:f=>{const y=new URLSearchParams;f!=null&&f.limit&&y.set("limit",String(f.limit));const p=y.toString();return C(`/siebel/graph${p?"?"+p:""}`)},siebelGetMetrics:()=>C("/siebel/metrics"),siebelRunReview:(f,y)=>C("/siebel/review",{method:"POST",body:JSON.stringify({content:f,prefix:y})}),siebelGetBestPractices:f=>{const y=f?`?category=${encodeURIComponent(f)}`:"";return C(`/siebel/best-practices${y}`)},siebelRunReadyCheck:(f,y,p)=>C("/siebel/ready-check",{method:"POST",body:JSON.stringify({content:f,prefix:y,currentUser:p})}),siebelGetErd:f=>{const y=f?`?project=${encodeURIComponent(f)}`:"";return C(`/siebel/erd${y}`)},siebelEnrich:f=>C("/siebel/enrich",{method:"POST",body:JSON.stringify({content:f})}),siebelAnalyzeImpact:(f,y,p)=>C("/siebel/analyze/impact",{method:"POST",body:JSON.stringify({content:f,objectName:y,objectType:p})}),siebelAnalyzeCircular:f=>C("/siebel/analyze/circular",{method:"POST",body:JSON.stringify({content:f})}),siebelGetEnvironments:()=>C("/siebel/environments"),siebelAddEnvironment:f=>C("/siebel/environments",{method:"POST",body:JSON.stringify(f)}),siebelDeleteEnvironment:f=>C(`/siebel/environments/${encodeURIComponent(f)}`,{method:"DELETE"}),getLspLanguages:()=>C("/code-graph/lsp/languages"),getLspStatus:()=>C("/code-graph/lsp/status"),lspDefinition:(f,y,p)=>C("/code-graph/lsp/definition",{method:"POST",body:JSON.stringify({file:f,line:y,character:p})}),lspReferences:(f,y,p)=>C("/code-graph/lsp/references",{method:"POST",body:JSON.stringify({file:f,line:y,character:p})}),lspHover:(f,y,p)=>C("/code-graph/lsp/hover",{method:"POST",body:JSON.stringify({file:f,line:y,character:p})}),lspRename:(f,y,p,o)=>C("/code-graph/lsp/rename",{method:"POST",body:JSON.stringify({file:f,line:y,character:p,newName:o})}),lspCallHierarchy:(f,y,p,o)=>C("/code-graph/lsp/call-hierarchy",{method:"POST",body:JSON.stringify({file:f,line:y,character:p,direction:o})}),lspDiagnostics:f=>C(`/code-graph/lsp/diagnostics?file=${encodeURIComponent(f)}`),lspSymbols:f=>C(`/code-graph/lsp/symbols?file=${encodeURIComponent(f)}`),translationAnalyze:(f,y,p)=>C("/translation/analyze",{method:"POST",body:JSON.stringify({code:f,languageHint:y,targetLanguage:p})}),translationCreateJob:(f,y,p,o)=>C("/translation/jobs",{method:"POST",body:JSON.stringify({sourceCode:f,targetLanguage:y,scope:p??"snippet",sourceLanguage:o})}),translationListJobs:()=>C("/translation/jobs"),translationGetJob:f=>C(`/translation/jobs/${f}`),translationFinalize:(f,y)=>C(`/translation/jobs/${f}/finalize`,{method:"POST",body:JSON.stringify({generatedCode:y})}),translationDeleteJob:f=>C(`/translation/jobs/${f}`,{method:"DELETE"}),translationStats:()=>C("/translation/stats")},Ld=O.createContext({projects:[],activeProject:null,loading:!0,switchProject:async()=>{},refreshProjects:async()=>{}});function M0({children:f,onProjectChange:y}){const[p,o]=O.useState([]),[M,N]=O.useState(null),[X,B]=O.useState(!0),D=O.useCallback(async()=>{try{const[H,j]=await Promise.all([Ul.getProjects().catch(()=>({total:0,projects:[]})),Ul.getActiveProject().catch(()=>null)]);o(H.projects),N(j)}catch{}finally{B(!1)}},[]),S=O.useCallback(async H=>{try{const j=await Ul.activateProject(H);j.project&&(N(j.project),y==null||y())}catch{}},[y]);return O.useEffect(()=>{D()},[D]),r.jsx(Ld.Provider,{value:{projects:p,activeProject:M,loading:X,switchProject:S,refreshProjects:D},children:f})}function D0(){return O.useContext(Ld)}const C0=O.memo(function(){const{projects:y,activeProject:p,loading:o,switchProject:M}=D0(),[N,X]=O.useState(!1),B=O.useRef(null);O.useEffect(()=>{if(!N)return;function S(H){B.current&&!B.current.contains(H.target)&&X(!1)}return document.addEventListener("mousedown",S),()=>document.removeEventListener("mousedown",S)},[N]);const D=O.useCallback(S=>{S.key==="Escape"&&X(!1)},[]);return o||y.length<=1?r.jsx("span",{className:"text-sm text-muted truncate max-w-[200px]",title:p==null?void 0:p.name,children:(p==null?void 0:p.name)??"No project"}):r.jsxs("div",{ref:B,className:"relative",onKeyDown:D,children:[r.jsxs("button",{onClick:()=>X(S=>!S),className:"flex items-center gap-1 px-2 py-1 text-sm border border-edge rounded hover:bg-surface-elevated transition-colors truncate max-w-[200px]","aria-haspopup":"listbox","aria-expanded":N,"aria-label":"Select project",children:[r.jsx("span",{className:"truncate",children:(p==null?void 0:p.name)??"Select project"}),r.jsx("svg",{className:"w-3 h-3 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:r.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),N&&r.jsx("ul",{role:"listbox","aria-label":"Projects",className:"absolute top-full left-0 mt-1 w-56 bg-surface-alt border border-edge rounded shadow-lg z-50 max-h-60 overflow-y-auto",children:y.map(S=>r.jsx("li",{role:"option","aria-selected":S.id===(p==null?void 0:p.id),children:r.jsx("button",{onClick:()=>{M(S.id),X(!1)},className:`w-full text-left px-3 py-2 text-sm hover:bg-surface-elevated transition-colors ${S.id===(p==null?void 0:p.id)?"text-accent font-medium":"text-foreground"}`,children:S.name})},S.id))})]})});/**
51
+ * @license lucide-react v1.7.0 - ISC
52
+ *
53
+ * This source code is licensed under the ISC license.
54
+ * See the LICENSE file in the root directory of this source tree.
55
+ */const Xd=(...f)=>f.filter((y,p,o)=>!!y&&y.trim()!==""&&o.indexOf(y)===p).join(" ").trim();/**
56
+ * @license lucide-react v1.7.0 - ISC
57
+ *
58
+ * This source code is licensed under the ISC license.
59
+ * See the LICENSE file in the root directory of this source tree.
60
+ */const U0=f=>f.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
61
+ * @license lucide-react v1.7.0 - ISC
62
+ *
63
+ * This source code is licensed under the ISC license.
64
+ * See the LICENSE file in the root directory of this source tree.
65
+ */const R0=f=>f.replace(/^([A-Z])|[\s-_]+(\w)/g,(y,p,o)=>o?o.toUpperCase():p.toLowerCase());/**
66
+ * @license lucide-react v1.7.0 - ISC
67
+ *
68
+ * This source code is licensed under the ISC license.
69
+ * See the LICENSE file in the root directory of this source tree.
70
+ */const Rd=f=>{const y=R0(f);return y.charAt(0).toUpperCase()+y.slice(1)};/**
71
+ * @license lucide-react v1.7.0 - ISC
72
+ *
73
+ * This source code is licensed under the ISC license.
74
+ * See the LICENSE file in the root directory of this source tree.
75
+ */var gf={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
76
+ * @license lucide-react v1.7.0 - ISC
77
+ *
78
+ * This source code is licensed under the ISC license.
79
+ * See the LICENSE file in the root directory of this source tree.
80
+ */const H0=f=>{for(const y in f)if(y.startsWith("aria-")||y==="role"||y==="title")return!0;return!1},q0=O.createContext({}),B0=()=>O.useContext(q0),Y0=O.forwardRef(({color:f,size:y,strokeWidth:p,absoluteStrokeWidth:o,className:M="",children:N,iconNode:X,...B},D)=>{const{size:S=24,strokeWidth:H=2,absoluteStrokeWidth:j=!1,color:q="currentColor",className:et=""}=B0()??{},F=o??j?Number(p??H)*24/Number(y??S):p??H;return O.createElement("svg",{ref:D,...gf,width:y??S??gf.width,height:y??S??gf.height,stroke:f??q,strokeWidth:F,className:Xd("lucide",et,M),...!N&&!H0(B)&&{"aria-hidden":"true"},...B},[...X.map(([gt,w])=>O.createElement(gt,w)),...Array.isArray(N)?N:[N]])});/**
81
+ * @license lucide-react v1.7.0 - ISC
82
+ *
83
+ * This source code is licensed under the ISC license.
84
+ * See the LICENSE file in the root directory of this source tree.
85
+ */const At=(f,y)=>{const p=O.forwardRef(({className:o,...M},N)=>O.createElement(Y0,{ref:N,iconNode:y,className:Xd(`lucide-${U0(Rd(f))}`,`lucide-${f}`,o),...M}));return p.displayName=Rd(f),p};/**
86
+ * @license lucide-react v1.7.0 - ISC
87
+ *
88
+ * This source code is licensed under the ISC license.
89
+ * See the LICENSE file in the root directory of this source tree.
90
+ */const G0=[["path",{d:"M12 18V5",key:"adv99a"}],["path",{d:"M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4",key:"1e3is1"}],["path",{d:"M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5",key:"1gqd8o"}],["path",{d:"M17.997 5.125a4 4 0 0 1 2.526 5.77",key:"iwvgf7"}],["path",{d:"M18 18a4 4 0 0 0 2-7.464",key:"efp6ie"}],["path",{d:"M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517",key:"1gq6am"}],["path",{d:"M6 18a4 4 0 0 1-2-7.464",key:"k1g0md"}],["path",{d:"M6.003 5.125a4 4 0 0 0-2.526 5.77",key:"q97ue3"}]],L0=At("brain",G0);/**
91
+ * @license lucide-react v1.7.0 - ISC
92
+ *
93
+ * This source code is licensed under the ISC license.
94
+ * See the LICENSE file in the root directory of this source tree.
95
+ */const X0=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],Q0=At("chart-column",X0);/**
96
+ * @license lucide-react v1.7.0 - ISC
97
+ *
98
+ * This source code is licensed under the ISC license.
99
+ * See the LICENSE file in the root directory of this source tree.
100
+ */const Z0=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],V0=At("clipboard-list",Z0);/**
101
+ * @license lucide-react v1.7.0 - ISC
102
+ *
103
+ * This source code is licensed under the ISC license.
104
+ * See the LICENSE file in the root directory of this source tree.
105
+ */const J0=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],K0=At("code",J0);/**
106
+ * @license lucide-react v1.7.0 - ISC
107
+ *
108
+ * This source code is licensed under the ISC license.
109
+ * See the LICENSE file in the root directory of this source tree.
110
+ */const w0=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],k0=At("database",w0);/**
111
+ * @license lucide-react v1.7.0 - ISC
112
+ *
113
+ * This source code is licensed under the ISC license.
114
+ * See the LICENSE file in the root directory of this source tree.
115
+ */const $0=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]],W0=At("file-up",$0);/**
116
+ * @license lucide-react v1.7.0 - ISC
117
+ *
118
+ * This source code is licensed under the ISC license.
119
+ * See the LICENSE file in the root directory of this source tree.
120
+ */const F0=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],I0=At("folder-open",F0);/**
121
+ * @license lucide-react v1.7.0 - ISC
122
+ *
123
+ * This source code is licensed under the ISC license.
124
+ * See the LICENSE file in the root directory of this source tree.
125
+ */const P0=[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]],Qd=At("git-fork",P0);/**
126
+ * @license lucide-react v1.7.0 - ISC
127
+ *
128
+ * This source code is licensed under the ISC license.
129
+ * See the LICENSE file in the root directory of this source tree.
130
+ */const ty=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],ly=At("globe",ty);/**
131
+ * @license lucide-react v1.7.0 - ISC
132
+ *
133
+ * This source code is licensed under the ISC license.
134
+ * See the LICENSE file in the root directory of this source tree.
135
+ */const ey=[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]],ay=At("languages",ey);/**
136
+ * @license lucide-react v1.7.0 - ISC
137
+ *
138
+ * This source code is licensed under the ISC license.
139
+ * See the LICENSE file in the root directory of this source tree.
140
+ */const uy=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],ny=At("menu",uy);/**
141
+ * @license lucide-react v1.7.0 - ISC
142
+ *
143
+ * This source code is licensed under the ISC license.
144
+ * See the LICENSE file in the root directory of this source tree.
145
+ */const cy=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],iy=At("moon",cy);/**
146
+ * @license lucide-react v1.7.0 - ISC
147
+ *
148
+ * This source code is licensed under the ISC license.
149
+ * See the LICENSE file in the root directory of this source tree.
150
+ */const fy=[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]],sy=At("network",fy);/**
151
+ * @license lucide-react v1.7.0 - ISC
152
+ *
153
+ * This source code is licensed under the ISC license.
154
+ * See the LICENSE file in the root directory of this source tree.
155
+ */const oy=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],ry=At("panel-left-close",oy);/**
156
+ * @license lucide-react v1.7.0 - ISC
157
+ *
158
+ * This source code is licensed under the ISC license.
159
+ * See the LICENSE file in the root directory of this source tree.
160
+ */const dy=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]],my=At("panel-left",dy);/**
161
+ * @license lucide-react v1.7.0 - ISC
162
+ *
163
+ * This source code is licensed under the ISC license.
164
+ * See the LICENSE file in the root directory of this source tree.
165
+ */const hy=[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]],yy=At("route",hy);/**
166
+ * @license lucide-react v1.7.0 - ISC
167
+ *
168
+ * This source code is licensed under the ISC license.
169
+ * See the LICENSE file in the root directory of this source tree.
170
+ */const vy=[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]],gy=At("scroll-text",vy);/**
171
+ * @license lucide-react v1.7.0 - ISC
172
+ *
173
+ * This source code is licensed under the ISC license.
174
+ * See the LICENSE file in the root directory of this source tree.
175
+ */const by=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],Sy=At("sun",by);/**
176
+ * @license lucide-react v1.7.0 - ISC
177
+ *
178
+ * This source code is licensed under the ISC license.
179
+ * See the LICENSE file in the root directory of this source tree.
180
+ */const py=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],xy=At("target",py);/**
181
+ * @license lucide-react v1.7.0 - ISC
182
+ *
183
+ * This source code is licensed under the ISC license.
184
+ * See the LICENSE file in the root directory of this source tree.
185
+ */const Ty=[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]],Ey=At("timer",Ty);/**
186
+ * @license lucide-react v1.7.0 - ISC
187
+ *
188
+ * This source code is licensed under the ISC license.
189
+ * See the LICENSE file in the root directory of this source tree.
190
+ */const zy=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],_y=At("x",zy);/**
191
+ * @license lucide-react v1.7.0 - ISC
192
+ *
193
+ * This source code is licensed under the ISC license.
194
+ * See the LICENSE file in the root directory of this source tree.
195
+ */const Ay=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Oy=At("zap",Ay),Ny=[{id:"graph",label:"Graph",icon:Qd},{id:"prd-backlog",label:"PRD & Backlog",icon:V0},{id:"journey",label:"Journey",icon:yy,beta:!0},{id:"gitnexus",label:"Code Graph",icon:sy},{id:"siebel",label:"Siebel",icon:k0,beta:!0},{id:"lsp",label:"LSP",icon:K0,beta:!0},{id:"memories",label:"Memories",icon:L0},{id:"insights",label:"Insights",icon:Q0},{id:"skills",label:"Skills",icon:Oy},{id:"context",label:"Context",icon:xy},{id:"benchmark",label:"Benchmark",icon:Ey},{id:"languages",label:"Languages",icon:ay,beta:!0},{id:"logs",label:"Logs",icon:gy}],Hd="mcp-graph-sidebar-collapsed",jy=O.memo(function({activeTab:y,onTabChange:p}){const{theme:o,toggleTheme:M}=j0(),[N,X]=O.useState(()=>{try{return localStorage.getItem(Hd)==="true"}catch{return!1}}),[B,D]=O.useState(!1),S=O.useCallback(()=>{X(q=>{const et=!q;try{localStorage.setItem(Hd,String(et))}catch{}return et})},[]),H=O.useCallback(q=>{p(q),D(!1)},[p]);O.useEffect(()=>{if(!B)return;function q(et){et.key==="Escape"&&D(!1)}return document.addEventListener("keydown",q),()=>document.removeEventListener("keydown",q)},[B]),O.useEffect(()=>(B?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[B]);const j=r.jsxs("div",{className:"flex flex-col h-full",children:[r.jsxs("div",{className:"flex items-center gap-2 px-4 py-4 border-b border-edge",children:[r.jsx("div",{className:"w-8 h-8 rounded-lg bg-accent flex items-center justify-center flex-shrink-0",children:r.jsx(Qd,{className:"w-4 h-4 text-white"})}),!N&&r.jsx("span",{className:"text-sm font-semibold text-foreground truncate",children:"mcp-graph"})]}),r.jsx("nav",{role:"navigation","aria-label":"Main navigation",className:"flex-1 overflow-y-auto py-2 px-2",children:Ny.map(q=>{const et=q.icon,F=y===q.id;return r.jsxs("button",{onClick:()=>H(q.id),"aria-current":F?"page":void 0,title:N?q.label:void 0,className:`
196
+ group relative flex items-center gap-3 w-full px-3 py-2 rounded-lg text-sm font-medium
197
+ transition-colors duration-200
198
+ ${F?"bg-accent/10 text-accent":"text-muted hover:bg-surface-elevated hover:text-foreground"}
199
+ `,children:[r.jsx(et,{className:"w-[18px] h-[18px] flex-shrink-0"}),!N&&r.jsxs(r.Fragment,{children:[r.jsx("span",{className:"truncate",children:q.label}),q.beta&&r.jsx("span",{className:"ml-auto text-[9px] font-medium px-1.5 py-0.5 rounded-full bg-warning/15 text-warning",children:"beta"})]}),N&&r.jsxs("span",{className:`
200
+ absolute left-full ml-2 px-2 py-1 rounded-md text-xs font-medium
201
+ bg-surface-elevated text-foreground border border-edge shadow-lg
202
+ opacity-0 pointer-events-none group-hover:opacity-100
203
+ transition-opacity duration-150 whitespace-nowrap z-50
204
+ `,children:[q.label,q.beta&&" (beta)"]})]},q.id)})}),r.jsxs("div",{className:"border-t border-edge px-3 py-3 space-y-2",children:[!N&&r.jsx("div",{className:"pb-1",children:r.jsx(C0,{})}),r.jsxs("div",{className:`flex items-center ${N?"justify-center":"justify-between"}`,children:[r.jsx("button",{onClick:M,title:`Switch to ${o==="dark"?"light":"dark"} mode`,"aria-label":`Switch to ${o==="dark"?"light":"dark"} mode`,className:"p-2 rounded-lg text-muted hover:bg-surface-elevated hover:text-foreground transition-colors",children:o==="dark"?r.jsx(Sy,{className:"w-4 h-4"}):r.jsx(iy,{className:"w-4 h-4"})}),r.jsx("button",{onClick:S,title:N?"Expand sidebar":"Collapse sidebar","aria-label":N?"Expand sidebar":"Collapse sidebar",className:"hidden md:flex p-2 rounded-lg text-muted hover:bg-surface-elevated hover:text-foreground transition-colors",children:N?r.jsx(my,{className:"w-4 h-4"}):r.jsx(ry,{className:"w-4 h-4"})})]})]})]});return r.jsxs(r.Fragment,{children:[r.jsx("button",{onClick:()=>D(!0),className:"fixed top-3 left-3 z-50 md:hidden p-2 rounded-lg bg-surface-alt border border-edge shadow-sm hover:bg-surface-elevated transition-colors","aria-label":"Open navigation menu",children:r.jsx(ny,{className:"w-5 h-5 text-foreground"})}),B&&r.jsx("div",{className:"fixed inset-0 z-40 bg-black/50 md:hidden",onClick:()=>D(!1),"aria-hidden":"true"}),r.jsxs("aside",{className:`
205
+ fixed top-0 left-0 z-50 h-full w-[240px]
206
+ bg-surface-alt border-r border-edge
207
+ transform transition-transform duration-200 ease-out
208
+ md:hidden
209
+ ${B?"translate-x-0":"-translate-x-full"}
210
+ `,"aria-label":"Navigation sidebar",children:[r.jsx("button",{onClick:()=>D(!1),className:"absolute top-3 right-3 p-1.5 rounded-lg text-muted hover:bg-surface-elevated hover:text-foreground transition-colors","aria-label":"Close navigation menu",children:r.jsx(_y,{className:"w-4 h-4"})}),j]}),r.jsx("aside",{className:`
211
+ hidden md:flex flex-col flex-shrink-0 h-full
212
+ bg-surface-alt border-r border-edge
213
+ transition-[width] duration-200 ease-out
214
+ ${N?"w-16":"w-60"}
215
+ `,"aria-label":"Navigation sidebar",children:j})]})});function My(){const[f,y]=O.useState(null),[p,o]=O.useState(!0),[M,N]=O.useState(null),X=O.useCallback(async()=>{try{o(!0),N(null);const B=await Ul.getGraph();y(B)}catch(B){N(B instanceof Error?B.message:"Failed to load graph")}finally{o(!1)}},[]);return O.useEffect(()=>{X()},[X]),{graph:f,loading:p,error:M,refresh:X}}function Dy(){const[f,y]=O.useState(null),p=O.useCallback(async()=>{try{const o=await Ul.getStats();y(o)}catch{}},[]);return O.useEffect(()=>{p()},[p]),{stats:f,refresh:p}}function Cy(f){const y=O.useRef(f);y.current=f;const p=O.useCallback(()=>{const o=new EventSource("/api/v1/events"),M=X=>{try{const B=JSON.parse(X.data);y.current(X.type,B)}catch{}},N=["node:created","node:updated","node:deleted","edge:created","edge:deleted","import:completed","translation:job_created","translation:analyzed","translation:finalized","translation:error"];for(const X of N)o.addEventListener(X,M);return o.onmessage=M,o.onerror=()=>{o.close(),setTimeout(p,5e3)},o},[]);O.useEffect(()=>{const o=p();return()=>o.close()},[p])}function Uy({open:f,onClose:y,onImported:p}){const[o,M]=O.useState(null),[N,X]=O.useState(!1),[B,D]=O.useState(null),[S,H]=O.useState(!1),[j,q]=O.useState(!1),et=O.useRef(null),F=O.useCallback(w=>{w.preventDefault(),q(!1),w.dataTransfer.files.length&&M(w.dataTransfer.files[0])},[]),gt=O.useCallback(async()=>{if(o){H(!0),D({type:"info",message:"Uploading and processing..."});try{const w=await Ul.importFile(o,N);D({type:"success",message:`Imported ${w.nodesCreated} nodes and ${w.edgesCreated} edges.`}),setTimeout(()=>{y(),p(),M(null),D(null)},1500)}catch(w){D({type:"error",message:w instanceof Error?w.message:"Import failed"})}finally{H(!1)}}},[o,N,y,p]);return f?r.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",onClick:w=>{w.target===w.currentTarget&&y()},children:r.jsxs("div",{className:"bg-surface rounded-lg shadow-xl w-full max-w-md p-6",children:[r.jsxs("div",{className:"flex items-center justify-between mb-4",children:[r.jsx("h2",{className:"text-lg font-semibold",children:"Import PRD"}),r.jsx("button",{onClick:y,className:"text-muted hover:text-foreground text-xl",children:"×"})]}),r.jsxs("div",{className:`border-2 border-dashed rounded-lg p-8 text-center cursor-pointer transition-colors mb-4 ${j?"border-accent bg-accent10":"border-edge"}`,onClick:()=>{var w;return(w=et.current)==null?void 0:w.click()},onDragOver:w=>{w.preventDefault(),q(!0)},onDragLeave:()=>q(!1),onDrop:F,children:[r.jsx("input",{ref:et,type:"file",accept:".md,.txt,.pdf,.html,.htm",className:"hidden",onChange:w=>{var pt;(pt=w.target.files)!=null&&pt.length&&M(w.target.files[0])}}),r.jsx("p",{className:"text-sm text-muted",children:o?`Selected: ${o.name} (${Ry(o.size)})`:`Drag & drop a file here
216
+ or click to select`})]}),r.jsxs("label",{className:"flex items-center gap-2 mb-4 text-sm",children:[r.jsx("input",{type:"checkbox",checked:N,onChange:w=>X(w.target.checked)}),"Force re-import (overwrite existing)"]}),B&&r.jsx("div",{className:`text-sm p-2 rounded mb-4 ${B.type==="success"?"bg-green-500/10 text-green-500":B.type==="error"?"bg-red-500/10 text-red-500":"bg-blue-500/10 text-blue-500"}`,children:B.message}),r.jsxs("div",{className:"flex justify-end gap-2",children:[r.jsx("button",{onClick:y,className:"px-3 py-1.5 text-sm border border-edge rounded hover:bg-surface-elevated",children:"Cancel"}),r.jsx("button",{onClick:gt,disabled:!o||S,className:"px-3 py-1.5 text-sm bg-accent text-white rounded hover:bg-accent-light disabled:opacity-50",children:S?"Importing...":"Import"})]})]})}):null}function Ry(f){return f<1024?f+" B":f<1048576?(f/1024).toFixed(1)+" KB":(f/1048576).toFixed(1)+" MB"}function Hy({open:f,onClose:y,onImported:p}){const[o,M]=O.useState(""),[N,X]=O.useState(""),[B,D]=O.useState(""),[S,H]=O.useState(null),[j,q]=O.useState(null),[et,F]=O.useState(!1),gt=O.useCallback(async()=>{if(!o.trim()){H({type:"error",message:"Please enter a URL"});return}F(!0),H({type:"info",message:"Capturing page... This may take a few seconds."}),q(null);try{const ct=await Ul.captureUrl(o.trim(),N.trim()||void 0,B.trim()||void 0);q(ct),H({type:"success",message:`Captured: ${ct.wordCount} words`})}catch(ct){H({type:"error",message:`Capture failed: ${ct instanceof Error?ct.message:"Unknown error"}`})}finally{F(!1)}},[o,N,B]),w=O.useCallback(async()=>{if(j){H({type:"info",message:"Importing captured content as PRD..."});try{const ct=new Blob([j.text],{type:"text/markdown"}),Ot=(j.title||"captured-page").replace(/[^a-zA-Z0-9-_]/g,"-")+".md",Lt=new File([ct],Ot,{type:"text/markdown"});await Ul.importFile(Lt),H({type:"success",message:"Import completed!"}),setTimeout(()=>{y(),p()},1e3)}catch(ct){H({type:"error",message:`Import failed: ${ct instanceof Error?ct.message:"Unknown error"}`})}}},[j,y,p]),pt=O.useCallback(async()=>{j&&(await navigator.clipboard.writeText(j.text),H({type:"success",message:"Copied to clipboard!"}))},[j]);return f?r.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",onClick:ct=>{ct.target===ct.currentTarget&&y()},children:r.jsxs("div",{className:"bg-surface rounded-lg shadow-xl w-full max-w-lg p-6 max-h-[80vh] overflow-y-auto",children:[r.jsxs("div",{className:"flex items-center justify-between mb-4",children:[r.jsx("h2",{className:"text-lg font-semibold",children:"Capture Web Page"}),r.jsx("button",{onClick:y,className:"text-muted hover:text-foreground text-xl",children:"×"})]}),r.jsxs("div",{className:"space-y-3 mb-4",children:[r.jsxs("div",{children:[r.jsx("label",{className:"block text-xs font-medium mb-1",children:"URL"}),r.jsx("input",{type:"url",value:o,onChange:ct=>M(ct.target.value),placeholder:"https://example.com/prd",className:"w-full px-2 py-1.5 text-sm border border-edge rounded bg-surface",onKeyDown:ct=>{ct.key==="Enter"&&gt()}})]}),r.jsxs("div",{children:[r.jsx("label",{className:"block text-xs font-medium mb-1",children:"CSS Selector (optional)"}),r.jsx("input",{type:"text",value:N,onChange:ct=>X(ct.target.value),placeholder:"main, article, .content",className:"w-full px-2 py-1.5 text-sm border border-edge rounded bg-surface"})]}),r.jsxs("div",{children:[r.jsx("label",{className:"block text-xs font-medium mb-1",children:"Wait for Selector (optional)"}),r.jsx("input",{type:"text",value:B,onChange:ct=>D(ct.target.value),placeholder:".loaded, #content",className:"w-full px-2 py-1.5 text-sm border border-edge rounded bg-surface"})]})]}),S&&r.jsx("div",{className:`text-sm p-2 rounded mb-4 ${S.type==="success"?"bg-green-500/10 text-green-500":S.type==="error"?"bg-red-500/10 text-red-500":"bg-blue-500/10 text-blue-500"}`,children:S.message}),j&&r.jsxs("div",{className:"mb-4 p-3 rounded-xl border border-edge shadow-sm hover:shadow-md transition-shadow bg-surface-alt",children:[r.jsx("h3",{className:"text-sm font-medium mb-2",children:"Extracted Content"}),r.jsxs("div",{className:"text-xs text-muted space-y-0.5 mb-2",children:[r.jsxs("p",{children:[r.jsx("strong",{children:"Title:"})," ",j.title||"—"]}),r.jsxs("p",{children:[r.jsx("strong",{children:"Words:"})," ",j.wordCount]}),r.jsxs("p",{children:[r.jsx("strong",{children:"Captured:"})," ",new Date(j.capturedAt).toLocaleString()]})]}),r.jsxs("pre",{className:"text-xs whitespace-pre-wrap max-h-40 overflow-y-auto p-2 bg-surface-elevated rounded",children:[j.text.substring(0,5e3),j.text.length>5e3&&`
217
+
218
+ ... (truncated)`]}),r.jsxs("div",{className:"flex gap-2 mt-2",children:[r.jsx("button",{onClick:w,className:"px-3 py-1 text-xs bg-accent text-white rounded hover:bg-accent-light",children:"Import as PRD"}),r.jsx("button",{onClick:pt,className:"px-3 py-1 text-xs border border-edge rounded hover:bg-surface-elevated",children:"Copy Text"})]})]}),r.jsx("div",{className:"flex justify-end",children:r.jsx("button",{onClick:gt,disabled:et,className:"px-3 py-1.5 text-sm bg-accent text-white rounded hover:bg-accent-light disabled:opacity-50",children:et?"Capturing...":"Capture"})})]})}):null}function qy({open:f,onClose:y,onFolderChanged:p}){const[o,M]=O.useState(""),[N,X]=O.useState(""),[B,D]=O.useState([]),[S,H]=O.useState(null),[j,q]=O.useState(!1),[et,F]=O.useState(""),[gt,w]=O.useState([]),[pt,ct]=O.useState(""),[Ot,Lt]=O.useState(!1),[It,Xt]=O.useState(""),[I,Qt]=O.useState(!1);O.useEffect(()=>{f&&(H(null),M(""),Qt(!1),w([]),Ul.getFolder().then(Z=>{X(Z.currentPath),D(Z.recentFolders)}).catch(()=>{}))},[f]);const kt=O.useCallback(async Z=>{Lt(!0),Xt("");try{const Nt=await Ul.browseFolder(Z);F(Nt.path),ct(Nt.parent),w(Nt.entries),Qt(!0)}catch(Nt){Xt(Nt instanceof Error?Nt.message:"Failed to browse")}finally{Lt(!1)}},[]),jl=O.useCallback(async Z=>{const Nt=Z??o.trim();if(Nt){q(!0),H({type:"info",message:"Opening folder..."});try{const jt=await Ul.openFolder(Nt);if(!jt.ok){H({type:"error",message:jt.error??"Failed to open folder"});return}H({type:"success",message:`Opened: ${jt.basePath}`}),X(jt.basePath??Nt),jt.recentFolders&&D(jt.recentFolders),setTimeout(()=>{y(),p()},800)}catch(jt){H({type:"error",message:jt instanceof Error?jt.message:"Failed to open folder"})}finally{q(!1)}}},[o,y,p]),bl=O.useCallback(()=>{const Z=N&&N.split("/").slice(0,-1).join("/")||"/";kt(Z)},[N,kt]);return f?r.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50",onClick:Z=>{Z.target===Z.currentTarget&&y()},children:r.jsxs("div",{className:"bg-surface rounded-lg shadow-xl w-full max-w-lg p-6 max-h-[80vh] flex flex-col",children:[r.jsxs("div",{className:"flex items-center justify-between mb-4",children:[r.jsx("h2",{className:"text-lg font-semibold",children:"Open Folder"}),r.jsx("button",{onClick:y,className:"text-muted hover:text-foreground text-xl",children:"×"})]}),r.jsxs("div",{className:"text-xs text-muted mb-3",children:["Current: ",r.jsx("span",{className:"font-mono",children:N||"..."})]}),r.jsxs("div",{className:"mb-3",children:[r.jsx("label",{className:"block text-sm mb-1",children:"Project folder path"}),r.jsxs("div",{className:"flex gap-2",children:[r.jsx("input",{type:"text",value:o,onChange:Z=>M(Z.target.value),onKeyDown:Z=>{Z.key==="Enter"&&jl()},placeholder:"/path/to/project",className:"flex-1 px-3 py-2 text-sm bg-surface-alt border border-edge rounded font-mono focus:outline-none focus:border-accent",autoFocus:!0}),r.jsx("button",{onClick:()=>void jl(),disabled:!o.trim()||j,className:"px-4 py-2 text-sm bg-accent text-white rounded hover:bg-accent-light disabled:opacity-50",children:j?"...":"Open"})]}),r.jsx("button",{onClick:bl,className:"mt-1 text-xs text-accent hover:underline",children:"Browse directories..."})]}),S&&r.jsx("div",{className:`text-sm p-2 rounded mb-3 ${S.type==="success"?"bg-green-500/10 text-green-500":S.type==="error"?"bg-red-500/10 text-red-500":"bg-blue-500/10 text-blue-500"}`,children:S.message}),I&&r.jsxs("div",{className:"mb-3 border border-edge rounded overflow-hidden",children:[r.jsx("div",{className:"flex items-center gap-1 px-3 py-2 bg-surface-alt border-b border-edge text-xs font-mono overflow-x-auto whitespace-nowrap",children:et.split("/").filter(Boolean).map((Z,Nt,jt)=>{const Pt="/"+jt.slice(0,Nt+1).join("/");return r.jsxs("span",{className:"flex items-center gap-1",children:[Nt>0&&r.jsx("span",{className:"text-muted",children:"/"}),r.jsx("button",{onClick:()=>void kt(Pt),className:"hover:text-accent hover:underline",children:Z})]},Pt)})}),Ot&&r.jsx("div",{className:"px-3 py-4 text-sm text-muted text-center",children:"Loading..."}),It&&r.jsx("div",{className:"px-3 py-2 text-sm text-red-500",children:It}),!Ot&&!It&&r.jsxs("ul",{className:"max-h-48 overflow-y-auto",children:[pt&&pt!==et&&r.jsx("li",{children:r.jsxs("button",{onClick:()=>void kt(pt),className:"w-full text-left px-3 py-1.5 text-sm hover:bg-surface-elevated flex items-center gap-2",children:[r.jsx("span",{className:"text-muted",children:".."}),r.jsx("span",{className:"text-xs text-muted",children:"(parent)"})]})}),gt.length===0&&r.jsx("li",{className:"px-3 py-2 text-sm text-muted",children:"No subdirectories"}),gt.map(Z=>r.jsxs("li",{className:"flex items-center",children:[r.jsxs("button",{onClick:()=>void kt(Z.path),className:"flex-1 text-left px-3 py-1.5 text-sm hover:bg-surface-elevated flex items-center gap-2 min-w-0",children:[r.jsx("span",{className:"shrink-0",children:Z.hasGraph?"📂":"📁"}),r.jsx("span",{className:`truncate ${Z.hasGraph?"font-medium text-accent":""}`,children:Z.name}),Z.hasGraph&&r.jsx("span",{className:"shrink-0 text-xs bg-accent/20 text-accent px-1.5 py-0.5 rounded",children:"graph"})]}),Z.hasGraph&&r.jsx("button",{onClick:()=>void jl(Z.path),disabled:j||Z.path===N,className:"shrink-0 mr-2 px-2 py-1 text-xs bg-accent text-white rounded hover:bg-accent-light disabled:opacity-50",children:Z.path===N?"current":"Open"})]},Z.path))]})]}),r.jsx("div",{className:"flex-1 min-h-0 overflow-hidden flex flex-col",children:B.length>0&&r.jsxs("div",{className:"flex-1 min-h-0 flex flex-col",children:[r.jsx("h3",{className:"text-sm font-medium mb-2 text-muted shrink-0",children:"Recent folders"}),r.jsx("ul",{className:"space-y-1 overflow-y-auto min-h-0",children:B.map(Z=>r.jsx("li",{children:r.jsxs("button",{onClick:()=>void jl(Z),disabled:j||Z===N,className:`w-full text-left px-3 py-1.5 text-sm font-mono rounded transition-colors ${Z===N?"bg-accent/10 text-accent cursor-default":"hover:bg-surface-elevated text-foreground"}`,title:Z,children:[r.jsx("span",{className:"truncate block",children:Z}),Z===N&&r.jsx("span",{className:"text-xs text-accent",children:" (current)"})]})},Z))})]})}),r.jsx("div",{className:"flex justify-end mt-4 shrink-0",children:r.jsx("button",{onClick:y,className:"px-3 py-1.5 text-sm border border-edge rounded hover:bg-surface-elevated",children:"Cancel"})})]})}):null}O.memo(function({className:y="h-4 w-full"}){return r.jsx("div",{className:`rounded-md bg-surface-elevated animate-pulse motion-reduce:animate-none ${y}`,role:"status","aria-label":"Loading"})});const Jn=O.memo(function({className:y=""}){return r.jsxs("div",{className:`rounded-xl border border-edge p-4 space-y-3 ${y}`,role:"status","aria-label":"Loading card",children:[r.jsx("div",{className:"h-4 w-1/3 rounded-md bg-surface-elevated animate-pulse motion-reduce:animate-none"}),r.jsxs("div",{className:"space-y-2",children:[r.jsx("div",{className:"h-3 w-full rounded-md bg-surface-elevated animate-pulse motion-reduce:animate-none"}),r.jsx("div",{className:"h-3 w-2/3 rounded-md bg-surface-elevated animate-pulse motion-reduce:animate-none"})]})]})}),qd=O.memo(function({className:y=""}){return r.jsxs("div",{className:`rounded-xl border border-edge p-4 space-y-3 ${y}`,role:"status","aria-label":"Loading chart",children:[r.jsx("div",{className:"h-4 w-1/4 rounded-md bg-surface-elevated animate-pulse motion-reduce:animate-none"}),r.jsx("div",{className:"h-40 w-full rounded-lg bg-surface-elevated animate-pulse motion-reduce:animate-none"})]})}),By=O.memo(function(){return r.jsxs("div",{className:"p-6 space-y-6 max-w-6xl mx-auto",role:"status","aria-label":"Loading page",children:[r.jsxs("div",{className:"flex items-center justify-between",children:[r.jsx("div",{className:"h-5 w-40 rounded-md bg-surface-elevated animate-pulse motion-reduce:animate-none"}),r.jsx("div",{className:"h-8 w-20 rounded-lg bg-surface-elevated animate-pulse motion-reduce:animate-none"})]}),r.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:[r.jsx(Jn,{}),r.jsx(Jn,{}),r.jsx(Jn,{}),r.jsx(Jn,{})]}),r.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4",children:[r.jsx(qd,{}),r.jsx(qd,{})]})]})}),Yy=O.lazy(()=>gl(()=>import("./graph-tab-C6nWMQkR.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8])).then(f=>({default:f.GraphTab}))),Gy=O.lazy(()=>gl(()=>import("./prd-backlog-tab-BBUG4V7M.js"),__vite__mapDeps([9,1,2,3,5,4,6])).then(f=>({default:f.PrdBacklogTab}))),Ly=O.lazy(()=>gl(()=>import("./journey-tab-CbJSfdpz.js"),__vite__mapDeps([10,1,2,3])).then(f=>({default:f.JourneyTab}))),Xy=O.lazy(()=>gl(()=>import("./gitnexus-tab-h8BwIua3.js"),__vite__mapDeps([11,5,12])).then(f=>({default:f.GitNexusTab}))),Qy=O.lazy(()=>gl(()=>import("./memories-tab-BHOvEW0o.js"),[]).then(f=>({default:f.MemoriesTab}))),Zy=O.lazy(()=>gl(()=>import("./insights-tab-CL9LCuow.js"),__vite__mapDeps([13,2,5,8,14])).then(f=>({default:f.InsightsTab}))),Vy=O.lazy(()=>gl(()=>import("./skills-tab-_A8OYt_b.js"),__vite__mapDeps([15,5])).then(f=>({default:f.SkillsTab}))),Jy=O.lazy(()=>gl(()=>import("./context-tab-DRUGmBRL.js"),[]).then(f=>({default:f.ContextTab}))),Ky=O.lazy(()=>gl(()=>import("./benchmark-tab-D7nae4k4.js"),[]).then(f=>({default:f.BenchmarkTab}))),wy=O.lazy(()=>gl(()=>import("./logs-tab-CeH_wY9u.js"),[]).then(f=>({default:f.LogsTab}))),ky=O.lazy(()=>gl(()=>import("./siebel-tab-DZXhcoUu.js"),__vite__mapDeps([16,5])).then(f=>({default:f.SiebelTab}))),$y=O.lazy(()=>gl(()=>import("./lsp-tab-BLIpJrAk.js"),__vite__mapDeps([17,8,14,18])).then(f=>({default:f.LspTab}))),Wy=O.lazy(()=>gl(()=>import("./languages-tab-Vjkz6r99.js"),__vite__mapDeps([19,7,18,14])).then(f=>({default:f.LanguagesTab}))),Fy={graph:"Graph","prd-backlog":"PRD & Backlog",journey:"Journey",gitnexus:"Code Graph",siebel:"Siebel",lsp:"LSP",memories:"Memories",insights:"Insights",skills:"Skills",context:"Context",benchmark:"Benchmark",languages:"Languages",logs:"Logs"};class Iy extends Yd.Component{constructor(){super(...arguments);Vn(this,"state",{hasError:!1,error:null})}static getDerivedStateFromError(p){return{hasError:!0,error:p}}render(){var p;return this.state.hasError?r.jsxs("div",{className:"flex flex-col items-center justify-center h-full gap-4 text-muted",children:[r.jsx("p",{className:"text-sm",children:"Something went wrong."}),r.jsx("p",{className:"text-xs text-danger",children:(p=this.state.error)==null?void 0:p.message}),r.jsx("button",{onClick:()=>window.location.reload(),className:"text-xs px-3 py-1.5 rounded-lg bg-accent text-white hover:opacity-90 transition-opacity",children:"Reload"})]}):this.props.children}}function Bd(){return r.jsx(By,{})}function Py(){var pt;const[f,y]=O.useState("graph"),[p,o]=O.useState(!1),[M,N]=O.useState(!1),[X,B]=O.useState(!1),{graph:D,loading:S,error:H,refresh:j}=My(),{stats:q,refresh:et}=Dy(),F=O.useCallback(async()=>{await Promise.all([j(),et()])},[j,et]);Cy(O.useCallback(ct=>{ct.startsWith("translation:")||F()},[F]));const gt=((pt=q==null?void 0:q.byStatus)==null?void 0:pt.done)??0,w=(q==null?void 0:q.totalNodes)??0;return r.jsxs(M0,{onProjectChange:F,children:[r.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:fixed focus:top-2 focus:left-2 focus:z-[100] focus:px-4 focus:py-2 focus:rounded-lg focus:bg-accent focus:text-white focus:text-sm focus:font-medium",children:"Skip to main content"}),r.jsxs("div",{className:"h-screen flex flex-row",children:[r.jsx(jy,{activeTab:f,onTabChange:y}),r.jsxs("div",{className:"flex-1 flex flex-col min-w-0",children:[r.jsxs("header",{className:"flex items-center justify-between gap-2 px-4 py-2 border-b border-edge bg-surface-alt md:px-6",children:[r.jsxs("div",{className:"flex items-center gap-3 pl-10 md:pl-0",children:[r.jsx("h1",{className:"text-sm font-semibold text-foreground",children:Fy[f]}),w>0&&r.jsxs("span",{className:"text-xs text-muted",children:[gt,"/",w," done"]})]}),r.jsxs("div",{className:"flex items-center gap-1.5",children:[r.jsxs("button",{onClick:()=>B(!0),className:"inline-flex items-center gap-1.5 px-2.5 py-1.5 text-xs border border-edge rounded-lg hover:bg-surface-elevated transition-colors","aria-label":"Open project folder",title:"Open a different project folder",children:[r.jsx(I0,{className:"w-3.5 h-3.5"}),r.jsx("span",{className:"hidden sm:inline",children:"Open Folder"})]}),r.jsxs("button",{onClick:()=>o(!0),className:"inline-flex items-center gap-1.5 px-2.5 py-1.5 text-xs bg-accent text-white rounded-lg hover:bg-accent-light transition-colors","aria-label":"Import PRD file",children:[r.jsx(W0,{className:"w-3.5 h-3.5"}),r.jsx("span",{className:"hidden sm:inline",children:"Import PRD"})]}),r.jsxs("button",{onClick:()=>N(!0),className:"inline-flex items-center gap-1.5 px-2.5 py-1.5 text-xs border border-edge rounded-lg hover:bg-surface-elevated transition-colors","aria-label":"Capture web content",children:[r.jsx(ly,{className:"w-3.5 h-3.5"}),r.jsx("span",{className:"hidden sm:inline",children:"Capture"})]})]})]}),r.jsx("main",{id:"main-content",className:"flex-1 min-h-0 overflow-hidden",children:S?r.jsx(Bd,{}):H?r.jsx("div",{className:"flex items-center justify-center h-full text-danger",children:H}):r.jsx(Iy,{children:r.jsxs(O.Suspense,{fallback:r.jsx(Bd,{}),children:[r.jsx("div",{style:{display:f==="graph"?"contents":"none"},children:r.jsx(Yy,{graph:D,loading:S,error:H,onRetry:F,onImportPrd:()=>o(!0)})}),r.jsx("div",{style:{display:f==="prd-backlog"?"contents":"none"},children:r.jsx(Gy,{graph:D,loading:S,error:H,onRetry:F})}),f==="journey"&&r.jsx(Ly,{}),f==="gitnexus"&&r.jsx(Xy,{}),f==="memories"&&r.jsx(Qy,{}),f==="insights"&&r.jsx(Zy,{}),f==="skills"&&r.jsx(Vy,{}),f==="context"&&r.jsx(Jy,{}),f==="benchmark"&&r.jsx(Ky,{}),f==="logs"&&r.jsx(wy,{}),f==="siebel"&&r.jsx(ky,{}),f==="lsp"&&r.jsx($y,{}),f==="languages"&&r.jsx(Wy,{})]})})})]}),r.jsx(Uy,{open:p,onClose:()=>o(!1),onImported:F}),r.jsx(Hy,{open:M,onClose:()=>N(!1),onImported:F}),r.jsx(qy,{open:X,onClose:()=>B(!1),onFolderChanged:F})]})]})}function t1(){return r.jsx(N0,{children:r.jsx(Py,{})})}_0.createRoot(document.getElementById("root")).render(r.jsx(O.StrictMode,{children:r.jsx(t1,{})}));export{K0 as C,W0 as F,ay as L,qy as O,e1 as R,gl as _,Ul as a,pf as b,At as c,Q0 as d,T0 as e,y0 as g,r as j,O as r,Yd as t,Cy as u};