Files
PC-official/h5/build/assets/index-CD0azml1.js

373 lines
288 KiB
JavaScript
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const w of document.querySelectorAll('link[rel="modulepreload"]'))r(w);new MutationObserver(w=>{for(const A of w)if(A.type==="childList")for(const k of A.addedNodes)k.tagName==="LINK"&&k.rel==="modulepreload"&&r(k)}).observe(document,{childList:!0,subtree:!0});function M(w){const A={};return w.integrity&&(A.integrity=w.integrity),w.referrerPolicy&&(A.referrerPolicy=w.referrerPolicy),w.crossOrigin==="use-credentials"?A.credentials="include":w.crossOrigin==="anonymous"?A.credentials="omit":A.credentials="same-origin",A}function r(w){if(w.ep)return;w.ep=!0;const A=M(w);fetch(w.href,A)}})();function F0(d){return d&&d.__esModule&&Object.prototype.hasOwnProperty.call(d,"default")?d.default:d}var gs={exports:{}},Cn={};/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var w0;function Th(){if(w0)return Cn;w0=1;var d=Symbol.for("react.transitional.element"),_=Symbol.for("react.fragment");function M(r,w,A){var k=null;if(A!==void 0&&(k=""+A),w.key!==void 0&&(k=""+w.key),"key"in w){A={};for(var Z in w)Z!=="key"&&(A[Z]=w[Z])}else A=w;return w=A.ref,{$$typeof:d,type:r,key:k,ref:w!==void 0?w:null,props:A}}return Cn.Fragment=_,Cn.jsx=M,Cn.jsxs=M,Cn}var H0;function Oh(){return H0||(H0=1,gs.exports=Th()),gs.exports}var i=Oh(),vs={exports:{}},I={};/**
* @license React
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var R0;function Dh(){if(R0)return I;R0=1;var d=Symbol.for("react.transitional.element"),_=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),A=Symbol.for("react.consumer"),k=Symbol.for("react.context"),Z=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),p=Symbol.for("react.memo"),Y=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),R=Symbol.iterator;function se(m){return m===null||typeof m!="object"?null:(m=R&&m[R]||m["@@iterator"],typeof m=="function"?m:null)}var Se={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ge=Object.assign,Ue={};function be(m,z,U){this.props=m,this.context=z,this.refs=Ue,this.updater=U||Se}be.prototype.isReactComponent={},be.prototype.setState=function(m,z){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,z,"setState")},be.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this,m,"forceUpdate")};function $(){}$.prototype=be.prototype;function ue(m,z,U){this.props=m,this.context=z,this.refs=Ue,this.updater=U||Se}var L=ue.prototype=new $;L.constructor=ue,ge(L,be.prototype),L.isPureReactComponent=!0;var me=Array.isArray;function V(){}var P={H:null,A:null,T:null,S:null},Je=Object.prototype.hasOwnProperty;function al(m,z,U){var q=U.ref;return{$$typeof:d,type:m,key:z,ref:q!==void 0?q:null,props:U}}function Ml(m,z){return al(m.type,z,m.props)}function qe(m){return typeof m=="object"&&m!==null&&m.$$typeof===d}function W(m){var z={"=":"=0",":":"=2"};return"$"+m.replace(/[=:]/g,function(U){return z[U]})}var pe=/\/+/g;function te(m,z){return typeof m=="object"&&m!==null&&m.key!=null?W(""+m.key):z.toString(36)}function oe(m){switch(m.status){case"fulfilled":return m.value;case"rejected":throw m.reason;default:switch(typeof m.status=="string"?m.then(V,V):(m.status="pending",m.then(function(z){m.status==="pending"&&(m.status="fulfilled",m.value=z)},function(z){m.status==="pending"&&(m.status="rejected",m.reason=z)})),m.status){case"fulfilled":return m.value;case"rejected":throw m.reason}}throw m}function b(m,z,U,q,F){var ae=typeof m;(ae==="undefined"||ae==="boolean")&&(m=null);var he=!1;if(m===null)he=!0;else switch(ae){case"bigint":case"string":case"number":he=!0;break;case"object":switch(m.$$typeof){case d:case _:he=!0;break;case Y:return he=m._init,b(he(m._payload),z,U,q,F)}}if(he)return F=F(m),he=q===""?"."+te(m,0):q,me(F)?(U="",he!=null&&(U=he.replace(pe,"$&/")+"/"),b(F,z,U,"",function(Ct){return Ct})):F!=null&&(qe(F)&&(F=Ml(F,U+(F.key==null||m&&m.key===F.key?"":(""+F.key).replace(pe,"$&/")+"/")+he)),z.push(F)),1;he=0;var Be=q===""?".":q+":";if(me(m))for(var Ee=0;Ee<m.length;Ee++)q=m[Ee],ae=Be+te(q,Ee),he+=b(q,z,U,ae,F);else if(Ee=se(m),typeof Ee=="function")for(m=Ee.call(m),Ee=0;!(q=m.next()).done;)q=q.value,ae=Be+te(q,Ee++),he+=b(q,z,U,ae,F);else if(ae==="object"){if(typeof m.then=="function")return b(oe(m),z,U,q,F);throw z=String(m),Error("Objects are not valid as a React child (found: "+(z==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":z)+"). If you meant to render a collection of children, use an array instead.")}return he}function T(m,z,U){if(m==null)return m;var q=[],F=0;return b(m,q,"","",function(ae){return z.call(U,ae,F++)}),q}function J(m){if(m._status===-1){var z=m._result;z=z(),z.then(function(U){(m._status===0||m._status===-1)&&(m._status=1,m._result=U)},function(U){(m._status===0||m._status===-1)&&(m._status=2,m._result=U)}),m._status===-1&&(m._status=0,m._result=z)}if(m._status===1)return m._result.default;throw m._result}var je=typeof reportError=="function"?reportError:function(m){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var z=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(z))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",m);return}console.error(m)},Ne={map:T,forEach:function(m,z,U){T(m,function(){z.apply(this,arguments)},U)},count:function(m){var z=0;return T(m,function(){z++}),z},toArray:function(m){return T(m,function(z){return z})||[]},only:function(m){if(!qe(m))throw Error("React.Children.only expected to receive a single React element child.");return m}};return I.Activity=D,I.Children=Ne,I.Component=be,I.Fragment=M,I.Profiler=w,I.PureComponent=ue,I.StrictMode=r,I.Suspense=E,I.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,I.__COMPILER_RUNTIME={__proto__:null,c:function(m){return P.H.useMemoCache(m)}},I.cache=function(m){return function(){return m.apply(null,arguments)}},I.cacheSignal=function(){return null},I.cloneElement=function(m,z,U){if(m==null)throw Error("The argument must be a React element, but you passed "+m+".");var q=ge({},m.props),F=m.key;if(z!=null)for(ae in z.key!==void 0&&(F=""+z.key),z)!Je.call(z,ae)||ae==="key"||ae==="__self"||ae==="__source"||ae==="ref"&&z.ref===void 0||(q[ae]=z[ae]);var ae=arguments.length-2;if(ae===1)q.children=U;else if(1<ae){for(var he=Array(ae),Be=0;Be<ae;Be++)he[Be]=arguments[Be+2];q.children=he}return al(m.type,F,q)},I.createContext=function(m){return m={$$typeof:k,_currentValue:m,_currentValue2:m,_threadCount:0,Provider:null,Consumer:null},m.Provider=m,m.Consumer={$$typeof:A,_context:m},m},I.createElement=function(m,z,U){var q,F={},ae=null;if(z!=null)for(q in z.key!==void 0&&(ae=""+z.key),z)Je.call(z,q)&&q!=="key"&&q!=="__self"&&q!=="__source"&&(F[q]=z[q]);var he=arguments.length-2;if(he===1)F.children=U;else if(1<he){for(var Be=Array(he),Ee=0;Ee<he;Ee++)Be[Ee]=arguments[Ee+2];F.children=Be}if(m&&m.defaultProps)for(q in he=m.defaultProps,he)F[q]===void 0&&(F[q]=he[q]);return al(m,ae,F)},I.createRef=function(){return{current:null}},I.forwardRef=function(m){return{$$typeof:Z,render:m}},I.isValidElement=qe,I.lazy=function(m){return{$$typeof:Y,_payload:{_status:-1,_result:m},_init:J}},I.memo=function(m,z){return{$$typeof:p,type:m,compare:z===void 0?null:z}},I.startTransition=function(m){var z=P.T,U={};P.T=U;try{var q=m(),F=P.S;F!==null&&F(U,q),typeof q=="object"&&q!==null&&typeof q.then=="function"&&q.then(V,je)}catch(ae){je(ae)}finally{z!==null&&U.types!==null&&(z.types=U.types),P.T=z}},I.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},I.use=function(m){return P.H.use(m)},I.useActionState=function(m,z,U){return P.H.useActionState(m,z,U)},I.useCallback=function(m,z){return P.H.useCallback(m,z)},I.useContext=function(m){return P.H.useContext(m)},I.useDebugValue=function(){},I.useDeferredValue=function(m,z){return P.H.useDeferredValue(m,z)},I.useEffect=function(m,z){return P.H.useEffect(m,z)},I.useEffectEvent=function(m){return P.H.useEffectEvent(m)},I.useId=function(){return P.H.useId()},I.useImperativeHandle=function(m,z,U){return P.H.useImperativeHandle(m,z,U)},I.useInsertionEffect=function(m,z){return P.H.useInsertionEffect(m,z)},I.useLayoutEffect=function(m,z){return P.H.useLayoutEffect(m,z)},I.useMemo=function(m,z){return P.H.useMemo(m,z)},I.useOptimistic=function(m,z){return P.H.useOptimistic(m,z)},I.useReducer=function(m,z,U){return P.H.useReducer(m,z,U)},I.useRef=function(m){return P.H.useRef(m)},I.useState=function(m){return P.H.useState(m)},I.useSyncExternalStore=function(m,z,U){return P.H.useSyncExternalStore(m,z,U)},I.useTransition=function(){return P.H.useTransition()},I.version="19.2.3",I}var q0;function Ds(){return q0||(q0=1,vs.exports=Dh()),vs.exports}var G=Ds();const Uh=F0(G);var bs={exports:{}},wn={},ps={exports:{}},js={};/**
* @license React
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var B0;function Ch(){return B0||(B0=1,(function(d){function _(b,T){var J=b.length;b.push(T);e:for(;0<J;){var je=J-1>>>1,Ne=b[je];if(0<w(Ne,T))b[je]=T,b[J]=Ne,J=je;else break e}}function M(b){return b.length===0?null:b[0]}function r(b){if(b.length===0)return null;var T=b[0],J=b.pop();if(J!==T){b[0]=J;e:for(var je=0,Ne=b.length,m=Ne>>>1;je<m;){var z=2*(je+1)-1,U=b[z],q=z+1,F=b[q];if(0>w(U,J))q<Ne&&0>w(F,U)?(b[je]=F,b[q]=J,je=q):(b[je]=U,b[z]=J,je=z);else if(q<Ne&&0>w(F,J))b[je]=F,b[q]=J,je=q;else break e}}return T}function w(b,T){var J=b.sortIndex-T.sortIndex;return J!==0?J:b.id-T.id}if(d.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var A=performance;d.unstable_now=function(){return A.now()}}else{var k=Date,Z=k.now();d.unstable_now=function(){return k.now()-Z}}var E=[],p=[],Y=1,D=null,R=3,se=!1,Se=!1,ge=!1,Ue=!1,be=typeof setTimeout=="function"?setTimeout:null,$=typeof clearTimeout=="function"?clearTimeout:null,ue=typeof setImmediate<"u"?setImmediate:null;function L(b){for(var T=M(p);T!==null;){if(T.callback===null)r(p);else if(T.startTime<=b)r(p),T.sortIndex=T.expirationTime,_(E,T);else break;T=M(p)}}function me(b){if(ge=!1,L(b),!Se)if(M(E)!==null)Se=!0,V||(V=!0,W());else{var T=M(p);T!==null&&oe(me,T.startTime-b)}}var V=!1,P=-1,Je=5,al=-1;function Ml(){return Ue?!0:!(d.unstable_now()-al<Je)}function qe(){if(Ue=!1,V){var b=d.unstable_now();al=b;var T=!0;try{e:{Se=!1,ge&&(ge=!1,$(P),P=-1),se=!0;var J=R;try{l:{for(L(b),D=M(E);D!==null&&!(D.expirationTime>b&&Ml());){var je=D.callback;if(typeof je=="function"){D.callback=null,R=D.priorityLevel;var Ne=je(D.expirationTime<=b);if(b=d.unstable_now(),typeof Ne=="function"){D.callback=Ne,L(b),T=!0;break l}D===M(E)&&r(E),L(b)}else r(E);D=M(E)}if(D!==null)T=!0;else{var m=M(p);m!==null&&oe(me,m.startTime-b),T=!1}}break e}finally{D=null,R=J,se=!1}T=void 0}}finally{T?W():V=!1}}}var W;if(typeof ue=="function")W=function(){ue(qe)};else if(typeof MessageChannel<"u"){var pe=new MessageChannel,te=pe.port2;pe.port1.onmessage=qe,W=function(){te.postMessage(null)}}else W=function(){be(qe,0)};function oe(b,T){P=be(function(){b(d.unstable_now())},T)}d.unstable_IdlePriority=5,d.unstable_ImmediatePriority=1,d.unstable_LowPriority=4,d.unstable_NormalPriority=3,d.unstable_Profiling=null,d.unstable_UserBlockingPriority=2,d.unstable_cancelCallback=function(b){b.callback=null},d.unstable_forceFrameRate=function(b){0>b||125<b?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Je=0<b?Math.floor(1e3/b):5},d.unstable_getCurrentPriorityLevel=function(){return R},d.unstable_next=function(b){switch(R){case 1:case 2:case 3:var T=3;break;default:T=R}var J=R;R=T;try{return b()}finally{R=J}},d.unstable_requestPaint=function(){Ue=!0},d.unstable_runWithPriority=function(b,T){switch(b){case 1:case 2:case 3:case 4:case 5:break;default:b=3}var J=R;R=b;try{return T()}finally{R=J}},d.unstable_scheduleCallback=function(b,T,J){var je=d.unstable_now();switch(typeof J=="object"&&J!==null?(J=J.delay,J=typeof J=="number"&&0<J?je+J:je):J=je,b){case 1:var Ne=-1;break;case 2:Ne=250;break;case 5:Ne=1073741823;break;case 4:Ne=1e4;break;default:Ne=5e3}return Ne=J+Ne,b={id:Y++,callback:T,priorityLevel:b,startTime:J,expirationTime:Ne,sortIndex:-1},J>je?(b.sortIndex=J,_(p,b),M(E)===null&&b===M(p)&&(ge?($(P),P=-1):ge=!0,oe(me,J-je))):(b.sortIndex=Ne,_(E,b),Se||se||(Se=!0,V||(V=!0,W()))),b},d.unstable_shouldYield=Ml,d.unstable_wrapCallback=function(b){var T=R;return function(){var J=R;R=T;try{return b.apply(this,arguments)}finally{R=J}}}})(js)),js}var G0;function wh(){return G0||(G0=1,ps.exports=Ch()),ps.exports}var Ns={exports:{}},tl={};/**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Y0;function Hh(){if(Y0)return tl;Y0=1;var d=Ds();function _(E){var p="https://react.dev/errors/"+E;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var Y=2;Y<arguments.length;Y++)p+="&args[]="+encodeURIComponent(arguments[Y])}return"Minified React error #"+E+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function M(){}var r={d:{f:M,r:function(){throw Error(_(522))},D:M,C:M,L:M,m:M,X:M,S:M,M},p:0,findDOMNode:null},w=Symbol.for("react.portal");function A(E,p,Y){var D=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:w,key:D==null?null:""+D,children:E,containerInfo:p,implementation:Y}}var k=d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function Z(E,p){if(E==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}return tl.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,tl.createPortal=function(E,p){var Y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error(_(299));return A(E,p,null,Y)},tl.flushSync=function(E){var p=k.T,Y=r.p;try{if(k.T=null,r.p=2,E)return E()}finally{k.T=p,r.p=Y,r.d.f()}},tl.preconnect=function(E,p){typeof E=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,r.d.C(E,p))},tl.prefetchDNS=function(E){typeof E=="string"&&r.d.D(E)},tl.preinit=function(E,p){if(typeof E=="string"&&p&&typeof p.as=="string"){var Y=p.as,D=Z(Y,p.crossOrigin),R=typeof p.integrity=="string"?p.integrity:void 0,se=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;Y==="style"?r.d.S(E,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:D,integrity:R,fetchPriority:se}):Y==="script"&&r.d.X(E,{crossOrigin:D,integrity:R,fetchPriority:se,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},tl.preinitModule=function(E,p){if(typeof E=="string")if(typeof p=="object"&&p!==null){if(p.as==null||p.as==="script"){var Y=Z(p.as,p.crossOrigin);r.d.M(E,{crossOrigin:Y,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})}}else p==null&&r.d.M(E)},tl.preload=function(E,p){if(typeof E=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){var Y=p.as,D=Z(Y,p.crossOrigin);r.d.L(E,Y,{crossOrigin:D,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},tl.preloadModule=function(E,p){if(typeof E=="string")if(p){var Y=Z(p.as,p.crossOrigin);r.d.m(E,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:Y,integrity:typeof p.integrity=="string"?p.integrity:void 0})}else r.d.m(E)},tl.requestFormReset=function(E){r.d.r(E)},tl.unstable_batchedUpdates=function(E,p){return E(p)},tl.useFormState=function(E,p,Y){return k.H.useFormState(E,p,Y)},tl.useFormStatus=function(){return k.H.useHostTransitionStatus()},tl.version="19.2.3",tl}var V0;function Rh(){if(V0)return Ns.exports;V0=1;function d(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(d)}catch(_){console.error(_)}}return d(),Ns.exports=Hh(),Ns.exports}/**
* @license React
* react-dom-client.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var X0;function qh(){if(X0)return wn;X0=1;var d=wh(),_=Ds(),M=Rh();function r(e){var l="https://react.dev/errors/"+e;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)l+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+e+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function w(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function A(e){var l=e,t=e;if(e.alternate)for(;l.return;)l=l.return;else{e=l;do l=e,(l.flags&4098)!==0&&(t=l.return),e=l.return;while(e)}return l.tag===3?t:null}function k(e){if(e.tag===13){var l=e.memoizedState;if(l===null&&(e=e.alternate,e!==null&&(l=e.memoizedState)),l!==null)return l.dehydrated}return null}function Z(e){if(e.tag===31){var l=e.memoizedState;if(l===null&&(e=e.alternate,e!==null&&(l=e.memoizedState)),l!==null)return l.dehydrated}return null}function E(e){if(A(e)!==e)throw Error(r(188))}function p(e){var l=e.alternate;if(!l){if(l=A(e),l===null)throw Error(r(188));return l!==e?null:e}for(var t=e,a=l;;){var n=t.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){t=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===t)return E(n),e;if(u===a)return E(n),l;u=u.sibling}throw Error(r(188))}if(t.return!==a.return)t=n,a=u;else{for(var c=!1,s=n.child;s;){if(s===t){c=!0,t=n,a=u;break}if(s===a){c=!0,a=n,t=u;break}s=s.sibling}if(!c){for(s=u.child;s;){if(s===t){c=!0,t=u,a=n;break}if(s===a){c=!0,a=u,t=n;break}s=s.sibling}if(!c)throw Error(r(189))}}if(t.alternate!==a)throw Error(r(190))}if(t.tag!==3)throw Error(r(188));return t.stateNode.current===t?e:l}function Y(e){var l=e.tag;if(l===5||l===26||l===27||l===6)return e;for(e=e.child;e!==null;){if(l=Y(e),l!==null)return l;e=e.sibling}return null}var D=Object.assign,R=Symbol.for("react.element"),se=Symbol.for("react.transitional.element"),Se=Symbol.for("react.portal"),ge=Symbol.for("react.fragment"),Ue=Symbol.for("react.strict_mode"),be=Symbol.for("react.profiler"),$=Symbol.for("react.consumer"),ue=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),me=Symbol.for("react.suspense"),V=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),Je=Symbol.for("react.lazy"),al=Symbol.for("react.activity"),Ml=Symbol.for("react.memo_cache_sentinel"),qe=Symbol.iterator;function W(e){return e===null||typeof e!="object"?null:(e=qe&&e[qe]||e["@@iterator"],typeof e=="function"?e:null)}var pe=Symbol.for("react.client.reference");function te(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===pe?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ge:return"Fragment";case be:return"Profiler";case Ue:return"StrictMode";case me:return"Suspense";case V:return"SuspenseList";case al:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case Se:return"Portal";case ue:return e.displayName||"Context";case $:return(e._context.displayName||"Context")+".Consumer";case L:var l=e.render;return e=e.displayName,e||(e=l.displayName||l.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case P:return l=e.displayName||null,l!==null?l:te(e.type)||"Memo";case Je:l=e._payload,e=e._init;try{return te(e(l))}catch{}}return null}var oe=Array.isArray,b=_.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T=M.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J={pending:!1,data:null,method:null,action:null},je=[],Ne=-1;function m(e){return{current:e}}function z(e){0>Ne||(e.current=je[Ne],je[Ne]=null,Ne--)}function U(e,l){Ne++,je[Ne]=e.current,e.current=l}var q=m(null),F=m(null),ae=m(null),he=m(null);function Be(e,l){switch(U(ae,l),U(F,e),U(q,null),l.nodeType){case 9:case 11:e=(e=l.documentElement)&&(e=e.namespaceURI)?a0(e):0;break;default:if(e=l.tagName,l=l.namespaceURI)l=a0(l),e=n0(l,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}z(q),U(q,e)}function Ee(){z(q),z(F),z(ae)}function Ct(e){e.memoizedState!==null&&U(he,e);var l=q.current,t=n0(l,e.type);l!==t&&(U(F,e),U(q,t))}function O(e){F.current===e&&(z(q),z(F)),he.current===e&&(z(he),Tn._currentValue=J)}var ne,Ce;function _e(e){if(ne===void 0)try{throw Error()}catch(t){var l=t.stack.trim().match(/\n( *(at )?)/);ne=l&&l[1]||"",Ce=-1<t.stack.indexOf(`
at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
`+ne+e+Ce}var ul=!1;function ml(e,l){if(!e||ul)return"";ul=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(l){var S=function(){throw Error()};if(Object.defineProperty(S.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(S,[])}catch(v){var g=v}Reflect.construct(e,[],S)}else{try{S.call()}catch(v){g=v}e.call(S.prototype)}}else{try{throw Error()}catch(v){g=v}(S=e())&&typeof S.catch=="function"&&S.catch(function(){})}}catch(v){if(v&&g&&typeof v.stack=="string")return[v.stack,g.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),c=u[0],s=u[1];if(c&&s){var f=c.split(`
`),x=s.split(`
`);for(n=a=0;a<f.length&&!f[a].includes("DetermineComponentFrameRoot");)a++;for(;n<x.length&&!x[n].includes("DetermineComponentFrameRoot");)n++;if(a===f.length||n===x.length)for(a=f.length-1,n=x.length-1;1<=a&&0<=n&&f[a]!==x[n];)n--;for(;1<=a&&0<=n;a--,n--)if(f[a]!==x[n]){if(a!==1||n!==1)do if(a--,n--,0>n||f[a]!==x[n]){var j=`
`+f[a].replace(" at new "," at ");return e.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",e.displayName)),j}while(1<=a&&0<=n);break}}}finally{ul=!1,Error.prepareStackTrace=t}return(t=e?e.displayName||e.name:"")?_e(t):""}function ct(e,l){switch(e.tag){case 26:case 27:case 5:return _e(e.type);case 16:return _e("Lazy");case 13:return e.child!==l&&l!==null?_e("Suspense Fallback"):_e("Suspense");case 19:return _e("SuspenseList");case 0:case 15:return ml(e.type,!1);case 11:return ml(e.type.render,!1);case 1:return ml(e.type,!0);case 31:return _e("Activity");default:return""}}function Pt(e){try{var l="",t=null;do l+=ct(e,t),t=e,e=e.return;while(e);return l}catch(a){return`
Error generating stack: `+a.message+`
`+a.stack}}var ti=Object.prototype.hasOwnProperty,ai=d.unstable_scheduleCallback,ni=d.unstable_cancelCallback,cd=d.unstable_shouldYield,sd=d.unstable_requestPaint,hl=d.unstable_now,fd=d.unstable_getCurrentPriorityLevel,Cs=d.unstable_ImmediatePriority,ws=d.unstable_UserBlockingPriority,Bn=d.unstable_NormalPriority,rd=d.unstable_LowPriority,Hs=d.unstable_IdlePriority,od=d.log,dd=d.unstable_setDisableYieldValue,Ya=null,yl=null;function st(e){if(typeof od=="function"&&dd(e),yl&&typeof yl.setStrictMode=="function")try{yl.setStrictMode(Ya,e)}catch{}}var xl=Math.clz32?Math.clz32:yd,md=Math.log,hd=Math.LN2;function yd(e){return e>>>=0,e===0?32:31-(md(e)/hd|0)|0}var Gn=256,Yn=262144,Vn=4194304;function wt(e){var l=e&42;if(l!==0)return l;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64: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 e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Xn(e,l,t){var a=e.pendingLanes;if(a===0)return 0;var n=0,u=e.suspendedLanes,c=e.pingedLanes;e=e.warmLanes;var s=a&134217727;return s!==0?(a=s&~u,a!==0?n=wt(a):(c&=s,c!==0?n=wt(c):t||(t=s&~e,t!==0&&(n=wt(t))))):(s=a&~u,s!==0?n=wt(s):c!==0?n=wt(c):t||(t=a&~e,t!==0&&(n=wt(t)))),n===0?0:l!==0&&l!==n&&(l&u)===0&&(u=n&-n,t=l&-l,u>=t||u===32&&(t&4194048)!==0)?l:n}function Va(e,l){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&l)===0}function xd(e,l){switch(e){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 Rs(){var e=Vn;return Vn<<=1,(Vn&62914560)===0&&(Vn=4194304),e}function ui(e){for(var l=[],t=0;31>t;t++)l.push(e);return l}function Xa(e,l){e.pendingLanes|=l,l!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function gd(e,l,t,a,n,u){var c=e.pendingLanes;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=t,e.entangledLanes&=t,e.errorRecoveryDisabledLanes&=t,e.shellSuspendCounter=0;var s=e.entanglements,f=e.expirationTimes,x=e.hiddenUpdates;for(t=c&~t;0<t;){var j=31-xl(t),S=1<<j;s[j]=0,f[j]=-1;var g=x[j];if(g!==null)for(x[j]=null,j=0;j<g.length;j++){var v=g[j];v!==null&&(v.lane&=-536870913)}t&=~S}a!==0&&qs(e,a,0),u!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=u&~(c&~l))}function qs(e,l,t){e.pendingLanes|=l,e.suspendedLanes&=~l;var a=31-xl(l);e.entangledLanes|=l,e.entanglements[a]=e.entanglements[a]|1073741824|t&261930}function Bs(e,l){var t=e.entangledLanes|=l;for(e=e.entanglements;t;){var a=31-xl(t),n=1<<a;n&l|e[a]&l&&(e[a]|=l),t&=~n}}function Gs(e,l){var t=l&-l;return t=(t&42)!==0?1:ii(t),(t&(e.suspendedLanes|l))!==0?0:t}function ii(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function ci(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Ys(){var e=T.p;return e!==0?e:(e=window.event,e===void 0?32:_0(e.type))}function Vs(e,l){var t=T.p;try{return T.p=e,l()}finally{T.p=t}}var ft=Math.random().toString(36).slice(2),Fe="__reactFiber$"+ft,il="__reactProps$"+ft,ea="__reactContainer$"+ft,si="__reactEvents$"+ft,vd="__reactListeners$"+ft,bd="__reactHandles$"+ft,Xs="__reactResources$"+ft,Qa="__reactMarker$"+ft;function fi(e){delete e[Fe],delete e[il],delete e[si],delete e[vd],delete e[bd]}function la(e){var l=e[Fe];if(l)return l;for(var t=e.parentNode;t;){if(l=t[ea]||t[Fe]){if(t=l.alternate,l.child!==null||t!==null&&t.child!==null)for(e=o0(e);e!==null;){if(t=e[Fe])return t;e=o0(e)}return l}e=t,t=e.parentNode}return null}function ta(e){if(e=e[Fe]||e[ea]){var l=e.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return e}return null}function La(e){var l=e.tag;if(l===5||l===26||l===27||l===6)return e.stateNode;throw Error(r(33))}function aa(e){var l=e[Xs];return l||(l=e[Xs]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function $e(e){e[Qa]=!0}var Qs=new Set,Ls={};function Ht(e,l){na(e,l),na(e+"Capture",l)}function na(e,l){for(Ls[e]=l,e=0;e<l.length;e++)Qs.add(l[e])}var pd=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]*$"),Zs={},Ks={};function jd(e){return ti.call(Ks,e)?!0:ti.call(Zs,e)?!1:pd.test(e)?Ks[e]=!0:(Zs[e]=!0,!1)}function Qn(e,l,t){if(jd(l))if(t===null)e.removeAttribute(l);else{switch(typeof t){case"undefined":case"function":case"symbol":e.removeAttribute(l);return;case"boolean":var a=l.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(l);return}}e.setAttribute(l,""+t)}}function Ln(e,l,t){if(t===null)e.removeAttribute(l);else{switch(typeof t){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttribute(l,""+t)}}function Ql(e,l,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttributeNS(l,t,""+a)}}function El(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Js(e){var l=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Nd(e,l,t){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,l);if(!e.hasOwnProperty(l)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(e,l,{configurable:!0,get:function(){return n.call(this)},set:function(c){t=""+c,u.call(this,c)}}),Object.defineProperty(e,l,{enumerable:a.enumerable}),{getValue:function(){return t},setValue:function(c){t=""+c},stopTracking:function(){e._valueTracker=null,delete e[l]}}}}function ri(e){if(!e._valueTracker){var l=Js(e)?"checked":"value";e._valueTracker=Nd(e,l,""+e[l])}}function ks(e){if(!e)return!1;var l=e._valueTracker;if(!l)return!0;var t=l.getValue(),a="";return e&&(a=Js(e)?e.checked?"true":"false":e.value),e=a,e!==t?(l.setValue(e),!0):!1}function Zn(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var Sd=/[\n"\\]/g;function _l(e){return e.replace(Sd,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function oi(e,l,t,a,n,u,c,s){e.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?e.type=c:e.removeAttribute("type"),l!=null?c==="number"?(l===0&&e.value===""||e.value!=l)&&(e.value=""+El(l)):e.value!==""+El(l)&&(e.value=""+El(l)):c!=="submit"&&c!=="reset"||e.removeAttribute("value"),l!=null?di(e,c,El(l)):t!=null?di(e,c,El(t)):a!=null&&e.removeAttribute("value"),n==null&&u!=null&&(e.defaultChecked=!!u),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.name=""+El(s):e.removeAttribute("name")}function $s(e,l,t,a,n,u,c,s){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),l!=null||t!=null){if(!(u!=="submit"&&u!=="reset"||l!=null)){ri(e);return}t=t!=null?""+El(t):"",l=l!=null?""+El(l):t,s||l===e.value||(e.value=l),e.defaultValue=l}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=s?e.checked:!!a,e.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.name=c),ri(e)}function di(e,l,t){l==="number"&&Zn(e.ownerDocument)===e||e.defaultValue===""+t||(e.defaultValue=""+t)}function ua(e,l,t,a){if(e=e.options,l){l={};for(var n=0;n<t.length;n++)l["$"+t[n]]=!0;for(t=0;t<e.length;t++)n=l.hasOwnProperty("$"+e[t].value),e[t].selected!==n&&(e[t].selected=n),n&&a&&(e[t].defaultSelected=!0)}else{for(t=""+El(t),l=null,n=0;n<e.length;n++){if(e[n].value===t){e[n].selected=!0,a&&(e[n].defaultSelected=!0);return}l!==null||e[n].disabled||(l=e[n])}l!==null&&(l.selected=!0)}}function Ws(e,l,t){if(l!=null&&(l=""+El(l),l!==e.value&&(e.value=l),t==null)){e.defaultValue!==l&&(e.defaultValue=l);return}e.defaultValue=t!=null?""+El(t):""}function Fs(e,l,t,a){if(l==null){if(a!=null){if(t!=null)throw Error(r(92));if(oe(a)){if(1<a.length)throw Error(r(93));a=a[0]}t=a}t==null&&(t=""),l=t}t=El(l),e.defaultValue=t,a=e.textContent,a===t&&a!==""&&a!==null&&(e.value=a),ri(e)}function ia(e,l){if(l){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=l;return}}e.textContent=l}var zd=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 Is(e,l,t){var a=l.indexOf("--")===0;t==null||typeof t=="boolean"||t===""?a?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="":a?e.setProperty(l,t):typeof t!="number"||t===0||zd.has(l)?l==="float"?e.cssFloat=t:e[l]=(""+t).trim():e[l]=t+"px"}function Ps(e,l,t){if(l!=null&&typeof l!="object")throw Error(r(62));if(e=e.style,t!=null){for(var a in t)!t.hasOwnProperty(a)||l!=null&&l.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var n in l)a=l[n],l.hasOwnProperty(n)&&t[n]!==a&&Is(e,n,a)}else for(var u in l)l.hasOwnProperty(u)&&Is(e,u,l[u])}function mi(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Md=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"]]),Ed=/^[\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 Kn(e){return Ed.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Ll(){}var hi=null;function yi(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ca=null,sa=null;function ef(e){var l=ta(e);if(l&&(e=l.stateNode)){var t=e[il]||null;e:switch(e=l.stateNode,l.type){case"input":if(oi(e,t.value,t.defaultValue,t.defaultValue,t.checked,t.defaultChecked,t.type,t.name),l=t.name,t.type==="radio"&&l!=null){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll('input[name="'+_l(""+l)+'"][type="radio"]'),l=0;l<t.length;l++){var a=t[l];if(a!==e&&a.form===e.form){var n=a[il]||null;if(!n)throw Error(r(90));oi(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(l=0;l<t.length;l++)a=t[l],a.form===e.form&&ks(a)}break e;case"textarea":Ws(e,t.value,t.defaultValue);break e;case"select":l=t.value,l!=null&&ua(e,!!t.multiple,l,!1)}}}var xi=!1;function lf(e,l,t){if(xi)return e(l,t);xi=!0;try{var a=e(l);return a}finally{if(xi=!1,(ca!==null||sa!==null)&&(Cu(),ca&&(l=ca,e=sa,sa=ca=null,ef(l),e)))for(l=0;l<e.length;l++)ef(e[l])}}function Za(e,l){var t=e.stateNode;if(t===null)return null;var a=t[il]||null;if(a===null)return null;t=a[l];e: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)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(t&&typeof t!="function")throw Error(r(231,l,typeof t));return t}var Zl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gi=!1;if(Zl)try{var Ka={};Object.defineProperty(Ka,"passive",{get:function(){gi=!0}}),window.addEventListener("test",Ka,Ka),window.removeEventListener("test",Ka,Ka)}catch{gi=!1}var rt=null,vi=null,Jn=null;function tf(){if(Jn)return Jn;var e,l=vi,t=l.length,a,n="value"in rt?rt.value:rt.textContent,u=n.length;for(e=0;e<t&&l[e]===n[e];e++);var c=t-e;for(a=1;a<=c&&l[t-a]===n[u-a];a++);return Jn=n.slice(e,1<a?1-a:void 0)}function kn(e){var l=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&l===13&&(e=13)):e=l,e===10&&(e=13),32<=e||e===13?e:0}function $n(){return!0}function af(){return!1}function cl(e){function l(t,a,n,u,c){this._reactName=t,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=c,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(t=e[s],this[s]=t?t(u):u[s]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?$n:af,this.isPropagationStopped=af,this}return D(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=$n)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=$n)},persist:function(){},isPersistent:$n}),l}var Rt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Wn=cl(Rt),Ja=D({},Rt,{view:0,detail:0}),_d=cl(Ja),bi,pi,ka,Fn=D({},Ja,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ni,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ka&&(ka&&e.type==="mousemove"?(bi=e.screenX-ka.screenX,pi=e.screenY-ka.screenY):pi=bi=0,ka=e),bi)},movementY:function(e){return"movementY"in e?e.movementY:pi}}),nf=cl(Fn),Ad=D({},Fn,{dataTransfer:0}),Td=cl(Ad),Od=D({},Ja,{relatedTarget:0}),ji=cl(Od),Dd=D({},Rt,{animationName:0,elapsedTime:0,pseudoElement:0}),Ud=cl(Dd),Cd=D({},Rt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),wd=cl(Cd),Hd=D({},Rt,{data:0}),uf=cl(Hd),Rd={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},qd={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"},Bd={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Gd(e){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(e):(e=Bd[e])?!!l[e]:!1}function Ni(){return Gd}var Yd=D({},Ja,{key:function(e){if(e.key){var l=Rd[e.key]||e.key;if(l!=="Unidentified")return l}return e.type==="keypress"?(e=kn(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?qd[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ni,charCode:function(e){return e.type==="keypress"?kn(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?kn(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Vd=cl(Yd),Xd=D({},Fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),cf=cl(Xd),Qd=D({},Ja,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ni}),Ld=cl(Qd),Zd=D({},Rt,{propertyName:0,elapsedTime:0,pseudoElement:0}),Kd=cl(Zd),Jd=D({},Fn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),kd=cl(Jd),$d=D({},Rt,{newState:0,oldState:0}),Wd=cl($d),Fd=[9,13,27,32],Si=Zl&&"CompositionEvent"in window,$a=null;Zl&&"documentMode"in document&&($a=document.documentMode);var Id=Zl&&"TextEvent"in window&&!$a,sf=Zl&&(!Si||$a&&8<$a&&11>=$a),ff=" ",rf=!1;function of(e,l){switch(e){case"keyup":return Fd.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function df(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var fa=!1;function Pd(e,l){switch(e){case"compositionend":return df(l);case"keypress":return l.which!==32?null:(rf=!0,ff);case"textInput":return e=l.data,e===ff&&rf?null:e;default:return null}}function em(e,l){if(fa)return e==="compositionend"||!Si&&of(e,l)?(e=tf(),Jn=vi=rt=null,fa=!1,e):null;switch(e){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 sf&&l.locale!=="ko"?null:l.data;default:return null}}var lm={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 mf(e){var l=e&&e.nodeName&&e.nodeName.toLowerCase();return l==="input"?!!lm[e.type]:l==="textarea"}function hf(e,l,t,a){ca?sa?sa.push(a):sa=[a]:ca=a,l=Yu(l,"onChange"),0<l.length&&(t=new Wn("onChange","change",null,t,a),e.push({event:t,listeners:l}))}var Wa=null,Fa=null;function tm(e){Fo(e,0)}function In(e){var l=La(e);if(ks(l))return e}function yf(e,l){if(e==="change")return l}var xf=!1;if(Zl){var zi;if(Zl){var Mi="oninput"in document;if(!Mi){var gf=document.createElement("div");gf.setAttribute("oninput","return;"),Mi=typeof gf.oninput=="function"}zi=Mi}else zi=!1;xf=zi&&(!document.documentMode||9<document.documentMode)}function vf(){Wa&&(Wa.detachEvent("onpropertychange",bf),Fa=Wa=null)}function bf(e){if(e.propertyName==="value"&&In(Fa)){var l=[];hf(l,Fa,e,yi(e)),lf(tm,l)}}function am(e,l,t){e==="focusin"?(vf(),Wa=l,Fa=t,Wa.attachEvent("onpropertychange",bf)):e==="focusout"&&vf()}function nm(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return In(Fa)}function um(e,l){if(e==="click")return In(l)}function im(e,l){if(e==="input"||e==="change")return In(l)}function cm(e,l){return e===l&&(e!==0||1/e===1/l)||e!==e&&l!==l}var gl=typeof Object.is=="function"?Object.is:cm;function Ia(e,l){if(gl(e,l))return!0;if(typeof e!="object"||e===null||typeof l!="object"||l===null)return!1;var t=Object.keys(e),a=Object.keys(l);if(t.length!==a.length)return!1;for(a=0;a<t.length;a++){var n=t[a];if(!ti.call(l,n)||!gl(e[n],l[n]))return!1}return!0}function pf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function jf(e,l){var t=pf(e);e=0;for(var a;t;){if(t.nodeType===3){if(a=e+t.textContent.length,e<=l&&a>=l)return{node:t,offset:l-e};e=a}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=pf(t)}}function Nf(e,l){return e&&l?e===l?!0:e&&e.nodeType===3?!1:l&&l.nodeType===3?Nf(e,l.parentNode):"contains"in e?e.contains(l):e.compareDocumentPosition?!!(e.compareDocumentPosition(l)&16):!1:!1}function Sf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var l=Zn(e.document);l instanceof e.HTMLIFrameElement;){try{var t=typeof l.contentWindow.location.href=="string"}catch{t=!1}if(t)e=l.contentWindow;else break;l=Zn(e.document)}return l}function Ei(e){var l=e&&e.nodeName&&e.nodeName.toLowerCase();return l&&(l==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||l==="textarea"||e.contentEditable==="true")}var sm=Zl&&"documentMode"in document&&11>=document.documentMode,ra=null,_i=null,Pa=null,Ai=!1;function zf(e,l,t){var a=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;Ai||ra==null||ra!==Zn(a)||(a=ra,"selectionStart"in a&&Ei(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}),Pa&&Ia(Pa,a)||(Pa=a,a=Yu(_i,"onSelect"),0<a.length&&(l=new Wn("onSelect","select",null,l,t),e.push({event:l,listeners:a}),l.target=ra)))}function qt(e,l){var t={};return t[e.toLowerCase()]=l.toLowerCase(),t["Webkit"+e]="webkit"+l,t["Moz"+e]="moz"+l,t}var oa={animationend:qt("Animation","AnimationEnd"),animationiteration:qt("Animation","AnimationIteration"),animationstart:qt("Animation","AnimationStart"),transitionrun:qt("Transition","TransitionRun"),transitionstart:qt("Transition","TransitionStart"),transitioncancel:qt("Transition","TransitionCancel"),transitionend:qt("Transition","TransitionEnd")},Ti={},Mf={};Zl&&(Mf=document.createElement("div").style,"AnimationEvent"in window||(delete oa.animationend.animation,delete oa.animationiteration.animation,delete oa.animationstart.animation),"TransitionEvent"in window||delete oa.transitionend.transition);function Bt(e){if(Ti[e])return Ti[e];if(!oa[e])return e;var l=oa[e],t;for(t in l)if(l.hasOwnProperty(t)&&t in Mf)return Ti[e]=l[t];return e}var Ef=Bt("animationend"),_f=Bt("animationiteration"),Af=Bt("animationstart"),fm=Bt("transitionrun"),rm=Bt("transitionstart"),om=Bt("transitioncancel"),Tf=Bt("transitionend"),Of=new Map,Oi="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(" ");Oi.push("scrollEnd");function Rl(e,l){Of.set(e,l),Ht(l,[e])}var Pn=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Al=[],da=0,Di=0;function eu(){for(var e=da,l=Di=da=0;l<e;){var t=Al[l];Al[l++]=null;var a=Al[l];Al[l++]=null;var n=Al[l];Al[l++]=null;var u=Al[l];if(Al[l++]=null,a!==null&&n!==null){var c=a.pending;c===null?n.next=n:(n.next=c.next,c.next=n),a.pending=n}u!==0&&Df(t,n,u)}}function lu(e,l,t,a){Al[da++]=e,Al[da++]=l,Al[da++]=t,Al[da++]=a,Di|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Ui(e,l,t,a){return lu(e,l,t,a),tu(e)}function Gt(e,l){return lu(e,null,null,l),tu(e)}function Df(e,l,t){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t);for(var n=!1,u=e.return;u!==null;)u.childLanes|=t,a=u.alternate,a!==null&&(a.childLanes|=t),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(n=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,n&&l!==null&&(n=31-xl(t),e=u.hiddenUpdates,a=e[n],a===null?e[n]=[l]:a.push(l),l.lane=t|536870912),u):null}function tu(e){if(50<Nn)throw Nn=0,Vc=null,Error(r(185));for(var l=e.return;l!==null;)e=l,l=e.return;return e.tag===3?e.stateNode:null}var ma={};function dm(e,l,t,a){this.tag=e,this.key=t,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 vl(e,l,t,a){return new dm(e,l,t,a)}function Ci(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Kl(e,l){var t=e.alternate;return t===null?(t=vl(e.tag,l,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=l,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&65011712,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,l=e.dependencies,t.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t.refCleanup=e.refCleanup,t}function Uf(e,l){e.flags&=65011714;var t=e.alternate;return t===null?(e.childLanes=0,e.lanes=l,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=t.childLanes,e.lanes=t.lanes,e.child=t.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=t.memoizedProps,e.memoizedState=t.memoizedState,e.updateQueue=t.updateQueue,e.type=t.type,l=t.dependencies,e.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),e}function au(e,l,t,a,n,u){var c=0;if(a=e,typeof e=="function")Ci(e)&&(c=1);else if(typeof e=="string")c=gh(e,t,q.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case al:return e=vl(31,t,l,n),e.elementType=al,e.lanes=u,e;case ge:return Yt(t.children,n,u,l);case Ue:c=8,n|=24;break;case be:return e=vl(12,t,l,n|2),e.elementType=be,e.lanes=u,e;case me:return e=vl(13,t,l,n),e.elementType=me,e.lanes=u,e;case V:return e=vl(19,t,l,n),e.elementType=V,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ue:c=10;break e;case $:c=9;break e;case L:c=11;break e;case P:c=14;break e;case Je:c=16,a=null;break e}c=29,t=Error(r(130,e===null?"null":typeof e,"")),a=null}return l=vl(c,t,l,n),l.elementType=e,l.type=a,l.lanes=u,l}function Yt(e,l,t,a){return e=vl(7,e,a,l),e.lanes=t,e}function wi(e,l,t){return e=vl(6,e,null,l),e.lanes=t,e}function Cf(e){var l=vl(18,null,null,0);return l.stateNode=e,l}function Hi(e,l,t){return l=vl(4,e.children!==null?e.children:[],e.key,l),l.lanes=t,l.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},l}var wf=new WeakMap;function Tl(e,l){if(typeof e=="object"&&e!==null){var t=wf.get(e);return t!==void 0?t:(l={value:e,source:l,stack:Pt(l)},wf.set(e,l),l)}return{value:e,source:l,stack:Pt(l)}}var ha=[],ya=0,nu=null,en=0,Ol=[],Dl=0,ot=null,Gl=1,Yl="";function Jl(e,l){ha[ya++]=en,ha[ya++]=nu,nu=e,en=l}function Hf(e,l,t){Ol[Dl++]=Gl,Ol[Dl++]=Yl,Ol[Dl++]=ot,ot=e;var a=Gl;e=Yl;var n=32-xl(a)-1;a&=~(1<<n),t+=1;var u=32-xl(l)+n;if(30<u){var c=n-n%5;u=(a&(1<<c)-1).toString(32),a>>=c,n-=c,Gl=1<<32-xl(l)+n|t<<n|a,Yl=u+e}else Gl=1<<u|t<<n|a,Yl=e}function Ri(e){e.return!==null&&(Jl(e,1),Hf(e,1,0))}function qi(e){for(;e===nu;)nu=ha[--ya],ha[ya]=null,en=ha[--ya],ha[ya]=null;for(;e===ot;)ot=Ol[--Dl],Ol[Dl]=null,Yl=Ol[--Dl],Ol[Dl]=null,Gl=Ol[--Dl],Ol[Dl]=null}function Rf(e,l){Ol[Dl++]=Gl,Ol[Dl++]=Yl,Ol[Dl++]=ot,Gl=l.id,Yl=l.overflow,ot=e}var Ie=null,we=null,de=!1,dt=null,Ul=!1,Bi=Error(r(519));function mt(e){var l=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ln(Tl(l,e)),Bi}function qf(e){var l=e.stateNode,t=e.type,a=e.memoizedProps;switch(l[Fe]=e,l[il]=a,t){case"dialog":ce("cancel",l),ce("close",l);break;case"iframe":case"object":case"embed":ce("load",l);break;case"video":case"audio":for(t=0;t<zn.length;t++)ce(zn[t],l);break;case"source":ce("error",l);break;case"img":case"image":case"link":ce("error",l),ce("load",l);break;case"details":ce("toggle",l);break;case"input":ce("invalid",l),$s(l,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":ce("invalid",l);break;case"textarea":ce("invalid",l),Fs(l,a.value,a.defaultValue,a.children)}t=a.children,typeof t!="string"&&typeof t!="number"&&typeof t!="bigint"||l.textContent===""+t||a.suppressHydrationWarning===!0||l0(l.textContent,t)?(a.popover!=null&&(ce("beforetoggle",l),ce("toggle",l)),a.onScroll!=null&&ce("scroll",l),a.onScrollEnd!=null&&ce("scrollend",l),a.onClick!=null&&(l.onclick=Ll),l=!0):l=!1,l||mt(e,!0)}function Bf(e){for(Ie=e.return;Ie;)switch(Ie.tag){case 5:case 31:case 13:Ul=!1;return;case 27:case 3:Ul=!0;return;default:Ie=Ie.return}}function xa(e){if(e!==Ie)return!1;if(!de)return Bf(e),de=!0,!1;var l=e.tag,t;if((t=l!==3&&l!==27)&&((t=l===5)&&(t=e.type,t=!(t!=="form"&&t!=="button")||ts(e.type,e.memoizedProps)),t=!t),t&&we&&mt(e),Bf(e),l===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));we=r0(e)}else if(l===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(317));we=r0(e)}else l===27?(l=we,_t(e.type)?(e=cs,cs=null,we=e):we=l):we=Ie?wl(e.stateNode.nextSibling):null;return!0}function Vt(){we=Ie=null,de=!1}function Gi(){var e=dt;return e!==null&&(ol===null?ol=e:ol.push.apply(ol,e),dt=null),e}function ln(e){dt===null?dt=[e]:dt.push(e)}var Yi=m(null),Xt=null,kl=null;function ht(e,l,t){U(Yi,l._currentValue),l._currentValue=t}function $l(e){e._currentValue=Yi.current,z(Yi)}function Vi(e,l,t){for(;e!==null;){var a=e.alternate;if((e.childLanes&l)!==l?(e.childLanes|=l,a!==null&&(a.childLanes|=l)):a!==null&&(a.childLanes&l)!==l&&(a.childLanes|=l),e===t)break;e=e.return}}function Xi(e,l,t,a){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var u=n.dependencies;if(u!==null){var c=n.child;u=u.firstContext;e:for(;u!==null;){var s=u;u=n;for(var f=0;f<l.length;f++)if(s.context===l[f]){u.lanes|=t,s=u.alternate,s!==null&&(s.lanes|=t),Vi(u.return,t,e),a||(c=null);break e}u=s.next}}else if(n.tag===18){if(c=n.return,c===null)throw Error(r(341));c.lanes|=t,u=c.alternate,u!==null&&(u.lanes|=t),Vi(c,t,e),c=null}else c=n.child;if(c!==null)c.return=n;else for(c=n;c!==null;){if(c===e){c=null;break}if(n=c.sibling,n!==null){n.return=c.return,c=n;break}c=c.return}n=c}}function ga(e,l,t,a){e=null;for(var n=l,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var c=n.alternate;if(c===null)throw Error(r(387));if(c=c.memoizedProps,c!==null){var s=n.type;gl(n.pendingProps.value,c.value)||(e!==null?e.push(s):e=[s])}}else if(n===he.current){if(c=n.alternate,c===null)throw Error(r(387));c.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(Tn):e=[Tn])}n=n.return}e!==null&&Xi(l,e,t,a),l.flags|=262144}function uu(e){for(e=e.firstContext;e!==null;){if(!gl(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Qt(e){Xt=e,kl=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Pe(e){return Gf(Xt,e)}function iu(e,l){return Xt===null&&Qt(e),Gf(e,l)}function Gf(e,l){var t=l._currentValue;if(l={context:l,memoizedValue:t,next:null},kl===null){if(e===null)throw Error(r(308));kl=l,e.dependencies={lanes:0,firstContext:l},e.flags|=524288}else kl=kl.next=l;return t}var mm=typeof AbortController<"u"?AbortController:function(){var e=[],l=this.signal={aborted:!1,addEventListener:function(t,a){e.push(a)}};this.abort=function(){l.aborted=!0,e.forEach(function(t){return t()})}},hm=d.unstable_scheduleCallback,ym=d.unstable_NormalPriority,Qe={$$typeof:ue,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Qi(){return{controller:new mm,data:new Map,refCount:0}}function tn(e){e.refCount--,e.refCount===0&&hm(ym,function(){e.controller.abort()})}var an=null,Li=0,va=0,ba=null;function xm(e,l){if(an===null){var t=an=[];Li=0,va=Jc(),ba={status:"pending",value:void 0,then:function(a){t.push(a)}}}return Li++,l.then(Yf,Yf),l}function Yf(){if(--Li===0&&an!==null){ba!==null&&(ba.status="fulfilled");var e=an;an=null,va=0,ba=null;for(var l=0;l<e.length;l++)(0,e[l])()}}function gm(e,l){var t=[],a={status:"pending",value:null,reason:null,then:function(n){t.push(n)}};return e.then(function(){a.status="fulfilled",a.value=l;for(var n=0;n<t.length;n++)(0,t[n])(l)},function(n){for(a.status="rejected",a.reason=n,n=0;n<t.length;n++)(0,t[n])(void 0)}),a}var Vf=b.S;b.S=function(e,l){Mo=hl(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&xm(e,l),Vf!==null&&Vf(e,l)};var Lt=m(null);function Zi(){var e=Lt.current;return e!==null?e:De.pooledCache}function cu(e,l){l===null?U(Lt,Lt.current):U(Lt,l.pool)}function Xf(){var e=Zi();return e===null?null:{parent:Qe._currentValue,pool:e}}var pa=Error(r(460)),Ki=Error(r(474)),su=Error(r(542)),fu={then:function(){}};function Qf(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Lf(e,l,t){switch(t=e[t],t===void 0?e.push(l):t!==l&&(l.then(Ll,Ll),l=t),l.status){case"fulfilled":return l.value;case"rejected":throw e=l.reason,Kf(e),e;default:if(typeof l.status=="string")l.then(Ll,Ll);else{if(e=De,e!==null&&100<e.shellSuspendCounter)throw Error(r(482));e=l,e.status="pending",e.then(function(a){if(l.status==="pending"){var n=l;n.status="fulfilled",n.value=a}},function(a){if(l.status==="pending"){var n=l;n.status="rejected",n.reason=a}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw e=l.reason,Kf(e),e}throw Kt=l,pa}}function Zt(e){try{var l=e._init;return l(e._payload)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(Kt=t,pa):t}}var Kt=null;function Zf(){if(Kt===null)throw Error(r(459));var e=Kt;return Kt=null,e}function Kf(e){if(e===pa||e===su)throw Error(r(483))}var ja=null,nn=0;function ru(e){var l=nn;return nn+=1,ja===null&&(ja=[]),Lf(ja,e,l)}function un(e,l){l=l.props.ref,e.ref=l!==void 0?l:null}function ou(e,l){throw l.$$typeof===R?Error(r(525)):(e=Object.prototype.toString.call(l),Error(r(31,e==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":e)))}function Jf(e){function l(h,o){if(e){var y=h.deletions;y===null?(h.deletions=[o],h.flags|=16):y.push(o)}}function t(h,o){if(!e)return null;for(;o!==null;)l(h,o),o=o.sibling;return null}function a(h){for(var o=new Map;h!==null;)h.key!==null?o.set(h.key,h):o.set(h.index,h),h=h.sibling;return o}function n(h,o){return h=Kl(h,o),h.index=0,h.sibling=null,h}function u(h,o,y){return h.index=y,e?(y=h.alternate,y!==null?(y=y.index,y<o?(h.flags|=67108866,o):y):(h.flags|=67108866,o)):(h.flags|=1048576,o)}function c(h){return e&&h.alternate===null&&(h.flags|=67108866),h}function s(h,o,y,N){return o===null||o.tag!==6?(o=wi(y,h.mode,N),o.return=h,o):(o=n(o,y),o.return=h,o)}function f(h,o,y,N){var X=y.type;return X===ge?j(h,o,y.props.children,N,y.key):o!==null&&(o.elementType===X||typeof X=="object"&&X!==null&&X.$$typeof===Je&&Zt(X)===o.type)?(o=n(o,y.props),un(o,y),o.return=h,o):(o=au(y.type,y.key,y.props,null,h.mode,N),un(o,y),o.return=h,o)}function x(h,o,y,N){return o===null||o.tag!==4||o.stateNode.containerInfo!==y.containerInfo||o.stateNode.implementation!==y.implementation?(o=Hi(y,h.mode,N),o.return=h,o):(o=n(o,y.children||[]),o.return=h,o)}function j(h,o,y,N,X){return o===null||o.tag!==7?(o=Yt(y,h.mode,N,X),o.return=h,o):(o=n(o,y),o.return=h,o)}function S(h,o,y){if(typeof o=="string"&&o!==""||typeof o=="number"||typeof o=="bigint")return o=wi(""+o,h.mode,y),o.return=h,o;if(typeof o=="object"&&o!==null){switch(o.$$typeof){case se:return y=au(o.type,o.key,o.props,null,h.mode,y),un(y,o),y.return=h,y;case Se:return o=Hi(o,h.mode,y),o.return=h,o;case Je:return o=Zt(o),S(h,o,y)}if(oe(o)||W(o))return o=Yt(o,h.mode,y,null),o.return=h,o;if(typeof o.then=="function")return S(h,ru(o),y);if(o.$$typeof===ue)return S(h,iu(h,o),y);ou(h,o)}return null}function g(h,o,y,N){var X=o!==null?o.key:null;if(typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint")return X!==null?null:s(h,o,""+y,N);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case se:return y.key===X?f(h,o,y,N):null;case Se:return y.key===X?x(h,o,y,N):null;case Je:return y=Zt(y),g(h,o,y,N)}if(oe(y)||W(y))return X!==null?null:j(h,o,y,N,null);if(typeof y.then=="function")return g(h,o,ru(y),N);if(y.$$typeof===ue)return g(h,o,iu(h,y),N);ou(h,y)}return null}function v(h,o,y,N,X){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return h=h.get(y)||null,s(o,h,""+N,X);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case se:return h=h.get(N.key===null?y:N.key)||null,f(o,h,N,X);case Se:return h=h.get(N.key===null?y:N.key)||null,x(o,h,N,X);case Je:return N=Zt(N),v(h,o,y,N,X)}if(oe(N)||W(N))return h=h.get(y)||null,j(o,h,N,X,null);if(typeof N.then=="function")return v(h,o,y,ru(N),X);if(N.$$typeof===ue)return v(h,o,y,iu(o,N),X);ou(o,N)}return null}function H(h,o,y,N){for(var X=null,ye=null,B=o,le=o=0,re=null;B!==null&&le<y.length;le++){B.index>le?(re=B,B=null):re=B.sibling;var xe=g(h,B,y[le],N);if(xe===null){B===null&&(B=re);break}e&&B&&xe.alternate===null&&l(h,B),o=u(xe,o,le),ye===null?X=xe:ye.sibling=xe,ye=xe,B=re}if(le===y.length)return t(h,B),de&&Jl(h,le),X;if(B===null){for(;le<y.length;le++)B=S(h,y[le],N),B!==null&&(o=u(B,o,le),ye===null?X=B:ye.sibling=B,ye=B);return de&&Jl(h,le),X}for(B=a(B);le<y.length;le++)re=v(B,h,le,y[le],N),re!==null&&(e&&re.alternate!==null&&B.delete(re.key===null?le:re.key),o=u(re,o,le),ye===null?X=re:ye.sibling=re,ye=re);return e&&B.forEach(function(Ut){return l(h,Ut)}),de&&Jl(h,le),X}function K(h,o,y,N){if(y==null)throw Error(r(151));for(var X=null,ye=null,B=o,le=o=0,re=null,xe=y.next();B!==null&&!xe.done;le++,xe=y.next()){B.index>le?(re=B,B=null):re=B.sibling;var Ut=g(h,B,xe.value,N);if(Ut===null){B===null&&(B=re);break}e&&B&&Ut.alternate===null&&l(h,B),o=u(Ut,o,le),ye===null?X=Ut:ye.sibling=Ut,ye=Ut,B=re}if(xe.done)return t(h,B),de&&Jl(h,le),X;if(B===null){for(;!xe.done;le++,xe=y.next())xe=S(h,xe.value,N),xe!==null&&(o=u(xe,o,le),ye===null?X=xe:ye.sibling=xe,ye=xe);return de&&Jl(h,le),X}for(B=a(B);!xe.done;le++,xe=y.next())xe=v(B,h,le,xe.value,N),xe!==null&&(e&&xe.alternate!==null&&B.delete(xe.key===null?le:xe.key),o=u(xe,o,le),ye===null?X=xe:ye.sibling=xe,ye=xe);return e&&B.forEach(function(Ah){return l(h,Ah)}),de&&Jl(h,le),X}function Oe(h,o,y,N){if(typeof y=="object"&&y!==null&&y.type===ge&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case se:e:{for(var X=y.key;o!==null;){if(o.key===X){if(X=y.type,X===ge){if(o.tag===7){t(h,o.sibling),N=n(o,y.props.children),N.return=h,h=N;break e}}else if(o.elementType===X||typeof X=="object"&&X!==null&&X.$$typeof===Je&&Zt(X)===o.type){t(h,o.sibling),N=n(o,y.props),un(N,y),N.return=h,h=N;break e}t(h,o);break}else l(h,o);o=o.sibling}y.type===ge?(N=Yt(y.props.children,h.mode,N,y.key),N.return=h,h=N):(N=au(y.type,y.key,y.props,null,h.mode,N),un(N,y),N.return=h,h=N)}return c(h);case Se:e:{for(X=y.key;o!==null;){if(o.key===X)if(o.tag===4&&o.stateNode.containerInfo===y.containerInfo&&o.stateNode.implementation===y.implementation){t(h,o.sibling),N=n(o,y.children||[]),N.return=h,h=N;break e}else{t(h,o);break}else l(h,o);o=o.sibling}N=Hi(y,h.mode,N),N.return=h,h=N}return c(h);case Je:return y=Zt(y),Oe(h,o,y,N)}if(oe(y))return H(h,o,y,N);if(W(y)){if(X=W(y),typeof X!="function")throw Error(r(150));return y=X.call(y),K(h,o,y,N)}if(typeof y.then=="function")return Oe(h,o,ru(y),N);if(y.$$typeof===ue)return Oe(h,o,iu(h,y),N);ou(h,y)}return typeof y=="string"&&y!==""||typeof y=="number"||typeof y=="bigint"?(y=""+y,o!==null&&o.tag===6?(t(h,o.sibling),N=n(o,y),N.return=h,h=N):(t(h,o),N=wi(y,h.mode,N),N.return=h,h=N),c(h)):t(h,o)}return function(h,o,y,N){try{nn=0;var X=Oe(h,o,y,N);return ja=null,X}catch(B){if(B===pa||B===su)throw B;var ye=vl(29,B,null,h.mode);return ye.lanes=N,ye.return=h,ye}finally{}}}var Jt=Jf(!0),kf=Jf(!1),yt=!1;function Ji(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ki(e,l){e=e.updateQueue,l.updateQueue===e&&(l.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function xt(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function gt(e,l,t){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(ve&2)!==0){var n=a.pending;return n===null?l.next=l:(l.next=n.next,n.next=l),a.pending=l,l=tu(e),Df(e,null,t),l}return lu(e,a,l,t),tu(e)}function cn(e,l,t){if(l=l.updateQueue,l!==null&&(l=l.shared,(t&4194048)!==0)){var a=l.lanes;a&=e.pendingLanes,t|=a,l.lanes=t,Bs(e,t)}}function $i(e,l){var t=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,t===a)){var n=null,u=null;if(t=t.firstBaseUpdate,t!==null){do{var c={lane:t.lane,tag:t.tag,payload:t.payload,callback:null,next:null};u===null?n=u=c:u=u.next=c,t=t.next}while(t!==null);u===null?n=u=l:u=u.next=l}else n=u=l;t={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=l:e.next=l,t.lastBaseUpdate=l}var Wi=!1;function sn(){if(Wi){var e=ba;if(e!==null)throw e}}function fn(e,l,t,a){Wi=!1;var n=e.updateQueue;yt=!1;var u=n.firstBaseUpdate,c=n.lastBaseUpdate,s=n.shared.pending;if(s!==null){n.shared.pending=null;var f=s,x=f.next;f.next=null,c===null?u=x:c.next=x,c=f;var j=e.alternate;j!==null&&(j=j.updateQueue,s=j.lastBaseUpdate,s!==c&&(s===null?j.firstBaseUpdate=x:s.next=x,j.lastBaseUpdate=f))}if(u!==null){var S=n.baseState;c=0,j=x=f=null,s=u;do{var g=s.lane&-536870913,v=g!==s.lane;if(v?(fe&g)===g:(a&g)===g){g!==0&&g===va&&(Wi=!0),j!==null&&(j=j.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var H=e,K=s;g=l;var Oe=t;switch(K.tag){case 1:if(H=K.payload,typeof H=="function"){S=H.call(Oe,S,g);break e}S=H;break e;case 3:H.flags=H.flags&-65537|128;case 0:if(H=K.payload,g=typeof H=="function"?H.call(Oe,S,g):H,g==null)break e;S=D({},S,g);break e;case 2:yt=!0}}g=s.callback,g!==null&&(e.flags|=64,v&&(e.flags|=8192),v=n.callbacks,v===null?n.callbacks=[g]:v.push(g))}else v={lane:g,tag:s.tag,payload:s.payload,callback:s.callback,next:null},j===null?(x=j=v,f=S):j=j.next=v,c|=g;if(s=s.next,s===null){if(s=n.shared.pending,s===null)break;v=s,s=v.next,v.next=null,n.lastBaseUpdate=v,n.shared.pending=null}}while(!0);j===null&&(f=S),n.baseState=f,n.firstBaseUpdate=x,n.lastBaseUpdate=j,u===null&&(n.shared.lanes=0),Nt|=c,e.lanes=c,e.memoizedState=S}}function $f(e,l){if(typeof e!="function")throw Error(r(191,e));e.call(l)}function Wf(e,l){var t=e.callbacks;if(t!==null)for(e.callbacks=null,e=0;e<t.length;e++)$f(t[e],l)}var Na=m(null),du=m(0);function Ff(e,l){e=nt,U(du,e),U(Na,l),nt=e|l.baseLanes}function Fi(){U(du,nt),U(Na,Na.current)}function Ii(){nt=du.current,z(Na),z(du)}var bl=m(null),Cl=null;function vt(e){var l=e.alternate;U(Ve,Ve.current&1),U(bl,e),Cl===null&&(l===null||Na.current!==null||l.memoizedState!==null)&&(Cl=e)}function Pi(e){U(Ve,Ve.current),U(bl,e),Cl===null&&(Cl=e)}function If(e){e.tag===22?(U(Ve,Ve.current),U(bl,e),Cl===null&&(Cl=e)):bt()}function bt(){U(Ve,Ve.current),U(bl,bl.current)}function pl(e){z(bl),Cl===e&&(Cl=null),z(Ve)}var Ve=m(0);function mu(e){for(var l=e;l!==null;){if(l.tag===13){var t=l.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||us(t)||is(t)))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===e)break;for(;l.sibling===null;){if(l.return===null||l.return===e)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Wl=0,ee=null,Ae=null,Le=null,hu=!1,Sa=!1,kt=!1,yu=0,rn=0,za=null,vm=0;function Ge(){throw Error(r(321))}function ec(e,l){if(l===null)return!1;for(var t=0;t<l.length&&t<e.length;t++)if(!gl(e[t],l[t]))return!1;return!0}function lc(e,l,t,a,n,u){return Wl=u,ee=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,b.H=e===null||e.memoizedState===null?Hr:xc,kt=!1,u=t(a,n),kt=!1,Sa&&(u=er(l,t,a,n)),Pf(e),u}function Pf(e){b.H=mn;var l=Ae!==null&&Ae.next!==null;if(Wl=0,Le=Ae=ee=null,hu=!1,rn=0,za=null,l)throw Error(r(300));e===null||Ze||(e=e.dependencies,e!==null&&uu(e)&&(Ze=!0))}function er(e,l,t,a){ee=e;var n=0;do{if(Sa&&(za=null),rn=0,Sa=!1,25<=n)throw Error(r(301));if(n+=1,Le=Ae=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}b.H=Rr,u=l(t,a)}while(Sa);return u}function bm(){var e=b.H,l=e.useState()[0];return l=typeof l.then=="function"?on(l):l,e=e.useState()[0],(Ae!==null?Ae.memoizedState:null)!==e&&(ee.flags|=1024),l}function tc(){var e=yu!==0;return yu=0,e}function ac(e,l,t){l.updateQueue=e.updateQueue,l.flags&=-2053,e.lanes&=~t}function nc(e){if(hu){for(e=e.memoizedState;e!==null;){var l=e.queue;l!==null&&(l.pending=null),e=e.next}hu=!1}Wl=0,Le=Ae=ee=null,Sa=!1,rn=yu=0,za=null}function nl(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Le===null?ee.memoizedState=Le=e:Le=Le.next=e,Le}function Xe(){if(Ae===null){var e=ee.alternate;e=e!==null?e.memoizedState:null}else e=Ae.next;var l=Le===null?ee.memoizedState:Le.next;if(l!==null)Le=l,Ae=e;else{if(e===null)throw ee.alternate===null?Error(r(467)):Error(r(310));Ae=e,e={memoizedState:Ae.memoizedState,baseState:Ae.baseState,baseQueue:Ae.baseQueue,queue:Ae.queue,next:null},Le===null?ee.memoizedState=Le=e:Le=Le.next=e}return Le}function xu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function on(e){var l=rn;return rn+=1,za===null&&(za=[]),e=Lf(za,e,l),l=ee,(Le===null?l.memoizedState:Le.next)===null&&(l=l.alternate,b.H=l===null||l.memoizedState===null?Hr:xc),e}function gu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return on(e);if(e.$$typeof===ue)return Pe(e)}throw Error(r(438,String(e)))}function uc(e){var l=null,t=ee.updateQueue;if(t!==null&&(l=t.memoCache),l==null){var a=ee.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(l={data:a.data.map(function(n){return n.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),t===null&&(t=xu(),ee.updateQueue=t),t.memoCache=l,t=l.data[l.index],t===void 0)for(t=l.data[l.index]=Array(e),a=0;a<e;a++)t[a]=Ml;return l.index++,t}function Fl(e,l){return typeof l=="function"?l(e):l}function vu(e){var l=Xe();return ic(l,Ae,e)}function ic(e,l,t){var a=e.queue;if(a===null)throw Error(r(311));a.lastRenderedReducer=t;var n=e.baseQueue,u=a.pending;if(u!==null){if(n!==null){var c=n.next;n.next=u.next,u.next=c}l.baseQueue=n=u,a.pending=null}if(u=e.baseState,n===null)e.memoizedState=u;else{l=n.next;var s=c=null,f=null,x=l,j=!1;do{var S=x.lane&-536870913;if(S!==x.lane?(fe&S)===S:(Wl&S)===S){var g=x.revertLane;if(g===0)f!==null&&(f=f.next={lane:0,revertLane:0,gesture:null,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null}),S===va&&(j=!0);else if((Wl&g)===g){x=x.next,g===va&&(j=!0);continue}else S={lane:0,revertLane:x.revertLane,gesture:null,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},f===null?(s=f=S,c=u):f=f.next=S,ee.lanes|=g,Nt|=g;S=x.action,kt&&t(u,S),u=x.hasEagerState?x.eagerState:t(u,S)}else g={lane:S,revertLane:x.revertLane,gesture:x.gesture,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},f===null?(s=f=g,c=u):f=f.next=g,ee.lanes|=S,Nt|=S;x=x.next}while(x!==null&&x!==l);if(f===null?c=u:f.next=s,!gl(u,e.memoizedState)&&(Ze=!0,j&&(t=ba,t!==null)))throw t;e.memoizedState=u,e.baseState=c,e.baseQueue=f,a.lastRenderedState=u}return n===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function cc(e){var l=Xe(),t=l.queue;if(t===null)throw Error(r(311));t.lastRenderedReducer=e;var a=t.dispatch,n=t.pending,u=l.memoizedState;if(n!==null){t.pending=null;var c=n=n.next;do u=e(u,c.action),c=c.next;while(c!==n);gl(u,l.memoizedState)||(Ze=!0),l.memoizedState=u,l.baseQueue===null&&(l.baseState=u),t.lastRenderedState=u}return[u,a]}function lr(e,l,t){var a=ee,n=Xe(),u=de;if(u){if(t===void 0)throw Error(r(407));t=t()}else t=l();var c=!gl((Ae||n).memoizedState,t);if(c&&(n.memoizedState=t,Ze=!0),n=n.queue,rc(nr.bind(null,a,n,e),[e]),n.getSnapshot!==l||c||Le!==null&&Le.memoizedState.tag&1){if(a.flags|=2048,Ma(9,{destroy:void 0},ar.bind(null,a,n,t,l),null),De===null)throw Error(r(349));u||(Wl&127)!==0||tr(a,l,t)}return t}function tr(e,l,t){e.flags|=16384,e={getSnapshot:l,value:t},l=ee.updateQueue,l===null?(l=xu(),ee.updateQueue=l,l.stores=[e]):(t=l.stores,t===null?l.stores=[e]:t.push(e))}function ar(e,l,t,a){l.value=t,l.getSnapshot=a,ur(l)&&ir(e)}function nr(e,l,t){return t(function(){ur(l)&&ir(e)})}function ur(e){var l=e.getSnapshot;e=e.value;try{var t=l();return!gl(e,t)}catch{return!0}}function ir(e){var l=Gt(e,2);l!==null&&dl(l,e,2)}function sc(e){var l=nl();if(typeof e=="function"){var t=e;if(e=t(),kt){st(!0);try{t()}finally{st(!1)}}}return l.memoizedState=l.baseState=e,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fl,lastRenderedState:e},l}function cr(e,l,t,a){return e.baseState=t,ic(e,Ae,typeof a=="function"?a:Fl)}function pm(e,l,t,a,n){if(ju(e))throw Error(r(485));if(e=l.action,e!==null){var u={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){u.listeners.push(c)}};b.T!==null?t(!0):u.isTransition=!1,a(u),t=l.pending,t===null?(u.next=l.pending=u,sr(l,u)):(u.next=t.next,l.pending=t.next=u)}}function sr(e,l){var t=l.action,a=l.payload,n=e.state;if(l.isTransition){var u=b.T,c={};b.T=c;try{var s=t(n,a),f=b.S;f!==null&&f(c,s),fr(e,l,s)}catch(x){fc(e,l,x)}finally{u!==null&&c.types!==null&&(u.types=c.types),b.T=u}}else try{u=t(n,a),fr(e,l,u)}catch(x){fc(e,l,x)}}function fr(e,l,t){t!==null&&typeof t=="object"&&typeof t.then=="function"?t.then(function(a){rr(e,l,a)},function(a){return fc(e,l,a)}):rr(e,l,t)}function rr(e,l,t){l.status="fulfilled",l.value=t,or(l),e.state=t,l=e.pending,l!==null&&(t=l.next,t===l?e.pending=null:(t=t.next,l.next=t,sr(e,t)))}function fc(e,l,t){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do l.status="rejected",l.reason=t,or(l),l=l.next;while(l!==a)}e.action=null}function or(e){e=e.listeners;for(var l=0;l<e.length;l++)(0,e[l])()}function dr(e,l){return l}function mr(e,l){if(de){var t=De.formState;if(t!==null){e:{var a=ee;if(de){if(we){l:{for(var n=we,u=Ul;n.nodeType!==8;){if(!u){n=null;break l}if(n=wl(n.nextSibling),n===null){n=null;break l}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){we=wl(n.nextSibling),a=n.data==="F!";break e}}mt(a)}a=!1}a&&(l=t[0])}}return t=nl(),t.memoizedState=t.baseState=l,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:dr,lastRenderedState:l},t.queue=a,t=Ur.bind(null,ee,a),a.dispatch=t,a=sc(!1),u=yc.bind(null,ee,!1,a.queue),a=nl(),n={state:l,dispatch:null,action:e,pending:null},a.queue=n,t=pm.bind(null,ee,n,u,t),n.dispatch=t,a.memoizedState=e,[l,t,!1]}function hr(e){var l=Xe();return yr(l,Ae,e)}function yr(e,l,t){if(l=ic(e,l,dr)[0],e=vu(Fl)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var a=on(l)}catch(c){throw c===pa?su:c}else a=l;l=Xe();var n=l.queue,u=n.dispatch;return t!==l.memoizedState&&(ee.flags|=2048,Ma(9,{destroy:void 0},jm.bind(null,n,t),null)),[a,u,e]}function jm(e,l){e.action=l}function xr(e){var l=Xe(),t=Ae;if(t!==null)return yr(l,t,e);Xe(),l=l.memoizedState,t=Xe();var a=t.queue.dispatch;return t.memoizedState=e,[l,a,!1]}function Ma(e,l,t,a){return e={tag:e,create:t,deps:a,inst:l,next:null},l=ee.updateQueue,l===null&&(l=xu(),ee.updateQueue=l),t=l.lastEffect,t===null?l.lastEffect=e.next=e:(a=t.next,t.next=e,e.next=a,l.lastEffect=e),e}function gr(){return Xe().memoizedState}function bu(e,l,t,a){var n=nl();ee.flags|=e,n.memoizedState=Ma(1|l,{destroy:void 0},t,a===void 0?null:a)}function pu(e,l,t,a){var n=Xe();a=a===void 0?null:a;var u=n.memoizedState.inst;Ae!==null&&a!==null&&ec(a,Ae.memoizedState.deps)?n.memoizedState=Ma(l,u,t,a):(ee.flags|=e,n.memoizedState=Ma(1|l,u,t,a))}function vr(e,l){bu(8390656,8,e,l)}function rc(e,l){pu(2048,8,e,l)}function Nm(e){ee.flags|=4;var l=ee.updateQueue;if(l===null)l=xu(),ee.updateQueue=l,l.events=[e];else{var t=l.events;t===null?l.events=[e]:t.push(e)}}function br(e){var l=Xe().memoizedState;return Nm({ref:l,nextImpl:e}),function(){if((ve&2)!==0)throw Error(r(440));return l.impl.apply(void 0,arguments)}}function pr(e,l){return pu(4,2,e,l)}function jr(e,l){return pu(4,4,e,l)}function Nr(e,l){if(typeof l=="function"){e=e();var t=l(e);return function(){typeof t=="function"?t():l(null)}}if(l!=null)return e=e(),l.current=e,function(){l.current=null}}function Sr(e,l,t){t=t!=null?t.concat([e]):null,pu(4,4,Nr.bind(null,l,e),t)}function oc(){}function zr(e,l){var t=Xe();l=l===void 0?null:l;var a=t.memoizedState;return l!==null&&ec(l,a[1])?a[0]:(t.memoizedState=[e,l],e)}function Mr(e,l){var t=Xe();l=l===void 0?null:l;var a=t.memoizedState;if(l!==null&&ec(l,a[1]))return a[0];if(a=e(),kt){st(!0);try{e()}finally{st(!1)}}return t.memoizedState=[a,l],a}function dc(e,l,t){return t===void 0||(Wl&1073741824)!==0&&(fe&261930)===0?e.memoizedState=l:(e.memoizedState=t,e=_o(),ee.lanes|=e,Nt|=e,t)}function Er(e,l,t,a){return gl(t,l)?t:Na.current!==null?(e=dc(e,t,a),gl(e,l)||(Ze=!0),e):(Wl&42)===0||(Wl&1073741824)!==0&&(fe&261930)===0?(Ze=!0,e.memoizedState=t):(e=_o(),ee.lanes|=e,Nt|=e,l)}function _r(e,l,t,a,n){var u=T.p;T.p=u!==0&&8>u?u:8;var c=b.T,s={};b.T=s,yc(e,!1,l,t);try{var f=n(),x=b.S;if(x!==null&&x(s,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var j=gm(f,a);dn(e,l,j,Sl(e))}else dn(e,l,a,Sl(e))}catch(S){dn(e,l,{then:function(){},status:"rejected",reason:S},Sl())}finally{T.p=u,c!==null&&s.types!==null&&(c.types=s.types),b.T=c}}function Sm(){}function mc(e,l,t,a){if(e.tag!==5)throw Error(r(476));var n=Ar(e).queue;_r(e,n,l,J,t===null?Sm:function(){return Tr(e),t(a)})}function Ar(e){var l=e.memoizedState;if(l!==null)return l;l={memoizedState:J,baseState:J,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fl,lastRenderedState:J},next:null};var t={};return l.next={memoizedState:t,baseState:t,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fl,lastRenderedState:t},next:null},e.memoizedState=l,e=e.alternate,e!==null&&(e.memoizedState=l),l}function Tr(e){var l=Ar(e);l.next===null&&(l=e.alternate.memoizedState),dn(e,l.next.queue,{},Sl())}function hc(){return Pe(Tn)}function Or(){return Xe().memoizedState}function Dr(){return Xe().memoizedState}function zm(e){for(var l=e.return;l!==null;){switch(l.tag){case 24:case 3:var t=Sl();e=xt(t);var a=gt(l,e,t);a!==null&&(dl(a,l,t),cn(a,l,t)),l={cache:Qi()},e.payload=l;return}l=l.return}}function Mm(e,l,t){var a=Sl();t={lane:a,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null},ju(e)?Cr(l,t):(t=Ui(e,l,t,a),t!==null&&(dl(t,e,a),wr(t,l,a)))}function Ur(e,l,t){var a=Sl();dn(e,l,t,a)}function dn(e,l,t,a){var n={lane:a,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null};if(ju(e))Cr(l,n);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=l.lastRenderedReducer,u!==null))try{var c=l.lastRenderedState,s=u(c,t);if(n.hasEagerState=!0,n.eagerState=s,gl(s,c))return lu(e,l,n,0),De===null&&eu(),!1}catch{}finally{}if(t=Ui(e,l,n,a),t!==null)return dl(t,e,a),wr(t,l,a),!0}return!1}function yc(e,l,t,a){if(a={lane:2,revertLane:Jc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},ju(e)){if(l)throw Error(r(479))}else l=Ui(e,t,a,2),l!==null&&dl(l,e,2)}function ju(e){var l=e.alternate;return e===ee||l!==null&&l===ee}function Cr(e,l){Sa=hu=!0;var t=e.pending;t===null?l.next=l:(l.next=t.next,t.next=l),e.pending=l}function wr(e,l,t){if((t&4194048)!==0){var a=l.lanes;a&=e.pendingLanes,t|=a,l.lanes=t,Bs(e,t)}}var mn={readContext:Pe,use:gu,useCallback:Ge,useContext:Ge,useEffect:Ge,useImperativeHandle:Ge,useLayoutEffect:Ge,useInsertionEffect:Ge,useMemo:Ge,useReducer:Ge,useRef:Ge,useState:Ge,useDebugValue:Ge,useDeferredValue:Ge,useTransition:Ge,useSyncExternalStore:Ge,useId:Ge,useHostTransitionStatus:Ge,useFormState:Ge,useActionState:Ge,useOptimistic:Ge,useMemoCache:Ge,useCacheRefresh:Ge};mn.useEffectEvent=Ge;var Hr={readContext:Pe,use:gu,useCallback:function(e,l){return nl().memoizedState=[e,l===void 0?null:l],e},useContext:Pe,useEffect:vr,useImperativeHandle:function(e,l,t){t=t!=null?t.concat([e]):null,bu(4194308,4,Nr.bind(null,l,e),t)},useLayoutEffect:function(e,l){return bu(4194308,4,e,l)},useInsertionEffect:function(e,l){bu(4,2,e,l)},useMemo:function(e,l){var t=nl();l=l===void 0?null:l;var a=e();if(kt){st(!0);try{e()}finally{st(!1)}}return t.memoizedState=[a,l],a},useReducer:function(e,l,t){var a=nl();if(t!==void 0){var n=t(l);if(kt){st(!0);try{t(l)}finally{st(!1)}}}else n=l;return a.memoizedState=a.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=Mm.bind(null,ee,e),[a.memoizedState,e]},useRef:function(e){var l=nl();return e={current:e},l.memoizedState=e},useState:function(e){e=sc(e);var l=e.queue,t=Ur.bind(null,ee,l);return l.dispatch=t,[e.memoizedState,t]},useDebugValue:oc,useDeferredValue:function(e,l){var t=nl();return dc(t,e,l)},useTransition:function(){var e=sc(!1);return e=_r.bind(null,ee,e.queue,!0,!1),nl().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,l,t){var a=ee,n=nl();if(de){if(t===void 0)throw Error(r(407));t=t()}else{if(t=l(),De===null)throw Error(r(349));(fe&127)!==0||tr(a,l,t)}n.memoizedState=t;var u={value:t,getSnapshot:l};return n.queue=u,vr(nr.bind(null,a,u,e),[e]),a.flags|=2048,Ma(9,{destroy:void 0},ar.bind(null,a,u,t,l),null),t},useId:function(){var e=nl(),l=De.identifierPrefix;if(de){var t=Yl,a=Gl;t=(a&~(1<<32-xl(a)-1)).toString(32)+t,l="_"+l+"R_"+t,t=yu++,0<t&&(l+="H"+t.toString(32)),l+="_"}else t=vm++,l="_"+l+"r_"+t.toString(32)+"_";return e.memoizedState=l},useHostTransitionStatus:hc,useFormState:mr,useActionState:mr,useOptimistic:function(e){var l=nl();l.memoizedState=l.baseState=e;var t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=t,l=yc.bind(null,ee,!0,t),t.dispatch=l,[e,l]},useMemoCache:uc,useCacheRefresh:function(){return nl().memoizedState=zm.bind(null,ee)},useEffectEvent:function(e){var l=nl(),t={impl:e};return l.memoizedState=t,function(){if((ve&2)!==0)throw Error(r(440));return t.impl.apply(void 0,arguments)}}},xc={readContext:Pe,use:gu,useCallback:zr,useContext:Pe,useEffect:rc,useImperativeHandle:Sr,useInsertionEffect:pr,useLayoutEffect:jr,useMemo:Mr,useReducer:vu,useRef:gr,useState:function(){return vu(Fl)},useDebugValue:oc,useDeferredValue:function(e,l){var t=Xe();return Er(t,Ae.memoizedState,e,l)},useTransition:function(){var e=vu(Fl)[0],l=Xe().memoizedState;return[typeof e=="boolean"?e:on(e),l]},useSyncExternalStore:lr,useId:Or,useHostTransitionStatus:hc,useFormState:hr,useActionState:hr,useOptimistic:function(e,l){var t=Xe();return cr(t,Ae,e,l)},useMemoCache:uc,useCacheRefresh:Dr};xc.useEffectEvent=br;var Rr={readContext:Pe,use:gu,useCallback:zr,useContext:Pe,useEffect:rc,useImperativeHandle:Sr,useInsertionEffect:pr,useLayoutEffect:jr,useMemo:Mr,useReducer:cc,useRef:gr,useState:function(){return cc(Fl)},useDebugValue:oc,useDeferredValue:function(e,l){var t=Xe();return Ae===null?dc(t,e,l):Er(t,Ae.memoizedState,e,l)},useTransition:function(){var e=cc(Fl)[0],l=Xe().memoizedState;return[typeof e=="boolean"?e:on(e),l]},useSyncExternalStore:lr,useId:Or,useHostTransitionStatus:hc,useFormState:xr,useActionState:xr,useOptimistic:function(e,l){var t=Xe();return Ae!==null?cr(t,Ae,e,l):(t.baseState=e,[e,t.queue.dispatch])},useMemoCache:uc,useCacheRefresh:Dr};Rr.useEffectEvent=br;function gc(e,l,t,a){l=e.memoizedState,t=t(a,l),t=t==null?l:D({},l,t),e.memoizedState=t,e.lanes===0&&(e.updateQueue.baseState=t)}var vc={enqueueSetState:function(e,l,t){e=e._reactInternals;var a=Sl(),n=xt(a);n.payload=l,t!=null&&(n.callback=t),l=gt(e,n,a),l!==null&&(dl(l,e,a),cn(l,e,a))},enqueueReplaceState:function(e,l,t){e=e._reactInternals;var a=Sl(),n=xt(a);n.tag=1,n.payload=l,t!=null&&(n.callback=t),l=gt(e,n,a),l!==null&&(dl(l,e,a),cn(l,e,a))},enqueueForceUpdate:function(e,l){e=e._reactInternals;var t=Sl(),a=xt(t);a.tag=2,l!=null&&(a.callback=l),l=gt(e,a,t),l!==null&&(dl(l,e,t),cn(l,e,t))}};function qr(e,l,t,a,n,u,c){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,u,c):l.prototype&&l.prototype.isPureReactComponent?!Ia(t,a)||!Ia(n,u):!0}function Br(e,l,t,a){e=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(t,a),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(t,a),l.state!==e&&vc.enqueueReplaceState(l,l.state,null)}function $t(e,l){var t=l;if("ref"in l){t={};for(var a in l)a!=="ref"&&(t[a]=l[a])}if(e=e.defaultProps){t===l&&(t=D({},t));for(var n in e)t[n]===void 0&&(t[n]=e[n])}return t}function Gr(e){Pn(e)}function Yr(e){console.error(e)}function Vr(e){Pn(e)}function Nu(e,l){try{var t=e.onUncaughtError;t(l.value,{componentStack:l.stack})}catch(a){setTimeout(function(){throw a})}}function Xr(e,l,t){try{var a=e.onCaughtError;a(t.value,{componentStack:t.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function bc(e,l,t){return t=xt(t),t.tag=3,t.payload={element:null},t.callback=function(){Nu(e,l)},t}function Qr(e){return e=xt(e),e.tag=3,e}function Lr(e,l,t,a){var n=t.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;e.payload=function(){return n(u)},e.callback=function(){Xr(l,t,a)}}var c=t.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(e.callback=function(){Xr(l,t,a),typeof n!="function"&&(St===null?St=new Set([this]):St.add(this));var s=a.stack;this.componentDidCatch(a.value,{componentStack:s!==null?s:""})})}function Em(e,l,t,a,n){if(t.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(l=t.alternate,l!==null&&ga(l,t,n,!0),t=bl.current,t!==null){switch(t.tag){case 31:case 13:return Cl===null?wu():t.alternate===null&&Ye===0&&(Ye=3),t.flags&=-257,t.flags|=65536,t.lanes=n,a===fu?t.flags|=16384:(l=t.updateQueue,l===null?t.updateQueue=new Set([a]):l.add(a),Lc(e,a,n)),!1;case 22:return t.flags|=65536,a===fu?t.flags|=16384:(l=t.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([a])},t.updateQueue=l):(t=l.retryQueue,t===null?l.retryQueue=new Set([a]):t.add(a)),Lc(e,a,n)),!1}throw Error(r(435,t.tag))}return Lc(e,a,n),wu(),!1}if(de)return l=bl.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=n,a!==Bi&&(e=Error(r(422),{cause:a}),ln(Tl(e,t)))):(a!==Bi&&(l=Error(r(423),{cause:a}),ln(Tl(l,t))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,a=Tl(a,t),n=bc(e.stateNode,a,n),$i(e,n),Ye!==4&&(Ye=2)),!1;var u=Error(r(520),{cause:a});if(u=Tl(u,t),jn===null?jn=[u]:jn.push(u),Ye!==4&&(Ye=2),l===null)return!0;a=Tl(a,t),t=l;do{switch(t.tag){case 3:return t.flags|=65536,e=n&-n,t.lanes|=e,e=bc(t.stateNode,a,e),$i(t,e),!1;case 1:if(l=t.type,u=t.stateNode,(t.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(St===null||!St.has(u))))return t.flags|=65536,n&=-n,t.lanes|=n,n=Qr(n),Lr(n,e,t,a),$i(t,n),!1}t=t.return}while(t!==null);return!1}var pc=Error(r(461)),Ze=!1;function el(e,l,t,a){l.child=e===null?kf(l,null,t,a):Jt(l,e.child,t,a)}function Zr(e,l,t,a,n){t=t.render;var u=l.ref;if("ref"in a){var c={};for(var s in a)s!=="ref"&&(c[s]=a[s])}else c=a;return Qt(l),a=lc(e,l,t,c,u,n),s=tc(),e!==null&&!Ze?(ac(e,l,n),Il(e,l,n)):(de&&s&&Ri(l),l.flags|=1,el(e,l,a,n),l.child)}function Kr(e,l,t,a,n){if(e===null){var u=t.type;return typeof u=="function"&&!Ci(u)&&u.defaultProps===void 0&&t.compare===null?(l.tag=15,l.type=u,Jr(e,l,u,a,n)):(e=au(t.type,null,a,l,l.mode,n),e.ref=l.ref,e.return=l,l.child=e)}if(u=e.child,!Ac(e,n)){var c=u.memoizedProps;if(t=t.compare,t=t!==null?t:Ia,t(c,a)&&e.ref===l.ref)return Il(e,l,n)}return l.flags|=1,e=Kl(u,a),e.ref=l.ref,e.return=l,l.child=e}function Jr(e,l,t,a,n){if(e!==null){var u=e.memoizedProps;if(Ia(u,a)&&e.ref===l.ref)if(Ze=!1,l.pendingProps=a=u,Ac(e,n))(e.flags&131072)!==0&&(Ze=!0);else return l.lanes=e.lanes,Il(e,l,n)}return jc(e,l,t,a,n)}function kr(e,l,t,a){var n=a.children,u=e!==null?e.memoizedState:null;if(e===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((l.flags&128)!==0){if(u=u!==null?u.baseLanes|t:t,e!==null){for(a=l.child=e.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,l.child=null;return $r(e,l,u,t,a)}if((t&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},e!==null&&cu(l,u!==null?u.cachePool:null),u!==null?Ff(l,u):Fi(),If(l);else return a=l.lanes=536870912,$r(e,l,u!==null?u.baseLanes|t:t,t,a)}else u!==null?(cu(l,u.cachePool),Ff(l,u),bt(),l.memoizedState=null):(e!==null&&cu(l,null),Fi(),bt());return el(e,l,n,t),l.child}function hn(e,l){return e!==null&&e.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function $r(e,l,t,a,n){var u=Zi();return u=u===null?null:{parent:Qe._currentValue,pool:u},l.memoizedState={baseLanes:t,cachePool:u},e!==null&&cu(l,null),Fi(),If(l),e!==null&&ga(e,l,a,!0),l.childLanes=n,null}function Su(e,l){return l=Mu({mode:l.mode,children:l.children},e.mode),l.ref=e.ref,e.child=l,l.return=e,l}function Wr(e,l,t){return Jt(l,e.child,null,t),e=Su(l,l.pendingProps),e.flags|=2,pl(l),l.memoizedState=null,e}function _m(e,l,t){var a=l.pendingProps,n=(l.flags&128)!==0;if(l.flags&=-129,e===null){if(de){if(a.mode==="hidden")return e=Su(l,a),l.lanes=536870912,hn(null,e);if(Pi(l),(e=we)?(e=f0(e,Ul),e=e!==null&&e.data==="&"?e:null,e!==null&&(l.memoizedState={dehydrated:e,treeContext:ot!==null?{id:Gl,overflow:Yl}:null,retryLane:536870912,hydrationErrors:null},t=Cf(e),t.return=l,l.child=t,Ie=l,we=null)):e=null,e===null)throw mt(l);return l.lanes=536870912,null}return Su(l,a)}var u=e.memoizedState;if(u!==null){var c=u.dehydrated;if(Pi(l),n)if(l.flags&256)l.flags&=-257,l=Wr(e,l,t);else if(l.memoizedState!==null)l.child=e.child,l.flags|=128,l=null;else throw Error(r(558));else if(Ze||ga(e,l,t,!1),n=(t&e.childLanes)!==0,Ze||n){if(a=De,a!==null&&(c=Gs(a,t),c!==0&&c!==u.retryLane))throw u.retryLane=c,Gt(e,c),dl(a,e,c),pc;wu(),l=Wr(e,l,t)}else e=u.treeContext,we=wl(c.nextSibling),Ie=l,de=!0,dt=null,Ul=!1,e!==null&&Rf(l,e),l=Su(l,a),l.flags|=4096;return l}return e=Kl(e.child,{mode:a.mode,children:a.children}),e.ref=l.ref,l.child=e,e.return=l,e}function zu(e,l){var t=l.ref;if(t===null)e!==null&&e.ref!==null&&(l.flags|=4194816);else{if(typeof t!="function"&&typeof t!="object")throw Error(r(284));(e===null||e.ref!==t)&&(l.flags|=4194816)}}function jc(e,l,t,a,n){return Qt(l),t=lc(e,l,t,a,void 0,n),a=tc(),e!==null&&!Ze?(ac(e,l,n),Il(e,l,n)):(de&&a&&Ri(l),l.flags|=1,el(e,l,t,n),l.child)}function Fr(e,l,t,a,n,u){return Qt(l),l.updateQueue=null,t=er(l,a,t,n),Pf(e),a=tc(),e!==null&&!Ze?(ac(e,l,u),Il(e,l,u)):(de&&a&&Ri(l),l.flags|=1,el(e,l,t,u),l.child)}function Ir(e,l,t,a,n){if(Qt(l),l.stateNode===null){var u=ma,c=t.contextType;typeof c=="object"&&c!==null&&(u=Pe(c)),u=new t(a,u),l.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=vc,l.stateNode=u,u._reactInternals=l,u=l.stateNode,u.props=a,u.state=l.memoizedState,u.refs={},Ji(l),c=t.contextType,u.context=typeof c=="object"&&c!==null?Pe(c):ma,u.state=l.memoizedState,c=t.getDerivedStateFromProps,typeof c=="function"&&(gc(l,t,c,a),u.state=l.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(c=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),c!==u.state&&vc.enqueueReplaceState(u,u.state,null),fn(l,a,u,n),sn(),u.state=l.memoizedState),typeof u.componentDidMount=="function"&&(l.flags|=4194308),a=!0}else if(e===null){u=l.stateNode;var s=l.memoizedProps,f=$t(t,s);u.props=f;var x=u.context,j=t.contextType;c=ma,typeof j=="object"&&j!==null&&(c=Pe(j));var S=t.getDerivedStateFromProps;j=typeof S=="function"||typeof u.getSnapshotBeforeUpdate=="function",s=l.pendingProps!==s,j||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(s||x!==c)&&Br(l,u,a,c),yt=!1;var g=l.memoizedState;u.state=g,fn(l,a,u,n),sn(),x=l.memoizedState,s||g!==x||yt?(typeof S=="function"&&(gc(l,t,S,a),x=l.memoizedState),(f=yt||qr(l,t,f,a,g,x,c))?(j||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(l.flags|=4194308)):(typeof u.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=a,l.memoizedState=x),u.props=a,u.state=x,u.context=c,a=f):(typeof u.componentDidMount=="function"&&(l.flags|=4194308),a=!1)}else{u=l.stateNode,ki(e,l),c=l.memoizedProps,j=$t(t,c),u.props=j,S=l.pendingProps,g=u.context,x=t.contextType,f=ma,typeof x=="object"&&x!==null&&(f=Pe(x)),s=t.getDerivedStateFromProps,(x=typeof s=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c!==S||g!==f)&&Br(l,u,a,f),yt=!1,g=l.memoizedState,u.state=g,fn(l,a,u,n),sn();var v=l.memoizedState;c!==S||g!==v||yt||e!==null&&e.dependencies!==null&&uu(e.dependencies)?(typeof s=="function"&&(gc(l,t,s,a),v=l.memoizedState),(j=yt||qr(l,t,j,a,g,v,f)||e!==null&&e.dependencies!==null&&uu(e.dependencies))?(x||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,v,f),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,v,f)),typeof u.componentDidUpdate=="function"&&(l.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof u.componentDidUpdate!="function"||c===e.memoizedProps&&g===e.memoizedState||(l.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&g===e.memoizedState||(l.flags|=1024),l.memoizedProps=a,l.memoizedState=v),u.props=a,u.state=v,u.context=f,a=j):(typeof u.componentDidUpdate!="function"||c===e.memoizedProps&&g===e.memoizedState||(l.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&g===e.memoizedState||(l.flags|=1024),a=!1)}return u=a,zu(e,l),a=(l.flags&128)!==0,u||a?(u=l.stateNode,t=a&&typeof t.getDerivedStateFromError!="function"?null:u.render(),l.flags|=1,e!==null&&a?(l.child=Jt(l,e.child,null,n),l.child=Jt(l,null,t,n)):el(e,l,t,n),l.memoizedState=u.state,e=l.child):e=Il(e,l,n),e}function Pr(e,l,t,a){return Vt(),l.flags|=256,el(e,l,t,a),l.child}var Nc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Sc(e){return{baseLanes:e,cachePool:Xf()}}function zc(e,l,t){return e=e!==null?e.childLanes&~t:0,l&&(e|=Nl),e}function eo(e,l,t){var a=l.pendingProps,n=!1,u=(l.flags&128)!==0,c;if((c=u)||(c=e!==null&&e.memoizedState===null?!1:(Ve.current&2)!==0),c&&(n=!0,l.flags&=-129),c=(l.flags&32)!==0,l.flags&=-33,e===null){if(de){if(n?vt(l):bt(),(e=we)?(e=f0(e,Ul),e=e!==null&&e.data!=="&"?e:null,e!==null&&(l.memoizedState={dehydrated:e,treeContext:ot!==null?{id:Gl,overflow:Yl}:null,retryLane:536870912,hydrationErrors:null},t=Cf(e),t.return=l,l.child=t,Ie=l,we=null)):e=null,e===null)throw mt(l);return is(e)?l.lanes=32:l.lanes=536870912,null}var s=a.children;return a=a.fallback,n?(bt(),n=l.mode,s=Mu({mode:"hidden",children:s},n),a=Yt(a,n,t,null),s.return=l,a.return=l,s.sibling=a,l.child=s,a=l.child,a.memoizedState=Sc(t),a.childLanes=zc(e,c,t),l.memoizedState=Nc,hn(null,a)):(vt(l),Mc(l,s))}var f=e.memoizedState;if(f!==null&&(s=f.dehydrated,s!==null)){if(u)l.flags&256?(vt(l),l.flags&=-257,l=Ec(e,l,t)):l.memoizedState!==null?(bt(),l.child=e.child,l.flags|=128,l=null):(bt(),s=a.fallback,n=l.mode,a=Mu({mode:"visible",children:a.children},n),s=Yt(s,n,t,null),s.flags|=2,a.return=l,s.return=l,a.sibling=s,l.child=a,Jt(l,e.child,null,t),a=l.child,a.memoizedState=Sc(t),a.childLanes=zc(e,c,t),l.memoizedState=Nc,l=hn(null,a));else if(vt(l),is(s)){if(c=s.nextSibling&&s.nextSibling.dataset,c)var x=c.dgst;c=x,a=Error(r(419)),a.stack="",a.digest=c,ln({value:a,source:null,stack:null}),l=Ec(e,l,t)}else if(Ze||ga(e,l,t,!1),c=(t&e.childLanes)!==0,Ze||c){if(c=De,c!==null&&(a=Gs(c,t),a!==0&&a!==f.retryLane))throw f.retryLane=a,Gt(e,a),dl(c,e,a),pc;us(s)||wu(),l=Ec(e,l,t)}else us(s)?(l.flags|=192,l.child=e.child,l=null):(e=f.treeContext,we=wl(s.nextSibling),Ie=l,de=!0,dt=null,Ul=!1,e!==null&&Rf(l,e),l=Mc(l,a.children),l.flags|=4096);return l}return n?(bt(),s=a.fallback,n=l.mode,f=e.child,x=f.sibling,a=Kl(f,{mode:"hidden",children:a.children}),a.subtreeFlags=f.subtreeFlags&65011712,x!==null?s=Kl(x,s):(s=Yt(s,n,t,null),s.flags|=2),s.return=l,a.return=l,a.sibling=s,l.child=a,hn(null,a),a=l.child,s=e.child.memoizedState,s===null?s=Sc(t):(n=s.cachePool,n!==null?(f=Qe._currentValue,n=n.parent!==f?{parent:f,pool:f}:n):n=Xf(),s={baseLanes:s.baseLanes|t,cachePool:n}),a.memoizedState=s,a.childLanes=zc(e,c,t),l.memoizedState=Nc,hn(e.child,a)):(vt(l),t=e.child,e=t.sibling,t=Kl(t,{mode:"visible",children:a.children}),t.return=l,t.sibling=null,e!==null&&(c=l.deletions,c===null?(l.deletions=[e],l.flags|=16):c.push(e)),l.child=t,l.memoizedState=null,t)}function Mc(e,l){return l=Mu({mode:"visible",children:l},e.mode),l.return=e,e.child=l}function Mu(e,l){return e=vl(22,e,null,l),e.lanes=0,e}function Ec(e,l,t){return Jt(l,e.child,null,t),e=Mc(l,l.pendingProps.children),e.flags|=2,l.memoizedState=null,e}function lo(e,l,t){e.lanes|=l;var a=e.alternate;a!==null&&(a.lanes|=l),Vi(e.return,l,t)}function _c(e,l,t,a,n,u){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:a,tail:t,tailMode:n,treeForkCount:u}:(c.isBackwards=l,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=t,c.tailMode=n,c.treeForkCount=u)}function to(e,l,t){var a=l.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var c=Ve.current,s=(c&2)!==0;if(s?(c=c&1|2,l.flags|=128):c&=1,U(Ve,c),el(e,l,a,t),a=de?en:0,!s&&e!==null&&(e.flags&128)!==0)e:for(e=l.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&lo(e,t,l);else if(e.tag===19)lo(e,t,l);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===l)break e;for(;e.sibling===null;){if(e.return===null||e.return===l)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(n){case"forwards":for(t=l.child,n=null;t!==null;)e=t.alternate,e!==null&&mu(e)===null&&(n=t),t=t.sibling;t=n,t===null?(n=l.child,l.child=null):(n=t.sibling,t.sibling=null),_c(l,!1,n,t,u,a);break;case"backwards":case"unstable_legacy-backwards":for(t=null,n=l.child,l.child=null;n!==null;){if(e=n.alternate,e!==null&&mu(e)===null){l.child=n;break}e=n.sibling,n.sibling=t,t=n,n=e}_c(l,!0,t,null,u,a);break;case"together":_c(l,!1,null,null,void 0,a);break;default:l.memoizedState=null}return l.child}function Il(e,l,t){if(e!==null&&(l.dependencies=e.dependencies),Nt|=l.lanes,(t&l.childLanes)===0)if(e!==null){if(ga(e,l,t,!1),(t&l.childLanes)===0)return null}else return null;if(e!==null&&l.child!==e.child)throw Error(r(153));if(l.child!==null){for(e=l.child,t=Kl(e,e.pendingProps),l.child=t,t.return=l;e.sibling!==null;)e=e.sibling,t=t.sibling=Kl(e,e.pendingProps),t.return=l;t.sibling=null}return l.child}function Ac(e,l){return(e.lanes&l)!==0?!0:(e=e.dependencies,!!(e!==null&&uu(e)))}function Am(e,l,t){switch(l.tag){case 3:Be(l,l.stateNode.containerInfo),ht(l,Qe,e.memoizedState.cache),Vt();break;case 27:case 5:Ct(l);break;case 4:Be(l,l.stateNode.containerInfo);break;case 10:ht(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,Pi(l),null;break;case 13:var a=l.memoizedState;if(a!==null)return a.dehydrated!==null?(vt(l),l.flags|=128,null):(t&l.child.childLanes)!==0?eo(e,l,t):(vt(l),e=Il(e,l,t),e!==null?e.sibling:null);vt(l);break;case 19:var n=(e.flags&128)!==0;if(a=(t&l.childLanes)!==0,a||(ga(e,l,t,!1),a=(t&l.childLanes)!==0),n){if(a)return to(e,l,t);l.flags|=128}if(n=l.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),U(Ve,Ve.current),a)break;return null;case 22:return l.lanes=0,kr(e,l,t,l.pendingProps);case 24:ht(l,Qe,e.memoizedState.cache)}return Il(e,l,t)}function ao(e,l,t){if(e!==null)if(e.memoizedProps!==l.pendingProps)Ze=!0;else{if(!Ac(e,t)&&(l.flags&128)===0)return Ze=!1,Am(e,l,t);Ze=(e.flags&131072)!==0}else Ze=!1,de&&(l.flags&1048576)!==0&&Hf(l,en,l.index);switch(l.lanes=0,l.tag){case 16:e:{var a=l.pendingProps;if(e=Zt(l.elementType),l.type=e,typeof e=="function")Ci(e)?(a=$t(e,a),l.tag=1,l=Ir(null,l,e,a,t)):(l.tag=0,l=jc(null,l,e,a,t));else{if(e!=null){var n=e.$$typeof;if(n===L){l.tag=11,l=Zr(null,l,e,a,t);break e}else if(n===P){l.tag=14,l=Kr(null,l,e,a,t);break e}}throw l=te(e)||e,Error(r(306,l,""))}}return l;case 0:return jc(e,l,l.type,l.pendingProps,t);case 1:return a=l.type,n=$t(a,l.pendingProps),Ir(e,l,a,n,t);case 3:e:{if(Be(l,l.stateNode.containerInfo),e===null)throw Error(r(387));a=l.pendingProps;var u=l.memoizedState;n=u.element,ki(e,l),fn(l,a,null,t);var c=l.memoizedState;if(a=c.cache,ht(l,Qe,a),a!==u.cache&&Xi(l,[Qe],t,!0),sn(),a=c.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:c.cache},l.updateQueue.baseState=u,l.memoizedState=u,l.flags&256){l=Pr(e,l,a,t);break e}else if(a!==n){n=Tl(Error(r(424)),l),ln(n),l=Pr(e,l,a,t);break e}else{switch(e=l.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(we=wl(e.firstChild),Ie=l,de=!0,dt=null,Ul=!0,t=kf(l,null,a,t),l.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling}else{if(Vt(),a===n){l=Il(e,l,t);break e}el(e,l,a,t)}l=l.child}return l;case 26:return zu(e,l),e===null?(t=y0(l.type,null,l.pendingProps,null))?l.memoizedState=t:de||(t=l.type,e=l.pendingProps,a=Vu(ae.current).createElement(t),a[Fe]=l,a[il]=e,ll(a,t,e),$e(a),l.stateNode=a):l.memoizedState=y0(l.type,e.memoizedProps,l.pendingProps,e.memoizedState),null;case 27:return Ct(l),e===null&&de&&(a=l.stateNode=d0(l.type,l.pendingProps,ae.current),Ie=l,Ul=!0,n=we,_t(l.type)?(cs=n,we=wl(a.firstChild)):we=n),el(e,l,l.pendingProps.children,t),zu(e,l),e===null&&(l.flags|=4194304),l.child;case 5:return e===null&&de&&((n=a=we)&&(a=nh(a,l.type,l.pendingProps,Ul),a!==null?(l.stateNode=a,Ie=l,we=wl(a.firstChild),Ul=!1,n=!0):n=!1),n||mt(l)),Ct(l),n=l.type,u=l.pendingProps,c=e!==null?e.memoizedProps:null,a=u.children,ts(n,u)?a=null:c!==null&&ts(n,c)&&(l.flags|=32),l.memoizedState!==null&&(n=lc(e,l,bm,null,null,t),Tn._currentValue=n),zu(e,l),el(e,l,a,t),l.child;case 6:return e===null&&de&&((e=t=we)&&(t=uh(t,l.pendingProps,Ul),t!==null?(l.stateNode=t,Ie=l,we=null,e=!0):e=!1),e||mt(l)),null;case 13:return eo(e,l,t);case 4:return Be(l,l.stateNode.containerInfo),a=l.pendingProps,e===null?l.child=Jt(l,null,a,t):el(e,l,a,t),l.child;case 11:return Zr(e,l,l.type,l.pendingProps,t);case 7:return el(e,l,l.pendingProps,t),l.child;case 8:return el(e,l,l.pendingProps.children,t),l.child;case 12:return el(e,l,l.pendingProps.children,t),l.child;case 10:return a=l.pendingProps,ht(l,l.type,a.value),el(e,l,a.children,t),l.child;case 9:return n=l.type._context,a=l.pendingProps.children,Qt(l),n=Pe(n),a=a(n),l.flags|=1,el(e,l,a,t),l.child;case 14:return Kr(e,l,l.type,l.pendingProps,t);case 15:return Jr(e,l,l.type,l.pendingProps,t);case 19:return to(e,l,t);case 31:return _m(e,l,t);case 22:return kr(e,l,t,l.pendingProps);case 24:return Qt(l),a=Pe(Qe),e===null?(n=Zi(),n===null&&(n=De,u=Qi(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=t),n=u),l.memoizedState={parent:a,cache:n},Ji(l),ht(l,Qe,n)):((e.lanes&t)!==0&&(ki(e,l),fn(l,null,null,t),sn()),n=e.memoizedState,u=l.memoizedState,n.parent!==a?(n={parent:a,cache:a},l.memoizedState=n,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=n),ht(l,Qe,a)):(a=u.cache,ht(l,Qe,a),a!==n.cache&&Xi(l,[Qe],t,!0))),el(e,l,l.pendingProps.children,t),l.child;case 29:throw l.pendingProps}throw Error(r(156,l.tag))}function Pl(e){e.flags|=4}function Tc(e,l,t,a,n){if((l=(e.mode&32)!==0)&&(l=!1),l){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(Do())e.flags|=8192;else throw Kt=fu,Ki}else e.flags&=-16777217}function no(e,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!p0(l))if(Do())e.flags|=8192;else throw Kt=fu,Ki}function Eu(e,l){l!==null&&(e.flags|=4),e.flags&16384&&(l=e.tag!==22?Rs():536870912,e.lanes|=l,Ta|=l)}function yn(e,l){if(!de)switch(e.tailMode){case"hidden":l=e.tail;for(var t=null;l!==null;)l.alternate!==null&&(t=l),l=l.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?l||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function He(e){var l=e.alternate!==null&&e.alternate.child===e.child,t=0,a=0;if(l)for(var n=e.child;n!==null;)t|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)t|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=a,e.childLanes=t,l}function Tm(e,l,t){var a=l.pendingProps;switch(qi(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return He(l),null;case 1:return He(l),null;case 3:return t=l.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),l.memoizedState.cache!==a&&(l.flags|=2048),$l(Qe),Ee(),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),(e===null||e.child===null)&&(xa(l)?Pl(l):e===null||e.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,Gi())),He(l),null;case 26:var n=l.type,u=l.memoizedState;return e===null?(Pl(l),u!==null?(He(l),no(l,u)):(He(l),Tc(l,n,null,a,t))):u?u!==e.memoizedState?(Pl(l),He(l),no(l,u)):(He(l),l.flags&=-16777217):(e=e.memoizedProps,e!==a&&Pl(l),He(l),Tc(l,n,e,a,t)),null;case 27:if(O(l),t=ae.current,n=l.type,e!==null&&l.stateNode!=null)e.memoizedProps!==a&&Pl(l);else{if(!a){if(l.stateNode===null)throw Error(r(166));return He(l),null}e=q.current,xa(l)?qf(l):(e=d0(n,a,t),l.stateNode=e,Pl(l))}return He(l),null;case 5:if(O(l),n=l.type,e!==null&&l.stateNode!=null)e.memoizedProps!==a&&Pl(l);else{if(!a){if(l.stateNode===null)throw Error(r(166));return He(l),null}if(u=q.current,xa(l))qf(l);else{var c=Vu(ae.current);switch(u){case 1:u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=c.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?c.createElement(n,{is:a.is}):c.createElement(n)}}u[Fe]=l,u[il]=a;e:for(c=l.child;c!==null;){if(c.tag===5||c.tag===6)u.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 e;for(;c.sibling===null;){if(c.return===null||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}l.stateNode=u;e:switch(ll(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&Pl(l)}}return He(l),Tc(l,l.type,e===null?null:e.memoizedProps,l.pendingProps,t),null;case 6:if(e&&l.stateNode!=null)e.memoizedProps!==a&&Pl(l);else{if(typeof a!="string"&&l.stateNode===null)throw Error(r(166));if(e=ae.current,xa(l)){if(e=l.stateNode,t=l.memoizedProps,a=null,n=Ie,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}e[Fe]=l,e=!!(e.nodeValue===t||a!==null&&a.suppressHydrationWarning===!0||l0(e.nodeValue,t)),e||mt(l,!0)}else e=Vu(e).createTextNode(a),e[Fe]=l,l.stateNode=e}return He(l),null;case 31:if(t=l.memoizedState,e===null||e.memoizedState!==null){if(a=xa(l),t!==null){if(e===null){if(!a)throw Error(r(318));if(e=l.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(r(557));e[Fe]=l}else Vt(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;He(l),e=!1}else t=Gi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=t),e=!0;if(!e)return l.flags&256?(pl(l),l):(pl(l),null);if((l.flags&128)!==0)throw Error(r(558))}return He(l),null;case 13:if(a=l.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=xa(l),a!==null&&a.dehydrated!==null){if(e===null){if(!n)throw Error(r(318));if(n=l.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(r(317));n[Fe]=l}else Vt(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;He(l),n=!1}else n=Gi(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return l.flags&256?(pl(l),l):(pl(l),null)}return pl(l),(l.flags&128)!==0?(l.lanes=t,l):(t=a!==null,e=e!==null&&e.memoizedState!==null,t&&(a=l.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)),t!==e&&t&&(l.child.flags|=8192),Eu(l,l.updateQueue),He(l),null);case 4:return Ee(),e===null&&Fc(l.stateNode.containerInfo),He(l),null;case 10:return $l(l.type),He(l),null;case 19:if(z(Ve),a=l.memoizedState,a===null)return He(l),null;if(n=(l.flags&128)!==0,u=a.rendering,u===null)if(n)yn(a,!1);else{if(Ye!==0||e!==null&&(e.flags&128)!==0)for(e=l.child;e!==null;){if(u=mu(e),u!==null){for(l.flags|=128,yn(a,!1),e=u.updateQueue,l.updateQueue=e,Eu(l,e),l.subtreeFlags=0,e=t,t=l.child;t!==null;)Uf(t,e),t=t.sibling;return U(Ve,Ve.current&1|2),de&&Jl(l,a.treeForkCount),l.child}e=e.sibling}a.tail!==null&&hl()>Du&&(l.flags|=128,n=!0,yn(a,!1),l.lanes=4194304)}else{if(!n)if(e=mu(u),e!==null){if(l.flags|=128,n=!0,e=e.updateQueue,l.updateQueue=e,Eu(l,e),yn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!de)return He(l),null}else 2*hl()-a.renderingStartTime>Du&&t!==536870912&&(l.flags|=128,n=!0,yn(a,!1),l.lanes=4194304);a.isBackwards?(u.sibling=l.child,l.child=u):(e=a.last,e!==null?e.sibling=u:l.child=u,a.last=u)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=hl(),e.sibling=null,t=Ve.current,U(Ve,n?t&1|2:t&1),de&&Jl(l,a.treeForkCount),e):(He(l),null);case 22:case 23:return pl(l),Ii(),a=l.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(l.flags|=8192):a&&(l.flags|=8192),a?(t&536870912)!==0&&(l.flags&128)===0&&(He(l),l.subtreeFlags&6&&(l.flags|=8192)):He(l),t=l.updateQueue,t!==null&&Eu(l,t.retryQueue),t=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),a=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),a!==t&&(l.flags|=2048),e!==null&&z(Lt),null;case 24:return t=null,e!==null&&(t=e.memoizedState.cache),l.memoizedState.cache!==t&&(l.flags|=2048),$l(Qe),He(l),null;case 25:return null;case 30:return null}throw Error(r(156,l.tag))}function Om(e,l){switch(qi(l),l.tag){case 1:return e=l.flags,e&65536?(l.flags=e&-65537|128,l):null;case 3:return $l(Qe),Ee(),e=l.flags,(e&65536)!==0&&(e&128)===0?(l.flags=e&-65537|128,l):null;case 26:case 27:case 5:return O(l),null;case 31:if(l.memoizedState!==null){if(pl(l),l.alternate===null)throw Error(r(340));Vt()}return e=l.flags,e&65536?(l.flags=e&-65537|128,l):null;case 13:if(pl(l),e=l.memoizedState,e!==null&&e.dehydrated!==null){if(l.alternate===null)throw Error(r(340));Vt()}return e=l.flags,e&65536?(l.flags=e&-65537|128,l):null;case 19:return z(Ve),null;case 4:return Ee(),null;case 10:return $l(l.type),null;case 22:case 23:return pl(l),Ii(),e!==null&&z(Lt),e=l.flags,e&65536?(l.flags=e&-65537|128,l):null;case 24:return $l(Qe),null;case 25:return null;default:return null}}function uo(e,l){switch(qi(l),l.tag){case 3:$l(Qe),Ee();break;case 26:case 27:case 5:O(l);break;case 4:Ee();break;case 31:l.memoizedState!==null&&pl(l);break;case 13:pl(l);break;case 19:z(Ve);break;case 10:$l(l.type);break;case 22:case 23:pl(l),Ii(),e!==null&&z(Lt);break;case 24:$l(Qe)}}function xn(e,l){try{var t=l.updateQueue,a=t!==null?t.lastEffect:null;if(a!==null){var n=a.next;t=n;do{if((t.tag&e)===e){a=void 0;var u=t.create,c=t.inst;a=u(),c.destroy=a}t=t.next}while(t!==n)}}catch(s){Me(l,l.return,s)}}function pt(e,l,t){try{var a=l.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&e)===e){var c=a.inst,s=c.destroy;if(s!==void 0){c.destroy=void 0,n=l;var f=t,x=s;try{x()}catch(j){Me(n,f,j)}}}a=a.next}while(a!==u)}}catch(j){Me(l,l.return,j)}}function io(e){var l=e.updateQueue;if(l!==null){var t=e.stateNode;try{Wf(l,t)}catch(a){Me(e,e.return,a)}}}function co(e,l,t){t.props=$t(e.type,e.memoizedProps),t.state=e.memoizedState;try{t.componentWillUnmount()}catch(a){Me(e,l,a)}}function gn(e,l){try{var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof t=="function"?e.refCleanup=t(a):t.current=a}}catch(n){Me(e,l,n)}}function Vl(e,l){var t=e.ref,a=e.refCleanup;if(t!==null)if(typeof a=="function")try{a()}catch(n){Me(e,l,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof t=="function")try{t(null)}catch(n){Me(e,l,n)}else t.current=null}function so(e){var l=e.type,t=e.memoizedProps,a=e.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":t.autoFocus&&a.focus();break e;case"img":t.src?a.src=t.src:t.srcSet&&(a.srcset=t.srcSet)}}catch(n){Me(e,e.return,n)}}function Oc(e,l,t){try{var a=e.stateNode;Im(a,e.type,t,l),a[il]=l}catch(n){Me(e,e.return,n)}}function fo(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&_t(e.type)||e.tag===4}function Dc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||fo(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&_t(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Uc(e,l,t){var a=e.tag;if(a===5||a===6)e=e.stateNode,l?(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).insertBefore(e,l):(l=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.appendChild(e),t=t._reactRootContainer,t!=null||l.onclick!==null||(l.onclick=Ll));else if(a!==4&&(a===27&&_t(e.type)&&(t=e.stateNode,l=null),e=e.child,e!==null))for(Uc(e,l,t),e=e.sibling;e!==null;)Uc(e,l,t),e=e.sibling}function _u(e,l,t){var a=e.tag;if(a===5||a===6)e=e.stateNode,l?t.insertBefore(e,l):t.appendChild(e);else if(a!==4&&(a===27&&_t(e.type)&&(t=e.stateNode),e=e.child,e!==null))for(_u(e,l,t),e=e.sibling;e!==null;)_u(e,l,t),e=e.sibling}function ro(e){var l=e.stateNode,t=e.memoizedProps;try{for(var a=e.type,n=l.attributes;n.length;)l.removeAttributeNode(n[0]);ll(l,a,t),l[Fe]=e,l[il]=t}catch(u){Me(e,e.return,u)}}var et=!1,Ke=!1,Cc=!1,oo=typeof WeakSet=="function"?WeakSet:Set,We=null;function Dm(e,l){if(e=e.containerInfo,es=ku,e=Sf(e),Ei(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var a=t.getSelection&&t.getSelection();if(a&&a.rangeCount!==0){t=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{t.nodeType,u.nodeType}catch{t=null;break e}var c=0,s=-1,f=-1,x=0,j=0,S=e,g=null;l:for(;;){for(var v;S!==t||n!==0&&S.nodeType!==3||(s=c+n),S!==u||a!==0&&S.nodeType!==3||(f=c+a),S.nodeType===3&&(c+=S.nodeValue.length),(v=S.firstChild)!==null;)g=S,S=v;for(;;){if(S===e)break l;if(g===t&&++x===n&&(s=c),g===u&&++j===a&&(f=c),(v=S.nextSibling)!==null)break;S=g,g=S.parentNode}S=v}t=s===-1||f===-1?null:{start:s,end:f}}else t=null}t=t||{start:0,end:0}}else t=null;for(ls={focusedElem:e,selectionRange:t},ku=!1,We=l;We!==null;)if(l=We,e=l.child,(l.subtreeFlags&1028)!==0&&e!==null)e.return=l,We=e;else for(;We!==null;){switch(l=We,u=l.alternate,e=l.flags,l.tag){case 0:if((e&4)!==0&&(e=l.updateQueue,e=e!==null?e.events:null,e!==null))for(t=0;t<e.length;t++)n=e[t],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,t=l,n=u.memoizedProps,u=u.memoizedState,a=t.stateNode;try{var H=$t(t.type,n);e=a.getSnapshotBeforeUpdate(H,u),a.__reactInternalSnapshotBeforeUpdate=e}catch(K){Me(t,t.return,K)}}break;case 3:if((e&1024)!==0){if(e=l.stateNode.containerInfo,t=e.nodeType,t===9)ns(e);else if(t===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ns(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(r(163))}if(e=l.sibling,e!==null){e.return=l.return,We=e;break}We=l.return}}function mo(e,l,t){var a=t.flags;switch(t.tag){case 0:case 11:case 15:tt(e,t),a&4&&xn(5,t);break;case 1:if(tt(e,t),a&4)if(e=t.stateNode,l===null)try{e.componentDidMount()}catch(c){Me(t,t.return,c)}else{var n=$t(t.type,l.memoizedProps);l=l.memoizedState;try{e.componentDidUpdate(n,l,e.__reactInternalSnapshotBeforeUpdate)}catch(c){Me(t,t.return,c)}}a&64&&io(t),a&512&&gn(t,t.return);break;case 3:if(tt(e,t),a&64&&(e=t.updateQueue,e!==null)){if(l=null,t.child!==null)switch(t.child.tag){case 27:case 5:l=t.child.stateNode;break;case 1:l=t.child.stateNode}try{Wf(e,l)}catch(c){Me(t,t.return,c)}}break;case 27:l===null&&a&4&&ro(t);case 26:case 5:tt(e,t),l===null&&a&4&&so(t),a&512&&gn(t,t.return);break;case 12:tt(e,t);break;case 31:tt(e,t),a&4&&xo(e,t);break;case 13:tt(e,t),a&4&&go(e,t),a&64&&(e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(t=Ym.bind(null,t),ih(e,t))));break;case 22:if(a=t.memoizedState!==null||et,!a){l=l!==null&&l.memoizedState!==null||Ke,n=et;var u=Ke;et=a,(Ke=l)&&!u?at(e,t,(t.subtreeFlags&8772)!==0):tt(e,t),et=n,Ke=u}break;case 30:break;default:tt(e,t)}}function ho(e){var l=e.alternate;l!==null&&(e.alternate=null,ho(l)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(l=e.stateNode,l!==null&&fi(l)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Re=null,sl=!1;function lt(e,l,t){for(t=t.child;t!==null;)yo(e,l,t),t=t.sibling}function yo(e,l,t){if(yl&&typeof yl.onCommitFiberUnmount=="function")try{yl.onCommitFiberUnmount(Ya,t)}catch{}switch(t.tag){case 26:Ke||Vl(t,l),lt(e,l,t),t.memoizedState?t.memoizedState.count--:t.stateNode&&(t=t.stateNode,t.parentNode.removeChild(t));break;case 27:Ke||Vl(t,l);var a=Re,n=sl;_t(t.type)&&(Re=t.stateNode,sl=!1),lt(e,l,t),En(t.stateNode),Re=a,sl=n;break;case 5:Ke||Vl(t,l);case 6:if(a=Re,n=sl,Re=null,lt(e,l,t),Re=a,sl=n,Re!==null)if(sl)try{(Re.nodeType===9?Re.body:Re.nodeName==="HTML"?Re.ownerDocument.body:Re).removeChild(t.stateNode)}catch(u){Me(t,l,u)}else try{Re.removeChild(t.stateNode)}catch(u){Me(t,l,u)}break;case 18:Re!==null&&(sl?(e=Re,c0(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,t.stateNode),qa(e)):c0(Re,t.stateNode));break;case 4:a=Re,n=sl,Re=t.stateNode.containerInfo,sl=!0,lt(e,l,t),Re=a,sl=n;break;case 0:case 11:case 14:case 15:pt(2,t,l),Ke||pt(4,t,l),lt(e,l,t);break;case 1:Ke||(Vl(t,l),a=t.stateNode,typeof a.componentWillUnmount=="function"&&co(t,l,a)),lt(e,l,t);break;case 21:lt(e,l,t);break;case 22:Ke=(a=Ke)||t.memoizedState!==null,lt(e,l,t),Ke=a;break;default:lt(e,l,t)}}function xo(e,l){if(l.memoizedState===null&&(e=l.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{qa(e)}catch(t){Me(l,l.return,t)}}}function go(e,l){if(l.memoizedState===null&&(e=l.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{qa(e)}catch(t){Me(l,l.return,t)}}function Um(e){switch(e.tag){case 31:case 13:case 19:var l=e.stateNode;return l===null&&(l=e.stateNode=new oo),l;case 22:return e=e.stateNode,l=e._retryCache,l===null&&(l=e._retryCache=new oo),l;default:throw Error(r(435,e.tag))}}function Au(e,l){var t=Um(e);l.forEach(function(a){if(!t.has(a)){t.add(a);var n=Vm.bind(null,e,a);a.then(n,n)}})}function fl(e,l){var t=l.deletions;if(t!==null)for(var a=0;a<t.length;a++){var n=t[a],u=e,c=l,s=c;e:for(;s!==null;){switch(s.tag){case 27:if(_t(s.type)){Re=s.stateNode,sl=!1;break e}break;case 5:Re=s.stateNode,sl=!1;break e;case 3:case 4:Re=s.stateNode.containerInfo,sl=!0;break e}s=s.return}if(Re===null)throw Error(r(160));yo(u,c,n),Re=null,sl=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)vo(l,e),l=l.sibling}var ql=null;function vo(e,l){var t=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:fl(l,e),rl(e),a&4&&(pt(3,e,e.return),xn(3,e),pt(5,e,e.return));break;case 1:fl(l,e),rl(e),a&512&&(Ke||t===null||Vl(t,t.return)),a&64&&et&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(t=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=t===null?a:t.concat(a))));break;case 26:var n=ql;if(fl(l,e),rl(e),a&512&&(Ke||t===null||Vl(t,t.return)),a&4){var u=t!==null?t.memoizedState:null;if(a=e.memoizedState,t===null)if(a===null)if(e.stateNode===null){e:{a=e.type,t=e.memoizedProps,n=n.ownerDocument||n;l:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[Qa]||u[Fe]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),ll(u,a,t),u[Fe]=e,$e(u),a=u;break e;case"link":var c=v0("link","href",n).get(a+(t.href||""));if(c){for(var s=0;s<c.length;s++)if(u=c[s],u.getAttribute("href")===(t.href==null||t.href===""?null:t.href)&&u.getAttribute("rel")===(t.rel==null?null:t.rel)&&u.getAttribute("title")===(t.title==null?null:t.title)&&u.getAttribute("crossorigin")===(t.crossOrigin==null?null:t.crossOrigin)){c.splice(s,1);break l}}u=n.createElement(a),ll(u,a,t),n.head.appendChild(u);break;case"meta":if(c=v0("meta","content",n).get(a+(t.content||""))){for(s=0;s<c.length;s++)if(u=c[s],u.getAttribute("content")===(t.content==null?null:""+t.content)&&u.getAttribute("name")===(t.name==null?null:t.name)&&u.getAttribute("property")===(t.property==null?null:t.property)&&u.getAttribute("http-equiv")===(t.httpEquiv==null?null:t.httpEquiv)&&u.getAttribute("charset")===(t.charSet==null?null:t.charSet)){c.splice(s,1);break l}}u=n.createElement(a),ll(u,a,t),n.head.appendChild(u);break;default:throw Error(r(468,a))}u[Fe]=e,$e(u),a=u}e.stateNode=a}else b0(n,e.type,e.stateNode);else e.stateNode=g0(n,a,e.memoizedProps);else u!==a?(u===null?t.stateNode!==null&&(t=t.stateNode,t.parentNode.removeChild(t)):u.count--,a===null?b0(n,e.type,e.stateNode):g0(n,a,e.memoizedProps)):a===null&&e.stateNode!==null&&Oc(e,e.memoizedProps,t.memoizedProps)}break;case 27:fl(l,e),rl(e),a&512&&(Ke||t===null||Vl(t,t.return)),t!==null&&a&4&&Oc(e,e.memoizedProps,t.memoizedProps);break;case 5:if(fl(l,e),rl(e),a&512&&(Ke||t===null||Vl(t,t.return)),e.flags&32){n=e.stateNode;try{ia(n,"")}catch(H){Me(e,e.return,H)}}a&4&&e.stateNode!=null&&(n=e.memoizedProps,Oc(e,n,t!==null?t.memoizedProps:n)),a&1024&&(Cc=!0);break;case 6:if(fl(l,e),rl(e),a&4){if(e.stateNode===null)throw Error(r(162));a=e.memoizedProps,t=e.stateNode;try{t.nodeValue=a}catch(H){Me(e,e.return,H)}}break;case 3:if(Lu=null,n=ql,ql=Xu(l.containerInfo),fl(l,e),ql=n,rl(e),a&4&&t!==null&&t.memoizedState.isDehydrated)try{qa(l.containerInfo)}catch(H){Me(e,e.return,H)}Cc&&(Cc=!1,bo(e));break;case 4:a=ql,ql=Xu(e.stateNode.containerInfo),fl(l,e),rl(e),ql=a;break;case 12:fl(l,e),rl(e);break;case 31:fl(l,e),rl(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Au(e,a)));break;case 13:fl(l,e),rl(e),e.child.flags&8192&&e.memoizedState!==null!=(t!==null&&t.memoizedState!==null)&&(Ou=hl()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Au(e,a)));break;case 22:n=e.memoizedState!==null;var f=t!==null&&t.memoizedState!==null,x=et,j=Ke;if(et=x||n,Ke=j||f,fl(l,e),Ke=j,et=x,rl(e),a&8192)e:for(l=e.stateNode,l._visibility=n?l._visibility&-2:l._visibility|1,n&&(t===null||f||et||Ke||Wt(e)),t=null,l=e;;){if(l.tag===5||l.tag===26){if(t===null){f=t=l;try{if(u=f.stateNode,n)c=u.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{s=f.stateNode;var S=f.memoizedProps.style,g=S!=null&&S.hasOwnProperty("display")?S.display:null;s.style.display=g==null||typeof g=="boolean"?"":(""+g).trim()}}catch(H){Me(f,f.return,H)}}}else if(l.tag===6){if(t===null){f=l;try{f.stateNode.nodeValue=n?"":f.memoizedProps}catch(H){Me(f,f.return,H)}}}else if(l.tag===18){if(t===null){f=l;try{var v=f.stateNode;n?s0(v,!0):s0(f.stateNode,!1)}catch(H){Me(f,f.return,H)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===e)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===e)break e;for(;l.sibling===null;){if(l.return===null||l.return===e)break e;t===l&&(t=null),l=l.return}t===l&&(t=null),l.sibling.return=l.return,l=l.sibling}a&4&&(a=e.updateQueue,a!==null&&(t=a.retryQueue,t!==null&&(a.retryQueue=null,Au(e,t))));break;case 19:fl(l,e),rl(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,Au(e,a)));break;case 30:break;case 21:break;default:fl(l,e),rl(e)}}function rl(e){var l=e.flags;if(l&2){try{for(var t,a=e.return;a!==null;){if(fo(a)){t=a;break}a=a.return}if(t==null)throw Error(r(160));switch(t.tag){case 27:var n=t.stateNode,u=Dc(e);_u(e,u,n);break;case 5:var c=t.stateNode;t.flags&32&&(ia(c,""),t.flags&=-33);var s=Dc(e);_u(e,s,c);break;case 3:case 4:var f=t.stateNode.containerInfo,x=Dc(e);Uc(e,x,f);break;default:throw Error(r(161))}}catch(j){Me(e,e.return,j)}e.flags&=-3}l&4096&&(e.flags&=-4097)}function bo(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var l=e;bo(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),e=e.sibling}}function tt(e,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)mo(e,l.alternate,l),l=l.sibling}function Wt(e){for(e=e.child;e!==null;){var l=e;switch(l.tag){case 0:case 11:case 14:case 15:pt(4,l,l.return),Wt(l);break;case 1:Vl(l,l.return);var t=l.stateNode;typeof t.componentWillUnmount=="function"&&co(l,l.return,t),Wt(l);break;case 27:En(l.stateNode);case 26:case 5:Vl(l,l.return),Wt(l);break;case 22:l.memoizedState===null&&Wt(l);break;case 30:Wt(l);break;default:Wt(l)}e=e.sibling}}function at(e,l,t){for(t=t&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var a=l.alternate,n=e,u=l,c=u.flags;switch(u.tag){case 0:case 11:case 15:at(n,u,t),xn(4,u);break;case 1:if(at(n,u,t),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(x){Me(a,a.return,x)}if(a=u,n=a.updateQueue,n!==null){var s=a.stateNode;try{var f=n.shared.hiddenCallbacks;if(f!==null)for(n.shared.hiddenCallbacks=null,n=0;n<f.length;n++)$f(f[n],s)}catch(x){Me(a,a.return,x)}}t&&c&64&&io(u),gn(u,u.return);break;case 27:ro(u);case 26:case 5:at(n,u,t),t&&a===null&&c&4&&so(u),gn(u,u.return);break;case 12:at(n,u,t);break;case 31:at(n,u,t),t&&c&4&&xo(n,u);break;case 13:at(n,u,t),t&&c&4&&go(n,u);break;case 22:u.memoizedState===null&&at(n,u,t),gn(u,u.return);break;case 30:break;default:at(n,u,t)}l=l.sibling}}function wc(e,l){var t=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),e=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(e=l.memoizedState.cachePool.pool),e!==t&&(e!=null&&e.refCount++,t!=null&&tn(t))}function Hc(e,l){e=null,l.alternate!==null&&(e=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==e&&(l.refCount++,e!=null&&tn(e))}function Bl(e,l,t,a){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)po(e,l,t,a),l=l.sibling}function po(e,l,t,a){var n=l.flags;switch(l.tag){case 0:case 11:case 15:Bl(e,l,t,a),n&2048&&xn(9,l);break;case 1:Bl(e,l,t,a);break;case 3:Bl(e,l,t,a),n&2048&&(e=null,l.alternate!==null&&(e=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==e&&(l.refCount++,e!=null&&tn(e)));break;case 12:if(n&2048){Bl(e,l,t,a),e=l.stateNode;try{var u=l.memoizedProps,c=u.id,s=u.onPostCommit;typeof s=="function"&&s(c,l.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(f){Me(l,l.return,f)}}else Bl(e,l,t,a);break;case 31:Bl(e,l,t,a);break;case 13:Bl(e,l,t,a);break;case 23:break;case 22:u=l.stateNode,c=l.alternate,l.memoizedState!==null?u._visibility&2?Bl(e,l,t,a):vn(e,l):u._visibility&2?Bl(e,l,t,a):(u._visibility|=2,Ea(e,l,t,a,(l.subtreeFlags&10256)!==0||!1)),n&2048&&wc(c,l);break;case 24:Bl(e,l,t,a),n&2048&&Hc(l.alternate,l);break;default:Bl(e,l,t,a)}}function Ea(e,l,t,a,n){for(n=n&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var u=e,c=l,s=t,f=a,x=c.flags;switch(c.tag){case 0:case 11:case 15:Ea(u,c,s,f,n),xn(8,c);break;case 23:break;case 22:var j=c.stateNode;c.memoizedState!==null?j._visibility&2?Ea(u,c,s,f,n):vn(u,c):(j._visibility|=2,Ea(u,c,s,f,n)),n&&x&2048&&wc(c.alternate,c);break;case 24:Ea(u,c,s,f,n),n&&x&2048&&Hc(c.alternate,c);break;default:Ea(u,c,s,f,n)}l=l.sibling}}function vn(e,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var t=e,a=l,n=a.flags;switch(a.tag){case 22:vn(t,a),n&2048&&wc(a.alternate,a);break;case 24:vn(t,a),n&2048&&Hc(a.alternate,a);break;default:vn(t,a)}l=l.sibling}}var bn=8192;function _a(e,l,t){if(e.subtreeFlags&bn)for(e=e.child;e!==null;)jo(e,l,t),e=e.sibling}function jo(e,l,t){switch(e.tag){case 26:_a(e,l,t),e.flags&bn&&e.memoizedState!==null&&vh(t,ql,e.memoizedState,e.memoizedProps);break;case 5:_a(e,l,t);break;case 3:case 4:var a=ql;ql=Xu(e.stateNode.containerInfo),_a(e,l,t),ql=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=bn,bn=16777216,_a(e,l,t),bn=a):_a(e,l,t));break;default:_a(e,l,t)}}function No(e){var l=e.alternate;if(l!==null&&(e=l.child,e!==null)){l.child=null;do l=e.sibling,e.sibling=null,e=l;while(e!==null)}}function pn(e){var l=e.deletions;if((e.flags&16)!==0){if(l!==null)for(var t=0;t<l.length;t++){var a=l[t];We=a,zo(a,e)}No(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)So(e),e=e.sibling}function So(e){switch(e.tag){case 0:case 11:case 15:pn(e),e.flags&2048&&pt(9,e,e.return);break;case 3:pn(e);break;case 12:pn(e);break;case 22:var l=e.stateNode;e.memoizedState!==null&&l._visibility&2&&(e.return===null||e.return.tag!==13)?(l._visibility&=-3,Tu(e)):pn(e);break;default:pn(e)}}function Tu(e){var l=e.deletions;if((e.flags&16)!==0){if(l!==null)for(var t=0;t<l.length;t++){var a=l[t];We=a,zo(a,e)}No(e)}for(e=e.child;e!==null;){switch(l=e,l.tag){case 0:case 11:case 15:pt(8,l,l.return),Tu(l);break;case 22:t=l.stateNode,t._visibility&2&&(t._visibility&=-3,Tu(l));break;default:Tu(l)}e=e.sibling}}function zo(e,l){for(;We!==null;){var t=We;switch(t.tag){case 0:case 11:case 15:pt(8,t,l);break;case 23:case 22:if(t.memoizedState!==null&&t.memoizedState.cachePool!==null){var a=t.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:tn(t.memoizedState.cache)}if(a=t.child,a!==null)a.return=t,We=a;else e:for(t=e;We!==null;){a=We;var n=a.sibling,u=a.return;if(ho(a),a===t){We=null;break e}if(n!==null){n.return=u,We=n;break e}We=u}}}var Cm={getCacheForType:function(e){var l=Pe(Qe),t=l.data.get(e);return t===void 0&&(t=e(),l.data.set(e,t)),t},cacheSignal:function(){return Pe(Qe).controller.signal}},wm=typeof WeakMap=="function"?WeakMap:Map,ve=0,De=null,ie=null,fe=0,ze=0,jl=null,jt=!1,Aa=!1,Rc=!1,nt=0,Ye=0,Nt=0,Ft=0,qc=0,Nl=0,Ta=0,jn=null,ol=null,Bc=!1,Ou=0,Mo=0,Du=1/0,Uu=null,St=null,ke=0,zt=null,Oa=null,ut=0,Gc=0,Yc=null,Eo=null,Nn=0,Vc=null;function Sl(){return(ve&2)!==0&&fe!==0?fe&-fe:b.T!==null?Jc():Ys()}function _o(){if(Nl===0)if((fe&536870912)===0||de){var e=Yn;Yn<<=1,(Yn&3932160)===0&&(Yn=262144),Nl=e}else Nl=536870912;return e=bl.current,e!==null&&(e.flags|=32),Nl}function dl(e,l,t){(e===De&&(ze===2||ze===9)||e.cancelPendingCommit!==null)&&(Da(e,0),Mt(e,fe,Nl,!1)),Xa(e,t),((ve&2)===0||e!==De)&&(e===De&&((ve&2)===0&&(Ft|=t),Ye===4&&Mt(e,fe,Nl,!1)),Xl(e))}function Ao(e,l,t){if((ve&6)!==0)throw Error(r(327));var a=!t&&(l&127)===0&&(l&e.expiredLanes)===0||Va(e,l),n=a?qm(e,l):Qc(e,l,!0),u=a;do{if(n===0){Aa&&!a&&Mt(e,l,0,!1);break}else{if(t=e.current.alternate,u&&!Hm(t)){n=Qc(e,l,!1),u=!1;continue}if(n===2){if(u=l,e.errorRecoveryDisabledLanes&u)var c=0;else c=e.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){l=c;e:{var s=e;n=jn;var f=s.current.memoizedState.isDehydrated;if(f&&(Da(s,c).flags|=256),c=Qc(s,c,!1),c!==2){if(Rc&&!f){s.errorRecoveryDisabledLanes|=u,Ft|=u,n=4;break e}u=ol,ol=n,u!==null&&(ol===null?ol=u:ol.push.apply(ol,u))}n=c}if(u=!1,n!==2)continue}}if(n===1){Da(e,0),Mt(e,l,0,!0);break}e:{switch(a=e,u=n,u){case 0:case 1:throw Error(r(345));case 4:if((l&4194048)!==l)break;case 6:Mt(a,l,Nl,!jt);break e;case 2:ol=null;break;case 3:case 5:break;default:throw Error(r(329))}if((l&62914560)===l&&(n=Ou+300-hl(),10<n)){if(Mt(a,l,Nl,!jt),Xn(a,0,!0)!==0)break e;ut=l,a.timeoutHandle=u0(To.bind(null,a,t,ol,Uu,Bc,l,Nl,Ft,Ta,jt,u,"Throttled",-0,0),n);break e}To(a,t,ol,Uu,Bc,l,Nl,Ft,Ta,jt,u,null,-0,0)}}break}while(!0);Xl(e)}function To(e,l,t,a,n,u,c,s,f,x,j,S,g,v){if(e.timeoutHandle=-1,S=l.subtreeFlags,S&8192||(S&16785408)===16785408){S={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ll},jo(l,u,S);var H=(u&62914560)===u?Ou-hl():(u&4194048)===u?Mo-hl():0;if(H=bh(S,H),H!==null){ut=u,e.cancelPendingCommit=H(qo.bind(null,e,l,u,t,a,n,c,s,f,j,S,null,g,v)),Mt(e,u,c,!x);return}}qo(e,l,u,t,a,n,c,s,f)}function Hm(e){for(var l=e;;){var t=l.tag;if((t===0||t===11||t===15)&&l.flags&16384&&(t=l.updateQueue,t!==null&&(t=t.stores,t!==null)))for(var a=0;a<t.length;a++){var n=t[a],u=n.getSnapshot;n=n.value;try{if(!gl(u(),n))return!1}catch{return!1}}if(t=l.child,l.subtreeFlags&16384&&t!==null)t.return=l,l=t;else{if(l===e)break;for(;l.sibling===null;){if(l.return===null||l.return===e)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function Mt(e,l,t,a){l&=~qc,l&=~Ft,e.suspendedLanes|=l,e.pingedLanes&=~l,a&&(e.warmLanes|=l),a=e.expirationTimes;for(var n=l;0<n;){var u=31-xl(n),c=1<<u;a[u]=-1,n&=~c}t!==0&&qs(e,t,l)}function Cu(){return(ve&6)===0?(Sn(0),!1):!0}function Xc(){if(ie!==null){if(ze===0)var e=ie.return;else e=ie,kl=Xt=null,nc(e),ja=null,nn=0,e=ie;for(;e!==null;)uo(e.alternate,e),e=e.return;ie=null}}function Da(e,l){var t=e.timeoutHandle;t!==-1&&(e.timeoutHandle=-1,lh(t)),t=e.cancelPendingCommit,t!==null&&(e.cancelPendingCommit=null,t()),ut=0,Xc(),De=e,ie=t=Kl(e.current,null),fe=l,ze=0,jl=null,jt=!1,Aa=Va(e,l),Rc=!1,Ta=Nl=qc=Ft=Nt=Ye=0,ol=jn=null,Bc=!1,(l&8)!==0&&(l|=l&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=l;0<a;){var n=31-xl(a),u=1<<n;l|=e[n],a&=~u}return nt=l,eu(),t}function Oo(e,l){ee=null,b.H=mn,l===pa||l===su?(l=Zf(),ze=3):l===Ki?(l=Zf(),ze=4):ze=l===pc?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,jl=l,ie===null&&(Ye=1,Nu(e,Tl(l,e.current)))}function Do(){var e=bl.current;return e===null?!0:(fe&4194048)===fe?Cl===null:(fe&62914560)===fe||(fe&536870912)!==0?e===Cl:!1}function Uo(){var e=b.H;return b.H=mn,e===null?mn:e}function Co(){var e=b.A;return b.A=Cm,e}function wu(){Ye=4,jt||(fe&4194048)!==fe&&bl.current!==null||(Aa=!0),(Nt&134217727)===0&&(Ft&134217727)===0||De===null||Mt(De,fe,Nl,!1)}function Qc(e,l,t){var a=ve;ve|=2;var n=Uo(),u=Co();(De!==e||fe!==l)&&(Uu=null,Da(e,l)),l=!1;var c=Ye;e:do try{if(ze!==0&&ie!==null){var s=ie,f=jl;switch(ze){case 8:Xc(),c=6;break e;case 3:case 2:case 9:case 6:bl.current===null&&(l=!0);var x=ze;if(ze=0,jl=null,Ua(e,s,f,x),t&&Aa){c=0;break e}break;default:x=ze,ze=0,jl=null,Ua(e,s,f,x)}}Rm(),c=Ye;break}catch(j){Oo(e,j)}while(!0);return l&&e.shellSuspendCounter++,kl=Xt=null,ve=a,b.H=n,b.A=u,ie===null&&(De=null,fe=0,eu()),c}function Rm(){for(;ie!==null;)wo(ie)}function qm(e,l){var t=ve;ve|=2;var a=Uo(),n=Co();De!==e||fe!==l?(Uu=null,Du=hl()+500,Da(e,l)):Aa=Va(e,l);e:do try{if(ze!==0&&ie!==null){l=ie;var u=jl;l:switch(ze){case 1:ze=0,jl=null,Ua(e,l,u,1);break;case 2:case 9:if(Qf(u)){ze=0,jl=null,Ho(l);break}l=function(){ze!==2&&ze!==9||De!==e||(ze=7),Xl(e)},u.then(l,l);break e;case 3:ze=7;break e;case 4:ze=5;break e;case 7:Qf(u)?(ze=0,jl=null,Ho(l)):(ze=0,jl=null,Ua(e,l,u,7));break;case 5:var c=null;switch(ie.tag){case 26:c=ie.memoizedState;case 5:case 27:var s=ie;if(c?p0(c):s.stateNode.complete){ze=0,jl=null;var f=s.sibling;if(f!==null)ie=f;else{var x=s.return;x!==null?(ie=x,Hu(x)):ie=null}break l}}ze=0,jl=null,Ua(e,l,u,5);break;case 6:ze=0,jl=null,Ua(e,l,u,6);break;case 8:Xc(),Ye=6;break e;default:throw Error(r(462))}}Bm();break}catch(j){Oo(e,j)}while(!0);return kl=Xt=null,b.H=a,b.A=n,ve=t,ie!==null?0:(De=null,fe=0,eu(),Ye)}function Bm(){for(;ie!==null&&!cd();)wo(ie)}function wo(e){var l=ao(e.alternate,e,nt);e.memoizedProps=e.pendingProps,l===null?Hu(e):ie=l}function Ho(e){var l=e,t=l.alternate;switch(l.tag){case 15:case 0:l=Fr(t,l,l.pendingProps,l.type,void 0,fe);break;case 11:l=Fr(t,l,l.pendingProps,l.type.render,l.ref,fe);break;case 5:nc(l);default:uo(t,l),l=ie=Uf(l,nt),l=ao(t,l,nt)}e.memoizedProps=e.pendingProps,l===null?Hu(e):ie=l}function Ua(e,l,t,a){kl=Xt=null,nc(l),ja=null,nn=0;var n=l.return;try{if(Em(e,n,l,t,fe)){Ye=1,Nu(e,Tl(t,e.current)),ie=null;return}}catch(u){if(n!==null)throw ie=n,u;Ye=1,Nu(e,Tl(t,e.current)),ie=null;return}l.flags&32768?(de||a===1?e=!0:Aa||(fe&536870912)!==0?e=!1:(jt=e=!0,(a===2||a===9||a===3||a===6)&&(a=bl.current,a!==null&&a.tag===13&&(a.flags|=16384))),Ro(l,e)):Hu(l)}function Hu(e){var l=e;do{if((l.flags&32768)!==0){Ro(l,jt);return}e=l.return;var t=Tm(l.alternate,l,nt);if(t!==null){ie=t;return}if(l=l.sibling,l!==null){ie=l;return}ie=l=e}while(l!==null);Ye===0&&(Ye=5)}function Ro(e,l){do{var t=Om(e.alternate,e);if(t!==null){t.flags&=32767,ie=t;return}if(t=e.return,t!==null&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!l&&(e=e.sibling,e!==null)){ie=e;return}ie=e=t}while(e!==null);Ye=6,ie=null}function qo(e,l,t,a,n,u,c,s,f){e.cancelPendingCommit=null;do Ru();while(ke!==0);if((ve&6)!==0)throw Error(r(327));if(l!==null){if(l===e.current)throw Error(r(177));if(u=l.lanes|l.childLanes,u|=Di,gd(e,t,u,c,s,f),e===De&&(ie=De=null,fe=0),Oa=l,zt=e,ut=t,Gc=u,Yc=n,Eo=a,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Xm(Bn,function(){return Xo(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||a){a=b.T,b.T=null,n=T.p,T.p=2,c=ve,ve|=4;try{Dm(e,l,t)}finally{ve=c,T.p=n,b.T=a}}ke=1,Bo(),Go(),Yo()}}function Bo(){if(ke===1){ke=0;var e=zt,l=Oa,t=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||t){t=b.T,b.T=null;var a=T.p;T.p=2;var n=ve;ve|=4;try{vo(l,e);var u=ls,c=Sf(e.containerInfo),s=u.focusedElem,f=u.selectionRange;if(c!==s&&s&&s.ownerDocument&&Nf(s.ownerDocument.documentElement,s)){if(f!==null&&Ei(s)){var x=f.start,j=f.end;if(j===void 0&&(j=x),"selectionStart"in s)s.selectionStart=x,s.selectionEnd=Math.min(j,s.value.length);else{var S=s.ownerDocument||document,g=S&&S.defaultView||window;if(g.getSelection){var v=g.getSelection(),H=s.textContent.length,K=Math.min(f.start,H),Oe=f.end===void 0?K:Math.min(f.end,H);!v.extend&&K>Oe&&(c=Oe,Oe=K,K=c);var h=jf(s,K),o=jf(s,Oe);if(h&&o&&(v.rangeCount!==1||v.anchorNode!==h.node||v.anchorOffset!==h.offset||v.focusNode!==o.node||v.focusOffset!==o.offset)){var y=S.createRange();y.setStart(h.node,h.offset),v.removeAllRanges(),K>Oe?(v.addRange(y),v.extend(o.node,o.offset)):(y.setEnd(o.node,o.offset),v.addRange(y))}}}}for(S=[],v=s;v=v.parentNode;)v.nodeType===1&&S.push({element:v,left:v.scrollLeft,top:v.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<S.length;s++){var N=S[s];N.element.scrollLeft=N.left,N.element.scrollTop=N.top}}ku=!!es,ls=es=null}finally{ve=n,T.p=a,b.T=t}}e.current=l,ke=2}}function Go(){if(ke===2){ke=0;var e=zt,l=Oa,t=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||t){t=b.T,b.T=null;var a=T.p;T.p=2;var n=ve;ve|=4;try{mo(e,l.alternate,l)}finally{ve=n,T.p=a,b.T=t}}ke=3}}function Yo(){if(ke===4||ke===3){ke=0,sd();var e=zt,l=Oa,t=ut,a=Eo;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?ke=5:(ke=0,Oa=zt=null,Vo(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(St=null),ci(t),l=l.stateNode,yl&&typeof yl.onCommitFiberRoot=="function")try{yl.onCommitFiberRoot(Ya,l,void 0,(l.current.flags&128)===128)}catch{}if(a!==null){l=b.T,n=T.p,T.p=2,b.T=null;try{for(var u=e.onRecoverableError,c=0;c<a.length;c++){var s=a[c];u(s.value,{componentStack:s.stack})}}finally{b.T=l,T.p=n}}(ut&3)!==0&&Ru(),Xl(e),n=e.pendingLanes,(t&261930)!==0&&(n&42)!==0?e===Vc?Nn++:(Nn=0,Vc=e):Nn=0,Sn(0)}}function Vo(e,l){(e.pooledCacheLanes&=l)===0&&(l=e.pooledCache,l!=null&&(e.pooledCache=null,tn(l)))}function Ru(){return Bo(),Go(),Yo(),Xo()}function Xo(){if(ke!==5)return!1;var e=zt,l=Gc;Gc=0;var t=ci(ut),a=b.T,n=T.p;try{T.p=32>t?32:t,b.T=null,t=Yc,Yc=null;var u=zt,c=ut;if(ke=0,Oa=zt=null,ut=0,(ve&6)!==0)throw Error(r(331));var s=ve;if(ve|=4,So(u.current),po(u,u.current,c,t),ve=s,Sn(0,!1),yl&&typeof yl.onPostCommitFiberRoot=="function")try{yl.onPostCommitFiberRoot(Ya,u)}catch{}return!0}finally{T.p=n,b.T=a,Vo(e,l)}}function Qo(e,l,t){l=Tl(t,l),l=bc(e.stateNode,l,2),e=gt(e,l,2),e!==null&&(Xa(e,2),Xl(e))}function Me(e,l,t){if(e.tag===3)Qo(e,e,t);else for(;l!==null;){if(l.tag===3){Qo(l,e,t);break}else if(l.tag===1){var a=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(St===null||!St.has(a))){e=Tl(t,e),t=Qr(2),a=gt(l,t,2),a!==null&&(Lr(t,a,l,e),Xa(a,2),Xl(a));break}}l=l.return}}function Lc(e,l,t){var a=e.pingCache;if(a===null){a=e.pingCache=new wm;var n=new Set;a.set(l,n)}else n=a.get(l),n===void 0&&(n=new Set,a.set(l,n));n.has(t)||(Rc=!0,n.add(t),e=Gm.bind(null,e,l,t),l.then(e,e))}function Gm(e,l,t){var a=e.pingCache;a!==null&&a.delete(l),e.pingedLanes|=e.suspendedLanes&t,e.warmLanes&=~t,De===e&&(fe&t)===t&&(Ye===4||Ye===3&&(fe&62914560)===fe&&300>hl()-Ou?(ve&2)===0&&Da(e,0):qc|=t,Ta===fe&&(Ta=0)),Xl(e)}function Lo(e,l){l===0&&(l=Rs()),e=Gt(e,l),e!==null&&(Xa(e,l),Xl(e))}function Ym(e){var l=e.memoizedState,t=0;l!==null&&(t=l.retryLane),Lo(e,t)}function Vm(e,l){var t=0;switch(e.tag){case 31:case 13:var a=e.stateNode,n=e.memoizedState;n!==null&&(t=n.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(r(314))}a!==null&&a.delete(l),Lo(e,t)}function Xm(e,l){return ai(e,l)}var qu=null,Ca=null,Zc=!1,Bu=!1,Kc=!1,Et=0;function Xl(e){e!==Ca&&e.next===null&&(Ca===null?qu=Ca=e:Ca=Ca.next=e),Bu=!0,Zc||(Zc=!0,Lm())}function Sn(e,l){if(!Kc&&Bu){Kc=!0;do for(var t=!1,a=qu;a!==null;){if(e!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var c=a.suspendedLanes,s=a.pingedLanes;u=(1<<31-xl(42|e)+1)-1,u&=n&~(c&~s),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(t=!0,ko(a,u))}else u=fe,u=Xn(a,a===De?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Va(a,u)||(t=!0,ko(a,u));a=a.next}while(t);Kc=!1}}function Qm(){Zo()}function Zo(){Bu=Zc=!1;var e=0;Et!==0&&eh()&&(e=Et);for(var l=hl(),t=null,a=qu;a!==null;){var n=a.next,u=Ko(a,l);u===0?(a.next=null,t===null?qu=n:t.next=n,n===null&&(Ca=t)):(t=a,(e!==0||(u&3)!==0)&&(Bu=!0)),a=n}ke!==0&&ke!==5||Sn(e),Et!==0&&(Et=0)}function Ko(e,l){for(var t=e.suspendedLanes,a=e.pingedLanes,n=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var c=31-xl(u),s=1<<c,f=n[c];f===-1?((s&t)===0||(s&a)!==0)&&(n[c]=xd(s,l)):f<=l&&(e.expiredLanes|=s),u&=~s}if(l=De,t=fe,t=Xn(e,e===l?t:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,t===0||e===l&&(ze===2||ze===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&ni(a),e.callbackNode=null,e.callbackPriority=0;if((t&3)===0||Va(e,t)){if(l=t&-t,l===e.callbackPriority)return l;switch(a!==null&&ni(a),ci(t)){case 2:case 8:t=ws;break;case 32:t=Bn;break;case 268435456:t=Hs;break;default:t=Bn}return a=Jo.bind(null,e),t=ai(t,a),e.callbackPriority=l,e.callbackNode=t,l}return a!==null&&a!==null&&ni(a),e.callbackPriority=2,e.callbackNode=null,2}function Jo(e,l){if(ke!==0&&ke!==5)return e.callbackNode=null,e.callbackPriority=0,null;var t=e.callbackNode;if(Ru()&&e.callbackNode!==t)return null;var a=fe;return a=Xn(e,e===De?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:(Ao(e,a,l),Ko(e,hl()),e.callbackNode!=null&&e.callbackNode===t?Jo.bind(null,e):null)}function ko(e,l){if(Ru())return null;Ao(e,l,!0)}function Lm(){th(function(){(ve&6)!==0?ai(Cs,Qm):Zo()})}function Jc(){if(Et===0){var e=va;e===0&&(e=Gn,Gn<<=1,(Gn&261888)===0&&(Gn=256)),Et=e}return Et}function $o(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Kn(""+e)}function Wo(e,l){var t=l.ownerDocument.createElement("input");return t.name=l.name,t.value=l.value,e.id&&t.setAttribute("form",e.id),l.parentNode.insertBefore(t,l),e=new FormData(e),t.parentNode.removeChild(t),e}function Zm(e,l,t,a,n){if(l==="submit"&&t&&t.stateNode===n){var u=$o((n[il]||null).action),c=a.submitter;c&&(l=(l=c[il]||null)?$o(l.formAction):c.getAttribute("formAction"),l!==null&&(u=l,c=null));var s=new Wn("action","action",null,a,n);e.push({event:s,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Et!==0){var f=c?Wo(n,c):new FormData(n);mc(t,{pending:!0,data:f,method:n.method,action:u},null,f)}}else typeof u=="function"&&(s.preventDefault(),f=c?Wo(n,c):new FormData(n),mc(t,{pending:!0,data:f,method:n.method,action:u},u,f))},currentTarget:n}]})}}for(var kc=0;kc<Oi.length;kc++){var $c=Oi[kc],Km=$c.toLowerCase(),Jm=$c[0].toUpperCase()+$c.slice(1);Rl(Km,"on"+Jm)}Rl(Ef,"onAnimationEnd"),Rl(_f,"onAnimationIteration"),Rl(Af,"onAnimationStart"),Rl("dblclick","onDoubleClick"),Rl("focusin","onFocus"),Rl("focusout","onBlur"),Rl(fm,"onTransitionRun"),Rl(rm,"onTransitionStart"),Rl(om,"onTransitionCancel"),Rl(Tf,"onTransitionEnd"),na("onMouseEnter",["mouseout","mouseover"]),na("onMouseLeave",["mouseout","mouseover"]),na("onPointerEnter",["pointerout","pointerover"]),na("onPointerLeave",["pointerout","pointerover"]),Ht("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ht("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ht("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ht("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ht("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ht("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zn="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(" "),km=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(zn));function Fo(e,l){l=(l&4)!==0;for(var t=0;t<e.length;t++){var a=e[t],n=a.event;a=a.listeners;e:{var u=void 0;if(l)for(var c=a.length-1;0<=c;c--){var s=a[c],f=s.instance,x=s.currentTarget;if(s=s.listener,f!==u&&n.isPropagationStopped())break e;u=s,n.currentTarget=x;try{u(n)}catch(j){Pn(j)}n.currentTarget=null,u=f}else for(c=0;c<a.length;c++){if(s=a[c],f=s.instance,x=s.currentTarget,s=s.listener,f!==u&&n.isPropagationStopped())break e;u=s,n.currentTarget=x;try{u(n)}catch(j){Pn(j)}n.currentTarget=null,u=f}}}}function ce(e,l){var t=l[si];t===void 0&&(t=l[si]=new Set);var a=e+"__bubble";t.has(a)||(Io(l,e,2,!1),t.add(a))}function Wc(e,l,t){var a=0;l&&(a|=4),Io(t,e,a,l)}var Gu="_reactListening"+Math.random().toString(36).slice(2);function Fc(e){if(!e[Gu]){e[Gu]=!0,Qs.forEach(function(t){t!=="selectionchange"&&(km.has(t)||Wc(t,!1,e),Wc(t,!0,e))});var l=e.nodeType===9?e:e.ownerDocument;l===null||l[Gu]||(l[Gu]=!0,Wc("selectionchange",!1,l))}}function Io(e,l,t,a){switch(_0(l)){case 2:var n=Nh;break;case 8:n=Sh;break;default:n=ds}t=n.bind(null,l,t,e),n=void 0,!gi||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(n=!0),a?n!==void 0?e.addEventListener(l,t,{capture:!0,passive:n}):e.addEventListener(l,t,!0):n!==void 0?e.addEventListener(l,t,{passive:n}):e.addEventListener(l,t,!1)}function Ic(e,l,t,a,n){var u=a;if((l&1)===0&&(l&2)===0&&a!==null)e:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var s=a.stateNode.containerInfo;if(s===n)break;if(c===4)for(c=a.return;c!==null;){var f=c.tag;if((f===3||f===4)&&c.stateNode.containerInfo===n)return;c=c.return}for(;s!==null;){if(c=la(s),c===null)return;if(f=c.tag,f===5||f===6||f===26||f===27){a=u=c;continue e}s=s.parentNode}}a=a.return}lf(function(){var x=u,j=yi(t),S=[];e:{var g=Of.get(e);if(g!==void 0){var v=Wn,H=e;switch(e){case"keypress":if(kn(t)===0)break e;case"keydown":case"keyup":v=Vd;break;case"focusin":H="focus",v=ji;break;case"focusout":H="blur",v=ji;break;case"beforeblur":case"afterblur":v=ji;break;case"click":if(t.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=nf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=Td;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=Ld;break;case Ef:case _f:case Af:v=Ud;break;case Tf:v=Kd;break;case"scroll":case"scrollend":v=_d;break;case"wheel":v=kd;break;case"copy":case"cut":case"paste":v=wd;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=cf;break;case"toggle":case"beforetoggle":v=Wd}var K=(l&4)!==0,Oe=!K&&(e==="scroll"||e==="scrollend"),h=K?g!==null?g+"Capture":null:g;K=[];for(var o=x,y;o!==null;){var N=o;if(y=N.stateNode,N=N.tag,N!==5&&N!==26&&N!==27||y===null||h===null||(N=Za(o,h),N!=null&&K.push(Mn(o,N,y))),Oe)break;o=o.return}0<K.length&&(g=new v(g,H,null,t,j),S.push({event:g,listeners:K}))}}if((l&7)===0){e:{if(g=e==="mouseover"||e==="pointerover",v=e==="mouseout"||e==="pointerout",g&&t!==hi&&(H=t.relatedTarget||t.fromElement)&&(la(H)||H[ea]))break e;if((v||g)&&(g=j.window===j?j:(g=j.ownerDocument)?g.defaultView||g.parentWindow:window,v?(H=t.relatedTarget||t.toElement,v=x,H=H?la(H):null,H!==null&&(Oe=A(H),K=H.tag,H!==Oe||K!==5&&K!==27&&K!==6)&&(H=null)):(v=null,H=x),v!==H)){if(K=nf,N="onMouseLeave",h="onMouseEnter",o="mouse",(e==="pointerout"||e==="pointerover")&&(K=cf,N="onPointerLeave",h="onPointerEnter",o="pointer"),Oe=v==null?g:La(v),y=H==null?g:La(H),g=new K(N,o+"leave",v,t,j),g.target=Oe,g.relatedTarget=y,N=null,la(j)===x&&(K=new K(h,o+"enter",H,t,j),K.target=y,K.relatedTarget=Oe,N=K),Oe=N,v&&H)l:{for(K=$m,h=v,o=H,y=0,N=h;N;N=K(N))y++;N=0;for(var X=o;X;X=K(X))N++;for(;0<y-N;)h=K(h),y--;for(;0<N-y;)o=K(o),N--;for(;y--;){if(h===o||o!==null&&h===o.alternate){K=h;break l}h=K(h),o=K(o)}K=null}else K=null;v!==null&&Po(S,g,v,K,!1),H!==null&&Oe!==null&&Po(S,Oe,H,K,!0)}}e:{if(g=x?La(x):window,v=g.nodeName&&g.nodeName.toLowerCase(),v==="select"||v==="input"&&g.type==="file")var ye=yf;else if(mf(g))if(xf)ye=im;else{ye=nm;var B=am}else v=g.nodeName,!v||v.toLowerCase()!=="input"||g.type!=="checkbox"&&g.type!=="radio"?x&&mi(x.elementType)&&(ye=yf):ye=um;if(ye&&(ye=ye(e,x))){hf(S,ye,t,j);break e}B&&B(e,g,x),e==="focusout"&&x&&g.type==="number"&&x.memoizedProps.value!=null&&di(g,"number",g.value)}switch(B=x?La(x):window,e){case"focusin":(mf(B)||B.contentEditable==="true")&&(ra=B,_i=x,Pa=null);break;case"focusout":Pa=_i=ra=null;break;case"mousedown":Ai=!0;break;case"contextmenu":case"mouseup":case"dragend":Ai=!1,zf(S,t,j);break;case"selectionchange":if(sm)break;case"keydown":case"keyup":zf(S,t,j)}var le;if(Si)e:{switch(e){case"compositionstart":var re="onCompositionStart";break e;case"compositionend":re="onCompositionEnd";break e;case"compositionupdate":re="onCompositionUpdate";break e}re=void 0}else fa?of(e,t)&&(re="onCompositionEnd"):e==="keydown"&&t.keyCode===229&&(re="onCompositionStart");re&&(sf&&t.locale!=="ko"&&(fa||re!=="onCompositionStart"?re==="onCompositionEnd"&&fa&&(le=tf()):(rt=j,vi="value"in rt?rt.value:rt.textContent,fa=!0)),B=Yu(x,re),0<B.length&&(re=new uf(re,e,null,t,j),S.push({event:re,listeners:B}),le?re.data=le:(le=df(t),le!==null&&(re.data=le)))),(le=Id?Pd(e,t):em(e,t))&&(re=Yu(x,"onBeforeInput"),0<re.length&&(B=new uf("onBeforeInput","beforeinput",null,t,j),S.push({event:B,listeners:re}),B.data=le)),Zm(S,e,x,t,j)}Fo(S,l)})}function Mn(e,l,t){return{instance:e,listener:l,currentTarget:t}}function Yu(e,l){for(var t=l+"Capture",a=[];e!==null;){var n=e,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=Za(e,t),n!=null&&a.unshift(Mn(e,n,u)),n=Za(e,l),n!=null&&a.push(Mn(e,n,u))),e.tag===3)return a;e=e.return}return[]}function $m(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Po(e,l,t,a,n){for(var u=l._reactName,c=[];t!==null&&t!==a;){var s=t,f=s.alternate,x=s.stateNode;if(s=s.tag,f!==null&&f===a)break;s!==5&&s!==26&&s!==27||x===null||(f=x,n?(x=Za(t,u),x!=null&&c.unshift(Mn(t,x,f))):n||(x=Za(t,u),x!=null&&c.push(Mn(t,x,f)))),t=t.return}c.length!==0&&e.push({event:l,listeners:c})}var Wm=/\r\n?/g,Fm=/\u0000|\uFFFD/g;function e0(e){return(typeof e=="string"?e:""+e).replace(Wm,`
`).replace(Fm,"")}function l0(e,l){return l=e0(l),e0(e)===l}function Te(e,l,t,a,n,u){switch(t){case"children":typeof a=="string"?l==="body"||l==="textarea"&&a===""||ia(e,a):(typeof a=="number"||typeof a=="bigint")&&l!=="body"&&ia(e,""+a);break;case"className":Ln(e,"class",a);break;case"tabIndex":Ln(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Ln(e,t,a);break;case"style":Ps(e,a,u);break;case"data":if(l!=="object"){Ln(e,"data",a);break}case"src":case"href":if(a===""&&(l!=="a"||t!=="href")){e.removeAttribute(t);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(t);break}a=Kn(""+a),e.setAttribute(t,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(t,"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 u=="function"&&(t==="formAction"?(l!=="input"&&Te(e,l,"name",n.name,n,null),Te(e,l,"formEncType",n.formEncType,n,null),Te(e,l,"formMethod",n.formMethod,n,null),Te(e,l,"formTarget",n.formTarget,n,null)):(Te(e,l,"encType",n.encType,n,null),Te(e,l,"method",n.method,n,null),Te(e,l,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(t);break}a=Kn(""+a),e.setAttribute(t,a);break;case"onClick":a!=null&&(e.onclick=Ll);break;case"onScroll":a!=null&&ce("scroll",e);break;case"onScrollEnd":a!=null&&ce("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(t=a.__html,t!=null){if(n.children!=null)throw Error(r(60));e.innerHTML=t}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.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"){e.removeAttribute("xlink:href");break}t=Kn(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",t);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"?e.setAttribute(t,""+a):e.removeAttribute(t);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"?e.setAttribute(t,""):e.removeAttribute(t);break;case"capture":case"download":a===!0?e.setAttribute(t,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(t,a):e.removeAttribute(t);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(t,a):e.removeAttribute(t);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(t):e.setAttribute(t,a);break;case"popover":ce("beforetoggle",e),ce("toggle",e),Qn(e,"popover",a);break;case"xlinkActuate":Ql(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Ql(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Ql(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Ql(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Ql(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Ql(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Ql(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Ql(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Ql(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Qn(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(t=Md.get(t)||t,Qn(e,t,a))}}function Pc(e,l,t,a,n,u){switch(t){case"style":Ps(e,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(r(61));if(t=a.__html,t!=null){if(n.children!=null)throw Error(r(60));e.innerHTML=t}}break;case"children":typeof a=="string"?ia(e,a):(typeof a=="number"||typeof a=="bigint")&&ia(e,""+a);break;case"onScroll":a!=null&&ce("scroll",e);break;case"onScrollEnd":a!=null&&ce("scrollend",e);break;case"onClick":a!=null&&(e.onclick=Ll);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ls.hasOwnProperty(t))e:{if(t[0]==="o"&&t[1]==="n"&&(n=t.endsWith("Capture"),l=t.slice(2,n?t.length-7:void 0),u=e[il]||null,u=u!=null?u[t]:null,typeof u=="function"&&e.removeEventListener(l,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(t in e?e[t]=null:e.hasAttribute(t)&&e.removeAttribute(t)),e.addEventListener(l,a,n);break e}t in e?e[t]=a:a===!0?e.setAttribute(t,""):Qn(e,t,a)}}}function ll(e,l,t){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ce("error",e),ce("load",e);var a=!1,n=!1,u;for(u in t)if(t.hasOwnProperty(u)){var c=t[u];if(c!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:Te(e,l,u,c,t,null)}}n&&Te(e,l,"srcSet",t.srcSet,t,null),a&&Te(e,l,"src",t.src,t,null);return;case"input":ce("invalid",e);var s=u=c=n=null,f=null,x=null;for(a in t)if(t.hasOwnProperty(a)){var j=t[a];if(j!=null)switch(a){case"name":n=j;break;case"type":c=j;break;case"checked":f=j;break;case"defaultChecked":x=j;break;case"value":u=j;break;case"defaultValue":s=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(r(137,l));break;default:Te(e,l,a,j,t,null)}}$s(e,u,s,f,x,c,n,!1);return;case"select":ce("invalid",e),a=c=u=null;for(n in t)if(t.hasOwnProperty(n)&&(s=t[n],s!=null))switch(n){case"value":u=s;break;case"defaultValue":c=s;break;case"multiple":a=s;default:Te(e,l,n,s,t,null)}l=u,t=c,e.multiple=!!a,l!=null?ua(e,!!a,l,!1):t!=null&&ua(e,!!a,t,!0);return;case"textarea":ce("invalid",e),u=n=a=null;for(c in t)if(t.hasOwnProperty(c)&&(s=t[c],s!=null))switch(c){case"value":a=s;break;case"defaultValue":n=s;break;case"children":u=s;break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(r(91));break;default:Te(e,l,c,s,t,null)}Fs(e,a,n,u);return;case"option":for(f in t)if(t.hasOwnProperty(f)&&(a=t[f],a!=null))switch(f){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Te(e,l,f,a,t,null)}return;case"dialog":ce("beforetoggle",e),ce("toggle",e),ce("cancel",e),ce("close",e);break;case"iframe":case"object":ce("load",e);break;case"video":case"audio":for(a=0;a<zn.length;a++)ce(zn[a],e);break;case"image":ce("error",e),ce("load",e);break;case"details":ce("toggle",e);break;case"embed":case"source":case"link":ce("error",e),ce("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(x in t)if(t.hasOwnProperty(x)&&(a=t[x],a!=null))switch(x){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:Te(e,l,x,a,t,null)}return;default:if(mi(l)){for(j in t)t.hasOwnProperty(j)&&(a=t[j],a!==void 0&&Pc(e,l,j,a,t,void 0));return}}for(s in t)t.hasOwnProperty(s)&&(a=t[s],a!=null&&Te(e,l,s,a,t,null))}function Im(e,l,t,a){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,c=null,s=null,f=null,x=null,j=null;for(v in t){var S=t[v];if(t.hasOwnProperty(v)&&S!=null)switch(v){case"checked":break;case"value":break;case"defaultValue":f=S;default:a.hasOwnProperty(v)||Te(e,l,v,null,a,S)}}for(var g in a){var v=a[g];if(S=t[g],a.hasOwnProperty(g)&&(v!=null||S!=null))switch(g){case"type":u=v;break;case"name":n=v;break;case"checked":x=v;break;case"defaultChecked":j=v;break;case"value":c=v;break;case"defaultValue":s=v;break;case"children":case"dangerouslySetInnerHTML":if(v!=null)throw Error(r(137,l));break;default:v!==S&&Te(e,l,g,v,a,S)}}oi(e,c,s,f,x,j,u,n);return;case"select":v=c=s=g=null;for(u in t)if(f=t[u],t.hasOwnProperty(u)&&f!=null)switch(u){case"value":break;case"multiple":v=f;default:a.hasOwnProperty(u)||Te(e,l,u,null,a,f)}for(n in a)if(u=a[n],f=t[n],a.hasOwnProperty(n)&&(u!=null||f!=null))switch(n){case"value":g=u;break;case"defaultValue":s=u;break;case"multiple":c=u;default:u!==f&&Te(e,l,n,u,a,f)}l=s,t=c,a=v,g!=null?ua(e,!!t,g,!1):!!a!=!!t&&(l!=null?ua(e,!!t,l,!0):ua(e,!!t,t?[]:"",!1));return;case"textarea":v=g=null;for(s in t)if(n=t[s],t.hasOwnProperty(s)&&n!=null&&!a.hasOwnProperty(s))switch(s){case"value":break;case"children":break;default:Te(e,l,s,null,a,n)}for(c in a)if(n=a[c],u=t[c],a.hasOwnProperty(c)&&(n!=null||u!=null))switch(c){case"value":g=n;break;case"defaultValue":v=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(r(91));break;default:n!==u&&Te(e,l,c,n,a,u)}Ws(e,g,v);return;case"option":for(var H in t)if(g=t[H],t.hasOwnProperty(H)&&g!=null&&!a.hasOwnProperty(H))switch(H){case"selected":e.selected=!1;break;default:Te(e,l,H,null,a,g)}for(f in a)if(g=a[f],v=t[f],a.hasOwnProperty(f)&&g!==v&&(g!=null||v!=null))switch(f){case"selected":e.selected=g&&typeof g!="function"&&typeof g!="symbol";break;default:Te(e,l,f,g,a,v)}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 K in t)g=t[K],t.hasOwnProperty(K)&&g!=null&&!a.hasOwnProperty(K)&&Te(e,l,K,null,a,g);for(x in a)if(g=a[x],v=t[x],a.hasOwnProperty(x)&&g!==v&&(g!=null||v!=null))switch(x){case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(r(137,l));break;default:Te(e,l,x,g,a,v)}return;default:if(mi(l)){for(var Oe in t)g=t[Oe],t.hasOwnProperty(Oe)&&g!==void 0&&!a.hasOwnProperty(Oe)&&Pc(e,l,Oe,void 0,a,g);for(j in a)g=a[j],v=t[j],!a.hasOwnProperty(j)||g===v||g===void 0&&v===void 0||Pc(e,l,j,g,a,v);return}}for(var h in t)g=t[h],t.hasOwnProperty(h)&&g!=null&&!a.hasOwnProperty(h)&&Te(e,l,h,null,a,g);for(S in a)g=a[S],v=t[S],!a.hasOwnProperty(S)||g===v||g==null&&v==null||Te(e,l,S,g,a,v)}function t0(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Pm(){if(typeof performance.getEntriesByType=="function"){for(var e=0,l=0,t=performance.getEntriesByType("resource"),a=0;a<t.length;a++){var n=t[a],u=n.transferSize,c=n.initiatorType,s=n.duration;if(u&&s&&t0(c)){for(c=0,s=n.responseEnd,a+=1;a<t.length;a++){var f=t[a],x=f.startTime;if(x>s)break;var j=f.transferSize,S=f.initiatorType;j&&t0(S)&&(f=f.responseEnd,c+=j*(f<s?1:(s-x)/(f-x)))}if(--a,l+=8*(u+c)/(n.duration/1e3),e++,10<e)break}}if(0<e)return l/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var es=null,ls=null;function Vu(e){return e.nodeType===9?e:e.ownerDocument}function a0(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function n0(e,l){if(e===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&l==="foreignObject"?0:e}function ts(e,l){return e==="textarea"||e==="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 as=null;function eh(){var e=window.event;return e&&e.type==="popstate"?e===as?!1:(as=e,!0):(as=null,!1)}var u0=typeof setTimeout=="function"?setTimeout:void 0,lh=typeof clearTimeout=="function"?clearTimeout:void 0,i0=typeof Promise=="function"?Promise:void 0,th=typeof queueMicrotask=="function"?queueMicrotask:typeof i0<"u"?function(e){return i0.resolve(null).then(e).catch(ah)}:u0;function ah(e){setTimeout(function(){throw e})}function _t(e){return e==="head"}function c0(e,l){var t=l,a=0;do{var n=t.nextSibling;if(e.removeChild(t),n&&n.nodeType===8)if(t=n.data,t==="/$"||t==="/&"){if(a===0){e.removeChild(n),qa(l);return}a--}else if(t==="$"||t==="$?"||t==="$~"||t==="$!"||t==="&")a++;else if(t==="html")En(e.ownerDocument.documentElement);else if(t==="head"){t=e.ownerDocument.head,En(t);for(var u=t.firstChild;u;){var c=u.nextSibling,s=u.nodeName;u[Qa]||s==="SCRIPT"||s==="STYLE"||s==="LINK"&&u.rel.toLowerCase()==="stylesheet"||t.removeChild(u),u=c}}else t==="body"&&En(e.ownerDocument.body);t=n}while(t);qa(l)}function s0(e,l){var t=e;e=0;do{var a=t.nextSibling;if(t.nodeType===1?l?(t._stashedDisplay=t.style.display,t.style.display="none"):(t.style.display=t._stashedDisplay||"",t.getAttribute("style")===""&&t.removeAttribute("style")):t.nodeType===3&&(l?(t._stashedText=t.nodeValue,t.nodeValue=""):t.nodeValue=t._stashedText||""),a&&a.nodeType===8)if(t=a.data,t==="/$"){if(e===0)break;e--}else t!=="$"&&t!=="$?"&&t!=="$~"&&t!=="$!"||e++;t=a}while(t)}function ns(e){var l=e.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var t=l;switch(l=l.nextSibling,t.nodeName){case"HTML":case"HEAD":case"BODY":ns(t),fi(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(t.rel.toLowerCase()==="stylesheet")continue}e.removeChild(t)}}function nh(e,l,t,a){for(;e.nodeType===1;){var n=t;if(e.nodeName.toLowerCase()!==l.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[Qa])switch(l){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(l==="input"&&e.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=wl(e.nextSibling),e===null)break}return null}function uh(e,l,t){if(l==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=wl(e.nextSibling),e===null))return null;return e}function f0(e,l){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=wl(e.nextSibling),e===null))return null;return e}function us(e){return e.data==="$?"||e.data==="$~"}function is(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function ih(e,l){var t=e.ownerDocument;if(e.data==="$~")e._reactRetry=l;else if(e.data!=="$?"||t.readyState!=="loading")l();else{var a=function(){l(),t.removeEventListener("DOMContentLoaded",a)};t.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function wl(e){for(;e!=null;e=e.nextSibling){var l=e.nodeType;if(l===1||l===3)break;if(l===8){if(l=e.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;if(l==="/$"||l==="/&")return null}}return e}var cs=null;function r0(e){e=e.nextSibling;for(var l=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"||t==="/&"){if(l===0)return wl(e.nextSibling);l--}else t!=="$"&&t!=="$!"&&t!=="$?"&&t!=="$~"&&t!=="&"||l++}e=e.nextSibling}return null}function o0(e){e=e.previousSibling;for(var l=0;e;){if(e.nodeType===8){var t=e.data;if(t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"){if(l===0)return e;l--}else t!=="/$"&&t!=="/&"||l++}e=e.previousSibling}return null}function d0(e,l,t){switch(l=Vu(t),e){case"html":if(e=l.documentElement,!e)throw Error(r(452));return e;case"head":if(e=l.head,!e)throw Error(r(453));return e;case"body":if(e=l.body,!e)throw Error(r(454));return e;default:throw Error(r(451))}}function En(e){for(var l=e.attributes;l.length;)e.removeAttributeNode(l[0]);fi(e)}var Hl=new Map,m0=new Set;function Xu(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var it=T.d;T.d={f:ch,r:sh,D:fh,C:rh,L:oh,m:dh,X:hh,S:mh,M:yh};function ch(){var e=it.f(),l=Cu();return e||l}function sh(e){var l=ta(e);l!==null&&l.tag===5&&l.type==="form"?Tr(l):it.r(e)}var wa=typeof document>"u"?null:document;function h0(e,l,t){var a=wa;if(a&&typeof l=="string"&&l){var n=_l(l);n='link[rel="'+e+'"][href="'+n+'"]',typeof t=="string"&&(n+='[crossorigin="'+t+'"]'),m0.has(n)||(m0.add(n),e={rel:e,crossOrigin:t,href:l},a.querySelector(n)===null&&(l=a.createElement("link"),ll(l,"link",e),$e(l),a.head.appendChild(l)))}}function fh(e){it.D(e),h0("dns-prefetch",e,null)}function rh(e,l){it.C(e,l),h0("preconnect",e,l)}function oh(e,l,t){it.L(e,l,t);var a=wa;if(a&&e&&l){var n='link[rel="preload"][as="'+_l(l)+'"]';l==="image"&&t&&t.imageSrcSet?(n+='[imagesrcset="'+_l(t.imageSrcSet)+'"]',typeof t.imageSizes=="string"&&(n+='[imagesizes="'+_l(t.imageSizes)+'"]')):n+='[href="'+_l(e)+'"]';var u=n;switch(l){case"style":u=Ha(e);break;case"script":u=Ra(e)}Hl.has(u)||(e=D({rel:"preload",href:l==="image"&&t&&t.imageSrcSet?void 0:e,as:l},t),Hl.set(u,e),a.querySelector(n)!==null||l==="style"&&a.querySelector(_n(u))||l==="script"&&a.querySelector(An(u))||(l=a.createElement("link"),ll(l,"link",e),$e(l),a.head.appendChild(l)))}}function dh(e,l){it.m(e,l);var t=wa;if(t&&e){var a=l&&typeof l.as=="string"?l.as:"script",n='link[rel="modulepreload"][as="'+_l(a)+'"][href="'+_l(e)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Ra(e)}if(!Hl.has(u)&&(e=D({rel:"modulepreload",href:e},l),Hl.set(u,e),t.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(An(u)))return}a=t.createElement("link"),ll(a,"link",e),$e(a),t.head.appendChild(a)}}}function mh(e,l,t){it.S(e,l,t);var a=wa;if(a&&e){var n=aa(a).hoistableStyles,u=Ha(e);l=l||"default";var c=n.get(u);if(!c){var s={loading:0,preload:null};if(c=a.querySelector(_n(u)))s.loading=5;else{e=D({rel:"stylesheet",href:e,"data-precedence":l},t),(t=Hl.get(u))&&ss(e,t);var f=c=a.createElement("link");$e(f),ll(f,"link",e),f._p=new Promise(function(x,j){f.onload=x,f.onerror=j}),f.addEventListener("load",function(){s.loading|=1}),f.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Qu(c,l,a)}c={type:"stylesheet",instance:c,count:1,state:s},n.set(u,c)}}}function hh(e,l){it.X(e,l);var t=wa;if(t&&e){var a=aa(t).hoistableScripts,n=Ra(e),u=a.get(n);u||(u=t.querySelector(An(n)),u||(e=D({src:e,async:!0},l),(l=Hl.get(n))&&fs(e,l),u=t.createElement("script"),$e(u),ll(u,"link",e),t.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function yh(e,l){it.M(e,l);var t=wa;if(t&&e){var a=aa(t).hoistableScripts,n=Ra(e),u=a.get(n);u||(u=t.querySelector(An(n)),u||(e=D({src:e,async:!0,type:"module"},l),(l=Hl.get(n))&&fs(e,l),u=t.createElement("script"),$e(u),ll(u,"link",e),t.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function y0(e,l,t,a){var n=(n=ae.current)?Xu(n):null;if(!n)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return typeof t.precedence=="string"&&typeof t.href=="string"?(l=Ha(t.href),t=aa(n).hoistableStyles,a=t.get(l),a||(a={type:"style",instance:null,count:0,state:null},t.set(l,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(t.rel==="stylesheet"&&typeof t.href=="string"&&typeof t.precedence=="string"){e=Ha(t.href);var u=aa(n).hoistableStyles,c=u.get(e);if(c||(n=n.ownerDocument||n,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,c),(u=n.querySelector(_n(e)))&&!u._p&&(c.instance=u,c.state.loading=5),Hl.has(e)||(t={rel:"preload",as:"style",href:t.href,crossOrigin:t.crossOrigin,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy},Hl.set(e,t),u||xh(n,e,t,c.state))),l&&a===null)throw Error(r(528,""));return c}if(l&&a!==null)throw Error(r(529,""));return null;case"script":return l=t.async,t=t.src,typeof t=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Ra(t),t=aa(n).hoistableScripts,a=t.get(l),a||(a={type:"script",instance:null,count:0,state:null},t.set(l,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Ha(e){return'href="'+_l(e)+'"'}function _n(e){return'link[rel="stylesheet"]['+e+"]"}function x0(e){return D({},e,{"data-precedence":e.precedence,precedence:null})}function xh(e,l,t,a){e.querySelector('link[rel="preload"][as="style"]['+l+"]")?a.loading=1:(l=e.createElement("link"),a.preload=l,l.addEventListener("load",function(){return a.loading|=1}),l.addEventListener("error",function(){return a.loading|=2}),ll(l,"link",t),$e(l),e.head.appendChild(l))}function Ra(e){return'[src="'+_l(e)+'"]'}function An(e){return"script[async]"+e}function g0(e,l,t){if(l.count++,l.instance===null)switch(l.type){case"style":var a=e.querySelector('style[data-href~="'+_l(t.href)+'"]');if(a)return l.instance=a,$e(a),a;var n=D({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),$e(a),ll(a,"style",n),Qu(a,t.precedence,e),l.instance=a;case"stylesheet":n=Ha(t.href);var u=e.querySelector(_n(n));if(u)return l.state.loading|=4,l.instance=u,$e(u),u;a=x0(t),(n=Hl.get(n))&&ss(a,n),u=(e.ownerDocument||e).createElement("link"),$e(u);var c=u;return c._p=new Promise(function(s,f){c.onload=s,c.onerror=f}),ll(u,"link",a),l.state.loading|=4,Qu(u,t.precedence,e),l.instance=u;case"script":return u=Ra(t.src),(n=e.querySelector(An(u)))?(l.instance=n,$e(n),n):(a=t,(n=Hl.get(u))&&(a=D({},t),fs(a,n)),e=e.ownerDocument||e,n=e.createElement("script"),$e(n),ll(n,"link",a),e.head.appendChild(n),l.instance=n);case"void":return null;default:throw Error(r(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(a=l.instance,l.state.loading|=4,Qu(a,t.precedence,e));return l.instance}function Qu(e,l,t){for(var a=t.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,c=0;c<a.length;c++){var s=a[c];if(s.dataset.precedence===l)u=s;else if(u!==n)break}u?u.parentNode.insertBefore(e,u.nextSibling):(l=t.nodeType===9?t.head:t,l.insertBefore(e,l.firstChild))}function ss(e,l){e.crossOrigin==null&&(e.crossOrigin=l.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=l.referrerPolicy),e.title==null&&(e.title=l.title)}function fs(e,l){e.crossOrigin==null&&(e.crossOrigin=l.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=l.referrerPolicy),e.integrity==null&&(e.integrity=l.integrity)}var Lu=null;function v0(e,l,t){if(Lu===null){var a=new Map,n=Lu=new Map;n.set(t,a)}else n=Lu,a=n.get(t),a||(a=new Map,n.set(t,a));if(a.has(e))return a;for(a.set(e,null),t=t.getElementsByTagName(e),n=0;n<t.length;n++){var u=t[n];if(!(u[Qa]||u[Fe]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var c=u.getAttribute(l)||"";c=e+c;var s=a.get(c);s?s.push(u):a.set(c,[u])}}return a}function b0(e,l,t){e=e.ownerDocument||e,e.head.insertBefore(t,l==="title"?e.querySelector("head > title"):null)}function gh(e,l,t){if(t===1||l.itemProp!=null)return!1;switch(e){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 e=l.disabled,typeof l.precedence=="string"&&e==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 p0(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function vh(e,l,t,a){if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&4)===0){if(t.instance===null){var n=Ha(a.href),u=l.querySelector(_n(n));if(u){l=u._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(e.count++,e=Zu.bind(e),l.then(e,e)),t.state.loading|=4,t.instance=u,$e(u);return}u=l.ownerDocument||l,a=x0(a),(n=Hl.get(n))&&ss(a,n),u=u.createElement("link"),$e(u);var c=u;c._p=new Promise(function(s,f){c.onload=s,c.onerror=f}),ll(u,"link",a),t.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(t,l),(l=t.state.preload)&&(t.state.loading&3)===0&&(e.count++,t=Zu.bind(e),l.addEventListener("load",t),l.addEventListener("error",t))}}var rs=0;function bh(e,l){return e.stylesheets&&e.count===0&&Ju(e,e.stylesheets),0<e.count||0<e.imgCount?function(t){var a=setTimeout(function(){if(e.stylesheets&&Ju(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+l);0<e.imgBytes&&rs===0&&(rs=62500*Pm());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ju(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>rs?50:800)+l);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function Zu(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ju(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Ku=null;function Ju(e,l){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Ku=new Map,l.forEach(ph,e),Ku=null,Zu.call(e))}function ph(e,l){if(!(l.state.loading&4)){var t=Ku.get(e);if(t)var a=t.get(null);else{t=new Map,Ku.set(e,t);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var c=n[u];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(t.set(c.dataset.precedence,c),a=c)}a&&t.set(null,a)}n=l.instance,c=n.getAttribute("data-precedence"),u=t.get(c)||a,u===a&&t.set(null,n),t.set(c,n),this.count++,a=Zu.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),l.state.loading|=4}}var Tn={$$typeof:ue,Provider:null,Consumer:null,_currentValue:J,_currentValue2:J,_threadCount:0};function jh(e,l,t,a,n,u,c,s,f){this.tag=1,this.containerInfo=e,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=ui(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ui(0),this.hiddenUpdates=ui(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.incompleteTransitions=new Map}function j0(e,l,t,a,n,u,c,s,f,x,j,S){return e=new jh(e,l,t,c,f,x,j,S,s),l=1,u===!0&&(l|=24),u=vl(3,null,null,l),e.current=u,u.stateNode=e,l=Qi(),l.refCount++,e.pooledCache=l,l.refCount++,u.memoizedState={element:a,isDehydrated:t,cache:l},Ji(u),e}function N0(e){return e?(e=ma,e):ma}function S0(e,l,t,a,n,u){n=N0(n),a.context===null?a.context=n:a.pendingContext=n,a=xt(l),a.payload={element:t},u=u===void 0?null:u,u!==null&&(a.callback=u),t=gt(e,a,l),t!==null&&(dl(t,e,l),cn(t,e,l))}function z0(e,l){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<l?t:l}}function os(e,l){z0(e,l),(e=e.alternate)&&z0(e,l)}function M0(e){if(e.tag===13||e.tag===31){var l=Gt(e,67108864);l!==null&&dl(l,e,67108864),os(e,67108864)}}function E0(e){if(e.tag===13||e.tag===31){var l=Sl();l=ii(l);var t=Gt(e,l);t!==null&&dl(t,e,l),os(e,l)}}var ku=!0;function Nh(e,l,t,a){var n=b.T;b.T=null;var u=T.p;try{T.p=2,ds(e,l,t,a)}finally{T.p=u,b.T=n}}function Sh(e,l,t,a){var n=b.T;b.T=null;var u=T.p;try{T.p=8,ds(e,l,t,a)}finally{T.p=u,b.T=n}}function ds(e,l,t,a){if(ku){var n=ms(a);if(n===null)Ic(e,l,a,$u,t),A0(e,a);else if(Mh(n,e,l,t,a))a.stopPropagation();else if(A0(e,a),l&4&&-1<zh.indexOf(e)){for(;n!==null;){var u=ta(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=wt(u.pendingLanes);if(c!==0){var s=u;for(s.pendingLanes|=2,s.entangledLanes|=2;c;){var f=1<<31-xl(c);s.entanglements[1]|=f,c&=~f}Xl(u),(ve&6)===0&&(Du=hl()+500,Sn(0))}}break;case 31:case 13:s=Gt(u,2),s!==null&&dl(s,u,2),Cu(),os(u,2)}if(u=ms(a),u===null&&Ic(e,l,a,$u,t),u===n)break;n=u}n!==null&&a.stopPropagation()}else Ic(e,l,a,null,t)}}function ms(e){return e=yi(e),hs(e)}var $u=null;function hs(e){if($u=null,e=la(e),e!==null){var l=A(e);if(l===null)e=null;else{var t=l.tag;if(t===13){if(e=k(l),e!==null)return e;e=null}else if(t===31){if(e=Z(l),e!==null)return e;e=null}else if(t===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;e=null}else l!==e&&(e=null)}}return $u=e,null}function _0(e){switch(e){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(fd()){case Cs:return 2;case ws:return 8;case Bn:case rd:return 32;case Hs:return 268435456;default:return 32}default:return 32}}var ys=!1,At=null,Tt=null,Ot=null,On=new Map,Dn=new Map,Dt=[],zh="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 A0(e,l){switch(e){case"focusin":case"focusout":At=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":Ot=null;break;case"pointerover":case"pointerout":On.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dn.delete(l.pointerId)}}function Un(e,l,t,a,n,u){return e===null||e.nativeEvent!==u?(e={blockedOn:l,domEventName:t,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},l!==null&&(l=ta(l),l!==null&&M0(l)),e):(e.eventSystemFlags|=a,l=e.targetContainers,n!==null&&l.indexOf(n)===-1&&l.push(n),e)}function Mh(e,l,t,a,n){switch(l){case"focusin":return At=Un(At,e,l,t,a,n),!0;case"dragenter":return Tt=Un(Tt,e,l,t,a,n),!0;case"mouseover":return Ot=Un(Ot,e,l,t,a,n),!0;case"pointerover":var u=n.pointerId;return On.set(u,Un(On.get(u)||null,e,l,t,a,n)),!0;case"gotpointercapture":return u=n.pointerId,Dn.set(u,Un(Dn.get(u)||null,e,l,t,a,n)),!0}return!1}function T0(e){var l=la(e.target);if(l!==null){var t=A(l);if(t!==null){if(l=t.tag,l===13){if(l=k(t),l!==null){e.blockedOn=l,Vs(e.priority,function(){E0(t)});return}}else if(l===31){if(l=Z(t),l!==null){e.blockedOn=l,Vs(e.priority,function(){E0(t)});return}}else if(l===3&&t.stateNode.current.memoizedState.isDehydrated){e.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Wu(e){if(e.blockedOn!==null)return!1;for(var l=e.targetContainers;0<l.length;){var t=ms(e.nativeEvent);if(t===null){t=e.nativeEvent;var a=new t.constructor(t.type,t);hi=a,t.target.dispatchEvent(a),hi=null}else return l=ta(t),l!==null&&M0(l),e.blockedOn=t,!1;l.shift()}return!0}function O0(e,l,t){Wu(e)&&t.delete(l)}function Eh(){ys=!1,At!==null&&Wu(At)&&(At=null),Tt!==null&&Wu(Tt)&&(Tt=null),Ot!==null&&Wu(Ot)&&(Ot=null),On.forEach(O0),Dn.forEach(O0)}function Fu(e,l){e.blockedOn===l&&(e.blockedOn=null,ys||(ys=!0,d.unstable_scheduleCallback(d.unstable_NormalPriority,Eh)))}var Iu=null;function D0(e){Iu!==e&&(Iu=e,d.unstable_scheduleCallback(d.unstable_NormalPriority,function(){Iu===e&&(Iu=null);for(var l=0;l<e.length;l+=3){var t=e[l],a=e[l+1],n=e[l+2];if(typeof a!="function"){if(hs(a||t)===null)continue;break}var u=ta(t);u!==null&&(e.splice(l,3),l-=3,mc(u,{pending:!0,data:n,method:t.method,action:a},a,n))}}))}function qa(e){function l(f){return Fu(f,e)}At!==null&&Fu(At,e),Tt!==null&&Fu(Tt,e),Ot!==null&&Fu(Ot,e),On.forEach(l),Dn.forEach(l);for(var t=0;t<Dt.length;t++){var a=Dt[t];a.blockedOn===e&&(a.blockedOn=null)}for(;0<Dt.length&&(t=Dt[0],t.blockedOn===null);)T0(t),t.blockedOn===null&&Dt.shift();if(t=(e.ownerDocument||e).$$reactFormReplay,t!=null)for(a=0;a<t.length;a+=3){var n=t[a],u=t[a+1],c=n[il]||null;if(typeof u=="function")c||D0(t);else if(c){var s=null;if(u&&u.hasAttribute("formAction")){if(n=u,c=u[il]||null)s=c.formAction;else if(hs(n)!==null)continue}else s=c.action;typeof s=="function"?t[a+1]=s:(t.splice(a,3),a-=3),D0(t)}}}function U0(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(c){return n=c})},focusReset:"manual",scroll:"manual"})}function l(){n!==null&&(n(),n=null),a||setTimeout(t,20)}function t(){if(!a&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(t,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),n!==null&&(n(),n=null)}}}function xs(e){this._internalRoot=e}Pu.prototype.render=xs.prototype.render=function(e){var l=this._internalRoot;if(l===null)throw Error(r(409));var t=l.current,a=Sl();S0(t,a,e,l,null,null)},Pu.prototype.unmount=xs.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var l=e.containerInfo;S0(e.current,2,null,e,null,null),Cu(),l[ea]=null}};function Pu(e){this._internalRoot=e}Pu.prototype.unstable_scheduleHydration=function(e){if(e){var l=Ys();e={blockedOn:null,target:e,priority:l};for(var t=0;t<Dt.length&&l!==0&&l<Dt[t].priority;t++);Dt.splice(t,0,e),t===0&&T0(e)}};var C0=_.version;if(C0!=="19.2.3")throw Error(r(527,C0,"19.2.3"));T.findDOMNode=function(e){var l=e._reactInternals;if(l===void 0)throw typeof e.render=="function"?Error(r(188)):(e=Object.keys(e).join(","),Error(r(268,e)));return e=p(l),e=e!==null?Y(e):null,e=e===null?null:e.stateNode,e};var _h={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:b,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ei=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ei.isDisabled&&ei.supportsFiber)try{Ya=ei.inject(_h),yl=ei}catch{}}return wn.createRoot=function(e,l){if(!w(e))throw Error(r(299));var t=!1,a="",n=Gr,u=Yr,c=Vr;return l!=null&&(l.unstable_strictMode===!0&&(t=!0),l.identifierPrefix!==void 0&&(a=l.identifierPrefix),l.onUncaughtError!==void 0&&(n=l.onUncaughtError),l.onCaughtError!==void 0&&(u=l.onCaughtError),l.onRecoverableError!==void 0&&(c=l.onRecoverableError)),l=j0(e,1,!1,null,null,t,a,null,n,u,c,U0),e[ea]=l.current,Fc(e),new xs(l)},wn.hydrateRoot=function(e,l,t){if(!w(e))throw Error(r(299));var a=!1,n="",u=Gr,c=Yr,s=Vr,f=null;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(u=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(s=t.onRecoverableError),t.formState!==void 0&&(f=t.formState)),l=j0(e,1,!0,l,t??null,a,n,f,u,c,s,U0),l.context=N0(null),t=l.current,a=Sl(),a=ii(a),n=xt(a),n.callback=null,gt(t,n,a),t=a,l.current.lanes=t,Xa(l,t),Xl(l),e[ea]=l.current,Fc(e),new Pu(l)},wn.version="19.2.3",wn}var Q0;function Bh(){if(Q0)return bs.exports;Q0=1;function d(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(d)}catch(_){console.error(_)}}return d(),bs.exports=qh(),bs.exports}var Gh=Bh();const Yh=F0(Gh);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Vh=d=>d.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Xh=d=>d.replace(/^([A-Z])|[\s-_]+(\w)/g,(_,M,r)=>r?r.toUpperCase():M.toLowerCase()),L0=d=>{const _=Xh(d);return _.charAt(0).toUpperCase()+_.slice(1)},I0=(...d)=>d.filter((_,M,r)=>!!_&&_.trim()!==""&&r.indexOf(_)===M).join(" ").trim(),Qh=d=>{for(const _ in d)if(_.startsWith("aria-")||_==="role"||_==="title")return!0};/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var Lh={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"};/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Zh=G.forwardRef(({color:d="currentColor",size:_=24,strokeWidth:M=2,absoluteStrokeWidth:r,className:w="",children:A,iconNode:k,...Z},E)=>G.createElement("svg",{ref:E,...Lh,width:_,height:_,stroke:d,strokeWidth:r?Number(M)*24/Number(_):M,className:I0("lucide",w),...!A&&!Qh(Z)&&{"aria-hidden":"true"},...Z},[...k.map(([p,Y])=>G.createElement(p,Y)),...Array.isArray(A)?A:[A]]));/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Q=(d,_)=>{const M=G.forwardRef(({className:r,...w},A)=>G.createElement(Zh,{ref:A,iconNode:_,className:I0(`lucide-${Vh(L0(d))}`,`lucide-${d}`,r),...w}));return M.displayName=L0(d),M};/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Kh=[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]],Jh=Q("bot",Kh);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const kh=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],Es=Q("box",kh);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $h=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Ss=Q("check",$h);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Wh=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],_s=Q("chevron-down",Wh);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Fh=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Ih=Q("chevron-left",Fh);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ph=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],e1=Q("circle-alert",Ph);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const l1=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],Z0=Q("circle-x",l1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const t1=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],a1=Q("copy",t1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const n1=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],u1=Q("credit-card",n1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const i1=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],As=Q("download",i1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const c1=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],s1=Q("ellipsis",c1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const f1=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],r1=Q("external-link",f1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const o1=[["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:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Ts=Q("file-text",o1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const d1=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],K0=Q("history",d1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const m1=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],P0=Q("image",m1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const h1=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],y1=Q("info",h1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const x1=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],g1=Q("key-round",x1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const v1=[["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"}]],b1=Q("languages",v1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const p1=[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]],j1=Q("laptop",p1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const N1=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],S1=Q("layers",N1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const z1=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],ed=Q("lightbulb",z1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const M1=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],E1=Q("link",M1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _1=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],J0=Q("loader-circle",_1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const A1=[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]],ld=Q("log-in",A1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const T1=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],O1=Q("log-out",T1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const D1=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],U1=Q("maximize-2",D1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const C1=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M7 11h10",key:"1twpyw"}],["path",{d:"M7 15h6",key:"d9of3u"}],["path",{d:"M7 7h8",key:"af5zfr"}]],w1=Q("message-square-text",C1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const H1=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],R1=Q("mic",H1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const q1=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],B1=Q("monitor",q1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const G1=[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],li=Q("music",G1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Y1=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],Os=Q("pause",Y1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const V1=[["path",{d:"M15.707 21.293a1 1 0 0 1-1.414 0l-1.586-1.586a1 1 0 0 1 0-1.414l5.586-5.586a1 1 0 0 1 1.414 0l1.586 1.586a1 1 0 0 1 0 1.414z",key:"nt11vn"}],["path",{d:"m18 13-1.375-6.874a1 1 0 0 0-.746-.776L3.235 2.028a1 1 0 0 0-1.207 1.207L5.35 15.879a1 1 0 0 0 .776.746L13 18",key:"15qc1e"}],["path",{d:"m2.3 2.3 7.286 7.286",key:"1wuzzi"}],["circle",{cx:"11",cy:"11",r:"2",key:"xmgehs"}]],X1=Q("pen-tool",V1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Q1=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],It=Q("play",Q1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const L1=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Rn=Q("plus",L1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Z1=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],K1=Q("refresh-cw",Z1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const J1=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],k1=Q("send",J1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const $1=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],zs=Q("share-2",$1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const W1=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],F1=Q("shield",W1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const I1=[["path",{d:"M17.971 4.285A2 2 0 0 1 21 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z",key:"15892j"}],["path",{d:"M3 20V4",key:"1ptbpl"}]],P1=Q("skip-back",I1);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ey=[["path",{d:"M21 4v16",key:"7j8fe9"}],["path",{d:"M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z",key:"zs4d6"}]],ly=Q("skip-forward",ey);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ty=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],ay=Q("smartphone",ty);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ny=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],qn=Q("sparkles",ny);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const uy=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],k0=Q("star",uy);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const iy=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],cy=Q("tag",iy);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const sy=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],$0=Q("trash-2",sy);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const fy=[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]],ry=Q("type",fy);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const oy=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],dy=Q("upload",oy);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const my=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],hy=Q("user",my);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const yy=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],Us=Q("video",yy);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const xy=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],gy=Q("volume-2",xy);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const vy=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],by=Q("wallet",vy);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const py=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],td=Q("wand-sparkles",py);/**
* @license lucide-react v0.561.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const jy=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Ba=Q("x",jy);var C=(d=>(d.VIDEO="video",d.IMAGE="image",d.TEXT="text",d.MUSIC="music",d))(C||{}),zl=(d=>(d.IDLE="idle",d.WAITING="waiting",d.GENERATING="generating",d.COMPLETED="completed",d.FAILED="failed",d))(zl||{});const Ny=15,Sy=({activeTab:d,setActiveTab:_,onOpenUserModal:M})=>{const r=w=>`
flex items-center gap-3 px-4 py-3 cursor-pointer transition-colors duration-200 text-sm font-medium rounded-lg mx-2
${d===w?"bg-blue-600 text-white shadow-md":"text-gray-600 hover:bg-gray-100"}
`;return i.jsxs("div",{className:"w-64 bg-white h-screen flex flex-col border-r border-gray-200 flex-shrink-0 z-20 font-sans",children:[i.jsx("div",{className:"h-16 flex items-center px-6 border-b border-gray-100",children:i.jsxs("div",{className:"flex items-center gap-2 font-bold text-xl text-gray-800 tracking-tight",children:[i.jsx(S1,{className:"text-blue-600",size:24}),i.jsx("span",{children:"朴见潮音"})]})}),i.jsxs("nav",{className:"flex-1 py-4 flex flex-col gap-1",children:[i.jsxs("div",{className:r(C.VIDEO),onClick:()=>_(C.VIDEO),children:[i.jsx(Us,{size:18}),i.jsx("span",{children:"Sora2 视频"})]}),i.jsxs("div",{className:r(C.MUSIC),onClick:()=>_(C.MUSIC),children:[i.jsx(li,{size:18}),i.jsx("span",{children:"Suno 音乐"})]}),i.jsxs("div",{className:r(C.IMAGE),onClick:()=>_(C.IMAGE),children:[i.jsx(P0,{size:18}),i.jsx("span",{children:"Nano Banana 图片"})]}),i.jsxs("div",{className:r(C.TEXT),onClick:()=>_(C.TEXT),children:[i.jsx(w1,{size:18}),i.jsx("span",{children:"Gemini 文本"})]}),i.jsxs("div",{className:"mt-12 flex flex-col items-center justify-center text-gray-300 gap-2",children:[i.jsx(Es,{size:48,strokeWidth:1}),i.jsx("span",{className:"text-xs",children:"暂无创作记录"})]})]}),i.jsx("div",{className:"p-4 border-t border-gray-200 bg-gray-50",children:i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("div",{className:"flex items-center gap-2 cursor-pointer hover:opacity-80 transition-opacity",onClick:()=>M("recharge"),children:[i.jsx("div",{className:"w-8 h-8 rounded-full bg-blue-600 flex items-center justify-center text-white text-xs font-bold",children:"用"}),i.jsxs("div",{className:"flex flex-col",children:[i.jsx("span",{className:"text-xs font-bold text-gray-700",children:"用户0666"}),i.jsx("span",{className:"text-[10px] text-blue-500 font-semibold",children:"4980 积分"})]})]}),i.jsx(O1,{size:16,className:"text-gray-400 cursor-pointer hover:text-red-500 transition-colors",onClick:()=>M("login")})]})})]})},Hn=async()=>!0,Ga=async()=>{const d=window;d.aistudio&&d.aistudio.openSelectKey?await d.aistudio.openSelectKey():console.log("API Key selection skipped for simulation.")},ad=async(d,_,M)=>(console.log("Simulating Video Generation...",{prompt:d,config:_}),await new Promise(r=>setTimeout(r,3e3)),"https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4"),nd=async(d,_,M)=>(console.log("Simulating Image Generation...",{prompt:d,config:_}),await new Promise(w=>setTimeout(w,2e3)),`https://picsum.photos/seed/${Math.floor(Math.random()*1e3)}/1024/1024`),zy=async d=>(await new Promise(_=>setTimeout(_,1500)),`(Verse 1)
Neon lights are calling my name
In the city of digital rain
Walking through the static noise
Searching for a brand new voice
(Chorus)
Cyber heart, electric soul
Programming the rock and roll
System glitch in the melody
This is our virtual destiny`),ud=async(d,_,M,r)=>{console.log("Simulating Music Generation...",{lyrics:d,style:_,isInstrumental:M,title:r}),await new Promise(A=>setTimeout(A,3e3));const w=[{id:Date.now(),title:r?`${r} (Ver 1)`:"Untitled Song (Ver 1)",style:_||"Pop",url:"https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3",cover:`https://picsum.photos/seed/${Math.random()}/200/200`,lyrics:d||"[Instrumental]"},{id:Date.now()+1,title:r?`${r} (Ver 2)`:"Untitled Song (Ver 2)",style:_||"Pop",url:"https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3",cover:`https://picsum.photos/seed/${Math.random()+1}/200/200`,lyrics:d||"[Instrumental]"}];return JSON.stringify(w)},My=async function*(d,_,M){const A=((k,Z)=>{const E=[];for(let p=0;p<k.length;p+=Z)E.push(k.slice(p,p+Z));return E})("这是一个模拟的回复。在实际应用中这里会调用Gemini API返回真实内容。Gemini 是谷歌最强大的多模态AI模型能够处理文本、图像、视频和音频。",5);for(const k of A)await new Promise(Z=>setTimeout(Z,100)),yield k},Ey=({config:d,setConfig:_,onBatchGenerate:M,onDelete:r,generating:w,viewMode:A,setViewMode:k,activeTab:Z,onNewChat:E,onOpenDigitalManager:p})=>Z===C.TEXT?i.jsxs("div",{className:"bg-white px-6 py-4 border-b border-gray-200 flex items-center justify-between shadow-sm sticky top-0 z-10 min-h-[72px]",children:[i.jsxs("div",{className:"flex items-center gap-4",children:[i.jsxs("div",{className:"flex items-center gap-2 font-bold text-lg text-gray-800",children:[i.jsx(qn,{className:"text-gray-700",size:20}),i.jsx("span",{children:"Gemini"})]}),i.jsxs("div",{className:"relative group",children:[i.jsxs("select",{className:"appearance-none bg-gray-50 border border-gray-200 text-gray-700 text-sm rounded-lg pl-4 pr-10 py-2 focus:outline-none focus:ring-1 focus:ring-blue-500 hover:bg-gray-100 transition-colors cursor-pointer min-w-[220px]",value:d.textModel,onChange:Y=>_({...d,textModel:Y.target.value}),children:[i.jsx("option",{value:"gemini-flash-lite",children:"Gemini 2.5 Flash Lite (快速)"}),i.jsx("option",{value:"gemini-flash",children:"Gemini 2.5 Flash (均衡)"}),i.jsx("option",{value:"gemini-pro",children:"Gemini 2.0 Pro (强大)"})]}),i.jsx("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-3 text-gray-500",children:i.jsx(_s,{size:14})})]})]}),i.jsxs("button",{onClick:E,className:"bg-blue-600 text-white px-4 py-2 rounded-lg text-sm font-medium hover:bg-blue-700 transition-colors shadow-sm flex items-center gap-2",children:[i.jsx(Rn,{size:16}),"新建对话"]})]}):i.jsxs("div",{className:"bg-white px-6 py-4 border-b border-gray-200 flex items-center justify-between shadow-sm sticky top-0 z-10 min-h-[72px]",children:[i.jsxs("div",{className:"flex items-center gap-4 flex-wrap",children:[i.jsxs("div",{className:"flex bg-gray-100 rounded-lg p-1",children:[i.jsx("button",{onClick:()=>k("efficiency"),className:`px-3 py-1 rounded text-xs font-medium transition-all ${A==="efficiency"?"bg-gray-800 text-white shadow-sm":"text-gray-500 hover:text-gray-700"}`,children:"效率"}),i.jsx("button",{onClick:()=>k("simple"),className:`px-3 py-1 rounded text-xs font-medium transition-all ${A==="simple"?"bg-gray-800 text-white shadow-sm":"text-gray-500 hover:text-gray-700"}`,children:"简约"})]}),Z===C.VIDEO&&i.jsxs("button",{onClick:p,className:"px-3 py-1.5 rounded-full bg-purple-100 text-purple-700 text-xs font-bold flex items-center gap-1 border border-purple-200 hover:bg-purple-200 transition-colors cursor-pointer",title:"管理数字人物",children:[i.jsx(td,{size:12})," 数字对象"]}),A==="efficiency"&&Z!==C.MUSIC&&i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 animate-in fade-in slide-in-from-left-4 duration-300",children:[i.jsx("label",{children:"比例"}),i.jsxs("select",{className:"border border-gray-300 rounded px-2 py-1.5 bg-white text-gray-700 focus:outline-none focus:ring-1 focus:ring-blue-500 min-w-[120px]",value:d.aspectRatio,onChange:Y=>_({...d,aspectRatio:Y.target.value}),children:[i.jsx("option",{value:"9:16",children:"9:16 竖屏"}),i.jsx("option",{value:"16:9",children:"16:9 横屏"}),i.jsx("option",{value:"1:1",children:"1:1 方形"})]})]}),Z===C.VIDEO&&i.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 animate-in fade-in slide-in-from-left-4 duration-300 delay-75",children:[i.jsx("label",{children:"时长"}),i.jsxs("select",{className:"border border-gray-300 rounded px-2 py-1.5 bg-white text-gray-700 focus:outline-none focus:ring-1 focus:ring-blue-500",value:d.duration,onChange:Y=>_({...d,duration:Y.target.value}),children:[i.jsx("option",{value:"5s",children:"5s"}),i.jsx("option",{value:"10s",children:"10s"}),i.jsx("option",{value:"15s",children:"15s"})]})]}),i.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-600 animate-in fade-in slide-in-from-left-4 duration-300 delay-100",children:[i.jsx("label",{children:"清晰度"}),i.jsxs("select",{className:"border border-gray-300 rounded px-2 py-1.5 bg-white text-gray-700 focus:outline-none focus:ring-1 focus:ring-blue-500",value:d.resolution,onChange:Y=>_({...d,resolution:Y.target.value}),children:[i.jsx("option",{value:"HD",children:"高清"}),i.jsx("option",{value:"4K",children:"4K 超清"}),Z===C.IMAGE&&i.jsx("option",{value:"2K",children:"2K 高清"})]})]})]})]}),i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsxs("button",{onClick:Ga,className:"text-xs text-gray-500 hover:text-blue-600 flex items-center gap-1 underline",children:[i.jsx(g1,{size:12})," API Key"]}),A==="efficiency"&&i.jsxs(i.Fragment,{children:[i.jsx("button",{onClick:M,disabled:w,className:`px-5 py-1.5 rounded-full text-sm font-medium transition-colors shadow-sm animate-in fade-in zoom-in-95
${w?"bg-gray-300 text-gray-500 cursor-not-allowed":"bg-gray-200 text-gray-700 hover:bg-gray-300 hover:text-gray-900"}`,children:w?"生成中...":"批量生成"}),i.jsx("button",{onClick:r,className:"px-5 py-1.5 bg-gray-100 text-gray-500 rounded-full text-sm font-medium hover:bg-red-50 hover:text-red-600 transition-colors animate-in fade-in zoom-in-95",children:"删除"})]})]})]}),_y=()=>i.jsxs("div",{className:"bg-blue-50 border-b border-blue-100 px-6 py-2 flex items-center justify-between text-xs text-blue-700",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(y1,{size:14,className:"text-blue-500"}),i.jsxs("span",{children:[i.jsx("span",{className:"font-bold",children:"快捷键:"})," 选中单行或多行后使用",i.jsx("span",{className:"mx-1 px-1.5 py-0.5 bg-white border border-blue-200 rounded text-[10px] font-mono shadow-sm",children:"Ctrl+C"})," 复制,",i.jsx("span",{className:"mx-1 px-1.5 py-0.5 bg-white border border-blue-200 rounded text-[10px] font-mono shadow-sm",children:"Ctrl+V"})," 粘贴. 如需粘贴到指定行,请先选中目标行。(支持外部图片复制粘贴)"]})]}),i.jsx("button",{className:"text-blue-400 hover:text-blue-600",children:i.jsx(Ba,{size:14})})]}),Ay=({task:d,activeTab:_,onChange:M,onGenerate:r,onClear:w})=>{const A=G.useRef(null),k=E=>{var Y;const p=(Y=E.target.files)==null?void 0:Y[0];if(p){const D=new FileReader;D.onloadend=()=>{M(d.id,"referenceImage",D.result)},D.readAsDataURL(p)}},Z=()=>{switch(d.status){case zl.GENERATING:return i.jsxs("span",{className:"text-blue-600 animate-pulse flex items-center gap-1 text-xs",children:[i.jsx(K1,{size:12,className:"animate-spin"})," 生成中"]});case zl.COMPLETED:return i.jsx("span",{className:"text-green-600 font-medium text-xs",children:"完成"});case zl.FAILED:return i.jsxs("span",{className:"text-red-500 flex items-center gap-1 text-xs",children:[i.jsx(Z0,{size:12})," 失败"]});default:return i.jsx("span",{className:"text-gray-400 text-xs",children:"等待"})}};return i.jsxs("div",{className:`flex items-center border-b border-gray-100 hover:bg-gray-50 transition-colors group h-14 text-sm ${d.selected?"bg-blue-50/30":""}`,children:[i.jsx("div",{className:"w-12 flex justify-center flex-shrink-0 border-r border-gray-100 h-full items-center",children:i.jsx("input",{type:"checkbox",checked:d.selected,onChange:E=>M(d.id,"selected",E.target.checked),className:"w-4 h-4 rounded border-gray-300 text-blue-600 focus:ring-blue-500"})}),i.jsx("div",{className:"w-12 flex justify-center flex-shrink-0 border-r border-gray-100 h-full items-center text-gray-400 text-xs",children:d.id}),_===C.MUSIC?i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"flex-1 border-r border-gray-100 h-full",children:i.jsx("input",{type:"text",value:d.prompt,onChange:E=>M(d.id,"prompt",E.target.value),placeholder:"输入歌词或描述...",className:"w-full h-full px-3 bg-transparent focus:outline-none focus:bg-white focus:ring-2 focus:ring-inset focus:ring-blue-100 text-gray-700 placeholder-gray-400 text-xs"})}),i.jsx("div",{className:"w-32 border-r border-gray-100 h-full",children:i.jsx("input",{type:"text",value:d.musicStyle||"",onChange:E=>M(d.id,"musicStyle",E.target.value),placeholder:"风格 (Pop...)",className:"w-full h-full px-3 bg-transparent focus:outline-none focus:bg-white focus:ring-2 focus:ring-inset focus:ring-blue-100 text-gray-700 placeholder-gray-400 text-xs"})}),i.jsx("div",{className:"w-32 border-r border-gray-100 h-full",children:i.jsx("input",{type:"text",value:d.musicTitle||"",onChange:E=>M(d.id,"musicTitle",E.target.value),placeholder:"标题...",className:"w-full h-full px-3 bg-transparent focus:outline-none focus:bg-white focus:ring-2 focus:ring-inset focus:ring-blue-100 text-gray-700 placeholder-gray-400 text-xs"})}),i.jsx("div",{className:"w-16 border-r border-gray-100 h-full flex items-center justify-center",children:i.jsxs("div",{className:"flex flex-col items-center justify-center gap-1 cursor-pointer",onClick:()=>M(d.id,"isInstrumental",!d.isInstrumental),children:[i.jsx("div",{className:`w-4 h-4 border rounded flex items-center justify-center transition-colors ${d.isInstrumental?"bg-blue-600 border-blue-600":"border-gray-300 bg-white"}`,children:d.isInstrumental&&i.jsx(li,{size:10,className:"text-white"})}),i.jsx("span",{className:"text-[10px] text-gray-500",children:"纯音"})]})})]}):i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"flex-1 border-r border-gray-100 h-full",children:i.jsx("input",{type:"text",value:d.prompt,onChange:E=>M(d.id,"prompt",E.target.value),placeholder:"请输入提示词...",className:"w-full h-full px-4 bg-transparent focus:outline-none focus:bg-white focus:ring-2 focus:ring-inset focus:ring-blue-100 transition-all text-gray-700 placeholder-gray-400"})}),i.jsx("div",{className:"w-32 border-r border-gray-100 h-full flex items-center justify-center p-2",children:i.jsxs("div",{onClick:()=>{var E;return(E=A.current)==null?void 0:E.click()},className:"w-full h-full border border-dashed border-gray-300 rounded hover:border-blue-400 hover:bg-blue-50 cursor-pointer flex items-center justify-center overflow-hidden relative transition-colors",children:[d.referenceImage?i.jsx("img",{src:d.referenceImage,alt:"Ref",className:"w-full h-full object-cover"}):i.jsx(Rn,{size:16,className:"text-gray-400"}),i.jsx("input",{type:"file",ref:A,className:"hidden",accept:"image/*",onChange:k})]})})]}),i.jsx("div",{className:"w-24 border-r border-gray-100 h-full flex items-center justify-center px-2",children:Z()}),i.jsxs("div",{className:"w-20 border-r border-gray-100 h-full flex items-center justify-center gap-1",children:[i.jsx("button",{className:"text-gray-400 hover:text-gray-600 px-1",onClick:()=>{d.count>1&&M(d.id,"count",d.count-1)},children:"-"}),i.jsx("span",{className:"text-gray-600 text-xs w-4 text-center",children:d.count}),i.jsx("button",{className:"text-gray-400 hover:text-gray-600 px-1",onClick:()=>{M(d.id,"count",d.count+1)},children:"+"})]}),i.jsxs("div",{className:"w-28 h-full flex items-center justify-center gap-2 px-2",children:[d.status===zl.COMPLETED&&d.resultUrl?i.jsx("button",{onClick:()=>{alert("批量模式下请在生成记录或详细视图查看结果")},className:"px-3 py-1 bg-green-100 text-green-700 text-xs rounded hover:bg-green-200",children:"查看结果"}):i.jsx("button",{onClick:()=>r(d.id),disabled:d.status===zl.GENERATING||!d.prompt,className:`px-3 py-1 rounded text-xs font-medium transition-colors
${d.status===zl.GENERATING||!d.prompt?"bg-gray-200 text-gray-400 cursor-not-allowed":"bg-gray-200 text-gray-600 hover:bg-blue-500 hover:text-white"}`,children:"生成"}),i.jsx("button",{onClick:()=>w(d.id),className:"text-xs text-gray-400 hover:text-red-500",children:i.jsx(Z0,{size:14})})]})]})},Ty=({config:d,setConfig:_,activeTab:M})=>{const[r,w]=G.useState(""),[A,k]=G.useState(""),[Z,E]=G.useState(""),[p,Y]=G.useState(!1),[D,R]=G.useState(1),[se,Se]=G.useState(null),[ge,Ue]=G.useState(!1),[be,$]=G.useState([]),[ue,L]=G.useState(null),[me,V]=G.useState(!1),[P,Je]=G.useState(null),[al,Ml]=G.useState(null),[qe,W]=G.useState(null),[pe,te]=G.useState(!1),oe=G.useRef(null),[b,T]=G.useState(!1),[J,je]=G.useState(""),Ne=G.useRef(null);G.useEffect(()=>()=>{oe.current&&(oe.current.pause(),oe.current=null)},[]),G.useEffect(()=>{oe.current&&(oe.current.playbackRate=D)},[D]);const m=O=>{var Ce;const ne=(Ce=O.target.files)==null?void 0:Ce[0];if(ne){const _e=new FileReader;_e.onloadend=()=>{L(_e.result)},_e.readAsDataURL(ne)}},z=async()=>{if(!Z&&!A){alert("请输入标题或风格以便AI生成歌词");return}Ue(!0);try{const O=await zy(Z+" "+A);w(O)}catch(O){console.error(O)}finally{Ue(!1)}},U=async()=>{if(M===C.MUSIC&&!p&&!r||M===C.MUSIC&&p&&!A||M!==C.MUSIC&&!r)return;if(!await Hn()){await Ga();return}if(V(!0),Ml(null),Je(null),M===C.MUSIC){const ne=Date.now().toString(),Ce=(Date.now()+1).toString(),_e=[{id:ne,title:Z||"Generating...",style:A,url:"",cover:"",lyrics:r,duration:"--:--",status:"generating",createdAt:Date.now(),isExtension:!!se},{id:Ce,title:Z||"Generating...",style:A,url:"",cover:"",lyrics:r,duration:"--:--",status:"generating",createdAt:Date.now(),isExtension:!!se}];$(ul=>[..._e,...ul]);try{const ul=await ud(r,A,p,Z),ml=JSON.parse(ul);$(ct=>ct.map(Pt=>Pt.id===ne&&ml[0]?{...ml[0],status:"completed",duration:"3:45",createdAt:Date.now(),isExtension:!!se,parentTrackId:se==null?void 0:se.id}:Pt.id===Ce&&ml[1]?{...ml[1],status:"completed",duration:"3:45",createdAt:Date.now(),isExtension:!!se,parentTrackId:se==null?void 0:se.id}:Pt)),Se(null)}catch(ul){$(ml=>ml.map(ct=>ct.id===ne||ct.id===Ce?{...ct,status:"failed"}:ct)),Ml(ul.message)}finally{V(!1)}return}try{let ne="";M===C.VIDEO?ne=await ad(r,d,ue):M===C.IMAGE&&(ne=await nd(r,d,ue)),Je(ne)}catch(ne){Ml(ne.message||"生成失败")}finally{V(!1)}},q=O=>{var ne,Ce;if(O.status==="completed")if((qe==null?void 0:qe.id)===O.id)if(pe)(ne=oe.current)==null||ne.pause(),te(!1);else{const _e=(Ce=oe.current)==null?void 0:Ce.play();_e!==void 0&&_e.then(()=>te(!0)).catch(ul=>{console.error("Playback error:",ul),te(!1)})}else{oe.current&&oe.current.pause(),W(O),te(!0);const _e=new Audio(O.url);_e.playbackRate=D,oe.current=_e,_e.onended=()=>te(!1);const ul=_e.play();ul!==void 0&&ul.catch(ml=>{ml.name!=="AbortError"&&console.error("Playback error:",ml),oe.current===_e&&te(!1)})}},F=O=>{je(O),T(!0)},ae=({track:O})=>{const ne=(qe==null?void 0:qe.id)===O.id;return i.jsxs("div",{className:`flex items-center gap-4 p-3 rounded-lg border transition-all ${ne?"bg-blue-50 border-blue-200":"bg-white border-gray-100 hover:bg-gray-50"}`,children:[i.jsx("div",{className:"w-14 h-14 md:w-16 md:h-16 rounded-md bg-gray-200 flex-shrink-0 relative overflow-hidden group",children:O.status==="generating"?i.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-gray-100",children:i.jsx(J0,{size:24,className:"text-blue-500 animate-spin"})}):O.status==="failed"?i.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-red-50 text-red-400",children:i.jsx(Ba,{size:24})}):i.jsxs(i.Fragment,{children:[i.jsx("img",{src:O.cover,alt:"cover",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-black/30 hidden group-hover:flex items-center justify-center cursor-pointer transition-colors",onClick:()=>q(O),children:ne&&pe?i.jsx(Os,{size:24,className:"text-white fill-white"}):i.jsx(It,{size:24,className:"text-white fill-white"})})]})}),i.jsxs("div",{className:"flex-1 min-w-0",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[i.jsx("h3",{className:`font-bold text-sm truncate ${ne?"text-blue-700":"text-gray-800"}`,children:O.title}),O.isExtension&&i.jsx("span",{className:"px-1.5 py-0.5 rounded bg-purple-100 text-purple-600 text-[10px] font-bold border border-purple-200 flex-shrink-0",children:"续写"}),O.status==="generating"&&i.jsx("span",{className:"text-xs text-blue-500 animate-pulse font-medium flex-shrink-0",children:"生成中..."})]}),i.jsxs("div",{className:"text-xs text-gray-500 truncate flex items-center gap-2",children:[i.jsx("span",{className:"truncate max-w-[80px] md:max-w-none",children:O.style||"Unknown Style"}),i.jsx("span",{children:"•"}),i.jsx("span",{className:"font-mono",children:O.duration}),O.createdAt&&i.jsxs("span",{className:"hidden md:inline",children:["• ",new Date(O.createdAt).toLocaleTimeString()]})]})]}),O.status==="completed"&&i.jsxs("div",{className:"flex items-center gap-1",children:[i.jsx("button",{onClick:()=>{Se(O),k(O.style),E(O.title+" (Part 2)")},className:"p-2 text-gray-400 hover:text-purple-600 hover:bg-purple-50 rounded-full transition-colors hidden md:block",title:"续写 (Extend)",children:i.jsx(E1,{size:18})}),i.jsx("button",{onClick:()=>F(O.lyrics),className:"p-2 text-gray-400 hover:text-blue-600 hover:bg-blue-50 rounded-full transition-colors hidden md:block",title:"歌词",children:i.jsx(Ts,{size:18})}),i.jsx("button",{className:"p-2 text-gray-400 hover:text-blue-600 hover:bg-blue-50 rounded-full transition-colors",title:"下载视频",children:i.jsx(Us,{size:18})}),i.jsx("button",{className:"p-2 text-gray-400 hover:text-gray-600 rounded-full md:hidden",children:i.jsx(s1,{size:18})})]})]})},he=({value:O,label:ne,icon:Ce})=>i.jsxs("button",{onClick:()=>_({...d,aspectRatio:O}),className:`flex items-center gap-2 px-4 py-2 rounded-lg border text-sm font-medium transition-all
${d.aspectRatio===O?"border-blue-500 text-blue-600 bg-blue-50":"border-gray-200 text-gray-600 hover:border-gray-300 bg-white"}`,children:[i.jsx(Ce,{size:16}),ne]}),Be=({type:O,value:ne,label:Ce})=>i.jsx("button",{onClick:()=>_({...d,[O]:ne}),className:`px-4 py-2 rounded-lg border text-sm font-medium transition-all min-w-[80px]
${d[O]===ne?"border-blue-500 text-blue-600 bg-blue-50":"border-gray-200 text-gray-600 hover:border-gray-300 bg-white"}`,children:Ce}),Ee=({name:O,credits:ne,value:Ce,type:_e="image"})=>i.jsxs("button",{onClick:()=>_(_e==="music"?{...d,musicModel:Ce}:{...d,imageModel:Ce}),className:`flex flex-col items-start p-3 rounded-lg border text-sm transition-all text-left
${(_e==="music"?d.musicModel:d.imageModel)===Ce?"border-blue-500 bg-blue-50":"border-gray-200 hover:border-gray-300 bg-white"}`,children:[i.jsx("span",{className:`font-medium ${(_e==="music"?d.musicModel:d.imageModel)===Ce?"text-blue-700":"text-gray-700"}`,children:O}),ne&&i.jsx("span",{className:"text-xs text-gray-400 mt-1",children:ne})]}),Ct=({checked:O,onChange:ne,label:Ce})=>i.jsxs("div",{className:"flex items-center justify-between cursor-pointer",onClick:()=>ne(!O),children:[i.jsx("span",{className:"text-sm font-medium text-gray-700",children:Ce}),i.jsx("div",{className:`w-10 h-5 rounded-full relative transition-colors ${O?"bg-blue-600":"bg-gray-300"}`,children:i.jsx("div",{className:`absolute top-0.5 w-4 h-4 bg-white rounded-full transition-transform shadow-sm ${O?"left-[22px]":"left-0.5"}`})})]});return i.jsxs("div",{className:"flex w-full h-full bg-white font-sans relative flex-col-reverse md:flex-row",children:[i.jsxs("div",{className:"w-full md:w-[420px] flex-shrink-0 flex flex-col border-t md:border-t-0 md:border-r border-gray-100 h-1/2 md:h-full overflow-y-auto custom-scrollbar p-6 gap-6 z-20 bg-white pb-32",children:[M===C.IMAGE&&i.jsxs("div",{className:"space-y-2",children:[i.jsx("label",{className:"text-sm font-medium text-gray-700",children:"模型版本"}),i.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[i.jsx(Ee,{name:"Nano Banana Pro",credits:"1800积分",value:"Nano Banana Pro"}),i.jsx(Ee,{name:"Nano Banana Pro VT",credits:"1800积分",value:"Nano Banana Pro VT"}),i.jsx(Ee,{name:"Nano Banana",credits:"1400积分",value:"Nano Banana"}),i.jsx(Ee,{name:"Nano Banana Fast",credits:"440积分",value:"Nano Banana Fast"})]})]}),M===C.MUSIC&&i.jsxs("div",{className:"space-y-2",children:[i.jsx("label",{className:"text-sm font-medium text-gray-700",children:"模型版本"}),i.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[i.jsx(Ee,{type:"music",name:"Suno v3.5",value:"suno-v3.5"}),i.jsx(Ee,{type:"music",name:"Suno v3",value:"suno-v3"})]})]}),se&&M===C.MUSIC&&i.jsxs("div",{className:"bg-purple-50 border border-purple-100 rounded-xl p-3 flex items-center justify-between animate-in fade-in zoom-in-95",children:[i.jsxs("div",{className:"flex items-center gap-3 overflow-hidden",children:[i.jsx("div",{className:"w-10 h-10 bg-gray-200 rounded-md overflow-hidden flex-shrink-0",children:i.jsx("img",{src:se.cover,alt:"cover",className:"w-full h-full object-cover"})}),i.jsxs("div",{className:"min-w-0",children:[i.jsx("div",{className:"text-xs text-purple-600 font-bold mb-0.5",children:"正在续写 (Extending)"}),i.jsx("div",{className:"text-sm font-bold text-gray-800 truncate",children:se.title})]})]}),i.jsx("button",{onClick:()=>Se(null),className:"p-1 hover:bg-purple-100 rounded-full text-purple-400",children:i.jsx(Ba,{size:16})})]}),M===C.VIDEO&&i.jsxs("div",{className:"bg-purple-50 border border-purple-100 rounded-xl p-4 flex gap-3",children:[i.jsx("div",{className:"mt-1",children:i.jsx(ed,{size:18,className:"text-purple-500 fill-purple-500"})}),i.jsxs("div",{className:"text-xs text-purple-700 leading-relaxed",children:[i.jsx("span",{className:"font-bold",children:"提示:"})," 创建数字人物时请先通过视频生成数字人物的特征,视频生成完成后即可使用数字人物进行二次创作。"]})]}),M!==C.MUSIC&&i.jsxs("div",{className:"space-y-2",children:[i.jsxs("label",{className:"text-sm font-medium text-gray-700 flex justify-between",children:["参考图",i.jsx("span",{className:"text-gray-400 text-xs font-normal",children:"(单张不超过10MB)"})]}),i.jsxs("div",{onClick:()=>{var O;return(O=Ne.current)==null?void 0:O.click()},className:"w-24 h-24 border-2 border-dashed border-gray-300 rounded-lg hover:border-blue-400 hover:bg-blue-50 cursor-pointer flex flex-col items-center justify-center transition-colors overflow-hidden relative group",children:[ue?i.jsxs(i.Fragment,{children:[i.jsx("img",{src:ue,alt:"ref",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-black/40 hidden group-hover:flex items-center justify-center text-white",children:i.jsx(Rn,{size:24})})]}):i.jsx(Rn,{size:24,className:"text-gray-400"}),i.jsx("input",{type:"file",ref:Ne,className:"hidden",accept:"image/*",onChange:m})]})]}),M===C.VIDEO&&i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx("label",{className:"text-sm font-medium text-gray-700",children:"视频比例"}),i.jsxs("div",{className:"flex gap-3",children:[i.jsx(he,{value:"9:16",label:"9:16 竖屏",icon:ay}),i.jsx(he,{value:"16:9",label:"16:9 横屏",icon:B1})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx("label",{className:"text-sm font-medium text-gray-700",children:"视频时长"}),i.jsxs("div",{className:"flex gap-3",children:[i.jsx(Be,{type:"duration",value:"15s",label:"15秒"}),i.jsx(Be,{type:"duration",value:"10s",label:"10秒"})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx("label",{className:"text-sm font-medium text-gray-700",children:"清晰度"}),i.jsxs("div",{className:"flex gap-3",children:[i.jsx(Be,{type:"resolution",value:"HD",label:"高清"}),i.jsx(Be,{type:"resolution",value:"4K",label:"默认"})]})]})]}),M===C.IMAGE&&i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"space-y-2",children:[i.jsx("label",{className:"text-sm font-medium text-gray-700",children:"图片比例"}),i.jsxs("div",{className:"relative",children:[i.jsxs("select",{className:"w-full appearance-none bg-white border border-gray-200 text-gray-700 py-2.5 px-4 pr-8 rounded-lg focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500 text-sm",value:d.aspectRatio,onChange:O=>_({...d,aspectRatio:O.target.value}),children:[i.jsx("option",{value:"1:1",children:"自动"}),i.jsx("option",{value:"9:16",children:"9:16 竖屏"}),i.jsx("option",{value:"16:9",children:"16:9 横屏"}),i.jsx("option",{value:"4:3",children:"4:3 标准"})]}),i.jsx("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-500",children:i.jsx(_s,{size:16})})]})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsx("label",{className:"text-sm font-medium text-gray-700",children:"图片清晰度"}),i.jsxs("div",{className:"flex gap-2",children:[i.jsx(Be,{type:"resolution",value:"2K",label:"2K 高清"}),i.jsx(Be,{type:"resolution",value:"4K",label:"4K 超清"}),i.jsx(Be,{type:"resolution",value:"1K",label:"1K 标准"})]})]})]}),M===C.MUSIC&&i.jsx(i.Fragment,{children:i.jsxs("div",{className:"bg-gray-50 rounded-xl p-4 space-y-4 border border-gray-100",children:[i.jsxs("div",{className:"space-y-3",children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsxs("label",{className:"text-sm font-bold text-gray-800 flex items-center gap-2",children:[i.jsx(ry,{size:14,className:"text-blue-600"})," 歌词 (Lyrics)"]}),i.jsxs("div",{className:"flex items-center gap-3",children:[!p&&i.jsxs("button",{onClick:z,disabled:ge,className:"text-xs bg-gradient-to-r from-blue-500 to-purple-500 text-white px-2 py-1 rounded-md flex items-center gap-1 shadow-sm hover:opacity-90 transition-opacity",children:[i.jsx(td,{size:10})," ",ge?"生成中...":"AI 写词"]}),i.jsx(Ct,{checked:p,onChange:Y,label:"纯音乐"})]})]}),!p&&i.jsx("textarea",{value:r,onChange:O=>w(O.target.value),placeholder:"输入歌词...",className:"w-full h-32 p-3 bg-white border border-gray-200 rounded-lg focus:outline-none focus:ring-1 focus:ring-blue-500 text-sm resize-none"})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs("label",{className:"text-sm font-bold text-gray-800 flex items-center gap-2",children:[i.jsx(R1,{size:14,className:"text-purple-600"})," 音乐风格 (Style of Music)"]}),i.jsx("textarea",{value:A,onChange:O=>k(O.target.value),placeholder:"例如Pop, Upbeat, Female Vocals...",className:"w-full h-20 p-3 bg-white border border-gray-200 rounded-lg focus:outline-none focus:ring-1 focus:ring-purple-500 text-sm resize-none"}),i.jsx("div",{className:"flex flex-wrap gap-2 pt-1",children:["Pop","Rock","Electronic","Jazz","Piano","Guitar"].map(O=>i.jsx("button",{onClick:()=>k(ne=>ne?`${ne}, ${O}`:O),className:"px-2 py-1 text-xs bg-white border border-gray-200 rounded hover:bg-gray-100 text-gray-600",children:O},O))})]}),i.jsxs("div",{className:"space-y-2",children:[i.jsxs("label",{className:"text-sm font-bold text-gray-800 flex items-center gap-2",children:[i.jsx(cy,{size:14,className:"text-green-600"})," 标题 (Title)"]}),i.jsx("input",{type:"text",value:Z,onChange:O=>E(O.target.value),placeholder:"输入歌曲标题...",className:"w-full px-3 py-2 bg-white border border-gray-200 rounded-lg focus:outline-none focus:ring-1 focus:ring-green-500 text-sm"})]})]})}),i.jsxs("div",{className:"space-y-2",children:[i.jsx("label",{className:"text-sm font-medium text-gray-700",children:"生成数量"}),i.jsxs("div",{className:"relative",children:[i.jsxs("select",{className:"w-full appearance-none bg-white border border-gray-200 text-gray-700 py-2.5 px-4 pr-8 rounded-lg focus:outline-none focus:ring-1 focus:ring-blue-500 focus:border-blue-500 text-sm",children:[i.jsx("option",{children:"1 个"}),i.jsx("option",{children:"2 个"}),i.jsx("option",{children:"3 个"})]}),i.jsx("div",{className:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-500",children:i.jsx(_s,{size:16})})]})]}),M!==C.MUSIC&&i.jsxs("div",{className:"space-y-2 flex-1 flex flex-col min-h-[120px]",children:[i.jsx("label",{className:"text-sm font-medium text-gray-700",children:M===C.VIDEO?"提示词":"图片描述"}),i.jsx("textarea",{value:r,onChange:O=>w(O.target.value),placeholder:M===C.VIDEO?"请输入您想要生成的视频描述...":"请输入您想要生成的图片描述...",className:"w-full flex-1 p-3 bg-white border border-gray-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-100 focus:border-blue-400 resize-none text-sm leading-relaxed"})]}),i.jsx("div",{className:"pt-2",children:i.jsxs("button",{onClick:U,disabled:me||(M===C.MUSIC?!p&&!r:!r),className:`w-full py-3 rounded-full text-sm font-bold tracking-wide transition-all shadow-md flex items-center justify-center
${me||(M===C.MUSIC?!p&&!r&&!A:!r)?"bg-gray-100 text-gray-400 cursor-not-allowed":"bg-gradient-to-r from-blue-600 to-blue-500 text-white hover:shadow-lg hover:-translate-y-0.5 active:scale-95 active:shadow-inner"}`,children:[me&&i.jsx(J0,{size:16,className:"animate-spin mr-2"}),me?(M===C.VIDEO||M===C.MUSIC,"生成中..."):M===C.VIDEO?"生成视频":M===C.MUSIC?"生成音乐":"生成图片"]})})]}),i.jsxs("div",{className:"flex-1 bg-gradient-to-br from-gray-50 via-gray-100/50 to-blue-50/20 p-4 md:p-8 flex flex-col relative overflow-hidden pb-24 h-1/2 md:h-full",children:[i.jsxs("div",{className:"absolute inset-0 pointer-events-none z-0",children:[i.jsx("div",{className:"absolute inset-0 opacity-[0.03] bg-[radial-gradient(#3b82f6_1px,transparent_1px)] [background-size:16px_16px]"}),i.jsx("div",{className:"absolute -inset-[100%] top-0 block h-full w-[200%] -skew-x-12 bg-gradient-to-r from-transparent via-white/40 to-transparent opacity-30 animate-shimmer"})]}),i.jsx("style",{children:`
@keyframes shimmer {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
}
.animate-shimmer {
animation: shimmer 8s infinite linear;
}
`}),i.jsxs("h2",{className:"text-lg font-bold text-gray-800 mb-4 z-10 flex items-center gap-2",children:[i.jsx(qn,{size:16,className:"text-blue-500 fill-blue-500"})," 生成结果"]}),i.jsx("div",{className:"flex-1 z-10 w-full min-h-0 relative flex flex-col",children:M===C.MUSIC?i.jsx("div",{className:"flex-1 overflow-y-auto custom-scrollbar space-y-3 pb-20",children:be.length===0?i.jsxs("div",{className:"flex flex-col items-center justify-center text-gray-300 h-full",children:[i.jsx(li,{size:48,className:"text-gray-200 mb-4"}),i.jsx("p",{className:"text-sm font-medium text-gray-400",children:"暂无生成的音乐"})]}):be.map(O=>i.jsx(ae,{track:O},O.id))}):i.jsx("div",{className:"flex-1 flex items-center justify-center",children:me?i.jsxs("div",{className:"flex flex-col items-center justify-center z-10",children:[i.jsxs("div",{className:"relative w-20 h-20 mb-6",children:[i.jsx("div",{className:"absolute inset-0 border-4 border-gray-200/50 rounded-full"}),i.jsx("div",{className:"absolute inset-0 border-4 border-blue-500 rounded-full border-t-transparent animate-spin"}),i.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:i.jsx(qn,{size:24,className:"text-blue-500 animate-pulse"})})]}),i.jsx("div",{className:"text-gray-500 font-medium text-sm animate-pulse tracking-wide",children:M===C.VIDEO?"正在渲染视频...":"正在绘制图片..."})]}):P?i.jsxs("div",{className:"w-full h-full bg-black/5 rounded-2xl overflow-hidden shadow-2xl ring-1 ring-black/5 flex items-center justify-center backdrop-blur-sm relative group animate-in fade-in zoom-in-95 duration-500",children:[i.jsx("div",{className:"absolute inset-0 bg-gradient-to-tr from-white/10 to-transparent pointer-events-none z-20"}),i.jsxs("div",{className:"absolute top-4 right-4 flex gap-2 opacity-0 group-hover:opacity-100 transition-opacity z-30 transform translate-y-2 group-hover:translate-y-0 duration-300",children:[i.jsx("button",{className:"p-2 bg-black/40 text-white rounded-full hover:bg-black/60 backdrop-blur-md transition-colors shadow-lg",title:"下载",children:i.jsx(As,{size:18})}),i.jsx("button",{className:"p-2 bg-black/40 text-white rounded-full hover:bg-black/60 backdrop-blur-md transition-colors shadow-lg",title:"全屏",children:i.jsx(U1,{size:18})})]}),M===C.VIDEO?i.jsx("video",{src:P,controls:!0,autoPlay:!0,loop:!0,className:"w-full h-full object-contain max-h-full shadow-lg"}):i.jsx("img",{src:P,alt:"Result",className:"w-full h-full object-contain max-h-full shadow-lg transition-transform duration-700 hover:scale-[1.02]"})]}):al?i.jsxs("div",{className:"text-center p-8 bg-white/80 backdrop-blur-md rounded-2xl shadow-sm border border-red-100 max-w-md z-10 animate-in fade-in zoom-in-95",children:[i.jsx("div",{className:"text-red-500 font-bold mb-2",children:"生成失败"}),i.jsx("div",{className:"text-gray-500 text-sm",children:al})]}):i.jsxs("div",{className:"flex flex-col items-center justify-center text-gray-300 z-10 h-full",children:[i.jsxs("div",{className:"w-64 h-48 mb-6 relative opacity-80 animate-[pulse_4s_ease-in-out_infinite]",children:[i.jsx("div",{className:"absolute inset-0 border-4 border-gray-200/50 rounded-lg transform rotate-[-6deg] bg-white/50 backdrop-blur-sm"}),i.jsx("div",{className:"absolute inset-0 border-4 border-gray-200 rounded-lg transform rotate-[6deg] bg-white/80 flex items-center justify-center shadow-sm",children:M===C.VIDEO?i.jsx(It,{size:48,className:"text-gray-200 fill-gray-100"}):i.jsx(P0,{size:48,className:"text-gray-200"})}),i.jsx("div",{className:"absolute bottom-4 left-4 bg-gray-300 px-2 py-0.5 rounded text-[10px] text-white font-bold shadow-sm",children:"Al View"})]}),i.jsx("p",{className:"text-sm font-medium text-gray-400",children:"请输入内容并点击生成以查看魔法"})]})})})]}),qe&&i.jsxs("div",{className:"absolute bottom-16 md:bottom-0 left-0 right-0 bg-white/95 backdrop-blur-lg border-t border-gray-200 shadow-[0_-4px_20px_rgba(0,0,0,0.1)] p-3 z-40 animate-in slide-in-from-bottom-full duration-300 flex items-center gap-4 px-4 md:px-6 h-20",children:[i.jsxs("div",{className:"w-12 h-12 rounded-lg overflow-hidden bg-gray-200 flex-shrink-0 relative group",children:[i.jsx("img",{src:qe.cover,alt:"Cover",className:"w-full h-full object-cover"}),i.jsx("div",{className:"absolute inset-0 bg-black/10"})]}),i.jsxs("div",{className:"flex-1 min-w-0",children:[i.jsx("div",{className:"font-bold text-gray-800 text-sm truncate",children:qe.title}),i.jsx("div",{className:"text-xs text-gray-500 truncate",children:qe.style})]}),i.jsxs("div",{className:"flex items-center gap-2 md:gap-4",children:[i.jsx("button",{className:"text-gray-400 hover:text-gray-600 transition-colors hidden md:block",children:i.jsx(P1,{size:20})}),i.jsx("button",{onClick:()=>{var O,ne;if(pe)(O=oe.current)==null||O.pause(),te(!1);else{const Ce=(ne=oe.current)==null?void 0:ne.play();Ce!==void 0&&Ce.then(()=>te(!0)).catch(_e=>{console.error("Play error:",_e),te(!1)})}},className:"w-10 h-10 rounded-full bg-blue-600 text-white flex items-center justify-center hover:scale-105 transition-transform shadow-md flex-shrink-0",children:pe?i.jsx(Os,{size:20,fill:"currentColor"}):i.jsx(It,{size:20,fill:"currentColor",className:"ml-0.5"})}),i.jsx("button",{className:"text-gray-400 hover:text-gray-600 transition-colors hidden md:block",children:i.jsx(ly,{size:20})})]}),i.jsxs("div",{className:"relative group",children:[i.jsxs("button",{className:"flex items-center justify-center w-10 h-8 rounded border border-gray-200 bg-gray-50 text-xs font-bold text-gray-700 hover:bg-gray-100 transition-colors",children:[D,"x"]}),i.jsx("div",{className:"absolute bottom-full left-1/2 -translate-x-1/2 mb-2 bg-white border border-gray-200 rounded-lg shadow-xl overflow-hidden hidden group-hover:flex flex-col w-16 animate-in fade-in zoom-in-95 duration-150",children:[2,1.5,1.25,1,.8,.5].map(O=>i.jsxs("button",{onClick:()=>R(O),className:`py-2 text-xs font-medium hover:bg-gray-100 ${D===O?"bg-blue-50 text-blue-600":"text-gray-700"}`,children:[O,"x"]},O))})]}),i.jsxs("div",{className:"w-24 hidden lg:flex items-center gap-2",children:[i.jsx(gy,{size:16,className:"text-gray-400"}),i.jsx("div",{className:"h-1 flex-1 bg-gray-200 rounded-full overflow-hidden",children:i.jsx("div",{className:"h-full w-2/3 bg-blue-500 rounded-full"})})]}),i.jsx("button",{onClick:()=>{oe.current&&oe.current.pause(),W(null),te(!1)},className:"text-gray-400 hover:text-red-500 transition-colors ml-2",children:i.jsx(Ba,{size:20})})]}),b&&i.jsx("div",{className:"absolute inset-0 z-50 flex items-center justify-center bg-black/60 backdrop-blur-sm p-4 animate-in fade-in duration-200",onClick:()=>T(!1),children:i.jsxs("div",{className:"bg-white rounded-2xl max-w-lg w-full max-h-[80vh] flex flex-col shadow-2xl overflow-hidden animate-in zoom-in-95 duration-200",onClick:O=>O.stopPropagation(),children:[i.jsxs("div",{className:"flex items-center justify-between p-4 border-b border-gray-100 bg-gray-50/50",children:[i.jsxs("h3",{className:"font-bold text-gray-800 flex items-center gap-2",children:[i.jsx(Ts,{size:18,className:"text-blue-500"}),"歌词"]}),i.jsx("button",{onClick:()=>T(!1),className:"p-1 rounded-full hover:bg-gray-100 text-gray-400 hover:text-gray-600 transition-colors",children:i.jsx(Ba,{size:20})})]}),i.jsx("div",{className:"p-8 overflow-y-auto whitespace-pre-wrap text-gray-600 leading-relaxed text-center font-medium bg-white custom-scrollbar",children:J||"无歌词内容"}),i.jsx("div",{className:"p-4 border-t border-gray-100 bg-gray-50/50 flex justify-center",children:i.jsx("button",{onClick:()=>T(!1),className:"px-6 py-2 bg-gray-900 text-white rounded-lg text-sm font-medium hover:bg-gray-800 transition-colors",children:"关闭"})})]})})]})},Oy=({config:d})=>{const[_,M]=G.useState([]),[r,w]=G.useState(""),[A,k]=G.useState(!1),Z=G.useRef(null),E=()=>{var R;(R=Z.current)==null||R.scrollIntoView({behavior:"smooth"})};G.useEffect(()=>{E()},[_,A]);const p=async(R=r)=>{if(!R.trim()||A)return;if(!await Hn()){await Ga();return}const Se={id:Date.now().toString(),role:"user",text:R,timestamp:Date.now()};M(Ue=>[...Ue,Se]),w(""),k(!0);const ge=(Date.now()+1).toString();M(Ue=>[...Ue,{id:ge,role:"model",text:"",timestamp:Date.now()}]);try{const Ue=My(d.textModel,_,R);let be="";for await(const $ of Ue)be+=$,M(ue=>ue.map(L=>L.id===ge?{...L,text:be}:L))}catch(Ue){console.error("Chat error:",Ue),M(be=>be.map($=>$.id===ge?{...$,text:"抱歉,遇到了一些问题,请稍后再试。"}:$))}finally{k(!1)}},Y=R=>{R.key==="Enter"&&!R.shiftKey&&(R.preventDefault(),p())},D=({icon:R,title:se,desc:Se,prompt:ge})=>i.jsxs("div",{onClick:()=>p(ge),className:"bg-white border border-gray-100 p-4 rounded-xl hover:shadow-md hover:border-blue-200 cursor-pointer transition-all flex items-start gap-3 group",children:[i.jsx("div",{className:"p-2 bg-gray-50 rounded-lg group-hover:bg-blue-50 transition-colors text-gray-600 group-hover:text-blue-600",children:i.jsx(R,{size:18})}),i.jsxs("div",{children:[i.jsx("div",{className:"font-bold text-gray-800 text-sm mb-1",children:se}),i.jsx("div",{className:"text-xs text-gray-500",children:Se})]})]});return i.jsxs("div",{className:"flex flex-col h-full bg-gray-50/50 relative",children:[i.jsx("div",{className:"flex-1 overflow-y-auto custom-scrollbar p-6 pb-32",children:_.length===0?i.jsxs("div",{className:"h-full flex flex-col items-center justify-center max-w-3xl mx-auto -mt-16 animate-in fade-in slide-in-from-bottom-4 duration-500",children:[i.jsx("div",{className:"w-16 h-16 bg-gradient-to-br from-blue-500 to-purple-600 rounded-2xl flex items-center justify-center mb-6 shadow-lg shadow-blue-200",children:i.jsx(qn,{className:"text-white",size:32})}),i.jsx("h1",{className:"text-2xl font-bold text-gray-800 mb-2",children:"开始对话"}),i.jsx("p",{className:"text-gray-500 mb-10 text-center max-w-lg",children:"我是 Gemini一个强大的 AI 助手。我可以帮助你回答问题、写作、编程、分析等各种任务。"}),i.jsxs("div",{className:"grid grid-cols-2 gap-4 w-full",children:[i.jsx(D,{icon:X1,title:"写作助手",desc:"帮我写一篇文章、邮件或文案",prompt:"请帮我写一篇关于人工智能未来发展的短文,风格轻松活泼。"}),i.jsx(D,{icon:ed,title:"知识问答",desc:"解释复杂的概念或回答问题",prompt:"请用通俗易懂的语言解释量子计算的基本原理。"}),i.jsx(D,{icon:j1,title:"编程辅助",desc:"生成代码、调试或解释代码",prompt:"请写一个Python脚本用于读取CSV文件并绘制数据图表。"}),i.jsx(D,{icon:b1,title:"翻译助手",desc:"多语言互译与润色",prompt:"请将以下中文翻译成地道的英文:'千里之行,始于足下'。"})]})]}):i.jsxs("div",{className:"max-w-3xl mx-auto space-y-6",children:[_.map(R=>i.jsxs("div",{className:`flex gap-4 ${R.role==="user"?"flex-row-reverse":""}`,children:[i.jsx("div",{className:`w-8 h-8 rounded-full flex items-center justify-center flex-shrink-0 mt-1
${R.role==="user"?"bg-blue-600 text-white":"bg-gradient-to-br from-blue-500 to-purple-600 text-white"}`,children:R.role==="user"?i.jsx(hy,{size:14}):i.jsx(Jh,{size:14})}),i.jsx("div",{className:`max-w-[80%] rounded-2xl px-5 py-3 text-sm leading-relaxed shadow-sm
${R.role==="user"?"bg-blue-600 text-white rounded-tr-sm":"bg-white text-gray-700 border border-gray-100 rounded-tl-sm"}`,children:i.jsx("div",{className:"whitespace-pre-wrap",children:R.text})})]},R.id)),A&&i.jsxs("div",{className:"flex gap-4",children:[i.jsx("div",{className:"w-8 h-8 rounded-full bg-gradient-to-br from-blue-500 to-purple-600 flex items-center justify-center flex-shrink-0 mt-1",children:i.jsx(qn,{size:14,className:"text-white animate-pulse"})}),i.jsx("div",{className:"bg-white border border-gray-100 rounded-2xl rounded-tl-sm px-5 py-3 flex items-center",children:i.jsxs("div",{className:"flex gap-1",children:[i.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce"}),i.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce delay-75"}),i.jsx("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce delay-150"})]})})]}),i.jsx("div",{ref:Z})]})}),i.jsx("div",{className:"absolute bottom-6 left-0 right-0 px-6",children:i.jsxs("div",{className:"max-w-3xl mx-auto bg-white rounded-2xl shadow-xl border border-blue-100 p-2 flex flex-col focus-within:ring-2 focus-within:ring-blue-500/20 focus-within:border-blue-500 transition-all",children:[i.jsx("textarea",{value:r,onChange:R=>w(R.target.value),onKeyDown:Y,placeholder:"问问Gemini...",className:"w-full max-h-40 min-h-[60px] p-3 resize-none focus:outline-none text-gray-700 placeholder-gray-400 text-sm bg-transparent"}),i.jsxs("div",{className:"flex justify-between items-center px-2 pb-1",children:[i.jsx("div",{className:"text-xs text-gray-400",children:"Shift + Enter 换行"}),i.jsx("button",{onClick:()=>p(),disabled:!r.trim()||A,className:`p-2 rounded-lg transition-colors
${!r.trim()||A?"text-gray-300 cursor-not-allowed":"bg-blue-600 text-white hover:bg-blue-700 shadow-md"}`,children:i.jsx(k1,{size:18})})]})]})})]})},W0=[{id:1,type:C.VIDEO,title:"赛博朋克城市的霓虹夜景",date:"2023-10-24 14:30",url:"https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4",duration:"5s",width:1080,height:1920},{id:2,type:C.IMAGE,title:"可爱的卡通3D猫咪",date:"2023-10-24 12:15",url:"https://picsum.photos/seed/cat/300/300",duration:null,width:1024,height:1024},{id:3,type:C.MUSIC,title:"Summer Vibes (Pop) - Ver 1",date:"2023-10-23 09:45",url:"https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3",duration:"3:20",width:0,height:0},{id:33,type:C.MUSIC,title:"Summer Vibes (Pop) - Ver 2",date:"2023-10-23 09:45",url:"https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3",duration:"3:15",width:0,height:0},{id:4,type:C.VIDEO,title:"海浪拍打礁石的慢动作",date:"2023-10-23 08:20",url:"https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4",duration:"10s",width:1920,height:1080},{id:5,type:C.IMAGE,title:"未来主义建筑设计图",date:"2023-10-22 18:10",url:"https://picsum.photos/seed/arch/300/300",duration:null,width:1024,height:1024},{id:6,type:C.MUSIC,title:"Cinematic Orchestra",date:"2023-10-21 22:00",url:"https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3",duration:"2:15",width:0,height:0},{id:7,type:C.IMAGE,title:"水墨山水画风格",date:"2023-10-21 11:30",url:"https://picsum.photos/seed/art/300/300",duration:null,width:1024,height:1024},{id:8,type:C.VIDEO,title:"宇航员在火星行走",date:"2023-10-20 15:45",url:"https://interactive-examples.mdn.mozilla.net/media/cc0-videos/flower.mp4",duration:"5s",width:1080,height:1920},{id:9,type:C.IMAGE,title:"极简主义Logo设计",date:"2023-10-20 10:20",url:"https://picsum.photos/seed/logo/300/300",duration:null,width:1024,height:1024}],Dy=({isOpen:d,onClose:_,initialPage:M="recharge"})=>{const[r,w]=G.useState(M),[A,k]=G.useState(!0),[Z,E]=G.useState("all"),[p,Y]=G.useState(null),D=G.useRef(null);if(!d)return null;const R=({page:L,icon:me,label:V})=>i.jsxs("button",{onClick:()=>{w(L),(L==="login"||L==="register")&&k(L==="login")},className:`w-full flex items-center gap-3 px-4 py-3 rounded-lg text-sm font-medium transition-colors
${r===L?"bg-blue-50 text-blue-600":"text-gray-600 hover:bg-gray-50"}`,children:[i.jsx(me,{size:18}),i.jsx("span",{children:V})]}),se=(L,me)=>{var V;p===L?((V=D.current)==null||V.pause(),Y(null)):(D.current&&D.current.pause(),D.current=new Audio(me),D.current.play(),D.current.onended=()=>Y(null),Y(L))},Se=()=>i.jsxs("div",{className:"max-w-md mx-auto pt-10",children:[i.jsxs("div",{className:"text-center mb-8",children:[i.jsx("h2",{className:"text-2xl font-bold text-gray-800",children:A?"欢迎回来":"创建账号"}),i.jsx("p",{className:"text-gray-500 text-sm mt-2",children:A?"登录以继续您的创作之旅":"注册即送 100 积分体验"})]}),i.jsxs("div",{className:"space-y-4",children:[i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"手机号 / 邮箱"}),i.jsx("input",{type:"text",className:"w-full border border-gray-300 rounded-lg px-4 py-2.5 focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none transition-all",placeholder:"请输入您的账号"})]}),i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"密码"}),i.jsx("input",{type:"password",className:"w-full border border-gray-300 rounded-lg px-4 py-2.5 focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none transition-all",placeholder:"请输入密码"})]}),!A&&i.jsxs("div",{children:[i.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1",children:"邀请码 (选填)"}),i.jsx("input",{type:"text",className:"w-full border border-gray-300 rounded-lg px-4 py-2.5 focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none transition-all",placeholder:"请输入邀请码"})]}),i.jsx("button",{className:"w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 rounded-lg transition-all shadow-sm mt-4",children:A?"立即登录":"立即注册"}),i.jsxs("div",{className:"flex items-center justify-between text-sm text-gray-500 mt-4",children:[i.jsx("button",{onClick:()=>k(!A),className:"hover:text-blue-600",children:A?"没有账号? 去注册":"已有账号? 去登录"}),A&&i.jsx("button",{className:"hover:text-blue-600",children:"忘记密码?"})]})]})]}),ge=()=>i.jsxs("div",{className:"space-y-6",children:[i.jsxs("div",{className:"flex justify-between items-center mb-6",children:[i.jsx("h2",{className:"text-xl font-bold text-gray-800",children:"积分充值"}),i.jsxs("span",{className:"text-sm text-gray-500",children:["当前余额: ",i.jsx("span",{className:"text-blue-600 font-bold text-lg",children:"4,980"})," 积分"]})]}),i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:[{price:"9.9",points:"1,000",tag:"体验",color:"blue"},{price:"29.9",points:"3,500",tag:"超值",color:"purple"},{price:"99.9",points:"12,000",tag:"专业",color:"orange"}].map((L,me)=>i.jsxs("div",{className:`border rounded-xl p-6 relative cursor-pointer hover:shadow-lg transition-all
${me===1?"border-purple-500 ring-1 ring-purple-500 bg-purple-50/10":"border-gray-200 hover:border-blue-300 bg-white"}`,children:[me===1&&i.jsx("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2 bg-gradient-to-r from-purple-500 to-pink-500 text-white text-xs px-3 py-1 rounded-full font-bold shadow-sm",children:"MOST POPULAR"}),i.jsxs("div",{className:"text-center",children:[i.jsxs("div",{className:"text-sm text-gray-500 mb-1",children:[L.tag,"包"]}),i.jsxs("div",{className:"text-3xl font-bold text-gray-800 mb-2",children:[i.jsx("span",{className:"text-sm align-top",children:"¥"}),L.price]}),i.jsxs("div",{className:"text-blue-600 font-bold mb-4",children:[L.points," 积分"]}),i.jsxs("ul",{className:"text-xs text-gray-500 space-y-2 text-left bg-gray-50 p-3 rounded-lg mb-4",children:[i.jsxs("li",{className:"flex gap-2",children:[i.jsx(Ss,{size:14,className:"text-green-500"})," 生成约 ",parseInt(L.points.replace(",",""))/10," 张图片"]}),i.jsxs("li",{className:"flex gap-2",children:[i.jsx(Ss,{size:14,className:"text-green-500"})," 高速通道优先生成"]}),i.jsxs("li",{className:"flex gap-2",children:[i.jsx(Ss,{size:14,className:"text-green-500"})," 积分永久有效"]})]}),i.jsx("button",{className:`w-full py-2 rounded-lg text-sm font-bold transition-colors
${me===1?"bg-purple-600 text-white hover:bg-purple-700":"bg-gray-900 text-white hover:bg-gray-800"}`,children:"立即充值"})]})]},me))}),i.jsxs("div",{className:"mt-8 bg-gray-50 rounded-xl p-4 text-xs text-gray-500 leading-relaxed",children:[i.jsxs("p",{className:"font-bold mb-2 flex items-center gap-1",children:[i.jsx(F1,{size:14})," 充值说明"]}),"1. 积分主要用于视频生成、图片生成及高级对话模型消耗。",i.jsx("br",{}),"2. 充值成功后系统自动到账,如遇网络延迟请耐心等待或联系客服。",i.jsx("br",{}),"3. 虚拟商品一经售出,不支持退款,请确认后购买。"]})]}),Ue=()=>i.jsxs("div",{children:[i.jsx("h2",{className:"text-xl font-bold text-gray-800 mb-6",children:"积分记录"}),i.jsx("div",{className:"border border-gray-200 rounded-lg overflow-hidden",children:i.jsxs("table",{className:"w-full text-sm text-left",children:[i.jsx("thead",{className:"bg-gray-50 text-gray-500",children:i.jsxs("tr",{children:[i.jsx("th",{className:"px-6 py-3 font-medium",children:"时间"}),i.jsx("th",{className:"px-6 py-3 font-medium",children:"行为"}),i.jsx("th",{className:"px-6 py-3 font-medium text-right",children:"变动"}),i.jsx("th",{className:"px-6 py-3 font-medium text-right",children:"余额"})]})}),i.jsx("tbody",{className:"divide-y divide-gray-100",children:[{date:"2023-10-24 14:20",action:"生成视频 (Veo)",change:-120,balance:4980},{date:"2023-10-24 10:05",action:"签到奖励",change:50,balance:5100},{date:"2023-10-23 18:30",action:"生成图片 (Nano Banana)",change:-10,balance:5050},{date:"2023-10-22 09:15",action:"充值套餐 (体验包)",change:1e3,balance:5060},{date:"2023-10-21 16:45",action:"邀请好友奖励",change:200,balance:4060}].map((L,me)=>i.jsxs("tr",{className:"hover:bg-gray-50 transition-colors",children:[i.jsx("td",{className:"px-6 py-4 text-gray-600",children:L.date}),i.jsx("td",{className:"px-6 py-4 text-gray-800 font-medium",children:L.action}),i.jsxs("td",{className:`px-6 py-4 text-right font-bold ${L.change>0?"text-green-600":"text-red-500"}`,children:[L.change>0?"+":"",L.change]}),i.jsx("td",{className:"px-6 py-4 text-right text-gray-600",children:L.balance})]},me))})]})})]}),be=()=>{const L=Z==="all"?W0:W0.filter(V=>V.type===Z),me=({type:V,label:P})=>i.jsx("button",{onClick:()=>E(V),className:`px-3 py-1 rounded-full text-xs font-medium transition-colors
${Z===V?"bg-gray-900 text-white":"bg-gray-100 text-gray-600 hover:bg-gray-200"}`,children:P});return i.jsxs("div",{className:"h-full flex flex-col",children:[i.jsxs("div",{className:"flex justify-between items-center mb-6",children:[i.jsx("h2",{className:"text-xl font-bold text-gray-800",children:"创作记录"}),i.jsxs("div",{className:"flex gap-2",children:[i.jsx(me,{type:"all",label:"全部"}),i.jsx(me,{type:C.VIDEO,label:"视频"}),i.jsx(me,{type:C.IMAGE,label:"图片"}),i.jsx(me,{type:C.MUSIC,label:"音乐"})]})]}),i.jsxs("div",{className:"flex-1 overflow-y-auto custom-scrollbar pr-2 space-y-3 pb-6",children:[L.map(V=>i.jsxs("div",{className:"flex items-center gap-4 p-4 rounded-xl border border-gray-100 bg-gray-50 hover:bg-white hover:shadow-md transition-all group",children:[i.jsx("div",{className:"w-20 h-20 flex-shrink-0 bg-gray-200 rounded-lg overflow-hidden relative shadow-sm",children:V.type===C.MUSIC?i.jsxs("div",{className:"w-full h-full flex items-center justify-center bg-gradient-to-br from-purple-100 to-blue-100 relative group/music",children:[i.jsx(li,{className:"text-purple-500",size:24}),p===V.id&&i.jsx("div",{className:"absolute inset-0 bg-black/10 flex items-center justify-center",children:i.jsx("div",{className:"w-2 h-2 bg-purple-600 rounded-full animate-ping"})}),i.jsx("div",{className:"absolute inset-0 bg-black/20 hidden group-hover/music:flex items-center justify-center transition-all cursor-pointer",onClick:()=>se(V.id,V.url),children:p===V.id?i.jsx(Os,{size:24,fill:"white",className:"text-white"}):i.jsx(It,{size:24,fill:"white",className:"text-white"})})]}):V.type===C.VIDEO?i.jsxs("div",{className:"relative w-full h-full group/preview",children:[i.jsx("video",{src:V.url,className:"w-full h-full object-cover",muted:!0}),i.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-black/20 group-hover/preview:bg-black/0 transition-colors",children:i.jsx(It,{size:20,className:"text-white fill-white"})})]}):i.jsx("img",{src:V.url,alt:"thumbnail",className:"w-full h-full object-cover"})}),i.jsxs("div",{className:"flex-1 min-w-0",children:[i.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[i.jsx("h3",{className:"font-bold text-gray-800 truncate",children:V.title}),i.jsx("span",{className:`px-2 py-0.5 rounded text-[10px] font-medium uppercase
${V.type===C.VIDEO?"bg-purple-100 text-purple-600":V.type===C.MUSIC?"bg-blue-100 text-blue-600":"bg-green-100 text-green-600"}`,children:V.type===C.VIDEO?"Video":V.type===C.MUSIC?"Music":"Image"})]}),i.jsxs("div",{className:"text-xs text-gray-500 flex items-center gap-3",children:[i.jsx("span",{children:V.date}),V.duration&&i.jsxs("span",{children:["• ",V.duration]}),V.width&&V.width>0&&i.jsxs("span",{children:["• ",V.width,"x",V.height]})]})]}),i.jsxs("div",{className:"flex items-center gap-2",children:[V.type===C.MUSIC&&i.jsxs("div",{className:"flex items-center gap-2 mr-2 border-r border-gray-200 pr-2",children:[i.jsx("button",{className:"p-2 rounded-full hover:bg-gray-100 text-gray-500 hover:text-blue-600 transition-colors",title:"查看歌词",children:i.jsx(Ts,{size:16})}),i.jsx("button",{className:"p-2 rounded-full hover:bg-gray-100 text-gray-500 hover:text-blue-600 transition-colors",title:"下载 WAV",children:i.jsx(As,{size:16})}),i.jsx("button",{className:"p-2 rounded-full hover:bg-gray-100 text-gray-500 hover:text-blue-600 transition-colors",title:"下载视频",children:i.jsx(Us,{size:16})}),i.jsx("button",{className:"p-2 rounded-full hover:bg-gray-100 text-gray-500 hover:text-blue-600 transition-colors",title:"分享",children:i.jsx(zs,{size:16})})]}),i.jsx("a",{href:V.url,target:"_blank",rel:"noreferrer",className:"p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200 transition-colors",title:"打开链接",children:i.jsx(r1,{size:18})}),i.jsx("a",{href:V.url,download:!0,className:"p-2 rounded-full bg-gray-100 text-gray-600 hover:bg-gray-200 transition-colors",title:"下载",children:i.jsx(As,{size:18})})]})]},V.id)),L.length===0&&i.jsxs("div",{className:"flex flex-col items-center justify-center text-gray-400 py-16",children:[i.jsx(K0,{size:32,className:"mb-2 opacity-50"}),i.jsx("p",{className:"text-sm",children:"暂无该类型的创作记录"})]})]})]})},$=()=>i.jsxs("div",{className:"text-center pt-8",children:[i.jsx("div",{className:"w-20 h-20 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center mx-auto mb-6",children:i.jsx(zs,{size:32})}),i.jsx("h2",{className:"text-2xl font-bold text-gray-800 mb-2",children:"邀请好友,共享积分"}),i.jsxs("p",{className:"text-gray-500 mb-8",children:["每邀请一位好友注册,双方各得 ",i.jsx("span",{className:"text-orange-500 font-bold",children:"200"})," 积分奖励"]}),i.jsxs("div",{className:"max-w-sm mx-auto bg-gray-50 border-2 border-dashed border-gray-300 rounded-xl p-6 mb-8",children:[i.jsx("div",{className:"text-sm text-gray-500 mb-2",children:"您的专属邀请码"}),i.jsx("div",{className:"text-3xl font-mono font-bold text-gray-800 tracking-wider mb-4 select-all",children:"AIV888"}),i.jsxs("button",{className:"flex items-center justify-center gap-2 w-full py-2 bg-white border border-gray-300 rounded-lg hover:bg-gray-50 text-sm font-medium transition-colors",children:[i.jsx(a1,{size:14})," 复制链接与邀请码"]})]}),i.jsxs("div",{className:"grid grid-cols-2 gap-4 max-w-sm mx-auto",children:[i.jsxs("div",{className:"bg-blue-50 rounded-lg p-4",children:[i.jsx("div",{className:"text-2xl font-bold text-blue-600",children:"12"}),i.jsx("div",{className:"text-xs text-blue-400",children:"已邀请人数"})]}),i.jsxs("div",{className:"bg-orange-50 rounded-lg p-4",children:[i.jsx("div",{className:"text-2xl font-bold text-orange-600",children:"2,400"}),i.jsx("div",{className:"text-xs text-orange-400",children:"获得奖励积分"})]})]})]}),ue=()=>{switch(r){case"recharge":return i.jsx(ge,{});case"points":return i.jsx(Ue,{});case"history":return i.jsx(be,{});case"invite":return i.jsx($,{});case"login":case"register":return i.jsx(Se,{});default:return i.jsx(ge,{})}};return i.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/40 backdrop-blur-sm animate-in fade-in duration-200",children:i.jsxs("div",{className:"bg-white w-[900px] h-[600px] rounded-2xl shadow-2xl flex overflow-hidden animate-in zoom-in-95 duration-200 relative",children:[i.jsx("button",{onClick:_,className:"absolute top-4 right-4 p-2 text-gray-400 hover:text-gray-600 rounded-full hover:bg-gray-100 transition-colors z-10",children:i.jsx(Ba,{size:20})}),i.jsxs("div",{className:"w-64 bg-gray-50/80 border-r border-gray-100 p-6 flex flex-col justify-between flex-shrink-0",children:[i.jsxs("div",{className:"space-y-6",children:[i.jsxs("div",{className:"flex items-center gap-3 px-2",children:[i.jsx("div",{className:"w-10 h-10 rounded-full bg-blue-600 flex items-center justify-center text-white font-bold",children:"用"}),i.jsxs("div",{children:[i.jsx("div",{className:"font-bold text-gray-800 text-sm",children:"用户0666"}),i.jsx("div",{className:"text-xs text-gray-400",children:"ID: 8839201"})]})]}),i.jsxs("div",{className:"space-y-1",children:[i.jsx("div",{className:"px-4 pb-2 text-xs font-bold text-gray-400 uppercase tracking-wider",children:"资产"}),i.jsx(R,{page:"recharge",icon:by,label:"充值中心"}),i.jsx(R,{page:"points",icon:u1,label:"积分记录"}),i.jsx("div",{className:"px-4 pb-2 pt-4 text-xs font-bold text-gray-400 uppercase tracking-wider",children:"创作"}),i.jsx(R,{page:"history",icon:K0,label:"创作记录"}),i.jsx(R,{page:"invite",icon:zs,label:"邀请有礼"})]})]}),i.jsx("div",{className:"space-y-1",children:A?i.jsx(R,{page:"login",icon:Uy,label:"退出登录"}):i.jsx(R,{page:"login",icon:ld,label:"登录/注册"})})]}),i.jsx("div",{className:"flex-1 p-8 overflow-y-auto custom-scrollbar relative bg-white flex flex-col",children:ue()})]})})},Uy=d=>i.jsx(ld,{...d,className:"transform rotate-180"}),Cy=({onBack:d})=>{const[_,M]=G.useState("create"),[r,w]=G.useState([{id:"1",name:"@DemoTest",date:"2025-12-17 18:25:15",status:"failed",error:`The upload of the 1 character failed
tag:PendingUploadCharacter: Upload may...`}]),[A,k]=G.useState(null),[Z,E]=G.useState(null),[p,Y]=G.useState(""),[D,R]=G.useState(""),[se,Se]=G.useState([0,20]),ge=$=>{var L;const ue=(L=$.target.files)==null?void 0:L[0];ue&&(k(ue),E(URL.createObjectURL(ue)),M("create"))},Ue=()=>{if(!p)return alert("请输入名称");const $={id:Date.now().toString(),name:`@${p}`,date:new Date().toLocaleString(),status:"processing"};w([$,...r]),M("manage"),k(null),E(null),Y(""),R("")},be=$=>{w(r.filter(ue=>ue.id!==$))};return i.jsxs("div",{className:"flex flex-col h-full bg-[#f9fafb] overflow-hidden",children:[i.jsxs("div",{className:"flex items-center justify-between px-8 py-6 flex-shrink-0",children:[i.jsxs("button",{onClick:d,className:"flex items-center gap-1 text-gray-600 hover:text-gray-900 transition-colors font-medium",children:[i.jsx(Ih,{size:20}),"返回视频生成"]}),i.jsxs("div",{className:"flex bg-white rounded-full p-1 shadow-sm border border-gray-100",children:[i.jsxs("button",{onClick:()=>M("create"),className:`flex items-center gap-2 px-6 py-2 rounded-full text-sm font-medium transition-all
${_==="create"?"bg-blue-600 text-white shadow-md":"text-gray-600 hover:bg-gray-50"}`,children:[i.jsx(Rn,{size:16}),"新建数字对象"]}),i.jsxs("button",{onClick:()=>M("manage"),className:`flex items-center gap-2 px-6 py-2 rounded-full text-sm font-medium transition-all
${_==="manage"?"bg-blue-600 text-white shadow-md":"text-gray-600 hover:bg-gray-50"}`,children:[i.jsx(Es,{size:16}),"数字对象管理",r.length>0&&i.jsx("span",{className:`ml-1 text-xs px-1.5 rounded-full ${_==="manage"?"bg-white/20":"bg-gray-200"}`,children:r.length})]})]}),i.jsx("div",{className:"w-24"})]}),i.jsx("div",{className:"flex-1 overflow-y-auto custom-scrollbar px-8 pb-10",children:i.jsxs("div",{className:"max-w-4xl mx-auto",children:[_==="create"&&i.jsxs("div",{className:"bg-white rounded-2xl p-8 shadow-sm border border-gray-100 animate-in fade-in zoom-in-95 duration-300",children:[i.jsxs("div",{className:"flex justify-between items-start mb-6",children:[i.jsxs("div",{className:"flex items-center gap-2 text-xl font-bold text-gray-800",children:[i.jsx(k0,{className:"text-blue-600 fill-blue-600",size:24}),"创建数字对象"]}),i.jsx("div",{className:"px-3 py-1 bg-[#d946ef] text-white text-xs font-bold rounded",children:"创建数字人物"})]}),i.jsxs("p",{className:"text-gray-500 text-sm mb-8 leading-relaxed",children:["上传视频并选取1-3秒的片段来创建您的专属数字对象视频内不能出现任何包含人物的任何部位",i.jsx("br",{}),"比如脸部、手部等等"]}),i.jsxs("div",{className:"mb-2 text-sm font-bold text-gray-700",children:["上传视频 ",i.jsx("span",{className:"text-gray-400 font-normal",children:"(仅支持MP4格式最大50MB)"})]}),Z?i.jsxs("div",{className:"bg-gray-50 rounded-xl p-4 border border-gray-200",children:[i.jsxs("div",{className:"flex items-center justify-between mb-2 text-sm text-gray-500",children:[i.jsxs("div",{className:"flex items-center gap-2",children:[i.jsx(It,{size:14,className:"text-blue-600"}),A==null?void 0:A.name," ",i.jsxs("span",{className:"text-gray-400",children:["(",(A.size/1024/1024).toFixed(2)," MB)"]})]}),i.jsx("button",{onClick:()=>E(null),className:"text-red-500 hover:text-red-600 hover:bg-red-50 p-1 rounded",children:i.jsx($0,{size:16})})]}),i.jsx("div",{className:"aspect-video bg-black rounded-lg overflow-hidden relative mb-4 group",children:i.jsx("video",{src:Z,className:"w-full h-full object-contain",controls:!0})}),i.jsxs("div",{className:"mb-4",children:[i.jsx("div",{className:"flex justify-between text-xs text-gray-500 mb-2",children:i.jsx("span",{children:"选择片段 (创建数字对象需要1-3秒)"})}),i.jsx("div",{className:"h-12 bg-gray-200 rounded overflow-hidden flex mb-2 opacity-60",children:[...Array(10)].map(($,ue)=>i.jsx("div",{className:"flex-1 border-r border-white/20 bg-gray-300"},ue))}),i.jsxs("div",{className:"relative h-6 bg-gray-100 rounded-full",children:[i.jsx("div",{className:"absolute top-1 bottom-1 left-0 bg-blue-600 rounded-full opacity-30 w-1/4"}),i.jsx("div",{className:"absolute top-0 bottom-0 left-0 w-4 h-6 bg-blue-600 rounded-full cursor-ew-resize border-2 border-white shadow-sm"}),i.jsx("div",{className:"absolute top-0 bottom-0 left-[25%] w-4 h-6 bg-blue-600 rounded-full cursor-ew-resize border-2 border-white shadow-sm"})]}),i.jsxs("div",{className:"flex items-center justify-between mt-2 text-xs font-mono text-gray-600",children:[i.jsxs("div",{className:"flex gap-4",children:[i.jsx("span",{children:"开始: 0:00"}),i.jsx("span",{children:"结束: 0:03.0"}),i.jsx("span",{className:"text-green-600 font-bold",children:"时长: 3.0秒"})]}),i.jsxs("button",{className:"flex items-center gap-1 bg-blue-600 text-white px-3 py-1 rounded hover:bg-blue-700",children:[i.jsx(It,{size:12})," 预览片段"]})]})]})]}):i.jsxs("div",{className:"border-2 border-dashed border-gray-300 rounded-xl bg-gray-50 h-64 flex flex-col items-center justify-center text-gray-400 gap-4 hover:border-blue-400 hover:bg-blue-50/30 transition-all cursor-pointer relative group",children:[i.jsx("input",{type:"file",accept:"video/mp4",className:"absolute inset-0 opacity-0 cursor-pointer",onChange:ge}),i.jsx("div",{className:"w-16 h-16 rounded-full bg-white shadow-sm flex items-center justify-center group-hover:scale-110 transition-transform",children:i.jsx(dy,{size:32,className:"text-gray-400 group-hover:text-blue-500"})}),i.jsxs("div",{className:"text-center",children:[i.jsx("div",{className:"font-bold text-gray-600 mb-1",children:"点击或拖拽上传视频"}),i.jsx("div",{className:"text-xs",children:"支持 MP4 格式,大小不超过 50MB"})]})]}),i.jsxs("div",{className:"mt-8 space-y-6",children:[i.jsxs("div",{children:[i.jsxs("label",{className:"block text-sm font-bold text-gray-700 mb-2",children:["名称 ",i.jsx("span",{className:"text-red-500",children:"*"})," ",i.jsx("span",{className:"text-gray-400 font-normal text-xs",children:"(至少6个英文字母或数字)"})]}),i.jsx("input",{type:"text",value:p,onChange:$=>Y($.target.value),placeholder:"请输入名称,如: MarryJK123",className:"w-full border border-gray-300 rounded-lg px-4 py-3 focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none transition-all text-sm"})]}),i.jsxs("div",{children:[i.jsxs("label",{className:"block text-sm font-bold text-gray-700 mb-2",children:["描述 ",i.jsx("span",{className:"text-gray-400 font-normal text-xs",children:"(选填最多500字)"})]}),i.jsx("textarea",{value:D,onChange:$=>R($.target.value),placeholder:"描述一下这个数字对象的特点...",className:"w-full border border-gray-300 rounded-lg px-4 py-3 h-32 resize-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 outline-none transition-all text-sm"}),i.jsx("div",{className:"text-right text-xs text-gray-400 mt-1",children:"0/500"})]})]}),i.jsx("div",{className:"mt-8",children:i.jsxs("button",{onClick:Ue,className:"w-full bg-[#8b9cff] hover:bg-blue-600 text-white font-bold py-3.5 rounded-lg transition-colors flex items-center justify-center gap-2 shadow-sm",children:[i.jsx(k0,{size:18,className:"fill-white"}),"创建数字对象"]})})]}),_==="manage"&&i.jsx("div",{className:"animate-in fade-in slide-in-from-right-4 duration-300",children:r.length===0?i.jsxs("div",{className:"flex flex-col items-center justify-center py-20",children:[i.jsx("div",{className:"w-48 h-48 bg-gray-100 rounded-full flex items-center justify-center mb-6 opacity-50",children:i.jsx(Es,{size:64,className:"text-gray-400",strokeWidth:1})}),i.jsx("div",{className:"text-gray-400 text-lg",children:"暂无创作记录"})]}):i.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:r.map($=>i.jsxs("div",{className:"bg-white rounded-xl overflow-hidden shadow-sm border border-gray-200 group hover:shadow-md transition-shadow",children:[i.jsxs("div",{className:"aspect-square bg-gray-200 relative",children:[$.status==="failed"?i.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-gray-100",children:i.jsx(e1,{size:48,className:"text-gray-300"})}):i.jsx("img",{src:`https://picsum.photos/seed/${$.id}/400/400`,className:"w-full h-full object-cover",alt:"preview"}),i.jsxs("div",{className:"absolute top-3 right-3",children:[$.status==="failed"&&i.jsx("span",{className:"bg-red-500 text-white text-xs px-2 py-1 rounded font-bold",children:"失败"}),$.status==="processing"&&i.jsx("span",{className:"bg-blue-500 text-white text-xs px-2 py-1 rounded font-bold animate-pulse",children:"处理中"}),$.status==="completed"&&i.jsx("span",{className:"bg-green-500 text-white text-xs px-2 py-1 rounded font-bold",children:"完成"})]}),i.jsx("div",{className:"absolute inset-0 bg-black/50 opacity-0 group-hover:opacity-100 transition-opacity flex items-center justify-center"})]}),i.jsxs("div",{className:"p-4",children:[i.jsx("h3",{className:"font-bold text-gray-800 text-lg mb-1",children:$.name}),i.jsx("div",{className:"text-xs text-gray-400 mb-3",children:$.date}),$.status==="failed"&&$.error&&i.jsxs("div",{className:"bg-red-50 border border-red-100 rounded p-2 mb-4",children:[i.jsx("div",{className:"text-xs text-red-500 font-bold mb-1",children:"error"}),i.jsx("div",{className:"text-[10px] text-red-400 leading-tight line-clamp-2",children:$.error})]}),i.jsxs("button",{onClick:()=>be($.id),className:"w-full py-2 bg-red-50 text-red-500 rounded-lg text-sm font-medium hover:bg-red-100 transition-colors flex items-center justify-center gap-2",children:[i.jsx($0,{size:16})," 删除"]})]})]},$.id))})})]})})]})},Ms=()=>Array.from({length:Ny}).map((d,_)=>({id:_+1,selected:!1,prompt:"",referenceImage:null,status:zl.IDLE,resultUrl:null,count:1})),wy=()=>{const[d,_]=G.useState(C.VIDEO),[M,r]=G.useState("simple"),[w,A]=G.useState(0),[k,Z]=G.useState(!1),[E,p]=G.useState("recharge"),[Y,D]=G.useState(!1),[R,se]=G.useState({aspectRatio:"9:16",duration:"15s",resolution:"HD",imageModel:"Nano Banana",textModel:"gemini-flash-lite",musicModel:"suno-v3.5"}),[Se,ge]=G.useState({[C.VIDEO]:Ms(),[C.IMAGE]:Ms(),[C.MUSIC]:Ms(),[C.TEXT]:[]}),[Ue,be]=G.useState(!1),$=Se[d]||[],ue=W=>{ge(pe=>({...pe,[d]:W(pe[d])}))};G.useEffect(()=>{D(!1)},[d]),G.useEffect(()=>{(async()=>{await Hn()||setTimeout(()=>Ga(),1e3)})()},[]);const L=G.useCallback((W,pe,te)=>{ue(oe=>oe.map(b=>b.id===W?{...b,[pe]:te}:b))},[d]),me=G.useCallback(W=>{ue(pe=>pe.map(te=>te.id===W?{...te,prompt:"",referenceImage:null,musicStyle:"",musicTitle:"",isInstrumental:!1,status:zl.IDLE,resultUrl:null,error:void 0}:te))},[d]),V=async W=>{const te=Se[d].find(b=>b.id===W);if(!te||!te.prompt)return;if(!await Hn()){await Ga();return}L(W,"status",zl.GENERATING),be(!0);try{let b="";d===C.VIDEO?b=await ad(te.prompt,R,te.referenceImage):d===C.IMAGE?b=await nd(te.prompt,R,te.referenceImage):d===C.MUSIC?b=await ud(te.prompt,te.musicStyle||"",te.isInstrumental||!1,te.musicTitle||""):b="",L(W,"resultUrl",b),L(W,"status",zl.COMPLETED)}catch(b){L(W,"status",zl.FAILED),L(W,"error",b.message||"Unknown error")}finally{be(!1)}},P=async()=>{const pe=Se[d].filter(oe=>oe.selected&&oe.prompt);if(pe.length===0){alert("请选择已输入提示词的行。");return}if(!await Hn()){await Ga();return}be(!0);for(const oe of pe)await V(oe.id);be(!1)},Je=()=>{ue(W=>W.map(pe=>pe.selected?{...pe,prompt:"",referenceImage:null,musicStyle:"",musicTitle:"",isInstrumental:!1,status:zl.IDLE,resultUrl:null,selected:!1}:pe))},al=W=>{ue(pe=>pe.map(te=>({...te,selected:W})))},Ml=()=>{A(W=>W+1)},qe=(W="recharge")=>{p(W),Z(!0)};return i.jsxs("div",{className:"flex w-full h-screen overflow-hidden bg-white text-gray-800 font-sans",children:[i.jsx(Sy,{activeTab:d,setActiveTab:_,onOpenUserModal:qe}),i.jsx("main",{className:"flex-1 flex flex-col h-full overflow-hidden relative",children:Y?i.jsx(Cy,{onBack:()=>D(!1)}):i.jsxs(i.Fragment,{children:[i.jsx(Ey,{config:R,setConfig:se,onBatchGenerate:P,onDelete:Je,generating:Ue,viewMode:M,setViewMode:r,activeTab:d,onNewChat:Ml,onOpenDigitalManager:()=>D(!0)}),i.jsx("div",{className:"flex-1 min-h-0 relative flex flex-col",children:d===C.TEXT?i.jsx(Oy,{config:R},w):i.jsx(i.Fragment,{children:M==="efficiency"?i.jsxs(i.Fragment,{children:[i.jsx(_y,{}),i.jsxs("div",{className:"flex items-center h-10 bg-gray-50 border-b border-gray-200 text-xs font-bold text-gray-600 flex-shrink-0",children:[i.jsx("div",{className:"w-12 flex justify-center border-r border-gray-200",children:i.jsx("input",{type:"checkbox",onChange:W=>al(W.target.checked),className:"w-4 h-4 rounded border-gray-300 text-blue-600 focus:ring-blue-500"})}),i.jsx("div",{className:"w-12 flex justify-center border-r border-gray-200",children:"#"}),d===C.MUSIC?i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"flex-1 px-4 border-r border-gray-200",children:"歌词描述"}),i.jsx("div",{className:"w-32 px-2 border-r border-gray-200",children:"风格"}),i.jsx("div",{className:"w-32 px-2 border-r border-gray-200",children:"标题"}),i.jsx("div",{className:"w-16 text-center border-r border-gray-200",children:"模式"})]}):i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"flex-1 px-4 border-r border-gray-200",children:"提示词"}),i.jsx("div",{className:"w-32 text-center border-r border-gray-200",children:"参考图"})]}),i.jsx("div",{className:"w-24 text-center px-2 border-r border-gray-200",children:"状态"}),i.jsx("div",{className:"w-20 text-center border-r border-gray-200",children:"数量"}),i.jsx("div",{className:"w-28 text-center",children:"操作"})]}),i.jsxs("div",{className:"flex-1 overflow-y-auto custom-scrollbar pb-20",children:[$.map(W=>i.jsx(Ay,{task:W,activeTab:d,onChange:L,onGenerate:V,onClear:me},W.id)),i.jsx("div",{className:"h-10"})]})]}):i.jsx(Ty,{config:R,setConfig:se,activeTab:d},d)})})]})}),i.jsx(Dy,{isOpen:k,onClose:()=>Z(!1),initialPage:E})]})},id=document.getElementById("root");if(!id)throw new Error("Could not find root element to mount to");const Hy=Yh.createRoot(id);Hy.render(i.jsx(Uh.StrictMode,{children:i.jsx(wy,{})}));