@hyxf/quotes 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,208 @@
1
+ (function(){const y=document.createElement("link").relList;if(y&&y.supports&&y.supports("modulepreload"))return;for(const z of document.querySelectorAll('link[rel="modulepreload"]'))s(z);new MutationObserver(z=>{for(const g of z)if(g.type==="childList")for(const M of g.addedNodes)M.tagName==="LINK"&&M.rel==="modulepreload"&&s(M)}).observe(document,{childList:!0,subtree:!0});function d(z){const g={};return z.integrity&&(g.integrity=z.integrity),z.referrerPolicy&&(g.referrerPolicy=z.referrerPolicy),z.crossOrigin==="use-credentials"?g.credentials="include":z.crossOrigin==="anonymous"?g.credentials="omit":g.credentials="same-origin",g}function s(z){if(z.ep)return;z.ep=!0;const g=d(z);fetch(z.href,g)}})();function Cm(c){return c&&c.__esModule&&Object.prototype.hasOwnProperty.call(c,"default")?c.default:c}var Wf={exports:{}},iu={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var im;function Fy(){if(im)return iu;im=1;var c=Symbol.for("react.transitional.element"),y=Symbol.for("react.fragment");function d(s,z,g){var M=null;if(g!==void 0&&(M=""+g),z.key!==void 0&&(M=""+z.key),"key"in z){g={};for(var N in z)N!=="key"&&(g[N]=z[N])}else g=z;return z=g.ref,{$$typeof:c,type:s,key:M,ref:z!==void 0?z:null,props:g}}return iu.Fragment=y,iu.jsx=d,iu.jsxs=d,iu}var cm;function Iy(){return cm||(cm=1,Wf.exports=Fy()),Wf.exports}var r=Iy(),$f={exports:{}},$={};/**
10
+ * @license React
11
+ * react.production.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var fm;function Py(){if(fm)return $;fm=1;var c=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),M=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),U=Symbol.for("react.activity"),V=Symbol.iterator;function at(m){return m===null||typeof m!="object"?null:(m=V&&m[V]||m["@@iterator"],typeof m=="function"?m:null)}var K={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},X=Object.assign,L={};function F(m,O,H){this.props=m,this.context=O,this.refs=L,this.updater=H||K}F.prototype.isReactComponent={},F.prototype.setState=function(m,O){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,O,"setState")},F.prototype.forceUpdate=function(m){this.updater.enqueueForceUpdate(this,m,"forceUpdate")};function Y(){}Y.prototype=F.prototype;function P(m,O,H){this.props=m,this.context=O,this.refs=L,this.updater=H||K}var mt=P.prototype=new Y;mt.constructor=P,X(mt,F.prototype),mt.isPureReactComponent=!0;var _t=Array.isArray;function Dt(){}var I={H:null,A:null,T:null,S:null},Yt=Object.prototype.hasOwnProperty;function ee(m,O,H){var Q=H.ref;return{$$typeof:c,type:m,key:O,ref:Q!==void 0?Q:null,props:H}}function de(m,O){return ee(m.type,O,m.props)}function le(m){return typeof m=="object"&&m!==null&&m.$$typeof===c}function tt(m){var O={"=":"=0",":":"=2"};return"$"+m.replace(/[=:]/g,function(H){return O[H]})}var je=/\/+/g;function ae(m,O){return typeof m=="object"&&m!==null&&m.key!=null?tt(""+m.key):O.toString(36)}function ne(m){switch(m.status){case"fulfilled":return m.value;case"rejected":throw m.reason;default:switch(typeof m.status=="string"?m.then(Dt,Dt):(m.status="pending",m.then(function(O){m.status==="pending"&&(m.status="fulfilled",m.value=O)},function(O){m.status==="pending"&&(m.status="rejected",m.reason=O)})),m.status){case"fulfilled":return m.value;case"rejected":throw m.reason}}throw m}function E(m,O,H,Q,W){var k=typeof m;(k==="undefined"||k==="boolean")&&(m=null);var ot=!1;if(m===null)ot=!0;else switch(k){case"bigint":case"string":case"number":ot=!0;break;case"object":switch(m.$$typeof){case c:case y:ot=!0;break;case B:return ot=m._init,E(ot(m._payload),O,H,Q,W)}}if(ot)return W=W(m),ot=Q===""?"."+ae(m,0):Q,_t(W)?(H="",ot!=null&&(H=ot.replace(je,"$&/")+"/"),E(W,O,H,"",function(Jl){return Jl})):W!=null&&(le(W)&&(W=de(W,H+(W.key==null||m&&m.key===W.key?"":(""+W.key).replace(je,"$&/")+"/")+ot)),O.push(W)),1;ot=0;var Vt=Q===""?".":Q+":";if(_t(m))for(var Ut=0;Ut<m.length;Ut++)Q=m[Ut],k=Vt+ae(Q,Ut),ot+=E(Q,O,H,k,W);else if(Ut=at(m),typeof Ut=="function")for(m=Ut.call(m),Ut=0;!(Q=m.next()).done;)Q=Q.value,k=Vt+ae(Q,Ut++),ot+=E(Q,O,H,k,W);else if(k==="object"){if(typeof m.then=="function")return E(ne(m),O,H,Q,W);throw O=String(m),Error("Objects are not valid as a React child (found: "+(O==="[object Object]"?"object with keys {"+Object.keys(m).join(", ")+"}":O)+"). If you meant to render a collection of children, use an array instead.")}return ot}function R(m,O,H){if(m==null)return m;var Q=[],W=0;return E(m,Q,"","",function(k){return O.call(H,k,W++)}),Q}function G(m){if(m._status===-1){var O=m._result;O=O(),O.then(function(H){(m._status===0||m._status===-1)&&(m._status=1,m._result=H)},function(H){(m._status===0||m._status===-1)&&(m._status=2,m._result=H)}),m._status===-1&&(m._status=0,m._result=O)}if(m._status===1)return m._result.default;throw m._result}var ft=typeof reportError=="function"?reportError:function(m){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var O=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(O))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",m);return}console.error(m)},ht={map:R,forEach:function(m,O,H){R(m,function(){O.apply(this,arguments)},H)},count:function(m){var O=0;return R(m,function(){O++}),O},toArray:function(m){return R(m,function(O){return O})||[]},only:function(m){if(!le(m))throw Error("React.Children.only expected to receive a single React element child.");return m}};return $.Activity=U,$.Children=ht,$.Component=F,$.Fragment=d,$.Profiler=z,$.PureComponent=P,$.StrictMode=s,$.Suspense=_,$.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=I,$.__COMPILER_RUNTIME={__proto__:null,c:function(m){return I.H.useMemoCache(m)}},$.cache=function(m){return function(){return m.apply(null,arguments)}},$.cacheSignal=function(){return null},$.cloneElement=function(m,O,H){if(m==null)throw Error("The argument must be a React element, but you passed "+m+".");var Q=X({},m.props),W=m.key;if(O!=null)for(k in O.key!==void 0&&(W=""+O.key),O)!Yt.call(O,k)||k==="key"||k==="__self"||k==="__source"||k==="ref"&&O.ref===void 0||(Q[k]=O[k]);var k=arguments.length-2;if(k===1)Q.children=H;else if(1<k){for(var ot=Array(k),Vt=0;Vt<k;Vt++)ot[Vt]=arguments[Vt+2];Q.children=ot}return ee(m.type,W,Q)},$.createContext=function(m){return m={$$typeof:M,_currentValue:m,_currentValue2:m,_threadCount:0,Provider:null,Consumer:null},m.Provider=m,m.Consumer={$$typeof:g,_context:m},m},$.createElement=function(m,O,H){var Q,W={},k=null;if(O!=null)for(Q in O.key!==void 0&&(k=""+O.key),O)Yt.call(O,Q)&&Q!=="key"&&Q!=="__self"&&Q!=="__source"&&(W[Q]=O[Q]);var ot=arguments.length-2;if(ot===1)W.children=H;else if(1<ot){for(var Vt=Array(ot),Ut=0;Ut<ot;Ut++)Vt[Ut]=arguments[Ut+2];W.children=Vt}if(m&&m.defaultProps)for(Q in ot=m.defaultProps,ot)W[Q]===void 0&&(W[Q]=ot[Q]);return ee(m,k,W)},$.createRef=function(){return{current:null}},$.forwardRef=function(m){return{$$typeof:N,render:m}},$.isValidElement=le,$.lazy=function(m){return{$$typeof:B,_payload:{_status:-1,_result:m},_init:G}},$.memo=function(m,O){return{$$typeof:b,type:m,compare:O===void 0?null:O}},$.startTransition=function(m){var O=I.T,H={};I.T=H;try{var Q=m(),W=I.S;W!==null&&W(H,Q),typeof Q=="object"&&Q!==null&&typeof Q.then=="function"&&Q.then(Dt,ft)}catch(k){ft(k)}finally{O!==null&&H.types!==null&&(O.types=H.types),I.T=O}},$.unstable_useCacheRefresh=function(){return I.H.useCacheRefresh()},$.use=function(m){return I.H.use(m)},$.useActionState=function(m,O,H){return I.H.useActionState(m,O,H)},$.useCallback=function(m,O){return I.H.useCallback(m,O)},$.useContext=function(m){return I.H.useContext(m)},$.useDebugValue=function(){},$.useDeferredValue=function(m,O){return I.H.useDeferredValue(m,O)},$.useEffect=function(m,O){return I.H.useEffect(m,O)},$.useEffectEvent=function(m){return I.H.useEffectEvent(m)},$.useId=function(){return I.H.useId()},$.useImperativeHandle=function(m,O,H){return I.H.useImperativeHandle(m,O,H)},$.useInsertionEffect=function(m,O){return I.H.useInsertionEffect(m,O)},$.useLayoutEffect=function(m,O){return I.H.useLayoutEffect(m,O)},$.useMemo=function(m,O){return I.H.useMemo(m,O)},$.useOptimistic=function(m,O){return I.H.useOptimistic(m,O)},$.useReducer=function(m,O,H){return I.H.useReducer(m,O,H)},$.useRef=function(m){return I.H.useRef(m)},$.useState=function(m){return I.H.useState(m)},$.useSyncExternalStore=function(m,O,H){return I.H.useSyncExternalStore(m,O,H)},$.useTransition=function(){return I.H.useTransition()},$.version="19.2.4",$}var sm;function fs(){return sm||(sm=1,$f.exports=Py()),$f.exports}var lt=fs();const du=Cm(lt);var Ff={exports:{}},cu={},If={exports:{}},Pf={};/**
18
+ * @license React
19
+ * scheduler.production.js
20
+ *
21
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
22
+ *
23
+ * This source code is licensed under the MIT license found in the
24
+ * LICENSE file in the root directory of this source tree.
25
+ */var rm;function tv(){return rm||(rm=1,(function(c){function y(E,R){var G=E.length;E.push(R);t:for(;0<G;){var ft=G-1>>>1,ht=E[ft];if(0<z(ht,R))E[ft]=R,E[G]=ht,G=ft;else break t}}function d(E){return E.length===0?null:E[0]}function s(E){if(E.length===0)return null;var R=E[0],G=E.pop();if(G!==R){E[0]=G;t:for(var ft=0,ht=E.length,m=ht>>>1;ft<m;){var O=2*(ft+1)-1,H=E[O],Q=O+1,W=E[Q];if(0>z(H,G))Q<ht&&0>z(W,H)?(E[ft]=W,E[Q]=G,ft=Q):(E[ft]=H,E[O]=G,ft=O);else if(Q<ht&&0>z(W,G))E[ft]=W,E[Q]=G,ft=Q;else break t}}return R}function z(E,R){var G=E.sortIndex-R.sortIndex;return G!==0?G:E.id-R.id}if(c.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var g=performance;c.unstable_now=function(){return g.now()}}else{var M=Date,N=M.now();c.unstable_now=function(){return M.now()-N}}var _=[],b=[],B=1,U=null,V=3,at=!1,K=!1,X=!1,L=!1,F=typeof setTimeout=="function"?setTimeout:null,Y=typeof clearTimeout=="function"?clearTimeout:null,P=typeof setImmediate<"u"?setImmediate:null;function mt(E){for(var R=d(b);R!==null;){if(R.callback===null)s(b);else if(R.startTime<=E)s(b),R.sortIndex=R.expirationTime,y(_,R);else break;R=d(b)}}function _t(E){if(X=!1,mt(E),!K)if(d(_)!==null)K=!0,Dt||(Dt=!0,tt());else{var R=d(b);R!==null&&ne(_t,R.startTime-E)}}var Dt=!1,I=-1,Yt=5,ee=-1;function de(){return L?!0:!(c.unstable_now()-ee<Yt)}function le(){if(L=!1,Dt){var E=c.unstable_now();ee=E;var R=!0;try{t:{K=!1,X&&(X=!1,Y(I),I=-1),at=!0;var G=V;try{e:{for(mt(E),U=d(_);U!==null&&!(U.expirationTime>E&&de());){var ft=U.callback;if(typeof ft=="function"){U.callback=null,V=U.priorityLevel;var ht=ft(U.expirationTime<=E);if(E=c.unstable_now(),typeof ht=="function"){U.callback=ht,mt(E),R=!0;break e}U===d(_)&&s(_),mt(E)}else s(_);U=d(_)}if(U!==null)R=!0;else{var m=d(b);m!==null&&ne(_t,m.startTime-E),R=!1}}break t}finally{U=null,V=G,at=!1}R=void 0}}finally{R?tt():Dt=!1}}}var tt;if(typeof P=="function")tt=function(){P(le)};else if(typeof MessageChannel<"u"){var je=new MessageChannel,ae=je.port2;je.port1.onmessage=le,tt=function(){ae.postMessage(null)}}else tt=function(){F(le,0)};function ne(E,R){I=F(function(){E(c.unstable_now())},R)}c.unstable_IdlePriority=5,c.unstable_ImmediatePriority=1,c.unstable_LowPriority=4,c.unstable_NormalPriority=3,c.unstable_Profiling=null,c.unstable_UserBlockingPriority=2,c.unstable_cancelCallback=function(E){E.callback=null},c.unstable_forceFrameRate=function(E){0>E||125<E?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Yt=0<E?Math.floor(1e3/E):5},c.unstable_getCurrentPriorityLevel=function(){return V},c.unstable_next=function(E){switch(V){case 1:case 2:case 3:var R=3;break;default:R=V}var G=V;V=R;try{return E()}finally{V=G}},c.unstable_requestPaint=function(){L=!0},c.unstable_runWithPriority=function(E,R){switch(E){case 1:case 2:case 3:case 4:case 5:break;default:E=3}var G=V;V=E;try{return R()}finally{V=G}},c.unstable_scheduleCallback=function(E,R,G){var ft=c.unstable_now();switch(typeof G=="object"&&G!==null?(G=G.delay,G=typeof G=="number"&&0<G?ft+G:ft):G=ft,E){case 1:var ht=-1;break;case 2:ht=250;break;case 5:ht=1073741823;break;case 4:ht=1e4;break;default:ht=5e3}return ht=G+ht,E={id:B++,callback:R,priorityLevel:E,startTime:G,expirationTime:ht,sortIndex:-1},G>ft?(E.sortIndex=G,y(b,E),d(_)===null&&E===d(b)&&(X?(Y(I),I=-1):X=!0,ne(_t,G-ft))):(E.sortIndex=ht,y(_,E),K||at||(K=!0,Dt||(Dt=!0,tt()))),E},c.unstable_shouldYield=de,c.unstable_wrapCallback=function(E){var R=V;return function(){var G=V;V=R;try{return E.apply(this,arguments)}finally{V=G}}}})(Pf)),Pf}var om;function ev(){return om||(om=1,If.exports=tv()),If.exports}var ts={exports:{}},ce={};/**
26
+ * @license React
27
+ * react-dom.production.js
28
+ *
29
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
30
+ *
31
+ * This source code is licensed under the MIT license found in the
32
+ * LICENSE file in the root directory of this source tree.
33
+ */var dm;function lv(){if(dm)return ce;dm=1;var c=fs();function y(_){var b="https://react.dev/errors/"+_;if(1<arguments.length){b+="?args[]="+encodeURIComponent(arguments[1]);for(var B=2;B<arguments.length;B++)b+="&args[]="+encodeURIComponent(arguments[B])}return"Minified React error #"+_+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(){}var s={d:{f:d,r:function(){throw Error(y(522))},D:d,C:d,L:d,m:d,X:d,S:d,M:d},p:0,findDOMNode:null},z=Symbol.for("react.portal");function g(_,b,B){var U=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:z,key:U==null?null:""+U,children:_,containerInfo:b,implementation:B}}var M=c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function N(_,b){if(_==="font")return"";if(typeof b=="string")return b==="use-credentials"?b:""}return ce.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,ce.createPortal=function(_,b){var B=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!b||b.nodeType!==1&&b.nodeType!==9&&b.nodeType!==11)throw Error(y(299));return g(_,b,null,B)},ce.flushSync=function(_){var b=M.T,B=s.p;try{if(M.T=null,s.p=2,_)return _()}finally{M.T=b,s.p=B,s.d.f()}},ce.preconnect=function(_,b){typeof _=="string"&&(b?(b=b.crossOrigin,b=typeof b=="string"?b==="use-credentials"?b:"":void 0):b=null,s.d.C(_,b))},ce.prefetchDNS=function(_){typeof _=="string"&&s.d.D(_)},ce.preinit=function(_,b){if(typeof _=="string"&&b&&typeof b.as=="string"){var B=b.as,U=N(B,b.crossOrigin),V=typeof b.integrity=="string"?b.integrity:void 0,at=typeof b.fetchPriority=="string"?b.fetchPriority:void 0;B==="style"?s.d.S(_,typeof b.precedence=="string"?b.precedence:void 0,{crossOrigin:U,integrity:V,fetchPriority:at}):B==="script"&&s.d.X(_,{crossOrigin:U,integrity:V,fetchPriority:at,nonce:typeof b.nonce=="string"?b.nonce:void 0})}},ce.preinitModule=function(_,b){if(typeof _=="string")if(typeof b=="object"&&b!==null){if(b.as==null||b.as==="script"){var B=N(b.as,b.crossOrigin);s.d.M(_,{crossOrigin:B,integrity:typeof b.integrity=="string"?b.integrity:void 0,nonce:typeof b.nonce=="string"?b.nonce:void 0})}}else b==null&&s.d.M(_)},ce.preload=function(_,b){if(typeof _=="string"&&typeof b=="object"&&b!==null&&typeof b.as=="string"){var B=b.as,U=N(B,b.crossOrigin);s.d.L(_,B,{crossOrigin:U,integrity:typeof b.integrity=="string"?b.integrity:void 0,nonce:typeof b.nonce=="string"?b.nonce:void 0,type:typeof b.type=="string"?b.type:void 0,fetchPriority:typeof b.fetchPriority=="string"?b.fetchPriority:void 0,referrerPolicy:typeof b.referrerPolicy=="string"?b.referrerPolicy:void 0,imageSrcSet:typeof b.imageSrcSet=="string"?b.imageSrcSet:void 0,imageSizes:typeof b.imageSizes=="string"?b.imageSizes:void 0,media:typeof b.media=="string"?b.media:void 0})}},ce.preloadModule=function(_,b){if(typeof _=="string")if(b){var B=N(b.as,b.crossOrigin);s.d.m(_,{as:typeof b.as=="string"&&b.as!=="script"?b.as:void 0,crossOrigin:B,integrity:typeof b.integrity=="string"?b.integrity:void 0})}else s.d.m(_)},ce.requestFormReset=function(_){s.d.r(_)},ce.unstable_batchedUpdates=function(_,b){return _(b)},ce.useFormState=function(_,b,B){return M.H.useFormState(_,b,B)},ce.useFormStatus=function(){return M.H.useHostTransitionStatus()},ce.version="19.2.4",ce}var mm;function av(){if(mm)return ts.exports;mm=1;function c(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(y){console.error(y)}}return c(),ts.exports=lv(),ts.exports}/**
34
+ * @license React
35
+ * react-dom-client.production.js
36
+ *
37
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
38
+ *
39
+ * This source code is licensed under the MIT license found in the
40
+ * LICENSE file in the root directory of this source tree.
41
+ */var hm;function nv(){if(hm)return cu;hm=1;var c=ev(),y=fs(),d=av();function s(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)e+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function z(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function g(t){var e=t,l=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,(e.flags&4098)!==0&&(l=e.return),t=e.return;while(t)}return e.tag===3?l:null}function M(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function N(t){if(t.tag===31){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function _(t){if(g(t)!==t)throw Error(s(188))}function b(t){var e=t.alternate;if(!e){if(e=g(t),e===null)throw Error(s(188));return e!==t?null:t}for(var l=t,a=e;;){var n=l.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===l)return _(n),t;if(u===a)return _(n),e;u=u.sibling}throw Error(s(188))}if(l.return!==a.return)l=n,a=u;else{for(var i=!1,f=n.child;f;){if(f===l){i=!0,l=n,a=u;break}if(f===a){i=!0,a=n,l=u;break}f=f.sibling}if(!i){for(f=u.child;f;){if(f===l){i=!0,l=u,a=n;break}if(f===a){i=!0,a=u,l=n;break}f=f.sibling}if(!i)throw Error(s(189))}}if(l.alternate!==a)throw Error(s(190))}if(l.tag!==3)throw Error(s(188));return l.stateNode.current===l?t:e}function B(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=B(t),e!==null)return e;t=t.sibling}return null}var U=Object.assign,V=Symbol.for("react.element"),at=Symbol.for("react.transitional.element"),K=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),L=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),P=Symbol.for("react.context"),mt=Symbol.for("react.forward_ref"),_t=Symbol.for("react.suspense"),Dt=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),Yt=Symbol.for("react.lazy"),ee=Symbol.for("react.activity"),de=Symbol.for("react.memo_cache_sentinel"),le=Symbol.iterator;function tt(t){return t===null||typeof t!="object"?null:(t=le&&t[le]||t["@@iterator"],typeof t=="function"?t:null)}var je=Symbol.for("react.client.reference");function ae(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===je?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case X:return"Fragment";case F:return"Profiler";case L:return"StrictMode";case _t:return"Suspense";case Dt:return"SuspenseList";case ee:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case K:return"Portal";case P:return t.displayName||"Context";case Y:return(t._context.displayName||"Context")+".Consumer";case mt:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case I:return e=t.displayName||null,e!==null?e:ae(t.type)||"Memo";case Yt:e=t._payload,t=t._init;try{return ae(t(e))}catch{}}return null}var ne=Array.isArray,E=y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,G={pending:!1,data:null,method:null,action:null},ft=[],ht=-1;function m(t){return{current:t}}function O(t){0>ht||(t.current=ft[ht],ft[ht]=null,ht--)}function H(t,e){ht++,ft[ht]=t.current,t.current=e}var Q=m(null),W=m(null),k=m(null),ot=m(null);function Vt(t,e){switch(H(k,e),H(W,t),H(Q,null),e.nodeType){case 9:case 11:t=(t=e.documentElement)&&(t=t.namespaceURI)?Nd(t):0;break;default:if(t=e.tagName,e=e.namespaceURI)e=Nd(e),t=Od(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}O(Q),H(Q,t)}function Ut(){O(Q),O(W),O(k)}function Jl(t){t.memoizedState!==null&&H(ot,t);var e=Q.current,l=Od(e,t.type);e!==l&&(H(W,t),H(Q,l))}function ya(t){W.current===t&&(O(Q),O(W)),ot.current===t&&(O(ot),lu._currentValue=G)}var Ye,rn;function Ze(t){if(Ye===void 0)try{throw Error()}catch(l){var e=l.stack.trim().match(/\n( *(at )?)/);Ye=e&&e[1]||"",rn=-1<l.stack.indexOf(`
42
+ at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
43
+ `+Ye+t+rn}var $e=!1;function bl(t,e){if(!t||$e)return"";$e=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){var C=function(){throw Error()};if(Object.defineProperty(C.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(C,[])}catch(T){var S=T}Reflect.construct(t,[],C)}else{try{C.call()}catch(T){S=T}t.call(C.prototype)}}else{try{throw Error()}catch(T){S=T}(C=t())&&typeof C.catch=="function"&&C.catch(function(){})}}catch(T){if(T&&S&&typeof T.stack=="string")return[T.stack,S.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),i=u[0],f=u[1];if(i&&f){var o=i.split(`
44
+ `),x=f.split(`
45
+ `);for(n=a=0;a<o.length&&!o[a].includes("DetermineComponentFrameRoot");)a++;for(;n<x.length&&!x[n].includes("DetermineComponentFrameRoot");)n++;if(a===o.length||n===x.length)for(a=o.length-1,n=x.length-1;1<=a&&0<=n&&o[a]!==x[n];)n--;for(;1<=a&&0<=n;a--,n--)if(o[a]!==x[n]){if(a!==1||n!==1)do if(a--,n--,0>n||o[a]!==x[n]){var A=`
46
+ `+o[a].replace(" at new "," at ");return t.displayName&&A.includes("<anonymous>")&&(A=A.replace("<anonymous>",t.displayName)),A}while(1<=a&&0<=n);break}}}finally{$e=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?Ze(l):""}function on(t,e){switch(t.tag){case 26:case 27:case 5:return Ze(t.type);case 16:return Ze("Lazy");case 13:return t.child!==e&&e!==null?Ze("Suspense Fallback"):Ze("Suspense");case 19:return Ze("SuspenseList");case 0:case 15:return bl(t.type,!1);case 11:return bl(t.type.render,!1);case 1:return bl(t.type,!0);case 31:return Ze("Activity");default:return""}}function va(t){try{var e="",l=null;do e+=on(t,l),l=t,t=t.return;while(t);return e}catch(a){return`
47
+ Error generating stack: `+a.message+`
48
+ `+a.stack}}var Ge=Object.prototype.hasOwnProperty,dn=c.unstable_scheduleCallback,mn=c.unstable_cancelCallback,_i=c.unstable_shouldYield,Di=c.unstable_requestPaint,Bt=c.unstable_now,Ui=c.unstable_getCurrentPriorityLevel,hn=c.unstable_ImmediatePriority,mu=c.unstable_UserBlockingPriority,ga=c.unstable_NormalPriority,Ri=c.unstable_LowPriority,yn=c.unstable_IdlePriority,Hi=c.log,Bi=c.unstable_setDisableYieldValue,kl=null,se=null;function Ve(t){if(typeof Hi=="function"&&Bi(t),se&&typeof se.setStrictMode=="function")try{se.setStrictMode(kl,t)}catch{}}var ue=Math.clz32?Math.clz32:hu,Qi=Math.log,qi=Math.LN2;function hu(t){return t>>>=0,t===0?32:31-(Qi(t)/qi|0)|0}var ba=256,pa=262144,xa=4194304;function Fe(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return t&261888;case 262144:case 524288:case 1048576:case 2097152:return t&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function D(t,e,l){var a=t.pendingLanes;if(a===0)return 0;var n=0,u=t.suspendedLanes,i=t.pingedLanes;t=t.warmLanes;var f=a&134217727;return f!==0?(a=f&~u,a!==0?n=Fe(a):(i&=f,i!==0?n=Fe(i):l||(l=f&~t,l!==0&&(n=Fe(l))))):(f=a&~u,f!==0?n=Fe(f):i!==0?n=Fe(i):l||(l=a&~t,l!==0&&(n=Fe(l)))),n===0?0:e!==0&&e!==n&&(e&u)===0&&(u=n&-n,l=e&-e,u>=l||u===32&&(l&4194048)!==0)?e:n}function re(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function Ce(t,e){switch(t){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 Jt(){var t=xa;return xa<<=1,(xa&62914560)===0&&(xa=4194304),t}function Wl(t){for(var e=[],l=0;31>l;l++)e.push(t);return e}function pl(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function yu(t,e,l,a,n,u){var i=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var f=t.entanglements,o=t.expirationTimes,x=t.hiddenUpdates;for(l=i&~l;0<l;){var A=31-ue(l),C=1<<A;f[A]=0,o[A]=-1;var S=x[A];if(S!==null)for(x[A]=null,A=0;A<S.length;A++){var T=S[A];T!==null&&(T.lane&=-536870913)}l&=~C}a!==0&&$l(t,a,0),u!==0&&n===0&&t.tag!==0&&(t.suspendedLanes|=u&~(i&~e))}function $l(t,e,l){t.pendingLanes|=e,t.suspendedLanes&=~e;var a=31-ue(e);t.entangledLanes|=e,t.entanglements[a]=t.entanglements[a]|1073741824|l&261930}function Fl(t,e){var l=t.entangledLanes|=e;for(t=t.entanglements;l;){var a=31-ue(l),n=1<<a;n&e|t[a]&e&&(t[a]|=e),l&=~n}}function vn(t,e){var l=e&-e;return l=(l&42)!==0?1:Sa(l),(l&(t.suspendedLanes|e))!==0?0:l}function Sa(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function ie(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function ms(){var t=R.p;return t!==0?t:(t=window.event,t===void 0?32:Pd(t.type))}function hs(t,e){var l=R.p;try{return R.p=t,e()}finally{R.p=l}}var xl=Math.random().toString(36).slice(2),$t="__reactFiber$"+xl,me="__reactProps$"+xl,za="__reactContainer$"+xl,Yi="__reactEvents$"+xl,Gm="__reactListeners$"+xl,wm="__reactHandles$"+xl,ys="__reactResources$"+xl,gn="__reactMarker$"+xl;function Gi(t){delete t[$t],delete t[me],delete t[Yi],delete t[Gm],delete t[wm]}function Ta(t){var e=t[$t];if(e)return e;for(var l=t.parentNode;l;){if(e=l[za]||l[$t]){if(l=e.alternate,e.child!==null||l!==null&&l.child!==null)for(t=Qd(t);t!==null;){if(l=t[$t])return l;t=Qd(t)}return e}t=l,l=t.parentNode}return null}function Ea(t){if(t=t[$t]||t[za]){var e=t.tag;if(e===5||e===6||e===13||e===31||e===26||e===27||e===3)return t}return null}function bn(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t.stateNode;throw Error(s(33))}function Aa(t){var e=t[ys];return e||(e=t[ys]={hoistableStyles:new Map,hoistableScripts:new Map}),e}function kt(t){t[gn]=!0}var vs=new Set,gs={};function Il(t,e){Ma(t,e),Ma(t+"Capture",e)}function Ma(t,e){for(gs[t]=e,t=0;t<e.length;t++)vs.add(e[t])}var Xm=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]*$"),bs={},ps={};function Lm(t){return Ge.call(ps,t)?!0:Ge.call(bs,t)?!1:Xm.test(t)?ps[t]=!0:(bs[t]=!0,!1)}function vu(t,e,l){if(Lm(e))if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(e);return;case"boolean":var a=e.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){t.removeAttribute(e);return}}t.setAttribute(e,""+l)}}function gu(t,e,l){if(l===null)t.removeAttribute(e);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(e);return}t.setAttribute(e,""+l)}}function Ie(t,e,l,a){if(a===null)t.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(e,l,""+a)}}function Ne(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function xs(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function Zm(t,e,l){var a=Object.getOwnPropertyDescriptor(t.constructor.prototype,e);if(!t.hasOwnProperty(e)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return n.call(this)},set:function(i){l=""+i,u.call(this,i)}}),Object.defineProperty(t,e,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(i){l=""+i},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function wi(t){if(!t._valueTracker){var e=xs(t)?"checked":"value";t._valueTracker=Zm(t,e,""+t[e])}}function Ss(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var l=e.getValue(),a="";return t&&(a=xs(t)?t.checked?"true":"false":t.value),t=a,t!==l?(e.setValue(t),!0):!1}function bu(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}var Vm=/[\n"\\]/g;function Oe(t){return t.replace(Vm,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function Xi(t,e,l,a,n,u,i,f){t.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?t.type=i:t.removeAttribute("type"),e!=null?i==="number"?(e===0&&t.value===""||t.value!=e)&&(t.value=""+Ne(e)):t.value!==""+Ne(e)&&(t.value=""+Ne(e)):i!=="submit"&&i!=="reset"||t.removeAttribute("value"),e!=null?Li(t,i,Ne(e)):l!=null?Li(t,i,Ne(l)):a!=null&&t.removeAttribute("value"),n==null&&u!=null&&(t.defaultChecked=!!u),n!=null&&(t.checked=n&&typeof n!="function"&&typeof n!="symbol"),f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?t.name=""+Ne(f):t.removeAttribute("name")}function zs(t,e,l,a,n,u,i,f){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(t.type=u),e!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||e!=null)){wi(t);return}l=l!=null?""+Ne(l):"",e=e!=null?""+Ne(e):l,f||e===t.value||(t.value=e),t.defaultValue=e}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,t.checked=f?t.checked:!!a,t.defaultChecked=!!a,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(t.name=i),wi(t)}function Li(t,e,l){e==="number"&&bu(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function ja(t,e,l,a){if(t=t.options,e){e={};for(var n=0;n<l.length;n++)e["$"+l[n]]=!0;for(l=0;l<t.length;l++)n=e.hasOwnProperty("$"+t[l].value),t[l].selected!==n&&(t[l].selected=n),n&&a&&(t[l].defaultSelected=!0)}else{for(l=""+Ne(l),e=null,n=0;n<t.length;n++){if(t[n].value===l){t[n].selected=!0,a&&(t[n].defaultSelected=!0);return}e!==null||t[n].disabled||(e=t[n])}e!==null&&(e.selected=!0)}}function Ts(t,e,l){if(e!=null&&(e=""+Ne(e),e!==t.value&&(t.value=e),l==null)){t.defaultValue!==e&&(t.defaultValue=e);return}t.defaultValue=l!=null?""+Ne(l):""}function Es(t,e,l,a){if(e==null){if(a!=null){if(l!=null)throw Error(s(92));if(ne(a)){if(1<a.length)throw Error(s(93));a=a[0]}l=a}l==null&&(l=""),e=l}l=Ne(e),t.defaultValue=l,a=t.textContent,a===l&&a!==""&&a!==null&&(t.value=a),wi(t)}function Ca(t,e){if(e){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=e;return}}t.textContent=e}var Km=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 As(t,e,l){var a=e.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?t.setProperty(e,""):e==="float"?t.cssFloat="":t[e]="":a?t.setProperty(e,l):typeof l!="number"||l===0||Km.has(e)?e==="float"?t.cssFloat=l:t[e]=(""+l).trim():t[e]=l+"px"}function Ms(t,e,l){if(e!=null&&typeof e!="object")throw Error(s(62));if(t=t.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||e!=null&&e.hasOwnProperty(a)||(a.indexOf("--")===0?t.setProperty(a,""):a==="float"?t.cssFloat="":t[a]="");for(var n in e)a=e[n],e.hasOwnProperty(n)&&l[n]!==a&&As(t,n,a)}else for(var u in e)e.hasOwnProperty(u)&&As(t,u,e[u])}function Zi(t){if(t.indexOf("-")===-1)return!1;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Jm=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"]]),km=/^[\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 pu(t){return km.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}function Pe(){}var Vi=null;function Ki(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Na=null,Oa=null;function js(t){var e=Ea(t);if(e&&(t=e.stateNode)){var l=t[me]||null;t:switch(t=e.stateNode,e.type){case"input":if(Xi(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),e=l.name,l.type==="radio"&&e!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Oe(""+e)+'"][type="radio"]'),e=0;e<l.length;e++){var a=l[e];if(a!==t&&a.form===t.form){var n=a[me]||null;if(!n)throw Error(s(90));Xi(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(e=0;e<l.length;e++)a=l[e],a.form===t.form&&Ss(a)}break t;case"textarea":Ts(t,l.value,l.defaultValue);break t;case"select":e=l.value,e!=null&&ja(t,!!l.multiple,e,!1)}}}var Ji=!1;function Cs(t,e,l){if(Ji)return t(e,l);Ji=!0;try{var a=t(e);return a}finally{if(Ji=!1,(Na!==null||Oa!==null)&&(ii(),Na&&(e=Na,t=Oa,Oa=Na=null,js(e),t)))for(e=0;e<t.length;e++)js(t[e])}}function pn(t,e){var l=t.stateNode;if(l===null)return null;var a=l[me]||null;if(a===null)return null;l=a[e];t: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)||(t=t.type,a=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!a;break t;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(s(231,e,typeof l));return l}var tl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ki=!1;if(tl)try{var xn={};Object.defineProperty(xn,"passive",{get:function(){ki=!0}}),window.addEventListener("test",xn,xn),window.removeEventListener("test",xn,xn)}catch{ki=!1}var Sl=null,Wi=null,xu=null;function Ns(){if(xu)return xu;var t,e=Wi,l=e.length,a,n="value"in Sl?Sl.value:Sl.textContent,u=n.length;for(t=0;t<l&&e[t]===n[t];t++);var i=l-t;for(a=1;a<=i&&e[l-a]===n[u-a];a++);return xu=n.slice(t,1<a?1-a:void 0)}function Su(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function zu(){return!0}function Os(){return!1}function he(t){function e(l,a,n,u,i){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=i,this.currentTarget=null;for(var f in t)t.hasOwnProperty(f)&&(l=t[f],this[f]=l?l(u):u[f]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?zu:Os,this.isPropagationStopped=Os,this}return U(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=zu)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=zu)},persist:function(){},isPersistent:zu}),e}var Pl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Tu=he(Pl),Sn=U({},Pl,{view:0,detail:0}),Wm=he(Sn),$i,Fi,zn,Eu=U({},Sn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Pi,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==zn&&(zn&&t.type==="mousemove"?($i=t.screenX-zn.screenX,Fi=t.screenY-zn.screenY):Fi=$i=0,zn=t),$i)},movementY:function(t){return"movementY"in t?t.movementY:Fi}}),_s=he(Eu),$m=U({},Eu,{dataTransfer:0}),Fm=he($m),Im=U({},Sn,{relatedTarget:0}),Ii=he(Im),Pm=U({},Pl,{animationName:0,elapsedTime:0,pseudoElement:0}),th=he(Pm),eh=U({},Pl,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),lh=he(eh),ah=U({},Pl,{data:0}),Ds=he(ah),nh={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},uh={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"},ih={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ch(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=ih[t])?!!e[t]:!1}function Pi(){return ch}var fh=U({},Sn,{key:function(t){if(t.key){var e=nh[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=Su(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?uh[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Pi,charCode:function(t){return t.type==="keypress"?Su(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Su(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),sh=he(fh),rh=U({},Eu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Us=he(rh),oh=U({},Sn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Pi}),dh=he(oh),mh=U({},Pl,{propertyName:0,elapsedTime:0,pseudoElement:0}),hh=he(mh),yh=U({},Eu,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),vh=he(yh),gh=U({},Pl,{newState:0,oldState:0}),bh=he(gh),ph=[9,13,27,32],tc=tl&&"CompositionEvent"in window,Tn=null;tl&&"documentMode"in document&&(Tn=document.documentMode);var xh=tl&&"TextEvent"in window&&!Tn,Rs=tl&&(!tc||Tn&&8<Tn&&11>=Tn),Hs=" ",Bs=!1;function Qs(t,e){switch(t){case"keyup":return ph.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qs(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var _a=!1;function Sh(t,e){switch(t){case"compositionend":return qs(e);case"keypress":return e.which!==32?null:(Bs=!0,Hs);case"textInput":return t=e.data,t===Hs&&Bs?null:t;default:return null}}function zh(t,e){if(_a)return t==="compositionend"||!tc&&Qs(t,e)?(t=Ns(),xu=Wi=Sl=null,_a=!1,t):null;switch(t){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 Rs&&e.locale!=="ko"?null:e.data;default:return null}}var Th={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 Ys(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!Th[t.type]:e==="textarea"}function Gs(t,e,l,a){Na?Oa?Oa.push(a):Oa=[a]:Na=a,e=mi(e,"onChange"),0<e.length&&(l=new Tu("onChange","change",null,l,a),t.push({event:l,listeners:e}))}var En=null,An=null;function Eh(t){Td(t,0)}function Au(t){var e=bn(t);if(Ss(e))return t}function ws(t,e){if(t==="change")return e}var Xs=!1;if(tl){var ec;if(tl){var lc="oninput"in document;if(!lc){var Ls=document.createElement("div");Ls.setAttribute("oninput","return;"),lc=typeof Ls.oninput=="function"}ec=lc}else ec=!1;Xs=ec&&(!document.documentMode||9<document.documentMode)}function Zs(){En&&(En.detachEvent("onpropertychange",Vs),An=En=null)}function Vs(t){if(t.propertyName==="value"&&Au(An)){var e=[];Gs(e,An,t,Ki(t)),Cs(Eh,e)}}function Ah(t,e,l){t==="focusin"?(Zs(),En=e,An=l,En.attachEvent("onpropertychange",Vs)):t==="focusout"&&Zs()}function Mh(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Au(An)}function jh(t,e){if(t==="click")return Au(e)}function Ch(t,e){if(t==="input"||t==="change")return Au(e)}function Nh(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var xe=typeof Object.is=="function"?Object.is:Nh;function Mn(t,e){if(xe(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var l=Object.keys(t),a=Object.keys(e);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var n=l[a];if(!Ge.call(e,n)||!xe(t[n],e[n]))return!1}return!0}function Ks(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function Js(t,e){var l=Ks(t);t=0;for(var a;l;){if(l.nodeType===3){if(a=t+l.textContent.length,t<=e&&a>=e)return{node:l,offset:e-t};t=a}t:{for(;l;){if(l.nextSibling){l=l.nextSibling;break t}l=l.parentNode}l=void 0}l=Ks(l)}}function ks(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?ks(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function Ws(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var e=bu(t.document);e instanceof t.HTMLIFrameElement;){try{var l=typeof e.contentWindow.location.href=="string"}catch{l=!1}if(l)t=e.contentWindow;else break;e=bu(t.document)}return e}function ac(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}var Oh=tl&&"documentMode"in document&&11>=document.documentMode,Da=null,nc=null,jn=null,uc=!1;function $s(t,e,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;uc||Da==null||Da!==bu(a)||(a=Da,"selectionStart"in a&&ac(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}),jn&&Mn(jn,a)||(jn=a,a=mi(nc,"onSelect"),0<a.length&&(e=new Tu("onSelect","select",null,e,l),t.push({event:e,listeners:a}),e.target=Da)))}function ta(t,e){var l={};return l[t.toLowerCase()]=e.toLowerCase(),l["Webkit"+t]="webkit"+e,l["Moz"+t]="moz"+e,l}var Ua={animationend:ta("Animation","AnimationEnd"),animationiteration:ta("Animation","AnimationIteration"),animationstart:ta("Animation","AnimationStart"),transitionrun:ta("Transition","TransitionRun"),transitionstart:ta("Transition","TransitionStart"),transitioncancel:ta("Transition","TransitionCancel"),transitionend:ta("Transition","TransitionEnd")},ic={},Fs={};tl&&(Fs=document.createElement("div").style,"AnimationEvent"in window||(delete Ua.animationend.animation,delete Ua.animationiteration.animation,delete Ua.animationstart.animation),"TransitionEvent"in window||delete Ua.transitionend.transition);function ea(t){if(ic[t])return ic[t];if(!Ua[t])return t;var e=Ua[t],l;for(l in e)if(e.hasOwnProperty(l)&&l in Fs)return ic[t]=e[l];return t}var Is=ea("animationend"),Ps=ea("animationiteration"),tr=ea("animationstart"),_h=ea("transitionrun"),Dh=ea("transitionstart"),Uh=ea("transitioncancel"),er=ea("transitionend"),lr=new Map,cc="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(" ");cc.push("scrollEnd");function we(t,e){lr.set(t,e),Il(e,[t])}var Mu=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)},_e=[],Ra=0,fc=0;function ju(){for(var t=Ra,e=fc=Ra=0;e<t;){var l=_e[e];_e[e++]=null;var a=_e[e];_e[e++]=null;var n=_e[e];_e[e++]=null;var u=_e[e];if(_e[e++]=null,a!==null&&n!==null){var i=a.pending;i===null?n.next=n:(n.next=i.next,i.next=n),a.pending=n}u!==0&&ar(l,n,u)}}function Cu(t,e,l,a){_e[Ra++]=t,_e[Ra++]=e,_e[Ra++]=l,_e[Ra++]=a,fc|=a,t.lanes|=a,t=t.alternate,t!==null&&(t.lanes|=a)}function sc(t,e,l,a){return Cu(t,e,l,a),Nu(t)}function la(t,e){return Cu(t,null,null,e),Nu(t)}function ar(t,e,l){t.lanes|=l;var a=t.alternate;a!==null&&(a.lanes|=l);for(var n=!1,u=t.return;u!==null;)u.childLanes|=l,a=u.alternate,a!==null&&(a.childLanes|=l),u.tag===22&&(t=u.stateNode,t===null||t._visibility&1||(n=!0)),t=u,u=u.return;return t.tag===3?(u=t.stateNode,n&&e!==null&&(n=31-ue(l),t=u.hiddenUpdates,a=t[n],a===null?t[n]=[e]:a.push(e),e.lane=l|536870912),u):null}function Nu(t){if(50<Wn)throw Wn=0,pf=null,Error(s(185));for(var e=t.return;e!==null;)t=e,e=t.return;return t.tag===3?t.stateNode:null}var Ha={};function Rh(t,e,l,a){this.tag=t,this.key=l,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 Se(t,e,l,a){return new Rh(t,e,l,a)}function rc(t){return t=t.prototype,!(!t||!t.isReactComponent)}function el(t,e){var l=t.alternate;return l===null?(l=Se(t.tag,e,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=e,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,e=t.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function nr(t,e){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=e,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,e=l.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t}function Ou(t,e,l,a,n,u){var i=0;if(a=t,typeof t=="function")rc(t)&&(i=1);else if(typeof t=="string")i=Yy(t,l,Q.current)?26:t==="html"||t==="head"||t==="body"?27:5;else t:switch(t){case ee:return t=Se(31,l,e,n),t.elementType=ee,t.lanes=u,t;case X:return aa(l.children,n,u,e);case L:i=8,n|=24;break;case F:return t=Se(12,l,e,n|2),t.elementType=F,t.lanes=u,t;case _t:return t=Se(13,l,e,n),t.elementType=_t,t.lanes=u,t;case Dt:return t=Se(19,l,e,n),t.elementType=Dt,t.lanes=u,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case P:i=10;break t;case Y:i=9;break t;case mt:i=11;break t;case I:i=14;break t;case Yt:i=16,a=null;break t}i=29,l=Error(s(130,t===null?"null":typeof t,"")),a=null}return e=Se(i,l,e,n),e.elementType=t,e.type=a,e.lanes=u,e}function aa(t,e,l,a){return t=Se(7,t,a,e),t.lanes=l,t}function oc(t,e,l){return t=Se(6,t,null,e),t.lanes=l,t}function ur(t){var e=Se(18,null,null,0);return e.stateNode=t,e}function dc(t,e,l){return e=Se(4,t.children!==null?t.children:[],t.key,e),e.lanes=l,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}var ir=new WeakMap;function De(t,e){if(typeof t=="object"&&t!==null){var l=ir.get(t);return l!==void 0?l:(e={value:t,source:e,stack:va(e)},ir.set(t,e),e)}return{value:t,source:e,stack:va(e)}}var Ba=[],Qa=0,_u=null,Cn=0,Ue=[],Re=0,zl=null,Ke=1,Je="";function ll(t,e){Ba[Qa++]=Cn,Ba[Qa++]=_u,_u=t,Cn=e}function cr(t,e,l){Ue[Re++]=Ke,Ue[Re++]=Je,Ue[Re++]=zl,zl=t;var a=Ke;t=Je;var n=32-ue(a)-1;a&=~(1<<n),l+=1;var u=32-ue(e)+n;if(30<u){var i=n-n%5;u=(a&(1<<i)-1).toString(32),a>>=i,n-=i,Ke=1<<32-ue(e)+n|l<<n|a,Je=u+t}else Ke=1<<u|l<<n|a,Je=t}function mc(t){t.return!==null&&(ll(t,1),cr(t,1,0))}function hc(t){for(;t===_u;)_u=Ba[--Qa],Ba[Qa]=null,Cn=Ba[--Qa],Ba[Qa]=null;for(;t===zl;)zl=Ue[--Re],Ue[Re]=null,Je=Ue[--Re],Ue[Re]=null,Ke=Ue[--Re],Ue[Re]=null}function fr(t,e){Ue[Re++]=Ke,Ue[Re++]=Je,Ue[Re++]=zl,Ke=e.id,Je=e.overflow,zl=t}var Ft=null,jt=null,dt=!1,Tl=null,He=!1,yc=Error(s(519));function El(t){var e=Error(s(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Nn(De(e,t)),yc}function sr(t){var e=t.stateNode,l=t.type,a=t.memoizedProps;switch(e[$t]=t,e[me]=a,l){case"dialog":ct("cancel",e),ct("close",e);break;case"iframe":case"object":case"embed":ct("load",e);break;case"video":case"audio":for(l=0;l<Fn.length;l++)ct(Fn[l],e);break;case"source":ct("error",e);break;case"img":case"image":case"link":ct("error",e),ct("load",e);break;case"details":ct("toggle",e);break;case"input":ct("invalid",e),zs(e,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":ct("invalid",e);break;case"textarea":ct("invalid",e),Es(e,a.value,a.defaultValue,a.children)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||e.textContent===""+l||a.suppressHydrationWarning===!0||jd(e.textContent,l)?(a.popover!=null&&(ct("beforetoggle",e),ct("toggle",e)),a.onScroll!=null&&ct("scroll",e),a.onScrollEnd!=null&&ct("scrollend",e),a.onClick!=null&&(e.onclick=Pe),e=!0):e=!1,e||El(t,!0)}function rr(t){for(Ft=t.return;Ft;)switch(Ft.tag){case 5:case 31:case 13:He=!1;return;case 27:case 3:He=!0;return;default:Ft=Ft.return}}function qa(t){if(t!==Ft)return!1;if(!dt)return rr(t),dt=!0,!1;var e=t.tag,l;if((l=e!==3&&e!==27)&&((l=e===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||Rf(t.type,t.memoizedProps)),l=!l),l&&jt&&El(t),rr(t),e===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));jt=Bd(t)}else if(e===31){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(317));jt=Bd(t)}else e===27?(e=jt,ql(t.type)?(t=Yf,Yf=null,jt=t):jt=e):jt=Ft?Qe(t.stateNode.nextSibling):null;return!0}function na(){jt=Ft=null,dt=!1}function vc(){var t=Tl;return t!==null&&(be===null?be=t:be.push.apply(be,t),Tl=null),t}function Nn(t){Tl===null?Tl=[t]:Tl.push(t)}var gc=m(null),ua=null,al=null;function Al(t,e,l){H(gc,e._currentValue),e._currentValue=l}function nl(t){t._currentValue=gc.current,O(gc)}function bc(t,e,l){for(;t!==null;){var a=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,a!==null&&(a.childLanes|=e)):a!==null&&(a.childLanes&e)!==e&&(a.childLanes|=e),t===l)break;t=t.return}}function pc(t,e,l,a){var n=t.child;for(n!==null&&(n.return=t);n!==null;){var u=n.dependencies;if(u!==null){var i=n.child;u=u.firstContext;t:for(;u!==null;){var f=u;u=n;for(var o=0;o<e.length;o++)if(f.context===e[o]){u.lanes|=l,f=u.alternate,f!==null&&(f.lanes|=l),bc(u.return,l,t),a||(i=null);break t}u=f.next}}else if(n.tag===18){if(i=n.return,i===null)throw Error(s(341));i.lanes|=l,u=i.alternate,u!==null&&(u.lanes|=l),bc(i,l,t),i=null}else i=n.child;if(i!==null)i.return=n;else for(i=n;i!==null;){if(i===t){i=null;break}if(n=i.sibling,n!==null){n.return=i.return,i=n;break}i=i.return}n=i}}function Ya(t,e,l,a){t=null;for(var n=e,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var i=n.alternate;if(i===null)throw Error(s(387));if(i=i.memoizedProps,i!==null){var f=n.type;xe(n.pendingProps.value,i.value)||(t!==null?t.push(f):t=[f])}}else if(n===ot.current){if(i=n.alternate,i===null)throw Error(s(387));i.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(t!==null?t.push(lu):t=[lu])}n=n.return}t!==null&&pc(e,t,l,a),e.flags|=262144}function Du(t){for(t=t.firstContext;t!==null;){if(!xe(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function ia(t){ua=t,al=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function It(t){return or(ua,t)}function Uu(t,e){return ua===null&&ia(t),or(t,e)}function or(t,e){var l=e._currentValue;if(e={context:e,memoizedValue:l,next:null},al===null){if(t===null)throw Error(s(308));al=e,t.dependencies={lanes:0,firstContext:e},t.flags|=524288}else al=al.next=e;return l}var Hh=typeof AbortController<"u"?AbortController:function(){var t=[],e=this.signal={aborted:!1,addEventListener:function(l,a){t.push(a)}};this.abort=function(){e.aborted=!0,t.forEach(function(l){return l()})}},Bh=c.unstable_scheduleCallback,Qh=c.unstable_NormalPriority,Gt={$$typeof:P,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function xc(){return{controller:new Hh,data:new Map,refCount:0}}function On(t){t.refCount--,t.refCount===0&&Bh(Qh,function(){t.controller.abort()})}var _n=null,Sc=0,Ga=0,wa=null;function qh(t,e){if(_n===null){var l=_n=[];Sc=0,Ga=Af(),wa={status:"pending",value:void 0,then:function(a){l.push(a)}}}return Sc++,e.then(dr,dr),e}function dr(){if(--Sc===0&&_n!==null){wa!==null&&(wa.status="fulfilled");var t=_n;_n=null,Ga=0,wa=null;for(var e=0;e<t.length;e++)(0,t[e])()}}function Yh(t,e){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return t.then(function(){a.status="fulfilled",a.value=e;for(var n=0;n<l.length;n++)(0,l[n])(e)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var mr=E.S;E.S=function(t,e){Fo=Bt(),typeof e=="object"&&e!==null&&typeof e.then=="function"&&qh(t,e),mr!==null&&mr(t,e)};var ca=m(null);function zc(){var t=ca.current;return t!==null?t:At.pooledCache}function Ru(t,e){e===null?H(ca,ca.current):H(ca,e.pool)}function hr(){var t=zc();return t===null?null:{parent:Gt._currentValue,pool:t}}var Xa=Error(s(460)),Tc=Error(s(474)),Hu=Error(s(542)),Bu={then:function(){}};function yr(t){return t=t.status,t==="fulfilled"||t==="rejected"}function vr(t,e,l){switch(l=t[l],l===void 0?t.push(e):l!==e&&(e.then(Pe,Pe),e=l),e.status){case"fulfilled":return e.value;case"rejected":throw t=e.reason,br(t),t;default:if(typeof e.status=="string")e.then(Pe,Pe);else{if(t=At,t!==null&&100<t.shellSuspendCounter)throw Error(s(482));t=e,t.status="pending",t.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 t=e.reason,br(t),t}throw sa=e,Xa}}function fa(t){try{var e=t._init;return e(t._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(sa=l,Xa):l}}var sa=null;function gr(){if(sa===null)throw Error(s(459));var t=sa;return sa=null,t}function br(t){if(t===Xa||t===Hu)throw Error(s(483))}var La=null,Dn=0;function Qu(t){var e=Dn;return Dn+=1,La===null&&(La=[]),vr(La,t,e)}function Un(t,e){e=e.props.ref,t.ref=e!==void 0?e:null}function qu(t,e){throw e.$$typeof===V?Error(s(525)):(t=Object.prototype.toString.call(e),Error(s(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)))}function pr(t){function e(v,h){if(t){var p=v.deletions;p===null?(v.deletions=[h],v.flags|=16):p.push(h)}}function l(v,h){if(!t)return null;for(;h!==null;)e(v,h),h=h.sibling;return null}function a(v){for(var h=new Map;v!==null;)v.key!==null?h.set(v.key,v):h.set(v.index,v),v=v.sibling;return h}function n(v,h){return v=el(v,h),v.index=0,v.sibling=null,v}function u(v,h,p){return v.index=p,t?(p=v.alternate,p!==null?(p=p.index,p<h?(v.flags|=67108866,h):p):(v.flags|=67108866,h)):(v.flags|=1048576,h)}function i(v){return t&&v.alternate===null&&(v.flags|=67108866),v}function f(v,h,p,j){return h===null||h.tag!==6?(h=oc(p,v.mode,j),h.return=v,h):(h=n(h,p),h.return=v,h)}function o(v,h,p,j){var Z=p.type;return Z===X?A(v,h,p.props.children,j,p.key):h!==null&&(h.elementType===Z||typeof Z=="object"&&Z!==null&&Z.$$typeof===Yt&&fa(Z)===h.type)?(h=n(h,p.props),Un(h,p),h.return=v,h):(h=Ou(p.type,p.key,p.props,null,v.mode,j),Un(h,p),h.return=v,h)}function x(v,h,p,j){return h===null||h.tag!==4||h.stateNode.containerInfo!==p.containerInfo||h.stateNode.implementation!==p.implementation?(h=dc(p,v.mode,j),h.return=v,h):(h=n(h,p.children||[]),h.return=v,h)}function A(v,h,p,j,Z){return h===null||h.tag!==7?(h=aa(p,v.mode,j,Z),h.return=v,h):(h=n(h,p),h.return=v,h)}function C(v,h,p){if(typeof h=="string"&&h!==""||typeof h=="number"||typeof h=="bigint")return h=oc(""+h,v.mode,p),h.return=v,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case at:return p=Ou(h.type,h.key,h.props,null,v.mode,p),Un(p,h),p.return=v,p;case K:return h=dc(h,v.mode,p),h.return=v,h;case Yt:return h=fa(h),C(v,h,p)}if(ne(h)||tt(h))return h=aa(h,v.mode,p,null),h.return=v,h;if(typeof h.then=="function")return C(v,Qu(h),p);if(h.$$typeof===P)return C(v,Uu(v,h),p);qu(v,h)}return null}function S(v,h,p,j){var Z=h!==null?h.key:null;if(typeof p=="string"&&p!==""||typeof p=="number"||typeof p=="bigint")return Z!==null?null:f(v,h,""+p,j);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case at:return p.key===Z?o(v,h,p,j):null;case K:return p.key===Z?x(v,h,p,j):null;case Yt:return p=fa(p),S(v,h,p,j)}if(ne(p)||tt(p))return Z!==null?null:A(v,h,p,j,null);if(typeof p.then=="function")return S(v,h,Qu(p),j);if(p.$$typeof===P)return S(v,h,Uu(v,p),j);qu(v,p)}return null}function T(v,h,p,j,Z){if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return v=v.get(p)||null,f(h,v,""+j,Z);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case at:return v=v.get(j.key===null?p:j.key)||null,o(h,v,j,Z);case K:return v=v.get(j.key===null?p:j.key)||null,x(h,v,j,Z);case Yt:return j=fa(j),T(v,h,p,j,Z)}if(ne(j)||tt(j))return v=v.get(p)||null,A(h,v,j,Z,null);if(typeof j.then=="function")return T(v,h,p,Qu(j),Z);if(j.$$typeof===P)return T(v,h,p,Uu(h,j),Z);qu(h,j)}return null}function q(v,h,p,j){for(var Z=null,yt=null,w=h,nt=h=0,rt=null;w!==null&&nt<p.length;nt++){w.index>nt?(rt=w,w=null):rt=w.sibling;var vt=S(v,w,p[nt],j);if(vt===null){w===null&&(w=rt);break}t&&w&&vt.alternate===null&&e(v,w),h=u(vt,h,nt),yt===null?Z=vt:yt.sibling=vt,yt=vt,w=rt}if(nt===p.length)return l(v,w),dt&&ll(v,nt),Z;if(w===null){for(;nt<p.length;nt++)w=C(v,p[nt],j),w!==null&&(h=u(w,h,nt),yt===null?Z=w:yt.sibling=w,yt=w);return dt&&ll(v,nt),Z}for(w=a(w);nt<p.length;nt++)rt=T(w,v,nt,p[nt],j),rt!==null&&(t&&rt.alternate!==null&&w.delete(rt.key===null?nt:rt.key),h=u(rt,h,nt),yt===null?Z=rt:yt.sibling=rt,yt=rt);return t&&w.forEach(function(Ll){return e(v,Ll)}),dt&&ll(v,nt),Z}function J(v,h,p,j){if(p==null)throw Error(s(151));for(var Z=null,yt=null,w=h,nt=h=0,rt=null,vt=p.next();w!==null&&!vt.done;nt++,vt=p.next()){w.index>nt?(rt=w,w=null):rt=w.sibling;var Ll=S(v,w,vt.value,j);if(Ll===null){w===null&&(w=rt);break}t&&w&&Ll.alternate===null&&e(v,w),h=u(Ll,h,nt),yt===null?Z=Ll:yt.sibling=Ll,yt=Ll,w=rt}if(vt.done)return l(v,w),dt&&ll(v,nt),Z;if(w===null){for(;!vt.done;nt++,vt=p.next())vt=C(v,vt.value,j),vt!==null&&(h=u(vt,h,nt),yt===null?Z=vt:yt.sibling=vt,yt=vt);return dt&&ll(v,nt),Z}for(w=a(w);!vt.done;nt++,vt=p.next())vt=T(w,v,nt,vt.value,j),vt!==null&&(t&&vt.alternate!==null&&w.delete(vt.key===null?nt:vt.key),h=u(vt,h,nt),yt===null?Z=vt:yt.sibling=vt,yt=vt);return t&&w.forEach(function($y){return e(v,$y)}),dt&&ll(v,nt),Z}function Tt(v,h,p,j){if(typeof p=="object"&&p!==null&&p.type===X&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case at:t:{for(var Z=p.key;h!==null;){if(h.key===Z){if(Z=p.type,Z===X){if(h.tag===7){l(v,h.sibling),j=n(h,p.props.children),j.return=v,v=j;break t}}else if(h.elementType===Z||typeof Z=="object"&&Z!==null&&Z.$$typeof===Yt&&fa(Z)===h.type){l(v,h.sibling),j=n(h,p.props),Un(j,p),j.return=v,v=j;break t}l(v,h);break}else e(v,h);h=h.sibling}p.type===X?(j=aa(p.props.children,v.mode,j,p.key),j.return=v,v=j):(j=Ou(p.type,p.key,p.props,null,v.mode,j),Un(j,p),j.return=v,v=j)}return i(v);case K:t:{for(Z=p.key;h!==null;){if(h.key===Z)if(h.tag===4&&h.stateNode.containerInfo===p.containerInfo&&h.stateNode.implementation===p.implementation){l(v,h.sibling),j=n(h,p.children||[]),j.return=v,v=j;break t}else{l(v,h);break}else e(v,h);h=h.sibling}j=dc(p,v.mode,j),j.return=v,v=j}return i(v);case Yt:return p=fa(p),Tt(v,h,p,j)}if(ne(p))return q(v,h,p,j);if(tt(p)){if(Z=tt(p),typeof Z!="function")throw Error(s(150));return p=Z.call(p),J(v,h,p,j)}if(typeof p.then=="function")return Tt(v,h,Qu(p),j);if(p.$$typeof===P)return Tt(v,h,Uu(v,p),j);qu(v,p)}return typeof p=="string"&&p!==""||typeof p=="number"||typeof p=="bigint"?(p=""+p,h!==null&&h.tag===6?(l(v,h.sibling),j=n(h,p),j.return=v,v=j):(l(v,h),j=oc(p,v.mode,j),j.return=v,v=j),i(v)):l(v,h)}return function(v,h,p,j){try{Dn=0;var Z=Tt(v,h,p,j);return La=null,Z}catch(w){if(w===Xa||w===Hu)throw w;var yt=Se(29,w,null,v.mode);return yt.lanes=j,yt.return=v,yt}finally{}}}var ra=pr(!0),xr=pr(!1),Ml=!1;function Ec(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Ac(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function jl(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function Cl(t,e,l){var a=t.updateQueue;if(a===null)return null;if(a=a.shared,(gt&2)!==0){var n=a.pending;return n===null?e.next=e:(e.next=n.next,n.next=e),a.pending=e,e=Nu(t),ar(t,null,l),e}return Cu(t,a,e,l),Nu(t)}function Rn(t,e,l){if(e=e.updateQueue,e!==null&&(e=e.shared,(l&4194048)!==0)){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,Fl(t,l)}}function Mc(t,e){var l=t.updateQueue,a=t.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var i={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?n=u=i:u=u.next=i,l=l.next}while(l!==null);u===null?n=u=e:u=u.next=e}else n=u=e;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=e:t.next=e,l.lastBaseUpdate=e}var jc=!1;function Hn(){if(jc){var t=wa;if(t!==null)throw t}}function Bn(t,e,l,a){jc=!1;var n=t.updateQueue;Ml=!1;var u=n.firstBaseUpdate,i=n.lastBaseUpdate,f=n.shared.pending;if(f!==null){n.shared.pending=null;var o=f,x=o.next;o.next=null,i===null?u=x:i.next=x,i=o;var A=t.alternate;A!==null&&(A=A.updateQueue,f=A.lastBaseUpdate,f!==i&&(f===null?A.firstBaseUpdate=x:f.next=x,A.lastBaseUpdate=o))}if(u!==null){var C=n.baseState;i=0,A=x=o=null,f=u;do{var S=f.lane&-536870913,T=S!==f.lane;if(T?(st&S)===S:(a&S)===S){S!==0&&S===Ga&&(jc=!0),A!==null&&(A=A.next={lane:0,tag:f.tag,payload:f.payload,callback:null,next:null});t:{var q=t,J=f;S=e;var Tt=l;switch(J.tag){case 1:if(q=J.payload,typeof q=="function"){C=q.call(Tt,C,S);break t}C=q;break t;case 3:q.flags=q.flags&-65537|128;case 0:if(q=J.payload,S=typeof q=="function"?q.call(Tt,C,S):q,S==null)break t;C=U({},C,S);break t;case 2:Ml=!0}}S=f.callback,S!==null&&(t.flags|=64,T&&(t.flags|=8192),T=n.callbacks,T===null?n.callbacks=[S]:T.push(S))}else T={lane:S,tag:f.tag,payload:f.payload,callback:f.callback,next:null},A===null?(x=A=T,o=C):A=A.next=T,i|=S;if(f=f.next,f===null){if(f=n.shared.pending,f===null)break;T=f,f=T.next,T.next=null,n.lastBaseUpdate=T,n.shared.pending=null}}while(!0);A===null&&(o=C),n.baseState=o,n.firstBaseUpdate=x,n.lastBaseUpdate=A,u===null&&(n.shared.lanes=0),Ul|=i,t.lanes=i,t.memoizedState=C}}function Sr(t,e){if(typeof t!="function")throw Error(s(191,t));t.call(e)}function zr(t,e){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)Sr(l[t],e)}var Za=m(null),Yu=m(0);function Tr(t,e){t=ml,H(Yu,t),H(Za,e),ml=t|e.baseLanes}function Cc(){H(Yu,ml),H(Za,Za.current)}function Nc(){ml=Yu.current,O(Za),O(Yu)}var ze=m(null),Be=null;function Nl(t){var e=t.alternate;H(Qt,Qt.current&1),H(ze,t),Be===null&&(e===null||Za.current!==null||e.memoizedState!==null)&&(Be=t)}function Oc(t){H(Qt,Qt.current),H(ze,t),Be===null&&(Be=t)}function Er(t){t.tag===22?(H(Qt,Qt.current),H(ze,t),Be===null&&(Be=t)):Ol()}function Ol(){H(Qt,Qt.current),H(ze,ze.current)}function Te(t){O(ze),Be===t&&(Be=null),O(Qt)}var Qt=m(0);function Gu(t){for(var e=t;e!==null;){if(e.tag===13){var l=e.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||Qf(l)||qf(l)))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===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var ul=0,et=null,St=null,wt=null,wu=!1,Va=!1,oa=!1,Xu=0,Qn=0,Ka=null,Gh=0;function Rt(){throw Error(s(321))}function _c(t,e){if(e===null)return!1;for(var l=0;l<e.length&&l<t.length;l++)if(!xe(t[l],e[l]))return!1;return!0}function Dc(t,e,l,a,n,u){return ul=u,et=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,E.H=t===null||t.memoizedState===null?co:Jc,oa=!1,u=l(a,n),oa=!1,Va&&(u=Mr(e,l,a,n)),Ar(t),u}function Ar(t){E.H=Gn;var e=St!==null&&St.next!==null;if(ul=0,wt=St=et=null,wu=!1,Qn=0,Ka=null,e)throw Error(s(300));t===null||Xt||(t=t.dependencies,t!==null&&Du(t)&&(Xt=!0))}function Mr(t,e,l,a){et=t;var n=0;do{if(Va&&(Ka=null),Qn=0,Va=!1,25<=n)throw Error(s(301));if(n+=1,wt=St=null,t.updateQueue!=null){var u=t.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}E.H=fo,u=e(l,a)}while(Va);return u}function wh(){var t=E.H,e=t.useState()[0];return e=typeof e.then=="function"?qn(e):e,t=t.useState()[0],(St!==null?St.memoizedState:null)!==t&&(et.flags|=1024),e}function Uc(){var t=Xu!==0;return Xu=0,t}function Rc(t,e,l){e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~l}function Hc(t){if(wu){for(t=t.memoizedState;t!==null;){var e=t.queue;e!==null&&(e.pending=null),t=t.next}wu=!1}ul=0,wt=St=et=null,Va=!1,Qn=Xu=0,Ka=null}function oe(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wt===null?et.memoizedState=wt=t:wt=wt.next=t,wt}function qt(){if(St===null){var t=et.alternate;t=t!==null?t.memoizedState:null}else t=St.next;var e=wt===null?et.memoizedState:wt.next;if(e!==null)wt=e,St=t;else{if(t===null)throw et.alternate===null?Error(s(467)):Error(s(310));St=t,t={memoizedState:St.memoizedState,baseState:St.baseState,baseQueue:St.baseQueue,queue:St.queue,next:null},wt===null?et.memoizedState=wt=t:wt=wt.next=t}return wt}function Lu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function qn(t){var e=Qn;return Qn+=1,Ka===null&&(Ka=[]),t=vr(Ka,t,e),e=et,(wt===null?e.memoizedState:wt.next)===null&&(e=e.alternate,E.H=e===null||e.memoizedState===null?co:Jc),t}function Zu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return qn(t);if(t.$$typeof===P)return It(t)}throw Error(s(438,String(t)))}function Bc(t){var e=null,l=et.updateQueue;if(l!==null&&(e=l.memoCache),e==null){var a=et.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}),l===null&&(l=Lu(),et.updateQueue=l),l.memoCache=e,l=e.data[e.index],l===void 0)for(l=e.data[e.index]=Array(t),a=0;a<t;a++)l[a]=de;return e.index++,l}function il(t,e){return typeof e=="function"?e(t):e}function Vu(t){var e=qt();return Qc(e,St,t)}function Qc(t,e,l){var a=t.queue;if(a===null)throw Error(s(311));a.lastRenderedReducer=l;var n=t.baseQueue,u=a.pending;if(u!==null){if(n!==null){var i=n.next;n.next=u.next,u.next=i}e.baseQueue=n=u,a.pending=null}if(u=t.baseState,n===null)t.memoizedState=u;else{e=n.next;var f=i=null,o=null,x=e,A=!1;do{var C=x.lane&-536870913;if(C!==x.lane?(st&C)===C:(ul&C)===C){var S=x.revertLane;if(S===0)o!==null&&(o=o.next={lane:0,revertLane:0,gesture:null,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null}),C===Ga&&(A=!0);else if((ul&S)===S){x=x.next,S===Ga&&(A=!0);continue}else C={lane:0,revertLane:x.revertLane,gesture:null,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},o===null?(f=o=C,i=u):o=o.next=C,et.lanes|=S,Ul|=S;C=x.action,oa&&l(u,C),u=x.hasEagerState?x.eagerState:l(u,C)}else S={lane:C,revertLane:x.revertLane,gesture:x.gesture,action:x.action,hasEagerState:x.hasEagerState,eagerState:x.eagerState,next:null},o===null?(f=o=S,i=u):o=o.next=S,et.lanes|=C,Ul|=C;x=x.next}while(x!==null&&x!==e);if(o===null?i=u:o.next=f,!xe(u,t.memoizedState)&&(Xt=!0,A&&(l=wa,l!==null)))throw l;t.memoizedState=u,t.baseState=i,t.baseQueue=o,a.lastRenderedState=u}return n===null&&(a.lanes=0),[t.memoizedState,a.dispatch]}function qc(t){var e=qt(),l=e.queue;if(l===null)throw Error(s(311));l.lastRenderedReducer=t;var a=l.dispatch,n=l.pending,u=e.memoizedState;if(n!==null){l.pending=null;var i=n=n.next;do u=t(u,i.action),i=i.next;while(i!==n);xe(u,e.memoizedState)||(Xt=!0),e.memoizedState=u,e.baseQueue===null&&(e.baseState=u),l.lastRenderedState=u}return[u,a]}function jr(t,e,l){var a=et,n=qt(),u=dt;if(u){if(l===void 0)throw Error(s(407));l=l()}else l=e();var i=!xe((St||n).memoizedState,l);if(i&&(n.memoizedState=l,Xt=!0),n=n.queue,wc(Or.bind(null,a,n,t),[t]),n.getSnapshot!==e||i||wt!==null&&wt.memoizedState.tag&1){if(a.flags|=2048,Ja(9,{destroy:void 0},Nr.bind(null,a,n,l,e),null),At===null)throw Error(s(349));u||(ul&127)!==0||Cr(a,e,l)}return l}function Cr(t,e,l){t.flags|=16384,t={getSnapshot:e,value:l},e=et.updateQueue,e===null?(e=Lu(),et.updateQueue=e,e.stores=[t]):(l=e.stores,l===null?e.stores=[t]:l.push(t))}function Nr(t,e,l,a){e.value=l,e.getSnapshot=a,_r(e)&&Dr(t)}function Or(t,e,l){return l(function(){_r(e)&&Dr(t)})}function _r(t){var e=t.getSnapshot;t=t.value;try{var l=e();return!xe(t,l)}catch{return!0}}function Dr(t){var e=la(t,2);e!==null&&pe(e,t,2)}function Yc(t){var e=oe();if(typeof t=="function"){var l=t;if(t=l(),oa){Ve(!0);try{l()}finally{Ve(!1)}}}return e.memoizedState=e.baseState=t,e.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:il,lastRenderedState:t},e}function Ur(t,e,l,a){return t.baseState=l,Qc(t,St,typeof a=="function"?a:il)}function Xh(t,e,l,a,n){if(ku(t))throw Error(s(485));if(t=e.action,t!==null){var u={payload:n,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){u.listeners.push(i)}};E.T!==null?l(!0):u.isTransition=!1,a(u),l=e.pending,l===null?(u.next=e.pending=u,Rr(e,u)):(u.next=l.next,e.pending=l.next=u)}}function Rr(t,e){var l=e.action,a=e.payload,n=t.state;if(e.isTransition){var u=E.T,i={};E.T=i;try{var f=l(n,a),o=E.S;o!==null&&o(i,f),Hr(t,e,f)}catch(x){Gc(t,e,x)}finally{u!==null&&i.types!==null&&(u.types=i.types),E.T=u}}else try{u=l(n,a),Hr(t,e,u)}catch(x){Gc(t,e,x)}}function Hr(t,e,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){Br(t,e,a)},function(a){return Gc(t,e,a)}):Br(t,e,l)}function Br(t,e,l){e.status="fulfilled",e.value=l,Qr(e),t.state=l,e=t.pending,e!==null&&(l=e.next,l===e?t.pending=null:(l=l.next,e.next=l,Rr(t,l)))}function Gc(t,e,l){var a=t.pending;if(t.pending=null,a!==null){a=a.next;do e.status="rejected",e.reason=l,Qr(e),e=e.next;while(e!==a)}t.action=null}function Qr(t){t=t.listeners;for(var e=0;e<t.length;e++)(0,t[e])()}function qr(t,e){return e}function Yr(t,e){if(dt){var l=At.formState;if(l!==null){t:{var a=et;if(dt){if(jt){e:{for(var n=jt,u=He;n.nodeType!==8;){if(!u){n=null;break e}if(n=Qe(n.nextSibling),n===null){n=null;break e}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){jt=Qe(n.nextSibling),a=n.data==="F!";break t}}El(a)}a=!1}a&&(e=l[0])}}return l=oe(),l.memoizedState=l.baseState=e,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:qr,lastRenderedState:e},l.queue=a,l=no.bind(null,et,a),a.dispatch=l,a=Yc(!1),u=Kc.bind(null,et,!1,a.queue),a=oe(),n={state:e,dispatch:null,action:t,pending:null},a.queue=n,l=Xh.bind(null,et,n,u,l),n.dispatch=l,a.memoizedState=t,[e,l,!1]}function Gr(t){var e=qt();return wr(e,St,t)}function wr(t,e,l){if(e=Qc(t,e,qr)[0],t=Vu(il)[0],typeof e=="object"&&e!==null&&typeof e.then=="function")try{var a=qn(e)}catch(i){throw i===Xa?Hu:i}else a=e;e=qt();var n=e.queue,u=n.dispatch;return l!==e.memoizedState&&(et.flags|=2048,Ja(9,{destroy:void 0},Lh.bind(null,n,l),null)),[a,u,t]}function Lh(t,e){t.action=e}function Xr(t){var e=qt(),l=St;if(l!==null)return wr(e,l,t);qt(),e=e.memoizedState,l=qt();var a=l.queue.dispatch;return l.memoizedState=t,[e,a,!1]}function Ja(t,e,l,a){return t={tag:t,create:l,deps:a,inst:e,next:null},e=et.updateQueue,e===null&&(e=Lu(),et.updateQueue=e),l=e.lastEffect,l===null?e.lastEffect=t.next=t:(a=l.next,l.next=t,t.next=a,e.lastEffect=t),t}function Lr(){return qt().memoizedState}function Ku(t,e,l,a){var n=oe();et.flags|=t,n.memoizedState=Ja(1|e,{destroy:void 0},l,a===void 0?null:a)}function Ju(t,e,l,a){var n=qt();a=a===void 0?null:a;var u=n.memoizedState.inst;St!==null&&a!==null&&_c(a,St.memoizedState.deps)?n.memoizedState=Ja(e,u,l,a):(et.flags|=t,n.memoizedState=Ja(1|e,u,l,a))}function Zr(t,e){Ku(8390656,8,t,e)}function wc(t,e){Ju(2048,8,t,e)}function Zh(t){et.flags|=4;var e=et.updateQueue;if(e===null)e=Lu(),et.updateQueue=e,e.events=[t];else{var l=e.events;l===null?e.events=[t]:l.push(t)}}function Vr(t){var e=qt().memoizedState;return Zh({ref:e,nextImpl:t}),function(){if((gt&2)!==0)throw Error(s(440));return e.impl.apply(void 0,arguments)}}function Kr(t,e){return Ju(4,2,t,e)}function Jr(t,e){return Ju(4,4,t,e)}function kr(t,e){if(typeof e=="function"){t=t();var l=e(t);return function(){typeof l=="function"?l():e(null)}}if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function Wr(t,e,l){l=l!=null?l.concat([t]):null,Ju(4,4,kr.bind(null,e,t),l)}function Xc(){}function $r(t,e){var l=qt();e=e===void 0?null:e;var a=l.memoizedState;return e!==null&&_c(e,a[1])?a[0]:(l.memoizedState=[t,e],t)}function Fr(t,e){var l=qt();e=e===void 0?null:e;var a=l.memoizedState;if(e!==null&&_c(e,a[1]))return a[0];if(a=t(),oa){Ve(!0);try{t()}finally{Ve(!1)}}return l.memoizedState=[a,e],a}function Lc(t,e,l){return l===void 0||(ul&1073741824)!==0&&(st&261930)===0?t.memoizedState=e:(t.memoizedState=l,t=Po(),et.lanes|=t,Ul|=t,l)}function Ir(t,e,l,a){return xe(l,e)?l:Za.current!==null?(t=Lc(t,l,a),xe(t,e)||(Xt=!0),t):(ul&42)===0||(ul&1073741824)!==0&&(st&261930)===0?(Xt=!0,t.memoizedState=l):(t=Po(),et.lanes|=t,Ul|=t,e)}function Pr(t,e,l,a,n){var u=R.p;R.p=u!==0&&8>u?u:8;var i=E.T,f={};E.T=f,Kc(t,!1,e,l);try{var o=n(),x=E.S;if(x!==null&&x(f,o),o!==null&&typeof o=="object"&&typeof o.then=="function"){var A=Yh(o,a);Yn(t,e,A,Me(t))}else Yn(t,e,a,Me(t))}catch(C){Yn(t,e,{then:function(){},status:"rejected",reason:C},Me())}finally{R.p=u,i!==null&&f.types!==null&&(i.types=f.types),E.T=i}}function Vh(){}function Zc(t,e,l,a){if(t.tag!==5)throw Error(s(476));var n=to(t).queue;Pr(t,n,e,G,l===null?Vh:function(){return eo(t),l(a)})}function to(t){var e=t.memoizedState;if(e!==null)return e;e={memoizedState:G,baseState:G,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:il,lastRenderedState:G},next:null};var l={};return e.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:il,lastRenderedState:l},next:null},t.memoizedState=e,t=t.alternate,t!==null&&(t.memoizedState=e),e}function eo(t){var e=to(t);e.next===null&&(e=t.alternate.memoizedState),Yn(t,e.next.queue,{},Me())}function Vc(){return It(lu)}function lo(){return qt().memoizedState}function ao(){return qt().memoizedState}function Kh(t){for(var e=t.return;e!==null;){switch(e.tag){case 24:case 3:var l=Me();t=jl(l);var a=Cl(e,t,l);a!==null&&(pe(a,e,l),Rn(a,e,l)),e={cache:xc()},t.payload=e;return}e=e.return}}function Jh(t,e,l){var a=Me();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},ku(t)?uo(e,l):(l=sc(t,e,l,a),l!==null&&(pe(l,t,a),io(l,e,a)))}function no(t,e,l){var a=Me();Yn(t,e,l,a)}function Yn(t,e,l,a){var n={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(ku(t))uo(e,n);else{var u=t.alternate;if(t.lanes===0&&(u===null||u.lanes===0)&&(u=e.lastRenderedReducer,u!==null))try{var i=e.lastRenderedState,f=u(i,l);if(n.hasEagerState=!0,n.eagerState=f,xe(f,i))return Cu(t,e,n,0),At===null&&ju(),!1}catch{}finally{}if(l=sc(t,e,n,a),l!==null)return pe(l,t,a),io(l,e,a),!0}return!1}function Kc(t,e,l,a){if(a={lane:2,revertLane:Af(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},ku(t)){if(e)throw Error(s(479))}else e=sc(t,l,a,2),e!==null&&pe(e,t,2)}function ku(t){var e=t.alternate;return t===et||e!==null&&e===et}function uo(t,e){Va=wu=!0;var l=t.pending;l===null?e.next=e:(e.next=l.next,l.next=e),t.pending=e}function io(t,e,l){if((l&4194048)!==0){var a=e.lanes;a&=t.pendingLanes,l|=a,e.lanes=l,Fl(t,l)}}var Gn={readContext:It,use:Zu,useCallback:Rt,useContext:Rt,useEffect:Rt,useImperativeHandle:Rt,useLayoutEffect:Rt,useInsertionEffect:Rt,useMemo:Rt,useReducer:Rt,useRef:Rt,useState:Rt,useDebugValue:Rt,useDeferredValue:Rt,useTransition:Rt,useSyncExternalStore:Rt,useId:Rt,useHostTransitionStatus:Rt,useFormState:Rt,useActionState:Rt,useOptimistic:Rt,useMemoCache:Rt,useCacheRefresh:Rt};Gn.useEffectEvent=Rt;var co={readContext:It,use:Zu,useCallback:function(t,e){return oe().memoizedState=[t,e===void 0?null:e],t},useContext:It,useEffect:Zr,useImperativeHandle:function(t,e,l){l=l!=null?l.concat([t]):null,Ku(4194308,4,kr.bind(null,e,t),l)},useLayoutEffect:function(t,e){return Ku(4194308,4,t,e)},useInsertionEffect:function(t,e){Ku(4,2,t,e)},useMemo:function(t,e){var l=oe();e=e===void 0?null:e;var a=t();if(oa){Ve(!0);try{t()}finally{Ve(!1)}}return l.memoizedState=[a,e],a},useReducer:function(t,e,l){var a=oe();if(l!==void 0){var n=l(e);if(oa){Ve(!0);try{l(e)}finally{Ve(!1)}}}else n=e;return a.memoizedState=a.baseState=n,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:n},a.queue=t,t=t.dispatch=Jh.bind(null,et,t),[a.memoizedState,t]},useRef:function(t){var e=oe();return t={current:t},e.memoizedState=t},useState:function(t){t=Yc(t);var e=t.queue,l=no.bind(null,et,e);return e.dispatch=l,[t.memoizedState,l]},useDebugValue:Xc,useDeferredValue:function(t,e){var l=oe();return Lc(l,t,e)},useTransition:function(){var t=Yc(!1);return t=Pr.bind(null,et,t.queue,!0,!1),oe().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,e,l){var a=et,n=oe();if(dt){if(l===void 0)throw Error(s(407));l=l()}else{if(l=e(),At===null)throw Error(s(349));(st&127)!==0||Cr(a,e,l)}n.memoizedState=l;var u={value:l,getSnapshot:e};return n.queue=u,Zr(Or.bind(null,a,u,t),[t]),a.flags|=2048,Ja(9,{destroy:void 0},Nr.bind(null,a,u,l,e),null),l},useId:function(){var t=oe(),e=At.identifierPrefix;if(dt){var l=Je,a=Ke;l=(a&~(1<<32-ue(a)-1)).toString(32)+l,e="_"+e+"R_"+l,l=Xu++,0<l&&(e+="H"+l.toString(32)),e+="_"}else l=Gh++,e="_"+e+"r_"+l.toString(32)+"_";return t.memoizedState=e},useHostTransitionStatus:Vc,useFormState:Yr,useActionState:Yr,useOptimistic:function(t){var e=oe();e.memoizedState=e.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return e.queue=l,e=Kc.bind(null,et,!0,l),l.dispatch=e,[t,e]},useMemoCache:Bc,useCacheRefresh:function(){return oe().memoizedState=Kh.bind(null,et)},useEffectEvent:function(t){var e=oe(),l={impl:t};return e.memoizedState=l,function(){if((gt&2)!==0)throw Error(s(440));return l.impl.apply(void 0,arguments)}}},Jc={readContext:It,use:Zu,useCallback:$r,useContext:It,useEffect:wc,useImperativeHandle:Wr,useInsertionEffect:Kr,useLayoutEffect:Jr,useMemo:Fr,useReducer:Vu,useRef:Lr,useState:function(){return Vu(il)},useDebugValue:Xc,useDeferredValue:function(t,e){var l=qt();return Ir(l,St.memoizedState,t,e)},useTransition:function(){var t=Vu(il)[0],e=qt().memoizedState;return[typeof t=="boolean"?t:qn(t),e]},useSyncExternalStore:jr,useId:lo,useHostTransitionStatus:Vc,useFormState:Gr,useActionState:Gr,useOptimistic:function(t,e){var l=qt();return Ur(l,St,t,e)},useMemoCache:Bc,useCacheRefresh:ao};Jc.useEffectEvent=Vr;var fo={readContext:It,use:Zu,useCallback:$r,useContext:It,useEffect:wc,useImperativeHandle:Wr,useInsertionEffect:Kr,useLayoutEffect:Jr,useMemo:Fr,useReducer:qc,useRef:Lr,useState:function(){return qc(il)},useDebugValue:Xc,useDeferredValue:function(t,e){var l=qt();return St===null?Lc(l,t,e):Ir(l,St.memoizedState,t,e)},useTransition:function(){var t=qc(il)[0],e=qt().memoizedState;return[typeof t=="boolean"?t:qn(t),e]},useSyncExternalStore:jr,useId:lo,useHostTransitionStatus:Vc,useFormState:Xr,useActionState:Xr,useOptimistic:function(t,e){var l=qt();return St!==null?Ur(l,St,t,e):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:Bc,useCacheRefresh:ao};fo.useEffectEvent=Vr;function kc(t,e,l,a){e=t.memoizedState,l=l(a,e),l=l==null?e:U({},e,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var Wc={enqueueSetState:function(t,e,l){t=t._reactInternals;var a=Me(),n=jl(a);n.payload=e,l!=null&&(n.callback=l),e=Cl(t,n,a),e!==null&&(pe(e,t,a),Rn(e,t,a))},enqueueReplaceState:function(t,e,l){t=t._reactInternals;var a=Me(),n=jl(a);n.tag=1,n.payload=e,l!=null&&(n.callback=l),e=Cl(t,n,a),e!==null&&(pe(e,t,a),Rn(e,t,a))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var l=Me(),a=jl(l);a.tag=2,e!=null&&(a.callback=e),e=Cl(t,a,l),e!==null&&(pe(e,t,l),Rn(e,t,l))}};function so(t,e,l,a,n,u,i){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(a,u,i):e.prototype&&e.prototype.isPureReactComponent?!Mn(l,a)||!Mn(n,u):!0}function ro(t,e,l,a){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(l,a),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(l,a),e.state!==t&&Wc.enqueueReplaceState(e,e.state,null)}function da(t,e){var l=e;if("ref"in e){l={};for(var a in e)a!=="ref"&&(l[a]=e[a])}if(t=t.defaultProps){l===e&&(l=U({},l));for(var n in t)l[n]===void 0&&(l[n]=t[n])}return l}function oo(t){Mu(t)}function mo(t){console.error(t)}function ho(t){Mu(t)}function Wu(t,e){try{var l=t.onUncaughtError;l(e.value,{componentStack:e.stack})}catch(a){setTimeout(function(){throw a})}}function yo(t,e,l){try{var a=t.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:e.tag===1?e.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function $c(t,e,l){return l=jl(l),l.tag=3,l.payload={element:null},l.callback=function(){Wu(t,e)},l}function vo(t){return t=jl(t),t.tag=3,t}function go(t,e,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;t.payload=function(){return n(u)},t.callback=function(){yo(e,l,a)}}var i=l.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){yo(e,l,a),typeof n!="function"&&(Rl===null?Rl=new Set([this]):Rl.add(this));var f=a.stack;this.componentDidCatch(a.value,{componentStack:f!==null?f:""})})}function kh(t,e,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(e=l.alternate,e!==null&&Ya(e,l,n,!0),l=ze.current,l!==null){switch(l.tag){case 31:case 13:return Be===null?ci():l.alternate===null&&Ht===0&&(Ht=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===Bu?l.flags|=16384:(e=l.updateQueue,e===null?l.updateQueue=new Set([a]):e.add(a),zf(t,a,n)),!1;case 22:return l.flags|=65536,a===Bu?l.flags|=16384:(e=l.updateQueue,e===null?(e={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=e):(l=e.retryQueue,l===null?e.retryQueue=new Set([a]):l.add(a)),zf(t,a,n)),!1}throw Error(s(435,l.tag))}return zf(t,a,n),ci(),!1}if(dt)return e=ze.current,e!==null?((e.flags&65536)===0&&(e.flags|=256),e.flags|=65536,e.lanes=n,a!==yc&&(t=Error(s(422),{cause:a}),Nn(De(t,l)))):(a!==yc&&(e=Error(s(423),{cause:a}),Nn(De(e,l))),t=t.current.alternate,t.flags|=65536,n&=-n,t.lanes|=n,a=De(a,l),n=$c(t.stateNode,a,n),Mc(t,n),Ht!==4&&(Ht=2)),!1;var u=Error(s(520),{cause:a});if(u=De(u,l),kn===null?kn=[u]:kn.push(u),Ht!==4&&(Ht=2),e===null)return!0;a=De(a,l),l=e;do{switch(l.tag){case 3:return l.flags|=65536,t=n&-n,l.lanes|=t,t=$c(l.stateNode,a,t),Mc(l,t),!1;case 1:if(e=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof e.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Rl===null||!Rl.has(u))))return l.flags|=65536,n&=-n,l.lanes|=n,n=vo(n),go(n,t,l,a),Mc(l,n),!1}l=l.return}while(l!==null);return!1}var Fc=Error(s(461)),Xt=!1;function Pt(t,e,l,a){e.child=t===null?xr(e,null,l,a):ra(e,t.child,l,a)}function bo(t,e,l,a,n){l=l.render;var u=e.ref;if("ref"in a){var i={};for(var f in a)f!=="ref"&&(i[f]=a[f])}else i=a;return ia(e),a=Dc(t,e,l,i,u,n),f=Uc(),t!==null&&!Xt?(Rc(t,e,n),cl(t,e,n)):(dt&&f&&mc(e),e.flags|=1,Pt(t,e,a,n),e.child)}function po(t,e,l,a,n){if(t===null){var u=l.type;return typeof u=="function"&&!rc(u)&&u.defaultProps===void 0&&l.compare===null?(e.tag=15,e.type=u,xo(t,e,u,a,n)):(t=Ou(l.type,null,a,e,e.mode,n),t.ref=e.ref,t.return=e,e.child=t)}if(u=t.child,!uf(t,n)){var i=u.memoizedProps;if(l=l.compare,l=l!==null?l:Mn,l(i,a)&&t.ref===e.ref)return cl(t,e,n)}return e.flags|=1,t=el(u,a),t.ref=e.ref,t.return=e,e.child=t}function xo(t,e,l,a,n){if(t!==null){var u=t.memoizedProps;if(Mn(u,a)&&t.ref===e.ref)if(Xt=!1,e.pendingProps=a=u,uf(t,n))(t.flags&131072)!==0&&(Xt=!0);else return e.lanes=t.lanes,cl(t,e,n)}return Ic(t,e,l,a,n)}function So(t,e,l,a){var n=a.children,u=t!==null?t.memoizedState:null;if(t===null&&e.stateNode===null&&(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((e.flags&128)!==0){if(u=u!==null?u.baseLanes|l:l,t!==null){for(a=e.child=t.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,e.child=null;return zo(t,e,u,l,a)}if((l&536870912)!==0)e.memoizedState={baseLanes:0,cachePool:null},t!==null&&Ru(e,u!==null?u.cachePool:null),u!==null?Tr(e,u):Cc(),Er(e);else return a=e.lanes=536870912,zo(t,e,u!==null?u.baseLanes|l:l,l,a)}else u!==null?(Ru(e,u.cachePool),Tr(e,u),Ol(),e.memoizedState=null):(t!==null&&Ru(e,null),Cc(),Ol());return Pt(t,e,n,l),e.child}function wn(t,e){return t!==null&&t.tag===22||e.stateNode!==null||(e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),e.sibling}function zo(t,e,l,a,n){var u=zc();return u=u===null?null:{parent:Gt._currentValue,pool:u},e.memoizedState={baseLanes:l,cachePool:u},t!==null&&Ru(e,null),Cc(),Er(e),t!==null&&Ya(t,e,a,!0),e.childLanes=n,null}function $u(t,e){return e=Iu({mode:e.mode,children:e.children},t.mode),e.ref=t.ref,t.child=e,e.return=t,e}function To(t,e,l){return ra(e,t.child,null,l),t=$u(e,e.pendingProps),t.flags|=2,Te(e),e.memoizedState=null,t}function Wh(t,e,l){var a=e.pendingProps,n=(e.flags&128)!==0;if(e.flags&=-129,t===null){if(dt){if(a.mode==="hidden")return t=$u(e,a),e.lanes=536870912,wn(null,t);if(Oc(e),(t=jt)?(t=Hd(t,He),t=t!==null&&t.data==="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:zl!==null?{id:Ke,overflow:Je}:null,retryLane:536870912,hydrationErrors:null},l=ur(t),l.return=e,e.child=l,Ft=e,jt=null)):t=null,t===null)throw El(e);return e.lanes=536870912,null}return $u(e,a)}var u=t.memoizedState;if(u!==null){var i=u.dehydrated;if(Oc(e),n)if(e.flags&256)e.flags&=-257,e=To(t,e,l);else if(e.memoizedState!==null)e.child=t.child,e.flags|=128,e=null;else throw Error(s(558));else if(Xt||Ya(t,e,l,!1),n=(l&t.childLanes)!==0,Xt||n){if(a=At,a!==null&&(i=vn(a,l),i!==0&&i!==u.retryLane))throw u.retryLane=i,la(t,i),pe(a,t,i),Fc;ci(),e=To(t,e,l)}else t=u.treeContext,jt=Qe(i.nextSibling),Ft=e,dt=!0,Tl=null,He=!1,t!==null&&fr(e,t),e=$u(e,a),e.flags|=4096;return e}return t=el(t.child,{mode:a.mode,children:a.children}),t.ref=e.ref,e.child=t,t.return=e,t}function Fu(t,e){var l=e.ref;if(l===null)t!==null&&t.ref!==null&&(e.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(s(284));(t===null||t.ref!==l)&&(e.flags|=4194816)}}function Ic(t,e,l,a,n){return ia(e),l=Dc(t,e,l,a,void 0,n),a=Uc(),t!==null&&!Xt?(Rc(t,e,n),cl(t,e,n)):(dt&&a&&mc(e),e.flags|=1,Pt(t,e,l,n),e.child)}function Eo(t,e,l,a,n,u){return ia(e),e.updateQueue=null,l=Mr(e,a,l,n),Ar(t),a=Uc(),t!==null&&!Xt?(Rc(t,e,u),cl(t,e,u)):(dt&&a&&mc(e),e.flags|=1,Pt(t,e,l,u),e.child)}function Ao(t,e,l,a,n){if(ia(e),e.stateNode===null){var u=Ha,i=l.contextType;typeof i=="object"&&i!==null&&(u=It(i)),u=new l(a,u),e.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Wc,e.stateNode=u,u._reactInternals=e,u=e.stateNode,u.props=a,u.state=e.memoizedState,u.refs={},Ec(e),i=l.contextType,u.context=typeof i=="object"&&i!==null?It(i):Ha,u.state=e.memoizedState,i=l.getDerivedStateFromProps,typeof i=="function"&&(kc(e,l,i,a),u.state=e.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(i=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),i!==u.state&&Wc.enqueueReplaceState(u,u.state,null),Bn(e,a,u,n),Hn(),u.state=e.memoizedState),typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!0}else if(t===null){u=e.stateNode;var f=e.memoizedProps,o=da(l,f);u.props=o;var x=u.context,A=l.contextType;i=Ha,typeof A=="object"&&A!==null&&(i=It(A));var C=l.getDerivedStateFromProps;A=typeof C=="function"||typeof u.getSnapshotBeforeUpdate=="function",f=e.pendingProps!==f,A||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(f||x!==i)&&ro(e,u,a,i),Ml=!1;var S=e.memoizedState;u.state=S,Bn(e,a,u,n),Hn(),x=e.memoizedState,f||S!==x||Ml?(typeof C=="function"&&(kc(e,l,C,a),x=e.memoizedState),(o=Ml||so(e,l,o,a,S,x,i))?(A||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(e.flags|=4194308)):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=a,e.memoizedState=x),u.props=a,u.state=x,u.context=i,a=o):(typeof u.componentDidMount=="function"&&(e.flags|=4194308),a=!1)}else{u=e.stateNode,Ac(t,e),i=e.memoizedProps,A=da(l,i),u.props=A,C=e.pendingProps,S=u.context,x=l.contextType,o=Ha,typeof x=="object"&&x!==null&&(o=It(x)),f=l.getDerivedStateFromProps,(x=typeof f=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(i!==C||S!==o)&&ro(e,u,a,o),Ml=!1,S=e.memoizedState,u.state=S,Bn(e,a,u,n),Hn();var T=e.memoizedState;i!==C||S!==T||Ml||t!==null&&t.dependencies!==null&&Du(t.dependencies)?(typeof f=="function"&&(kc(e,l,f,a),T=e.memoizedState),(A=Ml||so(e,l,A,a,S,T,o)||t!==null&&t.dependencies!==null&&Du(t.dependencies))?(x||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,T,o),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,T,o)),typeof u.componentDidUpdate=="function"&&(e.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof u.componentDidUpdate!="function"||i===t.memoizedProps&&S===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&S===t.memoizedState||(e.flags|=1024),e.memoizedProps=a,e.memoizedState=T),u.props=a,u.state=T,u.context=o,a=A):(typeof u.componentDidUpdate!="function"||i===t.memoizedProps&&S===t.memoizedState||(e.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||i===t.memoizedProps&&S===t.memoizedState||(e.flags|=1024),a=!1)}return u=a,Fu(t,e),a=(e.flags&128)!==0,u||a?(u=e.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:u.render(),e.flags|=1,t!==null&&a?(e.child=ra(e,t.child,null,n),e.child=ra(e,null,l,n)):Pt(t,e,l,n),e.memoizedState=u.state,t=e.child):t=cl(t,e,n),t}function Mo(t,e,l,a){return na(),e.flags|=256,Pt(t,e,l,a),e.child}var Pc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function tf(t){return{baseLanes:t,cachePool:hr()}}function ef(t,e,l){return t=t!==null?t.childLanes&~l:0,e&&(t|=Ae),t}function jo(t,e,l){var a=e.pendingProps,n=!1,u=(e.flags&128)!==0,i;if((i=u)||(i=t!==null&&t.memoizedState===null?!1:(Qt.current&2)!==0),i&&(n=!0,e.flags&=-129),i=(e.flags&32)!==0,e.flags&=-33,t===null){if(dt){if(n?Nl(e):Ol(),(t=jt)?(t=Hd(t,He),t=t!==null&&t.data!=="&"?t:null,t!==null&&(e.memoizedState={dehydrated:t,treeContext:zl!==null?{id:Ke,overflow:Je}:null,retryLane:536870912,hydrationErrors:null},l=ur(t),l.return=e,e.child=l,Ft=e,jt=null)):t=null,t===null)throw El(e);return qf(t)?e.lanes=32:e.lanes=536870912,null}var f=a.children;return a=a.fallback,n?(Ol(),n=e.mode,f=Iu({mode:"hidden",children:f},n),a=aa(a,n,l,null),f.return=e,a.return=e,f.sibling=a,e.child=f,a=e.child,a.memoizedState=tf(l),a.childLanes=ef(t,i,l),e.memoizedState=Pc,wn(null,a)):(Nl(e),lf(e,f))}var o=t.memoizedState;if(o!==null&&(f=o.dehydrated,f!==null)){if(u)e.flags&256?(Nl(e),e.flags&=-257,e=af(t,e,l)):e.memoizedState!==null?(Ol(),e.child=t.child,e.flags|=128,e=null):(Ol(),f=a.fallback,n=e.mode,a=Iu({mode:"visible",children:a.children},n),f=aa(f,n,l,null),f.flags|=2,a.return=e,f.return=e,a.sibling=f,e.child=a,ra(e,t.child,null,l),a=e.child,a.memoizedState=tf(l),a.childLanes=ef(t,i,l),e.memoizedState=Pc,e=wn(null,a));else if(Nl(e),qf(f)){if(i=f.nextSibling&&f.nextSibling.dataset,i)var x=i.dgst;i=x,a=Error(s(419)),a.stack="",a.digest=i,Nn({value:a,source:null,stack:null}),e=af(t,e,l)}else if(Xt||Ya(t,e,l,!1),i=(l&t.childLanes)!==0,Xt||i){if(i=At,i!==null&&(a=vn(i,l),a!==0&&a!==o.retryLane))throw o.retryLane=a,la(t,a),pe(i,t,a),Fc;Qf(f)||ci(),e=af(t,e,l)}else Qf(f)?(e.flags|=192,e.child=t.child,e=null):(t=o.treeContext,jt=Qe(f.nextSibling),Ft=e,dt=!0,Tl=null,He=!1,t!==null&&fr(e,t),e=lf(e,a.children),e.flags|=4096);return e}return n?(Ol(),f=a.fallback,n=e.mode,o=t.child,x=o.sibling,a=el(o,{mode:"hidden",children:a.children}),a.subtreeFlags=o.subtreeFlags&65011712,x!==null?f=el(x,f):(f=aa(f,n,l,null),f.flags|=2),f.return=e,a.return=e,a.sibling=f,e.child=a,wn(null,a),a=e.child,f=t.child.memoizedState,f===null?f=tf(l):(n=f.cachePool,n!==null?(o=Gt._currentValue,n=n.parent!==o?{parent:o,pool:o}:n):n=hr(),f={baseLanes:f.baseLanes|l,cachePool:n}),a.memoizedState=f,a.childLanes=ef(t,i,l),e.memoizedState=Pc,wn(t.child,a)):(Nl(e),l=t.child,t=l.sibling,l=el(l,{mode:"visible",children:a.children}),l.return=e,l.sibling=null,t!==null&&(i=e.deletions,i===null?(e.deletions=[t],e.flags|=16):i.push(t)),e.child=l,e.memoizedState=null,l)}function lf(t,e){return e=Iu({mode:"visible",children:e},t.mode),e.return=t,t.child=e}function Iu(t,e){return t=Se(22,t,null,e),t.lanes=0,t}function af(t,e,l){return ra(e,t.child,null,l),t=lf(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function Co(t,e,l){t.lanes|=e;var a=t.alternate;a!==null&&(a.lanes|=e),bc(t.return,e,l)}function nf(t,e,l,a,n,u){var i=t.memoizedState;i===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n,treeForkCount:u}:(i.isBackwards=e,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=l,i.tailMode=n,i.treeForkCount=u)}function No(t,e,l){var a=e.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var i=Qt.current,f=(i&2)!==0;if(f?(i=i&1|2,e.flags|=128):i&=1,H(Qt,i),Pt(t,e,a,l),a=dt?Cn:0,!f&&t!==null&&(t.flags&128)!==0)t:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Co(t,l,e);else if(t.tag===19)Co(t,l,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;t.sibling===null;){if(t.return===null||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}switch(n){case"forwards":for(l=e.child,n=null;l!==null;)t=l.alternate,t!==null&&Gu(t)===null&&(n=l),l=l.sibling;l=n,l===null?(n=e.child,e.child=null):(n=l.sibling,l.sibling=null),nf(e,!1,n,l,u,a);break;case"backwards":case"unstable_legacy-backwards":for(l=null,n=e.child,e.child=null;n!==null;){if(t=n.alternate,t!==null&&Gu(t)===null){e.child=n;break}t=n.sibling,n.sibling=l,l=n,n=t}nf(e,!0,l,null,u,a);break;case"together":nf(e,!1,null,null,void 0,a);break;default:e.memoizedState=null}return e.child}function cl(t,e,l){if(t!==null&&(e.dependencies=t.dependencies),Ul|=e.lanes,(l&e.childLanes)===0)if(t!==null){if(Ya(t,e,l,!1),(l&e.childLanes)===0)return null}else return null;if(t!==null&&e.child!==t.child)throw Error(s(153));if(e.child!==null){for(t=e.child,l=el(t,t.pendingProps),e.child=l,l.return=e;t.sibling!==null;)t=t.sibling,l=l.sibling=el(t,t.pendingProps),l.return=e;l.sibling=null}return e.child}function uf(t,e){return(t.lanes&e)!==0?!0:(t=t.dependencies,!!(t!==null&&Du(t)))}function $h(t,e,l){switch(e.tag){case 3:Vt(e,e.stateNode.containerInfo),Al(e,Gt,t.memoizedState.cache),na();break;case 27:case 5:Jl(e);break;case 4:Vt(e,e.stateNode.containerInfo);break;case 10:Al(e,e.type,e.memoizedProps.value);break;case 31:if(e.memoizedState!==null)return e.flags|=128,Oc(e),null;break;case 13:var a=e.memoizedState;if(a!==null)return a.dehydrated!==null?(Nl(e),e.flags|=128,null):(l&e.child.childLanes)!==0?jo(t,e,l):(Nl(e),t=cl(t,e,l),t!==null?t.sibling:null);Nl(e);break;case 19:var n=(t.flags&128)!==0;if(a=(l&e.childLanes)!==0,a||(Ya(t,e,l,!1),a=(l&e.childLanes)!==0),n){if(a)return No(t,e,l);e.flags|=128}if(n=e.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),H(Qt,Qt.current),a)break;return null;case 22:return e.lanes=0,So(t,e,l,e.pendingProps);case 24:Al(e,Gt,t.memoizedState.cache)}return cl(t,e,l)}function Oo(t,e,l){if(t!==null)if(t.memoizedProps!==e.pendingProps)Xt=!0;else{if(!uf(t,l)&&(e.flags&128)===0)return Xt=!1,$h(t,e,l);Xt=(t.flags&131072)!==0}else Xt=!1,dt&&(e.flags&1048576)!==0&&cr(e,Cn,e.index);switch(e.lanes=0,e.tag){case 16:t:{var a=e.pendingProps;if(t=fa(e.elementType),e.type=t,typeof t=="function")rc(t)?(a=da(t,a),e.tag=1,e=Ao(null,e,t,a,l)):(e.tag=0,e=Ic(null,e,t,a,l));else{if(t!=null){var n=t.$$typeof;if(n===mt){e.tag=11,e=bo(null,e,t,a,l);break t}else if(n===I){e.tag=14,e=po(null,e,t,a,l);break t}}throw e=ae(t)||t,Error(s(306,e,""))}}return e;case 0:return Ic(t,e,e.type,e.pendingProps,l);case 1:return a=e.type,n=da(a,e.pendingProps),Ao(t,e,a,n,l);case 3:t:{if(Vt(e,e.stateNode.containerInfo),t===null)throw Error(s(387));a=e.pendingProps;var u=e.memoizedState;n=u.element,Ac(t,e),Bn(e,a,null,l);var i=e.memoizedState;if(a=i.cache,Al(e,Gt,a),a!==u.cache&&pc(e,[Gt],l,!0),Hn(),a=i.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:i.cache},e.updateQueue.baseState=u,e.memoizedState=u,e.flags&256){e=Mo(t,e,a,l);break t}else if(a!==n){n=De(Error(s(424)),e),Nn(n),e=Mo(t,e,a,l);break t}else{switch(t=e.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(jt=Qe(t.firstChild),Ft=e,dt=!0,Tl=null,He=!0,l=xr(e,null,a,l),e.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(na(),a===n){e=cl(t,e,l);break t}Pt(t,e,a,l)}e=e.child}return e;case 26:return Fu(t,e),t===null?(l=wd(e.type,null,e.pendingProps,null))?e.memoizedState=l:dt||(l=e.type,t=e.pendingProps,a=hi(k.current).createElement(l),a[$t]=e,a[me]=t,te(a,l,t),kt(a),e.stateNode=a):e.memoizedState=wd(e.type,t.memoizedProps,e.pendingProps,t.memoizedState),null;case 27:return Jl(e),t===null&&dt&&(a=e.stateNode=qd(e.type,e.pendingProps,k.current),Ft=e,He=!0,n=jt,ql(e.type)?(Yf=n,jt=Qe(a.firstChild)):jt=n),Pt(t,e,e.pendingProps.children,l),Fu(t,e),t===null&&(e.flags|=4194304),e.child;case 5:return t===null&&dt&&((n=a=jt)&&(a=My(a,e.type,e.pendingProps,He),a!==null?(e.stateNode=a,Ft=e,jt=Qe(a.firstChild),He=!1,n=!0):n=!1),n||El(e)),Jl(e),n=e.type,u=e.pendingProps,i=t!==null?t.memoizedProps:null,a=u.children,Rf(n,u)?a=null:i!==null&&Rf(n,i)&&(e.flags|=32),e.memoizedState!==null&&(n=Dc(t,e,wh,null,null,l),lu._currentValue=n),Fu(t,e),Pt(t,e,a,l),e.child;case 6:return t===null&&dt&&((t=l=jt)&&(l=jy(l,e.pendingProps,He),l!==null?(e.stateNode=l,Ft=e,jt=null,t=!0):t=!1),t||El(e)),null;case 13:return jo(t,e,l);case 4:return Vt(e,e.stateNode.containerInfo),a=e.pendingProps,t===null?e.child=ra(e,null,a,l):Pt(t,e,a,l),e.child;case 11:return bo(t,e,e.type,e.pendingProps,l);case 7:return Pt(t,e,e.pendingProps,l),e.child;case 8:return Pt(t,e,e.pendingProps.children,l),e.child;case 12:return Pt(t,e,e.pendingProps.children,l),e.child;case 10:return a=e.pendingProps,Al(e,e.type,a.value),Pt(t,e,a.children,l),e.child;case 9:return n=e.type._context,a=e.pendingProps.children,ia(e),n=It(n),a=a(n),e.flags|=1,Pt(t,e,a,l),e.child;case 14:return po(t,e,e.type,e.pendingProps,l);case 15:return xo(t,e,e.type,e.pendingProps,l);case 19:return No(t,e,l);case 31:return Wh(t,e,l);case 22:return So(t,e,l,e.pendingProps);case 24:return ia(e),a=It(Gt),t===null?(n=zc(),n===null&&(n=At,u=xc(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=l),n=u),e.memoizedState={parent:a,cache:n},Ec(e),Al(e,Gt,n)):((t.lanes&l)!==0&&(Ac(t,e),Bn(e,null,null,l),Hn()),n=t.memoizedState,u=e.memoizedState,n.parent!==a?(n={parent:a,cache:a},e.memoizedState=n,e.lanes===0&&(e.memoizedState=e.updateQueue.baseState=n),Al(e,Gt,a)):(a=u.cache,Al(e,Gt,a),a!==n.cache&&pc(e,[Gt],l,!0))),Pt(t,e,e.pendingProps.children,l),e.child;case 29:throw e.pendingProps}throw Error(s(156,e.tag))}function fl(t){t.flags|=4}function cf(t,e,l,a,n){if((e=(t.mode&32)!==0)&&(e=!1),e){if(t.flags|=16777216,(n&335544128)===n)if(t.stateNode.complete)t.flags|=8192;else if(ad())t.flags|=8192;else throw sa=Bu,Tc}else t.flags&=-16777217}function _o(t,e){if(e.type!=="stylesheet"||(e.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Kd(e))if(ad())t.flags|=8192;else throw sa=Bu,Tc}function Pu(t,e){e!==null&&(t.flags|=4),t.flags&16384&&(e=t.tag!==22?Jt():536870912,t.lanes|=e,Fa|=e)}function Xn(t,e){if(!dt)switch(t.tailMode){case"hidden":e=t.tail;for(var l=null;e!==null;)e.alternate!==null&&(l=e),e=e.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:a.sibling=null}}function Ct(t){var e=t.alternate!==null&&t.alternate.child===t.child,l=0,a=0;if(e)for(var n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=t,n=n.sibling;else for(n=t.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=t,n=n.sibling;return t.subtreeFlags|=a,t.childLanes=l,e}function Fh(t,e,l){var a=e.pendingProps;switch(hc(e),e.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ct(e),null;case 1:return Ct(e),null;case 3:return l=e.stateNode,a=null,t!==null&&(a=t.memoizedState.cache),e.memoizedState.cache!==a&&(e.flags|=2048),nl(Gt),Ut(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(qa(e)?fl(e):t===null||t.memoizedState.isDehydrated&&(e.flags&256)===0||(e.flags|=1024,vc())),Ct(e),null;case 26:var n=e.type,u=e.memoizedState;return t===null?(fl(e),u!==null?(Ct(e),_o(e,u)):(Ct(e),cf(e,n,null,a,l))):u?u!==t.memoizedState?(fl(e),Ct(e),_o(e,u)):(Ct(e),e.flags&=-16777217):(t=t.memoizedProps,t!==a&&fl(e),Ct(e),cf(e,n,t,a,l)),null;case 27:if(ya(e),l=k.current,n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&fl(e);else{if(!a){if(e.stateNode===null)throw Error(s(166));return Ct(e),null}t=Q.current,qa(e)?sr(e):(t=qd(n,a,l),e.stateNode=t,fl(e))}return Ct(e),null;case 5:if(ya(e),n=e.type,t!==null&&e.stateNode!=null)t.memoizedProps!==a&&fl(e);else{if(!a){if(e.stateNode===null)throw Error(s(166));return Ct(e),null}if(u=Q.current,qa(e))sr(e);else{var i=hi(k.current);switch(u){case 1:u=i.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=i.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=i.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=i.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?i.createElement("select",{is:a.is}):i.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?i.createElement(n,{is:a.is}):i.createElement(n)}}u[$t]=e,u[me]=a;t:for(i=e.child;i!==null;){if(i.tag===5||i.tag===6)u.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===e)break t;for(;i.sibling===null;){if(i.return===null||i.return===e)break t;i=i.return}i.sibling.return=i.return,i=i.sibling}e.stateNode=u;t:switch(te(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break t;case"img":a=!0;break t;default:a=!1}a&&fl(e)}}return Ct(e),cf(e,e.type,t===null?null:t.memoizedProps,e.pendingProps,l),null;case 6:if(t&&e.stateNode!=null)t.memoizedProps!==a&&fl(e);else{if(typeof a!="string"&&e.stateNode===null)throw Error(s(166));if(t=k.current,qa(e)){if(t=e.stateNode,l=e.memoizedProps,a=null,n=Ft,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}t[$t]=e,t=!!(t.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||jd(t.nodeValue,l)),t||El(e,!0)}else t=hi(t).createTextNode(a),t[$t]=e,e.stateNode=t}return Ct(e),null;case 31:if(l=e.memoizedState,t===null||t.memoizedState!==null){if(a=qa(e),l!==null){if(t===null){if(!a)throw Error(s(318));if(t=e.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(s(557));t[$t]=e}else na(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ct(e),t=!1}else l=vc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=l),t=!0;if(!t)return e.flags&256?(Te(e),e):(Te(e),null);if((e.flags&128)!==0)throw Error(s(558))}return Ct(e),null;case 13:if(a=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(n=qa(e),a!==null&&a.dehydrated!==null){if(t===null){if(!n)throw Error(s(318));if(n=e.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));n[$t]=e}else na(),(e.flags&128)===0&&(e.memoizedState=null),e.flags|=4;Ct(e),n=!1}else n=vc(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=n),n=!0;if(!n)return e.flags&256?(Te(e),e):(Te(e),null)}return Te(e),(e.flags&128)!==0?(e.lanes=l,e):(l=a!==null,t=t!==null&&t.memoizedState!==null,l&&(a=e.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)),l!==t&&l&&(e.child.flags|=8192),Pu(e,e.updateQueue),Ct(e),null);case 4:return Ut(),t===null&&Nf(e.stateNode.containerInfo),Ct(e),null;case 10:return nl(e.type),Ct(e),null;case 19:if(O(Qt),a=e.memoizedState,a===null)return Ct(e),null;if(n=(e.flags&128)!==0,u=a.rendering,u===null)if(n)Xn(a,!1);else{if(Ht!==0||t!==null&&(t.flags&128)!==0)for(t=e.child;t!==null;){if(u=Gu(t),u!==null){for(e.flags|=128,Xn(a,!1),t=u.updateQueue,e.updateQueue=t,Pu(e,t),e.subtreeFlags=0,t=l,l=e.child;l!==null;)nr(l,t),l=l.sibling;return H(Qt,Qt.current&1|2),dt&&ll(e,a.treeForkCount),e.child}t=t.sibling}a.tail!==null&&Bt()>ni&&(e.flags|=128,n=!0,Xn(a,!1),e.lanes=4194304)}else{if(!n)if(t=Gu(u),t!==null){if(e.flags|=128,n=!0,t=t.updateQueue,e.updateQueue=t,Pu(e,t),Xn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!dt)return Ct(e),null}else 2*Bt()-a.renderingStartTime>ni&&l!==536870912&&(e.flags|=128,n=!0,Xn(a,!1),e.lanes=4194304);a.isBackwards?(u.sibling=e.child,e.child=u):(t=a.last,t!==null?t.sibling=u:e.child=u,a.last=u)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Bt(),t.sibling=null,l=Qt.current,H(Qt,n?l&1|2:l&1),dt&&ll(e,a.treeForkCount),t):(Ct(e),null);case 22:case 23:return Te(e),Nc(),a=e.memoizedState!==null,t!==null?t.memoizedState!==null!==a&&(e.flags|=8192):a&&(e.flags|=8192),a?(l&536870912)!==0&&(e.flags&128)===0&&(Ct(e),e.subtreeFlags&6&&(e.flags|=8192)):Ct(e),l=e.updateQueue,l!==null&&Pu(e,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),a=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),a!==l&&(e.flags|=2048),t!==null&&O(ca),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),e.memoizedState.cache!==l&&(e.flags|=2048),nl(Gt),Ct(e),null;case 25:return null;case 30:return null}throw Error(s(156,e.tag))}function Ih(t,e){switch(hc(e),e.tag){case 1:return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return nl(Gt),Ut(),t=e.flags,(t&65536)!==0&&(t&128)===0?(e.flags=t&-65537|128,e):null;case 26:case 27:case 5:return ya(e),null;case 31:if(e.memoizedState!==null){if(Te(e),e.alternate===null)throw Error(s(340));na()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 13:if(Te(e),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(s(340));na()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return O(Qt),null;case 4:return Ut(),null;case 10:return nl(e.type),null;case 22:case 23:return Te(e),Nc(),t!==null&&O(ca),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 24:return nl(Gt),null;case 25:return null;default:return null}}function Do(t,e){switch(hc(e),e.tag){case 3:nl(Gt),Ut();break;case 26:case 27:case 5:ya(e);break;case 4:Ut();break;case 31:e.memoizedState!==null&&Te(e);break;case 13:Te(e);break;case 19:O(Qt);break;case 10:nl(e.type);break;case 22:case 23:Te(e),Nc(),t!==null&&O(ca);break;case 24:nl(Gt)}}function Ln(t,e){try{var l=e.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&t)===t){a=void 0;var u=l.create,i=l.inst;a=u(),i.destroy=a}l=l.next}while(l!==n)}}catch(f){xt(e,e.return,f)}}function _l(t,e,l){try{var a=e.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&t)===t){var i=a.inst,f=i.destroy;if(f!==void 0){i.destroy=void 0,n=e;var o=l,x=f;try{x()}catch(A){xt(n,o,A)}}}a=a.next}while(a!==u)}}catch(A){xt(e,e.return,A)}}function Uo(t){var e=t.updateQueue;if(e!==null){var l=t.stateNode;try{zr(e,l)}catch(a){xt(t,t.return,a)}}}function Ro(t,e,l){l.props=da(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(a){xt(t,e,a)}}function Zn(t,e){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var a=t.stateNode;break;case 30:a=t.stateNode;break;default:a=t.stateNode}typeof l=="function"?t.refCleanup=l(a):l.current=a}}catch(n){xt(t,e,n)}}function ke(t,e){var l=t.ref,a=t.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){xt(t,e,n)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){xt(t,e,n)}else l.current=null}function Ho(t){var e=t.type,l=t.memoizedProps,a=t.stateNode;try{t:switch(e){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break t;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){xt(t,t.return,n)}}function ff(t,e,l){try{var a=t.stateNode;xy(a,t.type,l,e),a[me]=e}catch(n){xt(t,t.return,n)}}function Bo(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&ql(t.type)||t.tag===4}function sf(t){t:for(;;){for(;t.sibling===null;){if(t.return===null||Bo(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&ql(t.type)||t.flags&2||t.child===null||t.tag===4)continue t;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function rf(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,e):(e=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,e.appendChild(t),l=l._reactRootContainer,l!=null||e.onclick!==null||(e.onclick=Pe));else if(a!==4&&(a===27&&ql(t.type)&&(l=t.stateNode,e=null),t=t.child,t!==null))for(rf(t,e,l),t=t.sibling;t!==null;)rf(t,e,l),t=t.sibling}function ti(t,e,l){var a=t.tag;if(a===5||a===6)t=t.stateNode,e?l.insertBefore(t,e):l.appendChild(t);else if(a!==4&&(a===27&&ql(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(ti(t,e,l),t=t.sibling;t!==null;)ti(t,e,l),t=t.sibling}function Qo(t){var e=t.stateNode,l=t.memoizedProps;try{for(var a=t.type,n=e.attributes;n.length;)e.removeAttributeNode(n[0]);te(e,a,l),e[$t]=t,e[me]=l}catch(u){xt(t,t.return,u)}}var sl=!1,Lt=!1,of=!1,qo=typeof WeakSet=="function"?WeakSet:Set,Wt=null;function Ph(t,e){if(t=t.containerInfo,Df=Si,t=Ws(t),ac(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else t:{l=(l=t.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break t}var i=0,f=-1,o=-1,x=0,A=0,C=t,S=null;e:for(;;){for(var T;C!==l||n!==0&&C.nodeType!==3||(f=i+n),C!==u||a!==0&&C.nodeType!==3||(o=i+a),C.nodeType===3&&(i+=C.nodeValue.length),(T=C.firstChild)!==null;)S=C,C=T;for(;;){if(C===t)break e;if(S===l&&++x===n&&(f=i),S===u&&++A===a&&(o=i),(T=C.nextSibling)!==null)break;C=S,S=C.parentNode}C=T}l=f===-1||o===-1?null:{start:f,end:o}}else l=null}l=l||{start:0,end:0}}else l=null;for(Uf={focusedElem:t,selectionRange:l},Si=!1,Wt=e;Wt!==null;)if(e=Wt,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,Wt=t;else for(;Wt!==null;){switch(e=Wt,u=e.alternate,t=e.flags,e.tag){case 0:if((t&4)!==0&&(t=e.updateQueue,t=t!==null?t.events:null,t!==null))for(l=0;l<t.length;l++)n=t[l],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((t&1024)!==0&&u!==null){t=void 0,l=e,n=u.memoizedProps,u=u.memoizedState,a=l.stateNode;try{var q=da(l.type,n);t=a.getSnapshotBeforeUpdate(q,u),a.__reactInternalSnapshotBeforeUpdate=t}catch(J){xt(l,l.return,J)}}break;case 3:if((t&1024)!==0){if(t=e.stateNode.containerInfo,l=t.nodeType,l===9)Bf(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":Bf(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(s(163))}if(t=e.sibling,t!==null){t.return=e.return,Wt=t;break}Wt=e.return}}function Yo(t,e,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:ol(t,l),a&4&&Ln(5,l);break;case 1:if(ol(t,l),a&4)if(t=l.stateNode,e===null)try{t.componentDidMount()}catch(i){xt(l,l.return,i)}else{var n=da(l.type,e.memoizedProps);e=e.memoizedState;try{t.componentDidUpdate(n,e,t.__reactInternalSnapshotBeforeUpdate)}catch(i){xt(l,l.return,i)}}a&64&&Uo(l),a&512&&Zn(l,l.return);break;case 3:if(ol(t,l),a&64&&(t=l.updateQueue,t!==null)){if(e=null,l.child!==null)switch(l.child.tag){case 27:case 5:e=l.child.stateNode;break;case 1:e=l.child.stateNode}try{zr(t,e)}catch(i){xt(l,l.return,i)}}break;case 27:e===null&&a&4&&Qo(l);case 26:case 5:ol(t,l),e===null&&a&4&&Ho(l),a&512&&Zn(l,l.return);break;case 12:ol(t,l);break;case 31:ol(t,l),a&4&&Xo(t,l);break;case 13:ol(t,l),a&4&&Lo(t,l),a&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=fy.bind(null,l),Cy(t,l))));break;case 22:if(a=l.memoizedState!==null||sl,!a){e=e!==null&&e.memoizedState!==null||Lt,n=sl;var u=Lt;sl=a,(Lt=e)&&!u?dl(t,l,(l.subtreeFlags&8772)!==0):ol(t,l),sl=n,Lt=u}break;case 30:break;default:ol(t,l)}}function Go(t){var e=t.alternate;e!==null&&(t.alternate=null,Go(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&Gi(e)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Ot=null,ye=!1;function rl(t,e,l){for(l=l.child;l!==null;)wo(t,e,l),l=l.sibling}function wo(t,e,l){if(se&&typeof se.onCommitFiberUnmount=="function")try{se.onCommitFiberUnmount(kl,l)}catch{}switch(l.tag){case 26:Lt||ke(l,e),rl(t,e,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Lt||ke(l,e);var a=Ot,n=ye;ql(l.type)&&(Ot=l.stateNode,ye=!1),rl(t,e,l),Pn(l.stateNode),Ot=a,ye=n;break;case 5:Lt||ke(l,e);case 6:if(a=Ot,n=ye,Ot=null,rl(t,e,l),Ot=a,ye=n,Ot!==null)if(ye)try{(Ot.nodeType===9?Ot.body:Ot.nodeName==="HTML"?Ot.ownerDocument.body:Ot).removeChild(l.stateNode)}catch(u){xt(l,e,u)}else try{Ot.removeChild(l.stateNode)}catch(u){xt(l,e,u)}break;case 18:Ot!==null&&(ye?(t=Ot,Ud(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),un(t)):Ud(Ot,l.stateNode));break;case 4:a=Ot,n=ye,Ot=l.stateNode.containerInfo,ye=!0,rl(t,e,l),Ot=a,ye=n;break;case 0:case 11:case 14:case 15:_l(2,l,e),Lt||_l(4,l,e),rl(t,e,l);break;case 1:Lt||(ke(l,e),a=l.stateNode,typeof a.componentWillUnmount=="function"&&Ro(l,e,a)),rl(t,e,l);break;case 21:rl(t,e,l);break;case 22:Lt=(a=Lt)||l.memoizedState!==null,rl(t,e,l),Lt=a;break;default:rl(t,e,l)}}function Xo(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null))){t=t.dehydrated;try{un(t)}catch(l){xt(e,e.return,l)}}}function Lo(t,e){if(e.memoizedState===null&&(t=e.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{un(t)}catch(l){xt(e,e.return,l)}}function ty(t){switch(t.tag){case 31:case 13:case 19:var e=t.stateNode;return e===null&&(e=t.stateNode=new qo),e;case 22:return t=t.stateNode,e=t._retryCache,e===null&&(e=t._retryCache=new qo),e;default:throw Error(s(435,t.tag))}}function ei(t,e){var l=ty(t);e.forEach(function(a){if(!l.has(a)){l.add(a);var n=sy.bind(null,t,a);a.then(n,n)}})}function ve(t,e){var l=e.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],u=t,i=e,f=i;t:for(;f!==null;){switch(f.tag){case 27:if(ql(f.type)){Ot=f.stateNode,ye=!1;break t}break;case 5:Ot=f.stateNode,ye=!1;break t;case 3:case 4:Ot=f.stateNode.containerInfo,ye=!0;break t}f=f.return}if(Ot===null)throw Error(s(160));wo(u,i,n),Ot=null,ye=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(e.subtreeFlags&13886)for(e=e.child;e!==null;)Zo(e,t),e=e.sibling}var Xe=null;function Zo(t,e){var l=t.alternate,a=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:ve(e,t),ge(t),a&4&&(_l(3,t,t.return),Ln(3,t),_l(5,t,t.return));break;case 1:ve(e,t),ge(t),a&512&&(Lt||l===null||ke(l,l.return)),a&64&&sl&&(t=t.updateQueue,t!==null&&(a=t.callbacks,a!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var n=Xe;if(ve(e,t),ge(t),a&512&&(Lt||l===null||ke(l,l.return)),a&4){var u=l!==null?l.memoizedState:null;if(a=t.memoizedState,l===null)if(a===null)if(t.stateNode===null){t:{a=t.type,l=t.memoizedProps,n=n.ownerDocument||n;e:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[gn]||u[$t]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),te(u,a,l),u[$t]=t,kt(u),a=u;break t;case"link":var i=Zd("link","href",n).get(a+(l.href||""));if(i){for(var f=0;f<i.length;f++)if(u=i[f],u.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&u.getAttribute("rel")===(l.rel==null?null:l.rel)&&u.getAttribute("title")===(l.title==null?null:l.title)&&u.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){i.splice(f,1);break e}}u=n.createElement(a),te(u,a,l),n.head.appendChild(u);break;case"meta":if(i=Zd("meta","content",n).get(a+(l.content||""))){for(f=0;f<i.length;f++)if(u=i[f],u.getAttribute("content")===(l.content==null?null:""+l.content)&&u.getAttribute("name")===(l.name==null?null:l.name)&&u.getAttribute("property")===(l.property==null?null:l.property)&&u.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&u.getAttribute("charset")===(l.charSet==null?null:l.charSet)){i.splice(f,1);break e}}u=n.createElement(a),te(u,a,l),n.head.appendChild(u);break;default:throw Error(s(468,a))}u[$t]=t,kt(u),a=u}t.stateNode=a}else Vd(n,t.type,t.stateNode);else t.stateNode=Ld(n,a,t.memoizedProps);else u!==a?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,a===null?Vd(n,t.type,t.stateNode):Ld(n,a,t.memoizedProps)):a===null&&t.stateNode!==null&&ff(t,t.memoizedProps,l.memoizedProps)}break;case 27:ve(e,t),ge(t),a&512&&(Lt||l===null||ke(l,l.return)),l!==null&&a&4&&ff(t,t.memoizedProps,l.memoizedProps);break;case 5:if(ve(e,t),ge(t),a&512&&(Lt||l===null||ke(l,l.return)),t.flags&32){n=t.stateNode;try{Ca(n,"")}catch(q){xt(t,t.return,q)}}a&4&&t.stateNode!=null&&(n=t.memoizedProps,ff(t,n,l!==null?l.memoizedProps:n)),a&1024&&(of=!0);break;case 6:if(ve(e,t),ge(t),a&4){if(t.stateNode===null)throw Error(s(162));a=t.memoizedProps,l=t.stateNode;try{l.nodeValue=a}catch(q){xt(t,t.return,q)}}break;case 3:if(gi=null,n=Xe,Xe=yi(e.containerInfo),ve(e,t),Xe=n,ge(t),a&4&&l!==null&&l.memoizedState.isDehydrated)try{un(e.containerInfo)}catch(q){xt(t,t.return,q)}of&&(of=!1,Vo(t));break;case 4:a=Xe,Xe=yi(t.stateNode.containerInfo),ve(e,t),ge(t),Xe=a;break;case 12:ve(e,t),ge(t);break;case 31:ve(e,t),ge(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,ei(t,a)));break;case 13:ve(e,t),ge(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(ai=Bt()),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,ei(t,a)));break;case 22:n=t.memoizedState!==null;var o=l!==null&&l.memoizedState!==null,x=sl,A=Lt;if(sl=x||n,Lt=A||o,ve(e,t),Lt=A,sl=x,ge(t),a&8192)t:for(e=t.stateNode,e._visibility=n?e._visibility&-2:e._visibility|1,n&&(l===null||o||sl||Lt||ma(t)),l=null,e=t;;){if(e.tag===5||e.tag===26){if(l===null){o=l=e;try{if(u=o.stateNode,n)i=u.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none";else{f=o.stateNode;var C=o.memoizedProps.style,S=C!=null&&C.hasOwnProperty("display")?C.display:null;f.style.display=S==null||typeof S=="boolean"?"":(""+S).trim()}}catch(q){xt(o,o.return,q)}}}else if(e.tag===6){if(l===null){o=e;try{o.stateNode.nodeValue=n?"":o.memoizedProps}catch(q){xt(o,o.return,q)}}}else if(e.tag===18){if(l===null){o=e;try{var T=o.stateNode;n?Rd(T,!0):Rd(o.stateNode,!1)}catch(q){xt(o,o.return,q)}}}else if((e.tag!==22&&e.tag!==23||e.memoizedState===null||e===t)&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break t;for(;e.sibling===null;){if(e.return===null||e.return===t)break t;l===e&&(l=null),e=e.return}l===e&&(l=null),e.sibling.return=e.return,e=e.sibling}a&4&&(a=t.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,ei(t,l))));break;case 19:ve(e,t),ge(t),a&4&&(a=t.updateQueue,a!==null&&(t.updateQueue=null,ei(t,a)));break;case 30:break;case 21:break;default:ve(e,t),ge(t)}}function ge(t){var e=t.flags;if(e&2){try{for(var l,a=t.return;a!==null;){if(Bo(a)){l=a;break}a=a.return}if(l==null)throw Error(s(160));switch(l.tag){case 27:var n=l.stateNode,u=sf(t);ti(t,u,n);break;case 5:var i=l.stateNode;l.flags&32&&(Ca(i,""),l.flags&=-33);var f=sf(t);ti(t,f,i);break;case 3:case 4:var o=l.stateNode.containerInfo,x=sf(t);rf(t,x,o);break;default:throw Error(s(161))}}catch(A){xt(t,t.return,A)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Vo(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var e=t;Vo(e),e.tag===5&&e.flags&1024&&e.stateNode.reset(),t=t.sibling}}function ol(t,e){if(e.subtreeFlags&8772)for(e=e.child;e!==null;)Yo(t,e.alternate,e),e=e.sibling}function ma(t){for(t=t.child;t!==null;){var e=t;switch(e.tag){case 0:case 11:case 14:case 15:_l(4,e,e.return),ma(e);break;case 1:ke(e,e.return);var l=e.stateNode;typeof l.componentWillUnmount=="function"&&Ro(e,e.return,l),ma(e);break;case 27:Pn(e.stateNode);case 26:case 5:ke(e,e.return),ma(e);break;case 22:e.memoizedState===null&&ma(e);break;case 30:ma(e);break;default:ma(e)}t=t.sibling}}function dl(t,e,l){for(l=l&&(e.subtreeFlags&8772)!==0,e=e.child;e!==null;){var a=e.alternate,n=t,u=e,i=u.flags;switch(u.tag){case 0:case 11:case 15:dl(n,u,l),Ln(4,u);break;case 1:if(dl(n,u,l),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(x){xt(a,a.return,x)}if(a=u,n=a.updateQueue,n!==null){var f=a.stateNode;try{var o=n.shared.hiddenCallbacks;if(o!==null)for(n.shared.hiddenCallbacks=null,n=0;n<o.length;n++)Sr(o[n],f)}catch(x){xt(a,a.return,x)}}l&&i&64&&Uo(u),Zn(u,u.return);break;case 27:Qo(u);case 26:case 5:dl(n,u,l),l&&a===null&&i&4&&Ho(u),Zn(u,u.return);break;case 12:dl(n,u,l);break;case 31:dl(n,u,l),l&&i&4&&Xo(n,u);break;case 13:dl(n,u,l),l&&i&4&&Lo(n,u);break;case 22:u.memoizedState===null&&dl(n,u,l),Zn(u,u.return);break;case 30:break;default:dl(n,u,l)}e=e.sibling}}function df(t,e){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(t=e.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&On(l))}function mf(t,e){t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&On(t))}function Le(t,e,l,a){if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ko(t,e,l,a),e=e.sibling}function Ko(t,e,l,a){var n=e.flags;switch(e.tag){case 0:case 11:case 15:Le(t,e,l,a),n&2048&&Ln(9,e);break;case 1:Le(t,e,l,a);break;case 3:Le(t,e,l,a),n&2048&&(t=null,e.alternate!==null&&(t=e.alternate.memoizedState.cache),e=e.memoizedState.cache,e!==t&&(e.refCount++,t!=null&&On(t)));break;case 12:if(n&2048){Le(t,e,l,a),t=e.stateNode;try{var u=e.memoizedProps,i=u.id,f=u.onPostCommit;typeof f=="function"&&f(i,e.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(o){xt(e,e.return,o)}}else Le(t,e,l,a);break;case 31:Le(t,e,l,a);break;case 13:Le(t,e,l,a);break;case 23:break;case 22:u=e.stateNode,i=e.alternate,e.memoizedState!==null?u._visibility&2?Le(t,e,l,a):Vn(t,e):u._visibility&2?Le(t,e,l,a):(u._visibility|=2,ka(t,e,l,a,(e.subtreeFlags&10256)!==0||!1)),n&2048&&df(i,e);break;case 24:Le(t,e,l,a),n&2048&&mf(e.alternate,e);break;default:Le(t,e,l,a)}}function ka(t,e,l,a,n){for(n=n&&((e.subtreeFlags&10256)!==0||!1),e=e.child;e!==null;){var u=t,i=e,f=l,o=a,x=i.flags;switch(i.tag){case 0:case 11:case 15:ka(u,i,f,o,n),Ln(8,i);break;case 23:break;case 22:var A=i.stateNode;i.memoizedState!==null?A._visibility&2?ka(u,i,f,o,n):Vn(u,i):(A._visibility|=2,ka(u,i,f,o,n)),n&&x&2048&&df(i.alternate,i);break;case 24:ka(u,i,f,o,n),n&&x&2048&&mf(i.alternate,i);break;default:ka(u,i,f,o,n)}e=e.sibling}}function Vn(t,e){if(e.subtreeFlags&10256)for(e=e.child;e!==null;){var l=t,a=e,n=a.flags;switch(a.tag){case 22:Vn(l,a),n&2048&&df(a.alternate,a);break;case 24:Vn(l,a),n&2048&&mf(a.alternate,a);break;default:Vn(l,a)}e=e.sibling}}var Kn=8192;function Wa(t,e,l){if(t.subtreeFlags&Kn)for(t=t.child;t!==null;)Jo(t,e,l),t=t.sibling}function Jo(t,e,l){switch(t.tag){case 26:Wa(t,e,l),t.flags&Kn&&t.memoizedState!==null&&Gy(l,Xe,t.memoizedState,t.memoizedProps);break;case 5:Wa(t,e,l);break;case 3:case 4:var a=Xe;Xe=yi(t.stateNode.containerInfo),Wa(t,e,l),Xe=a;break;case 22:t.memoizedState===null&&(a=t.alternate,a!==null&&a.memoizedState!==null?(a=Kn,Kn=16777216,Wa(t,e,l),Kn=a):Wa(t,e,l));break;default:Wa(t,e,l)}}function ko(t){var e=t.alternate;if(e!==null&&(t=e.child,t!==null)){e.child=null;do e=t.sibling,t.sibling=null,t=e;while(t!==null)}}function Jn(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];Wt=a,$o(a,t)}ko(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Wo(t),t=t.sibling}function Wo(t){switch(t.tag){case 0:case 11:case 15:Jn(t),t.flags&2048&&_l(9,t,t.return);break;case 3:Jn(t);break;case 12:Jn(t);break;case 22:var e=t.stateNode;t.memoizedState!==null&&e._visibility&2&&(t.return===null||t.return.tag!==13)?(e._visibility&=-3,li(t)):Jn(t);break;default:Jn(t)}}function li(t){var e=t.deletions;if((t.flags&16)!==0){if(e!==null)for(var l=0;l<e.length;l++){var a=e[l];Wt=a,$o(a,t)}ko(t)}for(t=t.child;t!==null;){switch(e=t,e.tag){case 0:case 11:case 15:_l(8,e,e.return),li(e);break;case 22:l=e.stateNode,l._visibility&2&&(l._visibility&=-3,li(e));break;default:li(e)}t=t.sibling}}function $o(t,e){for(;Wt!==null;){var l=Wt;switch(l.tag){case 0:case 11:case 15:_l(8,l,e);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:On(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Wt=a;else t:for(l=t;Wt!==null;){a=Wt;var n=a.sibling,u=a.return;if(Go(a),a===l){Wt=null;break t}if(n!==null){n.return=u,Wt=n;break t}Wt=u}}}var ey={getCacheForType:function(t){var e=It(Gt),l=e.data.get(t);return l===void 0&&(l=t(),e.data.set(t,l)),l},cacheSignal:function(){return It(Gt).controller.signal}},ly=typeof WeakMap=="function"?WeakMap:Map,gt=0,At=null,it=null,st=0,pt=0,Ee=null,Dl=!1,$a=!1,hf=!1,ml=0,Ht=0,Ul=0,ha=0,yf=0,Ae=0,Fa=0,kn=null,be=null,vf=!1,ai=0,Fo=0,ni=1/0,ui=null,Rl=null,Kt=0,Hl=null,Ia=null,hl=0,gf=0,bf=null,Io=null,Wn=0,pf=null;function Me(){return(gt&2)!==0&&st!==0?st&-st:E.T!==null?Af():ms()}function Po(){if(Ae===0)if((st&536870912)===0||dt){var t=pa;pa<<=1,(pa&3932160)===0&&(pa=262144),Ae=t}else Ae=536870912;return t=ze.current,t!==null&&(t.flags|=32),Ae}function pe(t,e,l){(t===At&&(pt===2||pt===9)||t.cancelPendingCommit!==null)&&(Pa(t,0),Bl(t,st,Ae,!1)),pl(t,l),((gt&2)===0||t!==At)&&(t===At&&((gt&2)===0&&(ha|=l),Ht===4&&Bl(t,st,Ae,!1)),We(t))}function td(t,e,l){if((gt&6)!==0)throw Error(s(327));var a=!l&&(e&127)===0&&(e&t.expiredLanes)===0||re(t,e),n=a?uy(t,e):Sf(t,e,!0),u=a;do{if(n===0){$a&&!a&&Bl(t,e,0,!1);break}else{if(l=t.current.alternate,u&&!ay(l)){n=Sf(t,e,!1),u=!1;continue}if(n===2){if(u=e,t.errorRecoveryDisabledLanes&u)var i=0;else i=t.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){e=i;t:{var f=t;n=kn;var o=f.current.memoizedState.isDehydrated;if(o&&(Pa(f,i).flags|=256),i=Sf(f,i,!1),i!==2){if(hf&&!o){f.errorRecoveryDisabledLanes|=u,ha|=u,n=4;break t}u=be,be=n,u!==null&&(be===null?be=u:be.push.apply(be,u))}n=i}if(u=!1,n!==2)continue}}if(n===1){Pa(t,0),Bl(t,e,0,!0);break}t:{switch(a=t,u=n,u){case 0:case 1:throw Error(s(345));case 4:if((e&4194048)!==e)break;case 6:Bl(a,e,Ae,!Dl);break t;case 2:be=null;break;case 3:case 5:break;default:throw Error(s(329))}if((e&62914560)===e&&(n=ai+300-Bt(),10<n)){if(Bl(a,e,Ae,!Dl),D(a,0,!0)!==0)break t;hl=e,a.timeoutHandle=_d(ed.bind(null,a,l,be,ui,vf,e,Ae,ha,Fa,Dl,u,"Throttled",-0,0),n);break t}ed(a,l,be,ui,vf,e,Ae,ha,Fa,Dl,u,null,-0,0)}}break}while(!0);We(t)}function ed(t,e,l,a,n,u,i,f,o,x,A,C,S,T){if(t.timeoutHandle=-1,C=e.subtreeFlags,C&8192||(C&16785408)===16785408){C={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Pe},Jo(e,u,C);var q=(u&62914560)===u?ai-Bt():(u&4194048)===u?Fo-Bt():0;if(q=wy(C,q),q!==null){hl=u,t.cancelPendingCommit=q(sd.bind(null,t,e,u,l,a,n,i,f,o,A,C,null,S,T)),Bl(t,u,i,!x);return}}sd(t,e,u,l,a,n,i,f,o)}function ay(t){for(var e=t;;){var l=e.tag;if((l===0||l===11||l===15)&&e.flags&16384&&(l=e.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var n=l[a],u=n.getSnapshot;n=n.value;try{if(!xe(u(),n))return!1}catch{return!1}}if(l=e.child,e.subtreeFlags&16384&&l!==null)l.return=e,e=l;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Bl(t,e,l,a){e&=~yf,e&=~ha,t.suspendedLanes|=e,t.pingedLanes&=~e,a&&(t.warmLanes|=e),a=t.expirationTimes;for(var n=e;0<n;){var u=31-ue(n),i=1<<u;a[u]=-1,n&=~i}l!==0&&$l(t,l,e)}function ii(){return(gt&6)===0?($n(0),!1):!0}function xf(){if(it!==null){if(pt===0)var t=it.return;else t=it,al=ua=null,Hc(t),La=null,Dn=0,t=it;for(;t!==null;)Do(t.alternate,t),t=t.return;it=null}}function Pa(t,e){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,Ty(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),hl=0,xf(),At=t,it=l=el(t.current,null),st=e,pt=0,Ee=null,Dl=!1,$a=re(t,e),hf=!1,Fa=Ae=yf=ha=Ul=Ht=0,be=kn=null,vf=!1,(e&8)!==0&&(e|=e&32);var a=t.entangledLanes;if(a!==0)for(t=t.entanglements,a&=e;0<a;){var n=31-ue(a),u=1<<n;e|=t[n],a&=~u}return ml=e,ju(),l}function ld(t,e){et=null,E.H=Gn,e===Xa||e===Hu?(e=gr(),pt=3):e===Tc?(e=gr(),pt=4):pt=e===Fc?8:e!==null&&typeof e=="object"&&typeof e.then=="function"?6:1,Ee=e,it===null&&(Ht=1,Wu(t,De(e,t.current)))}function ad(){var t=ze.current;return t===null?!0:(st&4194048)===st?Be===null:(st&62914560)===st||(st&536870912)!==0?t===Be:!1}function nd(){var t=E.H;return E.H=Gn,t===null?Gn:t}function ud(){var t=E.A;return E.A=ey,t}function ci(){Ht=4,Dl||(st&4194048)!==st&&ze.current!==null||($a=!0),(Ul&134217727)===0&&(ha&134217727)===0||At===null||Bl(At,st,Ae,!1)}function Sf(t,e,l){var a=gt;gt|=2;var n=nd(),u=ud();(At!==t||st!==e)&&(ui=null,Pa(t,e)),e=!1;var i=Ht;t:do try{if(pt!==0&&it!==null){var f=it,o=Ee;switch(pt){case 8:xf(),i=6;break t;case 3:case 2:case 9:case 6:ze.current===null&&(e=!0);var x=pt;if(pt=0,Ee=null,tn(t,f,o,x),l&&$a){i=0;break t}break;default:x=pt,pt=0,Ee=null,tn(t,f,o,x)}}ny(),i=Ht;break}catch(A){ld(t,A)}while(!0);return e&&t.shellSuspendCounter++,al=ua=null,gt=a,E.H=n,E.A=u,it===null&&(At=null,st=0,ju()),i}function ny(){for(;it!==null;)id(it)}function uy(t,e){var l=gt;gt|=2;var a=nd(),n=ud();At!==t||st!==e?(ui=null,ni=Bt()+500,Pa(t,e)):$a=re(t,e);t:do try{if(pt!==0&&it!==null){e=it;var u=Ee;e:switch(pt){case 1:pt=0,Ee=null,tn(t,e,u,1);break;case 2:case 9:if(yr(u)){pt=0,Ee=null,cd(e);break}e=function(){pt!==2&&pt!==9||At!==t||(pt=7),We(t)},u.then(e,e);break t;case 3:pt=7;break t;case 4:pt=5;break t;case 7:yr(u)?(pt=0,Ee=null,cd(e)):(pt=0,Ee=null,tn(t,e,u,7));break;case 5:var i=null;switch(it.tag){case 26:i=it.memoizedState;case 5:case 27:var f=it;if(i?Kd(i):f.stateNode.complete){pt=0,Ee=null;var o=f.sibling;if(o!==null)it=o;else{var x=f.return;x!==null?(it=x,fi(x)):it=null}break e}}pt=0,Ee=null,tn(t,e,u,5);break;case 6:pt=0,Ee=null,tn(t,e,u,6);break;case 8:xf(),Ht=6;break t;default:throw Error(s(462))}}iy();break}catch(A){ld(t,A)}while(!0);return al=ua=null,E.H=a,E.A=n,gt=l,it!==null?0:(At=null,st=0,ju(),Ht)}function iy(){for(;it!==null&&!_i();)id(it)}function id(t){var e=Oo(t.alternate,t,ml);t.memoizedProps=t.pendingProps,e===null?fi(t):it=e}function cd(t){var e=t,l=e.alternate;switch(e.tag){case 15:case 0:e=Eo(l,e,e.pendingProps,e.type,void 0,st);break;case 11:e=Eo(l,e,e.pendingProps,e.type.render,e.ref,st);break;case 5:Hc(e);default:Do(l,e),e=it=nr(e,ml),e=Oo(l,e,ml)}t.memoizedProps=t.pendingProps,e===null?fi(t):it=e}function tn(t,e,l,a){al=ua=null,Hc(e),La=null,Dn=0;var n=e.return;try{if(kh(t,n,e,l,st)){Ht=1,Wu(t,De(l,t.current)),it=null;return}}catch(u){if(n!==null)throw it=n,u;Ht=1,Wu(t,De(l,t.current)),it=null;return}e.flags&32768?(dt||a===1?t=!0:$a||(st&536870912)!==0?t=!1:(Dl=t=!0,(a===2||a===9||a===3||a===6)&&(a=ze.current,a!==null&&a.tag===13&&(a.flags|=16384))),fd(e,t)):fi(e)}function fi(t){var e=t;do{if((e.flags&32768)!==0){fd(e,Dl);return}t=e.return;var l=Fh(e.alternate,e,ml);if(l!==null){it=l;return}if(e=e.sibling,e!==null){it=e;return}it=e=t}while(e!==null);Ht===0&&(Ht=5)}function fd(t,e){do{var l=Ih(t.alternate,t);if(l!==null){l.flags&=32767,it=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!e&&(t=t.sibling,t!==null)){it=t;return}it=t=l}while(t!==null);Ht=6,it=null}function sd(t,e,l,a,n,u,i,f,o){t.cancelPendingCommit=null;do si();while(Kt!==0);if((gt&6)!==0)throw Error(s(327));if(e!==null){if(e===t.current)throw Error(s(177));if(u=e.lanes|e.childLanes,u|=fc,yu(t,l,u,i,f,o),t===At&&(it=At=null,st=0),Ia=e,Hl=t,hl=l,gf=u,bf=n,Io=a,(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,ry(ga,function(){return hd(),null})):(t.callbackNode=null,t.callbackPriority=0),a=(e.flags&13878)!==0,(e.subtreeFlags&13878)!==0||a){a=E.T,E.T=null,n=R.p,R.p=2,i=gt,gt|=4;try{Ph(t,e,l)}finally{gt=i,R.p=n,E.T=a}}Kt=1,rd(),od(),dd()}}function rd(){if(Kt===1){Kt=0;var t=Hl,e=Ia,l=(e.flags&13878)!==0;if((e.subtreeFlags&13878)!==0||l){l=E.T,E.T=null;var a=R.p;R.p=2;var n=gt;gt|=4;try{Zo(e,t);var u=Uf,i=Ws(t.containerInfo),f=u.focusedElem,o=u.selectionRange;if(i!==f&&f&&f.ownerDocument&&ks(f.ownerDocument.documentElement,f)){if(o!==null&&ac(f)){var x=o.start,A=o.end;if(A===void 0&&(A=x),"selectionStart"in f)f.selectionStart=x,f.selectionEnd=Math.min(A,f.value.length);else{var C=f.ownerDocument||document,S=C&&C.defaultView||window;if(S.getSelection){var T=S.getSelection(),q=f.textContent.length,J=Math.min(o.start,q),Tt=o.end===void 0?J:Math.min(o.end,q);!T.extend&&J>Tt&&(i=Tt,Tt=J,J=i);var v=Js(f,J),h=Js(f,Tt);if(v&&h&&(T.rangeCount!==1||T.anchorNode!==v.node||T.anchorOffset!==v.offset||T.focusNode!==h.node||T.focusOffset!==h.offset)){var p=C.createRange();p.setStart(v.node,v.offset),T.removeAllRanges(),J>Tt?(T.addRange(p),T.extend(h.node,h.offset)):(p.setEnd(h.node,h.offset),T.addRange(p))}}}}for(C=[],T=f;T=T.parentNode;)T.nodeType===1&&C.push({element:T,left:T.scrollLeft,top:T.scrollTop});for(typeof f.focus=="function"&&f.focus(),f=0;f<C.length;f++){var j=C[f];j.element.scrollLeft=j.left,j.element.scrollTop=j.top}}Si=!!Df,Uf=Df=null}finally{gt=n,R.p=a,E.T=l}}t.current=e,Kt=2}}function od(){if(Kt===2){Kt=0;var t=Hl,e=Ia,l=(e.flags&8772)!==0;if((e.subtreeFlags&8772)!==0||l){l=E.T,E.T=null;var a=R.p;R.p=2;var n=gt;gt|=4;try{Yo(t,e.alternate,e)}finally{gt=n,R.p=a,E.T=l}}Kt=3}}function dd(){if(Kt===4||Kt===3){Kt=0,Di();var t=Hl,e=Ia,l=hl,a=Io;(e.subtreeFlags&10256)!==0||(e.flags&10256)!==0?Kt=5:(Kt=0,Ia=Hl=null,md(t,t.pendingLanes));var n=t.pendingLanes;if(n===0&&(Rl=null),ie(l),e=e.stateNode,se&&typeof se.onCommitFiberRoot=="function")try{se.onCommitFiberRoot(kl,e,void 0,(e.current.flags&128)===128)}catch{}if(a!==null){e=E.T,n=R.p,R.p=2,E.T=null;try{for(var u=t.onRecoverableError,i=0;i<a.length;i++){var f=a[i];u(f.value,{componentStack:f.stack})}}finally{E.T=e,R.p=n}}(hl&3)!==0&&si(),We(t),n=t.pendingLanes,(l&261930)!==0&&(n&42)!==0?t===pf?Wn++:(Wn=0,pf=t):Wn=0,$n(0)}}function md(t,e){(t.pooledCacheLanes&=e)===0&&(e=t.pooledCache,e!=null&&(t.pooledCache=null,On(e)))}function si(){return rd(),od(),dd(),hd()}function hd(){if(Kt!==5)return!1;var t=Hl,e=gf;gf=0;var l=ie(hl),a=E.T,n=R.p;try{R.p=32>l?32:l,E.T=null,l=bf,bf=null;var u=Hl,i=hl;if(Kt=0,Ia=Hl=null,hl=0,(gt&6)!==0)throw Error(s(331));var f=gt;if(gt|=4,Wo(u.current),Ko(u,u.current,i,l),gt=f,$n(0,!1),se&&typeof se.onPostCommitFiberRoot=="function")try{se.onPostCommitFiberRoot(kl,u)}catch{}return!0}finally{R.p=n,E.T=a,md(t,e)}}function yd(t,e,l){e=De(l,e),e=$c(t.stateNode,e,2),t=Cl(t,e,2),t!==null&&(pl(t,2),We(t))}function xt(t,e,l){if(t.tag===3)yd(t,t,l);else for(;e!==null;){if(e.tag===3){yd(e,t,l);break}else if(e.tag===1){var a=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Rl===null||!Rl.has(a))){t=De(l,t),l=vo(2),a=Cl(e,l,2),a!==null&&(go(l,a,e,t),pl(a,2),We(a));break}}e=e.return}}function zf(t,e,l){var a=t.pingCache;if(a===null){a=t.pingCache=new ly;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(l)||(hf=!0,n.add(l),t=cy.bind(null,t,e,l),e.then(t,t))}function cy(t,e,l){var a=t.pingCache;a!==null&&a.delete(e),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,At===t&&(st&l)===l&&(Ht===4||Ht===3&&(st&62914560)===st&&300>Bt()-ai?(gt&2)===0&&Pa(t,0):yf|=l,Fa===st&&(Fa=0)),We(t)}function vd(t,e){e===0&&(e=Jt()),t=la(t,e),t!==null&&(pl(t,e),We(t))}function fy(t){var e=t.memoizedState,l=0;e!==null&&(l=e.retryLane),vd(t,l)}function sy(t,e){var l=0;switch(t.tag){case 31:case 13:var a=t.stateNode,n=t.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=t.stateNode;break;case 22:a=t.stateNode._retryCache;break;default:throw Error(s(314))}a!==null&&a.delete(e),vd(t,l)}function ry(t,e){return dn(t,e)}var ri=null,en=null,Tf=!1,oi=!1,Ef=!1,Ql=0;function We(t){t!==en&&t.next===null&&(en===null?ri=en=t:en=en.next=t),oi=!0,Tf||(Tf=!0,dy())}function $n(t,e){if(!Ef&&oi){Ef=!0;do for(var l=!1,a=ri;a!==null;){if(t!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var i=a.suspendedLanes,f=a.pingedLanes;u=(1<<31-ue(42|t)+1)-1,u&=n&~(i&~f),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,xd(a,u))}else u=st,u=D(a,a===At?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||re(a,u)||(l=!0,xd(a,u));a=a.next}while(l);Ef=!1}}function oy(){gd()}function gd(){oi=Tf=!1;var t=0;Ql!==0&&zy()&&(t=Ql);for(var e=Bt(),l=null,a=ri;a!==null;){var n=a.next,u=bd(a,e);u===0?(a.next=null,l===null?ri=n:l.next=n,n===null&&(en=l)):(l=a,(t!==0||(u&3)!==0)&&(oi=!0)),a=n}Kt!==0&&Kt!==5||$n(t),Ql!==0&&(Ql=0)}function bd(t,e){for(var l=t.suspendedLanes,a=t.pingedLanes,n=t.expirationTimes,u=t.pendingLanes&-62914561;0<u;){var i=31-ue(u),f=1<<i,o=n[i];o===-1?((f&l)===0||(f&a)!==0)&&(n[i]=Ce(f,e)):o<=e&&(t.expiredLanes|=f),u&=~f}if(e=At,l=st,l=D(t,t===e?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a=t.callbackNode,l===0||t===e&&(pt===2||pt===9)||t.cancelPendingCommit!==null)return a!==null&&a!==null&&mn(a),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||re(t,l)){if(e=l&-l,e===t.callbackPriority)return e;switch(a!==null&&mn(a),ie(l)){case 2:case 8:l=mu;break;case 32:l=ga;break;case 268435456:l=yn;break;default:l=ga}return a=pd.bind(null,t),l=dn(l,a),t.callbackPriority=e,t.callbackNode=l,e}return a!==null&&a!==null&&mn(a),t.callbackPriority=2,t.callbackNode=null,2}function pd(t,e){if(Kt!==0&&Kt!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(si()&&t.callbackNode!==l)return null;var a=st;return a=D(t,t===At?a:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),a===0?null:(td(t,a,e),bd(t,Bt()),t.callbackNode!=null&&t.callbackNode===l?pd.bind(null,t):null)}function xd(t,e){if(si())return null;td(t,e,!0)}function dy(){Ey(function(){(gt&6)!==0?dn(hn,oy):gd()})}function Af(){if(Ql===0){var t=Ga;t===0&&(t=ba,ba<<=1,(ba&261888)===0&&(ba=256)),Ql=t}return Ql}function Sd(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:pu(""+t)}function zd(t,e){var l=e.ownerDocument.createElement("input");return l.name=e.name,l.value=e.value,t.id&&l.setAttribute("form",t.id),e.parentNode.insertBefore(l,e),t=new FormData(t),l.parentNode.removeChild(l),t}function my(t,e,l,a,n){if(e==="submit"&&l&&l.stateNode===n){var u=Sd((n[me]||null).action),i=a.submitter;i&&(e=(e=i[me]||null)?Sd(e.formAction):i.getAttribute("formAction"),e!==null&&(u=e,i=null));var f=new Tu("action","action",null,a,n);t.push({event:f,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(Ql!==0){var o=i?zd(n,i):new FormData(n);Zc(l,{pending:!0,data:o,method:n.method,action:u},null,o)}}else typeof u=="function"&&(f.preventDefault(),o=i?zd(n,i):new FormData(n),Zc(l,{pending:!0,data:o,method:n.method,action:u},u,o))},currentTarget:n}]})}}for(var Mf=0;Mf<cc.length;Mf++){var jf=cc[Mf],hy=jf.toLowerCase(),yy=jf[0].toUpperCase()+jf.slice(1);we(hy,"on"+yy)}we(Is,"onAnimationEnd"),we(Ps,"onAnimationIteration"),we(tr,"onAnimationStart"),we("dblclick","onDoubleClick"),we("focusin","onFocus"),we("focusout","onBlur"),we(_h,"onTransitionRun"),we(Dh,"onTransitionStart"),we(Uh,"onTransitionCancel"),we(er,"onTransitionEnd"),Ma("onMouseEnter",["mouseout","mouseover"]),Ma("onMouseLeave",["mouseout","mouseover"]),Ma("onPointerEnter",["pointerout","pointerover"]),Ma("onPointerLeave",["pointerout","pointerover"]),Il("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Il("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Il("onBeforeInput",["compositionend","keypress","textInput","paste"]),Il("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Il("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Il("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Fn="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(" "),vy=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Fn));function Td(t,e){e=(e&4)!==0;for(var l=0;l<t.length;l++){var a=t[l],n=a.event;a=a.listeners;t:{var u=void 0;if(e)for(var i=a.length-1;0<=i;i--){var f=a[i],o=f.instance,x=f.currentTarget;if(f=f.listener,o!==u&&n.isPropagationStopped())break t;u=f,n.currentTarget=x;try{u(n)}catch(A){Mu(A)}n.currentTarget=null,u=o}else for(i=0;i<a.length;i++){if(f=a[i],o=f.instance,x=f.currentTarget,f=f.listener,o!==u&&n.isPropagationStopped())break t;u=f,n.currentTarget=x;try{u(n)}catch(A){Mu(A)}n.currentTarget=null,u=o}}}}function ct(t,e){var l=e[Yi];l===void 0&&(l=e[Yi]=new Set);var a=t+"__bubble";l.has(a)||(Ed(e,t,2,!1),l.add(a))}function Cf(t,e,l){var a=0;e&&(a|=4),Ed(l,t,a,e)}var di="_reactListening"+Math.random().toString(36).slice(2);function Nf(t){if(!t[di]){t[di]=!0,vs.forEach(function(l){l!=="selectionchange"&&(vy.has(l)||Cf(l,!1,t),Cf(l,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[di]||(e[di]=!0,Cf("selectionchange",!1,e))}}function Ed(t,e,l,a){switch(Pd(e)){case 2:var n=Zy;break;case 8:n=Vy;break;default:n=Zf}l=n.bind(null,e,l,t),n=void 0,!ki||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(n=!0),a?n!==void 0?t.addEventListener(e,l,{capture:!0,passive:n}):t.addEventListener(e,l,!0):n!==void 0?t.addEventListener(e,l,{passive:n}):t.addEventListener(e,l,!1)}function Of(t,e,l,a,n){var u=a;if((e&1)===0&&(e&2)===0&&a!==null)t:for(;;){if(a===null)return;var i=a.tag;if(i===3||i===4){var f=a.stateNode.containerInfo;if(f===n)break;if(i===4)for(i=a.return;i!==null;){var o=i.tag;if((o===3||o===4)&&i.stateNode.containerInfo===n)return;i=i.return}for(;f!==null;){if(i=Ta(f),i===null)return;if(o=i.tag,o===5||o===6||o===26||o===27){a=u=i;continue t}f=f.parentNode}}a=a.return}Cs(function(){var x=u,A=Ki(l),C=[];t:{var S=lr.get(t);if(S!==void 0){var T=Tu,q=t;switch(t){case"keypress":if(Su(l)===0)break t;case"keydown":case"keyup":T=sh;break;case"focusin":q="focus",T=Ii;break;case"focusout":q="blur",T=Ii;break;case"beforeblur":case"afterblur":T=Ii;break;case"click":if(l.button===2)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":T=_s;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":T=Fm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":T=dh;break;case Is:case Ps:case tr:T=th;break;case er:T=hh;break;case"scroll":case"scrollend":T=Wm;break;case"wheel":T=vh;break;case"copy":case"cut":case"paste":T=lh;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":T=Us;break;case"toggle":case"beforetoggle":T=bh}var J=(e&4)!==0,Tt=!J&&(t==="scroll"||t==="scrollend"),v=J?S!==null?S+"Capture":null:S;J=[];for(var h=x,p;h!==null;){var j=h;if(p=j.stateNode,j=j.tag,j!==5&&j!==26&&j!==27||p===null||v===null||(j=pn(h,v),j!=null&&J.push(In(h,j,p))),Tt)break;h=h.return}0<J.length&&(S=new T(S,q,null,l,A),C.push({event:S,listeners:J}))}}if((e&7)===0){t:{if(S=t==="mouseover"||t==="pointerover",T=t==="mouseout"||t==="pointerout",S&&l!==Vi&&(q=l.relatedTarget||l.fromElement)&&(Ta(q)||q[za]))break t;if((T||S)&&(S=A.window===A?A:(S=A.ownerDocument)?S.defaultView||S.parentWindow:window,T?(q=l.relatedTarget||l.toElement,T=x,q=q?Ta(q):null,q!==null&&(Tt=g(q),J=q.tag,q!==Tt||J!==5&&J!==27&&J!==6)&&(q=null)):(T=null,q=x),T!==q)){if(J=_s,j="onMouseLeave",v="onMouseEnter",h="mouse",(t==="pointerout"||t==="pointerover")&&(J=Us,j="onPointerLeave",v="onPointerEnter",h="pointer"),Tt=T==null?S:bn(T),p=q==null?S:bn(q),S=new J(j,h+"leave",T,l,A),S.target=Tt,S.relatedTarget=p,j=null,Ta(A)===x&&(J=new J(v,h+"enter",q,l,A),J.target=p,J.relatedTarget=Tt,j=J),Tt=j,T&&q)e:{for(J=gy,v=T,h=q,p=0,j=v;j;j=J(j))p++;j=0;for(var Z=h;Z;Z=J(Z))j++;for(;0<p-j;)v=J(v),p--;for(;0<j-p;)h=J(h),j--;for(;p--;){if(v===h||h!==null&&v===h.alternate){J=v;break e}v=J(v),h=J(h)}J=null}else J=null;T!==null&&Ad(C,S,T,J,!1),q!==null&&Tt!==null&&Ad(C,Tt,q,J,!0)}}t:{if(S=x?bn(x):window,T=S.nodeName&&S.nodeName.toLowerCase(),T==="select"||T==="input"&&S.type==="file")var yt=ws;else if(Ys(S))if(Xs)yt=Ch;else{yt=Mh;var w=Ah}else T=S.nodeName,!T||T.toLowerCase()!=="input"||S.type!=="checkbox"&&S.type!=="radio"?x&&Zi(x.elementType)&&(yt=ws):yt=jh;if(yt&&(yt=yt(t,x))){Gs(C,yt,l,A);break t}w&&w(t,S,x),t==="focusout"&&x&&S.type==="number"&&x.memoizedProps.value!=null&&Li(S,"number",S.value)}switch(w=x?bn(x):window,t){case"focusin":(Ys(w)||w.contentEditable==="true")&&(Da=w,nc=x,jn=null);break;case"focusout":jn=nc=Da=null;break;case"mousedown":uc=!0;break;case"contextmenu":case"mouseup":case"dragend":uc=!1,$s(C,l,A);break;case"selectionchange":if(Oh)break;case"keydown":case"keyup":$s(C,l,A)}var nt;if(tc)t:{switch(t){case"compositionstart":var rt="onCompositionStart";break t;case"compositionend":rt="onCompositionEnd";break t;case"compositionupdate":rt="onCompositionUpdate";break t}rt=void 0}else _a?Qs(t,l)&&(rt="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(rt="onCompositionStart");rt&&(Rs&&l.locale!=="ko"&&(_a||rt!=="onCompositionStart"?rt==="onCompositionEnd"&&_a&&(nt=Ns()):(Sl=A,Wi="value"in Sl?Sl.value:Sl.textContent,_a=!0)),w=mi(x,rt),0<w.length&&(rt=new Ds(rt,t,null,l,A),C.push({event:rt,listeners:w}),nt?rt.data=nt:(nt=qs(l),nt!==null&&(rt.data=nt)))),(nt=xh?Sh(t,l):zh(t,l))&&(rt=mi(x,"onBeforeInput"),0<rt.length&&(w=new Ds("onBeforeInput","beforeinput",null,l,A),C.push({event:w,listeners:rt}),w.data=nt)),my(C,t,x,l,A)}Td(C,e)})}function In(t,e,l){return{instance:t,listener:e,currentTarget:l}}function mi(t,e){for(var l=e+"Capture",a=[];t!==null;){var n=t,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=pn(t,l),n!=null&&a.unshift(In(t,n,u)),n=pn(t,e),n!=null&&a.push(In(t,n,u))),t.tag===3)return a;t=t.return}return[]}function gy(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Ad(t,e,l,a,n){for(var u=e._reactName,i=[];l!==null&&l!==a;){var f=l,o=f.alternate,x=f.stateNode;if(f=f.tag,o!==null&&o===a)break;f!==5&&f!==26&&f!==27||x===null||(o=x,n?(x=pn(l,u),x!=null&&i.unshift(In(l,x,o))):n||(x=pn(l,u),x!=null&&i.push(In(l,x,o)))),l=l.return}i.length!==0&&t.push({event:e,listeners:i})}var by=/\r\n?/g,py=/\u0000|\uFFFD/g;function Md(t){return(typeof t=="string"?t:""+t).replace(by,`
49
+ `).replace(py,"")}function jd(t,e){return e=Md(e),Md(t)===e}function zt(t,e,l,a,n,u){switch(l){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||Ca(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&Ca(t,""+a);break;case"className":gu(t,"class",a);break;case"tabIndex":gu(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":gu(t,l,a);break;case"style":Ms(t,a,u);break;case"data":if(e!=="object"){gu(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||l!=="href")){t.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=pu(""+a),t.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(l==="formAction"?(e!=="input"&&zt(t,e,"name",n.name,n,null),zt(t,e,"formEncType",n.formEncType,n,null),zt(t,e,"formMethod",n.formMethod,n,null),zt(t,e,"formTarget",n.formTarget,n,null)):(zt(t,e,"encType",n.encType,n,null),zt(t,e,"method",n.method,n,null),zt(t,e,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(l);break}a=pu(""+a),t.setAttribute(l,a);break;case"onClick":a!=null&&(t.onclick=Pe);break;case"onScroll":a!=null&&ct("scroll",t);break;case"onScrollEnd":a!=null&&ct("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(s(60));t.innerHTML=l}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}l=pu(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""+a):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":a===!0?t.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(l,a):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(l,a):t.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(l):t.setAttribute(l,a);break;case"popover":ct("beforetoggle",t),ct("toggle",t),vu(t,"popover",a);break;case"xlinkActuate":Ie(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Ie(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Ie(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Ie(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Ie(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Ie(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Ie(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Ie(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Ie(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":vu(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Jm.get(l)||l,vu(t,l,a))}}function _f(t,e,l,a,n,u){switch(l){case"style":Ms(t,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(s(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(s(60));t.innerHTML=l}}break;case"children":typeof a=="string"?Ca(t,a):(typeof a=="number"||typeof a=="bigint")&&Ca(t,""+a);break;case"onScroll":a!=null&&ct("scroll",t);break;case"onScrollEnd":a!=null&&ct("scrollend",t);break;case"onClick":a!=null&&(t.onclick=Pe);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!gs.hasOwnProperty(l))t:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),e=l.slice(2,n?l.length-7:void 0),u=t[me]||null,u=u!=null?u[l]:null,typeof u=="function"&&t.removeEventListener(e,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(e,a,n);break t}l in t?t[l]=a:a===!0?t.setAttribute(l,""):vu(t,l,a)}}}function te(t,e,l){switch(e){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ct("error",t),ct("load",t);var a=!1,n=!1,u;for(u in l)if(l.hasOwnProperty(u)){var i=l[u];if(i!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,e));default:zt(t,e,u,i,l,null)}}n&&zt(t,e,"srcSet",l.srcSet,l,null),a&&zt(t,e,"src",l.src,l,null);return;case"input":ct("invalid",t);var f=u=i=n=null,o=null,x=null;for(a in l)if(l.hasOwnProperty(a)){var A=l[a];if(A!=null)switch(a){case"name":n=A;break;case"type":i=A;break;case"checked":o=A;break;case"defaultChecked":x=A;break;case"value":u=A;break;case"defaultValue":f=A;break;case"children":case"dangerouslySetInnerHTML":if(A!=null)throw Error(s(137,e));break;default:zt(t,e,a,A,l,null)}}zs(t,u,f,o,x,i,n,!1);return;case"select":ct("invalid",t),a=i=u=null;for(n in l)if(l.hasOwnProperty(n)&&(f=l[n],f!=null))switch(n){case"value":u=f;break;case"defaultValue":i=f;break;case"multiple":a=f;default:zt(t,e,n,f,l,null)}e=u,l=i,t.multiple=!!a,e!=null?ja(t,!!a,e,!1):l!=null&&ja(t,!!a,l,!0);return;case"textarea":ct("invalid",t),u=n=a=null;for(i in l)if(l.hasOwnProperty(i)&&(f=l[i],f!=null))switch(i){case"value":a=f;break;case"defaultValue":n=f;break;case"children":u=f;break;case"dangerouslySetInnerHTML":if(f!=null)throw Error(s(91));break;default:zt(t,e,i,f,l,null)}Es(t,a,n,u);return;case"option":for(o in l)if(l.hasOwnProperty(o)&&(a=l[o],a!=null))switch(o){case"selected":t.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:zt(t,e,o,a,l,null)}return;case"dialog":ct("beforetoggle",t),ct("toggle",t),ct("cancel",t),ct("close",t);break;case"iframe":case"object":ct("load",t);break;case"video":case"audio":for(a=0;a<Fn.length;a++)ct(Fn[a],t);break;case"image":ct("error",t),ct("load",t);break;case"details":ct("toggle",t);break;case"embed":case"source":case"link":ct("error",t),ct("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(x in l)if(l.hasOwnProperty(x)&&(a=l[x],a!=null))switch(x){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,e));default:zt(t,e,x,a,l,null)}return;default:if(Zi(e)){for(A in l)l.hasOwnProperty(A)&&(a=l[A],a!==void 0&&_f(t,e,A,a,l,void 0));return}}for(f in l)l.hasOwnProperty(f)&&(a=l[f],a!=null&&zt(t,e,f,a,l,null))}function xy(t,e,l,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,u=null,i=null,f=null,o=null,x=null,A=null;for(T in l){var C=l[T];if(l.hasOwnProperty(T)&&C!=null)switch(T){case"checked":break;case"value":break;case"defaultValue":o=C;default:a.hasOwnProperty(T)||zt(t,e,T,null,a,C)}}for(var S in a){var T=a[S];if(C=l[S],a.hasOwnProperty(S)&&(T!=null||C!=null))switch(S){case"type":u=T;break;case"name":n=T;break;case"checked":x=T;break;case"defaultChecked":A=T;break;case"value":i=T;break;case"defaultValue":f=T;break;case"children":case"dangerouslySetInnerHTML":if(T!=null)throw Error(s(137,e));break;default:T!==C&&zt(t,e,S,T,a,C)}}Xi(t,i,f,o,x,A,u,n);return;case"select":T=i=f=S=null;for(u in l)if(o=l[u],l.hasOwnProperty(u)&&o!=null)switch(u){case"value":break;case"multiple":T=o;default:a.hasOwnProperty(u)||zt(t,e,u,null,a,o)}for(n in a)if(u=a[n],o=l[n],a.hasOwnProperty(n)&&(u!=null||o!=null))switch(n){case"value":S=u;break;case"defaultValue":f=u;break;case"multiple":i=u;default:u!==o&&zt(t,e,n,u,a,o)}e=f,l=i,a=T,S!=null?ja(t,!!l,S,!1):!!a!=!!l&&(e!=null?ja(t,!!l,e,!0):ja(t,!!l,l?[]:"",!1));return;case"textarea":T=S=null;for(f in l)if(n=l[f],l.hasOwnProperty(f)&&n!=null&&!a.hasOwnProperty(f))switch(f){case"value":break;case"children":break;default:zt(t,e,f,null,a,n)}for(i in a)if(n=a[i],u=l[i],a.hasOwnProperty(i)&&(n!=null||u!=null))switch(i){case"value":S=n;break;case"defaultValue":T=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(s(91));break;default:n!==u&&zt(t,e,i,n,a,u)}Ts(t,S,T);return;case"option":for(var q in l)if(S=l[q],l.hasOwnProperty(q)&&S!=null&&!a.hasOwnProperty(q))switch(q){case"selected":t.selected=!1;break;default:zt(t,e,q,null,a,S)}for(o in a)if(S=a[o],T=l[o],a.hasOwnProperty(o)&&S!==T&&(S!=null||T!=null))switch(o){case"selected":t.selected=S&&typeof S!="function"&&typeof S!="symbol";break;default:zt(t,e,o,S,a,T)}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 J in l)S=l[J],l.hasOwnProperty(J)&&S!=null&&!a.hasOwnProperty(J)&&zt(t,e,J,null,a,S);for(x in a)if(S=a[x],T=l[x],a.hasOwnProperty(x)&&S!==T&&(S!=null||T!=null))switch(x){case"children":case"dangerouslySetInnerHTML":if(S!=null)throw Error(s(137,e));break;default:zt(t,e,x,S,a,T)}return;default:if(Zi(e)){for(var Tt in l)S=l[Tt],l.hasOwnProperty(Tt)&&S!==void 0&&!a.hasOwnProperty(Tt)&&_f(t,e,Tt,void 0,a,S);for(A in a)S=a[A],T=l[A],!a.hasOwnProperty(A)||S===T||S===void 0&&T===void 0||_f(t,e,A,S,a,T);return}}for(var v in l)S=l[v],l.hasOwnProperty(v)&&S!=null&&!a.hasOwnProperty(v)&&zt(t,e,v,null,a,S);for(C in a)S=a[C],T=l[C],!a.hasOwnProperty(C)||S===T||S==null&&T==null||zt(t,e,C,S,a,T)}function Cd(t){switch(t){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Sy(){if(typeof performance.getEntriesByType=="function"){for(var t=0,e=0,l=performance.getEntriesByType("resource"),a=0;a<l.length;a++){var n=l[a],u=n.transferSize,i=n.initiatorType,f=n.duration;if(u&&f&&Cd(i)){for(i=0,f=n.responseEnd,a+=1;a<l.length;a++){var o=l[a],x=o.startTime;if(x>f)break;var A=o.transferSize,C=o.initiatorType;A&&Cd(C)&&(o=o.responseEnd,i+=A*(o<f?1:(f-x)/(o-x)))}if(--a,e+=8*(u+i)/(n.duration/1e3),t++,10<t)break}}if(0<t)return e/t/1e6}return navigator.connection&&(t=navigator.connection.downlink,typeof t=="number")?t:5}var Df=null,Uf=null;function hi(t){return t.nodeType===9?t:t.ownerDocument}function Nd(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Od(t,e){if(t===0)switch(e){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&e==="foreignObject"?0:t}function Rf(t,e){return t==="textarea"||t==="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 Hf=null;function zy(){var t=window.event;return t&&t.type==="popstate"?t===Hf?!1:(Hf=t,!0):(Hf=null,!1)}var _d=typeof setTimeout=="function"?setTimeout:void 0,Ty=typeof clearTimeout=="function"?clearTimeout:void 0,Dd=typeof Promise=="function"?Promise:void 0,Ey=typeof queueMicrotask=="function"?queueMicrotask:typeof Dd<"u"?function(t){return Dd.resolve(null).then(t).catch(Ay)}:_d;function Ay(t){setTimeout(function(){throw t})}function ql(t){return t==="head"}function Ud(t,e){var l=e,a=0;do{var n=l.nextSibling;if(t.removeChild(l),n&&n.nodeType===8)if(l=n.data,l==="/$"||l==="/&"){if(a===0){t.removeChild(n),un(e);return}a--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")a++;else if(l==="html")Pn(t.ownerDocument.documentElement);else if(l==="head"){l=t.ownerDocument.head,Pn(l);for(var u=l.firstChild;u;){var i=u.nextSibling,f=u.nodeName;u[gn]||f==="SCRIPT"||f==="STYLE"||f==="LINK"&&u.rel.toLowerCase()==="stylesheet"||l.removeChild(u),u=i}}else l==="body"&&Pn(t.ownerDocument.body);l=n}while(l);un(e)}function Rd(t,e){var l=t;t=0;do{var a=l.nextSibling;if(l.nodeType===1?e?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(e?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),a&&a.nodeType===8)if(l=a.data,l==="/$"){if(t===0)break;t--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||t++;l=a}while(l)}function Bf(t){var e=t.firstChild;for(e&&e.nodeType===10&&(e=e.nextSibling);e;){var l=e;switch(e=e.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Bf(l),Gi(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function My(t,e,l,a){for(;t.nodeType===1;){var n=l;if(t.nodeName.toLowerCase()!==e.toLowerCase()){if(!a&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(a){if(!t[gn])switch(e){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(u=t.getAttribute("rel"),u==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(u!==n.rel||t.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||t.getAttribute("title")!==(n.title==null?null:n.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(u=t.getAttribute("src"),(u!==(n.src==null?null:n.src)||t.getAttribute("type")!==(n.type==null?null:n.type)||t.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(e==="input"&&t.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&t.getAttribute("name")===u)return t}else return t;if(t=Qe(t.nextSibling),t===null)break}return null}function jy(t,e,l){if(e==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Qe(t.nextSibling),t===null))return null;return t}function Hd(t,e){for(;t.nodeType!==8;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!e||(t=Qe(t.nextSibling),t===null))return null;return t}function Qf(t){return t.data==="$?"||t.data==="$~"}function qf(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState!=="loading"}function Cy(t,e){var l=t.ownerDocument;if(t.data==="$~")t._reactRetry=e;else if(t.data!=="$?"||l.readyState!=="loading")e();else{var a=function(){e(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),t._reactRetry=a}}function Qe(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?"||e==="$~"||e==="&"||e==="F!"||e==="F")break;if(e==="/$"||e==="/&")return null}}return t}var Yf=null;function Bd(t){t=t.nextSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="/$"||l==="/&"){if(e===0)return Qe(t.nextSibling);e--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||e++}t=t.nextSibling}return null}function Qd(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(e===0)return t;e--}else l!=="/$"&&l!=="/&"||e++}t=t.previousSibling}return null}function qd(t,e,l){switch(e=hi(l),t){case"html":if(t=e.documentElement,!t)throw Error(s(452));return t;case"head":if(t=e.head,!t)throw Error(s(453));return t;case"body":if(t=e.body,!t)throw Error(s(454));return t;default:throw Error(s(451))}}function Pn(t){for(var e=t.attributes;e.length;)t.removeAttributeNode(e[0]);Gi(t)}var qe=new Map,Yd=new Set;function yi(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var yl=R.d;R.d={f:Ny,r:Oy,D:_y,C:Dy,L:Uy,m:Ry,X:By,S:Hy,M:Qy};function Ny(){var t=yl.f(),e=ii();return t||e}function Oy(t){var e=Ea(t);e!==null&&e.tag===5&&e.type==="form"?eo(e):yl.r(t)}var ln=typeof document>"u"?null:document;function Gd(t,e,l){var a=ln;if(a&&typeof e=="string"&&e){var n=Oe(e);n='link[rel="'+t+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),Yd.has(n)||(Yd.add(n),t={rel:t,crossOrigin:l,href:e},a.querySelector(n)===null&&(e=a.createElement("link"),te(e,"link",t),kt(e),a.head.appendChild(e)))}}function _y(t){yl.D(t),Gd("dns-prefetch",t,null)}function Dy(t,e){yl.C(t,e),Gd("preconnect",t,e)}function Uy(t,e,l){yl.L(t,e,l);var a=ln;if(a&&t&&e){var n='link[rel="preload"][as="'+Oe(e)+'"]';e==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+Oe(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+Oe(l.imageSizes)+'"]')):n+='[href="'+Oe(t)+'"]';var u=n;switch(e){case"style":u=an(t);break;case"script":u=nn(t)}qe.has(u)||(t=U({rel:"preload",href:e==="image"&&l&&l.imageSrcSet?void 0:t,as:e},l),qe.set(u,t),a.querySelector(n)!==null||e==="style"&&a.querySelector(tu(u))||e==="script"&&a.querySelector(eu(u))||(e=a.createElement("link"),te(e,"link",t),kt(e),a.head.appendChild(e)))}}function Ry(t,e){yl.m(t,e);var l=ln;if(l&&t){var a=e&&typeof e.as=="string"?e.as:"script",n='link[rel="modulepreload"][as="'+Oe(a)+'"][href="'+Oe(t)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=nn(t)}if(!qe.has(u)&&(t=U({rel:"modulepreload",href:t},e),qe.set(u,t),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(eu(u)))return}a=l.createElement("link"),te(a,"link",t),kt(a),l.head.appendChild(a)}}}function Hy(t,e,l){yl.S(t,e,l);var a=ln;if(a&&t){var n=Aa(a).hoistableStyles,u=an(t);e=e||"default";var i=n.get(u);if(!i){var f={loading:0,preload:null};if(i=a.querySelector(tu(u)))f.loading=5;else{t=U({rel:"stylesheet",href:t,"data-precedence":e},l),(l=qe.get(u))&&Gf(t,l);var o=i=a.createElement("link");kt(o),te(o,"link",t),o._p=new Promise(function(x,A){o.onload=x,o.onerror=A}),o.addEventListener("load",function(){f.loading|=1}),o.addEventListener("error",function(){f.loading|=2}),f.loading|=4,vi(i,e,a)}i={type:"stylesheet",instance:i,count:1,state:f},n.set(u,i)}}}function By(t,e){yl.X(t,e);var l=ln;if(l&&t){var a=Aa(l).hoistableScripts,n=nn(t),u=a.get(n);u||(u=l.querySelector(eu(n)),u||(t=U({src:t,async:!0},e),(e=qe.get(n))&&wf(t,e),u=l.createElement("script"),kt(u),te(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function Qy(t,e){yl.M(t,e);var l=ln;if(l&&t){var a=Aa(l).hoistableScripts,n=nn(t),u=a.get(n);u||(u=l.querySelector(eu(n)),u||(t=U({src:t,async:!0,type:"module"},e),(e=qe.get(n))&&wf(t,e),u=l.createElement("script"),kt(u),te(u,"link",t),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function wd(t,e,l,a){var n=(n=k.current)?yi(n):null;if(!n)throw Error(s(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(e=an(l.href),l=Aa(n).hoistableStyles,a=l.get(e),a||(a={type:"style",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=an(l.href);var u=Aa(n).hoistableStyles,i=u.get(t);if(i||(n=n.ownerDocument||n,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(t,i),(u=n.querySelector(tu(t)))&&!u._p&&(i.instance=u,i.state.loading=5),qe.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},qe.set(t,l),u||qy(n,t,l,i.state))),e&&a===null)throw Error(s(528,""));return i}if(e&&a!==null)throw Error(s(529,""));return null;case"script":return e=l.async,l=l.src,typeof l=="string"&&e&&typeof e!="function"&&typeof e!="symbol"?(e=nn(l),l=Aa(n).hoistableScripts,a=l.get(e),a||(a={type:"script",instance:null,count:0,state:null},l.set(e,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,t))}}function an(t){return'href="'+Oe(t)+'"'}function tu(t){return'link[rel="stylesheet"]['+t+"]"}function Xd(t){return U({},t,{"data-precedence":t.precedence,precedence:null})}function qy(t,e,l,a){t.querySelector('link[rel="preload"][as="style"]['+e+"]")?a.loading=1:(e=t.createElement("link"),a.preload=e,e.addEventListener("load",function(){return a.loading|=1}),e.addEventListener("error",function(){return a.loading|=2}),te(e,"link",l),kt(e),t.head.appendChild(e))}function nn(t){return'[src="'+Oe(t)+'"]'}function eu(t){return"script[async]"+t}function Ld(t,e,l){if(e.count++,e.instance===null)switch(e.type){case"style":var a=t.querySelector('style[data-href~="'+Oe(l.href)+'"]');if(a)return e.instance=a,kt(a),a;var n=U({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(t.ownerDocument||t).createElement("style"),kt(a),te(a,"style",n),vi(a,l.precedence,t),e.instance=a;case"stylesheet":n=an(l.href);var u=t.querySelector(tu(n));if(u)return e.state.loading|=4,e.instance=u,kt(u),u;a=Xd(l),(n=qe.get(n))&&Gf(a,n),u=(t.ownerDocument||t).createElement("link"),kt(u);var i=u;return i._p=new Promise(function(f,o){i.onload=f,i.onerror=o}),te(u,"link",a),e.state.loading|=4,vi(u,l.precedence,t),e.instance=u;case"script":return u=nn(l.src),(n=t.querySelector(eu(u)))?(e.instance=n,kt(n),n):(a=l,(n=qe.get(u))&&(a=U({},l),wf(a,n)),t=t.ownerDocument||t,n=t.createElement("script"),kt(n),te(n,"link",a),t.head.appendChild(n),e.instance=n);case"void":return null;default:throw Error(s(443,e.type))}else e.type==="stylesheet"&&(e.state.loading&4)===0&&(a=e.instance,e.state.loading|=4,vi(a,l.precedence,t));return e.instance}function vi(t,e,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,i=0;i<a.length;i++){var f=a[i];if(f.dataset.precedence===e)u=f;else if(u!==n)break}u?u.parentNode.insertBefore(t,u.nextSibling):(e=l.nodeType===9?l.head:l,e.insertBefore(t,e.firstChild))}function Gf(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.title==null&&(t.title=e.title)}function wf(t,e){t.crossOrigin==null&&(t.crossOrigin=e.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=e.referrerPolicy),t.integrity==null&&(t.integrity=e.integrity)}var gi=null;function Zd(t,e,l){if(gi===null){var a=new Map,n=gi=new Map;n.set(l,a)}else n=gi,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(t))return a;for(a.set(t,null),l=l.getElementsByTagName(t),n=0;n<l.length;n++){var u=l[n];if(!(u[gn]||u[$t]||t==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var i=u.getAttribute(e)||"";i=t+i;var f=a.get(i);f?f.push(u):a.set(i,[u])}}return a}function Vd(t,e,l){t=t.ownerDocument||t,t.head.insertBefore(l,e==="title"?t.querySelector("head > title"):null)}function Yy(t,e,l){if(l===1||e.itemProp!=null)return!1;switch(t){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 t=e.disabled,typeof e.precedence=="string"&&t==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 Kd(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}function Gy(t,e,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var n=an(a.href),u=e.querySelector(tu(n));if(u){e=u._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(t.count++,t=bi.bind(t),e.then(t,t)),l.state.loading|=4,l.instance=u,kt(u);return}u=e.ownerDocument||e,a=Xd(a),(n=qe.get(n))&&Gf(a,n),u=u.createElement("link"),kt(u);var i=u;i._p=new Promise(function(f,o){i.onload=f,i.onerror=o}),te(u,"link",a),l.instance=u}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(l,e),(e=l.state.preload)&&(l.state.loading&3)===0&&(t.count++,l=bi.bind(t),e.addEventListener("load",l),e.addEventListener("error",l))}}var Xf=0;function wy(t,e){return t.stylesheets&&t.count===0&&xi(t,t.stylesheets),0<t.count||0<t.imgCount?function(l){var a=setTimeout(function(){if(t.stylesheets&&xi(t,t.stylesheets),t.unsuspend){var u=t.unsuspend;t.unsuspend=null,u()}},6e4+e);0<t.imgBytes&&Xf===0&&(Xf=62500*Sy());var n=setTimeout(function(){if(t.waitingForImages=!1,t.count===0&&(t.stylesheets&&xi(t,t.stylesheets),t.unsuspend)){var u=t.unsuspend;t.unsuspend=null,u()}},(t.imgBytes>Xf?50:800)+e);return t.unsuspend=l,function(){t.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function bi(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)xi(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var pi=null;function xi(t,e){t.stylesheets=null,t.unsuspend!==null&&(t.count++,pi=new Map,e.forEach(Xy,t),pi=null,bi.call(t))}function Xy(t,e){if(!(e.state.loading&4)){var l=pi.get(t);if(l)var a=l.get(null);else{l=new Map,pi.set(t,l);for(var n=t.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var i=n[u];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(l.set(i.dataset.precedence,i),a=i)}a&&l.set(null,a)}n=e.instance,i=n.getAttribute("data-precedence"),u=l.get(i)||a,u===a&&l.set(null,n),l.set(i,n),this.count++,a=bi.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(n,t.firstChild)),e.state.loading|=4}}var lu={$$typeof:P,Provider:null,Consumer:null,_currentValue:G,_currentValue2:G,_threadCount:0};function Ly(t,e,l,a,n,u,i,f,o){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Wl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Wl(0),this.hiddenUpdates=Wl(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=o,this.incompleteTransitions=new Map}function Jd(t,e,l,a,n,u,i,f,o,x,A,C){return t=new Ly(t,e,l,i,o,x,A,C,f),e=1,u===!0&&(e|=24),u=Se(3,null,null,e),t.current=u,u.stateNode=t,e=xc(),e.refCount++,t.pooledCache=e,e.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:e},Ec(u),t}function kd(t){return t?(t=Ha,t):Ha}function Wd(t,e,l,a,n,u){n=kd(n),a.context===null?a.context=n:a.pendingContext=n,a=jl(e),a.payload={element:l},u=u===void 0?null:u,u!==null&&(a.callback=u),l=Cl(t,a,e),l!==null&&(pe(l,t,e),Rn(l,t,e))}function $d(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<e?l:e}}function Lf(t,e){$d(t,e),(t=t.alternate)&&$d(t,e)}function Fd(t){if(t.tag===13||t.tag===31){var e=la(t,67108864);e!==null&&pe(e,t,67108864),Lf(t,67108864)}}function Id(t){if(t.tag===13||t.tag===31){var e=Me();e=Sa(e);var l=la(t,e);l!==null&&pe(l,t,e),Lf(t,e)}}var Si=!0;function Zy(t,e,l,a){var n=E.T;E.T=null;var u=R.p;try{R.p=2,Zf(t,e,l,a)}finally{R.p=u,E.T=n}}function Vy(t,e,l,a){var n=E.T;E.T=null;var u=R.p;try{R.p=8,Zf(t,e,l,a)}finally{R.p=u,E.T=n}}function Zf(t,e,l,a){if(Si){var n=Vf(a);if(n===null)Of(t,e,a,zi,l),tm(t,a);else if(Jy(n,t,e,l,a))a.stopPropagation();else if(tm(t,a),e&4&&-1<Ky.indexOf(t)){for(;n!==null;){var u=Ea(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var i=Fe(u.pendingLanes);if(i!==0){var f=u;for(f.pendingLanes|=2,f.entangledLanes|=2;i;){var o=1<<31-ue(i);f.entanglements[1]|=o,i&=~o}We(u),(gt&6)===0&&(ni=Bt()+500,$n(0))}}break;case 31:case 13:f=la(u,2),f!==null&&pe(f,u,2),ii(),Lf(u,2)}if(u=Vf(a),u===null&&Of(t,e,a,zi,l),u===n)break;n=u}n!==null&&a.stopPropagation()}else Of(t,e,a,null,l)}}function Vf(t){return t=Ki(t),Kf(t)}var zi=null;function Kf(t){if(zi=null,t=Ta(t),t!==null){var e=g(t);if(e===null)t=null;else{var l=e.tag;if(l===13){if(t=M(e),t!==null)return t;t=null}else if(l===31){if(t=N(e),t!==null)return t;t=null}else if(l===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null)}}return zi=t,null}function Pd(t){switch(t){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Ui()){case hn:return 2;case mu:return 8;case ga:case Ri:return 32;case yn:return 268435456;default:return 32}default:return 32}}var Jf=!1,Yl=null,Gl=null,wl=null,au=new Map,nu=new Map,Xl=[],Ky="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 tm(t,e){switch(t){case"focusin":case"focusout":Yl=null;break;case"dragenter":case"dragleave":Gl=null;break;case"mouseover":case"mouseout":wl=null;break;case"pointerover":case"pointerout":au.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":nu.delete(e.pointerId)}}function uu(t,e,l,a,n,u){return t===null||t.nativeEvent!==u?(t={blockedOn:e,domEventName:l,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},e!==null&&(e=Ea(e),e!==null&&Fd(e)),t):(t.eventSystemFlags|=a,e=t.targetContainers,n!==null&&e.indexOf(n)===-1&&e.push(n),t)}function Jy(t,e,l,a,n){switch(e){case"focusin":return Yl=uu(Yl,t,e,l,a,n),!0;case"dragenter":return Gl=uu(Gl,t,e,l,a,n),!0;case"mouseover":return wl=uu(wl,t,e,l,a,n),!0;case"pointerover":var u=n.pointerId;return au.set(u,uu(au.get(u)||null,t,e,l,a,n)),!0;case"gotpointercapture":return u=n.pointerId,nu.set(u,uu(nu.get(u)||null,t,e,l,a,n)),!0}return!1}function em(t){var e=Ta(t.target);if(e!==null){var l=g(e);if(l!==null){if(e=l.tag,e===13){if(e=M(l),e!==null){t.blockedOn=e,hs(t.priority,function(){Id(l)});return}}else if(e===31){if(e=N(l),e!==null){t.blockedOn=e,hs(t.priority,function(){Id(l)});return}}else if(e===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Ti(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var l=Vf(t.nativeEvent);if(l===null){l=t.nativeEvent;var a=new l.constructor(l.type,l);Vi=a,l.target.dispatchEvent(a),Vi=null}else return e=Ea(l),e!==null&&Fd(e),t.blockedOn=l,!1;e.shift()}return!0}function lm(t,e,l){Ti(t)&&l.delete(e)}function ky(){Jf=!1,Yl!==null&&Ti(Yl)&&(Yl=null),Gl!==null&&Ti(Gl)&&(Gl=null),wl!==null&&Ti(wl)&&(wl=null),au.forEach(lm),nu.forEach(lm)}function Ei(t,e){t.blockedOn===e&&(t.blockedOn=null,Jf||(Jf=!0,c.unstable_scheduleCallback(c.unstable_NormalPriority,ky)))}var Ai=null;function am(t){Ai!==t&&(Ai=t,c.unstable_scheduleCallback(c.unstable_NormalPriority,function(){Ai===t&&(Ai=null);for(var e=0;e<t.length;e+=3){var l=t[e],a=t[e+1],n=t[e+2];if(typeof a!="function"){if(Kf(a||l)===null)continue;break}var u=Ea(l);u!==null&&(t.splice(e,3),e-=3,Zc(u,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function un(t){function e(o){return Ei(o,t)}Yl!==null&&Ei(Yl,t),Gl!==null&&Ei(Gl,t),wl!==null&&Ei(wl,t),au.forEach(e),nu.forEach(e);for(var l=0;l<Xl.length;l++){var a=Xl[l];a.blockedOn===t&&(a.blockedOn=null)}for(;0<Xl.length&&(l=Xl[0],l.blockedOn===null);)em(l),l.blockedOn===null&&Xl.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],u=l[a+1],i=n[me]||null;if(typeof u=="function")i||am(l);else if(i){var f=null;if(u&&u.hasAttribute("formAction")){if(n=u,i=u[me]||null)f=i.formAction;else if(Kf(n)!==null)continue}else f=i.action;typeof f=="function"?l[a+1]=f:(l.splice(a,3),a-=3),am(l)}}}function nm(){function t(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(i){return n=i})},focusReset:"manual",scroll:"manual"})}function e(){n!==null&&(n(),n=null),a||setTimeout(l,20)}function l(){if(!a&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",t),navigation.addEventListener("navigatesuccess",e),navigation.addEventListener("navigateerror",e),setTimeout(l,100),function(){a=!0,navigation.removeEventListener("navigate",t),navigation.removeEventListener("navigatesuccess",e),navigation.removeEventListener("navigateerror",e),n!==null&&(n(),n=null)}}}function kf(t){this._internalRoot=t}Mi.prototype.render=kf.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(s(409));var l=e.current,a=Me();Wd(l,a,t,e,null,null)},Mi.prototype.unmount=kf.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Wd(t.current,2,null,t,null,null),ii(),e[za]=null}};function Mi(t){this._internalRoot=t}Mi.prototype.unstable_scheduleHydration=function(t){if(t){var e=ms();t={blockedOn:null,target:t,priority:e};for(var l=0;l<Xl.length&&e!==0&&e<Xl[l].priority;l++);Xl.splice(l,0,t),l===0&&em(t)}};var um=y.version;if(um!=="19.2.4")throw Error(s(527,um,"19.2.4"));R.findDOMNode=function(t){var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(s(188)):(t=Object.keys(t).join(","),Error(s(268,t)));return t=b(e),t=t!==null?B(t):null,t=t===null?null:t.stateNode,t};var Wy={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:E,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ji=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ji.isDisabled&&ji.supportsFiber)try{kl=ji.inject(Wy),se=ji}catch{}}return cu.createRoot=function(t,e){if(!z(t))throw Error(s(299));var l=!1,a="",n=oo,u=mo,i=ho;return e!=null&&(e.unstable_strictMode===!0&&(l=!0),e.identifierPrefix!==void 0&&(a=e.identifierPrefix),e.onUncaughtError!==void 0&&(n=e.onUncaughtError),e.onCaughtError!==void 0&&(u=e.onCaughtError),e.onRecoverableError!==void 0&&(i=e.onRecoverableError)),e=Jd(t,1,!1,null,null,l,a,null,n,u,i,nm),t[za]=e.current,Nf(t),new kf(e)},cu.hydrateRoot=function(t,e,l){if(!z(t))throw Error(s(299));var a=!1,n="",u=oo,i=mo,f=ho,o=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(i=l.onCaughtError),l.onRecoverableError!==void 0&&(f=l.onRecoverableError),l.formState!==void 0&&(o=l.formState)),e=Jd(t,1,!0,e,l??null,a,n,o,u,i,f,nm),e.context=kd(null),l=e.current,a=Me(),a=Sa(a),n=jl(a),n.callback=null,Cl(l,n,a),l=a,e.current.lanes=l,pl(e,l),We(e),t[za]=e.current,Nf(t),new Mi(e)},cu.version="19.2.4",cu}var ym;function uv(){if(ym)return Ff.exports;ym=1;function c(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(y){console.error(y)}}return c(),Ff.exports=nv(),Ff.exports}var iv=uv();const cv=Cm(iv);/**
50
+ * @license lucide-react v0.469.0 - ISC
51
+ *
52
+ * This source code is licensed under the ISC license.
53
+ * See the LICENSE file in the root directory of this source tree.
54
+ */const fv=c=>c.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Nm=(...c)=>c.filter((y,d,s)=>!!y&&y.trim()!==""&&s.indexOf(y)===d).join(" ").trim();/**
55
+ * @license lucide-react v0.469.0 - ISC
56
+ *
57
+ * This source code is licensed under the ISC license.
58
+ * See the LICENSE file in the root directory of this source tree.
59
+ */var sv={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"};/**
60
+ * @license lucide-react v0.469.0 - ISC
61
+ *
62
+ * This source code is licensed under the ISC license.
63
+ * See the LICENSE file in the root directory of this source tree.
64
+ */const rv=lt.forwardRef(({color:c="currentColor",size:y=24,strokeWidth:d=2,absoluteStrokeWidth:s,className:z="",children:g,iconNode:M,...N},_)=>lt.createElement("svg",{ref:_,...sv,width:y,height:y,stroke:c,strokeWidth:s?Number(d)*24/Number(y):d,className:Nm("lucide",z),...N},[...M.map(([b,B])=>lt.createElement(b,B)),...Array.isArray(g)?g:[g]]));/**
65
+ * @license lucide-react v0.469.0 - ISC
66
+ *
67
+ * This source code is licensed under the ISC license.
68
+ * See the LICENSE file in the root directory of this source tree.
69
+ */const Mt=(c,y)=>{const d=lt.forwardRef(({className:s,...z},g)=>lt.createElement(rv,{ref:g,iconNode:y,className:Nm(`lucide-${fv(c)}`,s),...z}));return d.displayName=`${c}`,d};/**
70
+ * @license lucide-react v0.469.0 - ISC
71
+ *
72
+ * This source code is licensed under the ISC license.
73
+ * See the LICENSE file in the root directory of this source tree.
74
+ */const ov=Mt("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
75
+ * @license lucide-react v0.469.0 - ISC
76
+ *
77
+ * This source code is licensed under the ISC license.
78
+ * See the LICENSE file in the root directory of this source tree.
79
+ */const ns=Mt("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
80
+ * @license lucide-react v0.469.0 - ISC
81
+ *
82
+ * This source code is licensed under the ISC license.
83
+ * See the LICENSE file in the root directory of this source tree.
84
+ */const dv=Mt("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
85
+ * @license lucide-react v0.469.0 - ISC
86
+ *
87
+ * This source code is licensed under the ISC license.
88
+ * See the LICENSE file in the root directory of this source tree.
89
+ */const mv=Mt("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
90
+ * @license lucide-react v0.469.0 - ISC
91
+ *
92
+ * This source code is licensed under the ISC license.
93
+ * See the LICENSE file in the root directory of this source tree.
94
+ */const Om=Mt("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
95
+ * @license lucide-react v0.469.0 - ISC
96
+ *
97
+ * This source code is licensed under the ISC license.
98
+ * See the LICENSE file in the root directory of this source tree.
99
+ */const hv=Mt("CirclePlus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]]);/**
100
+ * @license lucide-react v0.469.0 - ISC
101
+ *
102
+ * This source code is licensed under the ISC license.
103
+ * See the LICENSE file in the root directory of this source tree.
104
+ */const vm=Mt("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);/**
105
+ * @license lucide-react v0.469.0 - ISC
106
+ *
107
+ * This source code is licensed under the ISC license.
108
+ * See the LICENSE file in the root directory of this source tree.
109
+ */const _m=Mt("CornerDownRight",[["polyline",{points:"15 10 20 15 15 20",key:"1q7qjw"}],["path",{d:"M4 4v7a4 4 0 0 0 4 4h12",key:"z08zvw"}]]);/**
110
+ * @license lucide-react v0.469.0 - ISC
111
+ *
112
+ * This source code is licensed under the ISC license.
113
+ * See the LICENSE file in the root directory of this source tree.
114
+ */const yv=Mt("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
115
+ * @license lucide-react v0.469.0 - ISC
116
+ *
117
+ * This source code is licensed under the ISC license.
118
+ * See the LICENSE file in the root directory of this source tree.
119
+ */const vv=Mt("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
120
+ * @license lucide-react v0.469.0 - ISC
121
+ *
122
+ * This source code is licensed under the ISC license.
123
+ * See the LICENSE file in the root directory of this source tree.
124
+ */const us=Mt("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
125
+ * @license lucide-react v0.469.0 - ISC
126
+ *
127
+ * This source code is licensed under the ISC license.
128
+ * See the LICENSE file in the root directory of this source tree.
129
+ */const gv=Mt("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
130
+ * @license lucide-react v0.469.0 - ISC
131
+ *
132
+ * This source code is licensed under the ISC license.
133
+ * See the LICENSE file in the root directory of this source tree.
134
+ */const bv=Mt("Layers",[["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"}]]);/**
135
+ * @license lucide-react v0.469.0 - ISC
136
+ *
137
+ * This source code is licensed under the ISC license.
138
+ * See the LICENSE file in the root directory of this source tree.
139
+ */const pv=Mt("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);/**
140
+ * @license lucide-react v0.469.0 - ISC
141
+ *
142
+ * This source code is licensed under the ISC license.
143
+ * See the LICENSE file in the root directory of this source tree.
144
+ */const xv=Mt("List",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]]);/**
145
+ * @license lucide-react v0.469.0 - ISC
146
+ *
147
+ * This source code is licensed under the ISC license.
148
+ * See the LICENSE file in the root directory of this source tree.
149
+ */const Sv=Mt("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
150
+ * @license lucide-react v0.469.0 - ISC
151
+ *
152
+ * This source code is licensed under the ISC license.
153
+ * See the LICENSE file in the root directory of this source tree.
154
+ */const zv=Mt("Pen",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]]);/**
155
+ * @license lucide-react v0.469.0 - ISC
156
+ *
157
+ * This source code is licensed under the ISC license.
158
+ * See the LICENSE file in the root directory of this source tree.
159
+ */const gm=Mt("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
160
+ * @license lucide-react v0.469.0 - ISC
161
+ *
162
+ * This source code is licensed under the ISC license.
163
+ * See the LICENSE file in the root directory of this source tree.
164
+ */const Tv=Mt("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
165
+ * @license lucide-react v0.469.0 - ISC
166
+ *
167
+ * This source code is licensed under the ISC license.
168
+ * See the LICENSE file in the root directory of this source tree.
169
+ */const Ev=Mt("SquareCheckBig",[["path",{d:"M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5",key:"1uzm8b"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
170
+ * @license lucide-react v0.469.0 - ISC
171
+ *
172
+ * This source code is licensed under the ISC license.
173
+ * See the LICENSE file in the root directory of this source tree.
174
+ */const bm=Mt("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);/**
175
+ * @license lucide-react v0.469.0 - ISC
176
+ *
177
+ * This source code is licensed under the ISC license.
178
+ * See the LICENSE file in the root directory of this source tree.
179
+ */const Av=Mt("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
180
+ * @license lucide-react v0.469.0 - ISC
181
+ *
182
+ * This source code is licensed under the ISC license.
183
+ * See the LICENSE file in the root directory of this source tree.
184
+ */const Mv=Mt("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/**
185
+ * @license lucide-react v0.469.0 - ISC
186
+ *
187
+ * This source code is licensed under the ISC license.
188
+ * See the LICENSE file in the root directory of this source tree.
189
+ */const Ni=Mt("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
190
+ * @license lucide-react v0.469.0 - ISC
191
+ *
192
+ * This source code is licensed under the ISC license.
193
+ * See the LICENSE file in the root directory of this source tree.
194
+ */const jv=Mt("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
195
+ * @license lucide-react v0.469.0 - ISC
196
+ *
197
+ * This source code is licensed under the ISC license.
198
+ * See the LICENSE file in the root directory of this source tree.
199
+ */const pm=Mt("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/**
200
+ * @license lucide-react v0.469.0 - ISC
201
+ *
202
+ * This source code is licensed under the ISC license.
203
+ * See the LICENSE file in the root directory of this source tree.
204
+ */const ss=Mt("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Dm(c){var y,d,s="";if(typeof c=="string"||typeof c=="number")s+=c;else if(typeof c=="object")if(Array.isArray(c)){var z=c.length;for(y=0;y<z;y++)c[y]&&(d=Dm(c[y]))&&(s&&(s+=" "),s+=d)}else for(d in c)c[d]&&(s&&(s+=" "),s+=d);return s}function Cv(){for(var c,y,d=0,s="",z=arguments.length;d<z;d++)(c=arguments[d])&&(y=Dm(c))&&(s&&(s+=" "),s+=y);return s}const rs="-",Nv=c=>{const y=_v(c),{conflictingClassGroups:d,conflictingClassGroupModifiers:s}=c;return{getClassGroupId:M=>{const N=M.split(rs);return N[0]===""&&N.length!==1&&N.shift(),Um(N,y)||Ov(M)},getConflictingClassGroupIds:(M,N)=>{const _=d[M]||[];return N&&s[M]?[..._,...s[M]]:_}}},Um=(c,y)=>{var M;if(c.length===0)return y.classGroupId;const d=c[0],s=y.nextPart.get(d),z=s?Um(c.slice(1),s):void 0;if(z)return z;if(y.validators.length===0)return;const g=c.join(rs);return(M=y.validators.find(({validator:N})=>N(g)))==null?void 0:M.classGroupId},xm=/^\[(.+)\]$/,Ov=c=>{if(xm.test(c)){const y=xm.exec(c)[1],d=y==null?void 0:y.substring(0,y.indexOf(":"));if(d)return"arbitrary.."+d}},_v=c=>{const{theme:y,prefix:d}=c,s={nextPart:new Map,validators:[]};return Uv(Object.entries(c.classGroups),d).forEach(([g,M])=>{is(M,s,g,y)}),s},is=(c,y,d,s)=>{c.forEach(z=>{if(typeof z=="string"){const g=z===""?y:Sm(y,z);g.classGroupId=d;return}if(typeof z=="function"){if(Dv(z)){is(z(s),y,d,s);return}y.validators.push({validator:z,classGroupId:d});return}Object.entries(z).forEach(([g,M])=>{is(M,Sm(y,g),d,s)})})},Sm=(c,y)=>{let d=c;return y.split(rs).forEach(s=>{d.nextPart.has(s)||d.nextPart.set(s,{nextPart:new Map,validators:[]}),d=d.nextPart.get(s)}),d},Dv=c=>c.isThemeGetter,Uv=(c,y)=>y?c.map(([d,s])=>{const z=s.map(g=>typeof g=="string"?y+g:typeof g=="object"?Object.fromEntries(Object.entries(g).map(([M,N])=>[y+M,N])):g);return[d,z]}):c,Rv=c=>{if(c<1)return{get:()=>{},set:()=>{}};let y=0,d=new Map,s=new Map;const z=(g,M)=>{d.set(g,M),y++,y>c&&(y=0,s=d,d=new Map)};return{get(g){let M=d.get(g);if(M!==void 0)return M;if((M=s.get(g))!==void 0)return z(g,M),M},set(g,M){d.has(g)?d.set(g,M):z(g,M)}}},Rm="!",Hv=c=>{const{separator:y,experimentalParseClassName:d}=c,s=y.length===1,z=y[0],g=y.length,M=N=>{const _=[];let b=0,B=0,U;for(let L=0;L<N.length;L++){let F=N[L];if(b===0){if(F===z&&(s||N.slice(L,L+g)===y)){_.push(N.slice(B,L)),B=L+g;continue}if(F==="/"){U=L;continue}}F==="["?b++:F==="]"&&b--}const V=_.length===0?N:N.substring(B),at=V.startsWith(Rm),K=at?V.substring(1):V,X=U&&U>B?U-B:void 0;return{modifiers:_,hasImportantModifier:at,baseClassName:K,maybePostfixModifierPosition:X}};return d?N=>d({className:N,parseClassName:M}):M},Bv=c=>{if(c.length<=1)return c;const y=[];let d=[];return c.forEach(s=>{s[0]==="["?(y.push(...d.sort(),s),d=[]):d.push(s)}),y.push(...d.sort()),y},Qv=c=>({cache:Rv(c.cacheSize),parseClassName:Hv(c),...Nv(c)}),qv=/\s+/,Yv=(c,y)=>{const{parseClassName:d,getClassGroupId:s,getConflictingClassGroupIds:z}=y,g=[],M=c.trim().split(qv);let N="";for(let _=M.length-1;_>=0;_-=1){const b=M[_],{modifiers:B,hasImportantModifier:U,baseClassName:V,maybePostfixModifierPosition:at}=d(b);let K=!!at,X=s(K?V.substring(0,at):V);if(!X){if(!K){N=b+(N.length>0?" "+N:N);continue}if(X=s(V),!X){N=b+(N.length>0?" "+N:N);continue}K=!1}const L=Bv(B).join(":"),F=U?L+Rm:L,Y=F+X;if(g.includes(Y))continue;g.push(Y);const P=z(X,K);for(let mt=0;mt<P.length;++mt){const _t=P[mt];g.push(F+_t)}N=b+(N.length>0?" "+N:N)}return N};function Gv(){let c=0,y,d,s="";for(;c<arguments.length;)(y=arguments[c++])&&(d=Hm(y))&&(s&&(s+=" "),s+=d);return s}const Hm=c=>{if(typeof c=="string")return c;let y,d="";for(let s=0;s<c.length;s++)c[s]&&(y=Hm(c[s]))&&(d&&(d+=" "),d+=y);return d};function wv(c,...y){let d,s,z,g=M;function M(_){const b=y.reduce((B,U)=>U(B),c());return d=Qv(b),s=d.cache.get,z=d.cache.set,g=N,N(_)}function N(_){const b=s(_);if(b)return b;const B=Yv(_,d);return z(_,B),B}return function(){return g(Gv.apply(null,arguments))}}const Nt=c=>{const y=d=>d[c]||[];return y.isThemeGetter=!0,y},Bm=/^\[(?:([a-z-]+):)?(.+)\]$/i,Xv=/^\d+\/\d+$/,Lv=new Set(["px","full","screen"]),Zv=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Vv=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Kv=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jv=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,kv=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,vl=c=>fn(c)||Lv.has(c)||Xv.test(c),Zl=c=>sn(c,"length",l0),fn=c=>!!c&&!Number.isNaN(Number(c)),es=c=>sn(c,"number",fn),fu=c=>!!c&&Number.isInteger(Number(c)),Wv=c=>c.endsWith("%")&&fn(c.slice(0,-1)),ut=c=>Bm.test(c),Vl=c=>Zv.test(c),$v=new Set(["length","size","percentage"]),Fv=c=>sn(c,$v,Qm),Iv=c=>sn(c,"position",Qm),Pv=new Set(["image","url"]),t0=c=>sn(c,Pv,n0),e0=c=>sn(c,"",a0),su=()=>!0,sn=(c,y,d)=>{const s=Bm.exec(c);return s?s[1]?typeof y=="string"?s[1]===y:y.has(s[1]):d(s[2]):!1},l0=c=>Vv.test(c)&&!Kv.test(c),Qm=()=>!1,a0=c=>Jv.test(c),n0=c=>kv.test(c),u0=()=>{const c=Nt("colors"),y=Nt("spacing"),d=Nt("blur"),s=Nt("brightness"),z=Nt("borderColor"),g=Nt("borderRadius"),M=Nt("borderSpacing"),N=Nt("borderWidth"),_=Nt("contrast"),b=Nt("grayscale"),B=Nt("hueRotate"),U=Nt("invert"),V=Nt("gap"),at=Nt("gradientColorStops"),K=Nt("gradientColorStopPositions"),X=Nt("inset"),L=Nt("margin"),F=Nt("opacity"),Y=Nt("padding"),P=Nt("saturate"),mt=Nt("scale"),_t=Nt("sepia"),Dt=Nt("skew"),I=Nt("space"),Yt=Nt("translate"),ee=()=>["auto","contain","none"],de=()=>["auto","hidden","clip","visible","scroll"],le=()=>["auto",ut,y],tt=()=>[ut,y],je=()=>["",vl,Zl],ae=()=>["auto",fn,ut],ne=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],E=()=>["solid","dashed","dotted","double","none"],R=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],G=()=>["start","end","center","between","around","evenly","stretch"],ft=()=>["","0",ut],ht=()=>["auto","avoid","all","avoid-page","page","left","right","column"],m=()=>[fn,ut];return{cacheSize:500,separator:":",theme:{colors:[su],spacing:[vl,Zl],blur:["none","",Vl,ut],brightness:m(),borderColor:[c],borderRadius:["none","","full",Vl,ut],borderSpacing:tt(),borderWidth:je(),contrast:m(),grayscale:ft(),hueRotate:m(),invert:ft(),gap:tt(),gradientColorStops:[c],gradientColorStopPositions:[Wv,Zl],inset:le(),margin:le(),opacity:m(),padding:tt(),saturate:m(),scale:m(),sepia:ft(),skew:m(),space:tt(),translate:tt()},classGroups:{aspect:[{aspect:["auto","square","video",ut]}],container:["container"],columns:[{columns:[Vl]}],"break-after":[{"break-after":ht()}],"break-before":[{"break-before":ht()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ne(),ut]}],overflow:[{overflow:de()}],"overflow-x":[{"overflow-x":de()}],"overflow-y":[{"overflow-y":de()}],overscroll:[{overscroll:ee()}],"overscroll-x":[{"overscroll-x":ee()}],"overscroll-y":[{"overscroll-y":ee()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[X]}],"inset-x":[{"inset-x":[X]}],"inset-y":[{"inset-y":[X]}],start:[{start:[X]}],end:[{end:[X]}],top:[{top:[X]}],right:[{right:[X]}],bottom:[{bottom:[X]}],left:[{left:[X]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",fu,ut]}],basis:[{basis:le()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ut]}],grow:[{grow:ft()}],shrink:[{shrink:ft()}],order:[{order:["first","last","none",fu,ut]}],"grid-cols":[{"grid-cols":[su]}],"col-start-end":[{col:["auto",{span:["full",fu,ut]},ut]}],"col-start":[{"col-start":ae()}],"col-end":[{"col-end":ae()}],"grid-rows":[{"grid-rows":[su]}],"row-start-end":[{row:["auto",{span:[fu,ut]},ut]}],"row-start":[{"row-start":ae()}],"row-end":[{"row-end":ae()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ut]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ut]}],gap:[{gap:[V]}],"gap-x":[{"gap-x":[V]}],"gap-y":[{"gap-y":[V]}],"justify-content":[{justify:["normal",...G()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...G(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...G(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[Y]}],px:[{px:[Y]}],py:[{py:[Y]}],ps:[{ps:[Y]}],pe:[{pe:[Y]}],pt:[{pt:[Y]}],pr:[{pr:[Y]}],pb:[{pb:[Y]}],pl:[{pl:[Y]}],m:[{m:[L]}],mx:[{mx:[L]}],my:[{my:[L]}],ms:[{ms:[L]}],me:[{me:[L]}],mt:[{mt:[L]}],mr:[{mr:[L]}],mb:[{mb:[L]}],ml:[{ml:[L]}],"space-x":[{"space-x":[I]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[I]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ut,y]}],"min-w":[{"min-w":[ut,y,"min","max","fit"]}],"max-w":[{"max-w":[ut,y,"none","full","min","max","fit","prose",{screen:[Vl]},Vl]}],h:[{h:[ut,y,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ut,y,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ut,y,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ut,y,"auto","min","max","fit"]}],"font-size":[{text:["base",Vl,Zl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",es]}],"font-family":[{font:[su]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ut]}],"line-clamp":[{"line-clamp":["none",fn,es]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",vl,ut]}],"list-image":[{"list-image":["none",ut]}],"list-style-type":[{list:["none","disc","decimal",ut]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[c]}],"placeholder-opacity":[{"placeholder-opacity":[F]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[c]}],"text-opacity":[{"text-opacity":[F]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...E(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",vl,Zl]}],"underline-offset":[{"underline-offset":["auto",vl,ut]}],"text-decoration-color":[{decoration:[c]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:tt()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ut]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ut]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[F]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ne(),Iv]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Fv]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},t0]}],"bg-color":[{bg:[c]}],"gradient-from-pos":[{from:[K]}],"gradient-via-pos":[{via:[K]}],"gradient-to-pos":[{to:[K]}],"gradient-from":[{from:[at]}],"gradient-via":[{via:[at]}],"gradient-to":[{to:[at]}],rounded:[{rounded:[g]}],"rounded-s":[{"rounded-s":[g]}],"rounded-e":[{"rounded-e":[g]}],"rounded-t":[{"rounded-t":[g]}],"rounded-r":[{"rounded-r":[g]}],"rounded-b":[{"rounded-b":[g]}],"rounded-l":[{"rounded-l":[g]}],"rounded-ss":[{"rounded-ss":[g]}],"rounded-se":[{"rounded-se":[g]}],"rounded-ee":[{"rounded-ee":[g]}],"rounded-es":[{"rounded-es":[g]}],"rounded-tl":[{"rounded-tl":[g]}],"rounded-tr":[{"rounded-tr":[g]}],"rounded-br":[{"rounded-br":[g]}],"rounded-bl":[{"rounded-bl":[g]}],"border-w":[{border:[N]}],"border-w-x":[{"border-x":[N]}],"border-w-y":[{"border-y":[N]}],"border-w-s":[{"border-s":[N]}],"border-w-e":[{"border-e":[N]}],"border-w-t":[{"border-t":[N]}],"border-w-r":[{"border-r":[N]}],"border-w-b":[{"border-b":[N]}],"border-w-l":[{"border-l":[N]}],"border-opacity":[{"border-opacity":[F]}],"border-style":[{border:[...E(),"hidden"]}],"divide-x":[{"divide-x":[N]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[N]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[F]}],"divide-style":[{divide:E()}],"border-color":[{border:[z]}],"border-color-x":[{"border-x":[z]}],"border-color-y":[{"border-y":[z]}],"border-color-s":[{"border-s":[z]}],"border-color-e":[{"border-e":[z]}],"border-color-t":[{"border-t":[z]}],"border-color-r":[{"border-r":[z]}],"border-color-b":[{"border-b":[z]}],"border-color-l":[{"border-l":[z]}],"divide-color":[{divide:[z]}],"outline-style":[{outline:["",...E()]}],"outline-offset":[{"outline-offset":[vl,ut]}],"outline-w":[{outline:[vl,Zl]}],"outline-color":[{outline:[c]}],"ring-w":[{ring:je()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[c]}],"ring-opacity":[{"ring-opacity":[F]}],"ring-offset-w":[{"ring-offset":[vl,Zl]}],"ring-offset-color":[{"ring-offset":[c]}],shadow:[{shadow:["","inner","none",Vl,e0]}],"shadow-color":[{shadow:[su]}],opacity:[{opacity:[F]}],"mix-blend":[{"mix-blend":[...R(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":R()}],filter:[{filter:["","none"]}],blur:[{blur:[d]}],brightness:[{brightness:[s]}],contrast:[{contrast:[_]}],"drop-shadow":[{"drop-shadow":["","none",Vl,ut]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[B]}],invert:[{invert:[U]}],saturate:[{saturate:[P]}],sepia:[{sepia:[_t]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[d]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[_]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[B]}],"backdrop-invert":[{"backdrop-invert":[U]}],"backdrop-opacity":[{"backdrop-opacity":[F]}],"backdrop-saturate":[{"backdrop-saturate":[P]}],"backdrop-sepia":[{"backdrop-sepia":[_t]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[M]}],"border-spacing-x":[{"border-spacing-x":[M]}],"border-spacing-y":[{"border-spacing-y":[M]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ut]}],duration:[{duration:m()}],ease:[{ease:["linear","in","out","in-out",ut]}],delay:[{delay:m()}],animate:[{animate:["none","spin","ping","pulse","bounce",ut]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[mt]}],"scale-x":[{"scale-x":[mt]}],"scale-y":[{"scale-y":[mt]}],rotate:[{rotate:[fu,ut]}],"translate-x":[{"translate-x":[Yt]}],"translate-y":[{"translate-y":[Yt]}],"skew-x":[{"skew-x":[Dt]}],"skew-y":[{"skew-y":[Dt]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ut]}],accent:[{accent:["auto",c]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ut]}],"caret-color":[{caret:[c]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":tt()}],"scroll-mx":[{"scroll-mx":tt()}],"scroll-my":[{"scroll-my":tt()}],"scroll-ms":[{"scroll-ms":tt()}],"scroll-me":[{"scroll-me":tt()}],"scroll-mt":[{"scroll-mt":tt()}],"scroll-mr":[{"scroll-mr":tt()}],"scroll-mb":[{"scroll-mb":tt()}],"scroll-ml":[{"scroll-ml":tt()}],"scroll-p":[{"scroll-p":tt()}],"scroll-px":[{"scroll-px":tt()}],"scroll-py":[{"scroll-py":tt()}],"scroll-ps":[{"scroll-ps":tt()}],"scroll-pe":[{"scroll-pe":tt()}],"scroll-pt":[{"scroll-pt":tt()}],"scroll-pr":[{"scroll-pr":tt()}],"scroll-pb":[{"scroll-pb":tt()}],"scroll-pl":[{"scroll-pl":tt()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ut]}],fill:[{fill:[c,"none"]}],"stroke-w":[{stroke:[vl,Zl,es]}],stroke:[{stroke:[c,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},i0=wv(u0);function Zt(...c){return i0(Cv(c))}const ls={base:"inline-flex items-center justify-center gap-2 px-4 py-2 rounded-lg font-medium transition-all duration-200 active:scale-[0.98] disabled:opacity-50 disabled:cursor-not-allowed text-sm tracking-wide",variants:{primary:"bg-[var(--color-accent)] text-[var(--color-accent-fg)] hover:opacity-90 shadow-sm",secondary:"bg-[var(--text-primary)]/5 text-[var(--text-primary)] hover:bg-[var(--text-primary)]/10 border border-transparent",ghost:"text-[var(--text-secondary)] hover:text-[var(--text-primary)] hover:bg-[var(--text-primary)]/5",danger:"text-red-600 bg-red-50 dark:bg-red-900/20 hover:bg-red-100 dark:hover:bg-red-900/30"},sizes:{sm:"text-xs px-2.5 py-1.5",md:"text-sm px-4 py-2",lg:"text-base px-6 py-3"}},Et=lt.forwardRef(({variant:c="primary",size:y="md",className:d,children:s,as:z="button",...g},M)=>r.jsx(z,{ref:M,className:Zt(ls.base,ls.variants[c],ls.sizes[y],d),...g,children:s}));Et.displayName="Button";const c0="w-full px-3 py-2 rounded-lg border border-[var(--border-subtle)] bg-transparent text-[var(--text-primary)] placeholder:text-[var(--text-tertiary)] focus:outline-none focus:ring-1 focus:ring-[var(--border-focus)] focus:border-[var(--border-focus)] transition-all",Oi=lt.forwardRef(({className:c,...y},d)=>r.jsx("input",{ref:d,className:Zt(c0,c),...y}));Oi.displayName="Input";const ru={overlay:"fixed inset-0 bg-black/40 backdrop-blur-sm z-50 flex items-center justify-center p-4 animate-in fade-in duration-200",content:"bg-[var(--bg-card)] rounded-xl shadow-2xl max-w-lg w-full max-h-[90vh] overflow-hidden flex flex-col border border-[var(--border-subtle)] animate-in slide-in-from-bottom-4 duration-300",header:"px-6 py-4 border-b border-[var(--border-subtle)] flex items-center justify-between",body:"px-6 py-6 overflow-y-auto flex-1",footer:"px-6 py-4 border-t border-[var(--border-subtle)] flex gap-3 justify-end bg-[var(--bg-page)]/50"};function ou({isOpen:c,onClose:y,title:d,children:s,footer:z}){return lt.useEffect(()=>(c?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[c]),c?r.jsx("div",{className:ru.overlay,onClick:y,children:r.jsxs("div",{className:ru.content,onClick:g=>g.stopPropagation(),children:[r.jsxs("div",{className:ru.header,children:[r.jsx("h2",{className:"text-xl font-medium text-[var(--text-primary)]",children:d}),r.jsx(Et,{variant:"ghost",size:"sm",onClick:y,children:r.jsx(ss,{size:18})})]}),r.jsx("div",{className:ru.body,children:s}),z&&r.jsx("div",{className:ru.footer,children:z})]})}):null}function f0({id:c,type:y,title:d,message:s,duration:z=3e3,onClose:g}){lt.useEffect(()=>{const _=setTimeout(()=>g(c),z);return()=>clearTimeout(_)},[c,z,g]);const M={success:r.jsx(ns,{className:"text-green-600",size:16}),error:r.jsx(Om,{className:"text-red-600",size:16}),info:r.jsx(gv,{className:"text-blue-600",size:16})},N={success:"border-green-200 dark:border-green-900",error:"border-red-200 dark:border-red-900",info:"border-blue-200 dark:border-blue-900"};return r.jsxs("div",{className:Zt("pointer-events-auto bg-[var(--bg-card)] rounded-lg shadow-lg border p-4 min-w-[300px] flex items-start gap-3 mb-3 animate-up transition-all",N[y]),children:[r.jsx("div",{className:"flex-shrink-0 mt-0.5",children:M[y]}),r.jsxs("div",{className:"flex-1",children:[r.jsx("div",{className:"text-sm font-medium text-[var(--text-primary)]",children:d}),s&&r.jsx("div",{className:"text-xs text-[var(--text-secondary)] mt-1",children:s})]}),r.jsx("button",{className:"text-[var(--text-tertiary)] hover:text-[var(--text-primary)]",onClick:()=>g(c),children:r.jsx(ss,{size:14})})]})}function s0({toasts:c,onClose:y}){return r.jsx("div",{className:"fixed bottom-6 right-6 z-50 flex flex-col items-end pointer-events-none",children:c.map(d=>r.jsx(f0,{...d,onClose:y},d.id))})}const r0="group bg-[var(--bg-card)] rounded-xl border border-[var(--border-subtle)] transition-all duration-300 hover:shadow-lg hover:border-[var(--text-secondary)]/20 hover:-translate-y-0.5 overflow-hidden";function zm({children:c,className:y,onClick:d}){return r.jsx("div",{className:Zt(r0,d&&"cursor-pointer",y),onClick:d,children:c})}function Tm({category:c}){return r.jsxs("span",{className:"inline-flex items-center gap-1.5 px-2.5 py-1 rounded-md text-xs font-medium border",style:{backgroundColor:"transparent",borderColor:"var(--border-subtle)",color:"var(--text-secondary)"},children:[r.jsx("span",{className:"text-xs opacity-70",children:c.icon}),r.jsx("span",{children:c.name})]})}const Em=c=>{let y;const d=new Set,s=(b,B)=>{const U=typeof b=="function"?b(y):b;if(!Object.is(U,y)){const V=y;y=B??(typeof U!="object"||U===null)?U:Object.assign({},y,U),d.forEach(at=>at(y,V))}},z=()=>y,N={setState:s,getState:z,getInitialState:()=>_,subscribe:b=>(d.add(b),()=>d.delete(b))},_=y=c(s,z,N);return N},o0=(c=>c?Em(c):Em),d0=c=>c;function m0(c,y=d0){const d=du.useSyncExternalStore(c.subscribe,du.useCallback(()=>y(c.getState()),[c,y]),du.useCallback(()=>y(c.getInitialState()),[c,y]));return du.useDebugValue(d),d}const Am=c=>{const y=o0(c),d=s=>m0(y,s);return Object.assign(d,y),d},os=(c=>c?Am(c):Am),fe={get(c,y){try{const d=localStorage.getItem(c);return d?JSON.parse(d):y}catch{return y}},set(c,y){try{localStorage.setItem(c,JSON.stringify(y))}catch(d){console.error("Storage error:",d)}},remove(c){try{localStorage.removeItem(c)}catch(y){console.error("Storage error:",y)}}};function cs(){return`${Date.now()}-${Math.random().toString(36).substr(2,9)}`}const cn="quotes-categories",h0=[{id:"1",name:"Philosophy",color:"#18181b",icon:"✦",createdAt:Date.now()},{id:"2",name:"Inspiration",color:"#18181b",icon:"⚡",createdAt:Date.now()},{id:"3",name:"Literature",color:"#18181b",icon:"📖",createdAt:Date.now()},{id:"4",name:"Cinema",color:"#18181b",icon:"🎬",createdAt:Date.now()}],gl=os((c,y)=>({categories:fe.get(cn,h0),addCategory:(d,s,z,g)=>{const M={id:cs(),name:d,color:s,icon:z,parentId:g,createdAt:Date.now()};c(N=>{const _=[...N.categories,M];return fe.set(cn,_),{categories:_}})},addCategories:d=>{c(s=>{const z=[...s.categories,...d],g=Array.from(new Map(z.map(M=>[M.id,M])).values());return fe.set(cn,g),{categories:g}})},updateCategory:(d,s)=>{c(z=>{const g=z.categories.map(M=>M.id===d?{...M,...s}:M);return fe.set(cn,g),{categories:g}})},deleteCategory:d=>{c(s=>{const z=s.categories.filter(g=>g.id!==d).map(g=>g.parentId===d?{...g,parentId:void 0}:g);return fe.set(cn,z),{categories:z}})},resetCategories:()=>{c(()=>(fe.set(cn,[]),{categories:[]}))},getCategoryById:d=>y().categories.find(s=>s.id===d)}));function ds(){const c=gl(N=>N.categories),y=gl(N=>N.addCategory),d=gl(N=>N.addCategories),s=gl(N=>N.updateCategory),z=gl(N=>N.deleteCategory),g=gl(N=>N.resetCategories),M=gl(N=>N.getCategoryById);return{categories:c,addCategory:y,addCategories:d,updateCategory:s,deleteCategory:z,resetCategories:g,getCategoryById:M}}const bt=os((c,y)=>({viewMode:"grid",setViewMode:d=>c({viewMode:d}),selectedCategoryId:null,setSelectedCategoryId:d=>c({selectedCategoryId:d}),searchQuery:"",setSearchQuery:d=>c({searchQuery:d}),showFavoritesOnly:!1,toggleFavoritesOnly:()=>c(d=>({showFavoritesOnly:!d.showFavoritesOnly})),currentPage:1,setCurrentPage:d=>c({currentPage:d}),isSelectionMode:!1,toggleSelectionMode:()=>c(d=>({isSelectionMode:!d.isSelectionMode,selectedIds:[]})),selectedIds:[],toggleQuoteSelection:d=>c(s=>({selectedIds:s.selectedIds.includes(d)?s.selectedIds.filter(g=>g!==d):[...s.selectedIds,d]})),selectAll:d=>c({selectedIds:d}),clearSelection:()=>c({selectedIds:[]}),theme:fe.get("theme","light"),setTheme:d=>{fe.set("theme",d),c({theme:d})},toggleTheme:()=>{const d=y().theme==="light"?"dark":"light";y().setTheme(d)},toasts:[],addToast:d=>{const s=`toast-${Date.now()}`;c(z=>({toasts:[...z.toasts,{...d,id:s}]}))},removeToast:d=>c(s=>({toasts:s.toasts.filter(z=>z.id!==d)}))}));async function y0(c){try{return await navigator.clipboard.writeText(c),!0}catch(y){return console.error("Failed to copy:",y),!1}}function v0(c,y){if(!y.trim())return c;const d=y.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),s=new RegExp(`(${d})`,"gi");return c.replace(s,'<mark class="highlight">$1</mark>')}function Ci(c,y){return{__html:v0(c,y)}}function g0({quote:c,viewMode:y,isSelectionMode:d,isSelected:s,onToggleSelection:z,onToggleFavorite:g,onDelete:M,onEdit:N}){const{getCategoryById:_}=ds(),b=_(c.categoryId),B=bt(K=>K.addToast),U=bt(K=>K.searchQuery),V=async K=>{K.stopPropagation();const X=`"${c.content}"
205
+
206
+ —— ${c.author}`,L=await y0(X);B({type:L?"success":"error",title:L?"已复制":"复制失败"})},at=()=>{d&&z(c.id)};return y==="list"?r.jsxs(zm,{onClick:at,className:Zt("flex items-center gap-4 p-4 animate-up group relative transition-all",s&&"ring-2 ring-[var(--color-accent)] bg-[var(--text-primary)]/5"),children:[d&&r.jsx("div",{className:Zt("w-5 h-5 rounded border flex items-center justify-center transition-colors flex-shrink-0",s?"bg-[var(--color-accent)] border-[var(--color-accent)] text-[var(--color-accent-fg)]":"border-[var(--text-tertiary)] bg-[var(--bg-card)]"),children:s&&r.jsx(ns,{size:12,strokeWidth:3})}),r.jsxs("div",{className:"flex-1 min-w-0",children:[r.jsx("p",{className:"text-base font-display text-[var(--text-primary)] truncate",dangerouslySetInnerHTML:Ci(c.content,U)}),r.jsxs("div",{className:"flex items-center gap-2 mt-1",children:[r.jsx("span",{className:"text-xs text-[var(--text-secondary)] uppercase tracking-wider",dangerouslySetInnerHTML:Ci(c.author,U)}),r.jsx("span",{className:"text-[var(--border-subtle)]",children:"|"}),b&&r.jsx(Tm,{category:b})]})]}),!d&&r.jsxs("div",{className:"flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[r.jsx(Et,{variant:"ghost",size:"sm",onClick:V,children:r.jsx(vm,{size:14})}),r.jsx("button",{onClick:K=>{K.stopPropagation(),g(c.id)},className:Zt("p-2 rounded hover:bg-red-50 dark:hover:bg-red-900/20",c.isFavorite?"text-red-500":"text-[var(--text-tertiary)] hover:text-red-500"),children:r.jsx(us,{size:14,fill:c.isFavorite?"currentColor":"none"})}),r.jsx(Et,{variant:"ghost",size:"sm",onClick:K=>{K.stopPropagation(),N(c)},children:r.jsx(bm,{size:14})}),r.jsx(Et,{variant:"ghost",size:"sm",onClick:K=>{K.stopPropagation(),M(c.id)},children:r.jsx(Ni,{size:14})})]})]}):r.jsxs(zm,{onClick:at,className:Zt("flex flex-col h-full animate-up group relative transition-all",s&&"ring-2 ring-[var(--color-accent)] bg-[var(--text-primary)]/5"),children:[d&&r.jsx("div",{className:"absolute top-3 left-3 z-10",children:r.jsx("div",{className:Zt("w-6 h-6 rounded border flex items-center justify-center transition-colors shadow-sm",s?"bg-[var(--color-accent)] border-[var(--color-accent)] text-[var(--color-accent-fg)]":"border-[var(--border-subtle)] bg-[var(--bg-card)]"),children:s&&r.jsx(ns,{size:14,strokeWidth:3})})}),r.jsxs("div",{className:"p-8 flex-1 flex flex-col items-center text-center justify-center relative",children:[r.jsx("div",{className:"text-5xl text-[var(--text-tertiary)] opacity-20 font-serif leading-none mb-4",children:"“"}),r.jsx("p",{className:"text-xl md:text-2xl leading-relaxed font-display text-[var(--text-primary)] mb-6 tracking-wide",dangerouslySetInnerHTML:Ci(c.content,U)}),r.jsx("div",{className:"w-8 h-[1px] bg-[var(--border-subtle)] mb-5"}),r.jsx("p",{className:"text-xs font-bold tracking-[0.2em] uppercase text-[var(--text-secondary)]",dangerouslySetInnerHTML:Ci(c.author,U)})]}),r.jsxs("div",{className:"px-6 py-4 border-t border-[var(--border-subtle)] bg-[var(--bg-page)]/30 flex items-center justify-between mt-auto",children:[r.jsx("div",{children:b&&r.jsx(Tm,{category:b})}),!d&&r.jsxs("div",{className:"flex gap-1 opacity-0 group-hover:opacity-100 transition-all duration-300 translate-y-2 group-hover:translate-y-0",children:[r.jsx(Et,{variant:"ghost",size:"sm",onClick:V,children:r.jsx(vm,{size:16})}),r.jsx("button",{onClick:K=>{K.stopPropagation(),g(c.id)},className:Zt("p-2 rounded transition-colors",c.isFavorite?"text-red-500":"text-[var(--text-tertiary)] hover:text-red-500"),children:r.jsx(us,{size:16,fill:c.isFavorite?"currentColor":"none"})}),r.jsx(Et,{variant:"ghost",size:"sm",onClick:K=>{K.stopPropagation(),N(c)},children:r.jsx(bm,{size:16})}),r.jsx(Et,{variant:"ghost",size:"sm",onClick:K=>{K.stopPropagation(),M(c.id)},children:r.jsx(Ni,{size:16})})]})]})]})}function b0({quotes:c,onToggleFavorite:y,onDelete:d,onEdit:s}){const z=bt(b=>b.viewMode),g=bt(b=>b.isSelectionMode),M=bt(b=>b.selectedIds),N=bt(b=>b.toggleQuoteSelection);if(c.length===0)return r.jsxs("div",{className:"flex flex-col items-center justify-center py-32 opacity-50",children:[r.jsx("div",{className:"text-6xl mb-4 text-[var(--text-tertiary)]",children:"❖"}),r.jsx("p",{className:"text-xl font-display text-[var(--text-secondary)]",children:"暂无语录"}),r.jsx("p",{className:"text-sm text-[var(--text-tertiary)] mt-2",children:"点击右上角添加您的第一条珍藏"})]});const _=z==="grid"?"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6":"flex flex-col gap-3 w-full";return r.jsx("div",{className:_,children:c.map(b=>r.jsx(g0,{quote:b,viewMode:z,isSelectionMode:g,isSelected:M.includes(b.id),onToggleSelection:N,onToggleFavorite:y,onDelete:d,onEdit:s},b.id))})}const p0="w-full px-3 py-2 rounded-lg border border-[var(--border-subtle)] bg-transparent text-[var(--text-primary)] placeholder:text-[var(--text-tertiary)] focus:outline-none focus:ring-1 focus:ring-[var(--border-focus)] focus:border-[var(--border-focus)] transition-all resize-none",qm=lt.forwardRef(({className:c,...y},d)=>r.jsx("textarea",{ref:d,className:Zt(p0,c),...y}));qm.displayName="Textarea";function x0({quote:c,defaultCategoryId:y,onSubmit:d,onCancel:s}){var X;const{categories:z}=ds(),[g,M]=lt.useState("single"),[N,_]=lt.useState((c==null?void 0:c.content)||""),[b,B]=lt.useState((c==null?void 0:c.author)||"bill"),[U,V]=lt.useState((c==null?void 0:c.categoryId)||y||((X=z[0])==null?void 0:X.id)||"");lt.useEffect(()=>{c&&(_(c.content),B(c.author),V(c.categoryId))},[c]);const at=lt.useMemo(()=>{const L=z.filter(Y=>!Y.parentId),F=[];return L.forEach(Y=>{F.push({id:Y.id,label:Y.name,icon:Y.icon}),z.filter(mt=>mt.parentId===Y.id).forEach(mt=>{F.push({id:mt.id,label:`${Y.name} / ${mt.name}`,icon:mt.icon})})}),F},[z]),K=L=>{if(L.preventDefault(),!(!N.trim()||!b.trim()||!U))if(g==="single")d({content:N.trim(),author:b.trim(),categoryId:U});else{const Y=N.split(/\n\s*\n|\n\s*-{3,}\s*\n/).map(P=>P.trim()).filter(P=>P.length>0).map(P=>({content:P,author:b.trim(),categoryId:U}));Y.length>0&&d(Y)}};return r.jsxs("form",{onSubmit:K,className:"space-y-5",children:[!c&&r.jsxs("div",{className:"flex bg-[var(--border-subtle)]/30 p-1 rounded-lg w-fit",children:[r.jsxs("button",{type:"button",onClick:()=>M("single"),className:Zt("flex items-center gap-2 px-3 py-1.5 rounded-md text-sm font-medium transition-all",g==="single"?"bg-[var(--bg-card)] shadow-sm text-[var(--text-primary)]":"text-[var(--text-secondary)] hover:text-[var(--text-primary)]"),children:[r.jsx(vv,{size:14})," 单条录入"]}),r.jsxs("button",{type:"button",onClick:()=>M("batch"),className:Zt("flex items-center gap-2 px-3 py-1.5 rounded-md text-sm font-medium transition-all",g==="batch"?"bg-[var(--bg-card)] shadow-sm text-[var(--text-primary)]":"text-[var(--text-secondary)] hover:text-[var(--text-primary)]"),children:[r.jsx(bv,{size:14})," 批量录入"]})]}),r.jsxs("div",{children:[r.jsx("label",{className:"block text-sm font-medium mb-2 text-[var(--text-secondary)]",children:g==="single"?"语录内容":"批量语录内容"}),r.jsx(qm,{value:N,onChange:L=>_(L.target.value),placeholder:g==="single"?"输入语录内容...":`输入多条语录...
207
+
208
+ 可以使用 空白行 或者 ----- 进行拆分`,rows:g==="single"?5:10,required:!0,className:"font-display text-lg",autoFocus:!c})]}),r.jsxs("div",{children:[r.jsx("label",{className:"block text-sm font-medium mb-2 text-[var(--text-secondary)]",children:g==="single"?"作者 / 来源":"默认作者 / 来源"}),r.jsx(Oi,{value:b,onChange:L=>B(L.target.value),placeholder:"输入作者或来源...",required:!0})]}),r.jsxs("div",{children:[r.jsx("label",{className:"block text-sm font-medium mb-2 text-[var(--text-secondary)]",children:"分类"}),r.jsx("select",{value:U,onChange:L=>V(L.target.value),className:"w-full px-3 py-2 rounded-lg border border-[var(--border-subtle)] bg-transparent text-[var(--text-primary)] focus:outline-none focus:ring-1 focus:ring-[var(--border-focus)] transition-all",required:!0,children:at.map(L=>r.jsxs("option",{value:L.id,children:[L.icon," ",L.label]},L.id))})]}),r.jsxs("div",{className:"flex gap-3 justify-end pt-4",children:[r.jsx(Et,{type:"button",variant:"ghost",onClick:s,children:"取消"}),r.jsx(Et,{type:"submit",children:c?"保存修改":g==="single"?"添加":"批量添加"})]})]})}function S0({categories:c,onEdit:y,onDelete:d,onAddSub:s}){const z=lt.useMemo(()=>{const g=c.filter(b=>!b.parentId),M=new Map;c.forEach(b=>{if(b.parentId){const B=M.get(b.parentId)||[];B.push(b),M.set(b.parentId,B)}});const N=[];g.forEach(b=>{N.push({category:b,level:0}),(M.get(b.id)||[]).forEach(U=>{N.push({category:U,level:1})})});const _=new Set(N.map(b=>b.category.id));return c.forEach(b=>{_.has(b.id)||N.push({category:b,level:0})}),N},[c]);return r.jsxs("div",{className:"space-y-2 max-h-[60vh] overflow-y-auto pr-1",children:[z.map(({category:g,level:M})=>r.jsxs("div",{className:"flex items-center justify-between p-3 rounded-lg border border-[var(--border-subtle)] hover:bg-[var(--bg-page)] transition-colors group",style:{marginLeft:M*24+"px"},children:[r.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[M>0&&r.jsx(_m,{size:14,className:"text-[var(--text-tertiary)] shrink-0"}),r.jsx("div",{className:"w-8 h-8 rounded flex items-center justify-center bg-[var(--text-primary)]/5 text-sm shrink-0",children:g.icon}),r.jsx("span",{className:"font-medium text-[var(--text-primary)] truncate",children:g.name})]}),r.jsxs("div",{className:"flex gap-1 shrink-0 opacity-100 sm:opacity-0 sm:group-hover:opacity-100 transition-opacity",children:[M===0&&r.jsx(Et,{variant:"ghost",size:"sm",onClick:()=>s(g.id),title:"添加二级分类",className:"text-[var(--color-accent)] hover:bg-[var(--text-primary)]/5",children:r.jsx(hv,{size:14})}),r.jsx(Et,{variant:"ghost",size:"sm",onClick:()=>y(g),children:r.jsx(zv,{size:14})}),r.jsx(Et,{variant:"ghost",size:"sm",onClick:()=>d(g.id),children:r.jsx(Ni,{size:14})})]})]},g.id)),c.length===0&&r.jsx("div",{className:"text-center py-10 text-[var(--text-tertiary)]",children:"暂无分类"})]})}const Mm=["✦","⚡","📖","🎬","💡","🔥","⭐","❤️","🎓","🏔️","🎵","✈️"];function z0({category:c,defaultParentId:y,onSubmit:d,onCancel:s}){const z=gl(X=>X.categories),[g,M]=lt.useState((c==null?void 0:c.name)||""),[N,_]=lt.useState((c==null?void 0:c.icon)||Mm[0]||""),[b,B]=lt.useState(null),U=c?c.parentId:y,V="#18181b";lt.useEffect(()=>{c&&(M(c.name),_(c.icon))},[c]);const at=lt.useMemo(()=>U?z.find(X=>X.id===U):null,[U,z]),K=X=>{X.preventDefault();const L=g.trim();if(!L){B("分类名称不能为空");return}if(z.some(Y=>c&&Y.id===c.id?!1:(Y.parentId||void 0)===(U||void 0)&&Y.name===L)){B("该分类名称已存在,请使用其他名称");return}d(L,V,N,U||void 0)};return r.jsxs("form",{onSubmit:K,className:"space-y-6",children:[r.jsxs("div",{children:[r.jsx("label",{className:"block text-sm font-medium mb-2 text-[var(--text-secondary)]",children:"名称"}),r.jsx(Oi,{value:g,onChange:X=>{M(X.target.value),b&&B(null)},placeholder:"分类名称...",required:!0,autoFocus:!0,className:b?"border-red-500 focus:ring-red-500":""}),b&&r.jsxs("div",{className:"flex items-center gap-1.5 mt-2 text-red-500 text-sm animate-in slide-in-from-top-1",children:[r.jsx(Om,{size:14}),r.jsx("span",{children:b})]})]}),at&&r.jsxs("div",{className:"p-3 bg-[var(--text-primary)]/5 rounded-lg border border-[var(--border-subtle)] flex items-center gap-2 text-sm text-[var(--text-secondary)]",children:[r.jsx("span",{className:"text-xs font-bold uppercase tracking-wider opacity-50",children:"所属父级"}),r.jsx("div",{className:"w-4 h-4 rounded flex items-center justify-center bg-[var(--text-primary)]/10 text-[10px]",children:at.icon}),r.jsx("span",{className:"font-medium text-[var(--text-primary)]",children:at.name})]}),r.jsxs("div",{children:[r.jsx("label",{className:"block text-sm font-medium mb-2 text-[var(--text-secondary)]",children:"图标"}),r.jsx("div",{className:"grid grid-cols-6 sm:grid-cols-8 gap-2",children:Mm.map(X=>r.jsx("button",{type:"button",className:`h-10 rounded-lg flex items-center justify-center transition-all ${N===X?"bg-[var(--text-primary)] text-[var(--bg-page)]":"bg-[var(--text-primary)]/5 hover:bg-[var(--text-primary)]/10"}`,onClick:()=>_(X),children:X},X))})]}),r.jsxs("div",{className:"flex gap-3 justify-end pt-2",children:[r.jsx(Et,{type:"button",variant:"ghost",onClick:s,children:"取消"}),r.jsx(Et,{type:"submit",children:c?"保存修改":at?"添加子分类":"创建分类"})]})]})}const Kl="quotes-data",T0=[{id:"1",content:"Simplicity is the ultimate sophistication.",author:"Leonardo da Vinci",categoryId:"1",isFavorite:!0,createdAt:Date.now(),updatedAt:Date.now()},{id:"2",content:"Design is not just what it looks like and feels like. Design is how it works.",author:"Steve Jobs",categoryId:"2",isFavorite:!1,createdAt:Date.now(),updatedAt:Date.now()}],jm=os((c,y)=>({quotes:fe.get(Kl,T0),addQuote:(d,s,z)=>{const g={id:cs(),content:d,author:s,categoryId:z,isFavorite:!1,createdAt:Date.now(),updatedAt:Date.now()};c(M=>{const N=[g,...M.quotes];return fe.set(Kl,N),{quotes:N}})},addQuotes:d=>{c(s=>{const g=[...d.map(M=>"id"in M&&"createdAt"in M?M:{id:cs(),content:M.content,author:M.author,categoryId:M.categoryId,isFavorite:!1,createdAt:Date.now(),updatedAt:Date.now()}),...s.quotes];return fe.set(Kl,g),{quotes:g}})},updateQuote:(d,s)=>{c(z=>{const g=z.quotes.map(M=>M.id===d?{...M,...s,updatedAt:Date.now()}:M);return fe.set(Kl,g),{quotes:g}})},deleteQuote:d=>{c(s=>{const z=s.quotes.filter(g=>g.id!==d);return fe.set(Kl,z),{quotes:z}})},deleteQuotes:d=>{c(s=>{const z=s.quotes.filter(g=>!d.includes(g.id));return fe.set(Kl,z),{quotes:z}})},resetQuotes:()=>{c(()=>(fe.set(Kl,[]),{quotes:[]}))},toggleFavorite:d=>{c(s=>{const z=s.quotes.map(g=>g.id===d?{...g,isFavorite:!g.isFavorite,updatedAt:Date.now()}:g);return fe.set(Kl,z),{quotes:z}})},getQuoteById:d=>y().quotes.find(s=>s.id===d)})),as=30;function E0(){const c=jm(Y=>Y.quotes),y=gl(Y=>Y.categories),{addQuote:d,addQuotes:s,updateQuote:z,deleteQuote:g,deleteQuotes:M,resetQuotes:N,toggleFavorite:_,getQuoteById:b}=jm(),B=bt(Y=>Y.selectedCategoryId),U=bt(Y=>Y.searchQuery),V=bt(Y=>Y.showFavoritesOnly),at=bt(Y=>Y.currentPage),K=lt.useMemo(()=>c.filter(Y=>{if(V&&!Y.isFavorite)return!1;if(B){let P=Y.categoryId===B;if(!P){const mt=y.find(_t=>_t.id===Y.categoryId);mt&&mt.parentId===B&&(P=!0)}if(!P)return!1}if(U){const P=U.toLowerCase();return Y.content.toLowerCase().includes(P)||Y.author.toLowerCase().includes(P)}return!0}),[c,y,B,U,V]),X=K.length,L=Math.ceil(X/as)||1;return{quotes:lt.useMemo(()=>{const Y=(at-1)*as,P=Y+as;return K.slice(Y,P)},[K,at]),allQuotes:c,totalCount:X,totalPages:L,currentPage:at,addQuote:d,addQuotes:s,updateQuote:z,deleteQuote:g,deleteQuotes:M,resetQuotes:N,toggleFavorite:_,getQuoteById:b}}function A0(){const c=bt(s=>s.theme),y=bt(s=>s.setTheme),d=bt(s=>s.toggleTheme);return lt.useEffect(()=>{const s=document.documentElement;c==="dark"?s.classList.add("dark"):s.classList.remove("dark")},[c]),{theme:c,setTheme:y,toggleTheme:d}}function M0(c,y){const d=JSON.stringify(c,null,2),s=new Blob([d],{type:"application/json"}),z=URL.createObjectURL(s),g=document.createElement("a");g.href=z,g.download=y,document.body.appendChild(g),g.click(),document.body.removeChild(g),URL.revokeObjectURL(z)}async function j0(c){return new Promise((y,d)=>{const s=new FileReader;s.onload=z=>{var g;try{const M=JSON.parse((g=z.target)==null?void 0:g.result);if(!M.version||!Array.isArray(M.quotes)){d(new Error("Invalid file format"));return}y(M)}catch{d(new Error("Invalid JSON file"))}},s.onerror=()=>d(new Error("Failed to read file")),s.readAsText(c)})}function C0(){const[c,y]=lt.useState(!1),[d,s]=lt.useState(!1),[z,g]=lt.useState(!1),[M,N]=lt.useState(!1),[_,b]=lt.useState("select"),[B,U]=lt.useState(!1),[V,at]=lt.useState({total:0,success:0,skipped:0,failed:0}),K=lt.useRef(null),[X,L]=lt.useState(null),[F,Y]=lt.useState(null),[P,mt]=lt.useState(void 0),[_t,Dt]=lt.useState(null),{quotes:I,allQuotes:Yt,totalCount:ee,totalPages:de,addQuote:le,addQuotes:tt,updateQuote:je,deleteQuote:ae,deleteQuotes:ne,resetQuotes:E,toggleFavorite:R}=E0(),{categories:G,addCategory:ft,addCategories:ht,updateCategory:m,deleteCategory:O,resetCategories:H}=ds(),Q=bt(D=>D.searchQuery),W=bt(D=>D.setSearchQuery),k=bt(D=>D.selectedCategoryId),ot=bt(D=>D.setSelectedCategoryId),Vt=bt(D=>D.showFavoritesOnly),Ut=bt(D=>D.toggleFavoritesOnly),Jl=bt(D=>D.toasts),ya=bt(D=>D.removeToast),Ye=bt(D=>D.addToast),rn=bt(D=>D.viewMode),Ze=bt(D=>D.setViewMode),$e=bt(D=>D.currentPage),bl=bt(D=>D.setCurrentPage),on=bt(D=>D.isSelectionMode),va=bt(D=>D.toggleSelectionMode),Ge=bt(D=>D.selectedIds),dn=bt(D=>D.clearSelection),mn=bt(D=>D.selectAll),{theme:_i,toggleTheme:Di}=A0();lt.useEffect(()=>{bl(1)},[k,Q,Vt,bl]);const Bt=lt.useMemo(()=>{if(!k)return null;const D=G.find(re=>re.id===k);return D?D.parentId||D.id:null},[k,G]),Ui=lt.useMemo(()=>G.filter(D=>!D.parentId),[G]),hn=lt.useMemo(()=>Bt?G.filter(D=>D.parentId===Bt):[],[Bt,G]),mu=D=>{Array.isArray(D)?(tt(D),Ye({type:"success",title:`已批量添加 ${D.length} 条语录`})):(le(D.content,D.author,D.categoryId),Ye({type:"success",title:"已添加"})),y(!1)},ga=D=>{X&&!Array.isArray(D)&&(je(X.id,{content:D.content,author:D.author,categoryId:D.categoryId}),L(null),y(!1),Ye({type:"success",title:"已更新"}))},Ri=D=>{L(D),y(!0)},yn=()=>{y(!1),L(null)},Hi=(D,re,Ce,Jt)=>{ft(D,re,Ce,Jt),g(!1),mt(void 0),s(!0)},Bi=(D,re,Ce,Jt)=>{F&&(m(F.id,{name:D,color:re,icon:Ce,parentId:Jt}),Y(null),g(!1),s(!0))},kl=D=>{s(!1),mt(D),Y(null),g(!0)},se=D=>{s(!1),Y(D),g(!0)},Ve=()=>{s(!1),Y(null),mt(void 0),g(!0)},ue=()=>{g(!1),Y(null),mt(void 0),s(!0)},Qi=()=>{const D={version:"3.1.0",exportDate:Date.now(),quotes:Yt,categories:G};M0(D,`archive-${new Date().toISOString().split("T")[0]}.json`),Ye({type:"success",title:"导出成功"})},qi=async D=>{var Ce;const re=(Ce=D.target.files)==null?void 0:Ce[0];if(re){b("processing");try{const Jt=await j0(re);if(!Jt.quotes||!Array.isArray(Jt.quotes))throw new Error("Invalid format");let Wl=0,pl=0,yu=0;const $l=[],Fl=[];if(B)E(),H(),$l.push(...Jt.quotes),Jt.categories&&Fl.push(...Jt.categories),Wl=Jt.quotes.length;else{const vn=new Set(Yt.map(ie=>ie.content.trim())),Sa=new Set(G.map(ie=>ie.id));Jt.categories&&Jt.categories.forEach(ie=>{Sa.has(ie.id)||(Fl.push(ie),Sa.add(ie.id))}),Jt.quotes.forEach(ie=>{if(!ie.content){yu++;return}vn.has(ie.content.trim())?pl++:($l.push(ie),vn.add(ie.content.trim()),Wl++)})}Fl.length>0&&ht(Fl),$l.length>0&&tt($l),at({total:Jt.quotes.length,success:Wl,skipped:pl,failed:yu}),b("result")}catch{Ye({type:"error",title:"文件解析失败",message:"请检查 JSON 格式"}),b("select")}D.target.value=""}},hu=()=>{N(!1),b("select"),U(!1)},ba=()=>{Dt("batch")},pa=D=>{Dt(D)},xa=()=>{_t==="batch"?(ne(Ge),va(),Ye({type:"success",title:`已删除 ${Ge.length} 条语录`})):typeof _t=="string"&&(ae(_t),Ye({type:"success",title:"语录已删除"})),Dt(null)},Fe=()=>{const D=I.map(Ce=>Ce.id);D.every(Ce=>Ge.includes(Ce))?dn():mn(D)};return r.jsxs("div",{className:"min-h-screen pb-20 bg-[var(--bg-page)] text-[var(--text-primary)]",children:[r.jsx("header",{className:"sticky top-0 z-30 bg-[var(--bg-page)]/90 backdrop-blur-md border-b border-[var(--border-subtle)] transition-colors duration-300",children:r.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 h-16 flex items-center justify-between gap-4",children:[r.jsxs("div",{className:"flex items-center gap-3",children:[r.jsx("div",{className:"w-8 h-8 bg-[var(--text-primary)] text-[var(--bg-page)] rounded-md flex items-center justify-center font-serif font-bold text-lg",children:"Q"}),r.jsx("span",{className:"font-display font-semibold text-lg tracking-tight hidden sm:block",children:"Quotation."})]}),r.jsxs("div",{className:Zt("flex-1 max-w-lg relative transition-opacity",on&&"opacity-50 pointer-events-none md:opacity-100 md:pointer-events-auto"),children:[r.jsx(Tv,{className:"absolute left-3 top-1/2 -translate-y-1/2 text-[var(--text-tertiary)]",size:16}),r.jsx(Oi,{className:"pl-9 bg-[var(--text-primary)]/5 border-transparent focus:bg-[var(--bg-card)] rounded-full",placeholder:"搜索...",value:Q,onChange:D=>W(D.target.value)})]}),r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsxs("div",{className:"flex items-center bg-[var(--text-primary)]/5 rounded-lg p-1 mr-2",children:[r.jsx("button",{onClick:()=>Ze("grid"),className:Zt("p-1.5 rounded-md transition-all",rn==="grid"?"bg-[var(--bg-card)] shadow-sm text-[var(--text-primary)]":"text-[var(--text-tertiary)] hover:text-[var(--text-primary)]"),children:r.jsx(pv,{size:16})}),r.jsx("button",{onClick:()=>Ze("list"),className:Zt("p-1.5 rounded-md transition-all",rn==="list"?"bg-[var(--bg-card)] shadow-sm text-[var(--text-primary)]":"text-[var(--text-tertiary)] hover:text-[var(--text-primary)]"),children:r.jsx(xv,{size:16})})]}),r.jsx(Et,{variant:"ghost",size:"sm",onClick:Di,className:"rounded-full w-8 h-8 p-0",children:_i==="dark"?r.jsx(Av,{size:18}):r.jsx(Sv,{size:18})})]})]})}),r.jsxs("main",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:[on&&r.jsxs("div",{className:"fixed bottom-6 left-1/2 -translate-x-1/2 z-50 flex items-center gap-3 bg-[var(--text-primary)] text-[var(--bg-page)] px-6 py-3 rounded-full shadow-xl animate-in slide-in-from-bottom-10",children:[r.jsxs("span",{className:"font-mono text-sm mr-2",children:[Ge.length," 选中"]}),r.jsx("div",{className:"h-4 w-[1px] bg-white/20"}),r.jsx("button",{onClick:Fe,className:"hover:text-white/80 transition-colors text-sm font-medium",children:Ge.length===I.length&&I.length>0?"取消":"本页全选"}),r.jsxs("button",{onClick:ba,disabled:Ge.length===0,className:"flex items-center gap-1 text-red-300 hover:text-red-100 transition-colors disabled:opacity-50",children:[r.jsx(Ni,{size:16})," 删除"]}),r.jsx("div",{className:"h-4 w-[1px] bg-white/20"}),r.jsx("button",{onClick:va,className:"hover:text-white/80",children:r.jsx(ss,{size:18})})]}),r.jsx("div",{className:"flex flex-col gap-4 mb-8",children:r.jsxs("div",{className:"flex flex-col md:flex-row md:items-start justify-between gap-4",children:[r.jsxs("div",{className:"flex-1 min-w-0",children:[r.jsxs("div",{className:"flex flex-wrap gap-2 overflow-x-auto scrollbar-hide",children:[r.jsx("button",{onClick:()=>ot(null),className:Zt("shrink-0 px-4 py-1.5 rounded-full text-sm font-medium transition-all",k?"text-[var(--text-secondary)] hover:bg-[var(--text-primary)]/5":"bg-[var(--text-primary)] text-[var(--bg-page)]"),children:"全部"}),Ui.map(D=>r.jsxs("button",{onClick:()=>ot(D.id),className:Zt("shrink-0 px-4 py-1.5 rounded-full text-sm font-medium transition-all flex items-center gap-2",Bt===D.id?"bg-[var(--text-primary)] text-[var(--bg-page)]":"text-[var(--text-secondary)] hover:bg-[var(--text-primary)]/5"),children:[r.jsx("span",{className:"opacity-70",children:D.icon})," ",D.name]},D.id))]}),Bt&&hn.length>0&&r.jsxs("div",{className:"mt-3 flex items-center gap-2 overflow-x-auto scrollbar-hide animate-in slide-in-from-top-2 fade-in duration-300 pl-2",children:[r.jsx(_m,{size:14,className:"text-[var(--text-tertiary)] shrink-0"}),r.jsxs("div",{className:"flex flex-wrap gap-2",children:[r.jsx("button",{onClick:()=>ot(Bt),className:Zt("shrink-0 px-3 py-1 rounded-md text-xs font-medium transition-all border",k===Bt?"bg-[var(--text-primary)]/5 border-[var(--text-primary)]/20 text-[var(--text-primary)]":"border-transparent text-[var(--text-tertiary)] hover:text-[var(--text-primary)] hover:bg-[var(--text-primary)]/5"),children:"全部"}),hn.map(D=>r.jsxs("button",{onClick:()=>ot(D.id),className:Zt("shrink-0 px-3 py-1 rounded-md text-xs font-medium transition-all flex items-center gap-1.5 border",k===D.id?"bg-[var(--bg-card)] border-[var(--text-primary)]/20 text-[var(--text-primary)] shadow-sm":"border-transparent text-[var(--text-secondary)] hover:bg-[var(--text-primary)]/5"),children:[r.jsx("span",{className:"opacity-70 text-[10px]",children:D.icon})," ",D.name]},D.id))]})]})]}),r.jsxs("div",{className:"flex items-center gap-2 border-l border-[var(--border-subtle)] pl-4 ml-2 shrink-0 self-start mt-0.5",children:[r.jsx(Et,{variant:"ghost",size:"sm",onClick:va,className:on?"text-[var(--color-accent)] bg-[var(--text-primary)]/5":"",title:"批量管理",children:r.jsx(Ev,{size:16})}),r.jsx(Et,{variant:"ghost",size:"sm",onClick:Ut,className:Vt?"text-red-500 bg-red-50 dark:bg-red-900/10":"",children:r.jsx(us,{size:16,fill:Vt?"currentColor":"none"})}),r.jsx(Et,{variant:"ghost",size:"sm",onClick:()=>s(!0),children:r.jsx(Mv,{size:16})}),r.jsx(Et,{variant:"ghost",size:"sm",onClick:Qi,children:r.jsx(yv,{size:16})}),r.jsx(Et,{variant:"ghost",size:"sm",onClick:()=>N(!0),children:r.jsx(pm,{size:16})}),r.jsxs(Et,{variant:"primary",size:"sm",onClick:()=>y(!0),className:"rounded-full ml-2",children:[r.jsx(gm,{size:16,className:"mr-1"})," 添加"]})]})]})}),r.jsxs("div",{className:"mb-8 flex items-center gap-2 text-xs font-mono text-[var(--text-tertiary)] uppercase tracking-widest border-b border-[var(--border-subtle)] pb-2 w-fit",children:[r.jsx(ov,{size:12})," Total: ",ee]}),r.jsx(b0,{quotes:I,onToggleFavorite:R,onDelete:pa,onEdit:Ri}),de>1&&r.jsxs("div",{className:"mt-12 flex items-center justify-center gap-4",children:[r.jsx(Et,{variant:"secondary",disabled:$e===1,onClick:()=>bl($e-1),className:"w-10 h-10 p-0 rounded-full",children:r.jsx(dv,{size:20})}),r.jsxs("span",{className:"font-mono text-sm text-[var(--text-secondary)]",children:[$e," / ",de]}),r.jsx(Et,{variant:"secondary",disabled:$e===de,onClick:()=>bl($e+1),className:"w-10 h-10 p-0 rounded-full",children:r.jsx(mv,{size:20})})]})]}),r.jsx(ou,{isOpen:c,onClose:yn,title:X?"编辑语录":"新语录",children:r.jsx(x0,{quote:X||void 0,defaultCategoryId:k||void 0,onSubmit:X?ga:mu,onCancel:yn})}),r.jsx(ou,{isOpen:d,onClose:()=>s(!1),title:"分类管理",footer:r.jsxs(Et,{onClick:Ve,children:[r.jsx(gm,{size:16})," 新建根分类"]}),children:r.jsx(S0,{categories:G,onEdit:se,onDelete:O,onAddSub:kl})}),r.jsx(ou,{isOpen:z,onClose:ue,title:F?"编辑分类":P?"新建子分类":"新建分类",children:r.jsx(z0,{category:F||void 0,defaultParentId:P,onSubmit:F?Bi:Hi,onCancel:ue})}),r.jsxs(ou,{isOpen:M,onClose:hu,title:"导入数据",children:[_==="select"&&r.jsxs("div",{className:"flex flex-col gap-6 py-4",children:[r.jsx("div",{className:"p-4 bg-[var(--text-primary)]/5 rounded-lg border border-[var(--border-subtle)] flex items-start gap-3",children:r.jsxs("label",{className:"flex items-center gap-3 cursor-pointer w-full",children:[r.jsx("input",{type:"checkbox",checked:B,onChange:D=>U(D.target.checked),className:"w-5 h-5 rounded border-gray-300 text-[var(--color-accent)] focus:ring-[var(--color-accent)]"}),r.jsxs("div",{className:"flex-1",children:[r.jsx("span",{className:"block font-medium text-[var(--text-primary)]",children:"导入前清空现有数据"}),r.jsx("span",{className:"block text-sm text-[var(--text-tertiary)] mt-0.5",children:"若勾选,所有现有语录和分类将被永久删除。若不勾选,系统将跳过内容完全重复的语录。"})]})]})}),r.jsx("div",{className:"flex justify-center",children:r.jsxs("label",{className:"flex flex-col items-center justify-center w-full h-32 border-2 border-dashed border-[var(--border-subtle)] rounded-lg cursor-pointer hover:bg-[var(--text-primary)]/5 transition-colors",children:[r.jsxs("div",{className:"flex flex-col items-center justify-center pt-5 pb-6",children:[r.jsx(pm,{className:"w-8 h-8 mb-3 text-[var(--text-tertiary)]"}),r.jsxs("p",{className:"mb-2 text-sm text-[var(--text-secondary)]",children:[r.jsx("span",{className:"font-semibold",children:"点击上传"})," JSON 文件"]}),r.jsx("p",{className:"text-xs text-[var(--text-tertiary)]",children:"支持 .json 备份文件"})]}),r.jsx("input",{type:"file",accept:".json",className:"hidden",onChange:qi,ref:K})]})})]}),_==="processing"&&r.jsxs("div",{className:"py-12 flex flex-col items-center justify-center",children:[r.jsx("div",{className:"w-8 h-8 border-2 border-[var(--border-subtle)] border-t-[var(--text-primary)] rounded-full animate-spin mb-4"}),r.jsx("p",{className:"text-[var(--text-secondary)]",children:"正在处理数据..."})]}),_==="result"&&r.jsxs("div",{className:"py-4",children:[r.jsxs("div",{className:"grid grid-cols-2 gap-4 mb-6",children:[r.jsxs("div",{className:"p-4 bg-[var(--text-primary)]/5 rounded-lg text-center",children:[r.jsx("div",{className:"text-2xl font-bold text-[var(--text-primary)]",children:V.total}),r.jsx("div",{className:"text-xs text-[var(--text-tertiary)] uppercase tracking-wider mt-1",children:"JSON 总数"})]}),r.jsxs("div",{className:"p-4 bg-green-50 dark:bg-green-900/10 rounded-lg text-center",children:[r.jsx("div",{className:"text-2xl font-bold text-green-600",children:V.success}),r.jsx("div",{className:"text-xs text-green-600/70 uppercase tracking-wider mt-1",children:"成功添加"})]}),r.jsxs("div",{className:"p-4 bg-orange-50 dark:bg-orange-900/10 rounded-lg text-center",children:[r.jsx("div",{className:"text-2xl font-bold text-orange-600",children:V.skipped}),r.jsx("div",{className:"text-xs text-orange-600/70 uppercase tracking-wider mt-1",children:"重复跳过"})]}),r.jsxs("div",{className:"p-4 bg-red-50 dark:bg-red-900/10 rounded-lg text-center",children:[r.jsx("div",{className:"text-2xl font-bold text-red-600",children:V.failed}),r.jsx("div",{className:"text-xs text-red-600/70 uppercase tracking-wider mt-1",children:"失败"})]})]}),r.jsx("div",{className:"flex justify-end",children:r.jsx(Et,{onClick:hu,children:"完成"})})]})]}),r.jsx(ou,{isOpen:_t!==null,onClose:()=>Dt(null),title:"确认删除",footer:r.jsxs("div",{className:"flex gap-2",children:[r.jsx(Et,{variant:"ghost",onClick:()=>Dt(null),children:"取消"}),r.jsx(Et,{variant:"danger",onClick:xa,children:"确认删除"})]}),children:r.jsxs("div",{className:"flex flex-col items-center justify-center py-4 text-center",children:[r.jsx("div",{className:"w-12 h-12 rounded-full bg-red-100 dark:bg-red-900/20 text-red-600 flex items-center justify-center mb-4",children:r.jsx(jv,{size:24})}),r.jsx("p",{className:"text-lg font-medium mb-1 text-[var(--text-primary)]",children:_t==="batch"?`确定要删除选中的 ${Ge.length} 条语录吗?`:"确定要删除这条语录吗?"}),r.jsx("p",{className:"text-[var(--text-secondary)] text-sm",children:"此操作无法撤销。"})]})}),r.jsx(s0,{toasts:Jl,onClose:ya})]})}const Ym=document.getElementById("root");if(!Ym)throw new Error("Root element not found");cv.createRoot(Ym).render(r.jsx(du.StrictMode,{children:r.jsx(C0,{})}));