diff --git a/lightrag/api/webui/assets/index-CldiPPHk.js b/lightrag/api/webui/assets/index-B0dMyyzE.js similarity index 60% rename from lightrag/api/webui/assets/index-CldiPPHk.js rename to lightrag/api/webui/assets/index-B0dMyyzE.js index 8ad05364..9fce10cf 100644 --- a/lightrag/api/webui/assets/index-CldiPPHk.js +++ b/lightrag/api/webui/assets/index-B0dMyyzE.js @@ -6,7 +6,7 @@ var nq=Object.defineProperty;var rq=(e,t,n)=>t in e?nq(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var WC;function iq(){if(WC)return Zl;WC=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,o){var s=null;if(o!==void 0&&(s=""+o),a.key!==void 0&&(s=""+a.key),"key"in a){o={};for(var u in a)u!=="key"&&(o[u]=a[u])}else o=a;return a=o.ref,{$$typeof:e,type:r,key:s,ref:a!==void 0?a:null,props:o}}return Zl.Fragment=t,Zl.jsx=n,Zl.jsxs=n,Zl}var YC;function sq(){return YC||(YC=1,Vh.exports=iq()),Vh.exports}var E=sq(),Wh={exports:{}},it={};/** + */var WC;function iq(){if(WC)return Zl;WC=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,o){var s=null;if(o!==void 0&&(s=""+o),a.key!==void 0&&(s=""+a.key),"key"in a){o={};for(var u in a)u!=="key"&&(o[u]=a[u])}else o=a;return a=o.ref,{$$typeof:e,type:r,key:s,ref:a!==void 0?a:null,props:o}}return Zl.Fragment=t,Zl.jsx=n,Zl.jsxs=n,Zl}var YC;function sq(){return YC||(YC=1,Vh.exports=iq()),Vh.exports}var E=sq(),Wh={exports:{}},st={};/** * @license React * react.production.js * @@ -14,7 +14,7 @@ var nq=Object.defineProperty;var rq=(e,t,n)=>t in e?nq(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var KC;function lq(){if(KC)return it;KC=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),g=Symbol.iterator;function m(L){return L===null||typeof L!="object"?null:(L=g&&L[g]||L["@@iterator"],typeof L=="function"?L:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,v={};function x(L,V,B){this.props=L,this.context=V,this.refs=v,this.updater=B||b}x.prototype.isReactComponent={},x.prototype.setState=function(L,V){if(typeof L!="object"&&typeof L!="function"&&L!=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,L,V,"setState")},x.prototype.forceUpdate=function(L){this.updater.enqueueForceUpdate(this,L,"forceUpdate")};function A(){}A.prototype=x.prototype;function k(L,V,B){this.props=L,this.context=V,this.refs=v,this.updater=B||b}var C=k.prototype=new A;C.constructor=k,y(C,x.prototype),C.isPureReactComponent=!0;var O=Array.isArray,N={H:null,A:null,T:null,S:null},R=Object.prototype.hasOwnProperty;function _(L,V,B,P,K,ee){return B=ee.ref,{$$typeof:e,type:L,key:V,ref:B!==void 0?B:null,props:ee}}function M(L,V){return _(L.type,V,void 0,void 0,void 0,L.props)}function D(L){return typeof L=="object"&&L!==null&&L.$$typeof===e}function I(L){var V={"=":"=0",":":"=2"};return"$"+L.replace(/[=:]/g,function(B){return V[B]})}var H=/\/+/g;function $(L,V){return typeof L=="object"&&L!==null&&L.key!=null?I(""+L.key):V.toString(36)}function U(){}function W(L){switch(L.status){case"fulfilled":return L.value;case"rejected":throw L.reason;default:switch(typeof L.status=="string"?L.then(U,U):(L.status="pending",L.then(function(V){L.status==="pending"&&(L.status="fulfilled",L.value=V)},function(V){L.status==="pending"&&(L.status="rejected",L.reason=V)})),L.status){case"fulfilled":return L.value;case"rejected":throw L.reason}}throw L}function Z(L,V,B,P,K){var ee=typeof L;(ee==="undefined"||ee==="boolean")&&(L=null);var Q=!1;if(L===null)Q=!0;else switch(ee){case"bigint":case"string":case"number":Q=!0;break;case"object":switch(L.$$typeof){case e:case t:Q=!0;break;case p:return Q=L._init,Z(Q(L._payload),V,B,P,K)}}if(Q)return K=K(L),Q=P===""?"."+$(L,0):P,O(K)?(B="",Q!=null&&(B=Q.replace(H,"$&/")+"/"),Z(K,V,B,"",function(ke){return ke})):K!=null&&(D(K)&&(K=M(K,B+(K.key==null||L&&L.key===K.key?"":(""+K.key).replace(H,"$&/")+"/")+Q)),V.push(K)),1;Q=0;var J=P===""?".":P+":";if(O(L))for(var ae=0;aet in e?nq(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var ZC;function cq(){return ZC||(ZC=1,function(e){function t(G,j){var z=G.length;G.push(j);e:for(;0>>1,L=G[Y];if(0>>1;Ya(P,z))Ka(ee,P)?(G[Y]=ee,G[K]=z,Y=K):(G[Y]=P,G[B]=z,Y=B);else if(Ka(ee,z))G[Y]=ee,G[K]=z,Y=K;else break e}}return j}function a(G,j){var z=G.sortIndex-j.sortIndex;return z!==0?z:G.id-j.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,u=s.now();e.unstable_now=function(){return s.now()-u}}var c=[],d=[],p=1,g=null,m=3,b=!1,y=!1,v=!1,x=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function C(G){for(var j=n(d);j!==null;){if(j.callback===null)r(d);else if(j.startTime<=G)r(d),j.sortIndex=j.expirationTime,t(c,j);else break;j=n(d)}}function O(G){if(v=!1,C(G),!y)if(n(c)!==null)y=!0,W();else{var j=n(d);j!==null&&Z(O,j.startTime-G)}}var N=!1,R=-1,_=5,M=-1;function D(){return!(e.unstable_now()-M<_)}function I(){if(N){var G=e.unstable_now();M=G;var j=!0;try{e:{y=!1,v&&(v=!1,A(R),R=-1),b=!0;var z=m;try{t:{for(C(G),g=n(c);g!==null&&!(g.expirationTime>G&&D());){var Y=g.callback;if(typeof Y=="function"){g.callback=null,m=g.priorityLevel;var L=Y(g.expirationTime<=G);if(G=e.unstable_now(),typeof L=="function"){g.callback=L,C(G),j=!0;break t}g===n(c)&&r(c),C(G)}else r(c);g=n(c)}if(g!==null)j=!0;else{var V=n(d);V!==null&&Z(O,V.startTime-G),j=!1}}break e}finally{g=null,m=z,b=!1}j=void 0}}finally{j?H():N=!1}}}var H;if(typeof k=="function")H=function(){k(I)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,U=$.port2;$.port1.onmessage=I,H=function(){U.postMessage(null)}}else H=function(){x(I,0)};function W(){N||(N=!0,H())}function Z(G,j){R=x(function(){G(e.unstable_now())},j)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(G){G.callback=null},e.unstable_continueExecution=function(){y||b||(y=!0,W())},e.unstable_forceFrameRate=function(G){0>G||125Y?(G.sortIndex=z,t(d,G),n(c)===null&&G===n(d)&&(v?(A(R),R=-1):v=!0,Z(O,z-Y))):(G.sortIndex=L,t(c,G),y||b||(y=!0,W())),G},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(G){var j=m;return function(){var z=m;m=j;try{return G.apply(this,arguments)}finally{m=z}}}}(Xh)),Xh}var QC;function dq(){return QC||(QC=1,Kh.exports=cq()),Kh.exports}var Zh={exports:{}},wn={};/** + */var ZC;function cq(){return ZC||(ZC=1,function(e){function t(G,j){var F=G.length;G.push(j);e:for(;0>>1,M=G[Y];if(0>>1;Ya(P,F))Ka(ee,P)?(G[Y]=ee,G[K]=F,Y=K):(G[Y]=P,G[U]=F,Y=U);else if(Ka(ee,F))G[Y]=ee,G[K]=F,Y=K;else break e}}return j}function a(G,j){var F=G.sortIndex-j.sortIndex;return F!==0?F:G.id-j.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,u=s.now();e.unstable_now=function(){return s.now()-u}}var c=[],d=[],p=1,g=null,m=3,b=!1,y=!1,v=!1,x=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,k=typeof setImmediate<"u"?setImmediate:null;function R(G){for(var j=n(d);j!==null;){if(j.callback===null)r(d);else if(j.startTime<=G)r(d),j.sortIndex=j.expirationTime,t(c,j);else break;j=n(d)}}function O(G){if(v=!1,R(G),!y)if(n(c)!==null)y=!0,W();else{var j=n(d);j!==null&&Q(O,j.startTime-G)}}var N=!1,C=-1,_=5,L=-1;function D(){return!(e.unstable_now()-L<_)}function I(){if(N){var G=e.unstable_now();L=G;var j=!0;try{e:{y=!1,v&&(v=!1,A(C),C=-1),b=!0;var F=m;try{t:{for(R(G),g=n(c);g!==null&&!(g.expirationTime>G&&D());){var Y=g.callback;if(typeof Y=="function"){g.callback=null,m=g.priorityLevel;var M=Y(g.expirationTime<=G);if(G=e.unstable_now(),typeof M=="function"){g.callback=M,R(G),j=!0;break t}g===n(c)&&r(c),R(G)}else r(c);g=n(c)}if(g!==null)j=!0;else{var V=n(d);V!==null&&Q(O,V.startTime-G),j=!1}}break e}finally{g=null,m=F,b=!1}j=void 0}}finally{j?H():N=!1}}}var H;if(typeof k=="function")H=function(){k(I)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,B=$.port2;$.port1.onmessage=I,H=function(){B.postMessage(null)}}else H=function(){x(I,0)};function W(){N||(N=!0,H())}function Q(G,j){C=x(function(){G(e.unstable_now())},j)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(G){G.callback=null},e.unstable_continueExecution=function(){y||b||(y=!0,W())},e.unstable_forceFrameRate=function(G){0>G||125Y?(G.sortIndex=F,t(d,G),n(c)===null&&G===n(d)&&(v?(A(C),C=-1):v=!0,Q(O,F-Y))):(G.sortIndex=M,t(c,G),y||b||(y=!0,W())),G},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(G){var j=m;return function(){var F=m;m=j;try{return G.apply(this,arguments)}finally{m=F}}}}(Xh)),Xh}var QC;function dq(){return QC||(QC=1,Kh.exports=cq()),Kh.exports}var Zh={exports:{}},wn={};/** * @license React * react-dom.production.js * @@ -38,15 +38,15 @@ var nq=Object.defineProperty;var rq=(e,t,n)=>t in e?nq(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var t_;function pq(){if(t_)return Ql;t_=1;var e=dq(),t=$f(),n=Bz();function r(i){var l="https://react.dev/errors/"+i;if(1)":-1S||X[h]!==oe[S]){var be=` -`+X[h].replace(" at new "," at ");return i.displayName&&be.includes("")&&(be=be.replace("",i.displayName)),be}while(1<=h&&0<=S);break}}}finally{W=!1,Error.prepareStackTrace=f}return(f=i?i.displayName||i.name:"")?U(f):""}function G(i){switch(i.tag){case 26:case 27:case 5:return U(i.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 15:return i=Z(i.type,!1),i;case 11:return i=Z(i.type.render,!1),i;case 1:return i=Z(i.type,!0),i;default:return""}}function j(i){try{var l="";do l+=G(i),i=i.return;while(i);return l}catch(f){return` +`+H+i+$}var W=!1;function Q(i,l){if(!i||W)return"";W=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var h={DetermineComponentFrameRoot:function(){try{if(l){var Ae=function(){throw Error()};if(Object.defineProperty(Ae.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ae,[])}catch(ge){var de=ge}Reflect.construct(i,[],Ae)}else{try{Ae.call()}catch(ge){de=ge}i.call(Ae.prototype)}}else{try{throw Error()}catch(ge){de=ge}(Ae=i())&&typeof Ae.catch=="function"&&Ae.catch(function(){})}}catch(ge){if(ge&&de&&typeof ge.stack=="string")return[ge.stack,de.stack]}return[null,null]}};h.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var S=Object.getOwnPropertyDescriptor(h.DetermineComponentFrameRoot,"name");S&&S.configurable&&Object.defineProperty(h.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var T=h.DetermineComponentFrameRoot(),z=T[0],q=T[1];if(z&&q){var Z=z.split(` +`),ae=q.split(` +`);for(S=h=0;hS||Z[h]!==ae[S]){var ye=` +`+Z[h].replace(" at new "," at ");return i.displayName&&ye.includes("")&&(ye=ye.replace("",i.displayName)),ye}while(1<=h&&0<=S);break}}}finally{W=!1,Error.prepareStackTrace=f}return(f=i?i.displayName||i.name:"")?B(f):""}function G(i){switch(i.tag){case 26:case 27:case 5:return B(i.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 15:return i=Q(i.type,!1),i;case 11:return i=Q(i.type.render,!1),i;case 1:return i=Q(i.type,!0),i;default:return""}}function j(i){try{var l="";do l+=G(i),i=i.return;while(i);return l}catch(f){return` Error generating stack: `+f.message+` -`+f.stack}}function z(i){var l=i,f=i;if(i.alternate)for(;l.return;)l=l.return;else{i=l;do l=i,l.flags&4098&&(f=l.return),i=l.return;while(i)}return l.tag===3?f:null}function Y(i){if(i.tag===13){var l=i.memoizedState;if(l===null&&(i=i.alternate,i!==null&&(l=i.memoizedState)),l!==null)return l.dehydrated}return null}function L(i){if(z(i)!==i)throw Error(r(188))}function V(i){var l=i.alternate;if(!l){if(l=z(i),l===null)throw Error(r(188));return l!==i?null:i}for(var f=i,h=l;;){var S=f.return;if(S===null)break;var T=S.alternate;if(T===null){if(h=S.return,h!==null){f=h;continue}break}if(S.child===T.child){for(T=S.child;T;){if(T===f)return L(S),i;if(T===h)return L(S),l;T=T.sibling}throw Error(r(188))}if(f.return!==h.return)f=S,h=T;else{for(var F=!1,q=S.child;q;){if(q===f){F=!0,f=S,h=T;break}if(q===h){F=!0,h=S,f=T;break}q=q.sibling}if(!F){for(q=T.child;q;){if(q===f){F=!0,f=T,h=S;break}if(q===h){F=!0,h=T,f=S;break}q=q.sibling}if(!F)throw Error(r(189))}}if(f.alternate!==h)throw Error(r(190))}if(f.tag!==3)throw Error(r(188));return f.stateNode.current===f?i:l}function B(i){var l=i.tag;if(l===5||l===26||l===27||l===6)return i;for(i=i.child;i!==null;){if(l=B(i),l!==null)return l;i=i.sibling}return null}var P=Array.isArray,K=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},Q=[],J=-1;function ae(i){return{current:i}}function ke(i){0>J||(i.current=Q[J],Q[J]=null,J--)}function ie(i,l){J++,Q[J]=i.current,i.current=l}var Se=ae(null),ve=ae(null),Ie=ae(null),Ce=ae(null);function Ee(i,l){switch(ie(Ie,l),ie(ve,i),ie(Se,null),i=l.nodeType,i){case 9:case 11:l=(l=l.documentElement)&&(l=l.namespaceURI)?wC(l):0;break;default:if(i=i===8?l.parentNode:l,l=i.tagName,i=i.namespaceURI)i=wC(i),l=xC(i,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}ke(Se),ie(Se,l)}function te(){ke(Se),ke(ve),ke(Ie)}function fe(i){i.memoizedState!==null&&ie(Ce,i);var l=Se.current,f=xC(l,i.type);l!==f&&(ie(ve,i),ie(Se,f))}function Te(i){ve.current===i&&(ke(Se),ke(ve)),Ce.current===i&&(ke(Ce),Vl._currentValue=ee)}var me=Object.prototype.hasOwnProperty,we=e.unstable_scheduleCallback,le=e.unstable_cancelCallback,ze=e.unstable_shouldYield,Be=e.unstable_requestPaint,he=e.unstable_now,Ne=e.unstable_getCurrentPriorityLevel,ne=e.unstable_ImmediatePriority,ce=e.unstable_UserBlockingPriority,_e=e.unstable_NormalPriority,Fe=e.unstable_LowPriority,We=e.unstable_IdlePriority,St=e.log,Tt=e.unstable_setDisableYieldValue,bt=null,et=null;function At(i){if(et&&typeof et.onCommitFiberRoot=="function")try{et.onCommitFiberRoot(bt,i,void 0,(i.current.flags&128)===128)}catch{}}function ot(i){if(typeof St=="function"&&Tt(i),et&&typeof et.setStrictMode=="function")try{et.setStrictMode(bt,i)}catch{}}var Et=Math.clz32?Math.clz32:zt,Ht=Math.log,pn=Math.LN2;function zt(i){return i>>>=0,i===0?32:31-(Ht(i)/pn|0)|0}var or=128,$r=4194304;function Jt(i){var l=i&42;if(l!==0)return l;switch(i&-i){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: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 i&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function pa(i,l){var f=i.pendingLanes;if(f===0)return 0;var h=0,S=i.suspendedLanes,T=i.pingedLanes,F=i.warmLanes;i=i.finishedLanes!==0;var q=f&134217727;return q!==0?(f=q&~S,f!==0?h=Jt(f):(T&=q,T!==0?h=Jt(T):i||(F=q&~F,F!==0&&(h=Jt(F))))):(q=f&~S,q!==0?h=Jt(q):T!==0?h=Jt(T):i||(F=f&~F,F!==0&&(h=Jt(F)))),h===0?0:l!==0&&l!==h&&!(l&S)&&(S=h&-h,F=l&-l,S>=F||S===32&&(F&4194176)!==0)?l:h}function Xe(i,l){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&l)===0}function yt(i,l){switch(i){case 1:case 2:case 4:case 8:return l+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Nt(){var i=or;return or<<=1,!(or&4194176)&&(or=128),i}function Ln(){var i=$r;return $r<<=1,!($r&62914560)&&($r=4194304),i}function _n(i){for(var l=[],f=0;31>f;f++)l.push(i);return l}function Mn(i,l){i.pendingLanes|=l,l!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function ga(i,l,f,h,S,T){var F=i.pendingLanes;i.pendingLanes=f,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=f,i.entangledLanes&=f,i.errorRecoveryDisabledLanes&=f,i.shellSuspendCounter=0;var q=i.entanglements,X=i.expirationTimes,oe=i.hiddenUpdates;for(f=F&~f;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),KH=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]*$"),xA={},kA={};function XH(i){return me.call(kA,i)?!0:me.call(xA,i)?!1:KH.test(i)?kA[i]=!0:(xA[i]=!0,!1)}function lc(i,l,f){if(XH(l))if(f===null)i.removeAttribute(l);else{switch(typeof f){case"undefined":case"function":case"symbol":i.removeAttribute(l);return;case"boolean":var h=l.toLowerCase().slice(0,5);if(h!=="data-"&&h!=="aria-"){i.removeAttribute(l);return}}i.setAttribute(l,""+f)}}function uc(i,l,f){if(f===null)i.removeAttribute(l);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(l);return}i.setAttribute(l,""+f)}}function ma(i,l,f,h){if(h===null)i.removeAttribute(f);else{switch(typeof h){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(f);return}i.setAttributeNS(l,f,""+h)}}function ir(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function TA(i){var l=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function ZH(i){var l=TA(i)?"checked":"value",f=Object.getOwnPropertyDescriptor(i.constructor.prototype,l),h=""+i[l];if(!i.hasOwnProperty(l)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var S=f.get,T=f.set;return Object.defineProperty(i,l,{configurable:!0,get:function(){return S.call(this)},set:function(F){h=""+F,T.call(this,F)}}),Object.defineProperty(i,l,{enumerable:f.enumerable}),{getValue:function(){return h},setValue:function(F){h=""+F},stopTracking:function(){i._valueTracker=null,delete i[l]}}}}function cc(i){i._valueTracker||(i._valueTracker=ZH(i))}function AA(i){if(!i)return!1;var l=i._valueTracker;if(!l)return!0;var f=l.getValue(),h="";return i&&(h=TA(i)?i.checked?"true":"false":i.value),i=h,i!==f?(l.setValue(i),!0):!1}function dc(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var QH=/[\n"\\]/g;function sr(i){return i.replace(QH,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function $p(i,l,f,h,S,T,F,q){i.name="",F!=null&&typeof F!="function"&&typeof F!="symbol"&&typeof F!="boolean"?i.type=F:i.removeAttribute("type"),l!=null?F==="number"?(l===0&&i.value===""||i.value!=l)&&(i.value=""+ir(l)):i.value!==""+ir(l)&&(i.value=""+ir(l)):F!=="submit"&&F!=="reset"||i.removeAttribute("value"),l!=null?qp(i,F,ir(l)):f!=null?qp(i,F,ir(f)):h!=null&&i.removeAttribute("value"),S==null&&T!=null&&(i.defaultChecked=!!T),S!=null&&(i.checked=S&&typeof S!="function"&&typeof S!="symbol"),q!=null&&typeof q!="function"&&typeof q!="symbol"&&typeof q!="boolean"?i.name=""+ir(q):i.removeAttribute("name")}function RA(i,l,f,h,S,T,F,q){if(T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(i.type=T),l!=null||f!=null){if(!(T!=="submit"&&T!=="reset"||l!=null))return;f=f!=null?""+ir(f):"",l=l!=null?""+ir(l):f,q||l===i.value||(i.value=l),i.defaultValue=l}h=h??S,h=typeof h!="function"&&typeof h!="symbol"&&!!h,i.checked=q?i.checked:!!h,i.defaultChecked=!!h,F!=null&&typeof F!="function"&&typeof F!="symbol"&&typeof F!="boolean"&&(i.name=F)}function qp(i,l,f){l==="number"&&dc(i.ownerDocument)===i||i.defaultValue===""+f||(i.defaultValue=""+f)}function Di(i,l,f,h){if(i=i.options,l){l={};for(var S=0;S=cl),UA=" ",jA=!1;function GA(i,l){switch(i){case"keyup":return A$.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function HA(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Pi=!1;function C$(i,l){switch(i){case"compositionend":return HA(l);case"keypress":return l.which!==32?null:(jA=!0,UA);case"textInput":return i=l.data,i===UA&&jA?null:i;default:return null}}function _$(i,l){if(Pi)return i==="compositionend"||!ng&&GA(i,l)?(i=LA(),pc=Zp=Ya=null,Pi=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1=l)return{node:f,offset:l-i};i=h}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=ZA(f)}}function JA(i,l){return i&&l?i===l?!0:i&&i.nodeType===3?!1:l&&l.nodeType===3?JA(i,l.parentNode):"contains"in i?i.contains(l):i.compareDocumentPosition?!!(i.compareDocumentPosition(l)&16):!1:!1}function e1(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var l=dc(i.document);l instanceof i.HTMLIFrameElement;){try{var f=typeof l.contentWindow.location.href=="string"}catch{f=!1}if(f)i=l.contentWindow;else break;l=dc(i.document)}return l}function og(i){var l=i&&i.nodeName&&i.nodeName.toLowerCase();return l&&(l==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||l==="textarea"||i.contentEditable==="true")}function F$(i,l){var f=e1(l);l=i.focusedElem;var h=i.selectionRange;if(f!==l&&l&&l.ownerDocument&&JA(l.ownerDocument.documentElement,l)){if(h!==null&&og(l)){if(i=h.start,f=h.end,f===void 0&&(f=i),"selectionStart"in l)l.selectionStart=i,l.selectionEnd=Math.min(f,l.value.length);else if(f=(i=l.ownerDocument||document)&&i.defaultView||window,f.getSelection){f=f.getSelection();var S=l.textContent.length,T=Math.min(h.start,S);h=h.end===void 0?T:Math.min(h.end,S),!f.extend&&T>h&&(S=h,h=T,T=S),S=QA(l,T);var F=QA(l,h);S&&F&&(f.rangeCount!==1||f.anchorNode!==S.node||f.anchorOffset!==S.offset||f.focusNode!==F.node||f.focusOffset!==F.offset)&&(i=i.createRange(),i.setStart(S.node,S.offset),f.removeAllRanges(),T>h?(f.addRange(i),f.extend(F.node,F.offset)):(i.setEnd(F.node,F.offset),f.addRange(i)))}}for(i=[],f=l;f=f.parentNode;)f.nodeType===1&&i.push({element:f,left:f.scrollLeft,top:f.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l=document.documentMode,Fi=null,ig=null,gl=null,sg=!1;function t1(i,l,f){var h=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;sg||Fi==null||Fi!==dc(h)||(h=Fi,"selectionStart"in h&&og(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),gl&&pl(gl,h)||(gl=h,h=ed(ig,"onSelect"),0>=F,S-=F,ba=1<<32-Et(l)+S|f<Qe?(ln=Ye,Ye=null):ln=Ye.sibling;var xt=de(se,Ye,ue[Qe],xe);if(xt===null){Ye===null&&(Ye=ln);break}i&&Ye&&xt.alternate===null&&l(se,Ye),re=T(xt,re,Qe),ut===null?je=xt:ut.sibling=xt,ut=xt,Ye=ln}if(Qe===ue.length)return f(se,Ye),wt&&Go(se,Qe),je;if(Ye===null){for(;QeQe?(ln=Ye,Ye=null):ln=Ye.sibling;var ho=de(se,Ye,xt.value,xe);if(ho===null){Ye===null&&(Ye=ln);break}i&&Ye&&ho.alternate===null&&l(se,Ye),re=T(ho,re,Qe),ut===null?je=ho:ut.sibling=ho,ut=ho,Ye=ln}if(xt.done)return f(se,Ye),wt&&Go(se,Qe),je;if(Ye===null){for(;!xt.done;Qe++,xt=ue.next())xt=Ae(se,xt.value,xe),xt!==null&&(re=T(xt,re,Qe),ut===null?je=xt:ut.sibling=xt,ut=xt);return wt&&Go(se,Qe),je}for(Ye=h(Ye);!xt.done;Qe++,xt=ue.next())xt=ge(Ye,se,Qe,xt.value,xe),xt!==null&&(i&&xt.alternate!==null&&Ye.delete(xt.key===null?Qe:xt.key),re=T(xt,re,Qe),ut===null?je=xt:ut.sibling=xt,ut=xt);return i&&Ye.forEach(function(tq){return l(se,tq)}),wt&&Go(se,Qe),je}function Vt(se,re,ue,xe){if(typeof ue=="object"&&ue!==null&&ue.type===c&&ue.key===null&&(ue=ue.props.children),typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case s:e:{for(var je=ue.key;re!==null;){if(re.key===je){if(je=ue.type,je===c){if(re.tag===7){f(se,re.sibling),xe=S(re,ue.props.children),xe.return=se,se=xe;break e}}else if(re.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===k&&y1(je)===re.type){f(se,re.sibling),xe=S(re,ue.props),El(xe,ue),xe.return=se,se=xe;break e}f(se,re);break}else l(se,re);re=re.sibling}ue.type===c?(xe=Jo(ue.props.children,se.mode,xe,ue.key),xe.return=se,se=xe):(xe=$c(ue.type,ue.key,ue.props,null,se.mode,xe),El(xe,ue),xe.return=se,se=xe)}return F(se);case u:e:{for(je=ue.key;re!==null;){if(re.key===je)if(re.tag===4&&re.stateNode.containerInfo===ue.containerInfo&&re.stateNode.implementation===ue.implementation){f(se,re.sibling),xe=S(re,ue.children||[]),xe.return=se,se=xe;break e}else{f(se,re);break}else l(se,re);re=re.sibling}xe=uh(ue,se.mode,xe),xe.return=se,se=xe}return F(se);case k:return je=ue._init,ue=je(ue._payload),Vt(se,re,ue,xe)}if(P(ue))return qe(se,re,ue,xe);if(R(ue)){if(je=R(ue),typeof je!="function")throw Error(r(150));return ue=je.call(ue),nt(se,re,ue,xe)}if(typeof ue.then=="function")return Vt(se,re,Tc(ue),xe);if(ue.$$typeof===b)return Vt(se,re,jc(se,ue),xe);Ac(se,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint"?(ue=""+ue,re!==null&&re.tag===6?(f(se,re.sibling),xe=S(re,ue),xe.return=se,se=xe):(f(se,re),xe=lh(ue,se.mode,xe),xe.return=se,se=xe),F(se)):f(se,re)}return function(se,re,ue,xe){try{Sl=0;var je=Vt(se,re,ue,xe);return Hi=null,je}catch(Ye){if(Ye===yl)throw Ye;var ut=hr(29,Ye,null,se.mode);return ut.lanes=xe,ut.return=se,ut}finally{}}}var $o=v1(!0),S1=v1(!1),$i=ae(null),Rc=ae(0);function E1(i,l){i=_a,ie(Rc,i),ie($i,l),_a=i|l.baseLanes}function hg(){ie(Rc,_a),ie($i,$i.current)}function mg(){_a=Rc.current,ke($i),ke(Rc)}var fr=ae(null),Vr=null;function Xa(i){var l=i.alternate;ie(en,en.current&1),ie(fr,i),Vr===null&&(l===null||$i.current!==null||l.memoizedState!==null)&&(Vr=i)}function w1(i){if(i.tag===22){if(ie(en,en.current),ie(fr,i),Vr===null){var l=i.alternate;l!==null&&l.memoizedState!==null&&(Vr=i)}}else Za()}function Za(){ie(en,en.current),ie(fr,fr.current)}function va(i){ke(fr),Vr===i&&(Vr=null),ke(en)}var en=ae(0);function Cc(i){for(var l=i;l!==null;){if(l.tag===13){var f=l.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if(l.flags&128)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===i)break;for(;l.sibling===null;){if(l.return===null||l.return===i)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var G$=typeof AbortController<"u"?AbortController:function(){var i=[],l=this.signal={aborted:!1,addEventListener:function(f,h){i.push(h)}};this.abort=function(){l.aborted=!0,i.forEach(function(f){return f()})}},H$=e.unstable_scheduleCallback,$$=e.unstable_NormalPriority,tn={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function bg(){return{controller:new G$,data:new Map,refCount:0}}function wl(i){i.refCount--,i.refCount===0&&H$($$,function(){i.controller.abort()})}var xl=null,yg=0,qi=0,Vi=null;function q$(i,l){if(xl===null){var f=xl=[];yg=0,qi=kh(),Vi={status:"pending",value:void 0,then:function(h){f.push(h)}}}return yg++,l.then(x1,x1),l}function x1(){if(--yg===0&&xl!==null){Vi!==null&&(Vi.status="fulfilled");var i=xl;xl=null,qi=0,Vi=null;for(var l=0;lT?T:8;var F=D.T,q={};D.T=q,Mg(i,!1,l,f);try{var X=S(),oe=D.S;if(oe!==null&&oe(q,X),X!==null&&typeof X=="object"&&typeof X.then=="function"){var be=V$(X,h);Al(i,l,be,Qn(i))}else Al(i,l,h,Qn(i))}catch(Ae){Al(i,l,{then:function(){},status:"rejected",reason:Ae},Qn())}finally{K.p=T,D.T=F}}function Z$(){}function Ig(i,l,f,h){if(i.tag!==5)throw Error(r(476));var S=eR(i).queue;J1(i,S,l,ee,f===null?Z$:function(){return tR(i),f(h)})}function eR(i){var l=i.memoizedState;if(l!==null)return l;l={memoizedState:ee,baseState:ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sa,lastRenderedState:ee},next:null};var f={};return l.next={memoizedState:f,baseState:f,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sa,lastRenderedState:f},next:null},i.memoizedState=l,i=i.alternate,i!==null&&(i.memoizedState=l),l}function tR(i){var l=eR(i).next.queue;Al(i,l,{},Qn())}function Lg(){return En(Vl)}function nR(){return Xt().memoizedState}function rR(){return Xt().memoizedState}function Q$(i){for(var l=i.return;l!==null;){switch(l.tag){case 24:case 3:var f=Qn();i=no(f);var h=ro(l,i,f);h!==null&&(On(h,l,f),_l(h,l,f)),l={cache:bg()},i.payload=l;return}l=l.return}}function J$(i,l,f){var h=Qn();f={lane:h,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null},Fc(i)?oR(l,f):(f=cg(i,l,f,h),f!==null&&(On(f,i,h),iR(f,l,h)))}function aR(i,l,f){var h=Qn();Al(i,l,f,h)}function Al(i,l,f,h){var S={lane:h,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null};if(Fc(i))oR(l,S);else{var T=i.alternate;if(i.lanes===0&&(T===null||T.lanes===0)&&(T=l.lastRenderedReducer,T!==null))try{var F=l.lastRenderedState,q=T(F,f);if(S.hasEagerState=!0,S.eagerState=q,Yn(q,F))return Sc(i,l,S,0),Lt===null&&vc(),!1}catch{}finally{}if(f=cg(i,l,S,h),f!==null)return On(f,i,h),iR(f,l,h),!0}return!1}function Mg(i,l,f,h){if(h={lane:2,revertLane:kh(),action:h,hasEagerState:!1,eagerState:null,next:null},Fc(i)){if(l)throw Error(r(479))}else l=cg(i,f,h,2),l!==null&&On(l,i,2)}function Fc(i){var l=i.alternate;return i===lt||l!==null&&l===lt}function oR(i,l){Wi=Nc=!0;var f=i.pending;f===null?l.next=l:(l.next=f.next,f.next=l),i.pending=l}function iR(i,l,f){if(f&4194176){var h=l.lanes;h&=i.pendingLanes,f|=h,l.lanes=f,Ar(i,f)}}var Wr={readContext:En,use:Ic,useCallback:Wt,useContext:Wt,useEffect:Wt,useImperativeHandle:Wt,useLayoutEffect:Wt,useInsertionEffect:Wt,useMemo:Wt,useReducer:Wt,useRef:Wt,useState:Wt,useDebugValue:Wt,useDeferredValue:Wt,useTransition:Wt,useSyncExternalStore:Wt,useId:Wt};Wr.useCacheRefresh=Wt,Wr.useMemoCache=Wt,Wr.useHostTransitionStatus=Wt,Wr.useFormState=Wt,Wr.useActionState=Wt,Wr.useOptimistic=Wt;var Wo={readContext:En,use:Ic,useCallback:function(i,l){return Bn().memoizedState=[i,l===void 0?null:l],i},useContext:En,useEffect:q1,useImperativeHandle:function(i,l,f){f=f!=null?f.concat([i]):null,Mc(4194308,4,Y1.bind(null,l,i),f)},useLayoutEffect:function(i,l){return Mc(4194308,4,i,l)},useInsertionEffect:function(i,l){Mc(4,2,i,l)},useMemo:function(i,l){var f=Bn();l=l===void 0?null:l;var h=i();if(Vo){ot(!0);try{i()}finally{ot(!1)}}return f.memoizedState=[h,l],h},useReducer:function(i,l,f){var h=Bn();if(f!==void 0){var S=f(l);if(Vo){ot(!0);try{f(l)}finally{ot(!1)}}}else S=l;return h.memoizedState=h.baseState=S,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:S},h.queue=i,i=i.dispatch=J$.bind(null,lt,i),[h.memoizedState,i]},useRef:function(i){var l=Bn();return i={current:i},l.memoizedState=i},useState:function(i){i=Cg(i);var l=i.queue,f=aR.bind(null,lt,l);return l.dispatch=f,[i.memoizedState,f]},useDebugValue:Og,useDeferredValue:function(i,l){var f=Bn();return Dg(f,i,l)},useTransition:function(){var i=Cg(!1);return i=J1.bind(null,lt,i.queue,!0,!1),Bn().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,l,f){var h=lt,S=Bn();if(wt){if(f===void 0)throw Error(r(407));f=f()}else{if(f=l(),Lt===null)throw Error(r(349));vt&60||_1(h,l,f)}S.memoizedState=f;var T={value:f,getSnapshot:l};return S.queue=T,q1(O1.bind(null,h,T,i),[i]),h.flags|=2048,Ki(9,N1.bind(null,h,T,f,l),{destroy:void 0},null),f},useId:function(){var i=Bn(),l=Lt.identifierPrefix;if(wt){var f=ya,h=ba;f=(h&~(1<<32-Et(h)-1)).toString(32)+f,l=":"+l+"R"+f,f=Oc++,0 title"))),mn(T,h,f),T[Sn]=i,an(T),h=T;break e;case"link":var F=IC("link","href",S).get(h+(f.href||""));if(F){for(var q=0;q<\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof h.is=="string"?S.createElement("select",{is:h.is}):S.createElement("select"),h.multiple?i.multiple=!0:h.size&&(i.size=h.size);break;default:i=typeof h.is=="string"?S.createElement(f,{is:h.is}):S.createElement(f)}}i[Sn]=l,i[Fn]=h;e:for(S=l.child;S!==null;){if(S.tag===5||S.tag===6)i.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===l)break e;for(;S.sibling===null;){if(S.return===null||S.return===l)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}l.stateNode=i;e:switch(mn(i,f,h),f){case"button":case"input":case"select":case"textarea":i=!!h.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&Ra(l)}}return Bt(l),l.flags&=-16777217,null;case 6:if(i&&l.stateNode!=null)i.memoizedProps!==h&&Ra(l);else{if(typeof h!="string"&&l.stateNode===null)throw Error(r(166));if(i=Ie.current,hl(l)){if(i=l.stateNode,f=l.memoizedProps,h=null,S=Nn,S!==null)switch(S.tag){case 27:case 5:h=S.memoizedProps}i[Sn]=l,i=!!(i.nodeValue===f||h!==null&&h.suppressHydrationWarning===!0||EC(i.nodeValue,f)),i||Ho(l)}else i=nd(i).createTextNode(h),i[Sn]=l,l.stateNode=i}return Bt(l),null;case 13:if(h=l.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(S=hl(l),h!==null&&h.dehydrated!==null){if(i===null){if(!S)throw Error(r(318));if(S=l.memoizedState,S=S!==null?S.dehydrated:null,!S)throw Error(r(317));S[Sn]=l}else ml(),!(l.flags&128)&&(l.memoizedState=null),l.flags|=4;Bt(l),S=!1}else Cr!==null&&(bh(Cr),Cr=null),S=!0;if(!S)return l.flags&256?(va(l),l):(va(l),null)}if(va(l),l.flags&128)return l.lanes=f,l;if(f=h!==null,i=i!==null&&i.memoizedState!==null,f){h=l.child,S=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(S=h.alternate.memoizedState.cachePool.pool);var T=null;h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(T=h.memoizedState.cachePool.pool),T!==S&&(h.flags|=2048)}return f!==i&&f&&(l.child.flags|=8192),qc(l,l.updateQueue),Bt(l),null;case 4:return te(),i===null&&Ch(l.stateNode.containerInfo),Bt(l),null;case 10:return xa(l.type),Bt(l),null;case 19:if(ke(en),S=l.memoizedState,S===null)return Bt(l),null;if(h=(l.flags&128)!==0,T=S.rendering,T===null)if(h)Pl(S,!1);else{if(qt!==0||i!==null&&i.flags&128)for(i=l.child;i!==null;){if(T=Cc(i),T!==null){for(l.flags|=128,Pl(S,!1),i=T.updateQueue,l.updateQueue=i,qc(l,i),l.subtreeFlags=0,i=f,f=l.child;f!==null;)KR(f,i),f=f.sibling;return ie(en,en.current&1|2),l.child}i=i.sibling}S.tail!==null&&he()>Vc&&(l.flags|=128,h=!0,Pl(S,!1),l.lanes=4194304)}else{if(!h)if(i=Cc(T),i!==null){if(l.flags|=128,h=!0,i=i.updateQueue,l.updateQueue=i,qc(l,i),Pl(S,!0),S.tail===null&&S.tailMode==="hidden"&&!T.alternate&&!wt)return Bt(l),null}else 2*he()-S.renderingStartTime>Vc&&f!==536870912&&(l.flags|=128,h=!0,Pl(S,!1),l.lanes=4194304);S.isBackwards?(T.sibling=l.child,l.child=T):(i=S.last,i!==null?i.sibling=T:l.child=T,S.last=T)}return S.tail!==null?(l=S.tail,S.rendering=l,S.tail=l.sibling,S.renderingStartTime=he(),l.sibling=null,i=en.current,ie(en,h?i&1|2:i&1),l):(Bt(l),null);case 22:case 23:return va(l),mg(),h=l.memoizedState!==null,i!==null?i.memoizedState!==null!==h&&(l.flags|=8192):h&&(l.flags|=8192),h?f&536870912&&!(l.flags&128)&&(Bt(l),l.subtreeFlags&6&&(l.flags|=8192)):Bt(l),f=l.updateQueue,f!==null&&qc(l,f.retryQueue),f=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(f=i.memoizedState.cachePool.pool),h=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(h=l.memoizedState.cachePool.pool),h!==f&&(l.flags|=2048),i!==null&&ke(qo),null;case 24:return f=null,i!==null&&(f=i.memoizedState.cache),l.memoizedState.cache!==f&&(l.flags|=2048),xa(tn),Bt(l),null;case 25:return null}throw Error(r(156,l.tag))}function i6(i,l){switch(fg(l),l.tag){case 1:return i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 3:return xa(tn),te(),i=l.flags,i&65536&&!(i&128)?(l.flags=i&-65537|128,l):null;case 26:case 27:case 5:return Te(l),null;case 13:if(va(l),i=l.memoizedState,i!==null&&i.dehydrated!==null){if(l.alternate===null)throw Error(r(340));ml()}return i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 19:return ke(en),null;case 4:return te(),null;case 10:return xa(l.type),null;case 22:case 23:return va(l),mg(),i!==null&&ke(qo),i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 24:return xa(tn),null;case 25:return null;default:return null}}function QR(i,l){switch(fg(l),l.tag){case 3:xa(tn),te();break;case 26:case 27:case 5:Te(l);break;case 4:te();break;case 13:va(l);break;case 19:ke(en);break;case 10:xa(l.type);break;case 22:case 23:va(l),mg(),i!==null&&ke(qo);break;case 24:xa(tn)}}var s6={getCacheForType:function(i){var l=En(tn),f=l.data.get(i);return f===void 0&&(f=i(),l.data.set(i,f)),f}},l6=typeof WeakMap=="function"?WeakMap:Map,Ut=0,Lt=null,ft=null,vt=0,Mt=0,Zn=null,Ca=!1,Ji=!1,ch=!1,_a=0,qt=0,lo=0,ei=0,dh=0,mr=0,es=0,Fl=null,Yr=null,fh=!1,ph=0,Vc=1/0,Wc=null,uo=null,Yc=!1,ti=null,zl=0,gh=0,hh=null,Bl=0,mh=null;function Qn(){if(Ut&2&&vt!==0)return vt&-vt;if(D.T!==null){var i=qi;return i!==0?i:kh()}return vA()}function JR(){mr===0&&(mr=!(vt&536870912)||wt?Nt():536870912);var i=fr.current;return i!==null&&(i.flags|=32),mr}function On(i,l,f){(i===Lt&&Mt===2||i.cancelPendingCommit!==null)&&(ts(i,0),Na(i,vt,mr,!1)),Mn(i,f),(!(Ut&2)||i!==Lt)&&(i===Lt&&(!(Ut&2)&&(ei|=f),qt===4&&Na(i,vt,mr,!1)),Kr(i))}function eC(i,l,f){if(Ut&6)throw Error(r(327));var h=!f&&(l&60)===0&&(l&i.expiredLanes)===0||Xe(i,l),S=h?d6(i,l):Sh(i,l,!0),T=h;do{if(S===0){Ji&&!h&&Na(i,l,0,!1);break}else if(S===6)Na(i,l,0,!Ca);else{if(f=i.current.alternate,T&&!u6(f)){S=Sh(i,l,!1),T=!1;continue}if(S===2){if(T=l,i.errorRecoveryDisabledLanes&T)var F=0;else F=i.pendingLanes&-536870913,F=F!==0?F:F&536870912?536870912:0;if(F!==0){l=F;e:{var q=i;S=Fl;var X=q.current.memoizedState.isDehydrated;if(X&&(ts(q,F).flags|=256),F=Sh(q,F,!1),F!==2){if(ch&&!X){q.errorRecoveryDisabledLanes|=T,ei|=T,S=4;break e}T=Yr,Yr=S,T!==null&&bh(T)}S=F}if(T=!1,S!==2)continue}}if(S===1){ts(i,0),Na(i,l,0,!0);break}e:{switch(h=i,S){case 0:case 1:throw Error(r(345));case 4:if((l&4194176)===l){Na(h,l,mr,!Ca);break e}break;case 2:Yr=null;break;case 3:case 5:break;default:throw Error(r(329))}if(h.finishedWork=f,h.finishedLanes=l,(l&62914560)===l&&(T=ph+300-he(),10f?32:f,D.T=null,ti===null)var T=!1;else{f=hh,hh=null;var F=ti,q=zl;if(ti=null,zl=0,Ut&6)throw Error(r(331));var X=Ut;if(Ut|=4,WR(F.current),$R(F,F.current,q,f),Ut=X,Ul(0,!1),et&&typeof et.onPostCommitFiberRoot=="function")try{et.onPostCommitFiberRoot(bt,F)}catch{}T=!0}return T}finally{K.p=S,D.T=h,uC(i,l)}}return!1}function cC(i,l,f){l=ur(f,l),l=zg(i.stateNode,l,2),i=ro(i,l,2),i!==null&&(Mn(i,2),Kr(i))}function Ot(i,l,f){if(i.tag===3)cC(i,i,f);else for(;l!==null;){if(l.tag===3){cC(l,i,f);break}else if(l.tag===1){var h=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(uo===null||!uo.has(h))){i=ur(f,i),f=pR(2),h=ro(l,f,2),h!==null&&(gR(f,h,l,i),Mn(h,2),Kr(h));break}}l=l.return}}function Eh(i,l,f){var h=i.pingCache;if(h===null){h=i.pingCache=new l6;var S=new Set;h.set(l,S)}else S=h.get(l),S===void 0&&(S=new Set,h.set(l,S));S.has(f)||(ch=!0,S.add(f),i=g6.bind(null,i,l,f),l.then(i,i))}function g6(i,l,f){var h=i.pingCache;h!==null&&h.delete(l),i.pingedLanes|=i.suspendedLanes&f,i.warmLanes&=~f,Lt===i&&(vt&f)===f&&(qt===4||qt===3&&(vt&62914560)===vt&&300>he()-ph?!(Ut&2)&&ts(i,0):dh|=f,es===vt&&(es=0)),Kr(i)}function dC(i,l){l===0&&(l=Ln()),i=Ka(i,l),i!==null&&(Mn(i,l),Kr(i))}function h6(i){var l=i.memoizedState,f=0;l!==null&&(f=l.retryLane),dC(i,f)}function m6(i,l){var f=0;switch(i.tag){case 13:var h=i.stateNode,S=i.memoizedState;S!==null&&(f=S.retryLane);break;case 19:h=i.stateNode;break;case 22:h=i.stateNode._retryCache;break;default:throw Error(r(314))}h!==null&&h.delete(l),dC(i,f)}function b6(i,l){return we(i,l)}var Zc=null,as=null,wh=!1,Qc=!1,xh=!1,ni=0;function Kr(i){i!==as&&i.next===null&&(as===null?Zc=as=i:as=as.next=i),Qc=!0,wh||(wh=!0,v6(y6))}function Ul(i,l){if(!xh&&Qc){xh=!0;do for(var f=!1,h=Zc;h!==null;){if(i!==0){var S=h.pendingLanes;if(S===0)var T=0;else{var F=h.suspendedLanes,q=h.pingedLanes;T=(1<<31-Et(42|i)+1)-1,T&=S&~(F&~q),T=T&201326677?T&201326677|1:T?T|2:0}T!==0&&(f=!0,gC(h,T))}else T=vt,T=pa(h,h===Lt?T:0),!(T&3)||Xe(h,T)||(f=!0,gC(h,T));h=h.next}while(f);xh=!1}}function y6(){Qc=wh=!1;var i=0;ni!==0&&(R6()&&(i=ni),ni=0);for(var l=he(),f=null,h=Zc;h!==null;){var S=h.next,T=fC(h,l);T===0?(h.next=null,f===null?Zc=S:f.next=S,S===null&&(as=f)):(f=h,(i!==0||T&3)&&(Qc=!0)),h=S}Ul(i)}function fC(i,l){for(var f=i.suspendedLanes,h=i.pingedLanes,S=i.expirationTimes,T=i.pendingLanes&-62914561;0"u"?null:document;function _C(i,l,f){var h=is;if(h&&typeof l=="string"&&l){var S=sr(l);S='link[rel="'+i+'"][href="'+S+'"]',typeof f=="string"&&(S+='[crossorigin="'+f+'"]'),CC.has(S)||(CC.add(S),i={rel:i,crossOrigin:f,href:l},h.querySelector(S)===null&&(l=h.createElement("link"),mn(l,"link",i),an(l),h.head.appendChild(l)))}}function M6(i){Oa.D(i),_C("dns-prefetch",i,null)}function P6(i,l){Oa.C(i,l),_C("preconnect",i,l)}function F6(i,l,f){Oa.L(i,l,f);var h=is;if(h&&i&&l){var S='link[rel="preload"][as="'+sr(l)+'"]';l==="image"&&f&&f.imageSrcSet?(S+='[imagesrcset="'+sr(f.imageSrcSet)+'"]',typeof f.imageSizes=="string"&&(S+='[imagesizes="'+sr(f.imageSizes)+'"]')):S+='[href="'+sr(i)+'"]';var T=S;switch(l){case"style":T=ss(i);break;case"script":T=ls(i)}br.has(T)||(i=I({rel:"preload",href:l==="image"&&f&&f.imageSrcSet?void 0:i,as:l},f),br.set(T,i),h.querySelector(S)!==null||l==="style"&&h.querySelector(Hl(T))||l==="script"&&h.querySelector($l(T))||(l=h.createElement("link"),mn(l,"link",i),an(l),h.head.appendChild(l)))}}function z6(i,l){Oa.m(i,l);var f=is;if(f&&i){var h=l&&typeof l.as=="string"?l.as:"script",S='link[rel="modulepreload"][as="'+sr(h)+'"][href="'+sr(i)+'"]',T=S;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":T=ls(i)}if(!br.has(T)&&(i=I({rel:"modulepreload",href:i},l),br.set(T,i),f.querySelector(S)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(f.querySelector($l(T)))return}h=f.createElement("link"),mn(h,"link",i),an(h),f.head.appendChild(h)}}}function B6(i,l,f){Oa.S(i,l,f);var h=is;if(h&&i){var S=Ni(h).hoistableStyles,T=ss(i);l=l||"default";var F=S.get(T);if(!F){var q={loading:0,preload:null};if(F=h.querySelector(Hl(T)))q.loading=5;else{i=I({rel:"stylesheet",href:i,"data-precedence":l},f),(f=br.get(T))&&Fh(i,f);var X=F=h.createElement("link");an(X),mn(X,"link",i),X._p=new Promise(function(oe,be){X.onload=oe,X.onerror=be}),X.addEventListener("load",function(){q.loading|=1}),X.addEventListener("error",function(){q.loading|=2}),q.loading|=4,ad(F,l,h)}F={type:"stylesheet",instance:F,count:1,state:q},S.set(T,F)}}}function U6(i,l){Oa.X(i,l);var f=is;if(f&&i){var h=Ni(f).hoistableScripts,S=ls(i),T=h.get(S);T||(T=f.querySelector($l(S)),T||(i=I({src:i,async:!0},l),(l=br.get(S))&&zh(i,l),T=f.createElement("script"),an(T),mn(T,"link",i),f.head.appendChild(T)),T={type:"script",instance:T,count:1,state:null},h.set(S,T))}}function j6(i,l){Oa.M(i,l);var f=is;if(f&&i){var h=Ni(f).hoistableScripts,S=ls(i),T=h.get(S);T||(T=f.querySelector($l(S)),T||(i=I({src:i,async:!0,type:"module"},l),(l=br.get(S))&&zh(i,l),T=f.createElement("script"),an(T),mn(T,"link",i),f.head.appendChild(T)),T={type:"script",instance:T,count:1,state:null},h.set(S,T))}}function NC(i,l,f,h){var S=(S=Ie.current)?rd(S):null;if(!S)throw Error(r(446));switch(i){case"meta":case"title":return null;case"style":return typeof f.precedence=="string"&&typeof f.href=="string"?(l=ss(f.href),f=Ni(S).hoistableStyles,h=f.get(l),h||(h={type:"style",instance:null,count:0,state:null},f.set(l,h)),h):{type:"void",instance:null,count:0,state:null};case"link":if(f.rel==="stylesheet"&&typeof f.href=="string"&&typeof f.precedence=="string"){i=ss(f.href);var T=Ni(S).hoistableStyles,F=T.get(i);if(F||(S=S.ownerDocument||S,F={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},T.set(i,F),(T=S.querySelector(Hl(i)))&&!T._p&&(F.instance=T,F.state.loading=5),br.has(i)||(f={rel:"preload",as:"style",href:f.href,crossOrigin:f.crossOrigin,integrity:f.integrity,media:f.media,hrefLang:f.hrefLang,referrerPolicy:f.referrerPolicy},br.set(i,f),T||G6(S,i,f,F.state))),l&&h===null)throw Error(r(528,""));return F}if(l&&h!==null)throw Error(r(529,""));return null;case"script":return l=f.async,f=f.src,typeof f=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=ls(f),f=Ni(S).hoistableScripts,h=f.get(l),h||(h={type:"script",instance:null,count:0,state:null},f.set(l,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,i))}}function ss(i){return'href="'+sr(i)+'"'}function Hl(i){return'link[rel="stylesheet"]['+i+"]"}function OC(i){return I({},i,{"data-precedence":i.precedence,precedence:null})}function G6(i,l,f,h){i.querySelector('link[rel="preload"][as="style"]['+l+"]")?h.loading=1:(l=i.createElement("link"),h.preload=l,l.addEventListener("load",function(){return h.loading|=1}),l.addEventListener("error",function(){return h.loading|=2}),mn(l,"link",f),an(l),i.head.appendChild(l))}function ls(i){return'[src="'+sr(i)+'"]'}function $l(i){return"script[async]"+i}function DC(i,l,f){if(l.count++,l.instance===null)switch(l.type){case"style":var h=i.querySelector('style[data-href~="'+sr(f.href)+'"]');if(h)return l.instance=h,an(h),h;var S=I({},f,{"data-href":f.href,"data-precedence":f.precedence,href:null,precedence:null});return h=(i.ownerDocument||i).createElement("style"),an(h),mn(h,"style",S),ad(h,f.precedence,i),l.instance=h;case"stylesheet":S=ss(f.href);var T=i.querySelector(Hl(S));if(T)return l.state.loading|=4,l.instance=T,an(T),T;h=OC(f),(S=br.get(S))&&Fh(h,S),T=(i.ownerDocument||i).createElement("link"),an(T);var F=T;return F._p=new Promise(function(q,X){F.onload=q,F.onerror=X}),mn(T,"link",h),l.state.loading|=4,ad(T,f.precedence,i),l.instance=T;case"script":return T=ls(f.src),(S=i.querySelector($l(T)))?(l.instance=S,an(S),S):(h=f,(S=br.get(T))&&(h=I({},f),zh(h,S)),i=i.ownerDocument||i,S=i.createElement("script"),an(S),mn(S,"link",h),i.head.appendChild(S),l.instance=S);case"void":return null;default:throw Error(r(443,l.type))}else l.type==="stylesheet"&&!(l.state.loading&4)&&(h=l.instance,l.state.loading|=4,ad(h,f.precedence,i));return l.instance}function ad(i,l,f){for(var h=f.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),S=h.length?h[h.length-1]:null,T=S,F=0;F title"):null)}function H6(i,l,f){if(f===1||l.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return i=l.disabled,typeof l.precedence=="string"&&i==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function MC(i){return!(i.type==="stylesheet"&&!(i.state.loading&3))}var ql=null;function $6(){}function q6(i,l,f){if(ql===null)throw Error(r(475));var h=ql;if(l.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&!(l.state.loading&4)){if(l.instance===null){var S=ss(f.href),T=i.querySelector(Hl(S));if(T){i=T._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(h.count++,h=id.bind(h),i.then(h,h)),l.state.loading|=4,l.instance=T,an(T);return}T=i.ownerDocument||i,f=OC(f),(S=br.get(S))&&Fh(f,S),T=T.createElement("link"),an(T);var F=T;F._p=new Promise(function(q,X){F.onload=q,F.onerror=X}),mn(T,"link",f),l.instance=T}h.stylesheets===null&&(h.stylesheets=new Map),h.stylesheets.set(l,i),(i=l.state.preload)&&!(l.state.loading&3)&&(h.count++,l=id.bind(h),i.addEventListener("load",l),i.addEventListener("error",l))}}function V6(){if(ql===null)throw Error(r(475));var i=ql;return i.stylesheets&&i.count===0&&Bh(i,i.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Yh.exports=pq(),Yh.exports}var hq=gq(),Jl={},r_;function mq(){if(r_)return Jl;r_=1,Object.defineProperty(Jl,"__esModule",{value:!0}),Jl.parse=s,Jl.serialize=d;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,r=/^[\u0020-\u003A\u003D-\u007E]*$/,a=Object.prototype.toString,o=(()=>{const m=function(){};return m.prototype=Object.create(null),m})();function s(m,b){const y=new o,v=m.length;if(v<2)return y;const x=(b==null?void 0:b.decode)||p;let A=0;do{const k=m.indexOf("=",A);if(k===-1)break;const C=m.indexOf(";",A),O=C===-1?v:C;if(k>O){A=m.lastIndexOf(";",k-1)+1;continue}const N=u(m,A,k),R=c(m,k,N),_=m.slice(N,R);if(y[_]===void 0){let M=u(m,k+1,O),D=c(m,O,M);const I=x(m.slice(M,D));y[_]=I}A=O+1}while(Ay;){const v=m.charCodeAt(--b);if(v!==32&&v!==9)return b+1}return y}function d(m,b,y){const v=(y==null?void 0:y.encode)||encodeURIComponent;if(!e.test(m))throw new TypeError(`argument name is invalid: ${m}`);const x=v(b);if(!t.test(x))throw new TypeError(`argument val is invalid: ${b}`);let A=m+"="+x;if(!y)return A;if(y.maxAge!==void 0){if(!Number.isInteger(y.maxAge))throw new TypeError(`option maxAge is invalid: ${y.maxAge}`);A+="; Max-Age="+y.maxAge}if(y.domain){if(!n.test(y.domain))throw new TypeError(`option domain is invalid: ${y.domain}`);A+="; Domain="+y.domain}if(y.path){if(!r.test(y.path))throw new TypeError(`option path is invalid: ${y.path}`);A+="; Path="+y.path}if(y.expires){if(!g(y.expires)||!Number.isFinite(y.expires.valueOf()))throw new TypeError(`option expires is invalid: ${y.expires}`);A+="; Expires="+y.expires.toUTCString()}if(y.httpOnly&&(A+="; HttpOnly"),y.secure&&(A+="; Secure"),y.partitioned&&(A+="; Partitioned"),y.priority)switch(typeof y.priority=="string"?y.priority.toLowerCase():void 0){case"low":A+="; Priority=Low";break;case"medium":A+="; Priority=Medium";break;case"high":A+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${y.priority}`)}if(y.sameSite)switch(typeof y.sameSite=="string"?y.sameSite.toLowerCase():y.sameSite){case!0:case"strict":A+="; SameSite=Strict";break;case"lax":A+="; SameSite=Lax";break;case"none":A+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${y.sameSite}`)}return A}function p(m){if(m.indexOf("%")===-1)return m;try{return decodeURIComponent(m)}catch{return m}}function g(m){return a.call(m)==="[object Date]"}return Jl}mq();/** +`+f.stack}}function F(i){var l=i,f=i;if(i.alternate)for(;l.return;)l=l.return;else{i=l;do l=i,l.flags&4098&&(f=l.return),i=l.return;while(i)}return l.tag===3?f:null}function Y(i){if(i.tag===13){var l=i.memoizedState;if(l===null&&(i=i.alternate,i!==null&&(l=i.memoizedState)),l!==null)return l.dehydrated}return null}function M(i){if(F(i)!==i)throw Error(r(188))}function V(i){var l=i.alternate;if(!l){if(l=F(i),l===null)throw Error(r(188));return l!==i?null:i}for(var f=i,h=l;;){var S=f.return;if(S===null)break;var T=S.alternate;if(T===null){if(h=S.return,h!==null){f=h;continue}break}if(S.child===T.child){for(T=S.child;T;){if(T===f)return M(S),i;if(T===h)return M(S),l;T=T.sibling}throw Error(r(188))}if(f.return!==h.return)f=S,h=T;else{for(var z=!1,q=S.child;q;){if(q===f){z=!0,f=S,h=T;break}if(q===h){z=!0,h=S,f=T;break}q=q.sibling}if(!z){for(q=T.child;q;){if(q===f){z=!0,f=T,h=S;break}if(q===h){z=!0,h=T,f=S;break}q=q.sibling}if(!z)throw Error(r(189))}}if(f.alternate!==h)throw Error(r(190))}if(f.tag!==3)throw Error(r(188));return f.stateNode.current===f?i:l}function U(i){var l=i.tag;if(l===5||l===26||l===27||l===6)return i;for(i=i.child;i!==null;){if(l=U(i),l!==null)return l;i=i.sibling}return null}var P=Array.isArray,K=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},le=[],X=-1;function J(i){return{current:i}}function he(i){0>X||(i.current=le[X],le[X]=null,X--)}function oe(i,l){X++,le[X]=i.current,i.current=l}var Se=J(null),we=J(null),De=J(null),Ce=J(null);function Ee(i,l){switch(oe(De,l),oe(we,i),oe(Se,null),i=l.nodeType,i){case 9:case 11:l=(l=l.documentElement)&&(l=l.namespaceURI)?wC(l):0;break;default:if(i=i===8?l.parentNode:l,l=i.tagName,i=i.namespaceURI)i=wC(i),l=xC(i,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}he(Se),oe(Se,l)}function te(){he(Se),he(we),he(De)}function fe(i){i.memoizedState!==null&&oe(Ce,i);var l=Se.current,f=xC(l,i.type);l!==f&&(oe(we,i),oe(Se,f))}function Te(i){we.current===i&&(he(Se),he(we)),Ce.current===i&&(he(Ce),Vl._currentValue=ee)}var be=Object.prototype.hasOwnProperty,xe=e.unstable_scheduleCallback,se=e.unstable_cancelCallback,ze=e.unstable_shouldYield,Be=e.unstable_requestPaint,me=e.unstable_now,Ne=e.unstable_getCurrentPriorityLevel,ne=e.unstable_ImmediatePriority,ce=e.unstable_UserBlockingPriority,_e=e.unstable_NormalPriority,Fe=e.unstable_LowPriority,We=e.unstable_IdlePriority,St=e.log,Tt=e.unstable_setDisableYieldValue,bt=null,et=null;function At(i){if(et&&typeof et.onCommitFiberRoot=="function")try{et.onCommitFiberRoot(bt,i,void 0,(i.current.flags&128)===128)}catch{}}function it(i){if(typeof St=="function"&&Tt(i),et&&typeof et.setStrictMode=="function")try{et.setStrictMode(bt,i)}catch{}}var Et=Math.clz32?Math.clz32:zt,Ht=Math.log,pn=Math.LN2;function zt(i){return i>>>=0,i===0?32:31-(Ht(i)/pn|0)|0}var or=128,$r=4194304;function Jt(i){var l=i&42;if(l!==0)return l;switch(i&-i){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: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 i&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function pa(i,l){var f=i.pendingLanes;if(f===0)return 0;var h=0,S=i.suspendedLanes,T=i.pingedLanes,z=i.warmLanes;i=i.finishedLanes!==0;var q=f&134217727;return q!==0?(f=q&~S,f!==0?h=Jt(f):(T&=q,T!==0?h=Jt(T):i||(z=q&~z,z!==0&&(h=Jt(z))))):(q=f&~S,q!==0?h=Jt(q):T!==0?h=Jt(T):i||(z=f&~z,z!==0&&(h=Jt(z)))),h===0?0:l!==0&&l!==h&&!(l&S)&&(S=h&-h,z=l&-l,S>=z||S===32&&(z&4194176)!==0)?l:h}function Xe(i,l){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&l)===0}function yt(i,l){switch(i){case 1:case 2:case 4:case 8:return l+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Nt(){var i=or;return or<<=1,!(or&4194176)&&(or=128),i}function Ln(){var i=$r;return $r<<=1,!($r&62914560)&&($r=4194304),i}function _n(i){for(var l=[],f=0;31>f;f++)l.push(i);return l}function Mn(i,l){i.pendingLanes|=l,l!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function ga(i,l,f,h,S,T){var z=i.pendingLanes;i.pendingLanes=f,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=f,i.entangledLanes&=f,i.errorRecoveryDisabledLanes&=f,i.shellSuspendCounter=0;var q=i.entanglements,Z=i.expirationTimes,ae=i.hiddenUpdates;for(f=z&~f;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),KH=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]*$"),xA={},kA={};function XH(i){return be.call(kA,i)?!0:be.call(xA,i)?!1:KH.test(i)?kA[i]=!0:(xA[i]=!0,!1)}function lc(i,l,f){if(XH(l))if(f===null)i.removeAttribute(l);else{switch(typeof f){case"undefined":case"function":case"symbol":i.removeAttribute(l);return;case"boolean":var h=l.toLowerCase().slice(0,5);if(h!=="data-"&&h!=="aria-"){i.removeAttribute(l);return}}i.setAttribute(l,""+f)}}function uc(i,l,f){if(f===null)i.removeAttribute(l);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(l);return}i.setAttribute(l,""+f)}}function ma(i,l,f,h){if(h===null)i.removeAttribute(f);else{switch(typeof h){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(f);return}i.setAttributeNS(l,f,""+h)}}function ir(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function TA(i){var l=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function ZH(i){var l=TA(i)?"checked":"value",f=Object.getOwnPropertyDescriptor(i.constructor.prototype,l),h=""+i[l];if(!i.hasOwnProperty(l)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var S=f.get,T=f.set;return Object.defineProperty(i,l,{configurable:!0,get:function(){return S.call(this)},set:function(z){h=""+z,T.call(this,z)}}),Object.defineProperty(i,l,{enumerable:f.enumerable}),{getValue:function(){return h},setValue:function(z){h=""+z},stopTracking:function(){i._valueTracker=null,delete i[l]}}}}function cc(i){i._valueTracker||(i._valueTracker=ZH(i))}function AA(i){if(!i)return!1;var l=i._valueTracker;if(!l)return!0;var f=l.getValue(),h="";return i&&(h=TA(i)?i.checked?"true":"false":i.value),i=h,i!==f?(l.setValue(i),!0):!1}function dc(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var QH=/[\n"\\]/g;function sr(i){return i.replace(QH,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function $p(i,l,f,h,S,T,z,q){i.name="",z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"?i.type=z:i.removeAttribute("type"),l!=null?z==="number"?(l===0&&i.value===""||i.value!=l)&&(i.value=""+ir(l)):i.value!==""+ir(l)&&(i.value=""+ir(l)):z!=="submit"&&z!=="reset"||i.removeAttribute("value"),l!=null?qp(i,z,ir(l)):f!=null?qp(i,z,ir(f)):h!=null&&i.removeAttribute("value"),S==null&&T!=null&&(i.defaultChecked=!!T),S!=null&&(i.checked=S&&typeof S!="function"&&typeof S!="symbol"),q!=null&&typeof q!="function"&&typeof q!="symbol"&&typeof q!="boolean"?i.name=""+ir(q):i.removeAttribute("name")}function RA(i,l,f,h,S,T,z,q){if(T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(i.type=T),l!=null||f!=null){if(!(T!=="submit"&&T!=="reset"||l!=null))return;f=f!=null?""+ir(f):"",l=l!=null?""+ir(l):f,q||l===i.value||(i.value=l),i.defaultValue=l}h=h??S,h=typeof h!="function"&&typeof h!="symbol"&&!!h,i.checked=q?i.checked:!!h,i.defaultChecked=!!h,z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"&&(i.name=z)}function qp(i,l,f){l==="number"&&dc(i.ownerDocument)===i||i.defaultValue===""+f||(i.defaultValue=""+f)}function Di(i,l,f,h){if(i=i.options,l){l={};for(var S=0;S=cl),UA=" ",jA=!1;function GA(i,l){switch(i){case"keyup":return A$.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function HA(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Pi=!1;function C$(i,l){switch(i){case"compositionend":return HA(l);case"keypress":return l.which!==32?null:(jA=!0,UA);case"textInput":return i=l.data,i===UA&&jA?null:i;default:return null}}function _$(i,l){if(Pi)return i==="compositionend"||!ng&&GA(i,l)?(i=LA(),pc=Zp=Ya=null,Pi=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1=l)return{node:f,offset:l-i};i=h}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=ZA(f)}}function JA(i,l){return i&&l?i===l?!0:i&&i.nodeType===3?!1:l&&l.nodeType===3?JA(i,l.parentNode):"contains"in i?i.contains(l):i.compareDocumentPosition?!!(i.compareDocumentPosition(l)&16):!1:!1}function e1(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var l=dc(i.document);l instanceof i.HTMLIFrameElement;){try{var f=typeof l.contentWindow.location.href=="string"}catch{f=!1}if(f)i=l.contentWindow;else break;l=dc(i.document)}return l}function og(i){var l=i&&i.nodeName&&i.nodeName.toLowerCase();return l&&(l==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||l==="textarea"||i.contentEditable==="true")}function F$(i,l){var f=e1(l);l=i.focusedElem;var h=i.selectionRange;if(f!==l&&l&&l.ownerDocument&&JA(l.ownerDocument.documentElement,l)){if(h!==null&&og(l)){if(i=h.start,f=h.end,f===void 0&&(f=i),"selectionStart"in l)l.selectionStart=i,l.selectionEnd=Math.min(f,l.value.length);else if(f=(i=l.ownerDocument||document)&&i.defaultView||window,f.getSelection){f=f.getSelection();var S=l.textContent.length,T=Math.min(h.start,S);h=h.end===void 0?T:Math.min(h.end,S),!f.extend&&T>h&&(S=h,h=T,T=S),S=QA(l,T);var z=QA(l,h);S&&z&&(f.rangeCount!==1||f.anchorNode!==S.node||f.anchorOffset!==S.offset||f.focusNode!==z.node||f.focusOffset!==z.offset)&&(i=i.createRange(),i.setStart(S.node,S.offset),f.removeAllRanges(),T>h?(f.addRange(i),f.extend(z.node,z.offset)):(i.setEnd(z.node,z.offset),f.addRange(i)))}}for(i=[],f=l;f=f.parentNode;)f.nodeType===1&&i.push({element:f,left:f.scrollLeft,top:f.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l=document.documentMode,Fi=null,ig=null,gl=null,sg=!1;function t1(i,l,f){var h=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;sg||Fi==null||Fi!==dc(h)||(h=Fi,"selectionStart"in h&&og(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),gl&&pl(gl,h)||(gl=h,h=ed(ig,"onSelect"),0>=z,S-=z,ba=1<<32-Et(l)+S|f<Qe?(ln=Ye,Ye=null):ln=Ye.sibling;var xt=de(ie,Ye,ue[Qe],ke);if(xt===null){Ye===null&&(Ye=ln);break}i&&Ye&&xt.alternate===null&&l(ie,Ye),re=T(xt,re,Qe),ct===null?je=xt:ct.sibling=xt,ct=xt,Ye=ln}if(Qe===ue.length)return f(ie,Ye),wt&&Go(ie,Qe),je;if(Ye===null){for(;QeQe?(ln=Ye,Ye=null):ln=Ye.sibling;var ho=de(ie,Ye,xt.value,ke);if(ho===null){Ye===null&&(Ye=ln);break}i&&Ye&&ho.alternate===null&&l(ie,Ye),re=T(ho,re,Qe),ct===null?je=ho:ct.sibling=ho,ct=ho,Ye=ln}if(xt.done)return f(ie,Ye),wt&&Go(ie,Qe),je;if(Ye===null){for(;!xt.done;Qe++,xt=ue.next())xt=Ae(ie,xt.value,ke),xt!==null&&(re=T(xt,re,Qe),ct===null?je=xt:ct.sibling=xt,ct=xt);return wt&&Go(ie,Qe),je}for(Ye=h(Ye);!xt.done;Qe++,xt=ue.next())xt=ge(Ye,ie,Qe,xt.value,ke),xt!==null&&(i&&xt.alternate!==null&&Ye.delete(xt.key===null?Qe:xt.key),re=T(xt,re,Qe),ct===null?je=xt:ct.sibling=xt,ct=xt);return i&&Ye.forEach(function(tq){return l(ie,tq)}),wt&&Go(ie,Qe),je}function Vt(ie,re,ue,ke){if(typeof ue=="object"&&ue!==null&&ue.type===c&&ue.key===null&&(ue=ue.props.children),typeof ue=="object"&&ue!==null){switch(ue.$$typeof){case s:e:{for(var je=ue.key;re!==null;){if(re.key===je){if(je=ue.type,je===c){if(re.tag===7){f(ie,re.sibling),ke=S(re,ue.props.children),ke.return=ie,ie=ke;break e}}else if(re.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===k&&y1(je)===re.type){f(ie,re.sibling),ke=S(re,ue.props),El(ke,ue),ke.return=ie,ie=ke;break e}f(ie,re);break}else l(ie,re);re=re.sibling}ue.type===c?(ke=Jo(ue.props.children,ie.mode,ke,ue.key),ke.return=ie,ie=ke):(ke=$c(ue.type,ue.key,ue.props,null,ie.mode,ke),El(ke,ue),ke.return=ie,ie=ke)}return z(ie);case u:e:{for(je=ue.key;re!==null;){if(re.key===je)if(re.tag===4&&re.stateNode.containerInfo===ue.containerInfo&&re.stateNode.implementation===ue.implementation){f(ie,re.sibling),ke=S(re,ue.children||[]),ke.return=ie,ie=ke;break e}else{f(ie,re);break}else l(ie,re);re=re.sibling}ke=uh(ue,ie.mode,ke),ke.return=ie,ie=ke}return z(ie);case k:return je=ue._init,ue=je(ue._payload),Vt(ie,re,ue,ke)}if(P(ue))return qe(ie,re,ue,ke);if(C(ue)){if(je=C(ue),typeof je!="function")throw Error(r(150));return ue=je.call(ue),nt(ie,re,ue,ke)}if(typeof ue.then=="function")return Vt(ie,re,Tc(ue),ke);if(ue.$$typeof===b)return Vt(ie,re,jc(ie,ue),ke);Ac(ie,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint"?(ue=""+ue,re!==null&&re.tag===6?(f(ie,re.sibling),ke=S(re,ue),ke.return=ie,ie=ke):(f(ie,re),ke=lh(ue,ie.mode,ke),ke.return=ie,ie=ke),z(ie)):f(ie,re)}return function(ie,re,ue,ke){try{Sl=0;var je=Vt(ie,re,ue,ke);return Hi=null,je}catch(Ye){if(Ye===yl)throw Ye;var ct=hr(29,Ye,null,ie.mode);return ct.lanes=ke,ct.return=ie,ct}finally{}}}var $o=v1(!0),S1=v1(!1),$i=J(null),Rc=J(0);function E1(i,l){i=_a,oe(Rc,i),oe($i,l),_a=i|l.baseLanes}function hg(){oe(Rc,_a),oe($i,$i.current)}function mg(){_a=Rc.current,he($i),he(Rc)}var fr=J(null),Vr=null;function Xa(i){var l=i.alternate;oe(en,en.current&1),oe(fr,i),Vr===null&&(l===null||$i.current!==null||l.memoizedState!==null)&&(Vr=i)}function w1(i){if(i.tag===22){if(oe(en,en.current),oe(fr,i),Vr===null){var l=i.alternate;l!==null&&l.memoizedState!==null&&(Vr=i)}}else Za()}function Za(){oe(en,en.current),oe(fr,fr.current)}function va(i){he(fr),Vr===i&&(Vr=null),he(en)}var en=J(0);function Cc(i){for(var l=i;l!==null;){if(l.tag===13){var f=l.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if(l.flags&128)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===i)break;for(;l.sibling===null;){if(l.return===null||l.return===i)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var G$=typeof AbortController<"u"?AbortController:function(){var i=[],l=this.signal={aborted:!1,addEventListener:function(f,h){i.push(h)}};this.abort=function(){l.aborted=!0,i.forEach(function(f){return f()})}},H$=e.unstable_scheduleCallback,$$=e.unstable_NormalPriority,tn={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function bg(){return{controller:new G$,data:new Map,refCount:0}}function wl(i){i.refCount--,i.refCount===0&&H$($$,function(){i.controller.abort()})}var xl=null,yg=0,qi=0,Vi=null;function q$(i,l){if(xl===null){var f=xl=[];yg=0,qi=kh(),Vi={status:"pending",value:void 0,then:function(h){f.push(h)}}}return yg++,l.then(x1,x1),l}function x1(){if(--yg===0&&xl!==null){Vi!==null&&(Vi.status="fulfilled");var i=xl;xl=null,qi=0,Vi=null;for(var l=0;lT?T:8;var z=D.T,q={};D.T=q,Mg(i,!1,l,f);try{var Z=S(),ae=D.S;if(ae!==null&&ae(q,Z),Z!==null&&typeof Z=="object"&&typeof Z.then=="function"){var ye=V$(Z,h);Al(i,l,ye,Qn(i))}else Al(i,l,h,Qn(i))}catch(Ae){Al(i,l,{then:function(){},status:"rejected",reason:Ae},Qn())}finally{K.p=T,D.T=z}}function Z$(){}function Ig(i,l,f,h){if(i.tag!==5)throw Error(r(476));var S=eR(i).queue;J1(i,S,l,ee,f===null?Z$:function(){return tR(i),f(h)})}function eR(i){var l=i.memoizedState;if(l!==null)return l;l={memoizedState:ee,baseState:ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sa,lastRenderedState:ee},next:null};var f={};return l.next={memoizedState:f,baseState:f,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Sa,lastRenderedState:f},next:null},i.memoizedState=l,i=i.alternate,i!==null&&(i.memoizedState=l),l}function tR(i){var l=eR(i).next.queue;Al(i,l,{},Qn())}function Lg(){return En(Vl)}function nR(){return Xt().memoizedState}function rR(){return Xt().memoizedState}function Q$(i){for(var l=i.return;l!==null;){switch(l.tag){case 24:case 3:var f=Qn();i=no(f);var h=ro(l,i,f);h!==null&&(On(h,l,f),_l(h,l,f)),l={cache:bg()},i.payload=l;return}l=l.return}}function J$(i,l,f){var h=Qn();f={lane:h,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null},Fc(i)?oR(l,f):(f=cg(i,l,f,h),f!==null&&(On(f,i,h),iR(f,l,h)))}function aR(i,l,f){var h=Qn();Al(i,l,f,h)}function Al(i,l,f,h){var S={lane:h,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null};if(Fc(i))oR(l,S);else{var T=i.alternate;if(i.lanes===0&&(T===null||T.lanes===0)&&(T=l.lastRenderedReducer,T!==null))try{var z=l.lastRenderedState,q=T(z,f);if(S.hasEagerState=!0,S.eagerState=q,Yn(q,z))return Sc(i,l,S,0),Lt===null&&vc(),!1}catch{}finally{}if(f=cg(i,l,S,h),f!==null)return On(f,i,h),iR(f,l,h),!0}return!1}function Mg(i,l,f,h){if(h={lane:2,revertLane:kh(),action:h,hasEagerState:!1,eagerState:null,next:null},Fc(i)){if(l)throw Error(r(479))}else l=cg(i,f,h,2),l!==null&&On(l,i,2)}function Fc(i){var l=i.alternate;return i===ut||l!==null&&l===ut}function oR(i,l){Wi=Nc=!0;var f=i.pending;f===null?l.next=l:(l.next=f.next,f.next=l),i.pending=l}function iR(i,l,f){if(f&4194176){var h=l.lanes;h&=i.pendingLanes,f|=h,l.lanes=f,Ar(i,f)}}var Wr={readContext:En,use:Ic,useCallback:Wt,useContext:Wt,useEffect:Wt,useImperativeHandle:Wt,useLayoutEffect:Wt,useInsertionEffect:Wt,useMemo:Wt,useReducer:Wt,useRef:Wt,useState:Wt,useDebugValue:Wt,useDeferredValue:Wt,useTransition:Wt,useSyncExternalStore:Wt,useId:Wt};Wr.useCacheRefresh=Wt,Wr.useMemoCache=Wt,Wr.useHostTransitionStatus=Wt,Wr.useFormState=Wt,Wr.useActionState=Wt,Wr.useOptimistic=Wt;var Wo={readContext:En,use:Ic,useCallback:function(i,l){return Bn().memoizedState=[i,l===void 0?null:l],i},useContext:En,useEffect:q1,useImperativeHandle:function(i,l,f){f=f!=null?f.concat([i]):null,Mc(4194308,4,Y1.bind(null,l,i),f)},useLayoutEffect:function(i,l){return Mc(4194308,4,i,l)},useInsertionEffect:function(i,l){Mc(4,2,i,l)},useMemo:function(i,l){var f=Bn();l=l===void 0?null:l;var h=i();if(Vo){it(!0);try{i()}finally{it(!1)}}return f.memoizedState=[h,l],h},useReducer:function(i,l,f){var h=Bn();if(f!==void 0){var S=f(l);if(Vo){it(!0);try{f(l)}finally{it(!1)}}}else S=l;return h.memoizedState=h.baseState=S,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:S},h.queue=i,i=i.dispatch=J$.bind(null,ut,i),[h.memoizedState,i]},useRef:function(i){var l=Bn();return i={current:i},l.memoizedState=i},useState:function(i){i=Cg(i);var l=i.queue,f=aR.bind(null,ut,l);return l.dispatch=f,[i.memoizedState,f]},useDebugValue:Og,useDeferredValue:function(i,l){var f=Bn();return Dg(f,i,l)},useTransition:function(){var i=Cg(!1);return i=J1.bind(null,ut,i.queue,!0,!1),Bn().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,l,f){var h=ut,S=Bn();if(wt){if(f===void 0)throw Error(r(407));f=f()}else{if(f=l(),Lt===null)throw Error(r(349));vt&60||_1(h,l,f)}S.memoizedState=f;var T={value:f,getSnapshot:l};return S.queue=T,q1(O1.bind(null,h,T,i),[i]),h.flags|=2048,Ki(9,N1.bind(null,h,T,f,l),{destroy:void 0},null),f},useId:function(){var i=Bn(),l=Lt.identifierPrefix;if(wt){var f=ya,h=ba;f=(h&~(1<<32-Et(h)-1)).toString(32)+f,l=":"+l+"R"+f,f=Oc++,0 title"))),mn(T,h,f),T[Sn]=i,an(T),h=T;break e;case"link":var z=IC("link","href",S).get(h+(f.href||""));if(z){for(var q=0;q<\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof h.is=="string"?S.createElement("select",{is:h.is}):S.createElement("select"),h.multiple?i.multiple=!0:h.size&&(i.size=h.size);break;default:i=typeof h.is=="string"?S.createElement(f,{is:h.is}):S.createElement(f)}}i[Sn]=l,i[Fn]=h;e:for(S=l.child;S!==null;){if(S.tag===5||S.tag===6)i.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===l)break e;for(;S.sibling===null;){if(S.return===null||S.return===l)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}l.stateNode=i;e:switch(mn(i,f,h),f){case"button":case"input":case"select":case"textarea":i=!!h.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&Ra(l)}}return Bt(l),l.flags&=-16777217,null;case 6:if(i&&l.stateNode!=null)i.memoizedProps!==h&&Ra(l);else{if(typeof h!="string"&&l.stateNode===null)throw Error(r(166));if(i=De.current,hl(l)){if(i=l.stateNode,f=l.memoizedProps,h=null,S=Nn,S!==null)switch(S.tag){case 27:case 5:h=S.memoizedProps}i[Sn]=l,i=!!(i.nodeValue===f||h!==null&&h.suppressHydrationWarning===!0||EC(i.nodeValue,f)),i||Ho(l)}else i=nd(i).createTextNode(h),i[Sn]=l,l.stateNode=i}return Bt(l),null;case 13:if(h=l.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(S=hl(l),h!==null&&h.dehydrated!==null){if(i===null){if(!S)throw Error(r(318));if(S=l.memoizedState,S=S!==null?S.dehydrated:null,!S)throw Error(r(317));S[Sn]=l}else ml(),!(l.flags&128)&&(l.memoizedState=null),l.flags|=4;Bt(l),S=!1}else Cr!==null&&(bh(Cr),Cr=null),S=!0;if(!S)return l.flags&256?(va(l),l):(va(l),null)}if(va(l),l.flags&128)return l.lanes=f,l;if(f=h!==null,i=i!==null&&i.memoizedState!==null,f){h=l.child,S=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(S=h.alternate.memoizedState.cachePool.pool);var T=null;h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(T=h.memoizedState.cachePool.pool),T!==S&&(h.flags|=2048)}return f!==i&&f&&(l.child.flags|=8192),qc(l,l.updateQueue),Bt(l),null;case 4:return te(),i===null&&Ch(l.stateNode.containerInfo),Bt(l),null;case 10:return xa(l.type),Bt(l),null;case 19:if(he(en),S=l.memoizedState,S===null)return Bt(l),null;if(h=(l.flags&128)!==0,T=S.rendering,T===null)if(h)Pl(S,!1);else{if(qt!==0||i!==null&&i.flags&128)for(i=l.child;i!==null;){if(T=Cc(i),T!==null){for(l.flags|=128,Pl(S,!1),i=T.updateQueue,l.updateQueue=i,qc(l,i),l.subtreeFlags=0,i=f,f=l.child;f!==null;)KR(f,i),f=f.sibling;return oe(en,en.current&1|2),l.child}i=i.sibling}S.tail!==null&&me()>Vc&&(l.flags|=128,h=!0,Pl(S,!1),l.lanes=4194304)}else{if(!h)if(i=Cc(T),i!==null){if(l.flags|=128,h=!0,i=i.updateQueue,l.updateQueue=i,qc(l,i),Pl(S,!0),S.tail===null&&S.tailMode==="hidden"&&!T.alternate&&!wt)return Bt(l),null}else 2*me()-S.renderingStartTime>Vc&&f!==536870912&&(l.flags|=128,h=!0,Pl(S,!1),l.lanes=4194304);S.isBackwards?(T.sibling=l.child,l.child=T):(i=S.last,i!==null?i.sibling=T:l.child=T,S.last=T)}return S.tail!==null?(l=S.tail,S.rendering=l,S.tail=l.sibling,S.renderingStartTime=me(),l.sibling=null,i=en.current,oe(en,h?i&1|2:i&1),l):(Bt(l),null);case 22:case 23:return va(l),mg(),h=l.memoizedState!==null,i!==null?i.memoizedState!==null!==h&&(l.flags|=8192):h&&(l.flags|=8192),h?f&536870912&&!(l.flags&128)&&(Bt(l),l.subtreeFlags&6&&(l.flags|=8192)):Bt(l),f=l.updateQueue,f!==null&&qc(l,f.retryQueue),f=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(f=i.memoizedState.cachePool.pool),h=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(h=l.memoizedState.cachePool.pool),h!==f&&(l.flags|=2048),i!==null&&he(qo),null;case 24:return f=null,i!==null&&(f=i.memoizedState.cache),l.memoizedState.cache!==f&&(l.flags|=2048),xa(tn),Bt(l),null;case 25:return null}throw Error(r(156,l.tag))}function i6(i,l){switch(fg(l),l.tag){case 1:return i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 3:return xa(tn),te(),i=l.flags,i&65536&&!(i&128)?(l.flags=i&-65537|128,l):null;case 26:case 27:case 5:return Te(l),null;case 13:if(va(l),i=l.memoizedState,i!==null&&i.dehydrated!==null){if(l.alternate===null)throw Error(r(340));ml()}return i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 19:return he(en),null;case 4:return te(),null;case 10:return xa(l.type),null;case 22:case 23:return va(l),mg(),i!==null&&he(qo),i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 24:return xa(tn),null;case 25:return null;default:return null}}function QR(i,l){switch(fg(l),l.tag){case 3:xa(tn),te();break;case 26:case 27:case 5:Te(l);break;case 4:te();break;case 13:va(l);break;case 19:he(en);break;case 10:xa(l.type);break;case 22:case 23:va(l),mg(),i!==null&&he(qo);break;case 24:xa(tn)}}var s6={getCacheForType:function(i){var l=En(tn),f=l.data.get(i);return f===void 0&&(f=i(),l.data.set(i,f)),f}},l6=typeof WeakMap=="function"?WeakMap:Map,Ut=0,Lt=null,ft=null,vt=0,Mt=0,Zn=null,Ca=!1,Ji=!1,ch=!1,_a=0,qt=0,lo=0,ei=0,dh=0,mr=0,es=0,Fl=null,Yr=null,fh=!1,ph=0,Vc=1/0,Wc=null,uo=null,Yc=!1,ti=null,zl=0,gh=0,hh=null,Bl=0,mh=null;function Qn(){if(Ut&2&&vt!==0)return vt&-vt;if(D.T!==null){var i=qi;return i!==0?i:kh()}return vA()}function JR(){mr===0&&(mr=!(vt&536870912)||wt?Nt():536870912);var i=fr.current;return i!==null&&(i.flags|=32),mr}function On(i,l,f){(i===Lt&&Mt===2||i.cancelPendingCommit!==null)&&(ts(i,0),Na(i,vt,mr,!1)),Mn(i,f),(!(Ut&2)||i!==Lt)&&(i===Lt&&(!(Ut&2)&&(ei|=f),qt===4&&Na(i,vt,mr,!1)),Kr(i))}function eC(i,l,f){if(Ut&6)throw Error(r(327));var h=!f&&(l&60)===0&&(l&i.expiredLanes)===0||Xe(i,l),S=h?d6(i,l):Sh(i,l,!0),T=h;do{if(S===0){Ji&&!h&&Na(i,l,0,!1);break}else if(S===6)Na(i,l,0,!Ca);else{if(f=i.current.alternate,T&&!u6(f)){S=Sh(i,l,!1),T=!1;continue}if(S===2){if(T=l,i.errorRecoveryDisabledLanes&T)var z=0;else z=i.pendingLanes&-536870913,z=z!==0?z:z&536870912?536870912:0;if(z!==0){l=z;e:{var q=i;S=Fl;var Z=q.current.memoizedState.isDehydrated;if(Z&&(ts(q,z).flags|=256),z=Sh(q,z,!1),z!==2){if(ch&&!Z){q.errorRecoveryDisabledLanes|=T,ei|=T,S=4;break e}T=Yr,Yr=S,T!==null&&bh(T)}S=z}if(T=!1,S!==2)continue}}if(S===1){ts(i,0),Na(i,l,0,!0);break}e:{switch(h=i,S){case 0:case 1:throw Error(r(345));case 4:if((l&4194176)===l){Na(h,l,mr,!Ca);break e}break;case 2:Yr=null;break;case 3:case 5:break;default:throw Error(r(329))}if(h.finishedWork=f,h.finishedLanes=l,(l&62914560)===l&&(T=ph+300-me(),10f?32:f,D.T=null,ti===null)var T=!1;else{f=hh,hh=null;var z=ti,q=zl;if(ti=null,zl=0,Ut&6)throw Error(r(331));var Z=Ut;if(Ut|=4,WR(z.current),$R(z,z.current,q,f),Ut=Z,Ul(0,!1),et&&typeof et.onPostCommitFiberRoot=="function")try{et.onPostCommitFiberRoot(bt,z)}catch{}T=!0}return T}finally{K.p=S,D.T=h,uC(i,l)}}return!1}function cC(i,l,f){l=ur(f,l),l=zg(i.stateNode,l,2),i=ro(i,l,2),i!==null&&(Mn(i,2),Kr(i))}function Ot(i,l,f){if(i.tag===3)cC(i,i,f);else for(;l!==null;){if(l.tag===3){cC(l,i,f);break}else if(l.tag===1){var h=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(uo===null||!uo.has(h))){i=ur(f,i),f=pR(2),h=ro(l,f,2),h!==null&&(gR(f,h,l,i),Mn(h,2),Kr(h));break}}l=l.return}}function Eh(i,l,f){var h=i.pingCache;if(h===null){h=i.pingCache=new l6;var S=new Set;h.set(l,S)}else S=h.get(l),S===void 0&&(S=new Set,h.set(l,S));S.has(f)||(ch=!0,S.add(f),i=g6.bind(null,i,l,f),l.then(i,i))}function g6(i,l,f){var h=i.pingCache;h!==null&&h.delete(l),i.pingedLanes|=i.suspendedLanes&f,i.warmLanes&=~f,Lt===i&&(vt&f)===f&&(qt===4||qt===3&&(vt&62914560)===vt&&300>me()-ph?!(Ut&2)&&ts(i,0):dh|=f,es===vt&&(es=0)),Kr(i)}function dC(i,l){l===0&&(l=Ln()),i=Ka(i,l),i!==null&&(Mn(i,l),Kr(i))}function h6(i){var l=i.memoizedState,f=0;l!==null&&(f=l.retryLane),dC(i,f)}function m6(i,l){var f=0;switch(i.tag){case 13:var h=i.stateNode,S=i.memoizedState;S!==null&&(f=S.retryLane);break;case 19:h=i.stateNode;break;case 22:h=i.stateNode._retryCache;break;default:throw Error(r(314))}h!==null&&h.delete(l),dC(i,f)}function b6(i,l){return xe(i,l)}var Zc=null,as=null,wh=!1,Qc=!1,xh=!1,ni=0;function Kr(i){i!==as&&i.next===null&&(as===null?Zc=as=i:as=as.next=i),Qc=!0,wh||(wh=!0,v6(y6))}function Ul(i,l){if(!xh&&Qc){xh=!0;do for(var f=!1,h=Zc;h!==null;){if(i!==0){var S=h.pendingLanes;if(S===0)var T=0;else{var z=h.suspendedLanes,q=h.pingedLanes;T=(1<<31-Et(42|i)+1)-1,T&=S&~(z&~q),T=T&201326677?T&201326677|1:T?T|2:0}T!==0&&(f=!0,gC(h,T))}else T=vt,T=pa(h,h===Lt?T:0),!(T&3)||Xe(h,T)||(f=!0,gC(h,T));h=h.next}while(f);xh=!1}}function y6(){Qc=wh=!1;var i=0;ni!==0&&(R6()&&(i=ni),ni=0);for(var l=me(),f=null,h=Zc;h!==null;){var S=h.next,T=fC(h,l);T===0?(h.next=null,f===null?Zc=S:f.next=S,S===null&&(as=f)):(f=h,(i!==0||T&3)&&(Qc=!0)),h=S}Ul(i)}function fC(i,l){for(var f=i.suspendedLanes,h=i.pingedLanes,S=i.expirationTimes,T=i.pendingLanes&-62914561;0"u"?null:document;function _C(i,l,f){var h=is;if(h&&typeof l=="string"&&l){var S=sr(l);S='link[rel="'+i+'"][href="'+S+'"]',typeof f=="string"&&(S+='[crossorigin="'+f+'"]'),CC.has(S)||(CC.add(S),i={rel:i,crossOrigin:f,href:l},h.querySelector(S)===null&&(l=h.createElement("link"),mn(l,"link",i),an(l),h.head.appendChild(l)))}}function M6(i){Oa.D(i),_C("dns-prefetch",i,null)}function P6(i,l){Oa.C(i,l),_C("preconnect",i,l)}function F6(i,l,f){Oa.L(i,l,f);var h=is;if(h&&i&&l){var S='link[rel="preload"][as="'+sr(l)+'"]';l==="image"&&f&&f.imageSrcSet?(S+='[imagesrcset="'+sr(f.imageSrcSet)+'"]',typeof f.imageSizes=="string"&&(S+='[imagesizes="'+sr(f.imageSizes)+'"]')):S+='[href="'+sr(i)+'"]';var T=S;switch(l){case"style":T=ss(i);break;case"script":T=ls(i)}br.has(T)||(i=I({rel:"preload",href:l==="image"&&f&&f.imageSrcSet?void 0:i,as:l},f),br.set(T,i),h.querySelector(S)!==null||l==="style"&&h.querySelector(Hl(T))||l==="script"&&h.querySelector($l(T))||(l=h.createElement("link"),mn(l,"link",i),an(l),h.head.appendChild(l)))}}function z6(i,l){Oa.m(i,l);var f=is;if(f&&i){var h=l&&typeof l.as=="string"?l.as:"script",S='link[rel="modulepreload"][as="'+sr(h)+'"][href="'+sr(i)+'"]',T=S;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":T=ls(i)}if(!br.has(T)&&(i=I({rel:"modulepreload",href:i},l),br.set(T,i),f.querySelector(S)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(f.querySelector($l(T)))return}h=f.createElement("link"),mn(h,"link",i),an(h),f.head.appendChild(h)}}}function B6(i,l,f){Oa.S(i,l,f);var h=is;if(h&&i){var S=Ni(h).hoistableStyles,T=ss(i);l=l||"default";var z=S.get(T);if(!z){var q={loading:0,preload:null};if(z=h.querySelector(Hl(T)))q.loading=5;else{i=I({rel:"stylesheet",href:i,"data-precedence":l},f),(f=br.get(T))&&Fh(i,f);var Z=z=h.createElement("link");an(Z),mn(Z,"link",i),Z._p=new Promise(function(ae,ye){Z.onload=ae,Z.onerror=ye}),Z.addEventListener("load",function(){q.loading|=1}),Z.addEventListener("error",function(){q.loading|=2}),q.loading|=4,ad(z,l,h)}z={type:"stylesheet",instance:z,count:1,state:q},S.set(T,z)}}}function U6(i,l){Oa.X(i,l);var f=is;if(f&&i){var h=Ni(f).hoistableScripts,S=ls(i),T=h.get(S);T||(T=f.querySelector($l(S)),T||(i=I({src:i,async:!0},l),(l=br.get(S))&&zh(i,l),T=f.createElement("script"),an(T),mn(T,"link",i),f.head.appendChild(T)),T={type:"script",instance:T,count:1,state:null},h.set(S,T))}}function j6(i,l){Oa.M(i,l);var f=is;if(f&&i){var h=Ni(f).hoistableScripts,S=ls(i),T=h.get(S);T||(T=f.querySelector($l(S)),T||(i=I({src:i,async:!0,type:"module"},l),(l=br.get(S))&&zh(i,l),T=f.createElement("script"),an(T),mn(T,"link",i),f.head.appendChild(T)),T={type:"script",instance:T,count:1,state:null},h.set(S,T))}}function NC(i,l,f,h){var S=(S=De.current)?rd(S):null;if(!S)throw Error(r(446));switch(i){case"meta":case"title":return null;case"style":return typeof f.precedence=="string"&&typeof f.href=="string"?(l=ss(f.href),f=Ni(S).hoistableStyles,h=f.get(l),h||(h={type:"style",instance:null,count:0,state:null},f.set(l,h)),h):{type:"void",instance:null,count:0,state:null};case"link":if(f.rel==="stylesheet"&&typeof f.href=="string"&&typeof f.precedence=="string"){i=ss(f.href);var T=Ni(S).hoistableStyles,z=T.get(i);if(z||(S=S.ownerDocument||S,z={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},T.set(i,z),(T=S.querySelector(Hl(i)))&&!T._p&&(z.instance=T,z.state.loading=5),br.has(i)||(f={rel:"preload",as:"style",href:f.href,crossOrigin:f.crossOrigin,integrity:f.integrity,media:f.media,hrefLang:f.hrefLang,referrerPolicy:f.referrerPolicy},br.set(i,f),T||G6(S,i,f,z.state))),l&&h===null)throw Error(r(528,""));return z}if(l&&h!==null)throw Error(r(529,""));return null;case"script":return l=f.async,f=f.src,typeof f=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=ls(f),f=Ni(S).hoistableScripts,h=f.get(l),h||(h={type:"script",instance:null,count:0,state:null},f.set(l,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,i))}}function ss(i){return'href="'+sr(i)+'"'}function Hl(i){return'link[rel="stylesheet"]['+i+"]"}function OC(i){return I({},i,{"data-precedence":i.precedence,precedence:null})}function G6(i,l,f,h){i.querySelector('link[rel="preload"][as="style"]['+l+"]")?h.loading=1:(l=i.createElement("link"),h.preload=l,l.addEventListener("load",function(){return h.loading|=1}),l.addEventListener("error",function(){return h.loading|=2}),mn(l,"link",f),an(l),i.head.appendChild(l))}function ls(i){return'[src="'+sr(i)+'"]'}function $l(i){return"script[async]"+i}function DC(i,l,f){if(l.count++,l.instance===null)switch(l.type){case"style":var h=i.querySelector('style[data-href~="'+sr(f.href)+'"]');if(h)return l.instance=h,an(h),h;var S=I({},f,{"data-href":f.href,"data-precedence":f.precedence,href:null,precedence:null});return h=(i.ownerDocument||i).createElement("style"),an(h),mn(h,"style",S),ad(h,f.precedence,i),l.instance=h;case"stylesheet":S=ss(f.href);var T=i.querySelector(Hl(S));if(T)return l.state.loading|=4,l.instance=T,an(T),T;h=OC(f),(S=br.get(S))&&Fh(h,S),T=(i.ownerDocument||i).createElement("link"),an(T);var z=T;return z._p=new Promise(function(q,Z){z.onload=q,z.onerror=Z}),mn(T,"link",h),l.state.loading|=4,ad(T,f.precedence,i),l.instance=T;case"script":return T=ls(f.src),(S=i.querySelector($l(T)))?(l.instance=S,an(S),S):(h=f,(S=br.get(T))&&(h=I({},f),zh(h,S)),i=i.ownerDocument||i,S=i.createElement("script"),an(S),mn(S,"link",h),i.head.appendChild(S),l.instance=S);case"void":return null;default:throw Error(r(443,l.type))}else l.type==="stylesheet"&&!(l.state.loading&4)&&(h=l.instance,l.state.loading|=4,ad(h,f.precedence,i));return l.instance}function ad(i,l,f){for(var h=f.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),S=h.length?h[h.length-1]:null,T=S,z=0;z title"):null)}function H6(i,l,f){if(f===1||l.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return i=l.disabled,typeof l.precedence=="string"&&i==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function MC(i){return!(i.type==="stylesheet"&&!(i.state.loading&3))}var ql=null;function $6(){}function q6(i,l,f){if(ql===null)throw Error(r(475));var h=ql;if(l.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&!(l.state.loading&4)){if(l.instance===null){var S=ss(f.href),T=i.querySelector(Hl(S));if(T){i=T._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(h.count++,h=id.bind(h),i.then(h,h)),l.state.loading|=4,l.instance=T,an(T);return}T=i.ownerDocument||i,f=OC(f),(S=br.get(S))&&Fh(f,S),T=T.createElement("link"),an(T);var z=T;z._p=new Promise(function(q,Z){z.onload=q,z.onerror=Z}),mn(T,"link",f),l.instance=T}h.stylesheets===null&&(h.stylesheets=new Map),h.stylesheets.set(l,i),(i=l.state.preload)&&!(l.state.loading&3)&&(h.count++,l=id.bind(h),i.addEventListener("load",l),i.addEventListener("error",l))}}function V6(){if(ql===null)throw Error(r(475));var i=ql;return i.stylesheets&&i.count===0&&Bh(i,i.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Yh.exports=pq(),Yh.exports}var hq=gq(),Jl={},r_;function mq(){if(r_)return Jl;r_=1,Object.defineProperty(Jl,"__esModule",{value:!0}),Jl.parse=s,Jl.serialize=d;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,r=/^[\u0020-\u003A\u003D-\u007E]*$/,a=Object.prototype.toString,o=(()=>{const m=function(){};return m.prototype=Object.create(null),m})();function s(m,b){const y=new o,v=m.length;if(v<2)return y;const x=(b==null?void 0:b.decode)||p;let A=0;do{const k=m.indexOf("=",A);if(k===-1)break;const R=m.indexOf(";",A),O=R===-1?v:R;if(k>O){A=m.lastIndexOf(";",k-1)+1;continue}const N=u(m,A,k),C=c(m,k,N),_=m.slice(N,C);if(y[_]===void 0){let L=u(m,k+1,O),D=c(m,O,L);const I=x(m.slice(L,D));y[_]=I}A=O+1}while(Ay;){const v=m.charCodeAt(--b);if(v!==32&&v!==9)return b+1}return y}function d(m,b,y){const v=(y==null?void 0:y.encode)||encodeURIComponent;if(!e.test(m))throw new TypeError(`argument name is invalid: ${m}`);const x=v(b);if(!t.test(x))throw new TypeError(`argument val is invalid: ${b}`);let A=m+"="+x;if(!y)return A;if(y.maxAge!==void 0){if(!Number.isInteger(y.maxAge))throw new TypeError(`option maxAge is invalid: ${y.maxAge}`);A+="; Max-Age="+y.maxAge}if(y.domain){if(!n.test(y.domain))throw new TypeError(`option domain is invalid: ${y.domain}`);A+="; Domain="+y.domain}if(y.path){if(!r.test(y.path))throw new TypeError(`option path is invalid: ${y.path}`);A+="; Path="+y.path}if(y.expires){if(!g(y.expires)||!Number.isFinite(y.expires.valueOf()))throw new TypeError(`option expires is invalid: ${y.expires}`);A+="; Expires="+y.expires.toUTCString()}if(y.httpOnly&&(A+="; HttpOnly"),y.secure&&(A+="; Secure"),y.partitioned&&(A+="; Partitioned"),y.priority)switch(typeof y.priority=="string"?y.priority.toLowerCase():void 0){case"low":A+="; Priority=Low";break;case"medium":A+="; Priority=Medium";break;case"high":A+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${y.priority}`)}if(y.sameSite)switch(typeof y.sameSite=="string"?y.sameSite.toLowerCase():y.sameSite){case!0:case"strict":A+="; SameSite=Strict";break;case"lax":A+="; SameSite=Lax";break;case"none":A+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${y.sameSite}`)}return A}function p(m){if(m.indexOf("%")===-1)return m;try{return decodeURIComponent(m)}catch{return m}}function g(m){return a.call(m)==="[object Date]"}return Jl}mq();/** * react-router v7.3.0 * * Copyright (c) Remix Software Inc. @@ -55,18 +55,18 @@ Error generating stack: `+f.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */var a_="popstate";function bq(e={}){function t(a,o){let{pathname:s="/",search:u="",hash:c=""}=wi(a.location.hash.substring(1));return!s.startsWith("/")&&!s.startsWith(".")&&(s="/"+s),lk("",{pathname:s,search:u,hash:c},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(a,o){let s=a.document.querySelector("base"),u="";if(s&&s.getAttribute("href")){let c=a.location.href,d=c.indexOf("#");u=d===-1?c:c.slice(0,d)}return u+"#"+(typeof o=="string"?o:Su(o))}function r(a,o){zr(a.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(o)})`)}return vq(t,n,r,e)}function Gt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function zr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function yq(){return Math.random().toString(36).substring(2,10)}function o_(e,t){return{usr:e.state,key:e.key,idx:t}}function lk(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?wi(t):t,state:n,key:t&&t.key||r||yq()}}function Su({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function wi(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function vq(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:o=!1}=r,s=a.history,u="POP",c=null,d=p();d==null&&(d=0,s.replaceState({...s.state,idx:d},""));function p(){return(s.state||{idx:null}).idx}function g(){u="POP";let x=p(),A=x==null?null:x-d;d=x,c&&c({action:u,location:v.location,delta:A})}function m(x,A){u="PUSH";let k=lk(v.location,x,A);n&&n(k,x),d=p()+1;let C=o_(k,d),O=v.createHref(k);try{s.pushState(C,"",O)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;a.location.assign(O)}o&&c&&c({action:u,location:v.location,delta:1})}function b(x,A){u="REPLACE";let k=lk(v.location,x,A);n&&n(k,x),d=p();let C=o_(k,d),O=v.createHref(k);s.replaceState(C,"",O),o&&c&&c({action:u,location:v.location,delta:0})}function y(x){let A=a.location.origin!=="null"?a.location.origin:a.location.href,k=typeof x=="string"?x:Su(x);return k=k.replace(/ $/,"%20"),Gt(A,`No window.location.(origin|href) available to create URL for href: ${k}`),new URL(k,A)}let v={get action(){return u},get location(){return e(a,s)},listen(x){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(a_,g),c=x,()=>{a.removeEventListener(a_,g),c=null}},createHref(x){return t(a,x)},createURL:y,encodeLocation(x){let A=y(x);return{pathname:A.pathname,search:A.search,hash:A.hash}},push:m,replace:b,go(x){return s.go(x)}};return v}function Uz(e,t,n="/"){return Sq(e,t,n,!1)}function Sq(e,t,n,r){let a=typeof t=="string"?wi(t):t,o=Ba(a.pathname||"/",n);if(o==null)return null;let s=jz(e);Eq(s);let u=null;for(let c=0;u==null&&c{let c={relativePath:u===void 0?o.path||"":u,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};c.relativePath.startsWith("/")&&(Gt(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length));let d=Fa([r,c.relativePath]),p=n.concat(c);o.children&&o.children.length>0&&(Gt(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${d}".`),jz(o.children,t,p,d)),!(o.path==null&&!o.index)&&t.push({path:d,score:Cq(d,o.index),routesMeta:p})};return e.forEach((o,s)=>{var u;if(o.path===""||!((u=o.path)!=null&&u.includes("?")))a(o,s);else for(let c of Gz(o.path))a(o,s,c)}),t}function Gz(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return a?[o,""]:[o];let s=Gz(r.join("/")),u=[];return u.push(...s.map(c=>c===""?o:[o,c].join("/"))),a&&u.push(...s),u.map(c=>e.startsWith("/")&&c===""?"/":c)}function Eq(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:_q(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var wq=/^:[\w-]+$/,xq=3,kq=2,Tq=1,Aq=10,Rq=-2,i_=e=>e==="*";function Cq(e,t){let n=e.split("/"),r=n.length;return n.some(i_)&&(r+=Rq),t&&(r+=kq),n.filter(a=>!i_(a)).reduce((a,o)=>a+(wq.test(o)?xq:o===""?Tq:Aq),r)}function _q(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function Nq(e,t,n=!1){let{routesMeta:r}=e,a={},o="/",s=[];for(let u=0;u{if(p==="*"){let y=u[m]||"";s=o.slice(0,o.length-y.length).replace(/(.)\/+$/,"$1")}const b=u[m];return g&&!b?d[p]=void 0:d[p]=(b||"").replace(/%2F/g,"/"),d},{}),pathname:o,pathnameBase:s,pattern:e}}function Oq(e,t=!1,n=!0){zr(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,u,c)=>(r.push({paramName:u,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function Dq(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return zr(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Ba(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Iq(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?wi(e):e;return{pathname:n?n.startsWith("/")?n:Lq(n,t):t,search:Fq(r),hash:zq(a)}}function Lq(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function Qh(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function Mq(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Hz(e){let t=Mq(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function $z(e,t,n,r=!1){let a;typeof e=="string"?a=wi(e):(a={...e},Gt(!a.pathname||!a.pathname.includes("?"),Qh("?","pathname","search",a)),Gt(!a.pathname||!a.pathname.includes("#"),Qh("#","pathname","hash",a)),Gt(!a.search||!a.search.includes("#"),Qh("#","search","hash",a)));let o=e===""||a.pathname==="",s=o?"/":a.pathname,u;if(s==null)u=n;else{let g=t.length-1;if(!r&&s.startsWith("..")){let m=s.split("/");for(;m[0]==="..";)m.shift(),g-=1;a.pathname=m.join("/")}u=g>=0?t[g]:"/"}let c=Iq(a,u),d=s&&s!=="/"&&s.endsWith("/"),p=(o||s===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||p)&&(c.pathname+="/"),c}var Fa=e=>e.join("/").replace(/\/\/+/g,"/"),Pq=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Fq=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,zq=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Bq(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var qz=["POST","PUT","PATCH","DELETE"];new Set(qz);var Uq=["GET",...qz];new Set(Uq);var js=w.createContext(null);js.displayName="DataRouter";var qf=w.createContext(null);qf.displayName="DataRouterState";var Vz=w.createContext({isTransitioning:!1});Vz.displayName="ViewTransition";var jq=w.createContext(new Map);jq.displayName="Fetchers";var Gq=w.createContext(null);Gq.displayName="Await";var sa=w.createContext(null);sa.displayName="Navigation";var zu=w.createContext(null);zu.displayName="Location";var Ha=w.createContext({outlet:null,matches:[],isDataRoute:!1});Ha.displayName="Route";var A0=w.createContext(null);A0.displayName="RouteError";function Hq(e,{relative:t}={}){Gt(Bu(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=w.useContext(sa),{hash:a,pathname:o,search:s}=Uu(e,{relative:t}),u=o;return n!=="/"&&(u=o==="/"?n:Fa([n,o])),r.createHref({pathname:u,search:s,hash:a})}function Bu(){return w.useContext(zu)!=null}function xi(){return Gt(Bu(),"useLocation() may be used only in the context of a component."),w.useContext(zu).location}var Wz="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Yz(e){w.useContext(sa).static||w.useLayoutEffect(e)}function R0(){let{isDataRoute:e}=w.useContext(Ha);return e?n9():$q()}function $q(){Gt(Bu(),"useNavigate() may be used only in the context of a component.");let e=w.useContext(js),{basename:t,navigator:n}=w.useContext(sa),{matches:r}=w.useContext(Ha),{pathname:a}=xi(),o=JSON.stringify(Hz(r)),s=w.useRef(!1);return Yz(()=>{s.current=!0}),w.useCallback((c,d={})=>{if(zr(s.current,Wz),!s.current)return;if(typeof c=="number"){n.go(c);return}let p=$z(c,JSON.parse(o),a,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Fa([t,p.pathname])),(d.replace?n.replace:n.push)(p,d.state,d)},[t,n,o,a,e])}w.createContext(null);function Uu(e,{relative:t}={}){let{matches:n}=w.useContext(Ha),{pathname:r}=xi(),a=JSON.stringify(Hz(n));return w.useMemo(()=>$z(e,JSON.parse(a),r,t==="path"),[e,a,r,t])}function qq(e,t){return Kz(e,t)}function Kz(e,t,n,r){var k;Gt(Bu(),"useRoutes() may be used only in the context of a component.");let{navigator:a,static:o}=w.useContext(sa),{matches:s}=w.useContext(Ha),u=s[s.length-1],c=u?u.params:{},d=u?u.pathname:"/",p=u?u.pathnameBase:"/",g=u&&u.route;{let C=g&&g.path||"";Xz(d,!g||C.endsWith("*")||C.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${d}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. + */var a_="popstate";function bq(e={}){function t(a,o){let{pathname:s="/",search:u="",hash:c=""}=wi(a.location.hash.substring(1));return!s.startsWith("/")&&!s.startsWith(".")&&(s="/"+s),lk("",{pathname:s,search:u,hash:c},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(a,o){let s=a.document.querySelector("base"),u="";if(s&&s.getAttribute("href")){let c=a.location.href,d=c.indexOf("#");u=d===-1?c:c.slice(0,d)}return u+"#"+(typeof o=="string"?o:Su(o))}function r(a,o){zr(a.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(o)})`)}return vq(t,n,r,e)}function Gt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function zr(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function yq(){return Math.random().toString(36).substring(2,10)}function o_(e,t){return{usr:e.state,key:e.key,idx:t}}function lk(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?wi(t):t,state:n,key:t&&t.key||r||yq()}}function Su({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function wi(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function vq(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:o=!1}=r,s=a.history,u="POP",c=null,d=p();d==null&&(d=0,s.replaceState({...s.state,idx:d},""));function p(){return(s.state||{idx:null}).idx}function g(){u="POP";let x=p(),A=x==null?null:x-d;d=x,c&&c({action:u,location:v.location,delta:A})}function m(x,A){u="PUSH";let k=lk(v.location,x,A);n&&n(k,x),d=p()+1;let R=o_(k,d),O=v.createHref(k);try{s.pushState(R,"",O)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;a.location.assign(O)}o&&c&&c({action:u,location:v.location,delta:1})}function b(x,A){u="REPLACE";let k=lk(v.location,x,A);n&&n(k,x),d=p();let R=o_(k,d),O=v.createHref(k);s.replaceState(R,"",O),o&&c&&c({action:u,location:v.location,delta:0})}function y(x){let A=a.location.origin!=="null"?a.location.origin:a.location.href,k=typeof x=="string"?x:Su(x);return k=k.replace(/ $/,"%20"),Gt(A,`No window.location.(origin|href) available to create URL for href: ${k}`),new URL(k,A)}let v={get action(){return u},get location(){return e(a,s)},listen(x){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(a_,g),c=x,()=>{a.removeEventListener(a_,g),c=null}},createHref(x){return t(a,x)},createURL:y,encodeLocation(x){let A=y(x);return{pathname:A.pathname,search:A.search,hash:A.hash}},push:m,replace:b,go(x){return s.go(x)}};return v}function Uz(e,t,n="/"){return Sq(e,t,n,!1)}function Sq(e,t,n,r){let a=typeof t=="string"?wi(t):t,o=Ba(a.pathname||"/",n);if(o==null)return null;let s=jz(e);Eq(s);let u=null;for(let c=0;u==null&&c{let c={relativePath:u===void 0?o.path||"":u,caseSensitive:o.caseSensitive===!0,childrenIndex:s,route:o};c.relativePath.startsWith("/")&&(Gt(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length));let d=Fa([r,c.relativePath]),p=n.concat(c);o.children&&o.children.length>0&&(Gt(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${d}".`),jz(o.children,t,p,d)),!(o.path==null&&!o.index)&&t.push({path:d,score:Cq(d,o.index),routesMeta:p})};return e.forEach((o,s)=>{var u;if(o.path===""||!((u=o.path)!=null&&u.includes("?")))a(o,s);else for(let c of Gz(o.path))a(o,s,c)}),t}function Gz(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return a?[o,""]:[o];let s=Gz(r.join("/")),u=[];return u.push(...s.map(c=>c===""?o:[o,c].join("/"))),a&&u.push(...s),u.map(c=>e.startsWith("/")&&c===""?"/":c)}function Eq(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:_q(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var wq=/^:[\w-]+$/,xq=3,kq=2,Tq=1,Aq=10,Rq=-2,i_=e=>e==="*";function Cq(e,t){let n=e.split("/"),r=n.length;return n.some(i_)&&(r+=Rq),t&&(r+=kq),n.filter(a=>!i_(a)).reduce((a,o)=>a+(wq.test(o)?xq:o===""?Tq:Aq),r)}function _q(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function Nq(e,t,n=!1){let{routesMeta:r}=e,a={},o="/",s=[];for(let u=0;u{if(p==="*"){let y=u[m]||"";s=o.slice(0,o.length-y.length).replace(/(.)\/+$/,"$1")}const b=u[m];return g&&!b?d[p]=void 0:d[p]=(b||"").replace(/%2F/g,"/"),d},{}),pathname:o,pathnameBase:s,pattern:e}}function Oq(e,t=!1,n=!0){zr(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,u,c)=>(r.push({paramName:u,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function Dq(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return zr(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Ba(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Iq(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?wi(e):e;return{pathname:n?n.startsWith("/")?n:Lq(n,t):t,search:Fq(r),hash:zq(a)}}function Lq(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function Qh(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function Mq(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Hz(e){let t=Mq(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function $z(e,t,n,r=!1){let a;typeof e=="string"?a=wi(e):(a={...e},Gt(!a.pathname||!a.pathname.includes("?"),Qh("?","pathname","search",a)),Gt(!a.pathname||!a.pathname.includes("#"),Qh("#","pathname","hash",a)),Gt(!a.search||!a.search.includes("#"),Qh("#","search","hash",a)));let o=e===""||a.pathname==="",s=o?"/":a.pathname,u;if(s==null)u=n;else{let g=t.length-1;if(!r&&s.startsWith("..")){let m=s.split("/");for(;m[0]==="..";)m.shift(),g-=1;a.pathname=m.join("/")}u=g>=0?t[g]:"/"}let c=Iq(a,u),d=s&&s!=="/"&&s.endsWith("/"),p=(o||s===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||p)&&(c.pathname+="/"),c}var Fa=e=>e.join("/").replace(/\/\/+/g,"/"),Pq=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Fq=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,zq=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Bq(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var qz=["POST","PUT","PATCH","DELETE"];new Set(qz);var Uq=["GET",...qz];new Set(Uq);var js=w.createContext(null);js.displayName="DataRouter";var qf=w.createContext(null);qf.displayName="DataRouterState";var Vz=w.createContext({isTransitioning:!1});Vz.displayName="ViewTransition";var jq=w.createContext(new Map);jq.displayName="Fetchers";var Gq=w.createContext(null);Gq.displayName="Await";var sa=w.createContext(null);sa.displayName="Navigation";var zu=w.createContext(null);zu.displayName="Location";var Ha=w.createContext({outlet:null,matches:[],isDataRoute:!1});Ha.displayName="Route";var A0=w.createContext(null);A0.displayName="RouteError";function Hq(e,{relative:t}={}){Gt(Bu(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=w.useContext(sa),{hash:a,pathname:o,search:s}=Uu(e,{relative:t}),u=o;return n!=="/"&&(u=o==="/"?n:Fa([n,o])),r.createHref({pathname:u,search:s,hash:a})}function Bu(){return w.useContext(zu)!=null}function xi(){return Gt(Bu(),"useLocation() may be used only in the context of a component."),w.useContext(zu).location}var Wz="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Yz(e){w.useContext(sa).static||w.useLayoutEffect(e)}function R0(){let{isDataRoute:e}=w.useContext(Ha);return e?n9():$q()}function $q(){Gt(Bu(),"useNavigate() may be used only in the context of a component.");let e=w.useContext(js),{basename:t,navigator:n}=w.useContext(sa),{matches:r}=w.useContext(Ha),{pathname:a}=xi(),o=JSON.stringify(Hz(r)),s=w.useRef(!1);return Yz(()=>{s.current=!0}),w.useCallback((c,d={})=>{if(zr(s.current,Wz),!s.current)return;if(typeof c=="number"){n.go(c);return}let p=$z(c,JSON.parse(o),a,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:Fa([t,p.pathname])),(d.replace?n.replace:n.push)(p,d.state,d)},[t,n,o,a,e])}w.createContext(null);function Uu(e,{relative:t}={}){let{matches:n}=w.useContext(Ha),{pathname:r}=xi(),a=JSON.stringify(Hz(n));return w.useMemo(()=>$z(e,JSON.parse(a),r,t==="path"),[e,a,r,t])}function qq(e,t){return Kz(e,t)}function Kz(e,t,n,r){var k;Gt(Bu(),"useRoutes() may be used only in the context of a component.");let{navigator:a,static:o}=w.useContext(sa),{matches:s}=w.useContext(Ha),u=s[s.length-1],c=u?u.params:{},d=u?u.pathname:"/",p=u?u.pathnameBase:"/",g=u&&u.route;{let R=g&&g.path||"";Xz(d,!g||R.endsWith("*")||R.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${d}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. -Please change the parent to .`)}let m=xi(),b;if(t){let C=typeof t=="string"?wi(t):t;Gt(p==="/"||((k=C.pathname)==null?void 0:k.startsWith(p)),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${p}" but pathname "${C.pathname}" was given in the \`location\` prop.`),b=C}else b=m;let y=b.pathname||"/",v=y;if(p!=="/"){let C=p.replace(/^\//,"").split("/");v="/"+y.replace(/^\//,"").split("/").slice(C.length).join("/")}let x=!o&&n&&n.matches&&n.matches.length>0?n.matches:Uz(e,{pathname:v});zr(g||x!=null,`No routes matched location "${b.pathname}${b.search}${b.hash}" `),zr(x==null||x[x.length-1].route.element!==void 0||x[x.length-1].route.Component!==void 0||x[x.length-1].route.lazy!==void 0,`Matched leaf route at location "${b.pathname}${b.search}${b.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let A=Xq(x&&x.map(C=>Object.assign({},C,{params:Object.assign({},c,C.params),pathname:Fa([p,a.encodeLocation?a.encodeLocation(C.pathname).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?p:Fa([p,a.encodeLocation?a.encodeLocation(C.pathnameBase).pathname:C.pathnameBase])})),s,n,r);return t&&A?w.createElement(zu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...b},navigationType:"POP"}},A):A}function Vq(){let e=t9(),t=Bq(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r},o={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=w.createElement(w.Fragment,null,w.createElement("p",null,"💿 Hey developer 👋"),w.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",w.createElement("code",{style:o},"ErrorBoundary")," or"," ",w.createElement("code",{style:o},"errorElement")," prop on your route.")),w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:a},n):null,s)}var Wq=w.createElement(Vq,null),Yq=class extends w.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?w.createElement(Ha.Provider,{value:this.props.routeContext},w.createElement(A0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Kq({routeContext:e,match:t,children:n}){let r=w.useContext(js);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),w.createElement(Ha.Provider,{value:e},n)}function Xq(e,t=[],n=null,r=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,o=n==null?void 0:n.errors;if(o!=null){let c=a.findIndex(d=>d.route.id&&(o==null?void 0:o[d.route.id])!==void 0);Gt(c>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),a=a.slice(0,Math.min(a.length,c+1))}let s=!1,u=-1;if(n)for(let c=0;c=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((c,d,p)=>{let g,m=!1,b=null,y=null;n&&(g=o&&d.route.id?o[d.route.id]:void 0,b=d.route.errorElement||Wq,s&&(u<0&&p===0?(Xz("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),m=!0,y=null):u===p&&(m=!0,y=d.route.hydrateFallbackElement||null)));let v=t.concat(a.slice(0,p+1)),x=()=>{let A;return g?A=b:m?A=y:d.route.Component?A=w.createElement(d.route.Component,null):d.route.element?A=d.route.element:A=c,w.createElement(Kq,{match:d,routeContext:{outlet:c,matches:v,isDataRoute:n!=null},children:A})};return n&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?w.createElement(Yq,{location:n.location,revalidation:n.revalidation,component:b,error:g,children:x(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):x()},null)}function C0(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Zq(e){let t=w.useContext(js);return Gt(t,C0(e)),t}function Qq(e){let t=w.useContext(qf);return Gt(t,C0(e)),t}function Jq(e){let t=w.useContext(Ha);return Gt(t,C0(e)),t}function _0(e){let t=Jq(e),n=t.matches[t.matches.length-1];return Gt(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function e9(){return _0("useRouteId")}function t9(){var r;let e=w.useContext(A0),t=Qq("useRouteError"),n=_0("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function n9(){let{router:e}=Zq("useNavigate"),t=_0("useNavigate"),n=w.useRef(!1);return Yz(()=>{n.current=!0}),w.useCallback(async(a,o={})=>{zr(n.current,Wz),n.current&&(typeof a=="number"?e.navigate(a):await e.navigate(a,{fromRouteId:t,...o}))},[e,t])}var s_={};function Xz(e,t,n){!t&&!s_[e]&&(s_[e]=!0,zr(!1,n))}w.memo(r9);function r9({routes:e,future:t,state:n}){return Kz(e,void 0,n,t)}function uk(e){Gt(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function a9({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:a,static:o=!1}){Gt(!Bu(),"You cannot render a inside another . You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:s,navigator:a,static:o,future:{}}),[s,a,o]);typeof n=="string"&&(n=wi(n));let{pathname:c="/",search:d="",hash:p="",state:g=null,key:m="default"}=n,b=w.useMemo(()=>{let y=Ba(c,s);return y==null?null:{location:{pathname:y,search:d,hash:p,state:g,key:m},navigationType:r}},[s,c,d,p,g,m,r]);return zr(b!=null,` is not able to match the URL "${c}${d}${p}" because it does not start with the basename, so the won't render anything.`),b==null?null:w.createElement(sa.Provider,{value:u},w.createElement(zu.Provider,{children:t,value:b}))}function o9({children:e,location:t}){return qq(ck(e),t)}function ck(e,t=[]){let n=[];return w.Children.forEach(e,(r,a)=>{if(!w.isValidElement(r))return;let o=[...t,a];if(r.type===w.Fragment){n.push.apply(n,ck(r.props.children,o));return}Gt(r.type===uk,`[${typeof r.type=="string"?r.type:r.type.name}] is not a component. All component children of must be a or `),Gt(!r.props.index||!r.props.children,"An index route cannot have child routes.");let s={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=ck(r.props.children,o)),n.push(s)}),n}var Vd="get",Wd="application/x-www-form-urlencoded";function Vf(e){return e!=null&&typeof e.tagName=="string"}function i9(e){return Vf(e)&&e.tagName.toLowerCase()==="button"}function s9(e){return Vf(e)&&e.tagName.toLowerCase()==="form"}function l9(e){return Vf(e)&&e.tagName.toLowerCase()==="input"}function u9(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function c9(e,t){return e.button===0&&(!t||t==="_self")&&!u9(e)}var hd=null;function d9(){if(hd===null)try{new FormData(document.createElement("form"),0),hd=!1}catch{hd=!0}return hd}var f9=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Jh(e){return e!=null&&!f9.has(e)?(zr(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Wd}"`),null):e}function p9(e,t){let n,r,a,o,s;if(s9(e)){let u=e.getAttribute("action");r=u?Ba(u,t):null,n=e.getAttribute("method")||Vd,a=Jh(e.getAttribute("enctype"))||Wd,o=new FormData(e)}else if(i9(e)||l9(e)&&(e.type==="submit"||e.type==="image")){let u=e.form;if(u==null)throw new Error('Cannot submit a + + + + + +
{t('documentPanel.documentManager.fileNameLabel')}
diff --git a/lightrag_webui/src/locales/ar.json b/lightrag_webui/src/locales/ar.json index 10a2afb7..d85aeb88 100644 --- a/lightrag_webui/src/locales/ar.json +++ b/lightrag_webui/src/locales/ar.json @@ -104,6 +104,7 @@ "metadata": "البيانات الوصفية" }, "status": { + "all": "الكل", "completed": "مكتمل", "processing": "قيد المعالجة", "pending": "معلق", diff --git a/lightrag_webui/src/locales/en.json b/lightrag_webui/src/locales/en.json index 39a13d94..ef06654a 100644 --- a/lightrag_webui/src/locales/en.json +++ b/lightrag_webui/src/locales/en.json @@ -104,6 +104,7 @@ "metadata": "Metadata" }, "status": { + "all": "All", "completed": "Completed", "processing": "Processing", "pending": "Pending", diff --git a/lightrag_webui/src/locales/fr.json b/lightrag_webui/src/locales/fr.json index b49df261..117295bd 100644 --- a/lightrag_webui/src/locales/fr.json +++ b/lightrag_webui/src/locales/fr.json @@ -104,6 +104,7 @@ "metadata": "Métadonnées" }, "status": { + "all": "Tous", "completed": "Terminé", "processing": "En traitement", "pending": "En attente", diff --git a/lightrag_webui/src/locales/zh.json b/lightrag_webui/src/locales/zh.json index fa204e04..12cd1744 100644 --- a/lightrag_webui/src/locales/zh.json +++ b/lightrag_webui/src/locales/zh.json @@ -104,6 +104,7 @@ "metadata": "元数据" }, "status": { + "all": "全部", "completed": "已完成", "processing": "处理中", "pending": "等待中",