331 lines
276 KiB
JavaScript
Executable File
331 lines
276 KiB
JavaScript
Executable File
(function(){const j=document.createElement("link").relList;if(j&&j.supports&&j.supports("modulepreload"))return;for(const A of document.querySelectorAll('link[rel="modulepreload"]'))d(A);new MutationObserver(A=>{for(const w of A)if(w.type==="childList")for(const O of w.addedNodes)O.tagName==="LINK"&&O.rel==="modulepreload"&&d(O)}).observe(document,{childList:!0,subtree:!0});function _(A){const w={};return A.integrity&&(w.integrity=A.integrity),A.referrerPolicy&&(w.referrerPolicy=A.referrerPolicy),A.crossOrigin==="use-credentials"?w.credentials="include":A.crossOrigin==="anonymous"?w.credentials="omit":w.credentials="same-origin",w}function d(A){if(A.ep)return;A.ep=!0;const w=_(A);fetch(A.href,w)}})();function Zr(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var hs={exports:{}},_n={};/**
|
||
* @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 Mr;function jh(){if(Mr)return _n;Mr=1;var o=Symbol.for("react.transitional.element"),j=Symbol.for("react.fragment");function _(d,A,w){var O=null;if(w!==void 0&&(O=""+w),A.key!==void 0&&(O=""+A.key),"key"in A){w={};for(var M in A)M!=="key"&&(w[M]=A[M])}else w=A;return A=w.ref,{$$typeof:o,type:d,key:O,ref:A!==void 0?A:null,props:w}}return _n.Fragment=j,_n.jsx=_,_n.jsxs=_,_n}var wr;function Nh(){return wr||(wr=1,hs.exports=jh()),hs.exports}var u=Nh(),vs={exports:{}},J={};/**
|
||
* @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 Or;function Sh(){if(Or)return J;Or=1;var o=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),w=Symbol.for("react.consumer"),O=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),U=Symbol.for("react.activity"),V=Symbol.iterator;function fl(m){return m===null||typeof m!="object"?null:(m=V&&m[V]||m["@@iterator"],typeof m=="function"?m:null)}var pl={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},xl=Object.assign,$l={};function wl(m,E,C){this.props=m,this.context=E,this.refs=$l,this.updater=C||pl}wl.prototype.isReactComponent={},wl.prototype.setState=function(m,E){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,E,"setState")},wl.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this,m,"forceUpdate")};function Gl(){}Gl.prototype=wl.prototype;function yl(m,E,C){this.props=m,this.context=E,this.refs=$l,this.updater=C||pl}var _l=yl.prototype=new Gl;_l.constructor=yl,xl(_l,wl.prototype),_l.isPureReactComponent=!0;var Cl=Array.isArray;function zl(){}var K={H:null,A:null,T:null,S:null},Al=Object.prototype.hasOwnProperty;function Wl(m,E,C){var R=C.ref;return{$$typeof:o,type:m,key:E,ref:R!==void 0?R:null,props:C}}function Y(m,E){return Wl(m.type,E,m.props)}function I(m){return typeof m=="object"&&m!==null&&m.$$typeof===o}function G(m){var E={"=":"=0",":":"=2"};return"$"+m.replace(/[=:]/g,function(C){return E[C]})}var jl=/\/+/g;function Hl(m,E){return typeof m=="object"&&m!==null&&m.key!=null?G(""+m.key):E.toString(36)}function Il(m){switch(m.status){case"fulfilled":return m.value;case"rejected":throw m.reason;default:switch(typeof m.status=="string"?m.then(zl,zl):(m.status="pending",m.then(function(E){m.status==="pending"&&(m.status="fulfilled",m.value=E)},function(E){m.status==="pending"&&(m.status="rejected",m.reason=E)})),m.status){case"fulfilled":return m.value;case"rejected":throw m.reason}}throw m}function p(m,E,C,R,$){var P=typeof m;(P==="undefined"||P==="boolean")&&(m=null);var sl=!1;if(m===null)sl=!0;else switch(P){case"bigint":case"string":case"number":sl=!0;break;case"object":switch(m.$$typeof){case o:case j:sl=!0;break;case B:return sl=m._init,p(sl(m._payload),E,C,R,$)}}if(sl)return $=$(m),sl=R===""?"."+Hl(m,0):R,Cl($)?(C="",sl!=null&&(C=sl.replace(jl,"$&/")+"/"),p($,E,C,"",function(Oa){return Oa})):$!=null&&(I($)&&($=Y($,C+($.key==null||m&&m.key===$.key?"":(""+$.key).replace(jl,"$&/")+"/")+sl)),E.push($)),1;sl=0;var Pl=R===""?".":R+":";if(Cl(m))for(var Ol=0;Ol<m.length;Ol++)R=m[Ol],P=Pl+Hl(R,Ol),sl+=p(R,E,C,P,$);else if(Ol=fl(m),typeof Ol=="function")for(m=Ol.call(m),Ol=0;!(R=m.next()).done;)R=R.value,P=Pl+Hl(R,Ol++),sl+=p(R,E,C,P,$);else if(P==="object"){if(typeof m.then=="function")return p(Il(m),E,C,R,$);throw E=String(m),Error("Objects are not valid as a React child (found: "+(E==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":E)+"). If you meant to render a collection of children, use an array instead.")}return sl}function D(m,E,C){if(m==null)return m;var R=[],$=0;return p(m,R,"","",function(P){return E.call(C,P,$++)}),R}function k(m){if(m._status===-1){var E=m._result;E=E(),E.then(function(C){(m._status===0||m._status===-1)&&(m._status=1,m._result=C)},function(C){(m._status===0||m._status===-1)&&(m._status=2,m._result=C)}),m._status===-1&&(m._status=0,m._result=E)}if(m._status===1)return m._result.default;throw m._result}var rl=typeof reportError=="function"?reportError:function(m){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var E=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(E))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",m);return}console.error(m)},gl={map:D,forEach:function(m,E,C){D(m,function(){E.apply(this,arguments)},C)},count:function(m){var E=0;return D(m,function(){E++}),E},toArray:function(m){return D(m,function(E){return E})||[]},only:function(m){if(!I(m))throw Error("React.Children.only expected to receive a single React element child.");return m}};return J.Activity=U,J.Children=gl,J.Component=wl,J.Fragment=_,J.Profiler=A,J.PureComponent=yl,J.StrictMode=d,J.Suspense=T,J.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K,J.__COMPILER_RUNTIME={__proto__:null,c:function(m){return K.H.useMemoCache(m)}},J.cache=function(m){return function(){return m.apply(null,arguments)}},J.cacheSignal=function(){return null},J.cloneElement=function(m,E,C){if(m==null)throw Error("The argument must be a React element, but you passed "+m+".");var R=xl({},m.props),$=m.key;if(E!=null)for(P in E.key!==void 0&&($=""+E.key),E)!Al.call(E,P)||P==="key"||P==="__self"||P==="__source"||P==="ref"&&E.ref===void 0||(R[P]=E[P]);var P=arguments.length-2;if(P===1)R.children=C;else if(1<P){for(var sl=Array(P),Pl=0;Pl<P;Pl++)sl[Pl]=arguments[Pl+2];R.children=sl}return Wl(m.type,$,R)},J.createContext=function(m){return m={$$typeof:O,_currentValue:m,_currentValue2:m,_threadCount:0,Provider:null,Consumer:null},m.Provider=m,m.Consumer={$$typeof:w,_context:m},m},J.createElement=function(m,E,C){var R,$={},P=null;if(E!=null)for(R in E.key!==void 0&&(P=""+E.key),E)Al.call(E,R)&&R!=="key"&&R!=="__self"&&R!=="__source"&&($[R]=E[R]);var sl=arguments.length-2;if(sl===1)$.children=C;else if(1<sl){for(var Pl=Array(sl),Ol=0;Ol<sl;Ol++)Pl[Ol]=arguments[Ol+2];$.children=Pl}if(m&&m.defaultProps)for(R in sl=m.defaultProps,sl)$[R]===void 0&&($[R]=sl[R]);return Wl(m,P,$)},J.createRef=function(){return{current:null}},J.forwardRef=function(m){return{$$typeof:M,render:m}},J.isValidElement=I,J.lazy=function(m){return{$$typeof:B,_payload:{_status:-1,_result:m},_init:k}},J.memo=function(m,E){return{$$typeof:y,type:m,compare:E===void 0?null:E}},J.startTransition=function(m){var E=K.T,C={};K.T=C;try{var R=m(),$=K.S;$!==null&&$(C,R),typeof R=="object"&&R!==null&&typeof R.then=="function"&&R.then(zl,rl)}catch(P){rl(P)}finally{E!==null&&C.types!==null&&(E.types=C.types),K.T=E}},J.unstable_useCacheRefresh=function(){return K.H.useCacheRefresh()},J.use=function(m){return K.H.use(m)},J.useActionState=function(m,E,C){return K.H.useActionState(m,E,C)},J.useCallback=function(m,E){return K.H.useCallback(m,E)},J.useContext=function(m){return K.H.useContext(m)},J.useDebugValue=function(){},J.useDeferredValue=function(m,E){return K.H.useDeferredValue(m,E)},J.useEffect=function(m,E){return K.H.useEffect(m,E)},J.useEffectEvent=function(m){return K.H.useEffectEvent(m)},J.useId=function(){return K.H.useId()},J.useImperativeHandle=function(m,E,C){return K.H.useImperativeHandle(m,E,C)},J.useInsertionEffect=function(m,E){return K.H.useInsertionEffect(m,E)},J.useLayoutEffect=function(m,E){return K.H.useLayoutEffect(m,E)},J.useMemo=function(m,E){return K.H.useMemo(m,E)},J.useOptimistic=function(m,E){return K.H.useOptimistic(m,E)},J.useReducer=function(m,E,C){return K.H.useReducer(m,E,C)},J.useRef=function(m){return K.H.useRef(m)},J.useState=function(m){return K.H.useState(m)},J.useSyncExternalStore=function(m,E,C){return K.H.useSyncExternalStore(m,E,C)},J.useTransition=function(){return K.H.useTransition()},J.version="19.2.3",J}var Ur;function Ns(){return Ur||(Ur=1,vs.exports=Sh()),vs.exports}var X=Ns();const _h=Zr(X);var xs={exports:{}},En={},ys={exports:{}},gs={};/**
|
||
* @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 Dr;function Eh(){return Dr||(Dr=1,(function(o){function j(p,D){var k=p.length;p.push(D);l:for(;0<k;){var rl=k-1>>>1,gl=p[rl];if(0<A(gl,D))p[rl]=D,p[k]=gl,k=rl;else break l}}function _(p){return p.length===0?null:p[0]}function d(p){if(p.length===0)return null;var D=p[0],k=p.pop();if(k!==D){p[0]=k;l:for(var rl=0,gl=p.length,m=gl>>>1;rl<m;){var E=2*(rl+1)-1,C=p[E],R=E+1,$=p[R];if(0>A(C,k))R<gl&&0>A($,C)?(p[rl]=$,p[R]=k,rl=R):(p[rl]=C,p[E]=k,rl=E);else if(R<gl&&0>A($,k))p[rl]=$,p[R]=k,rl=R;else break l}}return D}function A(p,D){var k=p.sortIndex-D.sortIndex;return k!==0?k:p.id-D.id}if(o.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var w=performance;o.unstable_now=function(){return w.now()}}else{var O=Date,M=O.now();o.unstable_now=function(){return O.now()-M}}var T=[],y=[],B=1,U=null,V=3,fl=!1,pl=!1,xl=!1,$l=!1,wl=typeof setTimeout=="function"?setTimeout:null,Gl=typeof clearTimeout=="function"?clearTimeout:null,yl=typeof setImmediate<"u"?setImmediate:null;function _l(p){for(var D=_(y);D!==null;){if(D.callback===null)d(y);else if(D.startTime<=p)d(y),D.sortIndex=D.expirationTime,j(T,D);else break;D=_(y)}}function Cl(p){if(xl=!1,_l(p),!pl)if(_(T)!==null)pl=!0,zl||(zl=!0,G());else{var D=_(y);D!==null&&Il(Cl,D.startTime-p)}}var zl=!1,K=-1,Al=5,Wl=-1;function Y(){return $l?!0:!(o.unstable_now()-Wl<Al)}function I(){if($l=!1,zl){var p=o.unstable_now();Wl=p;var D=!0;try{l:{pl=!1,xl&&(xl=!1,Gl(K),K=-1),fl=!0;var k=V;try{e:{for(_l(p),U=_(T);U!==null&&!(U.expirationTime>p&&Y());){var rl=U.callback;if(typeof rl=="function"){U.callback=null,V=U.priorityLevel;var gl=rl(U.expirationTime<=p);if(p=o.unstable_now(),typeof gl=="function"){U.callback=gl,_l(p),D=!0;break e}U===_(T)&&d(T),_l(p)}else d(T);U=_(T)}if(U!==null)D=!0;else{var m=_(y);m!==null&&Il(Cl,m.startTime-p),D=!1}}break l}finally{U=null,V=k,fl=!1}D=void 0}}finally{D?G():zl=!1}}}var G;if(typeof yl=="function")G=function(){yl(I)};else if(typeof MessageChannel<"u"){var jl=new MessageChannel,Hl=jl.port2;jl.port1.onmessage=I,G=function(){Hl.postMessage(null)}}else G=function(){wl(I,0)};function Il(p,D){K=wl(function(){p(o.unstable_now())},D)}o.unstable_IdlePriority=5,o.unstable_ImmediatePriority=1,o.unstable_LowPriority=4,o.unstable_NormalPriority=3,o.unstable_Profiling=null,o.unstable_UserBlockingPriority=2,o.unstable_cancelCallback=function(p){p.callback=null},o.unstable_forceFrameRate=function(p){0>p||125<p?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Al=0<p?Math.floor(1e3/p):5},o.unstable_getCurrentPriorityLevel=function(){return V},o.unstable_next=function(p){switch(V){case 1:case 2:case 3:var D=3;break;default:D=V}var k=V;V=D;try{return p()}finally{V=k}},o.unstable_requestPaint=function(){$l=!0},o.unstable_runWithPriority=function(p,D){switch(p){case 1:case 2:case 3:case 4:case 5:break;default:p=3}var k=V;V=p;try{return D()}finally{V=k}},o.unstable_scheduleCallback=function(p,D,k){var rl=o.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?rl+k:rl):k=rl,p){case 1:var gl=-1;break;case 2:gl=250;break;case 5:gl=1073741823;break;case 4:gl=1e4;break;default:gl=5e3}return gl=k+gl,p={id:B++,callback:D,priorityLevel:p,startTime:k,expirationTime:gl,sortIndex:-1},k>rl?(p.sortIndex=k,j(y,p),_(T)===null&&p===_(y)&&(xl?(Gl(K),K=-1):xl=!0,Il(Cl,k-rl))):(p.sortIndex=gl,j(T,p),pl||fl||(pl=!0,zl||(zl=!0,G()))),p},o.unstable_shouldYield=Y,o.unstable_wrapCallback=function(p){var D=V;return function(){var k=V;V=D;try{return p.apply(this,arguments)}finally{V=k}}}})(gs)),gs}var Cr;function Ah(){return Cr||(Cr=1,ys.exports=Eh()),ys.exports}var bs={exports:{}},Fl={};/**
|
||
* @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 Hr;function Th(){if(Hr)return Fl;Hr=1;var o=Ns();function j(T){var y="https://react.dev/errors/"+T;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var B=2;B<arguments.length;B++)y+="&args[]="+encodeURIComponent(arguments[B])}return"Minified React error #"+T+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function _(){}var d={d:{f:_,r:function(){throw Error(j(522))},D:_,C:_,L:_,m:_,X:_,S:_,M:_},p:0,findDOMNode:null},A=Symbol.for("react.portal");function w(T,y,B){var U=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:A,key:U==null?null:""+U,children:T,containerInfo:y,implementation:B}}var O=o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function M(T,y){if(T==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return Fl.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=d,Fl.createPortal=function(T,y){var B=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(j(299));return w(T,y,null,B)},Fl.flushSync=function(T){var y=O.T,B=d.p;try{if(O.T=null,d.p=2,T)return T()}finally{O.T=y,d.p=B,d.d.f()}},Fl.preconnect=function(T,y){typeof T=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,d.d.C(T,y))},Fl.prefetchDNS=function(T){typeof T=="string"&&d.d.D(T)},Fl.preinit=function(T,y){if(typeof T=="string"&&y&&typeof y.as=="string"){var B=y.as,U=M(B,y.crossOrigin),V=typeof y.integrity=="string"?y.integrity:void 0,fl=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;B==="style"?d.d.S(T,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:U,integrity:V,fetchPriority:fl}):B==="script"&&d.d.X(T,{crossOrigin:U,integrity:V,fetchPriority:fl,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},Fl.preinitModule=function(T,y){if(typeof T=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var B=M(y.as,y.crossOrigin);d.d.M(T,{crossOrigin:B,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&d.d.M(T)},Fl.preload=function(T,y){if(typeof T=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var B=y.as,U=M(B,y.crossOrigin);d.d.L(T,B,{crossOrigin:U,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},Fl.preloadModule=function(T,y){if(typeof T=="string")if(y){var B=M(y.as,y.crossOrigin);d.d.m(T,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:B,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else d.d.m(T)},Fl.requestFormReset=function(T){d.d.r(T)},Fl.unstable_batchedUpdates=function(T,y){return T(y)},Fl.useFormState=function(T,y,B){return O.H.useFormState(T,y,B)},Fl.useFormStatus=function(){return O.H.useHostTransitionStatus()},Fl.version="19.2.3",Fl}var Rr;function Mh(){if(Rr)return bs.exports;Rr=1;function o(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(j){console.error(j)}}return o(),bs.exports=Th(),bs.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 qr;function wh(){if(qr)return En;qr=1;var o=Ah(),j=Ns(),_=Mh();function d(l){var e="https://react.dev/errors/"+l;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+l+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function A(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function w(l){var e=l,t=l;if(l.alternate)for(;e.return;)e=e.return;else{l=e;do e=l,(e.flags&4098)!==0&&(t=e.return),l=e.return;while(l)}return e.tag===3?t:null}function O(l){if(l.tag===13){var e=l.memoizedState;if(e===null&&(l=l.alternate,l!==null&&(e=l.memoizedState)),e!==null)return e.dehydrated}return null}function M(l){if(l.tag===31){var e=l.memoizedState;if(e===null&&(l=l.alternate,l!==null&&(e=l.memoizedState)),e!==null)return e.dehydrated}return null}function T(l){if(w(l)!==l)throw Error(d(188))}function y(l){var e=l.alternate;if(!e){if(e=w(l),e===null)throw Error(d(188));return e!==l?null:l}for(var t=l,a=e;;){var n=t.return;if(n===null)break;var i=n.alternate;if(i===null){if(a=n.return,a!==null){t=a;continue}break}if(n.child===i.child){for(i=n.child;i;){if(i===t)return T(n),l;if(i===a)return T(n),e;i=i.sibling}throw Error(d(188))}if(t.return!==a.return)t=n,a=i;else{for(var c=!1,s=n.child;s;){if(s===t){c=!0,t=n,a=i;break}if(s===a){c=!0,a=n,t=i;break}s=s.sibling}if(!c){for(s=i.child;s;){if(s===t){c=!0,t=i,a=n;break}if(s===a){c=!0,a=i,t=n;break}s=s.sibling}if(!c)throw Error(d(189))}}if(t.alternate!==a)throw Error(d(190))}if(t.tag!==3)throw Error(d(188));return t.stateNode.current===t?l:e}function B(l){var e=l.tag;if(e===5||e===26||e===27||e===6)return l;for(l=l.child;l!==null;){if(e=B(l),e!==null)return e;l=l.sibling}return null}var U=Object.assign,V=Symbol.for("react.element"),fl=Symbol.for("react.transitional.element"),pl=Symbol.for("react.portal"),xl=Symbol.for("react.fragment"),$l=Symbol.for("react.strict_mode"),wl=Symbol.for("react.profiler"),Gl=Symbol.for("react.consumer"),yl=Symbol.for("react.context"),_l=Symbol.for("react.forward_ref"),Cl=Symbol.for("react.suspense"),zl=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),Al=Symbol.for("react.lazy"),Wl=Symbol.for("react.activity"),Y=Symbol.for("react.memo_cache_sentinel"),I=Symbol.iterator;function G(l){return l===null||typeof l!="object"?null:(l=I&&l[I]||l["@@iterator"],typeof l=="function"?l:null)}var jl=Symbol.for("react.client.reference");function Hl(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===jl?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case xl:return"Fragment";case wl:return"Profiler";case $l:return"StrictMode";case Cl:return"Suspense";case zl:return"SuspenseList";case Wl:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case pl:return"Portal";case yl:return l.displayName||"Context";case Gl:return(l._context.displayName||"Context")+".Consumer";case _l:var e=l.render;return l=l.displayName,l||(l=e.displayName||e.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case K:return e=l.displayName||null,e!==null?e:Hl(l.type)||"Memo";case Al:e=l._payload,l=l._init;try{return Hl(l(e))}catch{}}return null}var Il=Array.isArray,p=j.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,D=_.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k={pending:!1,data:null,method:null,action:null},rl=[],gl=-1;function m(l){return{current:l}}function E(l){0>gl||(l.current=rl[gl],rl[gl]=null,gl--)}function C(l,e){gl++,rl[gl]=l.current,l.current=e}var R=m(null),$=m(null),P=m(null),sl=m(null);function Pl(l,e){switch(C(P,e),C($,l),C(R,null),e.nodeType){case 9:case 11:l=(l=e.documentElement)&&(l=l.namespaceURI)?Id(l):0;break;default:if(l=e.tagName,e=e.namespaceURI)e=Id(e),l=Pd(e,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}E(R),C(R,l)}function Ol(){E(R),E($),E(P)}function Oa(l){l.memoizedState!==null&&C(sl,l);var e=R.current,t=Pd(e,l.type);e!==t&&(C($,l),C(R,t))}function Mn(l){$.current===l&&(E(R),E($)),sl.current===l&&(E(sl),zn._currentValue=k)}var Wi,Es;function At(l){if(Wi===void 0)try{throw Error()}catch(t){var e=t.stack.trim().match(/\n( *(at )?)/);Wi=e&&e[1]||"",Es=-1<t.stack.indexOf(`
|
||
at`)?" (<anonymous>)":-1<t.stack.indexOf("@")?"@unknown:0:0":""}return`
|
||
`+Wi+l+Es}var Fi=!1;function Ii(l,e){if(!l||Fi)return"";Fi=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){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(b){var g=b}Reflect.construct(l,[],S)}else{try{S.call()}catch(b){g=b}l.call(S.prototype)}}else{try{throw Error()}catch(b){g=b}(S=l())&&typeof S.catch=="function"&&S.catch(function(){})}}catch(b){if(b&&g&&typeof b.stack=="string")return[b.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 i=a.DetermineComponentFrameRoot(),c=i[0],s=i[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 z=`
|
||
`+f[a].replace(" at new "," at ");return l.displayName&&z.includes("<anonymous>")&&(z=z.replace("<anonymous>",l.displayName)),z}while(1<=a&&0<=n);break}}}finally{Fi=!1,Error.prepareStackTrace=t}return(t=l?l.displayName||l.name:"")?At(t):""}function Pr(l,e){switch(l.tag){case 26:case 27:case 5:return At(l.type);case 16:return At("Lazy");case 13:return l.child!==e&&e!==null?At("Suspense Fallback"):At("Suspense");case 19:return At("SuspenseList");case 0:case 15:return Ii(l.type,!1);case 11:return Ii(l.type.render,!1);case 1:return Ii(l.type,!0);case 31:return At("Activity");default:return""}}function As(l){try{var e="",t=null;do e+=Pr(l,t),t=l,l=l.return;while(l);return e}catch(a){return`
|
||
Error generating stack: `+a.message+`
|
||
`+a.stack}}var Pi=Object.prototype.hasOwnProperty,lu=o.unstable_scheduleCallback,eu=o.unstable_cancelCallback,l0=o.unstable_shouldYield,e0=o.unstable_requestPaint,fe=o.unstable_now,t0=o.unstable_getCurrentPriorityLevel,Ts=o.unstable_ImmediatePriority,Ms=o.unstable_UserBlockingPriority,wn=o.unstable_NormalPriority,a0=o.unstable_LowPriority,ws=o.unstable_IdlePriority,n0=o.log,i0=o.unstable_setDisableYieldValue,Ua=null,oe=null;function et(l){if(typeof n0=="function"&&i0(l),oe&&typeof oe.setStrictMode=="function")try{oe.setStrictMode(Ua,l)}catch{}}var de=Math.clz32?Math.clz32:s0,u0=Math.log,c0=Math.LN2;function s0(l){return l>>>=0,l===0?32:31-(u0(l)/c0|0)|0}var On=256,Un=262144,Dn=4194304;function Tt(l){var e=l&42;if(e!==0)return e;switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return l&261888;case 262144:case 524288:case 1048576:case 2097152:return l&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function Cn(l,e,t){var a=l.pendingLanes;if(a===0)return 0;var n=0,i=l.suspendedLanes,c=l.pingedLanes;l=l.warmLanes;var s=a&134217727;return s!==0?(a=s&~i,a!==0?n=Tt(a):(c&=s,c!==0?n=Tt(c):t||(t=s&~l,t!==0&&(n=Tt(t))))):(s=a&~i,s!==0?n=Tt(s):c!==0?n=Tt(c):t||(t=a&~l,t!==0&&(n=Tt(t)))),n===0?0:e!==0&&e!==n&&(e&i)===0&&(i=n&-n,t=e&-e,i>=t||i===32&&(t&4194048)!==0)?e:n}function Da(l,e){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&e)===0}function f0(l,e){switch(l){case 1:case 2:case 4:case 8:case 64:return e+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 e+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 Os(){var l=Dn;return Dn<<=1,(Dn&62914560)===0&&(Dn=4194304),l}function tu(l){for(var e=[],t=0;31>t;t++)e.push(l);return e}function Ca(l,e){l.pendingLanes|=e,e!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function o0(l,e,t,a,n,i){var c=l.pendingLanes;l.pendingLanes=t,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=t,l.entangledLanes&=t,l.errorRecoveryDisabledLanes&=t,l.shellSuspendCounter=0;var s=l.entanglements,f=l.expirationTimes,x=l.hiddenUpdates;for(t=c&~t;0<t;){var z=31-de(t),S=1<<z;s[z]=0,f[z]=-1;var g=x[z];if(g!==null)for(x[z]=null,z=0;z<g.length;z++){var b=g[z];b!==null&&(b.lane&=-536870913)}t&=~S}a!==0&&Us(l,a,0),i!==0&&n===0&&l.tag!==0&&(l.suspendedLanes|=i&~(c&~e))}function Us(l,e,t){l.pendingLanes|=e,l.suspendedLanes&=~e;var a=31-de(e);l.entangledLanes|=e,l.entanglements[a]=l.entanglements[a]|1073741824|t&261930}function Ds(l,e){var t=l.entangledLanes|=e;for(l=l.entanglements;t;){var a=31-de(t),n=1<<a;n&e|l[a]&e&&(l[a]|=e),t&=~n}}function Cs(l,e){var t=e&-e;return t=(t&42)!==0?1:au(t),(t&(l.suspendedLanes|e))!==0?0:t}function au(l){switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:l=128;break;case 268435456:l=134217728;break;default:l=0}return l}function nu(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function Hs(){var l=D.p;return l!==0?l:(l=window.event,l===void 0?32:jr(l.type))}function Rs(l,e){var t=D.p;try{return D.p=l,e()}finally{D.p=t}}var tt=Math.random().toString(36).slice(2),Zl="__reactFiber$"+tt,ee="__reactProps$"+tt,Kt="__reactContainer$"+tt,iu="__reactEvents$"+tt,d0="__reactListeners$"+tt,r0="__reactHandles$"+tt,qs="__reactResources$"+tt,Ha="__reactMarker$"+tt;function uu(l){delete l[Zl],delete l[ee],delete l[iu],delete l[d0],delete l[r0]}function Jt(l){var e=l[Zl];if(e)return e;for(var t=l.parentNode;t;){if(e=t[Kt]||t[Zl]){if(t=e.alternate,e.child!==null||t!==null&&t.child!==null)for(l=ur(l);l!==null;){if(t=l[Zl])return t;l=ur(l)}return e}l=t,t=l.parentNode}return null}function $t(l){if(l=l[Zl]||l[Kt]){var e=l.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return l}return null}function Ra(l){var e=l.tag;if(e===5||e===26||e===27||e===6)return l.stateNode;throw Error(d(33))}function Wt(l){var e=l[qs];return e||(e=l[qs]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function Xl(l){l[Ha]=!0}var Bs=new Set,Ys={};function Mt(l,e){Ft(l,e),Ft(l+"Capture",e)}function Ft(l,e){for(Ys[l]=e,l=0;l<e.length;l++)Bs.add(e[l])}var m0=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]*$"),Gs={},Qs={};function h0(l){return Pi.call(Qs,l)?!0:Pi.call(Gs,l)?!1:m0.test(l)?Qs[l]=!0:(Gs[l]=!0,!1)}function Hn(l,e,t){if(h0(e))if(t===null)l.removeAttribute(e);else{switch(typeof t){case"undefined":case"function":case"symbol":l.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){l.removeAttribute(e);return}}l.setAttribute(e,""+t)}}function Rn(l,e,t){if(t===null)l.removeAttribute(e);else{switch(typeof t){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(e);return}l.setAttribute(e,""+t)}}function qe(l,e,t,a){if(a===null)l.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(t);return}l.setAttributeNS(e,t,""+a)}}function be(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Xs(l){var e=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function v0(l,e,t){var a=Object.getOwnPropertyDescriptor(l.constructor.prototype,e);if(!l.hasOwnProperty(e)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,i=a.set;return Object.defineProperty(l,e,{configurable:!0,get:function(){return n.call(this)},set:function(c){t=""+c,i.call(this,c)}}),Object.defineProperty(l,e,{enumerable:a.enumerable}),{getValue:function(){return t},setValue:function(c){t=""+c},stopTracking:function(){l._valueTracker=null,delete l[e]}}}}function cu(l){if(!l._valueTracker){var e=Xs(l)?"checked":"value";l._valueTracker=v0(l,e,""+l[e])}}function Ls(l){if(!l)return!1;var e=l._valueTracker;if(!e)return!0;var t=e.getValue(),a="";return l&&(a=Xs(l)?l.checked?"true":"false":l.value),l=a,l!==t?(e.setValue(l),!0):!1}function qn(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var x0=/[\n"\\]/g;function pe(l){return l.replace(x0,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function su(l,e,t,a,n,i,c,s){l.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.type=c:l.removeAttribute("type"),e!=null?c==="number"?(e===0&&l.value===""||l.value!=e)&&(l.value=""+be(e)):l.value!==""+be(e)&&(l.value=""+be(e)):c!=="submit"&&c!=="reset"||l.removeAttribute("value"),e!=null?fu(l,c,be(e)):t!=null?fu(l,c,be(t)):a!=null&&l.removeAttribute("value"),n==null&&i!=null&&(l.defaultChecked=!!i),n!=null&&(l.checked=n&&typeof n!="function"&&typeof n!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?l.name=""+be(s):l.removeAttribute("name")}function Zs(l,e,t,a,n,i,c,s){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(l.type=i),e!=null||t!=null){if(!(i!=="submit"&&i!=="reset"||e!=null)){cu(l);return}t=t!=null?""+be(t):"",e=e!=null?""+be(e):t,s||e===l.value||(l.value=e),l.defaultValue=e}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,l.checked=s?l.checked:!!a,l.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(l.name=c),cu(l)}function fu(l,e,t){e==="number"&&qn(l.ownerDocument)===l||l.defaultValue===""+t||(l.defaultValue=""+t)}function It(l,e,t,a){if(l=l.options,e){e={};for(var n=0;n<t.length;n++)e["$"+t[n]]=!0;for(t=0;t<l.length;t++)n=e.hasOwnProperty("$"+l[t].value),l[t].selected!==n&&(l[t].selected=n),n&&a&&(l[t].defaultSelected=!0)}else{for(t=""+be(t),e=null,n=0;n<l.length;n++){if(l[n].value===t){l[n].selected=!0,a&&(l[n].defaultSelected=!0);return}e!==null||l[n].disabled||(e=l[n])}e!==null&&(e.selected=!0)}}function Vs(l,e,t){if(e!=null&&(e=""+be(e),e!==l.value&&(l.value=e),t==null)){l.defaultValue!==e&&(l.defaultValue=e);return}l.defaultValue=t!=null?""+be(t):""}function ks(l,e,t,a){if(e==null){if(a!=null){if(t!=null)throw Error(d(92));if(Il(a)){if(1<a.length)throw Error(d(93));a=a[0]}t=a}t==null&&(t=""),e=t}t=be(e),l.defaultValue=t,a=l.textContent,a===t&&a!==""&&a!==null&&(l.value=a),cu(l)}function Pt(l,e){if(e){var t=l.firstChild;if(t&&t===l.lastChild&&t.nodeType===3){t.nodeValue=e;return}}l.textContent=e}var y0=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 Ks(l,e,t){var a=e.indexOf("--")===0;t==null||typeof t=="boolean"||t===""?a?l.setProperty(e,""):e==="float"?l.cssFloat="":l[e]="":a?l.setProperty(e,t):typeof t!="number"||t===0||y0.has(e)?e==="float"?l.cssFloat=t:l[e]=(""+t).trim():l[e]=t+"px"}function Js(l,e,t){if(e!=null&&typeof e!="object")throw Error(d(62));if(l=l.style,t!=null){for(var a in t)!t.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?l.setProperty(a,""):a==="float"?l.cssFloat="":l[a]="");for(var n in e)a=e[n],e.hasOwnProperty(n)&&t[n]!==a&&Ks(l,n,a)}else for(var i in e)e.hasOwnProperty(i)&&Ks(l,i,e[i])}function ou(l){if(l.indexOf("-")===-1)return!1;switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var g0=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"]]),b0=/^[\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 Bn(l){return b0.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}function Be(){}var du=null;function ru(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var la=null,ea=null;function $s(l){var e=$t(l);if(e&&(l=e.stateNode)){var t=l[ee]||null;l:switch(l=e.stateNode,e.type){case"input":if(su(l,t.value,t.defaultValue,t.defaultValue,t.checked,t.defaultChecked,t.type,t.name),e=t.name,t.type==="radio"&&e!=null){for(t=l;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll('input[name="'+pe(""+e)+'"][type="radio"]'),e=0;e<t.length;e++){var a=t[e];if(a!==l&&a.form===l.form){var n=a[ee]||null;if(!n)throw Error(d(90));su(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(e=0;e<t.length;e++)a=t[e],a.form===l.form&&Ls(a)}break l;case"textarea":Vs(l,t.value,t.defaultValue);break l;case"select":e=t.value,e!=null&&It(l,!!t.multiple,e,!1)}}}var mu=!1;function Ws(l,e,t){if(mu)return l(e,t);mu=!0;try{var a=l(e);return a}finally{if(mu=!1,(la!==null||ea!==null)&&(_i(),la&&(e=la,l=ea,ea=la=null,$s(e),l)))for(e=0;e<l.length;e++)$s(l[e])}}function qa(l,e){var t=l.stateNode;if(t===null)return null;var a=t[ee]||null;if(a===null)return null;t=a[e];l:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(l=l.type,a=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!a;break l;default:l=!1}if(l)return null;if(t&&typeof t!="function")throw Error(d(231,e,typeof t));return t}var Ye=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),hu=!1;if(Ye)try{var Ba={};Object.defineProperty(Ba,"passive",{get:function(){hu=!0}}),window.addEventListener("test",Ba,Ba),window.removeEventListener("test",Ba,Ba)}catch{hu=!1}var at=null,vu=null,Yn=null;function Fs(){if(Yn)return Yn;var l,e=vu,t=e.length,a,n="value"in at?at.value:at.textContent,i=n.length;for(l=0;l<t&&e[l]===n[l];l++);var c=t-l;for(a=1;a<=c&&e[t-a]===n[i-a];a++);return Yn=n.slice(l,1<a?1-a:void 0)}function Gn(l){var e=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&e===13&&(l=13)):l=e,l===10&&(l=13),32<=l||l===13?l:0}function Qn(){return!0}function Is(){return!1}function te(l){function e(t,a,n,i,c){this._reactName=t,this._targetInst=n,this.type=a,this.nativeEvent=i,this.target=c,this.currentTarget=null;for(var s in l)l.hasOwnProperty(s)&&(t=l[s],this[s]=t?t(i):i[s]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Qn:Is,this.isPropagationStopped=Is,this}return U(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=Qn)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=Qn)},persist:function(){},isPersistent:Qn}),e}var wt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Xn=te(wt),Ya=U({},wt,{view:0,detail:0}),p0=te(Ya),xu,yu,Ga,Ln=U({},Ya,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:bu,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==Ga&&(Ga&&l.type==="mousemove"?(xu=l.screenX-Ga.screenX,yu=l.screenY-Ga.screenY):yu=xu=0,Ga=l),xu)},movementY:function(l){return"movementY"in l?l.movementY:yu}}),Ps=te(Ln),z0=U({},Ln,{dataTransfer:0}),j0=te(z0),N0=U({},Ya,{relatedTarget:0}),gu=te(N0),S0=U({},wt,{animationName:0,elapsedTime:0,pseudoElement:0}),_0=te(S0),E0=U({},wt,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),A0=te(E0),T0=U({},wt,{data:0}),lf=te(T0),M0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},w0={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"},O0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function U0(l){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(l):(l=O0[l])?!!e[l]:!1}function bu(){return U0}var D0=U({},Ya,{key:function(l){if(l.key){var e=M0[l.key]||l.key;if(e!=="Unidentified")return e}return l.type==="keypress"?(l=Gn(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?w0[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:bu,charCode:function(l){return l.type==="keypress"?Gn(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?Gn(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),C0=te(D0),H0=U({},Ln,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ef=te(H0),R0=U({},Ya,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:bu}),q0=te(R0),B0=U({},wt,{propertyName:0,elapsedTime:0,pseudoElement:0}),Y0=te(B0),G0=U({},Ln,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),Q0=te(G0),X0=U({},wt,{newState:0,oldState:0}),L0=te(X0),Z0=[9,13,27,32],pu=Ye&&"CompositionEvent"in window,Qa=null;Ye&&"documentMode"in document&&(Qa=document.documentMode);var V0=Ye&&"TextEvent"in window&&!Qa,tf=Ye&&(!pu||Qa&&8<Qa&&11>=Qa),af=" ",nf=!1;function uf(l,e){switch(l){case"keyup":return Z0.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cf(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var ta=!1;function k0(l,e){switch(l){case"compositionend":return cf(e);case"keypress":return e.which!==32?null:(nf=!0,af);case"textInput":return l=e.data,l===af&&nf?null:l;default:return null}}function K0(l,e){if(ta)return l==="compositionend"||!pu&&uf(l,e)?(l=Fs(),Yn=vu=at=null,ta=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return tf&&e.locale!=="ko"?null:e.data;default:return null}}var J0={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 sf(l){var e=l&&l.nodeName&&l.nodeName.toLowerCase();return e==="input"?!!J0[l.type]:e==="textarea"}function ff(l,e,t,a){la?ea?ea.push(a):ea=[a]:la=a,e=Ui(e,"onChange"),0<e.length&&(t=new Xn("onChange","change",null,t,a),l.push({event:t,listeners:e}))}var Xa=null,La=null;function $0(l){kd(l,0)}function Zn(l){var e=Ra(l);if(Ls(e))return l}function of(l,e){if(l==="change")return e}var df=!1;if(Ye){var zu;if(Ye){var ju="oninput"in document;if(!ju){var rf=document.createElement("div");rf.setAttribute("oninput","return;"),ju=typeof rf.oninput=="function"}zu=ju}else zu=!1;df=zu&&(!document.documentMode||9<document.documentMode)}function mf(){Xa&&(Xa.detachEvent("onpropertychange",hf),La=Xa=null)}function hf(l){if(l.propertyName==="value"&&Zn(La)){var e=[];ff(e,La,l,ru(l)),Ws($0,e)}}function W0(l,e,t){l==="focusin"?(mf(),Xa=e,La=t,Xa.attachEvent("onpropertychange",hf)):l==="focusout"&&mf()}function F0(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Zn(La)}function I0(l,e){if(l==="click")return Zn(e)}function P0(l,e){if(l==="input"||l==="change")return Zn(e)}function lm(l,e){return l===e&&(l!==0||1/l===1/e)||l!==l&&e!==e}var re=typeof Object.is=="function"?Object.is:lm;function Za(l,e){if(re(l,e))return!0;if(typeof l!="object"||l===null||typeof e!="object"||e===null)return!1;var t=Object.keys(l),a=Object.keys(e);if(t.length!==a.length)return!1;for(a=0;a<t.length;a++){var n=t[a];if(!Pi.call(e,n)||!re(l[n],e[n]))return!1}return!0}function vf(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function xf(l,e){var t=vf(l);l=0;for(var a;t;){if(t.nodeType===3){if(a=l+t.textContent.length,l<=e&&a>=e)return{node:t,offset:e-l};l=a}l:{for(;t;){if(t.nextSibling){t=t.nextSibling;break l}t=t.parentNode}t=void 0}t=vf(t)}}function yf(l,e){return l&&e?l===e?!0:l&&l.nodeType===3?!1:e&&e.nodeType===3?yf(l,e.parentNode):"contains"in l?l.contains(e):l.compareDocumentPosition?!!(l.compareDocumentPosition(e)&16):!1:!1}function gf(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var e=qn(l.document);e instanceof l.HTMLIFrameElement;){try{var t=typeof e.contentWindow.location.href=="string"}catch{t=!1}if(t)l=e.contentWindow;else break;e=qn(l.document)}return e}function Nu(l){var e=l&&l.nodeName&&l.nodeName.toLowerCase();return e&&(e==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||e==="textarea"||l.contentEditable==="true")}var em=Ye&&"documentMode"in document&&11>=document.documentMode,aa=null,Su=null,Va=null,_u=!1;function bf(l,e,t){var a=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;_u||aa==null||aa!==qn(a)||(a=aa,"selectionStart"in a&&Nu(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Va&&Za(Va,a)||(Va=a,a=Ui(Su,"onSelect"),0<a.length&&(e=new Xn("onSelect","select",null,e,t),l.push({event:e,listeners:a}),e.target=aa)))}function Ot(l,e){var t={};return t[l.toLowerCase()]=e.toLowerCase(),t["Webkit"+l]="webkit"+e,t["Moz"+l]="moz"+e,t}var na={animationend:Ot("Animation","AnimationEnd"),animationiteration:Ot("Animation","AnimationIteration"),animationstart:Ot("Animation","AnimationStart"),transitionrun:Ot("Transition","TransitionRun"),transitionstart:Ot("Transition","TransitionStart"),transitioncancel:Ot("Transition","TransitionCancel"),transitionend:Ot("Transition","TransitionEnd")},Eu={},pf={};Ye&&(pf=document.createElement("div").style,"AnimationEvent"in window||(delete na.animationend.animation,delete na.animationiteration.animation,delete na.animationstart.animation),"TransitionEvent"in window||delete na.transitionend.transition);function Ut(l){if(Eu[l])return Eu[l];if(!na[l])return l;var e=na[l],t;for(t in e)if(e.hasOwnProperty(t)&&t in pf)return Eu[l]=e[t];return l}var zf=Ut("animationend"),jf=Ut("animationiteration"),Nf=Ut("animationstart"),tm=Ut("transitionrun"),am=Ut("transitionstart"),nm=Ut("transitioncancel"),Sf=Ut("transitionend"),_f=new Map,Au="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(" ");Au.push("scrollEnd");function Me(l,e){_f.set(l,e),Mt(e,[l])}var Vn=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)},ze=[],ia=0,Tu=0;function kn(){for(var l=ia,e=Tu=ia=0;e<l;){var t=ze[e];ze[e++]=null;var a=ze[e];ze[e++]=null;var n=ze[e];ze[e++]=null;var i=ze[e];if(ze[e++]=null,a!==null&&n!==null){var c=a.pending;c===null?n.next=n:(n.next=c.next,c.next=n),a.pending=n}i!==0&&Ef(t,n,i)}}function Kn(l,e,t,a){ze[ia++]=l,ze[ia++]=e,ze[ia++]=t,ze[ia++]=a,Tu|=a,l.lanes|=a,l=l.alternate,l!==null&&(l.lanes|=a)}function Mu(l,e,t,a){return Kn(l,e,t,a),Jn(l)}function Dt(l,e){return Kn(l,null,null,e),Jn(l)}function Ef(l,e,t){l.lanes|=t;var a=l.alternate;a!==null&&(a.lanes|=t);for(var n=!1,i=l.return;i!==null;)i.childLanes|=t,a=i.alternate,a!==null&&(a.childLanes|=t),i.tag===22&&(l=i.stateNode,l===null||l._visibility&1||(n=!0)),l=i,i=i.return;return l.tag===3?(i=l.stateNode,n&&e!==null&&(n=31-de(t),l=i.hiddenUpdates,a=l[n],a===null?l[n]=[e]:a.push(e),e.lane=t|536870912),i):null}function Jn(l){if(50<hn)throw hn=0,Bc=null,Error(d(185));for(var e=l.return;e!==null;)l=e,e=l.return;return l.tag===3?l.stateNode:null}var ua={};function im(l,e,t,a){this.tag=l,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=e,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 me(l,e,t,a){return new im(l,e,t,a)}function wu(l){return l=l.prototype,!(!l||!l.isReactComponent)}function Ge(l,e){var t=l.alternate;return t===null?(t=me(l.tag,e,l.key,l.mode),t.elementType=l.elementType,t.type=l.type,t.stateNode=l.stateNode,t.alternate=l,l.alternate=t):(t.pendingProps=e,t.type=l.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=l.flags&65011712,t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},t.sibling=l.sibling,t.index=l.index,t.ref=l.ref,t.refCleanup=l.refCleanup,t}function Af(l,e){l.flags&=65011714;var t=l.alternate;return t===null?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,l.type=t.type,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),l}function $n(l,e,t,a,n,i){var c=0;if(a=l,typeof l=="function")wu(l)&&(c=1);else if(typeof l=="string")c=oh(l,t,R.current)?26:l==="html"||l==="head"||l==="body"?27:5;else l:switch(l){case Wl:return l=me(31,t,e,n),l.elementType=Wl,l.lanes=i,l;case xl:return Ct(t.children,n,i,e);case $l:c=8,n|=24;break;case wl:return l=me(12,t,e,n|2),l.elementType=wl,l.lanes=i,l;case Cl:return l=me(13,t,e,n),l.elementType=Cl,l.lanes=i,l;case zl:return l=me(19,t,e,n),l.elementType=zl,l.lanes=i,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case yl:c=10;break l;case Gl:c=9;break l;case _l:c=11;break l;case K:c=14;break l;case Al:c=16,a=null;break l}c=29,t=Error(d(130,l===null?"null":typeof l,"")),a=null}return e=me(c,t,e,n),e.elementType=l,e.type=a,e.lanes=i,e}function Ct(l,e,t,a){return l=me(7,l,a,e),l.lanes=t,l}function Ou(l,e,t){return l=me(6,l,null,e),l.lanes=t,l}function Tf(l){var e=me(18,null,null,0);return e.stateNode=l,e}function Uu(l,e,t){return e=me(4,l.children!==null?l.children:[],l.key,e),e.lanes=t,e.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},e}var Mf=new WeakMap;function je(l,e){if(typeof l=="object"&&l!==null){var t=Mf.get(l);return t!==void 0?t:(e={value:l,source:e,stack:As(e)},Mf.set(l,e),e)}return{value:l,source:e,stack:As(e)}}var ca=[],sa=0,Wn=null,ka=0,Ne=[],Se=0,nt=null,De=1,Ce="";function Qe(l,e){ca[sa++]=ka,ca[sa++]=Wn,Wn=l,ka=e}function wf(l,e,t){Ne[Se++]=De,Ne[Se++]=Ce,Ne[Se++]=nt,nt=l;var a=De;l=Ce;var n=32-de(a)-1;a&=~(1<<n),t+=1;var i=32-de(e)+n;if(30<i){var c=n-n%5;i=(a&(1<<c)-1).toString(32),a>>=c,n-=c,De=1<<32-de(e)+n|t<<n|a,Ce=i+l}else De=1<<i|t<<n|a,Ce=l}function Du(l){l.return!==null&&(Qe(l,1),wf(l,1,0))}function Cu(l){for(;l===Wn;)Wn=ca[--sa],ca[sa]=null,ka=ca[--sa],ca[sa]=null;for(;l===nt;)nt=Ne[--Se],Ne[Se]=null,Ce=Ne[--Se],Ne[Se]=null,De=Ne[--Se],Ne[Se]=null}function Of(l,e){Ne[Se++]=De,Ne[Se++]=Ce,Ne[Se++]=nt,De=e.id,Ce=e.overflow,nt=l}var Vl=null,Nl=null,nl=!1,it=null,_e=!1,Hu=Error(d(519));function ut(l){var e=Error(d(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Ka(je(e,l)),Hu}function Uf(l){var e=l.stateNode,t=l.type,a=l.memoizedProps;switch(e[Zl]=l,e[ee]=a,t){case"dialog":el("cancel",e),el("close",e);break;case"iframe":case"object":case"embed":el("load",e);break;case"video":case"audio":for(t=0;t<xn.length;t++)el(xn[t],e);break;case"source":el("error",e);break;case"img":case"image":case"link":el("error",e),el("load",e);break;case"details":el("toggle",e);break;case"input":el("invalid",e),Zs(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":el("invalid",e);break;case"textarea":el("invalid",e),ks(e,a.value,a.defaultValue,a.children)}t=a.children,typeof t!="string"&&typeof t!="number"&&typeof t!="bigint"||e.textContent===""+t||a.suppressHydrationWarning===!0||Wd(e.textContent,t)?(a.popover!=null&&(el("beforetoggle",e),el("toggle",e)),a.onScroll!=null&&el("scroll",e),a.onScrollEnd!=null&&el("scrollend",e),a.onClick!=null&&(e.onclick=Be),e=!0):e=!1,e||ut(l,!0)}function Df(l){for(Vl=l.return;Vl;)switch(Vl.tag){case 5:case 31:case 13:_e=!1;return;case 27:case 3:_e=!0;return;default:Vl=Vl.return}}function fa(l){if(l!==Vl)return!1;if(!nl)return Df(l),nl=!0,!1;var e=l.tag,t;if((t=e!==3&&e!==27)&&((t=e===5)&&(t=l.type,t=!(t!=="form"&&t!=="button")||Pc(l.type,l.memoizedProps)),t=!t),t&&Nl&&ut(l),Df(l),e===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(d(317));Nl=ir(l)}else if(e===31){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(d(317));Nl=ir(l)}else e===27?(e=Nl,pt(l.type)?(l=ns,ns=null,Nl=l):Nl=e):Nl=Vl?Ae(l.stateNode.nextSibling):null;return!0}function Ht(){Nl=Vl=null,nl=!1}function Ru(){var l=it;return l!==null&&(ue===null?ue=l:ue.push.apply(ue,l),it=null),l}function Ka(l){it===null?it=[l]:it.push(l)}var qu=m(null),Rt=null,Xe=null;function ct(l,e,t){C(qu,e._currentValue),e._currentValue=t}function Le(l){l._currentValue=qu.current,E(qu)}function Bu(l,e,t){for(;l!==null;){var a=l.alternate;if((l.childLanes&e)!==e?(l.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),l===t)break;l=l.return}}function Yu(l,e,t,a){var n=l.child;for(n!==null&&(n.return=l);n!==null;){var i=n.dependencies;if(i!==null){var c=n.child;i=i.firstContext;l:for(;i!==null;){var s=i;i=n;for(var f=0;f<e.length;f++)if(s.context===e[f]){i.lanes|=t,s=i.alternate,s!==null&&(s.lanes|=t),Bu(i.return,t,l),a||(c=null);break l}i=s.next}}else if(n.tag===18){if(c=n.return,c===null)throw Error(d(341));c.lanes|=t,i=c.alternate,i!==null&&(i.lanes|=t),Bu(c,t,l),c=null}else c=n.child;if(c!==null)c.return=n;else for(c=n;c!==null;){if(c===l){c=null;break}if(n=c.sibling,n!==null){n.return=c.return,c=n;break}c=c.return}n=c}}function oa(l,e,t,a){l=null;for(var n=e,i=!1;n!==null;){if(!i){if((n.flags&524288)!==0)i=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var c=n.alternate;if(c===null)throw Error(d(387));if(c=c.memoizedProps,c!==null){var s=n.type;re(n.pendingProps.value,c.value)||(l!==null?l.push(s):l=[s])}}else if(n===sl.current){if(c=n.alternate,c===null)throw Error(d(387));c.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(l!==null?l.push(zn):l=[zn])}n=n.return}l!==null&&Yu(e,l,t,a),e.flags|=262144}function Fn(l){for(l=l.firstContext;l!==null;){if(!re(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function qt(l){Rt=l,Xe=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function kl(l){return Cf(Rt,l)}function In(l,e){return Rt===null&&qt(l),Cf(l,e)}function Cf(l,e){var t=e._currentValue;if(e={context:e,memoizedValue:t,next:null},Xe===null){if(l===null)throw Error(d(308));Xe=e,l.dependencies={lanes:0,firstContext:e},l.flags|=524288}else Xe=Xe.next=e;return t}var um=typeof AbortController<"u"?AbortController:function(){var l=[],e=this.signal={aborted:!1,addEventListener:function(t,a){l.push(a)}};this.abort=function(){e.aborted=!0,l.forEach(function(t){return t()})}},cm=o.unstable_scheduleCallback,sm=o.unstable_NormalPriority,Rl={$$typeof:yl,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Gu(){return{controller:new um,data:new Map,refCount:0}}function Ja(l){l.refCount--,l.refCount===0&&cm(sm,function(){l.controller.abort()})}var $a=null,Qu=0,da=0,ra=null;function fm(l,e){if($a===null){var t=$a=[];Qu=0,da=Zc(),ra={status:"pending",value:void 0,then:function(a){t.push(a)}}}return Qu++,e.then(Hf,Hf),e}function Hf(){if(--Qu===0&&$a!==null){ra!==null&&(ra.status="fulfilled");var l=$a;$a=null,da=0,ra=null;for(var e=0;e<l.length;e++)(0,l[e])()}}function om(l,e){var t=[],a={status:"pending",value:null,reason:null,then:function(n){t.push(n)}};return l.then(function(){a.status="fulfilled",a.value=e;for(var n=0;n<t.length;n++)(0,t[n])(e)},function(n){for(a.status="rejected",a.reason=n,n=0;n<t.length;n++)(0,t[n])(void 0)}),a}var Rf=p.S;p.S=function(l,e){pd=fe(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&fm(l,e),Rf!==null&&Rf(l,e)};var Bt=m(null);function Xu(){var l=Bt.current;return l!==null?l:bl.pooledCache}function Pn(l,e){e===null?C(Bt,Bt.current):C(Bt,e.pool)}function qf(){var l=Xu();return l===null?null:{parent:Rl._currentValue,pool:l}}var ma=Error(d(460)),Lu=Error(d(474)),li=Error(d(542)),ei={then:function(){}};function Bf(l){return l=l.status,l==="fulfilled"||l==="rejected"}function Yf(l,e,t){switch(t=l[t],t===void 0?l.push(e):t!==e&&(e.then(Be,Be),e=t),e.status){case"fulfilled":return e.value;case"rejected":throw l=e.reason,Qf(l),l;default:if(typeof e.status=="string")e.then(Be,Be);else{if(l=bl,l!==null&&100<l.shellSuspendCounter)throw Error(d(482));l=e,l.status="pending",l.then(function(a){if(e.status==="pending"){var n=e;n.status="fulfilled",n.value=a}},function(a){if(e.status==="pending"){var n=e;n.status="rejected",n.reason=a}})}switch(e.status){case"fulfilled":return e.value;case"rejected":throw l=e.reason,Qf(l),l}throw Gt=e,ma}}function Yt(l){try{var e=l._init;return e(l._payload)}catch(t){throw t!==null&&typeof t=="object"&&typeof t.then=="function"?(Gt=t,ma):t}}var Gt=null;function Gf(){if(Gt===null)throw Error(d(459));var l=Gt;return Gt=null,l}function Qf(l){if(l===ma||l===li)throw Error(d(483))}var ha=null,Wa=0;function ti(l){var e=Wa;return Wa+=1,ha===null&&(ha=[]),Yf(ha,l,e)}function Fa(l,e){e=e.props.ref,l.ref=e!==void 0?e:null}function ai(l,e){throw e.$$typeof===V?Error(d(525)):(l=Object.prototype.toString.call(e),Error(d(31,l==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":l)))}function Xf(l){function e(h,r){if(l){var v=h.deletions;v===null?(h.deletions=[r],h.flags|=16):v.push(r)}}function t(h,r){if(!l)return null;for(;r!==null;)e(h,r),r=r.sibling;return null}function a(h){for(var r=new Map;h!==null;)h.key!==null?r.set(h.key,h):r.set(h.index,h),h=h.sibling;return r}function n(h,r){return h=Ge(h,r),h.index=0,h.sibling=null,h}function i(h,r,v){return h.index=v,l?(v=h.alternate,v!==null?(v=v.index,v<r?(h.flags|=67108866,r):v):(h.flags|=67108866,r)):(h.flags|=1048576,r)}function c(h){return l&&h.alternate===null&&(h.flags|=67108866),h}function s(h,r,v,N){return r===null||r.tag!==6?(r=Ou(v,h.mode,N),r.return=h,r):(r=n(r,v),r.return=h,r)}function f(h,r,v,N){var Q=v.type;return Q===xl?z(h,r,v.props.children,N,v.key):r!==null&&(r.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===Al&&Yt(Q)===r.type)?(r=n(r,v.props),Fa(r,v),r.return=h,r):(r=$n(v.type,v.key,v.props,null,h.mode,N),Fa(r,v),r.return=h,r)}function x(h,r,v,N){return r===null||r.tag!==4||r.stateNode.containerInfo!==v.containerInfo||r.stateNode.implementation!==v.implementation?(r=Uu(v,h.mode,N),r.return=h,r):(r=n(r,v.children||[]),r.return=h,r)}function z(h,r,v,N,Q){return r===null||r.tag!==7?(r=Ct(v,h.mode,N,Q),r.return=h,r):(r=n(r,v),r.return=h,r)}function S(h,r,v){if(typeof r=="string"&&r!==""||typeof r=="number"||typeof r=="bigint")return r=Ou(""+r,h.mode,v),r.return=h,r;if(typeof r=="object"&&r!==null){switch(r.$$typeof){case fl:return v=$n(r.type,r.key,r.props,null,h.mode,v),Fa(v,r),v.return=h,v;case pl:return r=Uu(r,h.mode,v),r.return=h,r;case Al:return r=Yt(r),S(h,r,v)}if(Il(r)||G(r))return r=Ct(r,h.mode,v,null),r.return=h,r;if(typeof r.then=="function")return S(h,ti(r),v);if(r.$$typeof===yl)return S(h,In(h,r),v);ai(h,r)}return null}function g(h,r,v,N){var Q=r!==null?r.key:null;if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return Q!==null?null:s(h,r,""+v,N);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case fl:return v.key===Q?f(h,r,v,N):null;case pl:return v.key===Q?x(h,r,v,N):null;case Al:return v=Yt(v),g(h,r,v,N)}if(Il(v)||G(v))return Q!==null?null:z(h,r,v,N,null);if(typeof v.then=="function")return g(h,r,ti(v),N);if(v.$$typeof===yl)return g(h,r,In(h,v),N);ai(h,v)}return null}function b(h,r,v,N,Q){if(typeof N=="string"&&N!==""||typeof N=="number"||typeof N=="bigint")return h=h.get(v)||null,s(r,h,""+N,Q);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case fl:return h=h.get(N.key===null?v:N.key)||null,f(r,h,N,Q);case pl:return h=h.get(N.key===null?v:N.key)||null,x(r,h,N,Q);case Al:return N=Yt(N),b(h,r,v,N,Q)}if(Il(N)||G(N))return h=h.get(v)||null,z(r,h,N,Q,null);if(typeof N.then=="function")return b(h,r,v,ti(N),Q);if(N.$$typeof===yl)return b(h,r,v,In(r,N),Q);ai(r,N)}return null}function H(h,r,v,N){for(var Q=null,il=null,q=r,F=r=0,al=null;q!==null&&F<v.length;F++){q.index>F?(al=q,q=null):al=q.sibling;var ul=g(h,q,v[F],N);if(ul===null){q===null&&(q=al);break}l&&q&&ul.alternate===null&&e(h,q),r=i(ul,r,F),il===null?Q=ul:il.sibling=ul,il=ul,q=al}if(F===v.length)return t(h,q),nl&&Qe(h,F),Q;if(q===null){for(;F<v.length;F++)q=S(h,v[F],N),q!==null&&(r=i(q,r,F),il===null?Q=q:il.sibling=q,il=q);return nl&&Qe(h,F),Q}for(q=a(q);F<v.length;F++)al=b(q,h,F,v[F],N),al!==null&&(l&&al.alternate!==null&&q.delete(al.key===null?F:al.key),r=i(al,r,F),il===null?Q=al:il.sibling=al,il=al);return l&&q.forEach(function(_t){return e(h,_t)}),nl&&Qe(h,F),Q}function L(h,r,v,N){if(v==null)throw Error(d(151));for(var Q=null,il=null,q=r,F=r=0,al=null,ul=v.next();q!==null&&!ul.done;F++,ul=v.next()){q.index>F?(al=q,q=null):al=q.sibling;var _t=g(h,q,ul.value,N);if(_t===null){q===null&&(q=al);break}l&&q&&_t.alternate===null&&e(h,q),r=i(_t,r,F),il===null?Q=_t:il.sibling=_t,il=_t,q=al}if(ul.done)return t(h,q),nl&&Qe(h,F),Q;if(q===null){for(;!ul.done;F++,ul=v.next())ul=S(h,ul.value,N),ul!==null&&(r=i(ul,r,F),il===null?Q=ul:il.sibling=ul,il=ul);return nl&&Qe(h,F),Q}for(q=a(q);!ul.done;F++,ul=v.next())ul=b(q,h,F,ul.value,N),ul!==null&&(l&&ul.alternate!==null&&q.delete(ul.key===null?F:ul.key),r=i(ul,r,F),il===null?Q=ul:il.sibling=ul,il=ul);return l&&q.forEach(function(zh){return e(h,zh)}),nl&&Qe(h,F),Q}function vl(h,r,v,N){if(typeof v=="object"&&v!==null&&v.type===xl&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case fl:l:{for(var Q=v.key;r!==null;){if(r.key===Q){if(Q=v.type,Q===xl){if(r.tag===7){t(h,r.sibling),N=n(r,v.props.children),N.return=h,h=N;break l}}else if(r.elementType===Q||typeof Q=="object"&&Q!==null&&Q.$$typeof===Al&&Yt(Q)===r.type){t(h,r.sibling),N=n(r,v.props),Fa(N,v),N.return=h,h=N;break l}t(h,r);break}else e(h,r);r=r.sibling}v.type===xl?(N=Ct(v.props.children,h.mode,N,v.key),N.return=h,h=N):(N=$n(v.type,v.key,v.props,null,h.mode,N),Fa(N,v),N.return=h,h=N)}return c(h);case pl:l:{for(Q=v.key;r!==null;){if(r.key===Q)if(r.tag===4&&r.stateNode.containerInfo===v.containerInfo&&r.stateNode.implementation===v.implementation){t(h,r.sibling),N=n(r,v.children||[]),N.return=h,h=N;break l}else{t(h,r);break}else e(h,r);r=r.sibling}N=Uu(v,h.mode,N),N.return=h,h=N}return c(h);case Al:return v=Yt(v),vl(h,r,v,N)}if(Il(v))return H(h,r,v,N);if(G(v)){if(Q=G(v),typeof Q!="function")throw Error(d(150));return v=Q.call(v),L(h,r,v,N)}if(typeof v.then=="function")return vl(h,r,ti(v),N);if(v.$$typeof===yl)return vl(h,r,In(h,v),N);ai(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,r!==null&&r.tag===6?(t(h,r.sibling),N=n(r,v),N.return=h,h=N):(t(h,r),N=Ou(v,h.mode,N),N.return=h,h=N),c(h)):t(h,r)}return function(h,r,v,N){try{Wa=0;var Q=vl(h,r,v,N);return ha=null,Q}catch(q){if(q===ma||q===li)throw q;var il=me(29,q,null,h.mode);return il.lanes=N,il.return=h,il}finally{}}}var Qt=Xf(!0),Lf=Xf(!1),st=!1;function Zu(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Vu(l,e){l=l.updateQueue,e.updateQueue===l&&(e.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function ft(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function ot(l,e,t){var a=l.updateQueue;if(a===null)return null;if(a=a.shared,(cl&2)!==0){var n=a.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),a.pending=e,e=Jn(l),Ef(l,null,t),e}return Kn(l,a,e,t),Jn(l)}function Ia(l,e,t){if(e=e.updateQueue,e!==null&&(e=e.shared,(t&4194048)!==0)){var a=e.lanes;a&=l.pendingLanes,t|=a,e.lanes=t,Ds(l,t)}}function ku(l,e){var t=l.updateQueue,a=l.alternate;if(a!==null&&(a=a.updateQueue,t===a)){var n=null,i=null;if(t=t.firstBaseUpdate,t!==null){do{var c={lane:t.lane,tag:t.tag,payload:t.payload,callback:null,next:null};i===null?n=i=c:i=i.next=c,t=t.next}while(t!==null);i===null?n=i=e:i=i.next=e}else n=i=e;t={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},l.updateQueue=t;return}l=t.lastBaseUpdate,l===null?t.firstBaseUpdate=e:l.next=e,t.lastBaseUpdate=e}var Ku=!1;function Pa(){if(Ku){var l=ra;if(l!==null)throw l}}function ln(l,e,t,a){Ku=!1;var n=l.updateQueue;st=!1;var i=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?i=x:c.next=x,c=f;var z=l.alternate;z!==null&&(z=z.updateQueue,s=z.lastBaseUpdate,s!==c&&(s===null?z.firstBaseUpdate=x:s.next=x,z.lastBaseUpdate=f))}if(i!==null){var S=n.baseState;c=0,z=x=f=null,s=i;do{var g=s.lane&-536870913,b=g!==s.lane;if(b?(tl&g)===g:(a&g)===g){g!==0&&g===da&&(Ku=!0),z!==null&&(z=z.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});l:{var H=l,L=s;g=e;var vl=t;switch(L.tag){case 1:if(H=L.payload,typeof H=="function"){S=H.call(vl,S,g);break l}S=H;break l;case 3:H.flags=H.flags&-65537|128;case 0:if(H=L.payload,g=typeof H=="function"?H.call(vl,S,g):H,g==null)break l;S=U({},S,g);break l;case 2:st=!0}}g=s.callback,g!==null&&(l.flags|=64,b&&(l.flags|=8192),b=n.callbacks,b===null?n.callbacks=[g]:b.push(g))}else b={lane:g,tag:s.tag,payload:s.payload,callback:s.callback,next:null},z===null?(x=z=b,f=S):z=z.next=b,c|=g;if(s=s.next,s===null){if(s=n.shared.pending,s===null)break;b=s,s=b.next,b.next=null,n.lastBaseUpdate=b,n.shared.pending=null}}while(!0);z===null&&(f=S),n.baseState=f,n.firstBaseUpdate=x,n.lastBaseUpdate=z,i===null&&(n.shared.lanes=0),vt|=c,l.lanes=c,l.memoizedState=S}}function Zf(l,e){if(typeof l!="function")throw Error(d(191,l));l.call(e)}function Vf(l,e){var t=l.callbacks;if(t!==null)for(l.callbacks=null,l=0;l<t.length;l++)Zf(t[l],e)}var va=m(null),ni=m(0);function kf(l,e){l=Ie,C(ni,l),C(va,e),Ie=l|e.baseLanes}function Ju(){C(ni,Ie),C(va,va.current)}function $u(){Ie=ni.current,E(va),E(ni)}var he=m(null),Ee=null;function dt(l){var e=l.alternate;C(Ul,Ul.current&1),C(he,l),Ee===null&&(e===null||va.current!==null||e.memoizedState!==null)&&(Ee=l)}function Wu(l){C(Ul,Ul.current),C(he,l),Ee===null&&(Ee=l)}function Kf(l){l.tag===22?(C(Ul,Ul.current),C(he,l),Ee===null&&(Ee=l)):rt()}function rt(){C(Ul,Ul.current),C(he,he.current)}function ve(l){E(he),Ee===l&&(Ee=null),E(Ul)}var Ul=m(0);function ii(l){for(var e=l;e!==null;){if(e.tag===13){var t=e.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||ts(t)||as(t)))return e}else if(e.tag===19&&(e.memoizedProps.revealOrder==="forwards"||e.memoizedProps.revealOrder==="backwards"||e.memoizedProps.revealOrder==="unstable_legacy-backwards"||e.memoizedProps.revealOrder==="together")){if((e.flags&128)!==0)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===l)break;for(;e.sibling===null;){if(e.return===null||e.return===l)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Ze=0,W=null,ml=null,ql=null,ui=!1,xa=!1,Xt=!1,ci=0,en=0,ya=null,dm=0;function Tl(){throw Error(d(321))}function Fu(l,e){if(e===null)return!1;for(var t=0;t<e.length&&t<l.length;t++)if(!re(l[t],e[t]))return!1;return!0}function Iu(l,e,t,a,n,i){return Ze=i,W=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,p.H=l===null||l.memoizedState===null?Oo:mc,Xt=!1,i=t(a,n),Xt=!1,xa&&(i=$f(e,t,a,n)),Jf(l),i}function Jf(l){p.H=nn;var e=ml!==null&&ml.next!==null;if(Ze=0,ql=ml=W=null,ui=!1,en=0,ya=null,e)throw Error(d(300));l===null||Bl||(l=l.dependencies,l!==null&&Fn(l)&&(Bl=!0))}function $f(l,e,t,a){W=l;var n=0;do{if(xa&&(ya=null),en=0,xa=!1,25<=n)throw Error(d(301));if(n+=1,ql=ml=null,l.updateQueue!=null){var i=l.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,i.memoCache!=null&&(i.memoCache.index=0)}p.H=Uo,i=e(t,a)}while(xa);return i}function rm(){var l=p.H,e=l.useState()[0];return e=typeof e.then=="function"?tn(e):e,l=l.useState()[0],(ml!==null?ml.memoizedState:null)!==l&&(W.flags|=1024),e}function Pu(){var l=ci!==0;return ci=0,l}function lc(l,e,t){e.updateQueue=l.updateQueue,e.flags&=-2053,l.lanes&=~t}function ec(l){if(ui){for(l=l.memoizedState;l!==null;){var e=l.queue;e!==null&&(e.pending=null),l=l.next}ui=!1}Ze=0,ql=ml=W=null,xa=!1,en=ci=0,ya=null}function le(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ql===null?W.memoizedState=ql=l:ql=ql.next=l,ql}function Dl(){if(ml===null){var l=W.alternate;l=l!==null?l.memoizedState:null}else l=ml.next;var e=ql===null?W.memoizedState:ql.next;if(e!==null)ql=e,ml=l;else{if(l===null)throw W.alternate===null?Error(d(467)):Error(d(310));ml=l,l={memoizedState:ml.memoizedState,baseState:ml.baseState,baseQueue:ml.baseQueue,queue:ml.queue,next:null},ql===null?W.memoizedState=ql=l:ql=ql.next=l}return ql}function si(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function tn(l){var e=en;return en+=1,ya===null&&(ya=[]),l=Yf(ya,l,e),e=W,(ql===null?e.memoizedState:ql.next)===null&&(e=e.alternate,p.H=e===null||e.memoizedState===null?Oo:mc),l}function fi(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return tn(l);if(l.$$typeof===yl)return kl(l)}throw Error(d(438,String(l)))}function tc(l){var e=null,t=W.updateQueue;if(t!==null&&(e=t.memoCache),e==null){var a=W.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(e={data:a.data.map(function(n){return n.slice()}),index:0})))}if(e==null&&(e={data:[],index:0}),t===null&&(t=si(),W.updateQueue=t),t.memoCache=e,t=e.data[e.index],t===void 0)for(t=e.data[e.index]=Array(l),a=0;a<l;a++)t[a]=Y;return e.index++,t}function Ve(l,e){return typeof e=="function"?e(l):e}function oi(l){var e=Dl();return ac(e,ml,l)}function ac(l,e,t){var a=l.queue;if(a===null)throw Error(d(311));a.lastRenderedReducer=t;var n=l.baseQueue,i=a.pending;if(i!==null){if(n!==null){var c=n.next;n.next=i.next,i.next=c}e.baseQueue=n=i,a.pending=null}if(i=l.baseState,n===null)l.memoizedState=i;else{e=n.next;var s=c=null,f=null,x=e,z=!1;do{var S=x.lane&-536870913;if(S!==x.lane?(tl&S)===S:(Ze&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===da&&(z=!0);else if((Ze&g)===g){x=x.next,g===da&&(z=!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=i):f=f.next=S,W.lanes|=g,vt|=g;S=x.action,Xt&&t(i,S),i=x.hasEagerState?x.eagerState:t(i,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=i):f=f.next=g,W.lanes|=S,vt|=S;x=x.next}while(x!==null&&x!==e);if(f===null?c=i:f.next=s,!re(i,l.memoizedState)&&(Bl=!0,z&&(t=ra,t!==null)))throw t;l.memoizedState=i,l.baseState=c,l.baseQueue=f,a.lastRenderedState=i}return n===null&&(a.lanes=0),[l.memoizedState,a.dispatch]}function nc(l){var e=Dl(),t=e.queue;if(t===null)throw Error(d(311));t.lastRenderedReducer=l;var a=t.dispatch,n=t.pending,i=e.memoizedState;if(n!==null){t.pending=null;var c=n=n.next;do i=l(i,c.action),c=c.next;while(c!==n);re(i,e.memoizedState)||(Bl=!0),e.memoizedState=i,e.baseQueue===null&&(e.baseState=i),t.lastRenderedState=i}return[i,a]}function Wf(l,e,t){var a=W,n=Dl(),i=nl;if(i){if(t===void 0)throw Error(d(407));t=t()}else t=e();var c=!re((ml||n).memoizedState,t);if(c&&(n.memoizedState=t,Bl=!0),n=n.queue,cc(Pf.bind(null,a,n,l),[l]),n.getSnapshot!==e||c||ql!==null&&ql.memoizedState.tag&1){if(a.flags|=2048,ga(9,{destroy:void 0},If.bind(null,a,n,t,e),null),bl===null)throw Error(d(349));i||(Ze&127)!==0||Ff(a,e,t)}return t}function Ff(l,e,t){l.flags|=16384,l={getSnapshot:e,value:t},e=W.updateQueue,e===null?(e=si(),W.updateQueue=e,e.stores=[l]):(t=e.stores,t===null?e.stores=[l]:t.push(l))}function If(l,e,t,a){e.value=t,e.getSnapshot=a,lo(e)&&eo(l)}function Pf(l,e,t){return t(function(){lo(e)&&eo(l)})}function lo(l){var e=l.getSnapshot;l=l.value;try{var t=e();return!re(l,t)}catch{return!0}}function eo(l){var e=Dt(l,2);e!==null&&ce(e,l,2)}function ic(l){var e=le();if(typeof l=="function"){var t=l;if(l=t(),Xt){et(!0);try{t()}finally{et(!1)}}}return e.memoizedState=e.baseState=l,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ve,lastRenderedState:l},e}function to(l,e,t,a){return l.baseState=t,ac(l,ml,typeof a=="function"?a:Ve)}function mm(l,e,t,a,n){if(mi(l))throw Error(d(485));if(l=e.action,l!==null){var i={payload:n,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){i.listeners.push(c)}};p.T!==null?t(!0):i.isTransition=!1,a(i),t=e.pending,t===null?(i.next=e.pending=i,ao(e,i)):(i.next=t.next,e.pending=t.next=i)}}function ao(l,e){var t=e.action,a=e.payload,n=l.state;if(e.isTransition){var i=p.T,c={};p.T=c;try{var s=t(n,a),f=p.S;f!==null&&f(c,s),no(l,e,s)}catch(x){uc(l,e,x)}finally{i!==null&&c.types!==null&&(i.types=c.types),p.T=i}}else try{i=t(n,a),no(l,e,i)}catch(x){uc(l,e,x)}}function no(l,e,t){t!==null&&typeof t=="object"&&typeof t.then=="function"?t.then(function(a){io(l,e,a)},function(a){return uc(l,e,a)}):io(l,e,t)}function io(l,e,t){e.status="fulfilled",e.value=t,uo(e),l.state=t,e=l.pending,e!==null&&(t=e.next,t===e?l.pending=null:(t=t.next,e.next=t,ao(l,t)))}function uc(l,e,t){var a=l.pending;if(l.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=t,uo(e),e=e.next;while(e!==a)}l.action=null}function uo(l){l=l.listeners;for(var e=0;e<l.length;e++)(0,l[e])()}function co(l,e){return e}function so(l,e){if(nl){var t=bl.formState;if(t!==null){l:{var a=W;if(nl){if(Nl){e:{for(var n=Nl,i=_e;n.nodeType!==8;){if(!i){n=null;break e}if(n=Ae(n.nextSibling),n===null){n=null;break e}}i=n.data,n=i==="F!"||i==="F"?n:null}if(n){Nl=Ae(n.nextSibling),a=n.data==="F!";break l}}ut(a)}a=!1}a&&(e=t[0])}}return t=le(),t.memoizedState=t.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:co,lastRenderedState:e},t.queue=a,t=To.bind(null,W,a),a.dispatch=t,a=ic(!1),i=rc.bind(null,W,!1,a.queue),a=le(),n={state:e,dispatch:null,action:l,pending:null},a.queue=n,t=mm.bind(null,W,n,i,t),n.dispatch=t,a.memoizedState=l,[e,t,!1]}function fo(l){var e=Dl();return oo(e,ml,l)}function oo(l,e,t){if(e=ac(l,e,co)[0],l=oi(Ve)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=tn(e)}catch(c){throw c===ma?li:c}else a=e;e=Dl();var n=e.queue,i=n.dispatch;return t!==e.memoizedState&&(W.flags|=2048,ga(9,{destroy:void 0},hm.bind(null,n,t),null)),[a,i,l]}function hm(l,e){l.action=e}function ro(l){var e=Dl(),t=ml;if(t!==null)return oo(e,t,l);Dl(),e=e.memoizedState,t=Dl();var a=t.queue.dispatch;return t.memoizedState=l,[e,a,!1]}function ga(l,e,t,a){return l={tag:l,create:t,deps:a,inst:e,next:null},e=W.updateQueue,e===null&&(e=si(),W.updateQueue=e),t=e.lastEffect,t===null?e.lastEffect=l.next=l:(a=t.next,t.next=l,l.next=a,e.lastEffect=l),l}function mo(){return Dl().memoizedState}function di(l,e,t,a){var n=le();W.flags|=l,n.memoizedState=ga(1|e,{destroy:void 0},t,a===void 0?null:a)}function ri(l,e,t,a){var n=Dl();a=a===void 0?null:a;var i=n.memoizedState.inst;ml!==null&&a!==null&&Fu(a,ml.memoizedState.deps)?n.memoizedState=ga(e,i,t,a):(W.flags|=l,n.memoizedState=ga(1|e,i,t,a))}function ho(l,e){di(8390656,8,l,e)}function cc(l,e){ri(2048,8,l,e)}function vm(l){W.flags|=4;var e=W.updateQueue;if(e===null)e=si(),W.updateQueue=e,e.events=[l];else{var t=e.events;t===null?e.events=[l]:t.push(l)}}function vo(l){var e=Dl().memoizedState;return vm({ref:e,nextImpl:l}),function(){if((cl&2)!==0)throw Error(d(440));return e.impl.apply(void 0,arguments)}}function xo(l,e){return ri(4,2,l,e)}function yo(l,e){return ri(4,4,l,e)}function go(l,e){if(typeof e=="function"){l=l();var t=e(l);return function(){typeof t=="function"?t():e(null)}}if(e!=null)return l=l(),e.current=l,function(){e.current=null}}function bo(l,e,t){t=t!=null?t.concat([l]):null,ri(4,4,go.bind(null,e,l),t)}function sc(){}function po(l,e){var t=Dl();e=e===void 0?null:e;var a=t.memoizedState;return e!==null&&Fu(e,a[1])?a[0]:(t.memoizedState=[l,e],l)}function zo(l,e){var t=Dl();e=e===void 0?null:e;var a=t.memoizedState;if(e!==null&&Fu(e,a[1]))return a[0];if(a=l(),Xt){et(!0);try{l()}finally{et(!1)}}return t.memoizedState=[a,e],a}function fc(l,e,t){return t===void 0||(Ze&1073741824)!==0&&(tl&261930)===0?l.memoizedState=e:(l.memoizedState=t,l=jd(),W.lanes|=l,vt|=l,t)}function jo(l,e,t,a){return re(t,e)?t:va.current!==null?(l=fc(l,t,a),re(l,e)||(Bl=!0),l):(Ze&42)===0||(Ze&1073741824)!==0&&(tl&261930)===0?(Bl=!0,l.memoizedState=t):(l=jd(),W.lanes|=l,vt|=l,e)}function No(l,e,t,a,n){var i=D.p;D.p=i!==0&&8>i?i:8;var c=p.T,s={};p.T=s,rc(l,!1,e,t);try{var f=n(),x=p.S;if(x!==null&&x(s,f),f!==null&&typeof f=="object"&&typeof f.then=="function"){var z=om(f,a);an(l,e,z,ge(l))}else an(l,e,a,ge(l))}catch(S){an(l,e,{then:function(){},status:"rejected",reason:S},ge())}finally{D.p=i,c!==null&&s.types!==null&&(c.types=s.types),p.T=c}}function xm(){}function oc(l,e,t,a){if(l.tag!==5)throw Error(d(476));var n=So(l).queue;No(l,n,e,k,t===null?xm:function(){return _o(l),t(a)})}function So(l){var e=l.memoizedState;if(e!==null)return e;e={memoizedState:k,baseState:k,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ve,lastRenderedState:k},next:null};var t={};return e.next={memoizedState:t,baseState:t,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ve,lastRenderedState:t},next:null},l.memoizedState=e,l=l.alternate,l!==null&&(l.memoizedState=e),e}function _o(l){var e=So(l);e.next===null&&(e=l.alternate.memoizedState),an(l,e.next.queue,{},ge())}function dc(){return kl(zn)}function Eo(){return Dl().memoizedState}function Ao(){return Dl().memoizedState}function ym(l){for(var e=l.return;e!==null;){switch(e.tag){case 24:case 3:var t=ge();l=ft(t);var a=ot(e,l,t);a!==null&&(ce(a,e,t),Ia(a,e,t)),e={cache:Gu()},l.payload=e;return}e=e.return}}function gm(l,e,t){var a=ge();t={lane:a,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null},mi(l)?Mo(e,t):(t=Mu(l,e,t,a),t!==null&&(ce(t,l,a),wo(t,e,a)))}function To(l,e,t){var a=ge();an(l,e,t,a)}function an(l,e,t,a){var n={lane:a,revertLane:0,gesture:null,action:t,hasEagerState:!1,eagerState:null,next:null};if(mi(l))Mo(e,n);else{var i=l.alternate;if(l.lanes===0&&(i===null||i.lanes===0)&&(i=e.lastRenderedReducer,i!==null))try{var c=e.lastRenderedState,s=i(c,t);if(n.hasEagerState=!0,n.eagerState=s,re(s,c))return Kn(l,e,n,0),bl===null&&kn(),!1}catch{}finally{}if(t=Mu(l,e,n,a),t!==null)return ce(t,l,a),wo(t,e,a),!0}return!1}function rc(l,e,t,a){if(a={lane:2,revertLane:Zc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},mi(l)){if(e)throw Error(d(479))}else e=Mu(l,t,a,2),e!==null&&ce(e,l,2)}function mi(l){var e=l.alternate;return l===W||e!==null&&e===W}function Mo(l,e){xa=ui=!0;var t=l.pending;t===null?e.next=e:(e.next=t.next,t.next=e),l.pending=e}function wo(l,e,t){if((t&4194048)!==0){var a=e.lanes;a&=l.pendingLanes,t|=a,e.lanes=t,Ds(l,t)}}var nn={readContext:kl,use:fi,useCallback:Tl,useContext:Tl,useEffect:Tl,useImperativeHandle:Tl,useLayoutEffect:Tl,useInsertionEffect:Tl,useMemo:Tl,useReducer:Tl,useRef:Tl,useState:Tl,useDebugValue:Tl,useDeferredValue:Tl,useTransition:Tl,useSyncExternalStore:Tl,useId:Tl,useHostTransitionStatus:Tl,useFormState:Tl,useActionState:Tl,useOptimistic:Tl,useMemoCache:Tl,useCacheRefresh:Tl};nn.useEffectEvent=Tl;var Oo={readContext:kl,use:fi,useCallback:function(l,e){return le().memoizedState=[l,e===void 0?null:e],l},useContext:kl,useEffect:ho,useImperativeHandle:function(l,e,t){t=t!=null?t.concat([l]):null,di(4194308,4,go.bind(null,e,l),t)},useLayoutEffect:function(l,e){return di(4194308,4,l,e)},useInsertionEffect:function(l,e){di(4,2,l,e)},useMemo:function(l,e){var t=le();e=e===void 0?null:e;var a=l();if(Xt){et(!0);try{l()}finally{et(!1)}}return t.memoizedState=[a,e],a},useReducer:function(l,e,t){var a=le();if(t!==void 0){var n=t(e);if(Xt){et(!0);try{t(e)}finally{et(!1)}}}else n=e;return a.memoizedState=a.baseState=n,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:n},a.queue=l,l=l.dispatch=gm.bind(null,W,l),[a.memoizedState,l]},useRef:function(l){var e=le();return l={current:l},e.memoizedState=l},useState:function(l){l=ic(l);var e=l.queue,t=To.bind(null,W,e);return e.dispatch=t,[l.memoizedState,t]},useDebugValue:sc,useDeferredValue:function(l,e){var t=le();return fc(t,l,e)},useTransition:function(){var l=ic(!1);return l=No.bind(null,W,l.queue,!0,!1),le().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,e,t){var a=W,n=le();if(nl){if(t===void 0)throw Error(d(407));t=t()}else{if(t=e(),bl===null)throw Error(d(349));(tl&127)!==0||Ff(a,e,t)}n.memoizedState=t;var i={value:t,getSnapshot:e};return n.queue=i,ho(Pf.bind(null,a,i,l),[l]),a.flags|=2048,ga(9,{destroy:void 0},If.bind(null,a,i,t,e),null),t},useId:function(){var l=le(),e=bl.identifierPrefix;if(nl){var t=Ce,a=De;t=(a&~(1<<32-de(a)-1)).toString(32)+t,e="_"+e+"R_"+t,t=ci++,0<t&&(e+="H"+t.toString(32)),e+="_"}else t=dm++,e="_"+e+"r_"+t.toString(32)+"_";return l.memoizedState=e},useHostTransitionStatus:dc,useFormState:so,useActionState:so,useOptimistic:function(l){var e=le();e.memoizedState=e.baseState=l;var t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=t,e=rc.bind(null,W,!0,t),t.dispatch=e,[l,e]},useMemoCache:tc,useCacheRefresh:function(){return le().memoizedState=ym.bind(null,W)},useEffectEvent:function(l){var e=le(),t={impl:l};return e.memoizedState=t,function(){if((cl&2)!==0)throw Error(d(440));return t.impl.apply(void 0,arguments)}}},mc={readContext:kl,use:fi,useCallback:po,useContext:kl,useEffect:cc,useImperativeHandle:bo,useInsertionEffect:xo,useLayoutEffect:yo,useMemo:zo,useReducer:oi,useRef:mo,useState:function(){return oi(Ve)},useDebugValue:sc,useDeferredValue:function(l,e){var t=Dl();return jo(t,ml.memoizedState,l,e)},useTransition:function(){var l=oi(Ve)[0],e=Dl().memoizedState;return[typeof l=="boolean"?l:tn(l),e]},useSyncExternalStore:Wf,useId:Eo,useHostTransitionStatus:dc,useFormState:fo,useActionState:fo,useOptimistic:function(l,e){var t=Dl();return to(t,ml,l,e)},useMemoCache:tc,useCacheRefresh:Ao};mc.useEffectEvent=vo;var Uo={readContext:kl,use:fi,useCallback:po,useContext:kl,useEffect:cc,useImperativeHandle:bo,useInsertionEffect:xo,useLayoutEffect:yo,useMemo:zo,useReducer:nc,useRef:mo,useState:function(){return nc(Ve)},useDebugValue:sc,useDeferredValue:function(l,e){var t=Dl();return ml===null?fc(t,l,e):jo(t,ml.memoizedState,l,e)},useTransition:function(){var l=nc(Ve)[0],e=Dl().memoizedState;return[typeof l=="boolean"?l:tn(l),e]},useSyncExternalStore:Wf,useId:Eo,useHostTransitionStatus:dc,useFormState:ro,useActionState:ro,useOptimistic:function(l,e){var t=Dl();return ml!==null?to(t,ml,l,e):(t.baseState=l,[l,t.queue.dispatch])},useMemoCache:tc,useCacheRefresh:Ao};Uo.useEffectEvent=vo;function hc(l,e,t,a){e=l.memoizedState,t=t(a,e),t=t==null?e:U({},e,t),l.memoizedState=t,l.lanes===0&&(l.updateQueue.baseState=t)}var vc={enqueueSetState:function(l,e,t){l=l._reactInternals;var a=ge(),n=ft(a);n.payload=e,t!=null&&(n.callback=t),e=ot(l,n,a),e!==null&&(ce(e,l,a),Ia(e,l,a))},enqueueReplaceState:function(l,e,t){l=l._reactInternals;var a=ge(),n=ft(a);n.tag=1,n.payload=e,t!=null&&(n.callback=t),e=ot(l,n,a),e!==null&&(ce(e,l,a),Ia(e,l,a))},enqueueForceUpdate:function(l,e){l=l._reactInternals;var t=ge(),a=ft(t);a.tag=2,e!=null&&(a.callback=e),e=ot(l,a,t),e!==null&&(ce(e,l,t),Ia(e,l,t))}};function Do(l,e,t,a,n,i,c){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(a,i,c):e.prototype&&e.prototype.isPureReactComponent?!Za(t,a)||!Za(n,i):!0}function Co(l,e,t,a){l=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(t,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(t,a),e.state!==l&&vc.enqueueReplaceState(e,e.state,null)}function Lt(l,e){var t=e;if("ref"in e){t={};for(var a in e)a!=="ref"&&(t[a]=e[a])}if(l=l.defaultProps){t===e&&(t=U({},t));for(var n in l)t[n]===void 0&&(t[n]=l[n])}return t}function Ho(l){Vn(l)}function Ro(l){console.error(l)}function qo(l){Vn(l)}function hi(l,e){try{var t=l.onUncaughtError;t(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function Bo(l,e,t){try{var a=l.onCaughtError;a(t.value,{componentStack:t.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function xc(l,e,t){return t=ft(t),t.tag=3,t.payload={element:null},t.callback=function(){hi(l,e)},t}function Yo(l){return l=ft(l),l.tag=3,l}function Go(l,e,t,a){var n=t.type.getDerivedStateFromError;if(typeof n=="function"){var i=a.value;l.payload=function(){return n(i)},l.callback=function(){Bo(e,t,a)}}var c=t.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(l.callback=function(){Bo(e,t,a),typeof n!="function"&&(xt===null?xt=new Set([this]):xt.add(this));var s=a.stack;this.componentDidCatch(a.value,{componentStack:s!==null?s:""})})}function bm(l,e,t,a,n){if(t.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=t.alternate,e!==null&&oa(e,t,n,!0),t=he.current,t!==null){switch(t.tag){case 31:case 13:return Ee===null?Ei():t.alternate===null&&Ml===0&&(Ml=3),t.flags&=-257,t.flags|=65536,t.lanes=n,a===ei?t.flags|=16384:(e=t.updateQueue,e===null?t.updateQueue=new Set([a]):e.add(a),Qc(l,a,n)),!1;case 22:return t.flags|=65536,a===ei?t.flags|=16384:(e=t.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},t.updateQueue=e):(t=e.retryQueue,t===null?e.retryQueue=new Set([a]):t.add(a)),Qc(l,a,n)),!1}throw Error(d(435,t.tag))}return Qc(l,a,n),Ei(),!1}if(nl)return e=he.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,a!==Hu&&(l=Error(d(422),{cause:a}),Ka(je(l,t)))):(a!==Hu&&(e=Error(d(423),{cause:a}),Ka(je(e,t))),l=l.current.alternate,l.flags|=65536,n&=-n,l.lanes|=n,a=je(a,t),n=xc(l.stateNode,a,n),ku(l,n),Ml!==4&&(Ml=2)),!1;var i=Error(d(520),{cause:a});if(i=je(i,t),mn===null?mn=[i]:mn.push(i),Ml!==4&&(Ml=2),e===null)return!0;a=je(a,t),t=e;do{switch(t.tag){case 3:return t.flags|=65536,l=n&-n,t.lanes|=l,l=xc(t.stateNode,a,l),ku(t,l),!1;case 1:if(e=t.type,i=t.stateNode,(t.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||i!==null&&typeof i.componentDidCatch=="function"&&(xt===null||!xt.has(i))))return t.flags|=65536,n&=-n,t.lanes|=n,n=Yo(n),Go(n,l,t,a),ku(t,n),!1}t=t.return}while(t!==null);return!1}var yc=Error(d(461)),Bl=!1;function Kl(l,e,t,a){e.child=l===null?Lf(e,null,t,a):Qt(e,l.child,t,a)}function Qo(l,e,t,a,n){t=t.render;var i=e.ref;if("ref"in a){var c={};for(var s in a)s!=="ref"&&(c[s]=a[s])}else c=a;return qt(e),a=Iu(l,e,t,c,i,n),s=Pu(),l!==null&&!Bl?(lc(l,e,n),ke(l,e,n)):(nl&&s&&Du(e),e.flags|=1,Kl(l,e,a,n),e.child)}function Xo(l,e,t,a,n){if(l===null){var i=t.type;return typeof i=="function"&&!wu(i)&&i.defaultProps===void 0&&t.compare===null?(e.tag=15,e.type=i,Lo(l,e,i,a,n)):(l=$n(t.type,null,a,e,e.mode,n),l.ref=e.ref,l.return=e,e.child=l)}if(i=l.child,!_c(l,n)){var c=i.memoizedProps;if(t=t.compare,t=t!==null?t:Za,t(c,a)&&l.ref===e.ref)return ke(l,e,n)}return e.flags|=1,l=Ge(i,a),l.ref=e.ref,l.return=e,e.child=l}function Lo(l,e,t,a,n){if(l!==null){var i=l.memoizedProps;if(Za(i,a)&&l.ref===e.ref)if(Bl=!1,e.pendingProps=a=i,_c(l,n))(l.flags&131072)!==0&&(Bl=!0);else return e.lanes=l.lanes,ke(l,e,n)}return gc(l,e,t,a,n)}function Zo(l,e,t,a){var n=a.children,i=l!==null?l.memoizedState:null;if(l===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((e.flags&128)!==0){if(i=i!==null?i.baseLanes|t:t,l!==null){for(a=e.child=l.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~i}else a=0,e.child=null;return Vo(l,e,i,t,a)}if((t&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},l!==null&&Pn(e,i!==null?i.cachePool:null),i!==null?kf(e,i):Ju(),Kf(e);else return a=e.lanes=536870912,Vo(l,e,i!==null?i.baseLanes|t:t,t,a)}else i!==null?(Pn(e,i.cachePool),kf(e,i),rt(),e.memoizedState=null):(l!==null&&Pn(e,null),Ju(),rt());return Kl(l,e,n,t),e.child}function un(l,e){return l!==null&&l.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function Vo(l,e,t,a,n){var i=Xu();return i=i===null?null:{parent:Rl._currentValue,pool:i},e.memoizedState={baseLanes:t,cachePool:i},l!==null&&Pn(e,null),Ju(),Kf(e),l!==null&&oa(l,e,a,!0),e.childLanes=n,null}function vi(l,e){return e=yi({mode:e.mode,children:e.children},l.mode),e.ref=l.ref,l.child=e,e.return=l,e}function ko(l,e,t){return Qt(e,l.child,null,t),l=vi(e,e.pendingProps),l.flags|=2,ve(e),e.memoizedState=null,l}function pm(l,e,t){var a=e.pendingProps,n=(e.flags&128)!==0;if(e.flags&=-129,l===null){if(nl){if(a.mode==="hidden")return l=vi(e,a),e.lanes=536870912,un(null,l);if(Wu(e),(l=Nl)?(l=nr(l,_e),l=l!==null&&l.data==="&"?l:null,l!==null&&(e.memoizedState={dehydrated:l,treeContext:nt!==null?{id:De,overflow:Ce}:null,retryLane:536870912,hydrationErrors:null},t=Tf(l),t.return=e,e.child=t,Vl=e,Nl=null)):l=null,l===null)throw ut(e);return e.lanes=536870912,null}return vi(e,a)}var i=l.memoizedState;if(i!==null){var c=i.dehydrated;if(Wu(e),n)if(e.flags&256)e.flags&=-257,e=ko(l,e,t);else if(e.memoizedState!==null)e.child=l.child,e.flags|=128,e=null;else throw Error(d(558));else if(Bl||oa(l,e,t,!1),n=(t&l.childLanes)!==0,Bl||n){if(a=bl,a!==null&&(c=Cs(a,t),c!==0&&c!==i.retryLane))throw i.retryLane=c,Dt(l,c),ce(a,l,c),yc;Ei(),e=ko(l,e,t)}else l=i.treeContext,Nl=Ae(c.nextSibling),Vl=e,nl=!0,it=null,_e=!1,l!==null&&Of(e,l),e=vi(e,a),e.flags|=4096;return e}return l=Ge(l.child,{mode:a.mode,children:a.children}),l.ref=e.ref,e.child=l,l.return=e,l}function xi(l,e){var t=e.ref;if(t===null)l!==null&&l.ref!==null&&(e.flags|=4194816);else{if(typeof t!="function"&&typeof t!="object")throw Error(d(284));(l===null||l.ref!==t)&&(e.flags|=4194816)}}function gc(l,e,t,a,n){return qt(e),t=Iu(l,e,t,a,void 0,n),a=Pu(),l!==null&&!Bl?(lc(l,e,n),ke(l,e,n)):(nl&&a&&Du(e),e.flags|=1,Kl(l,e,t,n),e.child)}function Ko(l,e,t,a,n,i){return qt(e),e.updateQueue=null,t=$f(e,a,t,n),Jf(l),a=Pu(),l!==null&&!Bl?(lc(l,e,i),ke(l,e,i)):(nl&&a&&Du(e),e.flags|=1,Kl(l,e,t,i),e.child)}function Jo(l,e,t,a,n){if(qt(e),e.stateNode===null){var i=ua,c=t.contextType;typeof c=="object"&&c!==null&&(i=kl(c)),i=new t(a,i),e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,i.updater=vc,e.stateNode=i,i._reactInternals=e,i=e.stateNode,i.props=a,i.state=e.memoizedState,i.refs={},Zu(e),c=t.contextType,i.context=typeof c=="object"&&c!==null?kl(c):ua,i.state=e.memoizedState,c=t.getDerivedStateFromProps,typeof c=="function"&&(hc(e,t,c,a),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(c=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),c!==i.state&&vc.enqueueReplaceState(i,i.state,null),ln(e,a,i,n),Pa(),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(l===null){i=e.stateNode;var s=e.memoizedProps,f=Lt(t,s);i.props=f;var x=i.context,z=t.contextType;c=ua,typeof z=="object"&&z!==null&&(c=kl(z));var S=t.getDerivedStateFromProps;z=typeof S=="function"||typeof i.getSnapshotBeforeUpdate=="function",s=e.pendingProps!==s,z||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s||x!==c)&&Co(e,i,a,c),st=!1;var g=e.memoizedState;i.state=g,ln(e,a,i,n),Pa(),x=e.memoizedState,s||g!==x||st?(typeof S=="function"&&(hc(e,t,S,a),x=e.memoizedState),(f=st||Do(e,t,f,a,g,x,c))?(z||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(e.flags|=4194308)):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=x),i.props=a,i.state=x,i.context=c,a=f):(typeof i.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{i=e.stateNode,Vu(l,e),c=e.memoizedProps,z=Lt(t,c),i.props=z,S=e.pendingProps,g=i.context,x=t.contextType,f=ua,typeof x=="object"&&x!==null&&(f=kl(x)),s=t.getDerivedStateFromProps,(x=typeof s=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(c!==S||g!==f)&&Co(e,i,a,f),st=!1,g=e.memoizedState,i.state=g,ln(e,a,i,n),Pa();var b=e.memoizedState;c!==S||g!==b||st||l!==null&&l.dependencies!==null&&Fn(l.dependencies)?(typeof s=="function"&&(hc(e,t,s,a),b=e.memoizedState),(z=st||Do(e,t,z,a,g,b,f)||l!==null&&l.dependencies!==null&&Fn(l.dependencies))?(x||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,b,f),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,b,f)),typeof i.componentDidUpdate=="function"&&(e.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof i.componentDidUpdate!="function"||c===l.memoizedProps&&g===l.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&g===l.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=b),i.props=a,i.state=b,i.context=f,a=z):(typeof i.componentDidUpdate!="function"||c===l.memoizedProps&&g===l.memoizedState||(e.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||c===l.memoizedProps&&g===l.memoizedState||(e.flags|=1024),a=!1)}return i=a,xi(l,e),a=(e.flags&128)!==0,i||a?(i=e.stateNode,t=a&&typeof t.getDerivedStateFromError!="function"?null:i.render(),e.flags|=1,l!==null&&a?(e.child=Qt(e,l.child,null,n),e.child=Qt(e,null,t,n)):Kl(l,e,t,n),e.memoizedState=i.state,l=e.child):l=ke(l,e,n),l}function $o(l,e,t,a){return Ht(),e.flags|=256,Kl(l,e,t,a),e.child}var bc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function pc(l){return{baseLanes:l,cachePool:qf()}}function zc(l,e,t){return l=l!==null?l.childLanes&~t:0,e&&(l|=ye),l}function Wo(l,e,t){var a=e.pendingProps,n=!1,i=(e.flags&128)!==0,c;if((c=i)||(c=l!==null&&l.memoizedState===null?!1:(Ul.current&2)!==0),c&&(n=!0,e.flags&=-129),c=(e.flags&32)!==0,e.flags&=-33,l===null){if(nl){if(n?dt(e):rt(),(l=Nl)?(l=nr(l,_e),l=l!==null&&l.data!=="&"?l:null,l!==null&&(e.memoizedState={dehydrated:l,treeContext:nt!==null?{id:De,overflow:Ce}:null,retryLane:536870912,hydrationErrors:null},t=Tf(l),t.return=e,e.child=t,Vl=e,Nl=null)):l=null,l===null)throw ut(e);return as(l)?e.lanes=32:e.lanes=536870912,null}var s=a.children;return a=a.fallback,n?(rt(),n=e.mode,s=yi({mode:"hidden",children:s},n),a=Ct(a,n,t,null),s.return=e,a.return=e,s.sibling=a,e.child=s,a=e.child,a.memoizedState=pc(t),a.childLanes=zc(l,c,t),e.memoizedState=bc,un(null,a)):(dt(e),jc(e,s))}var f=l.memoizedState;if(f!==null&&(s=f.dehydrated,s!==null)){if(i)e.flags&256?(dt(e),e.flags&=-257,e=Nc(l,e,t)):e.memoizedState!==null?(rt(),e.child=l.child,e.flags|=128,e=null):(rt(),s=a.fallback,n=e.mode,a=yi({mode:"visible",children:a.children},n),s=Ct(s,n,t,null),s.flags|=2,a.return=e,s.return=e,a.sibling=s,e.child=a,Qt(e,l.child,null,t),a=e.child,a.memoizedState=pc(t),a.childLanes=zc(l,c,t),e.memoizedState=bc,e=un(null,a));else if(dt(e),as(s)){if(c=s.nextSibling&&s.nextSibling.dataset,c)var x=c.dgst;c=x,a=Error(d(419)),a.stack="",a.digest=c,Ka({value:a,source:null,stack:null}),e=Nc(l,e,t)}else if(Bl||oa(l,e,t,!1),c=(t&l.childLanes)!==0,Bl||c){if(c=bl,c!==null&&(a=Cs(c,t),a!==0&&a!==f.retryLane))throw f.retryLane=a,Dt(l,a),ce(c,l,a),yc;ts(s)||Ei(),e=Nc(l,e,t)}else ts(s)?(e.flags|=192,e.child=l.child,e=null):(l=f.treeContext,Nl=Ae(s.nextSibling),Vl=e,nl=!0,it=null,_e=!1,l!==null&&Of(e,l),e=jc(e,a.children),e.flags|=4096);return e}return n?(rt(),s=a.fallback,n=e.mode,f=l.child,x=f.sibling,a=Ge(f,{mode:"hidden",children:a.children}),a.subtreeFlags=f.subtreeFlags&65011712,x!==null?s=Ge(x,s):(s=Ct(s,n,t,null),s.flags|=2),s.return=e,a.return=e,a.sibling=s,e.child=a,un(null,a),a=e.child,s=l.child.memoizedState,s===null?s=pc(t):(n=s.cachePool,n!==null?(f=Rl._currentValue,n=n.parent!==f?{parent:f,pool:f}:n):n=qf(),s={baseLanes:s.baseLanes|t,cachePool:n}),a.memoizedState=s,a.childLanes=zc(l,c,t),e.memoizedState=bc,un(l.child,a)):(dt(e),t=l.child,l=t.sibling,t=Ge(t,{mode:"visible",children:a.children}),t.return=e,t.sibling=null,l!==null&&(c=e.deletions,c===null?(e.deletions=[l],e.flags|=16):c.push(l)),e.child=t,e.memoizedState=null,t)}function jc(l,e){return e=yi({mode:"visible",children:e},l.mode),e.return=l,l.child=e}function yi(l,e){return l=me(22,l,null,e),l.lanes=0,l}function Nc(l,e,t){return Qt(e,l.child,null,t),l=jc(e,e.pendingProps.children),l.flags|=2,e.memoizedState=null,l}function Fo(l,e,t){l.lanes|=e;var a=l.alternate;a!==null&&(a.lanes|=e),Bu(l.return,e,t)}function Sc(l,e,t,a,n,i){var c=l.memoizedState;c===null?l.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:t,tailMode:n,treeForkCount:i}:(c.isBackwards=e,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=t,c.tailMode=n,c.treeForkCount=i)}function Io(l,e,t){var a=e.pendingProps,n=a.revealOrder,i=a.tail;a=a.children;var c=Ul.current,s=(c&2)!==0;if(s?(c=c&1|2,e.flags|=128):c&=1,C(Ul,c),Kl(l,e,a,t),a=nl?ka:0,!s&&l!==null&&(l.flags&128)!==0)l:for(l=e.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Fo(l,t,e);else if(l.tag===19)Fo(l,t,e);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===e)break l;for(;l.sibling===null;){if(l.return===null||l.return===e)break l;l=l.return}l.sibling.return=l.return,l=l.sibling}switch(n){case"forwards":for(t=e.child,n=null;t!==null;)l=t.alternate,l!==null&&ii(l)===null&&(n=t),t=t.sibling;t=n,t===null?(n=e.child,e.child=null):(n=t.sibling,t.sibling=null),Sc(e,!1,n,t,i,a);break;case"backwards":case"unstable_legacy-backwards":for(t=null,n=e.child,e.child=null;n!==null;){if(l=n.alternate,l!==null&&ii(l)===null){e.child=n;break}l=n.sibling,n.sibling=t,t=n,n=l}Sc(e,!0,t,null,i,a);break;case"together":Sc(e,!1,null,null,void 0,a);break;default:e.memoizedState=null}return e.child}function ke(l,e,t){if(l!==null&&(e.dependencies=l.dependencies),vt|=e.lanes,(t&e.childLanes)===0)if(l!==null){if(oa(l,e,t,!1),(t&e.childLanes)===0)return null}else return null;if(l!==null&&e.child!==l.child)throw Error(d(153));if(e.child!==null){for(l=e.child,t=Ge(l,l.pendingProps),e.child=t,t.return=e;l.sibling!==null;)l=l.sibling,t=t.sibling=Ge(l,l.pendingProps),t.return=e;t.sibling=null}return e.child}function _c(l,e){return(l.lanes&e)!==0?!0:(l=l.dependencies,!!(l!==null&&Fn(l)))}function zm(l,e,t){switch(e.tag){case 3:Pl(e,e.stateNode.containerInfo),ct(e,Rl,l.memoizedState.cache),Ht();break;case 27:case 5:Oa(e);break;case 4:Pl(e,e.stateNode.containerInfo);break;case 10:ct(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Wu(e),null;break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(dt(e),e.flags|=128,null):(t&e.child.childLanes)!==0?Wo(l,e,t):(dt(e),l=ke(l,e,t),l!==null?l.sibling:null);dt(e);break;case 19:var n=(l.flags&128)!==0;if(a=(t&e.childLanes)!==0,a||(oa(l,e,t,!1),a=(t&e.childLanes)!==0),n){if(a)return Io(l,e,t);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),C(Ul,Ul.current),a)break;return null;case 22:return e.lanes=0,Zo(l,e,t,e.pendingProps);case 24:ct(e,Rl,l.memoizedState.cache)}return ke(l,e,t)}function Po(l,e,t){if(l!==null)if(l.memoizedProps!==e.pendingProps)Bl=!0;else{if(!_c(l,t)&&(e.flags&128)===0)return Bl=!1,zm(l,e,t);Bl=(l.flags&131072)!==0}else Bl=!1,nl&&(e.flags&1048576)!==0&&wf(e,ka,e.index);switch(e.lanes=0,e.tag){case 16:l:{var a=e.pendingProps;if(l=Yt(e.elementType),e.type=l,typeof l=="function")wu(l)?(a=Lt(l,a),e.tag=1,e=Jo(null,e,l,a,t)):(e.tag=0,e=gc(null,e,l,a,t));else{if(l!=null){var n=l.$$typeof;if(n===_l){e.tag=11,e=Qo(null,e,l,a,t);break l}else if(n===K){e.tag=14,e=Xo(null,e,l,a,t);break l}}throw e=Hl(l)||l,Error(d(306,e,""))}}return e;case 0:return gc(l,e,e.type,e.pendingProps,t);case 1:return a=e.type,n=Lt(a,e.pendingProps),Jo(l,e,a,n,t);case 3:l:{if(Pl(e,e.stateNode.containerInfo),l===null)throw Error(d(387));a=e.pendingProps;var i=e.memoizedState;n=i.element,Vu(l,e),ln(e,a,null,t);var c=e.memoizedState;if(a=c.cache,ct(e,Rl,a),a!==i.cache&&Yu(e,[Rl],t,!0),Pa(),a=c.element,i.isDehydrated)if(i={element:a,isDehydrated:!1,cache:c.cache},e.updateQueue.baseState=i,e.memoizedState=i,e.flags&256){e=$o(l,e,a,t);break l}else if(a!==n){n=je(Error(d(424)),e),Ka(n),e=$o(l,e,a,t);break l}else{switch(l=e.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(Nl=Ae(l.firstChild),Vl=e,nl=!0,it=null,_e=!0,t=Lf(e,null,a,t),e.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling}else{if(Ht(),a===n){e=ke(l,e,t);break l}Kl(l,e,a,t)}e=e.child}return e;case 26:return xi(l,e),l===null?(t=or(e.type,null,e.pendingProps,null))?e.memoizedState=t:nl||(t=e.type,l=e.pendingProps,a=Di(P.current).createElement(t),a[Zl]=e,a[ee]=l,Jl(a,t,l),Xl(a),e.stateNode=a):e.memoizedState=or(e.type,l.memoizedProps,e.pendingProps,l.memoizedState),null;case 27:return Oa(e),l===null&&nl&&(a=e.stateNode=cr(e.type,e.pendingProps,P.current),Vl=e,_e=!0,n=Nl,pt(e.type)?(ns=n,Nl=Ae(a.firstChild)):Nl=n),Kl(l,e,e.pendingProps.children,t),xi(l,e),l===null&&(e.flags|=4194304),e.child;case 5:return l===null&&nl&&((n=a=Nl)&&(a=Fm(a,e.type,e.pendingProps,_e),a!==null?(e.stateNode=a,Vl=e,Nl=Ae(a.firstChild),_e=!1,n=!0):n=!1),n||ut(e)),Oa(e),n=e.type,i=e.pendingProps,c=l!==null?l.memoizedProps:null,a=i.children,Pc(n,i)?a=null:c!==null&&Pc(n,c)&&(e.flags|=32),e.memoizedState!==null&&(n=Iu(l,e,rm,null,null,t),zn._currentValue=n),xi(l,e),Kl(l,e,a,t),e.child;case 6:return l===null&&nl&&((l=t=Nl)&&(t=Im(t,e.pendingProps,_e),t!==null?(e.stateNode=t,Vl=e,Nl=null,l=!0):l=!1),l||ut(e)),null;case 13:return Wo(l,e,t);case 4:return Pl(e,e.stateNode.containerInfo),a=e.pendingProps,l===null?e.child=Qt(e,null,a,t):Kl(l,e,a,t),e.child;case 11:return Qo(l,e,e.type,e.pendingProps,t);case 7:return Kl(l,e,e.pendingProps,t),e.child;case 8:return Kl(l,e,e.pendingProps.children,t),e.child;case 12:return Kl(l,e,e.pendingProps.children,t),e.child;case 10:return a=e.pendingProps,ct(e,e.type,a.value),Kl(l,e,a.children,t),e.child;case 9:return n=e.type._context,a=e.pendingProps.children,qt(e),n=kl(n),a=a(n),e.flags|=1,Kl(l,e,a,t),e.child;case 14:return Xo(l,e,e.type,e.pendingProps,t);case 15:return Lo(l,e,e.type,e.pendingProps,t);case 19:return Io(l,e,t);case 31:return pm(l,e,t);case 22:return Zo(l,e,t,e.pendingProps);case 24:return qt(e),a=kl(Rl),l===null?(n=Xu(),n===null&&(n=bl,i=Gu(),n.pooledCache=i,i.refCount++,i!==null&&(n.pooledCacheLanes|=t),n=i),e.memoizedState={parent:a,cache:n},Zu(e),ct(e,Rl,n)):((l.lanes&t)!==0&&(Vu(l,e),ln(e,null,null,t),Pa()),n=l.memoizedState,i=e.memoizedState,n.parent!==a?(n={parent:a,cache:a},e.memoizedState=n,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=n),ct(e,Rl,a)):(a=i.cache,ct(e,Rl,a),a!==n.cache&&Yu(e,[Rl],t,!0))),Kl(l,e,e.pendingProps.children,t),e.child;case 29:throw e.pendingProps}throw Error(d(156,e.tag))}function Ke(l){l.flags|=4}function Ec(l,e,t,a,n){if((e=(l.mode&32)!==0)&&(e=!1),e){if(l.flags|=16777216,(n&335544128)===n)if(l.stateNode.complete)l.flags|=8192;else if(Ed())l.flags|=8192;else throw Gt=ei,Lu}else l.flags&=-16777217}function ld(l,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!vr(e))if(Ed())l.flags|=8192;else throw Gt=ei,Lu}function gi(l,e){e!==null&&(l.flags|=4),l.flags&16384&&(e=l.tag!==22?Os():536870912,l.lanes|=e,ja|=e)}function cn(l,e){if(!nl)switch(l.tailMode){case"hidden":e=l.tail;for(var t=null;e!==null;)e.alternate!==null&&(t=e),e=e.sibling;t===null?l.tail=null:t.sibling=null;break;case"collapsed":t=l.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e||l.tail===null?l.tail=null:l.tail.sibling=null:a.sibling=null}}function Sl(l){var e=l.alternate!==null&&l.alternate.child===l.child,t=0,a=0;if(e)for(var n=l.child;n!==null;)t|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=l,n=n.sibling;else for(n=l.child;n!==null;)t|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=l,n=n.sibling;return l.subtreeFlags|=a,l.childLanes=t,e}function jm(l,e,t){var a=e.pendingProps;switch(Cu(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Sl(e),null;case 1:return Sl(e),null;case 3:return t=e.stateNode,a=null,l!==null&&(a=l.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),Le(Rl),Ol(),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),(l===null||l.child===null)&&(fa(e)?Ke(e):l===null||l.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,Ru())),Sl(e),null;case 26:var n=e.type,i=e.memoizedState;return l===null?(Ke(e),i!==null?(Sl(e),ld(e,i)):(Sl(e),Ec(e,n,null,a,t))):i?i!==l.memoizedState?(Ke(e),Sl(e),ld(e,i)):(Sl(e),e.flags&=-16777217):(l=l.memoizedProps,l!==a&&Ke(e),Sl(e),Ec(e,n,l,a,t)),null;case 27:if(Mn(e),t=P.current,n=e.type,l!==null&&e.stateNode!=null)l.memoizedProps!==a&&Ke(e);else{if(!a){if(e.stateNode===null)throw Error(d(166));return Sl(e),null}l=R.current,fa(e)?Uf(e):(l=cr(n,a,t),e.stateNode=l,Ke(e))}return Sl(e),null;case 5:if(Mn(e),n=e.type,l!==null&&e.stateNode!=null)l.memoizedProps!==a&&Ke(e);else{if(!a){if(e.stateNode===null)throw Error(d(166));return Sl(e),null}if(i=R.current,fa(e))Uf(e);else{var c=Di(P.current);switch(i){case 1:i=c.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:i=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":i=c.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":i=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":i=c.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?i.multiple=!0:a.size&&(i.size=a.size);break;default:i=typeof a.is=="string"?c.createElement(n,{is:a.is}):c.createElement(n)}}i[Zl]=e,i[ee]=a;l:for(c=e.child;c!==null;){if(c.tag===5||c.tag===6)i.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)break l;for(;c.sibling===null;){if(c.return===null||c.return===e)break l;c=c.return}c.sibling.return=c.return,c=c.sibling}e.stateNode=i;l:switch(Jl(i,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break l;case"img":a=!0;break l;default:a=!1}a&&Ke(e)}}return Sl(e),Ec(e,e.type,l===null?null:l.memoizedProps,e.pendingProps,t),null;case 6:if(l&&e.stateNode!=null)l.memoizedProps!==a&&Ke(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(d(166));if(l=P.current,fa(e)){if(l=e.stateNode,t=e.memoizedProps,a=null,n=Vl,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}l[Zl]=e,l=!!(l.nodeValue===t||a!==null&&a.suppressHydrationWarning===!0||Wd(l.nodeValue,t)),l||ut(e,!0)}else l=Di(l).createTextNode(a),l[Zl]=e,e.stateNode=l}return Sl(e),null;case 31:if(t=e.memoizedState,l===null||l.memoizedState!==null){if(a=fa(e),t!==null){if(l===null){if(!a)throw Error(d(318));if(l=e.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(d(557));l[Zl]=e}else Ht(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Sl(e),l=!1}else t=Ru(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=t),l=!0;if(!l)return e.flags&256?(ve(e),e):(ve(e),null);if((e.flags&128)!==0)throw Error(d(558))}return Sl(e),null;case 13:if(a=e.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(n=fa(e),a!==null&&a.dehydrated!==null){if(l===null){if(!n)throw Error(d(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(d(317));n[Zl]=e}else Ht(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Sl(e),n=!1}else n=Ru(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(ve(e),e):(ve(e),null)}return ve(e),(e.flags&128)!==0?(e.lanes=t,e):(t=a!==null,l=l!==null&&l.memoizedState!==null,t&&(a=e.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),i=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==n&&(a.flags|=2048)),t!==l&&t&&(e.child.flags|=8192),gi(e,e.updateQueue),Sl(e),null);case 4:return Ol(),l===null&&Jc(e.stateNode.containerInfo),Sl(e),null;case 10:return Le(e.type),Sl(e),null;case 19:if(E(Ul),a=e.memoizedState,a===null)return Sl(e),null;if(n=(e.flags&128)!==0,i=a.rendering,i===null)if(n)cn(a,!1);else{if(Ml!==0||l!==null&&(l.flags&128)!==0)for(l=e.child;l!==null;){if(i=ii(l),i!==null){for(e.flags|=128,cn(a,!1),l=i.updateQueue,e.updateQueue=l,gi(e,l),e.subtreeFlags=0,l=t,t=e.child;t!==null;)Af(t,l),t=t.sibling;return C(Ul,Ul.current&1|2),nl&&Qe(e,a.treeForkCount),e.child}l=l.sibling}a.tail!==null&&fe()>Ni&&(e.flags|=128,n=!0,cn(a,!1),e.lanes=4194304)}else{if(!n)if(l=ii(i),l!==null){if(e.flags|=128,n=!0,l=l.updateQueue,e.updateQueue=l,gi(e,l),cn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!nl)return Sl(e),null}else 2*fe()-a.renderingStartTime>Ni&&t!==536870912&&(e.flags|=128,n=!0,cn(a,!1),e.lanes=4194304);a.isBackwards?(i.sibling=e.child,e.child=i):(l=a.last,l!==null?l.sibling=i:e.child=i,a.last=i)}return a.tail!==null?(l=a.tail,a.rendering=l,a.tail=l.sibling,a.renderingStartTime=fe(),l.sibling=null,t=Ul.current,C(Ul,n?t&1|2:t&1),nl&&Qe(e,a.treeForkCount),l):(Sl(e),null);case 22:case 23:return ve(e),$u(),a=e.memoizedState!==null,l!==null?l.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(t&536870912)!==0&&(e.flags&128)===0&&(Sl(e),e.subtreeFlags&6&&(e.flags|=8192)):Sl(e),t=e.updateQueue,t!==null&&gi(e,t.retryQueue),t=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(t=l.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==t&&(e.flags|=2048),l!==null&&E(Bt),null;case 24:return t=null,l!==null&&(t=l.memoizedState.cache),e.memoizedState.cache!==t&&(e.flags|=2048),Le(Rl),Sl(e),null;case 25:return null;case 30:return null}throw Error(d(156,e.tag))}function Nm(l,e){switch(Cu(e),e.tag){case 1:return l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 3:return Le(Rl),Ol(),l=e.flags,(l&65536)!==0&&(l&128)===0?(e.flags=l&-65537|128,e):null;case 26:case 27:case 5:return Mn(e),null;case 31:if(e.memoizedState!==null){if(ve(e),e.alternate===null)throw Error(d(340));Ht()}return l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 13:if(ve(e),l=e.memoizedState,l!==null&&l.dehydrated!==null){if(e.alternate===null)throw Error(d(340));Ht()}return l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 19:return E(Ul),null;case 4:return Ol(),null;case 10:return Le(e.type),null;case 22:case 23:return ve(e),$u(),l!==null&&E(Bt),l=e.flags,l&65536?(e.flags=l&-65537|128,e):null;case 24:return Le(Rl),null;case 25:return null;default:return null}}function ed(l,e){switch(Cu(e),e.tag){case 3:Le(Rl),Ol();break;case 26:case 27:case 5:Mn(e);break;case 4:Ol();break;case 31:e.memoizedState!==null&&ve(e);break;case 13:ve(e);break;case 19:E(Ul);break;case 10:Le(e.type);break;case 22:case 23:ve(e),$u(),l!==null&&E(Bt);break;case 24:Le(Rl)}}function sn(l,e){try{var t=e.updateQueue,a=t!==null?t.lastEffect:null;if(a!==null){var n=a.next;t=n;do{if((t.tag&l)===l){a=void 0;var i=t.create,c=t.inst;a=i(),c.destroy=a}t=t.next}while(t!==n)}}catch(s){dl(e,e.return,s)}}function mt(l,e,t){try{var a=e.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var i=n.next;a=i;do{if((a.tag&l)===l){var c=a.inst,s=c.destroy;if(s!==void 0){c.destroy=void 0,n=e;var f=t,x=s;try{x()}catch(z){dl(n,f,z)}}}a=a.next}while(a!==i)}}catch(z){dl(e,e.return,z)}}function td(l){var e=l.updateQueue;if(e!==null){var t=l.stateNode;try{Vf(e,t)}catch(a){dl(l,l.return,a)}}}function ad(l,e,t){t.props=Lt(l.type,l.memoizedProps),t.state=l.memoizedState;try{t.componentWillUnmount()}catch(a){dl(l,e,a)}}function fn(l,e){try{var t=l.ref;if(t!==null){switch(l.tag){case 26:case 27:case 5:var a=l.stateNode;break;case 30:a=l.stateNode;break;default:a=l.stateNode}typeof t=="function"?l.refCleanup=t(a):t.current=a}}catch(n){dl(l,e,n)}}function He(l,e){var t=l.ref,a=l.refCleanup;if(t!==null)if(typeof a=="function")try{a()}catch(n){dl(l,e,n)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof t=="function")try{t(null)}catch(n){dl(l,e,n)}else t.current=null}function nd(l){var e=l.type,t=l.memoizedProps,a=l.stateNode;try{l:switch(e){case"button":case"input":case"select":case"textarea":t.autoFocus&&a.focus();break l;case"img":t.src?a.src=t.src:t.srcSet&&(a.srcset=t.srcSet)}}catch(n){dl(l,l.return,n)}}function Ac(l,e,t){try{var a=l.stateNode;Vm(a,l.type,t,e),a[ee]=e}catch(n){dl(l,l.return,n)}}function id(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&pt(l.type)||l.tag===4}function Tc(l){l:for(;;){for(;l.sibling===null;){if(l.return===null||id(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&pt(l.type)||l.flags&2||l.child===null||l.tag===4)continue l;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function Mc(l,e,t){var a=l.tag;if(a===5||a===6)l=l.stateNode,e?(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t).insertBefore(l,e):(e=t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,e.appendChild(l),t=t._reactRootContainer,t!=null||e.onclick!==null||(e.onclick=Be));else if(a!==4&&(a===27&&pt(l.type)&&(t=l.stateNode,e=null),l=l.child,l!==null))for(Mc(l,e,t),l=l.sibling;l!==null;)Mc(l,e,t),l=l.sibling}function bi(l,e,t){var a=l.tag;if(a===5||a===6)l=l.stateNode,e?t.insertBefore(l,e):t.appendChild(l);else if(a!==4&&(a===27&&pt(l.type)&&(t=l.stateNode),l=l.child,l!==null))for(bi(l,e,t),l=l.sibling;l!==null;)bi(l,e,t),l=l.sibling}function ud(l){var e=l.stateNode,t=l.memoizedProps;try{for(var a=l.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);Jl(e,a,t),e[Zl]=l,e[ee]=t}catch(i){dl(l,l.return,i)}}var Je=!1,Yl=!1,wc=!1,cd=typeof WeakSet=="function"?WeakSet:Set,Ll=null;function Sm(l,e){if(l=l.containerInfo,Fc=Gi,l=gf(l),Nu(l)){if("selectionStart"in l)var t={start:l.selectionStart,end:l.selectionEnd};else l:{t=(t=l.ownerDocument)&&t.defaultView||window;var a=t.getSelection&&t.getSelection();if(a&&a.rangeCount!==0){t=a.anchorNode;var n=a.anchorOffset,i=a.focusNode;a=a.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break l}var c=0,s=-1,f=-1,x=0,z=0,S=l,g=null;e:for(;;){for(var b;S!==t||n!==0&&S.nodeType!==3||(s=c+n),S!==i||a!==0&&S.nodeType!==3||(f=c+a),S.nodeType===3&&(c+=S.nodeValue.length),(b=S.firstChild)!==null;)g=S,S=b;for(;;){if(S===l)break e;if(g===t&&++x===n&&(s=c),g===i&&++z===a&&(f=c),(b=S.nextSibling)!==null)break;S=g,g=S.parentNode}S=b}t=s===-1||f===-1?null:{start:s,end:f}}else t=null}t=t||{start:0,end:0}}else t=null;for(Ic={focusedElem:l,selectionRange:t},Gi=!1,Ll=e;Ll!==null;)if(e=Ll,l=e.child,(e.subtreeFlags&1028)!==0&&l!==null)l.return=e,Ll=l;else for(;Ll!==null;){switch(e=Ll,i=e.alternate,l=e.flags,e.tag){case 0:if((l&4)!==0&&(l=e.updateQueue,l=l!==null?l.events:null,l!==null))for(t=0;t<l.length;t++)n=l[t],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((l&1024)!==0&&i!==null){l=void 0,t=e,n=i.memoizedProps,i=i.memoizedState,a=t.stateNode;try{var H=Lt(t.type,n);l=a.getSnapshotBeforeUpdate(H,i),a.__reactInternalSnapshotBeforeUpdate=l}catch(L){dl(t,t.return,L)}}break;case 3:if((l&1024)!==0){if(l=e.stateNode.containerInfo,t=l.nodeType,t===9)es(l);else if(t===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":es(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error(d(163))}if(l=e.sibling,l!==null){l.return=e.return,Ll=l;break}Ll=e.return}}function sd(l,e,t){var a=t.flags;switch(t.tag){case 0:case 11:case 15:We(l,t),a&4&&sn(5,t);break;case 1:if(We(l,t),a&4)if(l=t.stateNode,e===null)try{l.componentDidMount()}catch(c){dl(t,t.return,c)}else{var n=Lt(t.type,e.memoizedProps);e=e.memoizedState;try{l.componentDidUpdate(n,e,l.__reactInternalSnapshotBeforeUpdate)}catch(c){dl(t,t.return,c)}}a&64&&td(t),a&512&&fn(t,t.return);break;case 3:if(We(l,t),a&64&&(l=t.updateQueue,l!==null)){if(e=null,t.child!==null)switch(t.child.tag){case 27:case 5:e=t.child.stateNode;break;case 1:e=t.child.stateNode}try{Vf(l,e)}catch(c){dl(t,t.return,c)}}break;case 27:e===null&&a&4&&ud(t);case 26:case 5:We(l,t),e===null&&a&4&&nd(t),a&512&&fn(t,t.return);break;case 12:We(l,t);break;case 31:We(l,t),a&4&&dd(l,t);break;case 13:We(l,t),a&4&&rd(l,t),a&64&&(l=t.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(t=Dm.bind(null,t),Pm(l,t))));break;case 22:if(a=t.memoizedState!==null||Je,!a){e=e!==null&&e.memoizedState!==null||Yl,n=Je;var i=Yl;Je=a,(Yl=e)&&!i?Fe(l,t,(t.subtreeFlags&8772)!==0):We(l,t),Je=n,Yl=i}break;case 30:break;default:We(l,t)}}function fd(l){var e=l.alternate;e!==null&&(l.alternate=null,fd(e)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(e=l.stateNode,e!==null&&uu(e)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var El=null,ae=!1;function $e(l,e,t){for(t=t.child;t!==null;)od(l,e,t),t=t.sibling}function od(l,e,t){if(oe&&typeof oe.onCommitFiberUnmount=="function")try{oe.onCommitFiberUnmount(Ua,t)}catch{}switch(t.tag){case 26:Yl||He(t,e),$e(l,e,t),t.memoizedState?t.memoizedState.count--:t.stateNode&&(t=t.stateNode,t.parentNode.removeChild(t));break;case 27:Yl||He(t,e);var a=El,n=ae;pt(t.type)&&(El=t.stateNode,ae=!1),$e(l,e,t),gn(t.stateNode),El=a,ae=n;break;case 5:Yl||He(t,e);case 6:if(a=El,n=ae,El=null,$e(l,e,t),El=a,ae=n,El!==null)if(ae)try{(El.nodeType===9?El.body:El.nodeName==="HTML"?El.ownerDocument.body:El).removeChild(t.stateNode)}catch(i){dl(t,e,i)}else try{El.removeChild(t.stateNode)}catch(i){dl(t,e,i)}break;case 18:El!==null&&(ae?(l=El,tr(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.stateNode),wa(l)):tr(El,t.stateNode));break;case 4:a=El,n=ae,El=t.stateNode.containerInfo,ae=!0,$e(l,e,t),El=a,ae=n;break;case 0:case 11:case 14:case 15:mt(2,t,e),Yl||mt(4,t,e),$e(l,e,t);break;case 1:Yl||(He(t,e),a=t.stateNode,typeof a.componentWillUnmount=="function"&&ad(t,e,a)),$e(l,e,t);break;case 21:$e(l,e,t);break;case 22:Yl=(a=Yl)||t.memoizedState!==null,$e(l,e,t),Yl=a;break;default:$e(l,e,t)}}function dd(l,e){if(e.memoizedState===null&&(l=e.alternate,l!==null&&(l=l.memoizedState,l!==null))){l=l.dehydrated;try{wa(l)}catch(t){dl(e,e.return,t)}}}function rd(l,e){if(e.memoizedState===null&&(l=e.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{wa(l)}catch(t){dl(e,e.return,t)}}function _m(l){switch(l.tag){case 31:case 13:case 19:var e=l.stateNode;return e===null&&(e=l.stateNode=new cd),e;case 22:return l=l.stateNode,e=l._retryCache,e===null&&(e=l._retryCache=new cd),e;default:throw Error(d(435,l.tag))}}function pi(l,e){var t=_m(l);e.forEach(function(a){if(!t.has(a)){t.add(a);var n=Cm.bind(null,l,a);a.then(n,n)}})}function ne(l,e){var t=e.deletions;if(t!==null)for(var a=0;a<t.length;a++){var n=t[a],i=l,c=e,s=c;l:for(;s!==null;){switch(s.tag){case 27:if(pt(s.type)){El=s.stateNode,ae=!1;break l}break;case 5:El=s.stateNode,ae=!1;break l;case 3:case 4:El=s.stateNode.containerInfo,ae=!0;break l}s=s.return}if(El===null)throw Error(d(160));od(i,c,n),El=null,ae=!1,i=n.alternate,i!==null&&(i.return=null),n.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)md(e,l),e=e.sibling}var we=null;function md(l,e){var t=l.alternate,a=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:ne(e,l),ie(l),a&4&&(mt(3,l,l.return),sn(3,l),mt(5,l,l.return));break;case 1:ne(e,l),ie(l),a&512&&(Yl||t===null||He(t,t.return)),a&64&&Je&&(l=l.updateQueue,l!==null&&(a=l.callbacks,a!==null&&(t=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=t===null?a:t.concat(a))));break;case 26:var n=we;if(ne(e,l),ie(l),a&512&&(Yl||t===null||He(t,t.return)),a&4){var i=t!==null?t.memoizedState:null;if(a=l.memoizedState,t===null)if(a===null)if(l.stateNode===null){l:{a=l.type,t=l.memoizedProps,n=n.ownerDocument||n;e:switch(a){case"title":i=n.getElementsByTagName("title")[0],(!i||i[Ha]||i[Zl]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=n.createElement(a),n.head.insertBefore(i,n.querySelector("head > title"))),Jl(i,a,t),i[Zl]=l,Xl(i),a=i;break l;case"link":var c=mr("link","href",n).get(a+(t.href||""));if(c){for(var s=0;s<c.length;s++)if(i=c[s],i.getAttribute("href")===(t.href==null||t.href===""?null:t.href)&&i.getAttribute("rel")===(t.rel==null?null:t.rel)&&i.getAttribute("title")===(t.title==null?null:t.title)&&i.getAttribute("crossorigin")===(t.crossOrigin==null?null:t.crossOrigin)){c.splice(s,1);break e}}i=n.createElement(a),Jl(i,a,t),n.head.appendChild(i);break;case"meta":if(c=mr("meta","content",n).get(a+(t.content||""))){for(s=0;s<c.length;s++)if(i=c[s],i.getAttribute("content")===(t.content==null?null:""+t.content)&&i.getAttribute("name")===(t.name==null?null:t.name)&&i.getAttribute("property")===(t.property==null?null:t.property)&&i.getAttribute("http-equiv")===(t.httpEquiv==null?null:t.httpEquiv)&&i.getAttribute("charset")===(t.charSet==null?null:t.charSet)){c.splice(s,1);break e}}i=n.createElement(a),Jl(i,a,t),n.head.appendChild(i);break;default:throw Error(d(468,a))}i[Zl]=l,Xl(i),a=i}l.stateNode=a}else hr(n,l.type,l.stateNode);else l.stateNode=rr(n,a,l.memoizedProps);else i!==a?(i===null?t.stateNode!==null&&(t=t.stateNode,t.parentNode.removeChild(t)):i.count--,a===null?hr(n,l.type,l.stateNode):rr(n,a,l.memoizedProps)):a===null&&l.stateNode!==null&&Ac(l,l.memoizedProps,t.memoizedProps)}break;case 27:ne(e,l),ie(l),a&512&&(Yl||t===null||He(t,t.return)),t!==null&&a&4&&Ac(l,l.memoizedProps,t.memoizedProps);break;case 5:if(ne(e,l),ie(l),a&512&&(Yl||t===null||He(t,t.return)),l.flags&32){n=l.stateNode;try{Pt(n,"")}catch(H){dl(l,l.return,H)}}a&4&&l.stateNode!=null&&(n=l.memoizedProps,Ac(l,n,t!==null?t.memoizedProps:n)),a&1024&&(wc=!0);break;case 6:if(ne(e,l),ie(l),a&4){if(l.stateNode===null)throw Error(d(162));a=l.memoizedProps,t=l.stateNode;try{t.nodeValue=a}catch(H){dl(l,l.return,H)}}break;case 3:if(Ri=null,n=we,we=Ci(e.containerInfo),ne(e,l),we=n,ie(l),a&4&&t!==null&&t.memoizedState.isDehydrated)try{wa(e.containerInfo)}catch(H){dl(l,l.return,H)}wc&&(wc=!1,hd(l));break;case 4:a=we,we=Ci(l.stateNode.containerInfo),ne(e,l),ie(l),we=a;break;case 12:ne(e,l),ie(l);break;case 31:ne(e,l),ie(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,pi(l,a)));break;case 13:ne(e,l),ie(l),l.child.flags&8192&&l.memoizedState!==null!=(t!==null&&t.memoizedState!==null)&&(ji=fe()),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,pi(l,a)));break;case 22:n=l.memoizedState!==null;var f=t!==null&&t.memoizedState!==null,x=Je,z=Yl;if(Je=x||n,Yl=z||f,ne(e,l),Yl=z,Je=x,ie(l),a&8192)l:for(e=l.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(t===null||f||Je||Yl||Zt(l)),t=null,e=l;;){if(e.tag===5||e.tag===26){if(t===null){f=t=e;try{if(i=f.stateNode,n)c=i.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){dl(f,f.return,H)}}}else if(e.tag===6){if(t===null){f=e;try{f.stateNode.nodeValue=n?"":f.memoizedProps}catch(H){dl(f,f.return,H)}}}else if(e.tag===18){if(t===null){f=e;try{var b=f.stateNode;n?ar(b,!0):ar(f.stateNode,!1)}catch(H){dl(f,f.return,H)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===l)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===l)break l;for(;e.sibling===null;){if(e.return===null||e.return===l)break l;t===e&&(t=null),e=e.return}t===e&&(t=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=l.updateQueue,a!==null&&(t=a.retryQueue,t!==null&&(a.retryQueue=null,pi(l,t))));break;case 19:ne(e,l),ie(l),a&4&&(a=l.updateQueue,a!==null&&(l.updateQueue=null,pi(l,a)));break;case 30:break;case 21:break;default:ne(e,l),ie(l)}}function ie(l){var e=l.flags;if(e&2){try{for(var t,a=l.return;a!==null;){if(id(a)){t=a;break}a=a.return}if(t==null)throw Error(d(160));switch(t.tag){case 27:var n=t.stateNode,i=Tc(l);bi(l,i,n);break;case 5:var c=t.stateNode;t.flags&32&&(Pt(c,""),t.flags&=-33);var s=Tc(l);bi(l,s,c);break;case 3:case 4:var f=t.stateNode.containerInfo,x=Tc(l);Mc(l,x,f);break;default:throw Error(d(161))}}catch(z){dl(l,l.return,z)}l.flags&=-3}e&4096&&(l.flags&=-4097)}function hd(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var e=l;hd(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),l=l.sibling}}function We(l,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)sd(l,e.alternate,e),e=e.sibling}function Zt(l){for(l=l.child;l!==null;){var e=l;switch(e.tag){case 0:case 11:case 14:case 15:mt(4,e,e.return),Zt(e);break;case 1:He(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&ad(e,e.return,t),Zt(e);break;case 27:gn(e.stateNode);case 26:case 5:He(e,e.return),Zt(e);break;case 22:e.memoizedState===null&&Zt(e);break;case 30:Zt(e);break;default:Zt(e)}l=l.sibling}}function Fe(l,e,t){for(t=t&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,n=l,i=e,c=i.flags;switch(i.tag){case 0:case 11:case 15:Fe(n,i,t),sn(4,i);break;case 1:if(Fe(n,i,t),a=i,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(x){dl(a,a.return,x)}if(a=i,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++)Zf(f[n],s)}catch(x){dl(a,a.return,x)}}t&&c&64&&td(i),fn(i,i.return);break;case 27:ud(i);case 26:case 5:Fe(n,i,t),t&&a===null&&c&4&&nd(i),fn(i,i.return);break;case 12:Fe(n,i,t);break;case 31:Fe(n,i,t),t&&c&4&&dd(n,i);break;case 13:Fe(n,i,t),t&&c&4&&rd(n,i);break;case 22:i.memoizedState===null&&Fe(n,i,t),fn(i,i.return);break;case 30:break;default:Fe(n,i,t)}e=e.sibling}}function Oc(l,e){var t=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(t=l.memoizedState.cachePool.pool),l=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),l!==t&&(l!=null&&l.refCount++,t!=null&&Ja(t))}function Uc(l,e){l=null,e.alternate!==null&&(l=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==l&&(e.refCount++,l!=null&&Ja(l))}function Oe(l,e,t,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)vd(l,e,t,a),e=e.sibling}function vd(l,e,t,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:Oe(l,e,t,a),n&2048&&sn(9,e);break;case 1:Oe(l,e,t,a);break;case 3:Oe(l,e,t,a),n&2048&&(l=null,e.alternate!==null&&(l=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==l&&(e.refCount++,l!=null&&Ja(l)));break;case 12:if(n&2048){Oe(l,e,t,a),l=e.stateNode;try{var i=e.memoizedProps,c=i.id,s=i.onPostCommit;typeof s=="function"&&s(c,e.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(f){dl(e,e.return,f)}}else Oe(l,e,t,a);break;case 31:Oe(l,e,t,a);break;case 13:Oe(l,e,t,a);break;case 23:break;case 22:i=e.stateNode,c=e.alternate,e.memoizedState!==null?i._visibility&2?Oe(l,e,t,a):on(l,e):i._visibility&2?Oe(l,e,t,a):(i._visibility|=2,ba(l,e,t,a,(e.subtreeFlags&10256)!==0||!1)),n&2048&&Oc(c,e);break;case 24:Oe(l,e,t,a),n&2048&&Uc(e.alternate,e);break;default:Oe(l,e,t,a)}}function ba(l,e,t,a,n){for(n=n&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var i=l,c=e,s=t,f=a,x=c.flags;switch(c.tag){case 0:case 11:case 15:ba(i,c,s,f,n),sn(8,c);break;case 23:break;case 22:var z=c.stateNode;c.memoizedState!==null?z._visibility&2?ba(i,c,s,f,n):on(i,c):(z._visibility|=2,ba(i,c,s,f,n)),n&&x&2048&&Oc(c.alternate,c);break;case 24:ba(i,c,s,f,n),n&&x&2048&&Uc(c.alternate,c);break;default:ba(i,c,s,f,n)}e=e.sibling}}function on(l,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var t=l,a=e,n=a.flags;switch(a.tag){case 22:on(t,a),n&2048&&Oc(a.alternate,a);break;case 24:on(t,a),n&2048&&Uc(a.alternate,a);break;default:on(t,a)}e=e.sibling}}var dn=8192;function pa(l,e,t){if(l.subtreeFlags&dn)for(l=l.child;l!==null;)xd(l,e,t),l=l.sibling}function xd(l,e,t){switch(l.tag){case 26:pa(l,e,t),l.flags&dn&&l.memoizedState!==null&&dh(t,we,l.memoizedState,l.memoizedProps);break;case 5:pa(l,e,t);break;case 3:case 4:var a=we;we=Ci(l.stateNode.containerInfo),pa(l,e,t),we=a;break;case 22:l.memoizedState===null&&(a=l.alternate,a!==null&&a.memoizedState!==null?(a=dn,dn=16777216,pa(l,e,t),dn=a):pa(l,e,t));break;default:pa(l,e,t)}}function yd(l){var e=l.alternate;if(e!==null&&(l=e.child,l!==null)){e.child=null;do e=l.sibling,l.sibling=null,l=e;while(l!==null)}}function rn(l){var e=l.deletions;if((l.flags&16)!==0){if(e!==null)for(var t=0;t<e.length;t++){var a=e[t];Ll=a,bd(a,l)}yd(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)gd(l),l=l.sibling}function gd(l){switch(l.tag){case 0:case 11:case 15:rn(l),l.flags&2048&&mt(9,l,l.return);break;case 3:rn(l);break;case 12:rn(l);break;case 22:var e=l.stateNode;l.memoizedState!==null&&e._visibility&2&&(l.return===null||l.return.tag!==13)?(e._visibility&=-3,zi(l)):rn(l);break;default:rn(l)}}function zi(l){var e=l.deletions;if((l.flags&16)!==0){if(e!==null)for(var t=0;t<e.length;t++){var a=e[t];Ll=a,bd(a,l)}yd(l)}for(l=l.child;l!==null;){switch(e=l,e.tag){case 0:case 11:case 15:mt(8,e,e.return),zi(e);break;case 22:t=e.stateNode,t._visibility&2&&(t._visibility&=-3,zi(e));break;default:zi(e)}l=l.sibling}}function bd(l,e){for(;Ll!==null;){var t=Ll;switch(t.tag){case 0:case 11:case 15:mt(8,t,e);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:Ja(t.memoizedState.cache)}if(a=t.child,a!==null)a.return=t,Ll=a;else l:for(t=l;Ll!==null;){a=Ll;var n=a.sibling,i=a.return;if(fd(a),a===t){Ll=null;break l}if(n!==null){n.return=i,Ll=n;break l}Ll=i}}}var Em={getCacheForType:function(l){var e=kl(Rl),t=e.data.get(l);return t===void 0&&(t=l(),e.data.set(l,t)),t},cacheSignal:function(){return kl(Rl).controller.signal}},Am=typeof WeakMap=="function"?WeakMap:Map,cl=0,bl=null,ll=null,tl=0,ol=0,xe=null,ht=!1,za=!1,Dc=!1,Ie=0,Ml=0,vt=0,Vt=0,Cc=0,ye=0,ja=0,mn=null,ue=null,Hc=!1,ji=0,pd=0,Ni=1/0,Si=null,xt=null,Ql=0,yt=null,Na=null,Pe=0,Rc=0,qc=null,zd=null,hn=0,Bc=null;function ge(){return(cl&2)!==0&&tl!==0?tl&-tl:p.T!==null?Zc():Hs()}function jd(){if(ye===0)if((tl&536870912)===0||nl){var l=Un;Un<<=1,(Un&3932160)===0&&(Un=262144),ye=l}else ye=536870912;return l=he.current,l!==null&&(l.flags|=32),ye}function ce(l,e,t){(l===bl&&(ol===2||ol===9)||l.cancelPendingCommit!==null)&&(Sa(l,0),gt(l,tl,ye,!1)),Ca(l,t),((cl&2)===0||l!==bl)&&(l===bl&&((cl&2)===0&&(Vt|=t),Ml===4&>(l,tl,ye,!1)),Re(l))}function Nd(l,e,t){if((cl&6)!==0)throw Error(d(327));var a=!t&&(e&127)===0&&(e&l.expiredLanes)===0||Da(l,e),n=a?wm(l,e):Gc(l,e,!0),i=a;do{if(n===0){za&&!a&>(l,e,0,!1);break}else{if(t=l.current.alternate,i&&!Tm(t)){n=Gc(l,e,!1),i=!1;continue}if(n===2){if(i=e,l.errorRecoveryDisabledLanes&i)var c=0;else c=l.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){e=c;l:{var s=l;n=mn;var f=s.current.memoizedState.isDehydrated;if(f&&(Sa(s,c).flags|=256),c=Gc(s,c,!1),c!==2){if(Dc&&!f){s.errorRecoveryDisabledLanes|=i,Vt|=i,n=4;break l}i=ue,ue=n,i!==null&&(ue===null?ue=i:ue.push.apply(ue,i))}n=c}if(i=!1,n!==2)continue}}if(n===1){Sa(l,0),gt(l,e,0,!0);break}l:{switch(a=l,i=n,i){case 0:case 1:throw Error(d(345));case 4:if((e&4194048)!==e)break;case 6:gt(a,e,ye,!ht);break l;case 2:ue=null;break;case 3:case 5:break;default:throw Error(d(329))}if((e&62914560)===e&&(n=ji+300-fe(),10<n)){if(gt(a,e,ye,!ht),Cn(a,0,!0)!==0)break l;Pe=e,a.timeoutHandle=lr(Sd.bind(null,a,t,ue,Si,Hc,e,ye,Vt,ja,ht,i,"Throttled",-0,0),n);break l}Sd(a,t,ue,Si,Hc,e,ye,Vt,ja,ht,i,null,-0,0)}}break}while(!0);Re(l)}function Sd(l,e,t,a,n,i,c,s,f,x,z,S,g,b){if(l.timeoutHandle=-1,S=e.subtreeFlags,S&8192||(S&16785408)===16785408){S={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Be},xd(e,i,S);var H=(i&62914560)===i?ji-fe():(i&4194048)===i?pd-fe():0;if(H=rh(S,H),H!==null){Pe=i,l.cancelPendingCommit=H(Ud.bind(null,l,e,i,t,a,n,c,s,f,z,S,null,g,b)),gt(l,i,c,!x);return}}Ud(l,e,i,t,a,n,c,s,f)}function Tm(l){for(var e=l;;){var t=e.tag;if((t===0||t===11||t===15)&&e.flags&16384&&(t=e.updateQueue,t!==null&&(t=t.stores,t!==null)))for(var a=0;a<t.length;a++){var n=t[a],i=n.getSnapshot;n=n.value;try{if(!re(i(),n))return!1}catch{return!1}}if(t=e.child,e.subtreeFlags&16384&&t!==null)t.return=e,e=t;else{if(e===l)break;for(;e.sibling===null;){if(e.return===null||e.return===l)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function gt(l,e,t,a){e&=~Cc,e&=~Vt,l.suspendedLanes|=e,l.pingedLanes&=~e,a&&(l.warmLanes|=e),a=l.expirationTimes;for(var n=e;0<n;){var i=31-de(n),c=1<<i;a[i]=-1,n&=~c}t!==0&&Us(l,t,e)}function _i(){return(cl&6)===0?(vn(0),!1):!0}function Yc(){if(ll!==null){if(ol===0)var l=ll.return;else l=ll,Xe=Rt=null,ec(l),ha=null,Wa=0,l=ll;for(;l!==null;)ed(l.alternate,l),l=l.return;ll=null}}function Sa(l,e){var t=l.timeoutHandle;t!==-1&&(l.timeoutHandle=-1,Jm(t)),t=l.cancelPendingCommit,t!==null&&(l.cancelPendingCommit=null,t()),Pe=0,Yc(),bl=l,ll=t=Ge(l.current,null),tl=e,ol=0,xe=null,ht=!1,za=Da(l,e),Dc=!1,ja=ye=Cc=Vt=vt=Ml=0,ue=mn=null,Hc=!1,(e&8)!==0&&(e|=e&32);var a=l.entangledLanes;if(a!==0)for(l=l.entanglements,a&=e;0<a;){var n=31-de(a),i=1<<n;e|=l[n],a&=~i}return Ie=e,kn(),t}function _d(l,e){W=null,p.H=nn,e===ma||e===li?(e=Gf(),ol=3):e===Lu?(e=Gf(),ol=4):ol=e===yc?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,xe=e,ll===null&&(Ml=1,hi(l,je(e,l.current)))}function Ed(){var l=he.current;return l===null?!0:(tl&4194048)===tl?Ee===null:(tl&62914560)===tl||(tl&536870912)!==0?l===Ee:!1}function Ad(){var l=p.H;return p.H=nn,l===null?nn:l}function Td(){var l=p.A;return p.A=Em,l}function Ei(){Ml=4,ht||(tl&4194048)!==tl&&he.current!==null||(za=!0),(vt&134217727)===0&&(Vt&134217727)===0||bl===null||gt(bl,tl,ye,!1)}function Gc(l,e,t){var a=cl;cl|=2;var n=Ad(),i=Td();(bl!==l||tl!==e)&&(Si=null,Sa(l,e)),e=!1;var c=Ml;l:do try{if(ol!==0&&ll!==null){var s=ll,f=xe;switch(ol){case 8:Yc(),c=6;break l;case 3:case 2:case 9:case 6:he.current===null&&(e=!0);var x=ol;if(ol=0,xe=null,_a(l,s,f,x),t&&za){c=0;break l}break;default:x=ol,ol=0,xe=null,_a(l,s,f,x)}}Mm(),c=Ml;break}catch(z){_d(l,z)}while(!0);return e&&l.shellSuspendCounter++,Xe=Rt=null,cl=a,p.H=n,p.A=i,ll===null&&(bl=null,tl=0,kn()),c}function Mm(){for(;ll!==null;)Md(ll)}function wm(l,e){var t=cl;cl|=2;var a=Ad(),n=Td();bl!==l||tl!==e?(Si=null,Ni=fe()+500,Sa(l,e)):za=Da(l,e);l:do try{if(ol!==0&&ll!==null){e=ll;var i=xe;e:switch(ol){case 1:ol=0,xe=null,_a(l,e,i,1);break;case 2:case 9:if(Bf(i)){ol=0,xe=null,wd(e);break}e=function(){ol!==2&&ol!==9||bl!==l||(ol=7),Re(l)},i.then(e,e);break l;case 3:ol=7;break l;case 4:ol=5;break l;case 7:Bf(i)?(ol=0,xe=null,wd(e)):(ol=0,xe=null,_a(l,e,i,7));break;case 5:var c=null;switch(ll.tag){case 26:c=ll.memoizedState;case 5:case 27:var s=ll;if(c?vr(c):s.stateNode.complete){ol=0,xe=null;var f=s.sibling;if(f!==null)ll=f;else{var x=s.return;x!==null?(ll=x,Ai(x)):ll=null}break e}}ol=0,xe=null,_a(l,e,i,5);break;case 6:ol=0,xe=null,_a(l,e,i,6);break;case 8:Yc(),Ml=6;break l;default:throw Error(d(462))}}Om();break}catch(z){_d(l,z)}while(!0);return Xe=Rt=null,p.H=a,p.A=n,cl=t,ll!==null?0:(bl=null,tl=0,kn(),Ml)}function Om(){for(;ll!==null&&!l0();)Md(ll)}function Md(l){var e=Po(l.alternate,l,Ie);l.memoizedProps=l.pendingProps,e===null?Ai(l):ll=e}function wd(l){var e=l,t=e.alternate;switch(e.tag){case 15:case 0:e=Ko(t,e,e.pendingProps,e.type,void 0,tl);break;case 11:e=Ko(t,e,e.pendingProps,e.type.render,e.ref,tl);break;case 5:ec(e);default:ed(t,e),e=ll=Af(e,Ie),e=Po(t,e,Ie)}l.memoizedProps=l.pendingProps,e===null?Ai(l):ll=e}function _a(l,e,t,a){Xe=Rt=null,ec(e),ha=null,Wa=0;var n=e.return;try{if(bm(l,n,e,t,tl)){Ml=1,hi(l,je(t,l.current)),ll=null;return}}catch(i){if(n!==null)throw ll=n,i;Ml=1,hi(l,je(t,l.current)),ll=null;return}e.flags&32768?(nl||a===1?l=!0:za||(tl&536870912)!==0?l=!1:(ht=l=!0,(a===2||a===9||a===3||a===6)&&(a=he.current,a!==null&&a.tag===13&&(a.flags|=16384))),Od(e,l)):Ai(e)}function Ai(l){var e=l;do{if((e.flags&32768)!==0){Od(e,ht);return}l=e.return;var t=jm(e.alternate,e,Ie);if(t!==null){ll=t;return}if(e=e.sibling,e!==null){ll=e;return}ll=e=l}while(e!==null);Ml===0&&(Ml=5)}function Od(l,e){do{var t=Nm(l.alternate,l);if(t!==null){t.flags&=32767,ll=t;return}if(t=l.return,t!==null&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!e&&(l=l.sibling,l!==null)){ll=l;return}ll=l=t}while(l!==null);Ml=6,ll=null}function Ud(l,e,t,a,n,i,c,s,f){l.cancelPendingCommit=null;do Ti();while(Ql!==0);if((cl&6)!==0)throw Error(d(327));if(e!==null){if(e===l.current)throw Error(d(177));if(i=e.lanes|e.childLanes,i|=Tu,o0(l,t,i,c,s,f),l===bl&&(ll=bl=null,tl=0),Na=e,yt=l,Pe=t,Rc=i,qc=n,zd=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,Hm(wn,function(){return qd(),null})):(l.callbackNode=null,l.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=p.T,p.T=null,n=D.p,D.p=2,c=cl,cl|=4;try{Sm(l,e,t)}finally{cl=c,D.p=n,p.T=a}}Ql=1,Dd(),Cd(),Hd()}}function Dd(){if(Ql===1){Ql=0;var l=yt,e=Na,t=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||t){t=p.T,p.T=null;var a=D.p;D.p=2;var n=cl;cl|=4;try{md(e,l);var i=Ic,c=gf(l.containerInfo),s=i.focusedElem,f=i.selectionRange;if(c!==s&&s&&s.ownerDocument&&yf(s.ownerDocument.documentElement,s)){if(f!==null&&Nu(s)){var x=f.start,z=f.end;if(z===void 0&&(z=x),"selectionStart"in s)s.selectionStart=x,s.selectionEnd=Math.min(z,s.value.length);else{var S=s.ownerDocument||document,g=S&&S.defaultView||window;if(g.getSelection){var b=g.getSelection(),H=s.textContent.length,L=Math.min(f.start,H),vl=f.end===void 0?L:Math.min(f.end,H);!b.extend&&L>vl&&(c=vl,vl=L,L=c);var h=xf(s,L),r=xf(s,vl);if(h&&r&&(b.rangeCount!==1||b.anchorNode!==h.node||b.anchorOffset!==h.offset||b.focusNode!==r.node||b.focusOffset!==r.offset)){var v=S.createRange();v.setStart(h.node,h.offset),b.removeAllRanges(),L>vl?(b.addRange(v),b.extend(r.node,r.offset)):(v.setEnd(r.node,r.offset),b.addRange(v))}}}}for(S=[],b=s;b=b.parentNode;)b.nodeType===1&&S.push({element:b,left:b.scrollLeft,top:b.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}}Gi=!!Fc,Ic=Fc=null}finally{cl=n,D.p=a,p.T=t}}l.current=e,Ql=2}}function Cd(){if(Ql===2){Ql=0;var l=yt,e=Na,t=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||t){t=p.T,p.T=null;var a=D.p;D.p=2;var n=cl;cl|=4;try{sd(l,e.alternate,e)}finally{cl=n,D.p=a,p.T=t}}Ql=3}}function Hd(){if(Ql===4||Ql===3){Ql=0,e0();var l=yt,e=Na,t=Pe,a=zd;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Ql=5:(Ql=0,Na=yt=null,Rd(l,l.pendingLanes));var n=l.pendingLanes;if(n===0&&(xt=null),nu(t),e=e.stateNode,oe&&typeof oe.onCommitFiberRoot=="function")try{oe.onCommitFiberRoot(Ua,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=p.T,n=D.p,D.p=2,p.T=null;try{for(var i=l.onRecoverableError,c=0;c<a.length;c++){var s=a[c];i(s.value,{componentStack:s.stack})}}finally{p.T=e,D.p=n}}(Pe&3)!==0&&Ti(),Re(l),n=l.pendingLanes,(t&261930)!==0&&(n&42)!==0?l===Bc?hn++:(hn=0,Bc=l):hn=0,vn(0)}}function Rd(l,e){(l.pooledCacheLanes&=e)===0&&(e=l.pooledCache,e!=null&&(l.pooledCache=null,Ja(e)))}function Ti(){return Dd(),Cd(),Hd(),qd()}function qd(){if(Ql!==5)return!1;var l=yt,e=Rc;Rc=0;var t=nu(Pe),a=p.T,n=D.p;try{D.p=32>t?32:t,p.T=null,t=qc,qc=null;var i=yt,c=Pe;if(Ql=0,Na=yt=null,Pe=0,(cl&6)!==0)throw Error(d(331));var s=cl;if(cl|=4,gd(i.current),vd(i,i.current,c,t),cl=s,vn(0,!1),oe&&typeof oe.onPostCommitFiberRoot=="function")try{oe.onPostCommitFiberRoot(Ua,i)}catch{}return!0}finally{D.p=n,p.T=a,Rd(l,e)}}function Bd(l,e,t){e=je(t,e),e=xc(l.stateNode,e,2),l=ot(l,e,2),l!==null&&(Ca(l,2),Re(l))}function dl(l,e,t){if(l.tag===3)Bd(l,l,t);else for(;e!==null;){if(e.tag===3){Bd(e,l,t);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(xt===null||!xt.has(a))){l=je(t,l),t=Yo(2),a=ot(e,t,2),a!==null&&(Go(t,a,e,l),Ca(a,2),Re(a));break}}e=e.return}}function Qc(l,e,t){var a=l.pingCache;if(a===null){a=l.pingCache=new Am;var n=new Set;a.set(e,n)}else n=a.get(e),n===void 0&&(n=new Set,a.set(e,n));n.has(t)||(Dc=!0,n.add(t),l=Um.bind(null,l,e,t),e.then(l,l))}function Um(l,e,t){var a=l.pingCache;a!==null&&a.delete(e),l.pingedLanes|=l.suspendedLanes&t,l.warmLanes&=~t,bl===l&&(tl&t)===t&&(Ml===4||Ml===3&&(tl&62914560)===tl&&300>fe()-ji?(cl&2)===0&&Sa(l,0):Cc|=t,ja===tl&&(ja=0)),Re(l)}function Yd(l,e){e===0&&(e=Os()),l=Dt(l,e),l!==null&&(Ca(l,e),Re(l))}function Dm(l){var e=l.memoizedState,t=0;e!==null&&(t=e.retryLane),Yd(l,t)}function Cm(l,e){var t=0;switch(l.tag){case 31:case 13:var a=l.stateNode,n=l.memoizedState;n!==null&&(t=n.retryLane);break;case 19:a=l.stateNode;break;case 22:a=l.stateNode._retryCache;break;default:throw Error(d(314))}a!==null&&a.delete(e),Yd(l,t)}function Hm(l,e){return lu(l,e)}var Mi=null,Ea=null,Xc=!1,wi=!1,Lc=!1,bt=0;function Re(l){l!==Ea&&l.next===null&&(Ea===null?Mi=Ea=l:Ea=Ea.next=l),wi=!0,Xc||(Xc=!0,qm())}function vn(l,e){if(!Lc&&wi){Lc=!0;do for(var t=!1,a=Mi;a!==null;){if(l!==0){var n=a.pendingLanes;if(n===0)var i=0;else{var c=a.suspendedLanes,s=a.pingedLanes;i=(1<<31-de(42|l)+1)-1,i&=n&~(c&~s),i=i&201326741?i&201326741|1:i?i|2:0}i!==0&&(t=!0,Ld(a,i))}else i=tl,i=Cn(a,a===bl?i:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(i&3)===0||Da(a,i)||(t=!0,Ld(a,i));a=a.next}while(t);Lc=!1}}function Rm(){Gd()}function Gd(){wi=Xc=!1;var l=0;bt!==0&&Km()&&(l=bt);for(var e=fe(),t=null,a=Mi;a!==null;){var n=a.next,i=Qd(a,e);i===0?(a.next=null,t===null?Mi=n:t.next=n,n===null&&(Ea=t)):(t=a,(l!==0||(i&3)!==0)&&(wi=!0)),a=n}Ql!==0&&Ql!==5||vn(l),bt!==0&&(bt=0)}function Qd(l,e){for(var t=l.suspendedLanes,a=l.pingedLanes,n=l.expirationTimes,i=l.pendingLanes&-62914561;0<i;){var c=31-de(i),s=1<<c,f=n[c];f===-1?((s&t)===0||(s&a)!==0)&&(n[c]=f0(s,e)):f<=e&&(l.expiredLanes|=s),i&=~s}if(e=bl,t=tl,t=Cn(l,l===e?t:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a=l.callbackNode,t===0||l===e&&(ol===2||ol===9)||l.cancelPendingCommit!==null)return a!==null&&a!==null&&eu(a),l.callbackNode=null,l.callbackPriority=0;if((t&3)===0||Da(l,t)){if(e=t&-t,e===l.callbackPriority)return e;switch(a!==null&&eu(a),nu(t)){case 2:case 8:t=Ms;break;case 32:t=wn;break;case 268435456:t=ws;break;default:t=wn}return a=Xd.bind(null,l),t=lu(t,a),l.callbackPriority=e,l.callbackNode=t,e}return a!==null&&a!==null&&eu(a),l.callbackPriority=2,l.callbackNode=null,2}function Xd(l,e){if(Ql!==0&&Ql!==5)return l.callbackNode=null,l.callbackPriority=0,null;var t=l.callbackNode;if(Ti()&&l.callbackNode!==t)return null;var a=tl;return a=Cn(l,l===bl?a:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),a===0?null:(Nd(l,a,e),Qd(l,fe()),l.callbackNode!=null&&l.callbackNode===t?Xd.bind(null,l):null)}function Ld(l,e){if(Ti())return null;Nd(l,e,!0)}function qm(){$m(function(){(cl&6)!==0?lu(Ts,Rm):Gd()})}function Zc(){if(bt===0){var l=da;l===0&&(l=On,On<<=1,(On&261888)===0&&(On=256)),bt=l}return bt}function Zd(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:Bn(""+l)}function Vd(l,e){var t=e.ownerDocument.createElement("input");return t.name=e.name,t.value=e.value,l.id&&t.setAttribute("form",l.id),e.parentNode.insertBefore(t,e),l=new FormData(l),t.parentNode.removeChild(t),l}function Bm(l,e,t,a,n){if(e==="submit"&&t&&t.stateNode===n){var i=Zd((n[ee]||null).action),c=a.submitter;c&&(e=(e=c[ee]||null)?Zd(e.formAction):c.getAttribute("formAction"),e!==null&&(i=e,c=null));var s=new Xn("action","action",null,a,n);l.push({event:s,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(bt!==0){var f=c?Vd(n,c):new FormData(n);oc(t,{pending:!0,data:f,method:n.method,action:i},null,f)}}else typeof i=="function"&&(s.preventDefault(),f=c?Vd(n,c):new FormData(n),oc(t,{pending:!0,data:f,method:n.method,action:i},i,f))},currentTarget:n}]})}}for(var Vc=0;Vc<Au.length;Vc++){var kc=Au[Vc],Ym=kc.toLowerCase(),Gm=kc[0].toUpperCase()+kc.slice(1);Me(Ym,"on"+Gm)}Me(zf,"onAnimationEnd"),Me(jf,"onAnimationIteration"),Me(Nf,"onAnimationStart"),Me("dblclick","onDoubleClick"),Me("focusin","onFocus"),Me("focusout","onBlur"),Me(tm,"onTransitionRun"),Me(am,"onTransitionStart"),Me(nm,"onTransitionCancel"),Me(Sf,"onTransitionEnd"),Ft("onMouseEnter",["mouseout","mouseover"]),Ft("onMouseLeave",["mouseout","mouseover"]),Ft("onPointerEnter",["pointerout","pointerover"]),Ft("onPointerLeave",["pointerout","pointerover"]),Mt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Mt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Mt("onBeforeInput",["compositionend","keypress","textInput","paste"]),Mt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Mt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Mt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xn="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(" "),Qm=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(xn));function kd(l,e){e=(e&4)!==0;for(var t=0;t<l.length;t++){var a=l[t],n=a.event;a=a.listeners;l:{var i=void 0;if(e)for(var c=a.length-1;0<=c;c--){var s=a[c],f=s.instance,x=s.currentTarget;if(s=s.listener,f!==i&&n.isPropagationStopped())break l;i=s,n.currentTarget=x;try{i(n)}catch(z){Vn(z)}n.currentTarget=null,i=f}else for(c=0;c<a.length;c++){if(s=a[c],f=s.instance,x=s.currentTarget,s=s.listener,f!==i&&n.isPropagationStopped())break l;i=s,n.currentTarget=x;try{i(n)}catch(z){Vn(z)}n.currentTarget=null,i=f}}}}function el(l,e){var t=e[iu];t===void 0&&(t=e[iu]=new Set);var a=l+"__bubble";t.has(a)||(Kd(e,l,2,!1),t.add(a))}function Kc(l,e,t){var a=0;e&&(a|=4),Kd(t,l,a,e)}var Oi="_reactListening"+Math.random().toString(36).slice(2);function Jc(l){if(!l[Oi]){l[Oi]=!0,Bs.forEach(function(t){t!=="selectionchange"&&(Qm.has(t)||Kc(t,!1,l),Kc(t,!0,l))});var e=l.nodeType===9?l:l.ownerDocument;e===null||e[Oi]||(e[Oi]=!0,Kc("selectionchange",!1,e))}}function Kd(l,e,t,a){switch(jr(e)){case 2:var n=vh;break;case 8:n=xh;break;default:n=fs}t=n.bind(null,e,t,l),n=void 0,!hu||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(n=!0),a?n!==void 0?l.addEventListener(e,t,{capture:!0,passive:n}):l.addEventListener(e,t,!0):n!==void 0?l.addEventListener(e,t,{passive:n}):l.addEventListener(e,t,!1)}function $c(l,e,t,a,n){var i=a;if((e&1)===0&&(e&2)===0&&a!==null)l: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=Jt(s),c===null)return;if(f=c.tag,f===5||f===6||f===26||f===27){a=i=c;continue l}s=s.parentNode}}a=a.return}Ws(function(){var x=i,z=ru(t),S=[];l:{var g=_f.get(l);if(g!==void 0){var b=Xn,H=l;switch(l){case"keypress":if(Gn(t)===0)break l;case"keydown":case"keyup":b=C0;break;case"focusin":H="focus",b=gu;break;case"focusout":H="blur",b=gu;break;case"beforeblur":case"afterblur":b=gu;break;case"click":if(t.button===2)break l;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":b=Ps;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=j0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=q0;break;case zf:case jf:case Nf:b=_0;break;case Sf:b=Y0;break;case"scroll":case"scrollend":b=p0;break;case"wheel":b=Q0;break;case"copy":case"cut":case"paste":b=A0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=ef;break;case"toggle":case"beforetoggle":b=L0}var L=(e&4)!==0,vl=!L&&(l==="scroll"||l==="scrollend"),h=L?g!==null?g+"Capture":null:g;L=[];for(var r=x,v;r!==null;){var N=r;if(v=N.stateNode,N=N.tag,N!==5&&N!==26&&N!==27||v===null||h===null||(N=qa(r,h),N!=null&&L.push(yn(r,N,v))),vl)break;r=r.return}0<L.length&&(g=new b(g,H,null,t,z),S.push({event:g,listeners:L}))}}if((e&7)===0){l:{if(g=l==="mouseover"||l==="pointerover",b=l==="mouseout"||l==="pointerout",g&&t!==du&&(H=t.relatedTarget||t.fromElement)&&(Jt(H)||H[Kt]))break l;if((b||g)&&(g=z.window===z?z:(g=z.ownerDocument)?g.defaultView||g.parentWindow:window,b?(H=t.relatedTarget||t.toElement,b=x,H=H?Jt(H):null,H!==null&&(vl=w(H),L=H.tag,H!==vl||L!==5&&L!==27&&L!==6)&&(H=null)):(b=null,H=x),b!==H)){if(L=Ps,N="onMouseLeave",h="onMouseEnter",r="mouse",(l==="pointerout"||l==="pointerover")&&(L=ef,N="onPointerLeave",h="onPointerEnter",r="pointer"),vl=b==null?g:Ra(b),v=H==null?g:Ra(H),g=new L(N,r+"leave",b,t,z),g.target=vl,g.relatedTarget=v,N=null,Jt(z)===x&&(L=new L(h,r+"enter",H,t,z),L.target=v,L.relatedTarget=vl,N=L),vl=N,b&&H)e:{for(L=Xm,h=b,r=H,v=0,N=h;N;N=L(N))v++;N=0;for(var Q=r;Q;Q=L(Q))N++;for(;0<v-N;)h=L(h),v--;for(;0<N-v;)r=L(r),N--;for(;v--;){if(h===r||r!==null&&h===r.alternate){L=h;break e}h=L(h),r=L(r)}L=null}else L=null;b!==null&&Jd(S,g,b,L,!1),H!==null&&vl!==null&&Jd(S,vl,H,L,!0)}}l:{if(g=x?Ra(x):window,b=g.nodeName&&g.nodeName.toLowerCase(),b==="select"||b==="input"&&g.type==="file")var il=of;else if(sf(g))if(df)il=P0;else{il=F0;var q=W0}else b=g.nodeName,!b||b.toLowerCase()!=="input"||g.type!=="checkbox"&&g.type!=="radio"?x&&ou(x.elementType)&&(il=of):il=I0;if(il&&(il=il(l,x))){ff(S,il,t,z);break l}q&&q(l,g,x),l==="focusout"&&x&&g.type==="number"&&x.memoizedProps.value!=null&&fu(g,"number",g.value)}switch(q=x?Ra(x):window,l){case"focusin":(sf(q)||q.contentEditable==="true")&&(aa=q,Su=x,Va=null);break;case"focusout":Va=Su=aa=null;break;case"mousedown":_u=!0;break;case"contextmenu":case"mouseup":case"dragend":_u=!1,bf(S,t,z);break;case"selectionchange":if(em)break;case"keydown":case"keyup":bf(S,t,z)}var F;if(pu)l:{switch(l){case"compositionstart":var al="onCompositionStart";break l;case"compositionend":al="onCompositionEnd";break l;case"compositionupdate":al="onCompositionUpdate";break l}al=void 0}else ta?uf(l,t)&&(al="onCompositionEnd"):l==="keydown"&&t.keyCode===229&&(al="onCompositionStart");al&&(tf&&t.locale!=="ko"&&(ta||al!=="onCompositionStart"?al==="onCompositionEnd"&&ta&&(F=Fs()):(at=z,vu="value"in at?at.value:at.textContent,ta=!0)),q=Ui(x,al),0<q.length&&(al=new lf(al,l,null,t,z),S.push({event:al,listeners:q}),F?al.data=F:(F=cf(t),F!==null&&(al.data=F)))),(F=V0?k0(l,t):K0(l,t))&&(al=Ui(x,"onBeforeInput"),0<al.length&&(q=new lf("onBeforeInput","beforeinput",null,t,z),S.push({event:q,listeners:al}),q.data=F)),Bm(S,l,x,t,z)}kd(S,e)})}function yn(l,e,t){return{instance:l,listener:e,currentTarget:t}}function Ui(l,e){for(var t=e+"Capture",a=[];l!==null;){var n=l,i=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||i===null||(n=qa(l,t),n!=null&&a.unshift(yn(l,n,i)),n=qa(l,e),n!=null&&a.push(yn(l,n,i))),l.tag===3)return a;l=l.return}return[]}function Xm(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function Jd(l,e,t,a,n){for(var i=e._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=qa(t,i),x!=null&&c.unshift(yn(t,x,f))):n||(x=qa(t,i),x!=null&&c.push(yn(t,x,f)))),t=t.return}c.length!==0&&l.push({event:e,listeners:c})}var Lm=/\r\n?/g,Zm=/\u0000|\uFFFD/g;function $d(l){return(typeof l=="string"?l:""+l).replace(Lm,`
|
||
`).replace(Zm,"")}function Wd(l,e){return e=$d(e),$d(l)===e}function hl(l,e,t,a,n,i){switch(t){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||Pt(l,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&Pt(l,""+a);break;case"className":Rn(l,"class",a);break;case"tabIndex":Rn(l,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Rn(l,t,a);break;case"style":Js(l,a,i);break;case"data":if(e!=="object"){Rn(l,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||t!=="href")){l.removeAttribute(t);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(t);break}a=Bn(""+a),l.setAttribute(t,a);break;case"action":case"formAction":if(typeof a=="function"){l.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 i=="function"&&(t==="formAction"?(e!=="input"&&hl(l,e,"name",n.name,n,null),hl(l,e,"formEncType",n.formEncType,n,null),hl(l,e,"formMethod",n.formMethod,n,null),hl(l,e,"formTarget",n.formTarget,n,null)):(hl(l,e,"encType",n.encType,n,null),hl(l,e,"method",n.method,n,null),hl(l,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){l.removeAttribute(t);break}a=Bn(""+a),l.setAttribute(t,a);break;case"onClick":a!=null&&(l.onclick=Be);break;case"onScroll":a!=null&&el("scroll",l);break;case"onScrollEnd":a!=null&&el("scrollend",l);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(d(61));if(t=a.__html,t!=null){if(n.children!=null)throw Error(d(60));l.innerHTML=t}}break;case"multiple":l.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":l.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){l.removeAttribute("xlink:href");break}t=Bn(""+a),l.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"?l.setAttribute(t,""+a):l.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"?l.setAttribute(t,""):l.removeAttribute(t);break;case"capture":case"download":a===!0?l.setAttribute(t,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?l.setAttribute(t,a):l.removeAttribute(t);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?l.setAttribute(t,a):l.removeAttribute(t);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?l.removeAttribute(t):l.setAttribute(t,a);break;case"popover":el("beforetoggle",l),el("toggle",l),Hn(l,"popover",a);break;case"xlinkActuate":qe(l,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":qe(l,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":qe(l,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":qe(l,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":qe(l,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":qe(l,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":qe(l,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":qe(l,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":qe(l,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Hn(l,"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=g0.get(t)||t,Hn(l,t,a))}}function Wc(l,e,t,a,n,i){switch(t){case"style":Js(l,a,i);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(d(61));if(t=a.__html,t!=null){if(n.children!=null)throw Error(d(60));l.innerHTML=t}}break;case"children":typeof a=="string"?Pt(l,a):(typeof a=="number"||typeof a=="bigint")&&Pt(l,""+a);break;case"onScroll":a!=null&&el("scroll",l);break;case"onScrollEnd":a!=null&&el("scrollend",l);break;case"onClick":a!=null&&(l.onclick=Be);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Ys.hasOwnProperty(t))l:{if(t[0]==="o"&&t[1]==="n"&&(n=t.endsWith("Capture"),e=t.slice(2,n?t.length-7:void 0),i=l[ee]||null,i=i!=null?i[t]:null,typeof i=="function"&&l.removeEventListener(e,i,n),typeof a=="function")){typeof i!="function"&&i!==null&&(t in l?l[t]=null:l.hasAttribute(t)&&l.removeAttribute(t)),l.addEventListener(e,a,n);break l}t in l?l[t]=a:a===!0?l.setAttribute(t,""):Hn(l,t,a)}}}function Jl(l,e,t){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":el("error",l),el("load",l);var a=!1,n=!1,i;for(i in t)if(t.hasOwnProperty(i)){var c=t[i];if(c!=null)switch(i){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(d(137,e));default:hl(l,e,i,c,t,null)}}n&&hl(l,e,"srcSet",t.srcSet,t,null),a&&hl(l,e,"src",t.src,t,null);return;case"input":el("invalid",l);var s=i=c=n=null,f=null,x=null;for(a in t)if(t.hasOwnProperty(a)){var z=t[a];if(z!=null)switch(a){case"name":n=z;break;case"type":c=z;break;case"checked":f=z;break;case"defaultChecked":x=z;break;case"value":i=z;break;case"defaultValue":s=z;break;case"children":case"dangerouslySetInnerHTML":if(z!=null)throw Error(d(137,e));break;default:hl(l,e,a,z,t,null)}}Zs(l,i,s,f,x,c,n,!1);return;case"select":el("invalid",l),a=c=i=null;for(n in t)if(t.hasOwnProperty(n)&&(s=t[n],s!=null))switch(n){case"value":i=s;break;case"defaultValue":c=s;break;case"multiple":a=s;default:hl(l,e,n,s,t,null)}e=i,t=c,l.multiple=!!a,e!=null?It(l,!!a,e,!1):t!=null&&It(l,!!a,t,!0);return;case"textarea":el("invalid",l),i=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":i=s;break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(d(91));break;default:hl(l,e,c,s,t,null)}ks(l,a,n,i);return;case"option":for(f in t)if(t.hasOwnProperty(f)&&(a=t[f],a!=null))switch(f){case"selected":l.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:hl(l,e,f,a,t,null)}return;case"dialog":el("beforetoggle",l),el("toggle",l),el("cancel",l),el("close",l);break;case"iframe":case"object":el("load",l);break;case"video":case"audio":for(a=0;a<xn.length;a++)el(xn[a],l);break;case"image":el("error",l),el("load",l);break;case"details":el("toggle",l);break;case"embed":case"source":case"link":el("error",l),el("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(x in t)if(t.hasOwnProperty(x)&&(a=t[x],a!=null))switch(x){case"children":case"dangerouslySetInnerHTML":throw Error(d(137,e));default:hl(l,e,x,a,t,null)}return;default:if(ou(e)){for(z in t)t.hasOwnProperty(z)&&(a=t[z],a!==void 0&&Wc(l,e,z,a,t,void 0));return}}for(s in t)t.hasOwnProperty(s)&&(a=t[s],a!=null&&hl(l,e,s,a,t,null))}function Vm(l,e,t,a){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,i=null,c=null,s=null,f=null,x=null,z=null;for(b in t){var S=t[b];if(t.hasOwnProperty(b)&&S!=null)switch(b){case"checked":break;case"value":break;case"defaultValue":f=S;default:a.hasOwnProperty(b)||hl(l,e,b,null,a,S)}}for(var g in a){var b=a[g];if(S=t[g],a.hasOwnProperty(g)&&(b!=null||S!=null))switch(g){case"type":i=b;break;case"name":n=b;break;case"checked":x=b;break;case"defaultChecked":z=b;break;case"value":c=b;break;case"defaultValue":s=b;break;case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(d(137,e));break;default:b!==S&&hl(l,e,g,b,a,S)}}su(l,c,s,f,x,z,i,n);return;case"select":b=c=s=g=null;for(i in t)if(f=t[i],t.hasOwnProperty(i)&&f!=null)switch(i){case"value":break;case"multiple":b=f;default:a.hasOwnProperty(i)||hl(l,e,i,null,a,f)}for(n in a)if(i=a[n],f=t[n],a.hasOwnProperty(n)&&(i!=null||f!=null))switch(n){case"value":g=i;break;case"defaultValue":s=i;break;case"multiple":c=i;default:i!==f&&hl(l,e,n,i,a,f)}e=s,t=c,a=b,g!=null?It(l,!!t,g,!1):!!a!=!!t&&(e!=null?It(l,!!t,e,!0):It(l,!!t,t?[]:"",!1));return;case"textarea":b=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:hl(l,e,s,null,a,n)}for(c in a)if(n=a[c],i=t[c],a.hasOwnProperty(c)&&(n!=null||i!=null))switch(c){case"value":g=n;break;case"defaultValue":b=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(d(91));break;default:n!==i&&hl(l,e,c,n,a,i)}Vs(l,g,b);return;case"option":for(var H in t)if(g=t[H],t.hasOwnProperty(H)&&g!=null&&!a.hasOwnProperty(H))switch(H){case"selected":l.selected=!1;break;default:hl(l,e,H,null,a,g)}for(f in a)if(g=a[f],b=t[f],a.hasOwnProperty(f)&&g!==b&&(g!=null||b!=null))switch(f){case"selected":l.selected=g&&typeof g!="function"&&typeof g!="symbol";break;default:hl(l,e,f,g,a,b)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var L in t)g=t[L],t.hasOwnProperty(L)&&g!=null&&!a.hasOwnProperty(L)&&hl(l,e,L,null,a,g);for(x in a)if(g=a[x],b=t[x],a.hasOwnProperty(x)&&g!==b&&(g!=null||b!=null))switch(x){case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(d(137,e));break;default:hl(l,e,x,g,a,b)}return;default:if(ou(e)){for(var vl in t)g=t[vl],t.hasOwnProperty(vl)&&g!==void 0&&!a.hasOwnProperty(vl)&&Wc(l,e,vl,void 0,a,g);for(z in a)g=a[z],b=t[z],!a.hasOwnProperty(z)||g===b||g===void 0&&b===void 0||Wc(l,e,z,g,a,b);return}}for(var h in t)g=t[h],t.hasOwnProperty(h)&&g!=null&&!a.hasOwnProperty(h)&&hl(l,e,h,null,a,g);for(S in a)g=a[S],b=t[S],!a.hasOwnProperty(S)||g===b||g==null&&b==null||hl(l,e,S,g,a,b)}function Fd(l){switch(l){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function km(){if(typeof performance.getEntriesByType=="function"){for(var l=0,e=0,t=performance.getEntriesByType("resource"),a=0;a<t.length;a++){var n=t[a],i=n.transferSize,c=n.initiatorType,s=n.duration;if(i&&s&&Fd(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 z=f.transferSize,S=f.initiatorType;z&&Fd(S)&&(f=f.responseEnd,c+=z*(f<s?1:(s-x)/(f-x)))}if(--a,e+=8*(i+c)/(n.duration/1e3),l++,10<l)break}}if(0<l)return e/l/1e6}return navigator.connection&&(l=navigator.connection.downlink,typeof l=="number")?l:5}var Fc=null,Ic=null;function Di(l){return l.nodeType===9?l:l.ownerDocument}function Id(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Pd(l,e){if(l===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&e==="foreignObject"?0:l}function Pc(l,e){return l==="textarea"||l==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.children=="bigint"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var ls=null;function Km(){var l=window.event;return l&&l.type==="popstate"?l===ls?!1:(ls=l,!0):(ls=null,!1)}var lr=typeof setTimeout=="function"?setTimeout:void 0,Jm=typeof clearTimeout=="function"?clearTimeout:void 0,er=typeof Promise=="function"?Promise:void 0,$m=typeof queueMicrotask=="function"?queueMicrotask:typeof er<"u"?function(l){return er.resolve(null).then(l).catch(Wm)}:lr;function Wm(l){setTimeout(function(){throw l})}function pt(l){return l==="head"}function tr(l,e){var t=e,a=0;do{var n=t.nextSibling;if(l.removeChild(t),n&&n.nodeType===8)if(t=n.data,t==="/$"||t==="/&"){if(a===0){l.removeChild(n),wa(e);return}a--}else if(t==="$"||t==="$?"||t==="$~"||t==="$!"||t==="&")a++;else if(t==="html")gn(l.ownerDocument.documentElement);else if(t==="head"){t=l.ownerDocument.head,gn(t);for(var i=t.firstChild;i;){var c=i.nextSibling,s=i.nodeName;i[Ha]||s==="SCRIPT"||s==="STYLE"||s==="LINK"&&i.rel.toLowerCase()==="stylesheet"||t.removeChild(i),i=c}}else t==="body"&&gn(l.ownerDocument.body);t=n}while(t);wa(e)}function ar(l,e){var t=l;l=0;do{var a=t.nextSibling;if(t.nodeType===1?e?(t._stashedDisplay=t.style.display,t.style.display="none"):(t.style.display=t._stashedDisplay||"",t.getAttribute("style")===""&&t.removeAttribute("style")):t.nodeType===3&&(e?(t._stashedText=t.nodeValue,t.nodeValue=""):t.nodeValue=t._stashedText||""),a&&a.nodeType===8)if(t=a.data,t==="/$"){if(l===0)break;l--}else t!=="$"&&t!=="$?"&&t!=="$~"&&t!=="$!"||l++;t=a}while(t)}function es(l){var e=l.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var t=e;switch(e=e.nextSibling,t.nodeName){case"HTML":case"HEAD":case"BODY":es(t),uu(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(t.rel.toLowerCase()==="stylesheet")continue}l.removeChild(t)}}function Fm(l,e,t,a){for(;l.nodeType===1;){var n=t;if(l.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(a){if(!l[Ha])switch(e){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(i=l.getAttribute("rel"),i==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(i!==n.rel||l.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||l.getAttribute("title")!==(n.title==null?null:n.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(i=l.getAttribute("src"),(i!==(n.src==null?null:n.src)||l.getAttribute("type")!==(n.type==null?null:n.type)||l.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&i&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(e==="input"&&l.type==="hidden"){var i=n.name==null?null:""+n.name;if(n.type==="hidden"&&l.getAttribute("name")===i)return l}else return l;if(l=Ae(l.nextSibling),l===null)break}return null}function Im(l,e,t){if(e==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!t||(l=Ae(l.nextSibling),l===null))return null;return l}function nr(l,e){for(;l.nodeType!==8;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!e||(l=Ae(l.nextSibling),l===null))return null;return l}function ts(l){return l.data==="$?"||l.data==="$~"}function as(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState!=="loading"}function Pm(l,e){var t=l.ownerDocument;if(l.data==="$~")l._reactRetry=e;else if(l.data!=="$?"||t.readyState!=="loading")e();else{var a=function(){e(),t.removeEventListener("DOMContentLoaded",a)};t.addEventListener("DOMContentLoaded",a),l._reactRetry=a}}function Ae(l){for(;l!=null;l=l.nextSibling){var e=l.nodeType;if(e===1||e===3)break;if(e===8){if(e=l.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return l}var ns=null;function ir(l){l=l.nextSibling;for(var e=0;l;){if(l.nodeType===8){var t=l.data;if(t==="/$"||t==="/&"){if(e===0)return Ae(l.nextSibling);e--}else t!=="$"&&t!=="$!"&&t!=="$?"&&t!=="$~"&&t!=="&"||e++}l=l.nextSibling}return null}function ur(l){l=l.previousSibling;for(var e=0;l;){if(l.nodeType===8){var t=l.data;if(t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"){if(e===0)return l;e--}else t!=="/$"&&t!=="/&"||e++}l=l.previousSibling}return null}function cr(l,e,t){switch(e=Di(t),l){case"html":if(l=e.documentElement,!l)throw Error(d(452));return l;case"head":if(l=e.head,!l)throw Error(d(453));return l;case"body":if(l=e.body,!l)throw Error(d(454));return l;default:throw Error(d(451))}}function gn(l){for(var e=l.attributes;e.length;)l.removeAttributeNode(e[0]);uu(l)}var Te=new Map,sr=new Set;function Ci(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var lt=D.d;D.d={f:lh,r:eh,D:th,C:ah,L:nh,m:ih,X:ch,S:uh,M:sh};function lh(){var l=lt.f(),e=_i();return l||e}function eh(l){var e=$t(l);e!==null&&e.tag===5&&e.type==="form"?_o(e):lt.r(l)}var Aa=typeof document>"u"?null:document;function fr(l,e,t){var a=Aa;if(a&&typeof e=="string"&&e){var n=pe(e);n='link[rel="'+l+'"][href="'+n+'"]',typeof t=="string"&&(n+='[crossorigin="'+t+'"]'),sr.has(n)||(sr.add(n),l={rel:l,crossOrigin:t,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),Jl(e,"link",l),Xl(e),a.head.appendChild(e)))}}function th(l){lt.D(l),fr("dns-prefetch",l,null)}function ah(l,e){lt.C(l,e),fr("preconnect",l,e)}function nh(l,e,t){lt.L(l,e,t);var a=Aa;if(a&&l&&e){var n='link[rel="preload"][as="'+pe(e)+'"]';e==="image"&&t&&t.imageSrcSet?(n+='[imagesrcset="'+pe(t.imageSrcSet)+'"]',typeof t.imageSizes=="string"&&(n+='[imagesizes="'+pe(t.imageSizes)+'"]')):n+='[href="'+pe(l)+'"]';var i=n;switch(e){case"style":i=Ta(l);break;case"script":i=Ma(l)}Te.has(i)||(l=U({rel:"preload",href:e==="image"&&t&&t.imageSrcSet?void 0:l,as:e},t),Te.set(i,l),a.querySelector(n)!==null||e==="style"&&a.querySelector(bn(i))||e==="script"&&a.querySelector(pn(i))||(e=a.createElement("link"),Jl(e,"link",l),Xl(e),a.head.appendChild(e)))}}function ih(l,e){lt.m(l,e);var t=Aa;if(t&&l){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+pe(a)+'"][href="'+pe(l)+'"]',i=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Ma(l)}if(!Te.has(i)&&(l=U({rel:"modulepreload",href:l},e),Te.set(i,l),t.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(pn(i)))return}a=t.createElement("link"),Jl(a,"link",l),Xl(a),t.head.appendChild(a)}}}function uh(l,e,t){lt.S(l,e,t);var a=Aa;if(a&&l){var n=Wt(a).hoistableStyles,i=Ta(l);e=e||"default";var c=n.get(i);if(!c){var s={loading:0,preload:null};if(c=a.querySelector(bn(i)))s.loading=5;else{l=U({rel:"stylesheet",href:l,"data-precedence":e},t),(t=Te.get(i))&&is(l,t);var f=c=a.createElement("link");Xl(f),Jl(f,"link",l),f._p=new Promise(function(x,z){f.onload=x,f.onerror=z}),f.addEventListener("load",function(){s.loading|=1}),f.addEventListener("error",function(){s.loading|=2}),s.loading|=4,Hi(c,e,a)}c={type:"stylesheet",instance:c,count:1,state:s},n.set(i,c)}}}function ch(l,e){lt.X(l,e);var t=Aa;if(t&&l){var a=Wt(t).hoistableScripts,n=Ma(l),i=a.get(n);i||(i=t.querySelector(pn(n)),i||(l=U({src:l,async:!0},e),(e=Te.get(n))&&us(l,e),i=t.createElement("script"),Xl(i),Jl(i,"link",l),t.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}}function sh(l,e){lt.M(l,e);var t=Aa;if(t&&l){var a=Wt(t).hoistableScripts,n=Ma(l),i=a.get(n);i||(i=t.querySelector(pn(n)),i||(l=U({src:l,async:!0,type:"module"},e),(e=Te.get(n))&&us(l,e),i=t.createElement("script"),Xl(i),Jl(i,"link",l),t.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}}function or(l,e,t,a){var n=(n=P.current)?Ci(n):null;if(!n)throw Error(d(446));switch(l){case"meta":case"title":return null;case"style":return typeof t.precedence=="string"&&typeof t.href=="string"?(e=Ta(t.href),t=Wt(n).hoistableStyles,a=t.get(e),a||(a={type:"style",instance:null,count:0,state:null},t.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(t.rel==="stylesheet"&&typeof t.href=="string"&&typeof t.precedence=="string"){l=Ta(t.href);var i=Wt(n).hoistableStyles,c=i.get(l);if(c||(n=n.ownerDocument||n,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(l,c),(i=n.querySelector(bn(l)))&&!i._p&&(c.instance=i,c.state.loading=5),Te.has(l)||(t={rel:"preload",as:"style",href:t.href,crossOrigin:t.crossOrigin,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy},Te.set(l,t),i||fh(n,l,t,c.state))),e&&a===null)throw Error(d(528,""));return c}if(e&&a!==null)throw Error(d(529,""));return null;case"script":return e=t.async,t=t.src,typeof t=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=Ma(t),t=Wt(n).hoistableScripts,a=t.get(e),a||(a={type:"script",instance:null,count:0,state:null},t.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(d(444,l))}}function Ta(l){return'href="'+pe(l)+'"'}function bn(l){return'link[rel="stylesheet"]['+l+"]"}function dr(l){return U({},l,{"data-precedence":l.precedence,precedence:null})}function fh(l,e,t,a){l.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=l.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),Jl(e,"link",t),Xl(e),l.head.appendChild(e))}function Ma(l){return'[src="'+pe(l)+'"]'}function pn(l){return"script[async]"+l}function rr(l,e,t){if(e.count++,e.instance===null)switch(e.type){case"style":var a=l.querySelector('style[data-href~="'+pe(t.href)+'"]');if(a)return e.instance=a,Xl(a),a;var n=U({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return a=(l.ownerDocument||l).createElement("style"),Xl(a),Jl(a,"style",n),Hi(a,t.precedence,l),e.instance=a;case"stylesheet":n=Ta(t.href);var i=l.querySelector(bn(n));if(i)return e.state.loading|=4,e.instance=i,Xl(i),i;a=dr(t),(n=Te.get(n))&&is(a,n),i=(l.ownerDocument||l).createElement("link"),Xl(i);var c=i;return c._p=new Promise(function(s,f){c.onload=s,c.onerror=f}),Jl(i,"link",a),e.state.loading|=4,Hi(i,t.precedence,l),e.instance=i;case"script":return i=Ma(t.src),(n=l.querySelector(pn(i)))?(e.instance=n,Xl(n),n):(a=t,(n=Te.get(i))&&(a=U({},t),us(a,n)),l=l.ownerDocument||l,n=l.createElement("script"),Xl(n),Jl(n,"link",a),l.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(d(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,Hi(a,t.precedence,l));return e.instance}function Hi(l,e,t){for(var a=t.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,i=n,c=0;c<a.length;c++){var s=a[c];if(s.dataset.precedence===e)i=s;else if(i!==n)break}i?i.parentNode.insertBefore(l,i.nextSibling):(e=t.nodeType===9?t.head:t,e.insertBefore(l,e.firstChild))}function is(l,e){l.crossOrigin==null&&(l.crossOrigin=e.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=e.referrerPolicy),l.title==null&&(l.title=e.title)}function us(l,e){l.crossOrigin==null&&(l.crossOrigin=e.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=e.referrerPolicy),l.integrity==null&&(l.integrity=e.integrity)}var Ri=null;function mr(l,e,t){if(Ri===null){var a=new Map,n=Ri=new Map;n.set(t,a)}else n=Ri,a=n.get(t),a||(a=new Map,n.set(t,a));if(a.has(l))return a;for(a.set(l,null),t=t.getElementsByTagName(l),n=0;n<t.length;n++){var i=t[n];if(!(i[Ha]||i[Zl]||l==="link"&&i.getAttribute("rel")==="stylesheet")&&i.namespaceURI!=="http://www.w3.org/2000/svg"){var c=i.getAttribute(e)||"";c=l+c;var s=a.get(c);s?s.push(i):a.set(c,[i])}}return a}function hr(l,e,t){l=l.ownerDocument||l,l.head.insertBefore(t,e==="title"?l.querySelector("head > title"):null)}function oh(l,e,t){if(t===1||e.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof e.precedence!="string"||typeof e.href!="string"||e.href==="")break;return!0;case"link":if(typeof e.rel!="string"||typeof e.href!="string"||e.href===""||e.onLoad||e.onError)break;switch(e.rel){case"stylesheet":return l=e.disabled,typeof e.precedence=="string"&&l==null;default:return!0}case"script":if(e.async&&typeof e.async!="function"&&typeof e.async!="symbol"&&!e.onLoad&&!e.onError&&e.src&&typeof e.src=="string")return!0}return!1}function vr(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}function dh(l,e,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=Ta(a.href),i=e.querySelector(bn(n));if(i){e=i._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(l.count++,l=qi.bind(l),e.then(l,l)),t.state.loading|=4,t.instance=i,Xl(i);return}i=e.ownerDocument||e,a=dr(a),(n=Te.get(n))&&is(a,n),i=i.createElement("link"),Xl(i);var c=i;c._p=new Promise(function(s,f){c.onload=s,c.onerror=f}),Jl(i,"link",a),t.instance=i}l.stylesheets===null&&(l.stylesheets=new Map),l.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&3)===0&&(l.count++,t=qi.bind(l),e.addEventListener("load",t),e.addEventListener("error",t))}}var cs=0;function rh(l,e){return l.stylesheets&&l.count===0&&Yi(l,l.stylesheets),0<l.count||0<l.imgCount?function(t){var a=setTimeout(function(){if(l.stylesheets&&Yi(l,l.stylesheets),l.unsuspend){var i=l.unsuspend;l.unsuspend=null,i()}},6e4+e);0<l.imgBytes&&cs===0&&(cs=62500*km());var n=setTimeout(function(){if(l.waitingForImages=!1,l.count===0&&(l.stylesheets&&Yi(l,l.stylesheets),l.unsuspend)){var i=l.unsuspend;l.unsuspend=null,i()}},(l.imgBytes>cs?50:800)+e);return l.unsuspend=t,function(){l.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function qi(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Yi(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var Bi=null;function Yi(l,e){l.stylesheets=null,l.unsuspend!==null&&(l.count++,Bi=new Map,e.forEach(mh,l),Bi=null,qi.call(l))}function mh(l,e){if(!(e.state.loading&4)){var t=Bi.get(l);if(t)var a=t.get(null);else{t=new Map,Bi.set(l,t);for(var n=l.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<n.length;i++){var c=n[i];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(t.set(c.dataset.precedence,c),a=c)}a&&t.set(null,a)}n=e.instance,c=n.getAttribute("data-precedence"),i=t.get(c)||a,i===a&&t.set(null,n),t.set(c,n),this.count++,a=qi.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),i?i.parentNode.insertBefore(n,i.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(n,l.firstChild)),e.state.loading|=4}}var zn={$$typeof:yl,Provider:null,Consumer:null,_currentValue:k,_currentValue2:k,_threadCount:0};function hh(l,e,t,a,n,i,c,s,f){this.tag=1,this.containerInfo=l,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=tu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tu(0),this.hiddenUpdates=tu(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=i,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=f,this.incompleteTransitions=new Map}function xr(l,e,t,a,n,i,c,s,f,x,z,S){return l=new hh(l,e,t,c,f,x,z,S,s),e=1,i===!0&&(e|=24),i=me(3,null,null,e),l.current=i,i.stateNode=l,e=Gu(),e.refCount++,l.pooledCache=e,e.refCount++,i.memoizedState={element:a,isDehydrated:t,cache:e},Zu(i),l}function yr(l){return l?(l=ua,l):ua}function gr(l,e,t,a,n,i){n=yr(n),a.context===null?a.context=n:a.pendingContext=n,a=ft(e),a.payload={element:t},i=i===void 0?null:i,i!==null&&(a.callback=i),t=ot(l,a,e),t!==null&&(ce(t,l,e),Ia(t,l,e))}function br(l,e){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var t=l.retryLane;l.retryLane=t!==0&&t<e?t:e}}function ss(l,e){br(l,e),(l=l.alternate)&&br(l,e)}function pr(l){if(l.tag===13||l.tag===31){var e=Dt(l,67108864);e!==null&&ce(e,l,67108864),ss(l,67108864)}}function zr(l){if(l.tag===13||l.tag===31){var e=ge();e=au(e);var t=Dt(l,e);t!==null&&ce(t,l,e),ss(l,e)}}var Gi=!0;function vh(l,e,t,a){var n=p.T;p.T=null;var i=D.p;try{D.p=2,fs(l,e,t,a)}finally{D.p=i,p.T=n}}function xh(l,e,t,a){var n=p.T;p.T=null;var i=D.p;try{D.p=8,fs(l,e,t,a)}finally{D.p=i,p.T=n}}function fs(l,e,t,a){if(Gi){var n=os(a);if(n===null)$c(l,e,a,Qi,t),Nr(l,a);else if(gh(n,l,e,t,a))a.stopPropagation();else if(Nr(l,a),e&4&&-1<yh.indexOf(l)){for(;n!==null;){var i=$t(n);if(i!==null)switch(i.tag){case 3:if(i=i.stateNode,i.current.memoizedState.isDehydrated){var c=Tt(i.pendingLanes);if(c!==0){var s=i;for(s.pendingLanes|=2,s.entangledLanes|=2;c;){var f=1<<31-de(c);s.entanglements[1]|=f,c&=~f}Re(i),(cl&6)===0&&(Ni=fe()+500,vn(0))}}break;case 31:case 13:s=Dt(i,2),s!==null&&ce(s,i,2),_i(),ss(i,2)}if(i=os(a),i===null&&$c(l,e,a,Qi,t),i===n)break;n=i}n!==null&&a.stopPropagation()}else $c(l,e,a,null,t)}}function os(l){return l=ru(l),ds(l)}var Qi=null;function ds(l){if(Qi=null,l=Jt(l),l!==null){var e=w(l);if(e===null)l=null;else{var t=e.tag;if(t===13){if(l=O(e),l!==null)return l;l=null}else if(t===31){if(l=M(e),l!==null)return l;l=null}else if(t===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;l=null}else e!==l&&(l=null)}}return Qi=l,null}function jr(l){switch(l){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(t0()){case Ts:return 2;case Ms:return 8;case wn:case a0:return 32;case ws:return 268435456;default:return 32}default:return 32}}var rs=!1,zt=null,jt=null,Nt=null,jn=new Map,Nn=new Map,St=[],yh="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 Nr(l,e){switch(l){case"focusin":case"focusout":zt=null;break;case"dragenter":case"dragleave":jt=null;break;case"mouseover":case"mouseout":Nt=null;break;case"pointerover":case"pointerout":jn.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nn.delete(e.pointerId)}}function Sn(l,e,t,a,n,i){return l===null||l.nativeEvent!==i?(l={blockedOn:e,domEventName:t,eventSystemFlags:a,nativeEvent:i,targetContainers:[n]},e!==null&&(e=$t(e),e!==null&&pr(e)),l):(l.eventSystemFlags|=a,e=l.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),l)}function gh(l,e,t,a,n){switch(e){case"focusin":return zt=Sn(zt,l,e,t,a,n),!0;case"dragenter":return jt=Sn(jt,l,e,t,a,n),!0;case"mouseover":return Nt=Sn(Nt,l,e,t,a,n),!0;case"pointerover":var i=n.pointerId;return jn.set(i,Sn(jn.get(i)||null,l,e,t,a,n)),!0;case"gotpointercapture":return i=n.pointerId,Nn.set(i,Sn(Nn.get(i)||null,l,e,t,a,n)),!0}return!1}function Sr(l){var e=Jt(l.target);if(e!==null){var t=w(e);if(t!==null){if(e=t.tag,e===13){if(e=O(t),e!==null){l.blockedOn=e,Rs(l.priority,function(){zr(t)});return}}else if(e===31){if(e=M(t),e!==null){l.blockedOn=e,Rs(l.priority,function(){zr(t)});return}}else if(e===3&&t.stateNode.current.memoizedState.isDehydrated){l.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}l.blockedOn=null}function Xi(l){if(l.blockedOn!==null)return!1;for(var e=l.targetContainers;0<e.length;){var t=os(l.nativeEvent);if(t===null){t=l.nativeEvent;var a=new t.constructor(t.type,t);du=a,t.target.dispatchEvent(a),du=null}else return e=$t(t),e!==null&&pr(e),l.blockedOn=t,!1;e.shift()}return!0}function _r(l,e,t){Xi(l)&&t.delete(e)}function bh(){rs=!1,zt!==null&&Xi(zt)&&(zt=null),jt!==null&&Xi(jt)&&(jt=null),Nt!==null&&Xi(Nt)&&(Nt=null),jn.forEach(_r),Nn.forEach(_r)}function Li(l,e){l.blockedOn===e&&(l.blockedOn=null,rs||(rs=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,bh)))}var Zi=null;function Er(l){Zi!==l&&(Zi=l,o.unstable_scheduleCallback(o.unstable_NormalPriority,function(){Zi===l&&(Zi=null);for(var e=0;e<l.length;e+=3){var t=l[e],a=l[e+1],n=l[e+2];if(typeof a!="function"){if(ds(a||t)===null)continue;break}var i=$t(t);i!==null&&(l.splice(e,3),e-=3,oc(i,{pending:!0,data:n,method:t.method,action:a},a,n))}}))}function wa(l){function e(f){return Li(f,l)}zt!==null&&Li(zt,l),jt!==null&&Li(jt,l),Nt!==null&&Li(Nt,l),jn.forEach(e),Nn.forEach(e);for(var t=0;t<St.length;t++){var a=St[t];a.blockedOn===l&&(a.blockedOn=null)}for(;0<St.length&&(t=St[0],t.blockedOn===null);)Sr(t),t.blockedOn===null&&St.shift();if(t=(l.ownerDocument||l).$$reactFormReplay,t!=null)for(a=0;a<t.length;a+=3){var n=t[a],i=t[a+1],c=n[ee]||null;if(typeof i=="function")c||Er(t);else if(c){var s=null;if(i&&i.hasAttribute("formAction")){if(n=i,c=i[ee]||null)s=c.formAction;else if(ds(n)!==null)continue}else s=c.action;typeof s=="function"?t[a+1]=s:(t.splice(a,3),a-=3),Er(t)}}}function Ar(){function l(i){i.canIntercept&&i.info==="react-transition"&&i.intercept({handler:function(){return new Promise(function(c){return n=c})},focusReset:"manual",scroll:"manual"})}function e(){n!==null&&(n(),n=null),a||setTimeout(t,20)}function t(){if(!a&&!navigation.transition){var i=navigation.currentEntry;i&&i.url!=null&&navigation.navigate(i.url,{state:i.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",l),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(t,100),function(){a=!0,navigation.removeEventListener("navigate",l),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),n!==null&&(n(),n=null)}}}function ms(l){this._internalRoot=l}Vi.prototype.render=ms.prototype.render=function(l){var e=this._internalRoot;if(e===null)throw Error(d(409));var t=e.current,a=ge();gr(t,a,l,e,null,null)},Vi.prototype.unmount=ms.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var e=l.containerInfo;gr(l.current,2,null,l,null,null),_i(),e[Kt]=null}};function Vi(l){this._internalRoot=l}Vi.prototype.unstable_scheduleHydration=function(l){if(l){var e=Hs();l={blockedOn:null,target:l,priority:e};for(var t=0;t<St.length&&e!==0&&e<St[t].priority;t++);St.splice(t,0,l),t===0&&Sr(l)}};var Tr=j.version;if(Tr!=="19.2.3")throw Error(d(527,Tr,"19.2.3"));D.findDOMNode=function(l){var e=l._reactInternals;if(e===void 0)throw typeof l.render=="function"?Error(d(188)):(l=Object.keys(l).join(","),Error(d(268,l)));return l=y(e),l=l!==null?B(l):null,l=l===null?null:l.stateNode,l};var ph={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:p,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ki=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ki.isDisabled&&ki.supportsFiber)try{Ua=ki.inject(ph),oe=ki}catch{}}return En.createRoot=function(l,e){if(!A(l))throw Error(d(299));var t=!1,a="",n=Ho,i=Ro,c=qo;return e!=null&&(e.unstable_strictMode===!0&&(t=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(i=e.onCaughtError),e.onRecoverableError!==void 0&&(c=e.onRecoverableError)),e=xr(l,1,!1,null,null,t,a,null,n,i,c,Ar),l[Kt]=e.current,Jc(l),new ms(e)},En.hydrateRoot=function(l,e,t){if(!A(l))throw Error(d(299));var a=!1,n="",i=Ho,c=Ro,s=qo,f=null;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(i=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(s=t.onRecoverableError),t.formState!==void 0&&(f=t.formState)),e=xr(l,1,!0,e,t??null,a,n,f,i,c,s,Ar),e.context=yr(null),t=e.current,a=ge(),a=au(a),n=ft(a),n.callback=null,ot(t,n,a),t=a,e.current.lanes=t,Ca(e,t),Re(e),l[Kt]=e.current,Jc(l),new Vi(e)},En.version="19.2.3",En}var Br;function Oh(){if(Br)return xs.exports;Br=1;function o(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(o)}catch(j){console.error(j)}}return o(),xs.exports=wh(),xs.exports}var Uh=Oh();const Dh=Zr(Uh);/**
|
||
* @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 Ch=o=>o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Hh=o=>o.replace(/^([A-Z])|[\s-_]+(\w)/g,(j,_,d)=>d?d.toUpperCase():_.toLowerCase()),Yr=o=>{const j=Hh(o);return j.charAt(0).toUpperCase()+j.slice(1)},Vr=(...o)=>o.filter((j,_,d)=>!!j&&j.trim()!==""&&d.indexOf(j)===_).join(" ").trim(),Rh=o=>{for(const j in o)if(j.startsWith("aria-")||j==="role"||j==="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 qh={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 Bh=X.forwardRef(({color:o="currentColor",size:j=24,strokeWidth:_=2,absoluteStrokeWidth:d,className:A="",children:w,iconNode:O,...M},T)=>X.createElement("svg",{ref:T,...qh,width:j,height:j,stroke:o,strokeWidth:d?Number(_)*24/Number(j):_,className:Vr("lucide",A),...!w&&!Rh(M)&&{"aria-hidden":"true"},...M},[...O.map(([y,B])=>X.createElement(y,B)),...Array.isArray(w)?w:[w]]));/**
|
||
* @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 Z=(o,j)=>{const _=X.forwardRef(({className:d,...A},w)=>X.createElement(Bh,{ref:w,iconNode:j,className:Vr(`lucide-${Ch(Yr(o))}`,`lucide-${o}`,d),...A}));return _.displayName=Yr(o),_};/**
|
||
* @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 Yh=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],Gh=Z("activity",Yh);/**
|
||
* @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 Qh=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],Tn=Z("arrow-left",Qh);/**
|
||
* @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 Xh=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],kr=Z("arrow-right",Xh);/**
|
||
* @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 Lh=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],Zh=Z("bell",Lh);/**
|
||
* @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=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],kh=Z("chevron-down",Vh);/**
|
||
* @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:"m18 15-6-6-6 6",key:"153udz"}]],Jh=Z("chevron-up",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:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Ji=Z("clock",$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:"M12 13v8",key:"1l5pq0"}],["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"m8 17 4-4 4 4",key:"1quai1"}]],Fh=Z("cloud-upload",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 Ih=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Ph=Z("credit-card",Ih);/**
|
||
* @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:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],e1=Z("crown",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=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],$i=Z("disc",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 a1=[["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"}]],Gr=Z("download",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 n1=[["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"}]],i1=Z("ellipsis",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 u1=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],c1=Z("facebook",u1);/**
|
||
* @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 s1=[["path",{d:"M4 6.835V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-.343",key:"1vfytu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M2 19a2 2 0 0 1 4 0v1a2 2 0 0 1-4 0v-4a6 6 0 0 1 12 0v4a2 2 0 0 1-4 0v-1a2 2 0 0 1 4 0",key:"1etmh7"}]],Ss=Z("file-headphone",s1);/**
|
||
* @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:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]],o1=Z("flame",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 d1=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],r1=Z("heart",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=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],Kr=Z("house",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=[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]],v1=Z("instagram",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:"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"}]],_s=Z("layers",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 y1=[["path",{d:"m16 6 4 14",key:"ji33uf"}],["path",{d:"M12 6v14",key:"1n7gus"}],["path",{d:"M8 8v12",key:"1gg7y9"}],["path",{d:"M4 4v16",key:"6qkkli"}]],Jr=Z("library",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 g1=[["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"}]],Qr=Z("link",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 b1=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],p1=Z("lock",b1);/**
|
||
* @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:"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"}]],$r=Z("log-in",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:"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"}]],N1=Z("log-out",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 S1=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],_1=Z("mail",S1);/**
|
||
* @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 E1=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],A1=Z("menu",E1);/**
|
||
* @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:"m11 7.601-5.994 8.19a1 1 0 0 0 .1 1.298l.817.818a1 1 0 0 0 1.314.087L15.09 12",key:"80a601"}],["path",{d:"M16.5 21.174C15.5 20.5 14.372 20 13 20c-2.058 0-3.928 2.356-6 2-2.072-.356-2.775-3.369-1.5-4.5",key:"j0ngtp"}],["circle",{cx:"16",cy:"7",r:"5",key:"d08jfb"}]],M1=Z("mic-vocal",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 w1=[["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"}]],O1=Z("mic",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 U1=[["circle",{cx:"8",cy:"18",r:"4",key:"1fc0mg"}],["path",{d:"M12 18V2l7 4",key:"g04rme"}]],D1=Z("music-2",U1);/**
|
||
* @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:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]],An=Z("music",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=[["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"}]],Ki=Z("pause",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 R1=[["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"}]],Et=Z("play",R1);/**
|
||
* @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:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]],B1=Z("repeat",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 Y1=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],G1=Z("scissors",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 Q1=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],X1=Z("settings-2",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:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Z1=Z("settings",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 V1=[["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"}]],k1=Z("share-2",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 K1=[["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"}]],J1=Z("shield",K1);/**
|
||
* @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:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]],W1=Z("shuffle",$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 F1=[["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"}]],I1=Z("skip-back",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 P1=[["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"}]],lv=Z("skip-forward",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 ev=[["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"}]],ps=Z("sparkles",ev);/**
|
||
* @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 tv=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],av=Z("trending-up",tv);/**
|
||
* @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 nv=[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]],iv=Z("twitter",nv);/**
|
||
* @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 uv=[["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"}]],cv=Z("upload",uv);/**
|
||
* @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 sv=[["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"}]],Wr=Z("user",sv);/**
|
||
* @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 fv=[["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"}]],zs=Z("video",fv);/**
|
||
* @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 ov=[["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"}]],dv=Z("volume-2",ov);/**
|
||
* @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 rv=[["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"}]],mv=Z("wand-sparkles",rv);/**
|
||
* @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 hv=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],js=Z("x",hv),vv=({activeTab:o,setActiveTab:j,user:_,onLoginClick:d})=>{const A=[{id:"home",icon:Kr,label:"首页 (Home)"},{id:"create",icon:An,label:"创作 (Create)"},{id:"library",icon:Jr,label:"曲库 (Library)"},{id:"tools",icon:_s,label:"工具箱 (Tools)"}];return u.jsxs("div",{className:"w-full md:w-64 bg-black/40 backdrop-blur-xl border-r border-white/5 flex flex-col h-full",children:[u.jsx("div",{className:"p-6",children:u.jsxs("h1",{className:"text-2xl font-bold bg-gradient-to-br from-white to-zinc-500 bg-clip-text text-transparent flex items-center gap-3 tracking-tight",children:[u.jsxs("div",{className:"relative",children:[u.jsx($i,{className:"text-indigo-500 relative z-10"}),u.jsx("div",{className:"absolute inset-0 bg-indigo-500 blur-lg opacity-40"})]}),"朴见潮音"]})}),u.jsx("nav",{className:"flex-1 px-4 space-y-2 mt-4",children:A.map(w=>u.jsxs("button",{onClick:()=>j(w.id),className:`w-full flex items-center gap-3 px-4 py-3 rounded-xl transition-all duration-200 font-medium group relative overflow-hidden ${o===w.id?"bg-gradient-to-r from-indigo-600/20 to-purple-600/10 text-white border border-indigo-500/30 shadow-[0_0_15px_rgba(79,70,229,0.15)]":"text-zinc-400 hover:text-white hover:bg-white/5"}`,children:[u.jsx(w.icon,{size:20,className:`transition-colors ${o===w.id?"text-indigo-400":"group-hover:text-white"}`}),u.jsx("span",{className:"relative z-10",children:w.label}),o===w.id&&u.jsx("div",{className:"absolute left-0 top-0 bottom-0 w-1 bg-indigo-500 rounded-full"})]},w.id))}),u.jsx("div",{className:"p-4 border-t border-white/5",children:_?u.jsxs("div",{onClick:()=>j("user"),className:`bg-gradient-to-br from-zinc-900 to-zinc-950 rounded-xl p-4 border border-white/5 shadow-lg relative overflow-hidden group cursor-pointer transition-all ${o==="user"?"ring-1 ring-indigo-500":"hover:bg-zinc-900"}`,children:[u.jsx("div",{className:"absolute top-0 right-0 w-20 h-20 bg-indigo-500/10 rounded-full blur-2xl -translate-y-1/2 translate-x-1/2 group-hover:bg-indigo-500/20 transition-colors"}),u.jsxs("div",{className:"flex items-center gap-3 mb-3 relative z-10",children:[u.jsx("img",{src:_.avatarUrl,alt:"Avatar",className:"w-10 h-10 rounded-full bg-zinc-800 border border-white/10"}),u.jsxs("div",{className:"overflow-hidden",children:[u.jsx("p",{className:"text-white font-bold text-sm truncate",children:_.name}),u.jsxs("p",{className:"text-zinc-500 text-xs truncate uppercase",children:[_.plan," Plan"]})]})]}),u.jsxs("div",{className:"relative z-10",children:[u.jsxs("div",{className:"flex justify-between items-end mb-1",children:[u.jsx("span",{className:"text-xs text-zinc-400",children:"剩余积分"}),u.jsx("span",{className:"text-sm font-bold text-white",children:_.credits})]}),u.jsx("div",{className:"w-full bg-zinc-800/50 h-1.5 rounded-full overflow-hidden",children:u.jsx("div",{className:"bg-gradient-to-r from-indigo-500 to-purple-500 h-full rounded-full shadow-[0_0_10px_rgba(99,102,241,0.5)]",style:{width:`${_.credits/500*100}%`}})})]})]}):u.jsxs("button",{onClick:d,className:"w-full py-3 bg-zinc-900 hover:bg-zinc-800 border border-zinc-800 rounded-xl flex items-center justify-center gap-2 text-white font-medium transition-colors",children:[u.jsx($r,{size:18}),u.jsx("span",{children:"登录 / 注册"})]})})]})},xv=({isOpen:o,onClose:j,activeTab:_,setActiveTab:d,user:A,onLoginClick:w})=>{const O=[{id:"home",icon:Kr,label:"首页 (Home)"},{id:"create",icon:An,label:"创作 (Create)"},{id:"library",icon:Jr,label:"曲库 (Library)"},{id:"tools",icon:_s,label:"工具箱 (Tools)"}];return o?u.jsxs("div",{className:"fixed inset-0 z-[60] md:hidden",children:[u.jsx("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm animate-in fade-in duration-200",onClick:j}),u.jsxs("div",{className:"absolute top-0 right-0 bottom-0 w-64 bg-zinc-950 border-l border-zinc-800 shadow-2xl animate-in slide-in-from-right duration-300 flex flex-col",children:[u.jsxs("div",{className:"p-6 flex items-center justify-between border-b border-zinc-800",children:[u.jsxs("h2",{className:"text-xl font-bold text-white flex items-center gap-2",children:[u.jsx($i,{className:"text-indigo-500"}),"朴见潮音"]}),u.jsx("button",{onClick:j,className:"text-zinc-400 hover:text-white",children:u.jsx(js,{size:24})})]}),u.jsx("nav",{className:"flex-1 p-4 space-y-2 overflow-y-auto",children:O.map(M=>u.jsxs("button",{onClick:()=>{d(M.id),j()},className:`w-full flex items-center gap-3 px-4 py-3 rounded-xl transition-all font-medium ${_===M.id?"bg-indigo-600/10 text-indigo-400 border border-indigo-500/20":"text-zinc-400 hover:text-white hover:bg-zinc-900"}`,children:[u.jsx(M.icon,{size:20}),M.label]},M.id))}),u.jsx("div",{className:"p-6 border-t border-zinc-800 bg-zinc-900/50",children:A?u.jsxs("button",{onClick:()=>{d("user"),j()},className:"w-full flex items-center gap-3 p-2 rounded-lg hover:bg-zinc-800 transition-colors",children:[u.jsx("img",{src:A.avatarUrl,alt:"Avatar",className:"w-10 h-10 rounded-full bg-zinc-800"}),u.jsxs("div",{className:"text-left overflow-hidden flex-1",children:[u.jsx("p",{className:"text-white font-medium text-sm truncate",children:A.name}),u.jsx("p",{className:"text-zinc-500 text-xs truncate",children:"点击查看个人中心"})]})]}):u.jsxs("button",{onClick:()=>{w(),j()},className:"w-full py-3 bg-indigo-600 text-white rounded-xl font-medium flex items-center justify-center gap-2 shadow-lg shadow-indigo-600/20",children:[u.jsx($r,{size:18}),"登录 / 注册"]})})]})]}):null};var se=(o=>(o.SUBMITTED="submitted",o.QUEUEING="queueing",o.PROCESSING="processing",o.COMPLETED="completed",o.ERROR="error",o))(se||{});const Fr=[{id:"s1",title:"赛博朋克夜雨",imageUrl:"https://picsum.photos/400/400?random=1",audioUrl:"https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3",duration:120,tags:"electronic, synthwave, dark",status:se.COMPLETED,createdAt:new Date(Date.now()-36e5).toISOString(),isInstrumental:!1,model:"v3.5"},{id:"s2",title:"古风·长相思",imageUrl:"https://picsum.photos/400/400?random=2",audioUrl:"https://www.soundhelix.com/examples/mp3/SoundHelix-Song-2.mp3",duration:185,tags:"chinese traditional, guzheng, emotional",status:se.COMPLETED,createdAt:new Date(Date.now()-72e5).toISOString(),isInstrumental:!1,model:"v3.5"}],Xr=["v3.5","v3","v2"],kt=o=>new Promise(j=>setTimeout(j,o)),Ue={async generateAuto(o){return console.log("Calling API: Music (Auto)",o),await kt(1500),[Math.random().toString(36).substr(2,9),Math.random().toString(36).substr(2,9)].map(_=>({id:_,title:o.prompt.slice(0,20)||"Generated Song",imageUrl:"https://picsum.photos/400/400?grayscale",audioUrl:"",duration:0,tags:"generated, pop",status:se.QUEUEING,createdAt:new Date().toISOString(),isInstrumental:o.make_instrumental,model:o.mv}))},async generateCustom(o){return console.log("Calling API: Generate (Custom/Extend)",o),await kt(1500),[Math.random().toString(36).substr(2,9),Math.random().toString(36).substr(2,9)].map(_=>({id:_,title:o.title||(o.continue_clip_id?"Extended Song":"Custom Song"),imageUrl:"https://picsum.photos/400/400?blur",audioUrl:"",duration:0,tags:o.tags,status:se.QUEUEING,createdAt:new Date().toISOString(),isInstrumental:o.make_instrumental,model:o.mv,lyrics:o.prompt,isExtension:!!o.continue_clip_id,parentId:o.continue_clip_id}))},async generateLyrics(o){return await kt(1e3),{title:"AI Generated Title",text:`[Verse 1]
|
||
Here is some generated lyrics based on: ${o}
|
||
Neon lights flashing in the rain...
|
||
|
||
[Chorus]
|
||
Fly away, to the moon...`}},async fetchIds(o){return o.map(j=>{const _=Fr.find(d=>d.id===j);return _||{id:j,title:"处理完成 (Processed)",imageUrl:"https://picsum.photos/400/400?random="+j,audioUrl:"https://www.soundhelix.com/examples/mp3/SoundHelix-Song-3.mp3",duration:120,tags:"processing",status:se.COMPLETED,createdAt:new Date().toISOString(),isInstrumental:!1,model:"v3.5"}})},async getWavUrl(o){return await kt(500),"https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3"},async getVideoUrl(o){return await kt(500),"https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_1mb.mp4"},async uploadAudio(o){return console.log("Uploading file:",o.name),await kt(2e3),"uploaded-audio-id-"+Date.now()},async processAudio(o){return console.log(`Processing Audio: ${o.operation}`,o),await kt(2e3),{id:"proc-"+Date.now(),title:`Processed (${o.operation})`,imageUrl:"https://picsum.photos/400/400?sepia",audioUrl:"",duration:100,tags:o.operation,status:se.QUEUEING,createdAt:new Date().toISOString(),isInstrumental:o.operation==="instrumental",model:"audio-v1"}}},yv=({onTasksCreated:o,extendSong:j,onClearExtend:_})=>{const[d,A]=X.useState("simple"),[w,O]=X.useState(!1),[M,T]=X.useState(!1),[y,B]=X.useState(Xr[0]),[U,V]=X.useState(null),[fl,pl]=X.useState(null),[xl,$l]=X.useState(""),[wl,Gl]=X.useState(""),[yl,_l]=X.useState(""),[Cl,zl]=X.useState(""),[K,Al]=X.useState(0);X.useEffect(()=>{j&&(A("custom"),zl(`Extend: ${j.title}`),_l(j.tags),Al(Math.floor(j.duration)),T(j.isInstrumental))},[j]);const Wl=async G=>{if(G.target.files&&G.target.files[0]){const jl=G.target.files[0];V(jl);try{const Hl=await Ue.uploadAudio(jl);pl(Hl)}catch{alert("Upload failed"),V(null)}}},Y=async()=>{const G=xl||yl||"About a journey";O(!0);try{const jl=await Ue.generateLyrics(G);Gl(jl.text),Cl||zl(jl.title)}catch(jl){console.error(jl)}finally{O(!1)}},I=async()=>{O(!0);try{let G=[];const jl={make_instrumental:M,mv:y,audio_upload_id:fl||void 0};if(d==="simple"&&!j){const Hl={...jl,prompt:xl};G=await Ue.generateAuto(Hl)}else{const Hl={...jl,prompt:wl,tags:yl,title:Cl,continue_at:j?K:void 0,continue_clip_id:j?j.id:void 0};G=await Ue.generateCustom(Hl)}o(G),j&&_&&_()}catch{alert("Creation failed. Please try again.")}finally{O(!1)}};return u.jsxs("div",{className:"max-w-3xl mx-auto w-full p-4 md:p-8 pb-32",children:[j&&u.jsxs("div",{className:"bg-indigo-900/30 border border-indigo-500/50 rounded-xl p-4 mb-6 flex items-center justify-between",children:[u.jsxs("div",{className:"flex items-center gap-3",children:[u.jsx("div",{className:"bg-indigo-600 p-2 rounded-lg",children:u.jsx(X1,{className:"text-white",size:20})}),u.jsxs("div",{children:[u.jsxs("h3",{className:"font-bold text-white",children:["正在续写: ",j.title]}),u.jsxs("div",{className:"flex items-center gap-2 text-xs text-indigo-300",children:[u.jsx("span",{children:"从"}),u.jsx("input",{type:"number",value:K,onChange:G=>Al(Number(G.target.value)),className:"w-16 bg-black/30 border border-indigo-500/30 rounded px-1"}),u.jsxs("span",{children:["秒处开始 (总时长 ",j.duration,"s)"]})]})]})]}),u.jsx("button",{onClick:_,className:"text-zinc-400 hover:text-white",children:u.jsx(js,{size:20})})]}),u.jsxs("div",{className:"flex items-center justify-between mb-8",children:[u.jsx("h2",{className:"text-3xl font-bold text-white",children:j?"续写模式 (Extend)":"创作音乐 (Create)"}),u.jsxs("div",{className:"flex bg-zinc-800 p-1 rounded-lg",children:[u.jsx("button",{onClick:()=>A("simple"),disabled:!!j,className:`px-4 py-2 rounded-md text-sm font-medium transition-all ${d==="simple"?"bg-zinc-600 text-white shadow-sm":"text-zinc-400 hover:text-white disabled:opacity-30"}`,children:"全自动"}),u.jsx("button",{onClick:()=>A("custom"),className:`px-4 py-2 rounded-md text-sm font-medium transition-all ${d==="custom"?"bg-zinc-600 text-white shadow-sm":"text-zinc-400 hover:text-white"}`,children:"自定义"})]})]}),u.jsxs("div",{className:"space-y-6",children:[!j&&u.jsx("div",{className:"border border-dashed border-zinc-700 rounded-xl p-4 bg-zinc-900/30 hover:bg-zinc-900/50 transition-colors",children:u.jsxs("div",{className:"flex items-center gap-4",children:[u.jsx("div",{className:"bg-zinc-800 p-3 rounded-full",children:u.jsx(Fh,{size:20,className:"text-zinc-400"})}),u.jsx("div",{className:"flex-1",children:U?u.jsxs("div",{className:"flex items-center justify-between",children:[u.jsx("span",{className:"text-sm text-indigo-400 font-medium",children:U.name}),u.jsx("button",{onClick:()=>{V(null),pl(null)},className:"text-zinc-500 hover:text-red-400",children:u.jsx(js,{size:16})})]}):u.jsxs("div",{children:[u.jsx("p",{className:"text-sm font-medium text-white",children:"上传参考音频 (Upload Audio)"}),u.jsx("p",{className:"text-xs text-zinc-500",children:"用作生成的灵感素材 (MP3/WAV)"})]})}),!U&&u.jsxs("label",{className:"px-3 py-1.5 bg-zinc-700 hover:bg-zinc-600 rounded text-xs cursor-pointer text-white",children:["选择文件",u.jsx("input",{type:"file",accept:"audio/*",className:"hidden",onChange:Wl})]})]})}),u.jsxs("div",{className:"flex items-center justify-between bg-zinc-900/50 p-4 rounded-xl border border-zinc-800",children:[u.jsxs("div",{className:"flex items-center gap-3",children:[u.jsx(O1,{className:`size-5 ${M?"text-zinc-500":"text-indigo-400"}`}),u.jsxs("div",{children:[u.jsx("p",{className:"text-white font-medium",children:"纯音乐 (Instrumental)"}),u.jsx("p",{className:"text-xs text-zinc-500",children:"不包含人声歌词"})]})]}),u.jsxs("label",{className:"relative inline-flex items-center cursor-pointer",children:[u.jsx("input",{type:"checkbox",checked:M,onChange:G=>T(G.target.checked),className:"sr-only peer"}),u.jsx("div",{className:"w-11 h-6 bg-zinc-700 peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-indigo-600"})]})]}),d==="simple"?u.jsxs("div",{className:"space-y-3",children:[u.jsx("label",{className:"text-sm font-medium text-zinc-300",children:"歌曲描述 (Song Description)"}),u.jsx("textarea",{value:xl,onChange:G=>$l(G.target.value),placeholder:"例如:一首关于在东京雨夜漫步的慢节奏爵士乐,带有忧郁的女声...",className:"w-full h-32 bg-zinc-900 border border-zinc-700 rounded-xl p-4 text-white focus:ring-2 focus:ring-indigo-500 focus:border-transparent outline-none resize-none"})]}):u.jsxs(u.Fragment,{children:[u.jsxs("div",{className:"space-y-3",children:[u.jsxs("div",{className:"flex justify-between items-center",children:[u.jsx("label",{className:"text-sm font-medium text-zinc-300",children:"歌词 (Lyrics)"}),!M&&u.jsxs("button",{onClick:Y,disabled:w,className:"flex items-center gap-1 text-xs text-indigo-400 hover:text-indigo-300 disabled:opacity-50",children:[u.jsx(mv,{size:12}),"AI 生成歌词"]})]}),u.jsx("textarea",{value:wl,onChange:G=>Gl(G.target.value),disabled:M,placeholder:M?"纯音乐模式下无需歌词":`[Verse]
|
||
输入你的歌词...`,className:`w-full h-40 bg-zinc-900 border border-zinc-700 rounded-xl p-4 text-white focus:ring-2 focus:ring-indigo-500 focus:border-transparent outline-none resize-none font-mono text-sm ${M?"opacity-50 cursor-not-allowed":""}`})]}),u.jsxs("div",{className:"space-y-3",children:[u.jsx("label",{className:"text-sm font-medium text-zinc-300",children:"音乐风格 (Style of Music)"}),u.jsx("textarea",{value:yl,onChange:G=>_l(G.target.value),placeholder:"例如:Pop, Rock, Male Vocals, Upbeat",className:"w-full h-20 bg-zinc-900 border border-zinc-700 rounded-xl p-4 text-white focus:ring-2 focus:ring-indigo-500 focus:border-transparent outline-none resize-none"})]}),u.jsxs("div",{className:"space-y-3",children:[u.jsx("label",{className:"text-sm font-medium text-zinc-300",children:"标题 (Title)"}),u.jsx("input",{type:"text",value:Cl,onChange:G=>zl(G.target.value),placeholder:"给这首歌起个名字",className:"w-full bg-zinc-900 border border-zinc-700 rounded-xl p-4 text-white focus:ring-2 focus:ring-indigo-500 focus:border-transparent outline-none"})]})]}),u.jsxs("div",{className:"flex items-end gap-4 pt-6 border-t border-zinc-800/50",children:[u.jsxs("div",{className:"w-1/3 min-w-[140px]",children:[u.jsx("label",{className:"text-xs text-zinc-500 block mb-2 font-medium",children:"模型版本 (Model)"}),u.jsxs("div",{className:"relative",children:[u.jsx("select",{value:y,onChange:G=>B(G.target.value),className:"bg-zinc-900 border border-zinc-700 text-zinc-200 text-sm rounded-xl block w-full p-3 pr-10 appearance-none focus:ring-2 focus:ring-indigo-500 focus:border-transparent outline-none transition-all",children:Xr.map(G=>u.jsx("option",{value:G,children:G},G))}),u.jsx("div",{className:"absolute inset-y-0 right-0 flex items-center pr-3 pointer-events-none text-zinc-500",children:u.jsx(kh,{size:16})})]})]}),u.jsx("div",{className:"flex-1",children:u.jsxs("button",{onClick:I,disabled:w||fl===null&&U!==null,className:"w-full py-3 px-6 bg-indigo-600 hover:bg-indigo-500 disabled:bg-zinc-800 disabled:text-zinc-500 disabled:cursor-not-allowed text-white font-bold rounded-xl flex items-center justify-center gap-2 transition-all shadow-lg shadow-indigo-600/20 active:scale-[0.98]",children:[w?u.jsxs(u.Fragment,{children:[u.jsx("div",{className:"animate-spin rounded-full h-5 w-5 border-2 border-white border-t-transparent"}),"生成中..."]}):u.jsxs(u.Fragment,{children:[u.jsx(ps,{size:20,className:"fill-white"}),j?"生成续写 (Extend)":"立即生成 (Create)"]}),u.jsx("span",{className:"text-indigo-200 text-xs font-normal ml-1 hidden sm:inline",children:" (10 积分)"})]})})]})]})]})},gv=({songs:o,currentSong:j,isPlaying:_,onPlay:d,onExtend:A,onDetail:w})=>{const[O,M]=X.useState(null),T=async(y,B)=>{M(y);try{const U=B==="wav"?await Ue.getWavUrl(y):await Ue.getVideoUrl(y),V=document.createElement("a");V.href=U,V.download=`suno_${B}_${y}.${B==="wav"?"mp3":"mp4"}`,document.body.appendChild(V),V.click(),document.body.removeChild(V)}catch{alert("Download failed")}finally{M(null)}};return o.length===0?u.jsxs("div",{className:"flex flex-col items-center justify-center h-64 text-zinc-500",children:[u.jsx(Ji,{size:48,className:"mb-4 opacity-50"}),u.jsx("p",{children:"暂无创作记录,快去生成第一首歌吧!"})]}):u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-5 p-4 md:p-8 overflow-y-auto pb-48",children:o.map(y=>{const B=(j==null?void 0:j.id)===y.id;return u.jsxs("div",{onClick:()=>w(y),className:`group relative bg-zinc-900/40 backdrop-blur-md rounded-2xl overflow-hidden border transition-all duration-300 hover:-translate-y-1 cursor-pointer hover:shadow-xl ${B?"border-indigo-500/50 bg-indigo-900/10 shadow-[0_0_20px_rgba(99,102,241,0.15)]":"border-white/5 hover:border-white/10 hover:bg-zinc-800/60"}`,children:[u.jsxs("div",{className:"flex p-4 gap-4",children:[u.jsxs("div",{className:"relative w-24 h-24 flex-shrink-0 bg-zinc-950 rounded-xl overflow-hidden shadow-lg border border-white/5",onClick:U=>{U.stopPropagation(),d(y)},children:[u.jsx("img",{src:y.imageUrl,alt:y.title,className:"w-full h-full object-cover opacity-90 group-hover:opacity-100 transition-opacity"}),u.jsx("div",{className:`absolute inset-0 flex items-center justify-center bg-black/40 transition-opacity ${B?"opacity-100":"opacity-0 group-hover:opacity-100"}`,children:B&&_?u.jsx(Ki,{className:"text-white fill-white drop-shadow-lg",size:24}):u.jsx(Et,{className:"text-white fill-white drop-shadow-lg",size:24})}),y.status===se.QUEUEING&&u.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-black/80 backdrop-blur-sm z-10",children:u.jsx("div",{className:"animate-spin rounded-full h-6 w-6 border-2 border-indigo-500 border-t-transparent"})})]}),u.jsxs("div",{className:"flex flex-col justify-between flex-1 min-w-0",children:[u.jsxs("div",{children:[u.jsx("h3",{className:`font-bold truncate text-lg transition-colors ${B?"text-indigo-400":"text-zinc-100 group-hover:text-indigo-300"}`,title:y.title,children:y.title}),u.jsxs("div",{className:"flex gap-2 text-xs mb-1.5 mt-1",children:[u.jsxs("span",{className:"text-zinc-400 bg-white/5 border border-white/5 px-1.5 py-0.5 rounded",children:[y.duration,"s"]}),y.isExtension&&u.jsx("span",{className:"text-amber-400 bg-amber-500/10 border border-amber-500/20 px-1.5 py-0.5 rounded",children:"续写"})]}),u.jsx("p",{className:"text-zinc-500 text-xs truncate font-medium",children:y.tags||"自动风格"})]}),u.jsxs("div",{className:"flex items-center justify-between mt-2 pt-2 border-t border-white/5",children:[u.jsx("div",{className:"flex items-center gap-2",children:u.jsx("span",{className:"text-[10px] text-zinc-500 border border-zinc-700/50 px-1.5 py-0.5 rounded uppercase tracking-wider",children:y.model})}),u.jsxs("div",{className:"flex gap-1 opacity-80 group-hover:opacity-100 transition-opacity",children:[u.jsx("button",{onClick:U=>{U.stopPropagation(),A(y)},className:"p-1.5 hover:bg-indigo-500/20 hover:text-indigo-400 rounded-lg text-zinc-400 transition-colors",title:"续写 (Extend)",children:u.jsx(_s,{size:16})}),u.jsx("button",{onClick:U=>{U.stopPropagation(),T(y.id,"wav")},className:"p-1.5 hover:bg-white/10 rounded-lg text-zinc-400 hover:text-white transition-colors",title:"下载 WAV",disabled:!!O,children:u.jsx(Ss,{size:16})}),u.jsx("button",{onClick:U=>{U.stopPropagation(),T(y.id,"video")},className:"p-1.5 hover:bg-white/10 rounded-lg text-zinc-400 hover:text-white transition-colors",title:"下载视频",disabled:!!O,children:u.jsx(zs,{size:16})})]})]})]})]}),y.status!==se.COMPLETED&&u.jsx("div",{className:"absolute bottom-0 left-0 right-0",children:u.jsx("div",{className:"w-full bg-zinc-800 h-0.5",children:u.jsx("div",{className:"bg-indigo-500 h-full w-1/2 animate-pulse"})})})]},y.id)})})},bv=({currentSong:o,isPlaying:j,setIsPlaying:_,onSongClick:d})=>{const A=X.useRef(null),[w,O]=X.useState(0),[M,T]=X.useState(0);X.useEffect(()=>{o&&A.current&&(o.audioUrl?(A.current.src=o.audioUrl,j&&A.current.play()):_(!1))},[o]),X.useEffect(()=>{A.current&&(j?A.current.play():A.current.pause())},[j]);const y=()=>{A.current&&(O(A.current.currentTime),T(A.current.duration||0))},B=V=>{const fl=parseFloat(V.target.value);A.current&&(A.current.currentTime=fl,O(fl))},U=V=>{if(!V)return"0:00";const fl=Math.floor(V/60),pl=Math.floor(V%60);return`${fl}:${pl<10?"0":""}${pl}`};return o?u.jsxs("div",{className:"absolute bottom-0 left-0 right-0 bg-black/80 backdrop-blur-xl border-t border-white/10 px-4 py-3 z-40 flex items-center justify-between shadow-[0_-10px_40px_rgba(0,0,0,0.5)] transition-all animate-in slide-in-from-bottom-full duration-500",children:[u.jsx("audio",{ref:A,onTimeUpdate:y,onEnded:()=>_(!1)}),u.jsxs("div",{className:"flex items-center gap-4 w-1/3 cursor-pointer hover:opacity-80 transition-opacity group",onClick:()=>d&&d(o),children:[u.jsxs("div",{className:"relative overflow-hidden rounded-md w-12 h-12 bg-zinc-800 shadow-md border border-white/10",children:[o.imageUrl?u.jsx("img",{src:o.imageUrl,alt:"",className:"w-full h-full object-cover"}):u.jsx("div",{className:"w-full h-full flex items-center justify-center text-zinc-500",children:u.jsx(D1,{size:20})}),u.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-black/40 opacity-0 group-hover:opacity-100 transition-all backdrop-blur-[2px]",children:u.jsx(Jh,{size:20,className:"text-white"})})]}),u.jsxs("div",{className:"hidden sm:block overflow-hidden",children:[u.jsx("h4",{className:"text-white font-bold text-sm truncate",children:o.title}),u.jsx("p",{className:"text-zinc-400 text-xs truncate",children:o.tags})]})]}),u.jsxs("div",{className:"flex flex-col items-center gap-2 flex-1 max-w-lg",children:[u.jsxs("div",{className:"flex items-center gap-6",children:[u.jsx("button",{className:"text-zinc-500 hover:text-white transition-colors",children:u.jsx(W1,{size:16})}),u.jsx("button",{className:"text-zinc-300 hover:text-white transition-colors",children:u.jsx(I1,{size:20})}),u.jsx("button",{className:"w-10 h-10 bg-white rounded-full flex items-center justify-center hover:scale-110 active:scale-95 transition-all shadow-lg shadow-white/10",onClick:()=>_(!j),children:j?u.jsx(Ki,{size:20,className:"fill-black text-black"}):u.jsx(Et,{size:20,className:"fill-black text-black ml-1"})}),u.jsx("button",{className:"text-zinc-300 hover:text-white transition-colors",children:u.jsx(lv,{size:20})}),u.jsx("button",{className:"text-zinc-500 hover:text-white transition-colors",children:u.jsx(B1,{size:16})})]}),u.jsxs("div",{className:"w-full flex items-center gap-3 text-xs text-zinc-500 font-mono hidden md:flex",children:[u.jsx("span",{className:"w-8 text-right",children:U(w)}),u.jsxs("div",{className:"relative flex-1 h-4 flex items-center group/slider",children:[u.jsx("div",{className:"absolute left-0 right-0 h-1 bg-zinc-800 rounded-full overflow-hidden",children:u.jsx("div",{className:"h-full bg-indigo-500 rounded-full",style:{width:`${w/(M||100)*100}%`}})}),u.jsx("input",{type:"range",min:0,max:M||100,value:w,onChange:B,className:"absolute inset-0 w-full h-full opacity-0 cursor-pointer"}),u.jsx("div",{className:"w-3 h-3 bg-white rounded-full absolute pointer-events-none opacity-0 group-hover/slider:opacity-100 transition-opacity shadow-sm",style:{left:`${w/(M||100)*100}%`,transform:"translateX(-50%)"}})]}),u.jsx("span",{className:"w-8",children:U(M)})]})]}),u.jsxs("div",{className:"w-1/3 flex justify-end items-center gap-3 hidden md:flex",children:[u.jsx(dv,{size:18,className:"text-zinc-400"}),u.jsx("div",{className:"w-20 h-1 bg-zinc-800 rounded-full overflow-hidden cursor-pointer group hover:h-1.5 transition-all",children:u.jsx("div",{className:"bg-zinc-500 group-hover:bg-indigo-400 w-2/3 h-full rounded-full transition-colors"})})]})]}):null},pv=({songs:o,onBack:j,onSubmit:_})=>{const[d,A]=X.useState(""),[w,O]=X.useState(1.2);return u.jsxs("div",{className:"animate-in slide-in-from-right duration-300",children:[u.jsxs("button",{onClick:j,className:"flex items-center text-zinc-400 hover:text-white mb-6 gap-2",children:[u.jsx(Tn,{size:16})," 返回工具箱"]}),u.jsx("h3",{className:"text-2xl font-bold mb-6",children:"调整速度 (Speed)"}),u.jsxs("div",{className:"space-y-6 max-w-xl",children:[u.jsxs("div",{children:[u.jsx("label",{className:"block text-sm text-zinc-400 mb-2",children:"选择歌曲"}),u.jsxs("select",{className:"w-full bg-zinc-900 border border-zinc-700 rounded-lg p-3",value:d,onChange:M=>A(M.target.value),children:[u.jsx("option",{value:"",children:"请选择..."}),o.map(M=>u.jsx("option",{value:M.id,children:M.title},M.id))]})]}),u.jsxs("div",{children:[u.jsxs("label",{className:"block text-sm text-zinc-400 mb-2",children:["速度系数: ",w,"x"]}),u.jsx("input",{type:"range",min:"0.5",max:"2.0",step:"0.1",value:w,onChange:M=>O(parseFloat(M.target.value)),className:"w-full"}),u.jsxs("div",{className:"flex justify-between text-xs text-zinc-500 mt-1",children:[u.jsx("span",{children:"0.5x"}),u.jsx("span",{children:"1.0x"}),u.jsx("span",{children:"2.0x"})]})]}),u.jsx("button",{onClick:()=>_("speed",{songId:d,speed:w}),className:"w-full bg-indigo-600 py-3 rounded-lg font-bold hover:bg-indigo-500",children:"确认调整"})]})]})},zv=({songs:o,onBack:j,onSubmit:_})=>{const[d,A]=X.useState(""),[w,O]=X.useState(0),[M,T]=X.useState(30);return u.jsxs("div",{className:"animate-in slide-in-from-right duration-300",children:[u.jsxs("button",{onClick:j,className:"flex items-center text-zinc-400 hover:text-white mb-6 gap-2",children:[u.jsx(Tn,{size:16})," 返回工具箱"]}),u.jsx("h3",{className:"text-2xl font-bold mb-6",children:"裁剪音乐 (Crop)"}),u.jsxs("div",{className:"space-y-6 max-w-xl",children:[u.jsxs("div",{children:[u.jsx("label",{className:"block text-sm text-zinc-400 mb-2",children:"选择歌曲"}),u.jsxs("select",{className:"w-full bg-zinc-900 border border-zinc-700 rounded-lg p-3",value:d,onChange:y=>A(y.target.value),children:[u.jsx("option",{value:"",children:"请选择..."}),o.map(y=>u.jsx("option",{value:y.id,children:y.title},y.id))]})]}),u.jsxs("div",{className:"flex gap-4",children:[u.jsxs("div",{className:"flex-1",children:[u.jsx("label",{className:"block text-sm text-zinc-400 mb-2",children:"开始时间 (s)"}),u.jsx("input",{type:"number",value:w,onChange:y=>O(Number(y.target.value)),className:"w-full bg-zinc-900 border border-zinc-700 rounded p-2"})]}),u.jsxs("div",{className:"flex-1",children:[u.jsx("label",{className:"block text-sm text-zinc-400 mb-2",children:"结束时间 (s)"}),u.jsx("input",{type:"number",value:M,onChange:y=>T(Number(y.target.value)),className:"w-full bg-zinc-900 border border-zinc-700 rounded p-2"})]})]}),u.jsx("button",{onClick:()=>_("crop",{songId:d,start:w,end:M}),className:"w-full bg-indigo-600 py-3 rounded-lg font-bold hover:bg-indigo-500",children:"确认裁剪"})]})]})},Lr=({songs:o,onBack:j,mode:_,onSubmit:d})=>{const[A,w]=X.useState(""),O=_==="vocals"?"纯音乐配人声 (Add Vocals)":"清唱配乐 (Add Instrumental)";return u.jsxs("div",{className:"animate-in slide-in-from-right duration-300",children:[u.jsxs("button",{onClick:j,className:"flex items-center text-zinc-400 hover:text-white mb-6 gap-2",children:[u.jsx(Tn,{size:16})," 返回工具箱"]}),u.jsx("h3",{className:"text-2xl font-bold mb-6",children:O}),u.jsx("div",{className:"p-4 bg-zinc-900 rounded-xl mb-6 border border-zinc-800",children:u.jsx("p",{className:"text-sm text-zinc-300",children:_==="vocals"?"该工具将提取所选歌曲的伴奏,并允许你叠加新的人声。":"该工具将提取所选歌曲的人声,并重新生成背景音乐。"})}),u.jsxs("div",{className:"space-y-6 max-w-xl",children:[u.jsxs("div",{children:[u.jsx("label",{className:"block text-sm text-zinc-400 mb-2",children:"选择源文件 (Select Source)"}),u.jsxs("select",{className:"w-full bg-zinc-900 border border-zinc-700 rounded-lg p-3",value:A,onChange:M=>w(M.target.value),children:[u.jsx("option",{value:"",children:"请选择库中歌曲..."}),o.map(M=>u.jsx("option",{value:M.id,children:M.title},M.id))]})]}),u.jsx("button",{onClick:()=>d(_,{songId:A}),className:"w-full bg-indigo-600 py-3 rounded-lg font-bold hover:bg-indigo-500",children:"开始处理"})]})]})},jv=({songs:o,onBack:j})=>{const[_,d]=X.useState("");return u.jsxs("div",{className:"animate-in slide-in-from-right duration-300 h-full flex flex-col",children:[u.jsxs("div",{className:"flex-none",children:[u.jsxs("button",{onClick:j,className:"flex items-center text-zinc-400 hover:text-white mb-6 gap-2",children:[u.jsx(Tn,{size:16})," 返回工具箱"]}),u.jsx("h3",{className:"text-2xl font-bold mb-6",children:"歌词时间线 (Timing Editor)"})]}),u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-8 flex-1 min-h-0",children:[u.jsxs("div",{className:"space-y-4",children:[u.jsx("label",{className:"block text-sm text-zinc-400",children:"选择歌曲"}),u.jsxs("select",{className:"w-full bg-zinc-900 border border-zinc-700 rounded-lg p-3",value:_,onChange:A=>d(A.target.value),children:[u.jsx("option",{value:"",children:"请选择..."}),o.map(A=>u.jsx("option",{value:A.id,children:A.title},A.id))]}),u.jsxs("div",{className:"bg-zinc-900 rounded-xl p-4 h-64 md:h-96 overflow-y-auto border border-zinc-800 font-mono text-sm",children:[u.jsxs("div",{className:"flex gap-4 py-2 border-b border-zinc-800 items-center",children:[u.jsx("span",{className:"text-indigo-400",children:"[00:12.5]"}),u.jsx("span",{className:"text-white",children:"Neon lights in the rain..."})]}),u.jsxs("div",{className:"flex gap-4 py-2 border-b border-zinc-800 items-center",children:[u.jsx("span",{className:"text-indigo-400",children:"[00:18.2]"}),u.jsx("span",{className:"text-white",children:"Walking down the street alone..."})]})]})]}),u.jsx("div",{className:"bg-zinc-900 rounded-xl p-8 flex items-center justify-center border border-zinc-800 border-dashed",children:u.jsxs("div",{className:"text-center text-zinc-500",children:[u.jsx(Ji,{size:48,className:"mx-auto mb-4 opacity-50"}),u.jsx("p",{children:"在左侧选择歌曲以加载歌词"}),u.jsx("p",{className:"text-xs mt-2",children:"支持拖拽波形调整时间点 (Preview)"})]})})]})]})},Nv=({songs:o,onTaskCreated:j})=>{const[_,d]=X.useState(null),A=async(M,T)=>{if(!T.songId){alert("请先选择一首歌曲");return}try{const y=await Ue.processAudio({songId:T.songId,operation:M,params:T});j(y),d(null),alert("任务已提交!请在列表查看进度。")}catch{alert("Error processing")}},w=[{id:"upload",icon:cv,label:"上传素材 (Upload)",desc:"上传音频到库",action:()=>{var M;return(M=document.getElementById("global-upload"))==null?void 0:M.click()}},{id:"remix-vocals",icon:M1,label:"纯音乐配人声 (Add Vocals)",desc:"为伴奏添加AI演唱"},{id:"remix-inst",icon:Ss,label:"清唱配乐 (Add Instrumental)",desc:"为人声添加背景音乐"},{id:"crop",icon:G1,label:"裁剪音乐 (Crop)",desc:"剪辑最精彩的片段"},{id:"speed",icon:Gh,label:"调整速度 (Speed)",desc:"更改BPM和播放速度"},{id:"timing",icon:Ji,label:"歌词时间线 (Timing)",desc:"精确调整歌词同步"}],O=async M=>{var T;(T=M.target.files)!=null&&T[0]&&(await Ue.uploadAudio(M.target.files[0]),alert("上传成功!"))};return _==="speed"?u.jsx(pv,{songs:o,onBack:()=>d(null),onSubmit:A}):_==="crop"?u.jsx(zv,{songs:o,onBack:()=>d(null),onSubmit:A}):_==="remix-vocals"?u.jsx(Lr,{mode:"vocals",songs:o,onBack:()=>d(null),onSubmit:A}):_==="remix-inst"?u.jsx(Lr,{mode:"instrumental",songs:o,onBack:()=>d(null),onSubmit:A}):_==="timing"?u.jsx(jv,{songs:o,onBack:()=>d(null)}):u.jsxs("div",{className:"p-8 max-w-6xl mx-auto",children:[u.jsx("h2",{className:"text-3xl font-bold text-white mb-8",children:"工具箱 (Tools)"}),u.jsx("input",{type:"file",id:"global-upload",className:"hidden",onChange:O}),u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:[w.map(M=>u.jsxs("button",{className:"flex flex-col items-start p-6 bg-zinc-900 border border-zinc-800 hover:border-indigo-500 hover:bg-zinc-800 rounded-xl transition-all group text-left relative overflow-hidden",onClick:()=>M.action?M.action():d(M.id),children:[u.jsx("div",{className:"bg-zinc-800 p-3 rounded-lg mb-4 group-hover:bg-indigo-600 transition-colors relative z-10",children:u.jsx(M.icon,{className:"text-white",size:24})}),u.jsx("h3",{className:"text-lg font-bold text-white mb-2 relative z-10",children:M.label}),u.jsx("p",{className:"text-sm text-zinc-400 relative z-10",children:M.desc}),u.jsx("div",{className:"absolute -bottom-4 -right-4 w-24 h-24 bg-white/5 rounded-full group-hover:scale-150 transition-transform"})]},M.id)),u.jsx("div",{className:"p-6 border border-dashed border-zinc-800 rounded-xl flex items-center justify-center text-center",children:u.jsx("p",{className:"text-zinc-500 text-sm",children:'提示: 歌曲续写功能请在"我的曲库"中点击具体歌曲的 "Extend" 按钮。'})})]})]})},Sv=({songs:o,onPlay:j,onNavigateToCreate:_,onNavigateToDetail:d})=>{const A=o.slice(0,3),w=o;return u.jsxs("div",{className:"p-6 md:p-10 space-y-12 max-w-7xl mx-auto",children:[u.jsxs("div",{className:"relative rounded-3xl overflow-hidden bg-black p-8 md:p-16 border border-white/10 shadow-2xl group",children:[u.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))] from-purple-900/40 via-zinc-900 to-black z-0"}),u.jsx("div",{className:"absolute -top-24 -left-24 w-96 h-96 bg-indigo-600/20 rounded-full blur-3xl opacity-50 animate-pulse"}),u.jsx("div",{className:"absolute -bottom-24 -right-24 w-96 h-96 bg-pink-600/20 rounded-full blur-3xl opacity-50 animate-pulse delay-700"}),u.jsxs("div",{className:"relative z-10 max-w-3xl",children:[u.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1 rounded-full bg-white/5 border border-white/10 backdrop-blur-md mb-6 animate-in slide-in-from-bottom-2 duration-700",children:[u.jsx(ps,{size:14,className:"text-indigo-400"}),u.jsx("span",{className:"text-xs font-medium text-indigo-200",children:"朴见潮音 V3.5 现已上线"})]}),u.jsxs("h1",{className:"text-4xl md:text-6xl font-bold text-white mb-6 leading-tight tracking-tight",children:["用 AI 释放你的 ",u.jsx("br",{}),u.jsx("span",{className:"text-transparent bg-clip-text bg-gradient-to-r from-indigo-400 via-purple-400 to-pink-400 drop-shadow-sm",children:"无限音乐创造力"})]}),u.jsx("p",{className:"text-zinc-400 text-lg mb-10 max-w-lg leading-relaxed",children:"无需乐理知识,只需一段文字描述,即可生成广播级音质的完整歌曲。探索 AI 音乐的无限可能。"}),u.jsxs("div",{className:"flex flex-wrap gap-4",children:[u.jsxs("button",{onClick:_,className:"px-8 py-4 bg-white text-black font-bold rounded-2xl hover:bg-zinc-200 transition-all shadow-[0_0_20px_rgba(255,255,255,0.15)] hover:shadow-[0_0_30px_rgba(255,255,255,0.25)] flex items-center gap-2 transform hover:-translate-y-1 active:scale-95",children:[u.jsx(ps,{size:20}),"开始创作"]}),u.jsxs("button",{className:"px-8 py-4 bg-white/5 text-white font-bold rounded-2xl hover:bg-white/10 backdrop-blur-md border border-white/10 transition-all flex items-center gap-2 group/btn",children:["浏览广场",u.jsx(kr,{size:18,className:"group-hover/btn:translate-x-1 transition-transform"})]})]})]})]}),u.jsxs("section",{children:[u.jsxs("div",{className:"flex items-center gap-3 mb-8",children:[u.jsx("div",{className:"p-2 bg-orange-500/10 rounded-lg",children:u.jsx(o1,{className:"text-orange-500",size:24})}),u.jsxs("div",{children:[u.jsx("h2",{className:"text-2xl font-bold text-white",children:"热门趋势 (Trending)"}),u.jsx("p",{className:"text-sm text-zinc-500",children:"社区最受欢迎的作品"})]})]}),u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:A.map((O,M)=>u.jsx("div",{onClick:()=>d(O),className:"group relative bg-zinc-900/40 backdrop-blur-sm rounded-2xl overflow-hidden cursor-pointer border border-white/5 hover:border-indigo-500/30 hover:bg-zinc-800/60 transition-all duration-300 hover:shadow-2xl hover:shadow-indigo-500/10",children:u.jsxs("div",{className:"flex items-center p-4 gap-4",children:[u.jsxs("div",{className:"relative w-24 h-24 flex-shrink-0 rounded-xl overflow-hidden shadow-lg",children:[u.jsx("img",{src:O.imageUrl,alt:O.title,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-110"}),u.jsx("div",{className:"absolute inset-0 bg-black/30 opacity-0 group-hover:opacity-100 transition-opacity flex items-center justify-center",children:u.jsx("button",{onClick:T=>{T.stopPropagation(),j(O)},className:"w-10 h-10 bg-white/90 rounded-full flex items-center justify-center hover:scale-110 transition-transform shadow-lg",children:u.jsx(Et,{className:"fill-black text-black ml-1",size:16})})}),u.jsxs("div",{className:"absolute top-1 left-1 bg-black/60 backdrop-blur-sm px-1.5 py-0.5 rounded text-[10px] text-white font-bold border border-white/10",children:["#",M+1]})]}),u.jsxs("div",{className:"flex-1 min-w-0",children:[u.jsx("h3",{className:"text-white font-bold truncate text-lg mb-1 group-hover:text-indigo-400 transition-colors",children:O.title}),u.jsx("p",{className:"text-zinc-500 text-sm truncate mb-2",children:O.tags}),u.jsxs("div",{className:"flex items-center gap-3",children:[u.jsxs("div",{className:"flex items-center gap-1 text-xs text-zinc-400",children:[u.jsx(Et,{size:12})," 12.5k"]}),u.jsx("div",{className:"h-3 w-[1px] bg-zinc-800"}),u.jsx("span",{className:"text-xs text-indigo-400 bg-indigo-500/10 px-2 py-0.5 rounded border border-indigo-500/20",children:O.model})]})]})]})},O.id))})]}),u.jsxs("section",{children:[u.jsxs("div",{className:"flex items-center justify-between mb-8",children:[u.jsxs("div",{className:"flex items-center gap-3",children:[u.jsx("div",{className:"p-2 bg-indigo-500/10 rounded-lg",children:u.jsx(av,{className:"text-indigo-400",size:24})}),u.jsxs("div",{children:[u.jsx("h2",{className:"text-2xl font-bold text-white",children:"最新发布 (New Arrivals)"}),u.jsx("p",{className:"text-sm text-zinc-500",children:"刚刚生成的作品"})]})]}),u.jsx("button",{className:"text-sm font-medium text-zinc-400 hover:text-white transition-colors",onClick:_,children:"查看更多"})]}),u.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-5",children:w.slice(0,10).map(O=>u.jsxs("div",{onClick:()=>d(O),className:"group bg-zinc-900/30 hover:bg-zinc-800/60 p-3 rounded-2xl border border-white/5 hover:border-white/10 transition-all cursor-pointer",children:[u.jsxs("div",{className:"relative aspect-square rounded-xl overflow-hidden mb-3 shadow-lg bg-zinc-800",children:[u.jsx("img",{src:O.imageUrl,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"}),u.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/60 via-transparent to-transparent opacity-60"}),u.jsx("div",{className:"absolute bottom-2 right-2 flex gap-1 opacity-0 group-hover:opacity-100 transition-all translate-y-2 group-hover:translate-y-0 duration-300",children:u.jsx("button",{onClick:M=>{M.stopPropagation(),j(O)},className:"w-8 h-8 bg-white rounded-full flex items-center justify-center hover:scale-110 transition-transform shadow-lg",children:u.jsx(Et,{className:"fill-black text-black ml-0.5",size:14})})})]}),u.jsx("h4",{className:"text-zinc-100 font-bold truncate text-sm mb-1 group-hover:text-indigo-300 transition-colors",children:O.title}),u.jsx("p",{className:"text-zinc-500 text-xs truncate",children:O.tags})]},O.id))})]})]})},_v=({song:o,currentPlayingSong:j,isPlaying:_,relatedSongs:d,onPlayPause:A,onBack:w,onExtend:O,onNavigateToSong:M})=>{const[T,y]=X.useState(!1),[B,U]=X.useState(!1),[V,fl]=X.useState(!1),[pl,xl]=X.useState(!1),[$l,wl]=X.useState(null),Gl=X.useRef(null),yl=X.useRef(null),_l=X.useRef(null),Cl=_&&(j==null?void 0:j.id)===o.id;X.useEffect(()=>{const Y=I=>{Gl.current&&!Gl.current.contains(I.target)&&U(!1),yl.current&&!yl.current.contains(I.target)&&fl(!1),_l.current&&!_l.current.contains(I.target)&&xl(!1)};return document.addEventListener("mousedown",Y),()=>document.removeEventListener("mousedown",Y)},[]);const zl=async Y=>{wl(Y),fl(!1),U(!1);try{const I=Y==="wav"?await Ue.getWavUrl(o.id):await Ue.getVideoUrl(o.id),G=document.createElement("a");G.href=I,G.download=`suno_${Y}_${o.id}.${Y==="wav"?"mp3":"mp4"}`,document.body.appendChild(G),G.click(),document.body.removeChild(G)}catch{alert("Download failed")}finally{wl(null)}},K=()=>{navigator.clipboard.writeText(window.location.href),alert("链接已复制到剪贴板!"),U(!1),xl(!1)},Al=Y=>{const I=encodeURIComponent(window.location.href),G=encodeURIComponent(`Check out this song I generated on Suno AI: ${o.title}`);let jl="";if(Y==="twitter")jl=`https://twitter.com/intent/tweet?text=${G}&url=${I}`;else if(Y==="facebook")jl=`https://www.facebook.com/sharer/sharer.php?u=${I}`;else if(Y==="instagram"){K();return}jl&&window.open(jl,"_blank","width=600,height=400"),xl(!1)},Wl=()=>{y(!T)};return u.jsxs("div",{className:"relative min-h-full pb-32 animate-in slide-in-from-right duration-300",children:[u.jsxs("div",{className:"absolute top-0 left-0 right-0 h-[500px] overflow-hidden -z-10",children:[u.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-transparent to-zinc-950 z-10"}),u.jsx("img",{src:o.imageUrl,className:"w-full h-full object-cover blur-3xl opacity-30"})]}),u.jsxs("div",{className:"p-4 md:p-8 max-w-[1600px] mx-auto",children:[u.jsxs("button",{onClick:w,className:"flex items-center gap-2 text-zinc-300 hover:text-white mb-8 bg-black/20 backdrop-blur-md px-4 py-2 rounded-full transition-colors w-fit border border-white/5",children:[u.jsx(Tn,{size:18}),u.jsx("span",{children:"返回库 (Back)"})]}),u.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-[320px_1fr] xl:grid-cols-[320px_1fr_350px] gap-8 xl:gap-12",children:[u.jsxs("div",{className:"flex flex-col gap-6",children:[u.jsxs("div",{className:"aspect-square rounded-2xl overflow-hidden shadow-2xl border border-white/10 relative group bg-black",children:[u.jsx("img",{src:o.imageUrl,className:"w-full h-full object-cover"}),u.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-black/20 group-hover:bg-black/40 transition-colors",children:u.jsx("button",{onClick:()=>A(o),className:"w-16 h-16 bg-white/20 backdrop-blur-md rounded-full flex items-center justify-center hover:scale-110 transition-transform cursor-pointer",children:Cl?u.jsx(Ki,{className:"fill-white text-white",size:32}):u.jsx(Et,{className:"fill-white text-white ml-1",size:32})})})]}),u.jsxs("div",{className:"flex flex-col gap-3",children:[u.jsxs("button",{onClick:()=>A(o),className:"w-full py-4 bg-indigo-600 hover:bg-indigo-500 text-white font-bold rounded-xl flex items-center justify-center gap-2 text-lg shadow-lg shadow-indigo-600/20 transition-all active:scale-[0.98]",children:[Cl?u.jsx(Ki,{className:"fill-white"}):u.jsx(Et,{className:"fill-white"}),Cl?"暂停播放":"立即播放"]}),u.jsxs("div",{className:"flex gap-3",children:[u.jsxs("button",{onClick:O,className:"flex-1 py-3 bg-zinc-800 hover:bg-zinc-700 text-white font-medium rounded-xl flex items-center justify-center gap-2 transition-colors border border-zinc-700",children:[u.jsx(An,{size:18}),"续写"]}),u.jsxs("div",{className:"relative flex-1",ref:yl,children:[u.jsxs("button",{onClick:()=>fl(!V),className:"w-full py-3 bg-zinc-800 hover:bg-zinc-700 text-white font-medium rounded-xl flex items-center justify-center gap-2 transition-colors border border-zinc-700",disabled:!!$l,children:[$l?u.jsx("div",{className:"animate-spin rounded-full h-4 w-4 border-2 border-white border-t-transparent"}):u.jsx(Gr,{size:18}),"下载"]}),V&&u.jsxs("div",{className:"absolute bottom-full left-0 right-0 mb-2 bg-zinc-900 border border-zinc-700 rounded-xl shadow-xl overflow-hidden z-20 animate-in fade-in slide-in-from-bottom-2 duration-200",children:[u.jsxs("button",{onClick:()=>zl("video"),className:"w-full flex items-center gap-3 px-4 py-3 hover:bg-zinc-800 transition-colors text-left text-sm text-zinc-200",children:[u.jsx(zs,{size:16,className:"text-indigo-400"}),u.jsx("span",{children:"下载视频 (MP4)"})]}),u.jsx("div",{className:"h-[1px] bg-zinc-800 mx-2"}),u.jsxs("button",{onClick:()=>zl("wav"),className:"w-full flex items-center gap-3 px-4 py-3 hover:bg-zinc-800 transition-colors text-left text-sm text-zinc-200",children:[u.jsx(Ss,{size:16,className:"text-pink-400"}),u.jsx("span",{children:"下载音频 (WAV)"})]})]})]})]})]}),u.jsxs("div",{className:"bg-zinc-900/50 rounded-xl p-4 border border-zinc-800 space-y-4 backdrop-blur-md",children:[u.jsxs("div",{className:"flex justify-between items-center text-sm",children:[u.jsx("span",{className:"text-zinc-400",children:"时长"}),u.jsxs("span",{className:"text-white",children:[Math.floor(o.duration/60),":",(o.duration%60).toString().padStart(2,"0")]})]}),u.jsxs("div",{className:"flex justify-between items-center text-sm",children:[u.jsx("span",{className:"text-zinc-400",children:"模型"}),u.jsx("span",{className:"text-white uppercase",children:o.model})]}),u.jsxs("div",{className:"flex justify-between items-center text-sm",children:[u.jsx("span",{className:"text-zinc-400",children:"创建时间"}),u.jsx("span",{className:"text-white",children:new Date(o.createdAt).toLocaleDateString()})]}),u.jsxs("div",{className:"flex justify-between items-center text-sm",children:[u.jsx("span",{className:"text-zinc-400",children:"状态"}),u.jsx("span",{className:`px-2 py-0.5 rounded text-xs font-bold ${o.status===se.COMPLETED?"bg-green-500/20 text-green-400":"bg-yellow-500/20 text-yellow-400"}`,children:o.status.toUpperCase()})]})]})]}),u.jsxs("div",{className:"space-y-8 min-w-0",children:[u.jsxs("div",{children:[u.jsxs("div",{className:"flex items-start justify-between gap-4",children:[u.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-white mb-4 leading-tight",children:o.title}),u.jsxs("div",{className:"flex items-center gap-2 bg-zinc-900/80 backdrop-blur-md p-1.5 rounded-xl border border-zinc-800 shrink-0",children:[u.jsx("button",{onClick:Wl,className:`p-2 rounded-lg transition-all ${T?"text-pink-500 bg-pink-500/10":"text-zinc-400 hover:text-white hover:bg-white/5"}`,title:"收藏",children:u.jsx(r1,{size:20,className:T?"fill-current":""})}),u.jsxs("div",{className:"relative",ref:_l,children:[u.jsx("button",{onClick:()=>xl(!pl),className:`p-2 rounded-lg transition-all ${pl?"text-white bg-white/10":"text-zinc-400 hover:text-white hover:bg-white/5"}`,title:"分享",children:u.jsx(k1,{size:20})}),pl&&u.jsxs("div",{className:"absolute top-full right-0 mt-2 w-60 bg-zinc-900 border border-zinc-700 rounded-xl shadow-xl overflow-hidden z-20 animate-in fade-in zoom-in-95 duration-200",children:[u.jsxs("div",{className:"p-3 border-b border-zinc-800",children:[u.jsx("p",{className:"text-xs text-zinc-500 font-medium mb-2",children:"分享到社交媒体"}),u.jsxs("div",{className:"flex gap-2",children:[u.jsx("button",{onClick:()=>Al("twitter"),className:"p-2 bg-[#1DA1F2]/10 text-[#1DA1F2] hover:bg-[#1DA1F2]/20 rounded-lg transition-colors flex-1 flex justify-center items-center",title:"Twitter / X",children:u.jsx(iv,{size:18})}),u.jsx("button",{onClick:()=>Al("facebook"),className:"p-2 bg-[#4267B2]/10 text-[#4267B2] hover:bg-[#4267B2]/20 rounded-lg transition-colors flex-1 flex justify-center items-center",title:"Facebook",children:u.jsx(c1,{size:18})}),u.jsx("button",{onClick:()=>Al("instagram"),className:"p-2 bg-gradient-to-tr from-[#f9ce34] via-[#ee2a7b] to-[#6228d7] text-white hover:opacity-90 rounded-lg transition-opacity flex-1 flex justify-center items-center relative overflow-hidden",title:"Instagram (复制链接)",children:u.jsx(v1,{size:18})})]})]}),u.jsxs("button",{onClick:K,className:"w-full flex items-center gap-3 px-4 py-3 hover:bg-zinc-800 transition-colors text-left text-sm text-zinc-300 hover:text-white",children:[u.jsx(Qr,{size:16})," 复制链接"]})]})]}),u.jsxs("div",{className:"relative",ref:Gl,children:[u.jsx("button",{onClick:()=>U(!B),className:`p-2 rounded-lg transition-all ${B?"text-white bg-white/10":"text-zinc-400 hover:text-white hover:bg-white/5"}`,children:u.jsx(i1,{size:20})}),B&&u.jsxs("div",{className:"absolute top-full right-0 mt-2 w-48 bg-zinc-900 border border-zinc-700 rounded-xl shadow-xl overflow-hidden z-20 animate-in fade-in zoom-in-95 duration-200",children:[u.jsxs("button",{onClick:K,className:"w-full flex items-center gap-3 px-4 py-3 hover:bg-zinc-800 transition-colors text-left text-sm text-zinc-300 hover:text-white",children:[u.jsx(Qr,{size:16})," 复制链接"]}),u.jsxs("button",{onClick:()=>zl("wav"),className:"w-full flex items-center gap-3 px-4 py-3 hover:bg-zinc-800 transition-colors text-left text-sm text-zinc-300 hover:text-white",children:[u.jsx(Gr,{size:16})," 下载音频"]}),u.jsxs("button",{onClick:()=>zl("video"),className:"w-full flex items-center gap-3 px-4 py-3 hover:bg-zinc-800 transition-colors text-left text-sm text-zinc-300 hover:text-white",children:[u.jsx(zs,{size:16})," 下载视频"]})]})]})]})]}),u.jsx("div",{className:"flex flex-wrap gap-2 mb-6",children:o.tags.split(",").map((Y,I)=>u.jsxs("span",{className:"px-3 py-1 rounded-full bg-zinc-800 text-zinc-300 text-sm border border-zinc-700 hover:border-indigo-500/50 transition-colors cursor-default",children:["#",Y.trim()]},I))})]}),u.jsxs("div",{className:"bg-zinc-900/30 border border-zinc-800 rounded-2xl p-6 md:p-8 backdrop-blur-sm relative",children:[u.jsx("div",{className:"absolute top-4 right-4",children:u.jsx("div",{className:"p-2 bg-black/20 rounded-lg",children:u.jsx(Ji,{size:20,className:"text-zinc-500"})})}),u.jsxs("h3",{className:"text-xl font-bold text-white mb-6 flex items-center gap-2",children:[u.jsx("span",{className:"text-indigo-400",children:"///"}),"歌词 (Lyrics)"]}),o.isInstrumental?u.jsxs("div",{className:"text-zinc-500 italic text-center py-10 flex flex-col items-center gap-2",children:[u.jsx(An,{size:40,className:"opacity-20 mb-2"}),u.jsx("p",{children:"此曲目为纯音乐 (Instrumental)"}),u.jsx("p",{className:"text-xs",children:"无歌词内容"})]}):u.jsx("div",{className:"space-y-6 font-mono text-zinc-300 leading-relaxed whitespace-pre-wrap text-base",children:o.lyrics||(o.prompt?`Prompt used: ${o.prompt}`:"暂无歌词内容...")})]})]}),u.jsxs("div",{className:"hidden xl:flex flex-col h-[calc(100vh-140px)] sticky top-0",children:[u.jsxs("h3",{className:"text-lg font-bold text-white mb-4 flex items-center gap-2 px-1",children:[u.jsx(An,{size:18,className:"text-indigo-500"}),"播放列表"]}),u.jsx("div",{className:"flex-1 overflow-y-auto pr-2 space-y-3 custom-scrollbar",children:d.map(Y=>{const I=Y.id===o.id;return _&&(j==null||j.id,Y.id),u.jsxs("div",{onClick:()=>M(Y),className:`flex items-center gap-3 p-2 rounded-xl transition-all cursor-pointer group border ${I?"bg-zinc-800 border-indigo-500/50":"hover:bg-zinc-900 border-transparent hover:border-zinc-800"}`,children:[u.jsxs("div",{className:"relative w-12 h-12 rounded-lg overflow-hidden shrink-0 bg-black",children:[u.jsx("img",{src:Y.imageUrl,className:`w-full h-full object-cover ${I?"opacity-50":""}`}),I&&u.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:u.jsx("div",{className:"w-2 h-2 bg-indigo-500 rounded-full animate-pulse"})}),u.jsx("div",{className:"absolute inset-0 bg-black/40 opacity-0 group-hover:opacity-100 flex items-center justify-center transition-opacity",children:u.jsx(Et,{size:16,className:"fill-white text-white"})})]}),u.jsxs("div",{className:"min-w-0 flex-1",children:[u.jsx("h4",{className:`text-sm font-bold truncate ${I?"text-indigo-400":"text-zinc-200"}`,children:Y.title}),u.jsxs("div",{className:"flex items-center justify-between mt-1",children:[u.jsx("p",{className:"text-xs text-zinc-500 truncate max-w-[80px]",children:Y.tags}),u.jsxs("span",{className:"text-[10px] text-zinc-600 font-mono",children:[Math.floor(Y.duration/60),":",(Y.duration%60).toString().padStart(2,"0")]})]})]})]},Y.id)})})]})]})]})]})},Ev=({onLogin:o,onCancel:j})=>{const[_,d]=X.useState(!1),[A,w]=X.useState(!1),[O,M]=X.useState({email:"",password:"",name:""}),T=async y=>{y.preventDefault(),w(!0),setTimeout(()=>{w(!1);const B={id:"u_"+Date.now(),name:_?O.name:"朴见音乐人",email:O.email,avatarUrl:`https://api.dicebear.com/7.x/avataaars/svg?seed=${O.email}`,credits:500,plan:"free",memberSince:new Date().toISOString()};o(B)},1500)};return u.jsx("div",{className:"w-full h-full flex items-center justify-center p-4",children:u.jsxs("div",{className:"w-full max-w-md bg-zinc-900/50 backdrop-blur-xl border border-white/10 rounded-3xl p-8 shadow-2xl animate-in fade-in zoom-in-95 duration-300",children:[u.jsxs("div",{className:"text-center mb-8",children:[u.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-full bg-indigo-500/10 mb-4",children:u.jsx($i,{className:"text-indigo-500 w-8 h-8"})}),u.jsx("h2",{className:"text-3xl font-bold text-white mb-2",children:_?"加入朴见潮音":"欢迎回来"}),u.jsx("p",{className:"text-zinc-400 text-sm",children:_?"释放无限音乐创造力":"登录以继续您的创作之旅"})]}),u.jsxs("form",{onSubmit:T,className:"space-y-4",children:[_&&u.jsxs("div",{className:"space-y-2",children:[u.jsx("label",{className:"text-xs font-medium text-zinc-400 ml-1",children:"昵称 (Nickname)"}),u.jsxs("div",{className:"relative",children:[u.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none text-zinc-500",children:u.jsx(Wr,{size:18})}),u.jsx("input",{type:"text",required:!0,value:O.name,onChange:y=>M({...O,name:y.target.value}),className:"w-full bg-black/40 border border-zinc-700 rounded-xl py-3 pl-10 pr-4 text-white focus:ring-2 focus:ring-indigo-500 focus:border-transparent outline-none transition-all",placeholder:"您的称呼"})]})]}),u.jsxs("div",{className:"space-y-2",children:[u.jsx("label",{className:"text-xs font-medium text-zinc-400 ml-1",children:"邮箱 (Email)"}),u.jsxs("div",{className:"relative",children:[u.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none text-zinc-500",children:u.jsx(_1,{size:18})}),u.jsx("input",{type:"email",required:!0,value:O.email,onChange:y=>M({...O,email:y.target.value}),className:"w-full bg-black/40 border border-zinc-700 rounded-xl py-3 pl-10 pr-4 text-white focus:ring-2 focus:ring-indigo-500 focus:border-transparent outline-none transition-all",placeholder:"name@example.com"})]})]}),u.jsxs("div",{className:"space-y-2",children:[u.jsx("label",{className:"text-xs font-medium text-zinc-400 ml-1",children:"密码 (Password)"}),u.jsxs("div",{className:"relative",children:[u.jsx("div",{className:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none text-zinc-500",children:u.jsx(p1,{size:18})}),u.jsx("input",{type:"password",required:!0,value:O.password,onChange:y=>M({...O,password:y.target.value}),className:"w-full bg-black/40 border border-zinc-700 rounded-xl py-3 pl-10 pr-4 text-white focus:ring-2 focus:ring-indigo-500 focus:border-transparent outline-none transition-all",placeholder:"••••••••"})]})]}),!_&&u.jsx("div",{className:"flex justify-end",children:u.jsx("button",{type:"button",className:"text-xs text-indigo-400 hover:text-indigo-300",children:"忘记密码?"})}),u.jsx("button",{type:"submit",disabled:A,className:"w-full py-3 bg-gradient-to-r from-indigo-600 to-purple-600 hover:from-indigo-500 hover:to-purple-500 text-white font-bold rounded-xl shadow-lg shadow-indigo-500/20 flex items-center justify-center gap-2 transition-all mt-4",children:A?u.jsx("div",{className:"w-5 h-5 border-2 border-white/30 border-t-white rounded-full animate-spin"}):u.jsxs(u.Fragment,{children:[_?"立即注册":"登录",u.jsx(kr,{size:18})]})})]}),u.jsx("div",{className:"mt-8 text-center",children:u.jsxs("p",{className:"text-zinc-500 text-sm",children:[_?"已有账号? ":"还没有账号? ",u.jsx("button",{onClick:()=>d(!_),className:"text-white font-medium hover:underline decoration-indigo-500 underline-offset-4",children:_?"去登录":"立即注册"})]})})]})})},Av=({user:o,onLogout:j})=>u.jsxs("div",{className:"max-w-4xl mx-auto p-6 md:p-10 space-y-8 animate-in slide-in-from-bottom-4 duration-500",children:[u.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-6 p-8 bg-zinc-900/50 border border-zinc-800 rounded-3xl backdrop-blur-sm",children:[u.jsxs("div",{className:"relative",children:[u.jsx("img",{src:o.avatarUrl,alt:o.name,className:"w-24 h-24 rounded-full border-4 border-zinc-800 shadow-xl"}),o.plan!=="free"&&u.jsx("div",{className:"absolute -top-1 -right-1 bg-yellow-500 text-black p-1.5 rounded-full border-2 border-zinc-900",children:u.jsx(e1,{size:14,fill:"black"})})]}),u.jsxs("div",{className:"text-center md:text-left flex-1",children:[u.jsx("h2",{className:"text-3xl font-bold text-white mb-1",children:o.name}),u.jsx("p",{className:"text-zinc-400 mb-3",children:o.email}),u.jsxs("div",{className:"flex items-center justify-center md:justify-start gap-2 text-xs",children:[u.jsxs("span",{className:"px-3 py-1 bg-indigo-500/10 text-indigo-400 border border-indigo-500/20 rounded-full font-medium uppercase tracking-wider",children:[o.plan," Plan"]}),u.jsxs("span",{className:"text-zinc-500",children:["注册于 ",new Date(o.memberSince).toLocaleDateString()]})]})]}),u.jsxs("button",{onClick:j,className:"px-4 py-2 bg-red-500/10 text-red-400 hover:bg-red-500/20 rounded-xl border border-red-500/20 flex items-center gap-2 transition-colors text-sm font-medium",children:[u.jsx(N1,{size:16}),"退出登录"]})]}),u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[u.jsxs("div",{className:"p-6 bg-gradient-to-br from-indigo-900/40 to-purple-900/40 border border-indigo-500/30 rounded-3xl relative overflow-hidden group",children:[u.jsx("div",{className:"absolute top-0 right-0 p-32 bg-indigo-500/20 rounded-full blur-3xl -translate-y-1/2 translate-x-1/2"}),u.jsxs("div",{className:"relative z-10",children:[u.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[u.jsx("div",{className:"p-2 bg-indigo-500 rounded-lg text-white shadow-lg shadow-indigo-500/40",children:u.jsx(Ph,{size:20})}),u.jsx("h3",{className:"text-lg font-bold text-white",children:"积分余额 (Credits)"})]}),u.jsxs("div",{className:"flex items-baseline gap-1 mb-4",children:[u.jsx("span",{className:"text-4xl font-bold text-white tracking-tight",children:o.credits}),u.jsx("span",{className:"text-zinc-400 text-sm",children:"/ 500 (月度)"})]}),u.jsx("div",{className:"w-full bg-black/30 h-2 rounded-full overflow-hidden mb-4 border border-white/5",children:u.jsx("div",{className:"bg-gradient-to-r from-indigo-500 to-purple-500 h-full w-[80%]"})}),u.jsx("button",{className:"w-full py-3 bg-white text-indigo-950 font-bold rounded-xl hover:bg-indigo-50 transition-colors shadow-lg",children:"立即充值"})]})]}),u.jsxs("div",{className:"p-6 bg-zinc-900/30 border border-zinc-800 rounded-3xl",children:[u.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[u.jsx("div",{className:"p-2 bg-zinc-800 rounded-lg text-zinc-300",children:u.jsx(Z1,{size:20})}),u.jsx("h3",{className:"text-lg font-bold text-white",children:"账号设置 (Settings)"})]}),u.jsxs("div",{className:"space-y-1",children:[u.jsxs("button",{className:"w-full flex items-center justify-between p-3 hover:bg-zinc-800 rounded-xl transition-colors group",children:[u.jsxs("div",{className:"flex items-center gap-3",children:[u.jsx(Wr,{size:18,className:"text-zinc-500 group-hover:text-white"}),u.jsx("span",{className:"text-zinc-300 group-hover:text-white",children:"编辑资料"})]}),u.jsx("span",{className:"text-zinc-600 text-xs",children:"修改"})]}),u.jsxs("button",{className:"w-full flex items-center justify-between p-3 hover:bg-zinc-800 rounded-xl transition-colors group",children:[u.jsxs("div",{className:"flex items-center gap-3",children:[u.jsx(Zh,{size:18,className:"text-zinc-500 group-hover:text-white"}),u.jsx("span",{className:"text-zinc-300 group-hover:text-white",children:"通知偏好"})]}),u.jsx("span",{className:"text-zinc-600 text-xs",children:"开启"})]}),u.jsx("button",{className:"w-full flex items-center justify-between p-3 hover:bg-zinc-800 rounded-xl transition-colors group",children:u.jsxs("div",{className:"flex items-center gap-3",children:[u.jsx(J1,{size:18,className:"text-zinc-500 group-hover:text-white"}),u.jsx("span",{className:"text-zinc-300 group-hover:text-white",children:"隐私安全"})]})})]})]})]}),u.jsxs("div",{className:"space-y-6",children:[u.jsx("h3",{className:"text-xl font-bold text-white",children:"订阅计划 (Subscription)"}),u.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-4",children:["Free","Pro","Premier"].map((_,d)=>u.jsxs("div",{className:`p-6 rounded-2xl border flex flex-col ${o.plan===_.toLowerCase()?"bg-zinc-800 border-indigo-500":"bg-zinc-900/30 border-zinc-800"}`,children:[u.jsxs("div",{className:"mb-4",children:[u.jsx("span",{className:"text-lg font-bold text-white",children:_}),o.plan===_.toLowerCase()&&u.jsx("span",{className:"ml-2 text-xs bg-indigo-500 text-white px-2 py-0.5 rounded-full",children:"当前"})]}),u.jsxs("div",{className:"text-3xl font-bold text-white mb-6",children:[d===0?"$0":d===1?"$8":"$24",u.jsx("span",{className:"text-sm text-zinc-500 font-normal",children:"/mo"})]}),u.jsx("ul",{className:"space-y-3 mb-8 flex-1",children:[1,2,3].map(A=>u.jsxs("li",{className:"flex items-center gap-2 text-sm text-zinc-400",children:[u.jsx("div",{className:"w-1.5 h-1.5 bg-zinc-600 rounded-full"}),"Feature item description"]},A))}),u.jsx("button",{className:`w-full py-2.5 rounded-lg text-sm font-bold transition-colors ${o.plan===_.toLowerCase()?"bg-zinc-700 text-zinc-400 cursor-default":"bg-white text-black hover:bg-zinc-200"}`,disabled:o.plan===_.toLowerCase(),children:o.plan===_.toLowerCase()?"当前计划":"升级"})]},_))})]})]}),Tv=()=>{const[o,j]=X.useState("home"),[_,d]=X.useState(Fr),[A,w]=X.useState(!1),[O,M]=X.useState(null),[T,y]=X.useState(null),[B,U]=X.useState(!1),[V,fl]=X.useState(null),[pl,xl]=X.useState(null);X.useEffect(()=>{const Y=setInterval(async()=>{const I=_.filter(G=>G.status===se.QUEUEING||G.status===se.PROCESSING);if(I.length>0){const G=I.map(Hl=>Hl.id),jl=await Ue.fetchIds(G);d(Hl=>Hl.map(Il=>{const p=jl.find(D=>D.id===Il.id);return p&&p.status===se.COMPLETED&&Il.status!==se.COMPLETED?p:Il}))}},5e3);return()=>clearInterval(Y)},[_]);const $l=Y=>{Array.isArray(Y)?d(I=>[...Y,...I]):d(I=>[Y,...I]),j("library")},wl=Y=>{d(I=>[Y,...I]),j("library")},Gl=Y=>{(T==null?void 0:T.id)===Y.id?U(!B):(y(Y),U(!0))},yl=Y=>{xl(Y),j("create"),fl(null)},_l=Y=>{fl(Y),j("detail")},Cl=()=>{xl(null)},zl=Y=>{j(Y),Y!=="detail"&&fl(null),w(!1)},K=Y=>{M(Y),j("home")},Al=()=>{M(null),j("home")},Wl=()=>o==="auth"?u.jsx("div",{className:"h-full animate-in fade-in zoom-in-95 duration-500",children:u.jsx(Ev,{onLogin:K,onCancel:()=>j("home")})}):o==="user"?O?u.jsx(Av,{user:O,onLogout:Al}):(j("auth"),null):o==="home"?u.jsx("div",{className:"animate-in fade-in zoom-in-95 duration-500",children:u.jsx(Sv,{songs:_,onPlay:Gl,onNavigateToCreate:()=>j("create"),onNavigateToDetail:_l})}):o==="create"?u.jsx("div",{className:"animate-in fade-in zoom-in-95 duration-500",children:u.jsx(yv,{onTasksCreated:$l,extendSong:pl,onClearExtend:Cl})}):o==="library"?u.jsxs("div",{className:"animate-in fade-in slide-in-from-bottom-4 duration-500",children:[u.jsx("div",{className:"p-6 md:p-8 pb-0",children:u.jsx("h2",{className:"text-3xl font-bold text-white tracking-tight",children:"我的曲库 (Library)"})}),u.jsx(gv,{songs:_,currentSong:T,isPlaying:B,onPlay:Gl,onExtend:yl,onDetail:_l})]}):o==="tools"?u.jsx("div",{className:"animate-in fade-in duration-500",children:u.jsx(Nv,{songs:_,onTaskCreated:wl})}):o==="detail"&&V?u.jsx(_v,{song:V,currentPlayingSong:T,isPlaying:B,relatedSongs:_,onPlayPause:Y=>Gl(Y||V),onBack:()=>j("library"),onExtend:()=>yl(V),onNavigateToSong:_l}):null;return u.jsxs("div",{className:"flex h-screen bg-[#050505] text-white font-sans overflow-hidden bg-[radial-gradient(circle_at_top,_var(--tw-gradient-stops))] from-zinc-900 via-[#050505] to-[#000000]",children:[u.jsxs("div",{className:"md:hidden fixed top-0 left-0 right-0 h-16 bg-black/80 backdrop-blur-md border-b border-white/5 z-50 flex items-center justify-between px-4",children:[u.jsxs("div",{className:"flex items-center gap-2 font-bold text-lg",children:[u.jsx($i,{className:"text-indigo-500"}),"朴见潮音"]}),u.jsx("button",{onClick:()=>w(!0),className:"p-2 text-zinc-300",children:u.jsx(A1,{})})]}),u.jsx(xv,{isOpen:A,onClose:()=>w(!1),activeTab:o==="detail"?"library":o,setActiveTab:zl,user:O,onLoginClick:()=>j("auth")}),u.jsx("div",{className:"hidden md:block h-full z-50 relative shrink-0",children:u.jsx(vv,{activeTab:o==="detail"?"library":o,setActiveTab:zl,user:O,onLoginClick:()=>j("auth")})}),u.jsxs("main",{className:"flex-1 flex flex-col h-full relative overflow-hidden pt-16 md:pt-0",children:[u.jsx("div",{className:"flex-1 overflow-y-auto scrollbar-hide pb-20 scroll-smooth",children:Wl()}),u.jsx(bv,{currentSong:T,isPlaying:B,setIsPlaying:U,onSongClick:Y=>_l(Y)})]})]})},Ir=document.getElementById("root");if(!Ir)throw new Error("Could not find root element to mount to");const Mv=Dh.createRoot(Ir);Mv.render(u.jsx(_h.StrictMode,{children:u.jsx(Tv,{})}));
|