From 86709a5e8e0e816997d4d93c080f22cc87266038 Mon Sep 17 00:00:00 2001 From: yangdx Date: Sat, 22 Mar 2025 11:40:52 +0800 Subject: [PATCH] Update webui assets --- .../{index-DpQ0dh7t.js => index-BSPcWcj5.js} | 274 +++++++++--------- lightrag/api/webui/assets/index-BcBS1RaQ.css | 1 - lightrag/api/webui/assets/index-Cq65VeVX.css | 1 + lightrag/api/webui/index.html | 4 +- lightrag_webui/src/hooks/useLightragGraph.tsx | 2 +- 5 files changed, 137 insertions(+), 145 deletions(-) rename lightrag/api/webui/assets/{index-DpQ0dh7t.js => index-BSPcWcj5.js} (69%) delete mode 100644 lightrag/api/webui/assets/index-BcBS1RaQ.css create mode 100644 lightrag/api/webui/assets/index-Cq65VeVX.css diff --git a/lightrag/api/webui/assets/index-DpQ0dh7t.js b/lightrag/api/webui/assets/index-BSPcWcj5.js similarity index 69% rename from lightrag/api/webui/assets/index-DpQ0dh7t.js rename to lightrag/api/webui/assets/index-BSPcWcj5.js index ae36e5f0..cc58ebd9 100644 --- a/lightrag/api/webui/assets/index-DpQ0dh7t.js +++ b/lightrag/api/webui/assets/index-BSPcWcj5.js @@ -1,4 +1,4 @@ -var lq=Object.defineProperty;var uq=(e,t,n)=>t in e?lq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Xr=(e,t,n)=>uq(e,typeof t!="symbol"?t+"":t,n);function cq(e,t){for(var n=0;nr[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(a){if(a.ep)return;a.ep=!0;const o=n(a);fetch(a.href,o)}})();var ff=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function dq(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var $h={exports:{}},Xl={};/** +var eq=Object.defineProperty;var tq=(e,t,n)=>t in e?eq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Xr=(e,t,n)=>tq(e,typeof t!="symbol"?t+"":t,n);function nq(e,t){for(var n=0;nr[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(a){if(a.ep)return;a.ep=!0;const o=n(a);fetch(a.href,o)}})();var ff=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function rq(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var Hh={exports:{}},Ql={};/** * @license React * react-jsx-runtime.production.js * @@ -6,7 +6,7 @@ var lq=Object.defineProperty;var uq=(e,t,n)=>t in e?lq(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 VC;function fq(){if(VC)return Xl;VC=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 l in a)l!=="key"&&(o[l]=a[l])}else o=a;return a=o.ref,{$$typeof:e,type:r,key:s,ref:a!==void 0?a:null,props:o}}return Xl.Fragment=t,Xl.jsx=n,Xl.jsxs=n,Xl}var WC;function pq(){return WC||(WC=1,$h.exports=fq()),$h.exports}var w=pq(),qh={exports:{}},it={};/** + */var HC;function aq(){if(HC)return Ql;HC=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 l in a)l!=="key"&&(o[l]=a[l])}else o=a;return a=o.ref,{$$typeof:e,type:r,key:s,ref:a!==void 0?a:null,props:o}}return Ql.Fragment=t,Ql.jsx=n,Ql.jsxs=n,Ql}var $C;function oq(){return $C||($C=1,Hh.exports=aq()),Hh.exports}var w=oq(),$h={exports:{}},it={};/** * @license React * react.production.js * @@ -14,7 +14,7 @@ var lq=Object.defineProperty;var uq=(e,t,n)=>t in e?lq(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 YC;function gq(){if(YC)return it;YC=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"),l=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(I){return I===null||typeof I!="object"?null:(I=g&&I[g]||I["@@iterator"],typeof I=="function"?I:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},y=Object.assign,S={};function k(I,V,B){this.props=I,this.context=V,this.refs=S,this.updater=B||b}k.prototype.isReactComponent={},k.prototype.setState=function(I,V){if(typeof I!="object"&&typeof I!="function"&&I!=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,I,V,"setState")},k.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,"forceUpdate")};function R(){}R.prototype=k.prototype;function x(I,V,B){this.props=I,this.context=V,this.refs=S,this.updater=B||b}var A=x.prototype=new R;A.constructor=x,y(A,k.prototype),A.isPureReactComponent=!0;var N=Array.isArray,O={H:null,A:null,T:null,S:null},C=Object.prototype.hasOwnProperty;function _(I,V,B,M,K,X){return B=X.ref,{$$typeof:e,type:I,key:V,ref:B!==void 0?B:null,props:X}}function P(I,V){return _(I.type,V,void 0,void 0,void 0,I.props)}function D(I){return typeof I=="object"&&I!==null&&I.$$typeof===e}function L(I){var V={"=":"=0",":":"=2"};return"$"+I.replace(/[=:]/g,function(B){return V[B]})}var G=/\/+/g;function $(I,V){return typeof I=="object"&&I!==null&&I.key!=null?L(""+I.key):V.toString(36)}function U(){}function W(I){switch(I.status){case"fulfilled":return I.value;case"rejected":throw I.reason;default:switch(typeof I.status=="string"?I.then(U,U):(I.status="pending",I.then(function(V){I.status==="pending"&&(I.status="fulfilled",I.value=V)},function(V){I.status==="pending"&&(I.status="rejected",I.reason=V)})),I.status){case"fulfilled":return I.value;case"rejected":throw I.reason}}throw I}function Q(I,V,B,M,K){var X=typeof I;(X==="undefined"||X==="boolean")&&(I=null);var re=!1;if(I===null)re=!0;else switch(X){case"bigint":case"string":case"number":re=!0;break;case"object":switch(I.$$typeof){case e:case t:re=!0;break;case p:return re=I._init,Q(re(I._payload),V,B,M,K)}}if(re)return K=K(I),re=M===""?"."+$(I,0):M,N(K)?(B="",re!=null&&(B=re.replace(G,"$&/")+"/"),Q(K,V,B,"",function(ke){return ke})):K!=null&&(D(K)&&(K=P(K,B+(K.key==null||I&&I.key===K.key?"":(""+K.key).replace(G,"$&/")+"/")+re)),V.push(K)),1;re=0;var J=M===""?".":M+":";if(N(I))for(var ie=0;iet in e?lq(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 XC;function mq(){return XC||(XC=1,function(e){function t(j,H){var z=j.length;j.push(H);e:for(;0>>1,I=j[Y];if(0>>1;Ya(M,z))Ka(X,M)?(j[Y]=X,j[K]=z,Y=K):(j[Y]=M,j[B]=z,Y=B);else if(Ka(X,z))j[Y]=X,j[K]=z,Y=K;else break e}}return H}function a(j,H){var z=j.sortIndex-H.sortIndex;return z!==0?z:j.id-H.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,l=s.now();e.unstable_now=function(){return s.now()-l}}var c=[],d=[],p=1,g=null,m=3,b=!1,y=!1,S=!1,k=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;function A(j){for(var H=n(d);H!==null;){if(H.callback===null)r(d);else if(H.startTime<=j)r(d),H.sortIndex=H.expirationTime,t(c,H);else break;H=n(d)}}function N(j){if(S=!1,A(j),!y)if(n(c)!==null)y=!0,W();else{var H=n(d);H!==null&&Q(N,H.startTime-j)}}var O=!1,C=-1,_=5,P=-1;function D(){return!(e.unstable_now()-P<_)}function L(){if(O){var j=e.unstable_now();P=j;var H=!0;try{e:{y=!1,S&&(S=!1,R(C),C=-1),b=!0;var z=m;try{t:{for(A(j),g=n(c);g!==null&&!(g.expirationTime>j&&D());){var Y=g.callback;if(typeof Y=="function"){g.callback=null,m=g.priorityLevel;var I=Y(g.expirationTime<=j);if(j=e.unstable_now(),typeof I=="function"){g.callback=I,A(j),H=!0;break t}g===n(c)&&r(c),A(j)}else r(c);g=n(c)}if(g!==null)H=!0;else{var V=n(d);V!==null&&Q(N,V.startTime-j),H=!1}}break e}finally{g=null,m=z,b=!1}H=void 0}}finally{H?G():O=!1}}}var G;if(typeof x=="function")G=function(){x(L)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,U=$.port2;$.port1.onmessage=L,G=function(){U.postMessage(null)}}else G=function(){k(L,0)};function W(){O||(O=!0,G())}function Q(j,H){C=k(function(){j(e.unstable_now())},H)}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(j){j.callback=null},e.unstable_continueExecution=function(){y||b||(y=!0,W())},e.unstable_forceFrameRate=function(j){0>j||125Y?(j.sortIndex=z,t(d,j),n(c)===null&&j===n(d)&&(S?(R(C),C=-1):S=!0,Q(N,z-Y))):(j.sortIndex=I,t(c,j),y||b||(y=!0,W())),j},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(j){var H=m;return function(){var z=m;m=H;try{return j.apply(this,arguments)}finally{m=z}}}}(Yh)),Yh}var ZC;function bq(){return ZC||(ZC=1,Wh.exports=mq()),Wh.exports}var Kh={exports:{}},wn={};/** + */var WC;function lq(){return WC||(WC=1,function(e){function t(j,H){var z=j.length;j.push(H);e:for(;0>>1,I=j[Y];if(0>>1;Ya(M,z))Xa(K,M)?(j[Y]=K,j[X]=z,Y=X):(j[Y]=M,j[B]=z,Y=B);else if(Xa(K,z))j[Y]=K,j[X]=z,Y=X;else break e}}return H}function a(j,H){var z=j.sortIndex-H.sortIndex;return z!==0?z:j.id-H.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,l=s.now();e.unstable_now=function(){return s.now()-l}}var c=[],d=[],p=1,g=null,m=3,b=!1,y=!1,S=!1,k=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,x=typeof setImmediate<"u"?setImmediate:null;function A(j){for(var H=n(d);H!==null;){if(H.callback===null)r(d);else if(H.startTime<=j)r(d),H.sortIndex=H.expirationTime,t(c,H);else break;H=n(d)}}function N(j){if(S=!1,A(j),!y)if(n(c)!==null)y=!0,W();else{var H=n(d);H!==null&&Q(N,H.startTime-j)}}var O=!1,C=-1,_=5,P=-1;function D(){return!(e.unstable_now()-P<_)}function L(){if(O){var j=e.unstable_now();P=j;var H=!0;try{e:{y=!1,S&&(S=!1,R(C),C=-1),b=!0;var z=m;try{t:{for(A(j),g=n(c);g!==null&&!(g.expirationTime>j&&D());){var Y=g.callback;if(typeof Y=="function"){g.callback=null,m=g.priorityLevel;var I=Y(g.expirationTime<=j);if(j=e.unstable_now(),typeof I=="function"){g.callback=I,A(j),H=!0;break t}g===n(c)&&r(c),A(j)}else r(c);g=n(c)}if(g!==null)H=!0;else{var V=n(d);V!==null&&Q(N,V.startTime-j),H=!1}}break e}finally{g=null,m=z,b=!1}H=void 0}}finally{H?G():O=!1}}}var G;if(typeof x=="function")G=function(){x(L)};else if(typeof MessageChannel<"u"){var $=new MessageChannel,U=$.port2;$.port1.onmessage=L,G=function(){U.postMessage(null)}}else G=function(){k(L,0)};function W(){O||(O=!0,G())}function Q(j,H){C=k(function(){j(e.unstable_now())},H)}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(j){j.callback=null},e.unstable_continueExecution=function(){y||b||(y=!0,W())},e.unstable_forceFrameRate=function(j){0>j||125Y?(j.sortIndex=z,t(d,j),n(c)===null&&j===n(d)&&(S?(R(C),C=-1):S=!0,Q(N,z-Y))):(j.sortIndex=I,t(c,j),y||b||(y=!0,W())),j},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(j){var H=m;return function(){var z=m;m=H;try{return j.apply(this,arguments)}finally{m=z}}}}(Wh)),Wh}var YC;function uq(){return YC||(YC=1,Vh.exports=lq()),Vh.exports}var Yh={exports:{}},wn={};/** * @license React * react-dom.production.js * @@ -30,7 +30,7 @@ var lq=Object.defineProperty;var uq=(e,t,n)=>t in e?lq(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 QC;function yq(){if(QC)return wn;QC=1;var e=qf();function t(c){var d="https://react.dev/errors/"+c;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Kh.exports=yq(),Kh.exports}/** + */var KC;function cq(){if(KC)return wn;KC=1;var e=b0();function t(c){var d="https://react.dev/errors/"+c;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Yh.exports=cq(),Yh.exports}/** * @license React * react-dom-client.production.js * @@ -38,16 +38,16 @@ var lq=Object.defineProperty;var uq=(e,t,n)=>t in e?lq(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 e_;function vq(){if(e_)return Zl;e_=1;var e=bq(),t=qf(),n=zz();function r(i){var u="https://react.dev/errors/"+i;if(1)":-1v||Z[h]!==ae[v]){var be=` `+Z[h].replace(" at new "," at ");return i.displayName&&be.includes("")&&(be=be.replace("",i.displayName)),be}while(1<=h&&0<=v);break}}}finally{W=!1,Error.prepareStackTrace=f}return(f=i?i.displayName||i.name:"")?U(f):""}function j(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=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 H(i){try{var u="";do u+=j(i),i=i.return;while(i);return u}catch(f){return` Error generating stack: `+f.message+` -`+f.stack}}function z(i){var u=i,f=i;if(i.alternate)for(;u.return;)u=u.return;else{i=u;do u=i,u.flags&4098&&(f=u.return),i=u.return;while(i)}return u.tag===3?f:null}function Y(i){if(i.tag===13){var u=i.memoizedState;if(u===null&&(i=i.alternate,i!==null&&(u=i.memoizedState)),u!==null)return u.dehydrated}return null}function I(i){if(z(i)!==i)throw Error(r(188))}function V(i){var u=i.alternate;if(!u){if(u=z(i),u===null)throw Error(r(188));return u!==i?null:i}for(var f=i,h=u;;){var v=f.return;if(v===null)break;var T=v.alternate;if(T===null){if(h=v.return,h!==null){f=h;continue}break}if(v.child===T.child){for(T=v.child;T;){if(T===f)return I(v),i;if(T===h)return I(v),u;T=T.sibling}throw Error(r(188))}if(f.return!==h.return)f=v,h=T;else{for(var F=!1,q=v.child;q;){if(q===f){F=!0,f=v,h=T;break}if(q===h){F=!0,h=v,f=T;break}q=q.sibling}if(!F){for(q=T.child;q;){if(q===f){F=!0,f=T,h=v;break}if(q===h){F=!0,h=T,f=v;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:u}function B(i){var u=i.tag;if(u===5||u===26||u===27||u===6)return i;for(i=i.child;i!==null;){if(u=B(i),u!==null)return u;i=i.sibling}return null}var M=Array.isArray,K=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X={pending:!1,data:null,method:null,action:null},re=[],J=-1;function ie(i){return{current:i}}function ke(i){0>J||(i.current=re[J],re[J]=null,J--)}function oe(i,u){J++,re[J]=i.current,i.current=u}var ve=ie(null),Se=ie(null),De=ie(null),_e=ie(null);function xe(i,u){switch(oe(De,u),oe(Se,i),oe(ve,null),i=u.nodeType,i){case 9:case 11:u=(u=u.documentElement)&&(u=u.namespaceURI)?EC(u):0;break;default:if(i=i===8?u.parentNode:u,u=i.tagName,i=i.namespaceURI)i=EC(i),u=wC(i,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}ke(ve),oe(ve,u)}function ee(){ke(ve),ke(Se),ke(De)}function fe(i){i.memoizedState!==null&&oe(_e,i);var u=ve.current,f=wC(u,i.type);u!==f&&(oe(Se,i),oe(ve,f))}function Te(i){Se.current===i&&(ke(ve),ke(Se)),_e.current===i&&(ke(_e),ql._currentValue=X)}var me=Object.prototype.hasOwnProperty,Ee=e.unstable_scheduleCallback,le=e.unstable_cancelCallback,ze=e.unstable_shouldYield,Be=e.unstable_requestPaint,he=e.unstable_now,Ne=e.unstable_getCurrentPriorityLevel,te=e.unstable_ImmediatePriority,ce=e.unstable_UserBlockingPriority,Ce=e.unstable_NormalPriority,Fe=e.unstable_LowPriority,We=e.unstable_IdlePriority,yt=e.log,kt=e.unstable_setDisableYieldValue,ht=null,et=null;function Tt(i){if(et&&typeof et.onCommitFiberRoot=="function")try{et.onCommitFiberRoot(ht,i,void 0,(i.current.flags&128)===128)}catch{}}function ot(i){if(typeof yt=="function"&&kt(i),et&&typeof et.setStrictMode=="function")try{et.setStrictMode(ht,i)}catch{}}var St=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 u=i&42;if(u!==0)return u;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 fa(i,u){var f=i.pendingLanes;if(f===0)return 0;var h=0,v=i.suspendedLanes,T=i.pingedLanes,F=i.warmLanes;i=i.finishedLanes!==0;var q=f&134217727;return q!==0?(f=q&~v,f!==0?h=Jt(f):(T&=q,T!==0?h=Jt(T):i||(F=q&~F,F!==0&&(h=Jt(F))))):(q=f&~v,q!==0?h=Jt(q):T!==0?h=Jt(T):i||(F=f&~F,F!==0&&(h=Jt(F)))),h===0?0:u!==0&&u!==h&&!(u&v)&&(v=h&-h,F=u&-u,v>=F||v===32&&(F&4194176)!==0)?u:h}function Xe(i,u){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&u)===0}function mt(i,u){switch(i){case 1:case 2:case 4:case 8:return u+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 u+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 _t(){var i=or;return or<<=1,!(or&4194176)&&(or=128),i}function Dn(){var i=$r;return $r<<=1,!($r&62914560)&&($r=4194304),i}function _n(i){for(var u=[],f=0;31>f;f++)u.push(i);return u}function Ln(i,u){i.pendingLanes|=u,u!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function pa(i,u,f,h,v,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,Z=i.expirationTimes,ae=i.hiddenUpdates;for(f=F&~f;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),t$=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]*$"),wA={},xA={};function n$(i){return me.call(xA,i)?!0:me.call(wA,i)?!1:t$.test(i)?xA[i]=!0:(wA[i]=!0,!1)}function lc(i,u,f){if(n$(u))if(f===null)i.removeAttribute(u);else{switch(typeof f){case"undefined":case"function":case"symbol":i.removeAttribute(u);return;case"boolean":var h=u.toLowerCase().slice(0,5);if(h!=="data-"&&h!=="aria-"){i.removeAttribute(u);return}}i.setAttribute(u,""+f)}}function uc(i,u,f){if(f===null)i.removeAttribute(u);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(u);return}i.setAttribute(u,""+f)}}function ha(i,u,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(u,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 kA(i){var u=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function r$(i){var u=kA(i)?"checked":"value",f=Object.getOwnPropertyDescriptor(i.constructor.prototype,u),h=""+i[u];if(!i.hasOwnProperty(u)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var v=f.get,T=f.set;return Object.defineProperty(i,u,{configurable:!0,get:function(){return v.call(this)},set:function(F){h=""+F,T.call(this,F)}}),Object.defineProperty(i,u,{enumerable:f.enumerable}),{getValue:function(){return h},setValue:function(F){h=""+F},stopTracking:function(){i._valueTracker=null,delete i[u]}}}}function cc(i){i._valueTracker||(i._valueTracker=r$(i))}function TA(i){if(!i)return!1;var u=i._valueTracker;if(!u)return!0;var f=u.getValue(),h="";return i&&(h=kA(i)?i.checked?"true":"false":i.value),i=h,i!==f?(u.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 a$=/[\n"\\]/g;function sr(i){return i.replace(a$,function(u){return"\\"+u.charCodeAt(0).toString(16)+" "})}function Gp(i,u,f,h,v,T,F,q){i.name="",F!=null&&typeof F!="function"&&typeof F!="symbol"&&typeof F!="boolean"?i.type=F:i.removeAttribute("type"),u!=null?F==="number"?(u===0&&i.value===""||i.value!=u)&&(i.value=""+ir(u)):i.value!==""+ir(u)&&(i.value=""+ir(u)):F!=="submit"&&F!=="reset"||i.removeAttribute("value"),u!=null?Hp(i,F,ir(u)):f!=null?Hp(i,F,ir(f)):h!=null&&i.removeAttribute("value"),v==null&&T!=null&&(i.defaultChecked=!!T),v!=null&&(i.checked=v&&typeof v!="function"&&typeof v!="symbol"),q!=null&&typeof q!="function"&&typeof q!="symbol"&&typeof q!="boolean"?i.name=""+ir(q):i.removeAttribute("name")}function AA(i,u,f,h,v,T,F,q){if(T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(i.type=T),u!=null||f!=null){if(!(T!=="submit"&&T!=="reset"||u!=null))return;f=f!=null?""+ir(f):"",u=u!=null?""+ir(u):f,q||u===i.value||(i.value=u),i.defaultValue=u}h=h??v,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 Hp(i,u,f){u==="number"&&dc(i.ownerDocument)===i||i.defaultValue===""+f||(i.defaultValue=""+f)}function Oi(i,u,f,h){if(i=i.options,u){u={};for(var v=0;v=ul),BA=" ",UA=!1;function jA(i,u){switch(i){case"keyup":return I$.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function GA(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Mi=!1;function L$(i,u){switch(i){case"compositionend":return GA(u);case"keypress":return u.which!==32?null:(UA=!0,BA);case"textInput":return i=u.data,i===BA&&UA?null:i;default:return null}}function M$(i,u){if(Mi)return i==="compositionend"||!eg&&jA(i,u)?(i=DA(),pc=Kp=Xa=null,Mi=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(u.ctrlKey||u.altKey||u.metaKey)||u.ctrlKey&&u.altKey){if(u.char&&1=u)return{node:f,offset:u-i};i=h}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=XA(f)}}function QA(i,u){return i&&u?i===u?!0:i&&i.nodeType===3?!1:u&&u.nodeType===3?QA(i,u.parentNode):"contains"in i?i.contains(u):i.compareDocumentPosition?!!(i.compareDocumentPosition(u)&16):!1:!1}function JA(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var u=dc(i.document);u instanceof i.HTMLIFrameElement;){try{var f=typeof u.contentWindow.location.href=="string"}catch{f=!1}if(f)i=u.contentWindow;else break;u=dc(i.document)}return u}function rg(i){var u=i&&i.nodeName&&i.nodeName.toLowerCase();return u&&(u==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||u==="textarea"||i.contentEditable==="true")}function H$(i,u){var f=JA(u);u=i.focusedElem;var h=i.selectionRange;if(f!==u&&u&&u.ownerDocument&&QA(u.ownerDocument.documentElement,u)){if(h!==null&&rg(u)){if(i=h.start,f=h.end,f===void 0&&(f=i),"selectionStart"in u)u.selectionStart=i,u.selectionEnd=Math.min(f,u.value.length);else if(f=(i=u.ownerDocument||document)&&i.defaultView||window,f.getSelection){f=f.getSelection();var v=u.textContent.length,T=Math.min(h.start,v);h=h.end===void 0?T:Math.min(h.end,v),!f.extend&&T>h&&(v=h,h=T,T=v),v=ZA(u,T);var F=ZA(u,h);v&&F&&(f.rangeCount!==1||f.anchorNode!==v.node||f.anchorOffset!==v.offset||f.focusNode!==F.node||f.focusOffset!==F.offset)&&(i=i.createRange(),i.setStart(v.node,v.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=u;f=f.parentNode;)f.nodeType===1&&i.push({element:f,left:f.scrollLeft,top:f.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u=document.documentMode,Pi=null,ag=null,pl=null,og=!1;function e1(i,u,f){var h=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;og||Pi==null||Pi!==dc(h)||(h=Pi,"selectionStart"in h&&rg(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}),pl&&fl(pl,h)||(pl=h,h=ed(ag,"onSelect"),0>=F,v-=F,ma=1<<32-St(u)+v|f<Je?(ln=Ye,Ye=null):ln=Ye.sibling;var wt=de(se,Ye,ue[Je],we);if(wt===null){Ye===null&&(Ye=ln);break}i&&Ye&&wt.alternate===null&&u(se,Ye),ne=T(wt,ne,Je),lt===null?je=wt:lt.sibling=wt,lt=wt,Ye=ln}if(Je===ue.length)return f(se,Ye),Et&&Go(se,Je),je;if(Ye===null){for(;JeJe?(ln=Ye,Ye=null):ln=Ye.sibling;var bo=de(se,Ye,wt.value,we);if(bo===null){Ye===null&&(Ye=ln);break}i&&Ye&&bo.alternate===null&&u(se,Ye),ne=T(bo,ne,Je),lt===null?je=bo:lt.sibling=bo,lt=bo,Ye=ln}if(wt.done)return f(se,Ye),Et&&Go(se,Je),je;if(Ye===null){for(;!wt.done;Je++,wt=ue.next())wt=Ae(se,wt.value,we),wt!==null&&(ne=T(wt,ne,Je),lt===null?je=wt:lt.sibling=wt,lt=wt);return Et&&Go(se,Je),je}for(Ye=h(Ye);!wt.done;Je++,wt=ue.next())wt=ge(Ye,se,Je,wt.value,we),wt!==null&&(i&&wt.alternate!==null&&Ye.delete(wt.key===null?Je:wt.key),ne=T(wt,ne,Je),lt===null?je=wt:lt.sibling=wt,lt=wt);return i&&Ye.forEach(function(sq){return u(se,sq)}),Et&&Go(se,Je),je}function Vt(se,ne,ue,we){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;ne!==null;){if(ne.key===je){if(je=ue.type,je===c){if(ne.tag===7){f(se,ne.sibling),we=v(ne,ue.props.children),we.return=se,se=we;break e}}else if(ne.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===x&&b1(je)===ne.type){f(se,ne.sibling),we=v(ne,ue.props),Sl(we,ue),we.return=se,se=we;break e}f(se,ne);break}else u(se,ne);ne=ne.sibling}ue.type===c?(we=Jo(ue.props.children,se.mode,we,ue.key),we.return=se,se=we):(we=$c(ue.type,ue.key,ue.props,null,se.mode,we),Sl(we,ue),we.return=se,se=we)}return F(se);case l:e:{for(je=ue.key;ne!==null;){if(ne.key===je)if(ne.tag===4&&ne.stateNode.containerInfo===ue.containerInfo&&ne.stateNode.implementation===ue.implementation){f(se,ne.sibling),we=v(ne,ue.children||[]),we.return=se,se=we;break e}else{f(se,ne);break}else u(se,ne);ne=ne.sibling}we=sh(ue,se.mode,we),we.return=se,se=we}return F(se);case x:return je=ue._init,ue=je(ue._payload),Vt(se,ne,ue,we)}if(M(ue))return qe(se,ne,ue,we);if(C(ue)){if(je=C(ue),typeof je!="function")throw Error(r(150));return ue=je.call(ue),nt(se,ne,ue,we)}if(typeof ue.then=="function")return Vt(se,ne,Tc(ue),we);if(ue.$$typeof===b)return Vt(se,ne,jc(se,ue),we);Ac(se,ue)}return typeof ue=="string"&&ue!==""||typeof ue=="number"||typeof ue=="bigint"?(ue=""+ue,ne!==null&&ne.tag===6?(f(se,ne.sibling),we=v(ne,ue),we.return=se,se=we):(f(se,ne),we=ih(ue,se.mode,we),we.return=se,se=we),F(se)):f(se,ne)}return function(se,ne,ue,we){try{vl=0;var je=Vt(se,ne,ue,we);return Gi=null,je}catch(Ye){if(Ye===bl)throw Ye;var lt=hr(29,Ye,null,se.mode);return lt.lanes=we,lt.return=se,lt}finally{}}}var $o=y1(!0),v1=y1(!1),Hi=ie(null),Rc=ie(0);function S1(i,u){i=Ca,oe(Rc,i),oe(Hi,u),Ca=i|u.baseLanes}function pg(){oe(Rc,Ca),oe(Hi,Hi.current)}function gg(){Ca=Rc.current,ke(Hi),ke(Rc)}var fr=ie(null),Vr=null;function Qa(i){var u=i.alternate;oe(en,en.current&1),oe(fr,i),Vr===null&&(u===null||Hi.current!==null||u.memoizedState!==null)&&(Vr=i)}function E1(i){if(i.tag===22){if(oe(en,en.current),oe(fr,i),Vr===null){var u=i.alternate;u!==null&&u.memoizedState!==null&&(Vr=i)}}else Ja()}function Ja(){oe(en,en.current),oe(fr,fr.current)}function ya(i){ke(fr),Vr===i&&(Vr=null),ke(en)}var en=ie(0);function Cc(i){for(var u=i;u!==null;){if(u.tag===13){var f=u.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return u}else if(u.tag===19&&u.memoizedProps.revealOrder!==void 0){if(u.flags&128)return u}else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===i)break;for(;u.sibling===null;){if(u.return===null||u.return===i)return null;u=u.return}u.sibling.return=u.return,u=u.sibling}return null}var Y$=typeof AbortController<"u"?AbortController:function(){var i=[],u=this.signal={aborted:!1,addEventListener:function(f,h){i.push(h)}};this.abort=function(){u.aborted=!0,i.forEach(function(f){return f()})}},K$=e.unstable_scheduleCallback,X$=e.unstable_NormalPriority,tn={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function hg(){return{controller:new Y$,data:new Map,refCount:0}}function El(i){i.refCount--,i.refCount===0&&K$(X$,function(){i.controller.abort()})}var wl=null,mg=0,$i=0,qi=null;function Z$(i,u){if(wl===null){var f=wl=[];mg=0,$i=wh(),qi={status:"pending",value:void 0,then:function(h){f.push(h)}}}return mg++,u.then(w1,w1),u}function w1(){if(--mg===0&&wl!==null){qi!==null&&(qi.status="fulfilled");var i=wl;wl=null,$i=0,qi=null;for(var u=0;uT?T:8;var F=D.T,q={};D.T=q,Dg(i,!1,u,f);try{var Z=v(),ae=D.S;if(ae!==null&&ae(q,Z),Z!==null&&typeof Z=="object"&&typeof Z.then=="function"){var be=Q$(Z,h);Tl(i,u,be,Qn(i))}else Tl(i,u,h,Qn(i))}catch(Ae){Tl(i,u,{then:function(){},status:"rejected",reason:Ae},Qn())}finally{K.p=T,D.T=F}}function r6(){}function Og(i,u,f,h){if(i.tag!==5)throw Error(r(476));var v=J1(i).queue;Q1(i,v,u,X,f===null?r6:function(){return eR(i),f(h)})}function J1(i){var u=i.memoizedState;if(u!==null)return u;u={memoizedState:X,baseState:X,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:va,lastRenderedState:X},next:null};var f={};return u.next={memoizedState:f,baseState:f,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:va,lastRenderedState:f},next:null},i.memoizedState=u,i=i.alternate,i!==null&&(i.memoizedState=u),u}function eR(i){var u=J1(i).next.queue;Tl(i,u,{},Qn())}function Ig(){return En(ql)}function tR(){return Xt().memoizedState}function nR(){return Xt().memoizedState}function a6(i){for(var u=i.return;u!==null;){switch(u.tag){case 24:case 3:var f=Qn();i=ao(f);var h=oo(u,i,f);h!==null&&(On(h,u,f),Cl(h,u,f)),u={cache:hg()},i.payload=u;return}u=u.return}}function o6(i,u,f){var h=Qn();f={lane:h,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null},Fc(i)?aR(u,f):(f=lg(i,u,f,h),f!==null&&(On(f,i,h),oR(f,u,h)))}function rR(i,u,f){var h=Qn();Tl(i,u,f,h)}function Tl(i,u,f,h){var v={lane:h,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null};if(Fc(i))aR(u,v);else{var T=i.alternate;if(i.lanes===0&&(T===null||T.lanes===0)&&(T=u.lastRenderedReducer,T!==null))try{var F=u.lastRenderedState,q=T(F,f);if(v.hasEagerState=!0,v.eagerState=q,Yn(q,F))return Sc(i,u,v,0),Dt===null&&vc(),!1}catch{}finally{}if(f=lg(i,u,v,h),f!==null)return On(f,i,h),oR(f,u,h),!0}return!1}function Dg(i,u,f,h){if(h={lane:2,revertLane:wh(),action:h,hasEagerState:!1,eagerState:null,next:null},Fc(i)){if(u)throw Error(r(479))}else u=lg(i,f,h,2),u!==null&&On(u,i,2)}function Fc(i){var u=i.alternate;return i===st||u!==null&&u===st}function aR(i,u){Vi=Nc=!0;var f=i.pending;f===null?u.next=u:(u.next=f.next,f.next=u),i.pending=u}function oR(i,u,f){if(f&4194176){var h=u.lanes;h&=i.pendingLanes,f|=h,u.lanes=f,Rr(i,f)}}var Wr={readContext:En,use:Dc,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:Dc,useCallback:function(i,u){return zn().memoizedState=[i,u===void 0?null:u],i},useContext:En,useEffect:$1,useImperativeHandle:function(i,u,f){f=f!=null?f.concat([i]):null,Mc(4194308,4,W1.bind(null,u,i),f)},useLayoutEffect:function(i,u){return Mc(4194308,4,i,u)},useInsertionEffect:function(i,u){Mc(4,2,i,u)},useMemo:function(i,u){var f=zn();u=u===void 0?null:u;var h=i();if(Vo){ot(!0);try{i()}finally{ot(!1)}}return f.memoizedState=[h,u],h},useReducer:function(i,u,f){var h=zn();if(f!==void 0){var v=f(u);if(Vo){ot(!0);try{f(u)}finally{ot(!1)}}}else v=u;return h.memoizedState=h.baseState=v,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:v},h.queue=i,i=i.dispatch=o6.bind(null,st,i),[h.memoizedState,i]},useRef:function(i){var u=zn();return i={current:i},u.memoizedState=i},useState:function(i){i=Ag(i);var u=i.queue,f=rR.bind(null,st,u);return u.dispatch=f,[i.memoizedState,f]},useDebugValue:_g,useDeferredValue:function(i,u){var f=zn();return Ng(f,i,u)},useTransition:function(){var i=Ag(!1);return i=Q1.bind(null,st,i.queue,!0,!1),zn().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,u,f){var h=st,v=zn();if(Et){if(f===void 0)throw Error(r(407));f=f()}else{if(f=u(),Dt===null)throw Error(r(349));bt&60||C1(h,u,f)}v.memoizedState=f;var T={value:f,getSnapshot:u};return v.queue=T,$1(N1.bind(null,h,T,i),[i]),h.flags|=2048,Yi(9,_1.bind(null,h,T,f,u),{destroy:void 0},null),f},useId:function(){var i=zn(),u=Dt.identifierPrefix;if(Et){var f=ba,h=ma;f=(h&~(1<<32-St(h)-1)).toString(32)+f,u=":"+u+"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",v).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"?v.createElement("select",{is:h.is}):v.createElement("select"),h.multiple?i.multiple=!0:h.size&&(i.size=h.size);break;default:i=typeof h.is=="string"?v.createElement(f,{is:h.is}):v.createElement(f)}}i[Sn]=u,i[Pn]=h;e:for(v=u.child;v!==null;){if(v.tag===5||v.tag===6)i.appendChild(v.stateNode);else if(v.tag!==4&&v.tag!==27&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===u)break e;for(;v.sibling===null;){if(v.return===null||v.return===u)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}u.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&&Aa(u)}}return Bt(u),u.flags&=-16777217,null;case 6:if(i&&u.stateNode!=null)i.memoizedProps!==h&&Aa(u);else{if(typeof h!="string"&&u.stateNode===null)throw Error(r(166));if(i=De.current,gl(u)){if(i=u.stateNode,f=u.memoizedProps,h=null,v=Nn,v!==null)switch(v.tag){case 27:case 5:h=v.memoizedProps}i[Sn]=u,i=!!(i.nodeValue===f||h!==null&&h.suppressHydrationWarning===!0||SC(i.nodeValue,f)),i||Ho(u)}else i=nd(i).createTextNode(h),i[Sn]=u,u.stateNode=i}return Bt(u),null;case 13:if(h=u.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(v=gl(u),h!==null&&h.dehydrated!==null){if(i===null){if(!v)throw Error(r(318));if(v=u.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(r(317));v[Sn]=u}else hl(),!(u.flags&128)&&(u.memoizedState=null),u.flags|=4;Bt(u),v=!1}else _r!==null&&(hh(_r),_r=null),v=!0;if(!v)return u.flags&256?(ya(u),u):(ya(u),null)}if(ya(u),u.flags&128)return u.lanes=f,u;if(f=h!==null,i=i!==null&&i.memoizedState!==null,f){h=u.child,v=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(v=h.alternate.memoizedState.cachePool.pool);var T=null;h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(T=h.memoizedState.cachePool.pool),T!==v&&(h.flags|=2048)}return f!==i&&f&&(u.child.flags|=8192),qc(u,u.updateQueue),Bt(u),null;case 4:return ee(),i===null&&Ah(u.stateNode.containerInfo),Bt(u),null;case 10:return wa(u.type),Bt(u),null;case 19:if(ke(en),v=u.memoizedState,v===null)return Bt(u),null;if(h=(u.flags&128)!==0,T=v.rendering,T===null)if(h)Ml(v,!1);else{if(qt!==0||i!==null&&i.flags&128)for(i=u.child;i!==null;){if(T=Cc(i),T!==null){for(u.flags|=128,Ml(v,!1),i=T.updateQueue,u.updateQueue=i,qc(u,i),u.subtreeFlags=0,i=f,f=u.child;f!==null;)YR(f,i),f=f.sibling;return oe(en,en.current&1|2),u.child}i=i.sibling}v.tail!==null&&he()>Vc&&(u.flags|=128,h=!0,Ml(v,!1),u.lanes=4194304)}else{if(!h)if(i=Cc(T),i!==null){if(u.flags|=128,h=!0,i=i.updateQueue,u.updateQueue=i,qc(u,i),Ml(v,!0),v.tail===null&&v.tailMode==="hidden"&&!T.alternate&&!Et)return Bt(u),null}else 2*he()-v.renderingStartTime>Vc&&f!==536870912&&(u.flags|=128,h=!0,Ml(v,!1),u.lanes=4194304);v.isBackwards?(T.sibling=u.child,u.child=T):(i=v.last,i!==null?i.sibling=T:u.child=T,v.last=T)}return v.tail!==null?(u=v.tail,v.rendering=u,v.tail=u.sibling,v.renderingStartTime=he(),u.sibling=null,i=en.current,oe(en,h?i&1|2:i&1),u):(Bt(u),null);case 22:case 23:return ya(u),gg(),h=u.memoizedState!==null,i!==null?i.memoizedState!==null!==h&&(u.flags|=8192):h&&(u.flags|=8192),h?f&536870912&&!(u.flags&128)&&(Bt(u),u.subtreeFlags&6&&(u.flags|=8192)):Bt(u),f=u.updateQueue,f!==null&&qc(u,f.retryQueue),f=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(f=i.memoizedState.cachePool.pool),h=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(h=u.memoizedState.cachePool.pool),h!==f&&(u.flags|=2048),i!==null&&ke(qo),null;case 24:return f=null,i!==null&&(f=i.memoizedState.cache),u.memoizedState.cache!==f&&(u.flags|=2048),wa(tn),Bt(u),null;case 25:return null}throw Error(r(156,u.tag))}function f6(i,u){switch(cg(u),u.tag){case 1:return i=u.flags,i&65536?(u.flags=i&-65537|128,u):null;case 3:return wa(tn),ee(),i=u.flags,i&65536&&!(i&128)?(u.flags=i&-65537|128,u):null;case 26:case 27:case 5:return Te(u),null;case 13:if(ya(u),i=u.memoizedState,i!==null&&i.dehydrated!==null){if(u.alternate===null)throw Error(r(340));hl()}return i=u.flags,i&65536?(u.flags=i&-65537|128,u):null;case 19:return ke(en),null;case 4:return ee(),null;case 10:return wa(u.type),null;case 22:case 23:return ya(u),gg(),i!==null&&ke(qo),i=u.flags,i&65536?(u.flags=i&-65537|128,u):null;case 24:return wa(tn),null;case 25:return null;default:return null}}function ZR(i,u){switch(cg(u),u.tag){case 3:wa(tn),ee();break;case 26:case 27:case 5:Te(u);break;case 4:ee();break;case 13:ya(u);break;case 19:ke(en);break;case 10:wa(u.type);break;case 22:case 23:ya(u),gg(),i!==null&&ke(qo);break;case 24:wa(tn)}}var p6={getCacheForType:function(i){var u=En(tn),f=u.data.get(i);return f===void 0&&(f=i(),u.data.set(i,f)),f}},g6=typeof WeakMap=="function"?WeakMap:Map,Ut=0,Dt=null,ct=null,bt=0,Lt=0,Zn=null,Ra=!1,Qi=!1,lh=!1,Ca=0,qt=0,co=0,ei=0,uh=0,mr=0,Ji=0,Pl=null,Yr=null,ch=!1,dh=0,Vc=1/0,Wc=null,fo=null,Yc=!1,ti=null,Fl=0,fh=0,ph=null,zl=0,gh=null;function Qn(){if(Ut&2&&bt!==0)return bt&-bt;if(D.T!==null){var i=$i;return i!==0?i:wh()}return yA()}function QR(){mr===0&&(mr=!(bt&536870912)||Et?_t():536870912);var i=fr.current;return i!==null&&(i.flags|=32),mr}function On(i,u,f){(i===Dt&&Lt===2||i.cancelPendingCommit!==null)&&(es(i,0),_a(i,bt,mr,!1)),Ln(i,f),(!(Ut&2)||i!==Dt)&&(i===Dt&&(!(Ut&2)&&(ei|=f),qt===4&&_a(i,bt,mr,!1)),Kr(i))}function JR(i,u,f){if(Ut&6)throw Error(r(327));var h=!f&&(u&60)===0&&(u&i.expiredLanes)===0||Xe(i,u),v=h?b6(i,u):yh(i,u,!0),T=h;do{if(v===0){Qi&&!h&&_a(i,u,0,!1);break}else if(v===6)_a(i,u,0,!Ra);else{if(f=i.current.alternate,T&&!h6(f)){v=yh(i,u,!1),T=!1;continue}if(v===2){if(T=u,i.errorRecoveryDisabledLanes&T)var F=0;else F=i.pendingLanes&-536870913,F=F!==0?F:F&536870912?536870912:0;if(F!==0){u=F;e:{var q=i;v=Pl;var Z=q.current.memoizedState.isDehydrated;if(Z&&(es(q,F).flags|=256),F=yh(q,F,!1),F!==2){if(lh&&!Z){q.errorRecoveryDisabledLanes|=T,ei|=T,v=4;break e}T=Yr,Yr=v,T!==null&&hh(T)}v=F}if(T=!1,v!==2)continue}}if(v===1){es(i,0),_a(i,u,0,!0);break}e:{switch(h=i,v){case 0:case 1:throw Error(r(345));case 4:if((u&4194176)===u){_a(h,u,mr,!Ra);break e}break;case 2:Yr=null;break;case 3:case 5:break;default:throw Error(r(329))}if(h.finishedWork=f,h.finishedLanes=u,(u&62914560)===u&&(T=dh+300-he(),10f?32:f,D.T=null,ti===null)var T=!1;else{f=ph,ph=null;var F=ti,q=Fl;if(ti=null,Fl=0,Ut&6)throw Error(r(331));var Z=Ut;if(Ut|=4,VR(F.current),HR(F,F.current,q,f),Ut=Z,Bl(0,!1),et&&typeof et.onPostCommitFiberRoot=="function")try{et.onPostCommitFiberRoot(ht,F)}catch{}T=!0}return T}finally{K.p=v,D.T=h,lC(i,u)}}return!1}function uC(i,u,f){u=ur(f,u),u=Pg(i.stateNode,u,2),i=oo(i,u,2),i!==null&&(Ln(i,2),Kr(i))}function Nt(i,u,f){if(i.tag===3)uC(i,i,f);else for(;u!==null;){if(u.tag===3){uC(u,i,f);break}else if(u.tag===1){var h=u.stateNode;if(typeof u.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(fo===null||!fo.has(h))){i=ur(f,i),f=fR(2),h=oo(u,f,2),h!==null&&(pR(f,h,u,i),Ln(h,2),Kr(h));break}}u=u.return}}function vh(i,u,f){var h=i.pingCache;if(h===null){h=i.pingCache=new g6;var v=new Set;h.set(u,v)}else v=h.get(u),v===void 0&&(v=new Set,h.set(u,v));v.has(f)||(lh=!0,v.add(f),i=S6.bind(null,i,u,f),u.then(i,i))}function S6(i,u,f){var h=i.pingCache;h!==null&&h.delete(u),i.pingedLanes|=i.suspendedLanes&f,i.warmLanes&=~f,Dt===i&&(bt&f)===f&&(qt===4||qt===3&&(bt&62914560)===bt&&300>he()-dh?!(Ut&2)&&es(i,0):uh|=f,Ji===bt&&(Ji=0)),Kr(i)}function cC(i,u){u===0&&(u=Dn()),i=Za(i,u),i!==null&&(Ln(i,u),Kr(i))}function E6(i){var u=i.memoizedState,f=0;u!==null&&(f=u.retryLane),cC(i,f)}function w6(i,u){var f=0;switch(i.tag){case 13:var h=i.stateNode,v=i.memoizedState;v!==null&&(f=v.retryLane);break;case 19:h=i.stateNode;break;case 22:h=i.stateNode._retryCache;break;default:throw Error(r(314))}h!==null&&h.delete(u),cC(i,f)}function x6(i,u){return Ee(i,u)}var Zc=null,rs=null,Sh=!1,Qc=!1,Eh=!1,ni=0;function Kr(i){i!==rs&&i.next===null&&(rs===null?Zc=rs=i:rs=rs.next=i),Qc=!0,Sh||(Sh=!0,T6(k6))}function Bl(i,u){if(!Eh&&Qc){Eh=!0;do for(var f=!1,h=Zc;h!==null;){if(i!==0){var v=h.pendingLanes;if(v===0)var T=0;else{var F=h.suspendedLanes,q=h.pingedLanes;T=(1<<31-St(42|i)+1)-1,T&=v&~(F&~q),T=T&201326677?T&201326677|1:T?T|2:0}T!==0&&(f=!0,pC(h,T))}else T=bt,T=fa(h,h===Dt?T:0),!(T&3)||Xe(h,T)||(f=!0,pC(h,T));h=h.next}while(f);Eh=!1}}function k6(){Qc=Sh=!1;var i=0;ni!==0&&(D6()&&(i=ni),ni=0);for(var u=he(),f=null,h=Zc;h!==null;){var v=h.next,T=dC(h,u);T===0?(h.next=null,f===null?Zc=v:f.next=v,v===null&&(rs=f)):(f=h,(i!==0||T&3)&&(Qc=!0)),h=v}Bl(i)}function dC(i,u){for(var f=i.suspendedLanes,h=i.pingedLanes,v=i.expirationTimes,T=i.pendingLanes&-62914561;0"u"?null:document;function CC(i,u,f){var h=os;if(h&&typeof u=="string"&&u){var v=sr(u);v='link[rel="'+i+'"][href="'+v+'"]',typeof f=="string"&&(v+='[crossorigin="'+f+'"]'),RC.has(v)||(RC.add(v),i={rel:i,crossOrigin:f,href:u},h.querySelector(v)===null&&(u=h.createElement("link"),mn(u,"link",i),an(u),h.head.appendChild(u)))}}function j6(i){Na.D(i),CC("dns-prefetch",i,null)}function G6(i,u){Na.C(i,u),CC("preconnect",i,u)}function H6(i,u,f){Na.L(i,u,f);var h=os;if(h&&i&&u){var v='link[rel="preload"][as="'+sr(u)+'"]';u==="image"&&f&&f.imageSrcSet?(v+='[imagesrcset="'+sr(f.imageSrcSet)+'"]',typeof f.imageSizes=="string"&&(v+='[imagesizes="'+sr(f.imageSizes)+'"]')):v+='[href="'+sr(i)+'"]';var T=v;switch(u){case"style":T=is(i);break;case"script":T=ss(i)}br.has(T)||(i=L({rel:"preload",href:u==="image"&&f&&f.imageSrcSet?void 0:i,as:u},f),br.set(T,i),h.querySelector(v)!==null||u==="style"&&h.querySelector(Gl(T))||u==="script"&&h.querySelector(Hl(T))||(u=h.createElement("link"),mn(u,"link",i),an(u),h.head.appendChild(u)))}}function $6(i,u){Na.m(i,u);var f=os;if(f&&i){var h=u&&typeof u.as=="string"?u.as:"script",v='link[rel="modulepreload"][as="'+sr(h)+'"][href="'+sr(i)+'"]',T=v;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":T=ss(i)}if(!br.has(T)&&(i=L({rel:"modulepreload",href:i},u),br.set(T,i),f.querySelector(v)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(f.querySelector(Hl(T)))return}h=f.createElement("link"),mn(h,"link",i),an(h),f.head.appendChild(h)}}}function q6(i,u,f){Na.S(i,u,f);var h=os;if(h&&i){var v=_i(h).hoistableStyles,T=is(i);u=u||"default";var F=v.get(T);if(!F){var q={loading:0,preload:null};if(F=h.querySelector(Gl(T)))q.loading=5;else{i=L({rel:"stylesheet",href:i,"data-precedence":u},f),(f=br.get(T))&&Mh(i,f);var Z=F=h.createElement("link");an(Z),mn(Z,"link",i),Z._p=new Promise(function(ae,be){Z.onload=ae,Z.onerror=be}),Z.addEventListener("load",function(){q.loading|=1}),Z.addEventListener("error",function(){q.loading|=2}),q.loading|=4,ad(F,u,h)}F={type:"stylesheet",instance:F,count:1,state:q},v.set(T,F)}}}function V6(i,u){Na.X(i,u);var f=os;if(f&&i){var h=_i(f).hoistableScripts,v=ss(i),T=h.get(v);T||(T=f.querySelector(Hl(v)),T||(i=L({src:i,async:!0},u),(u=br.get(v))&&Ph(i,u),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(v,T))}}function W6(i,u){Na.M(i,u);var f=os;if(f&&i){var h=_i(f).hoistableScripts,v=ss(i),T=h.get(v);T||(T=f.querySelector(Hl(v)),T||(i=L({src:i,async:!0,type:"module"},u),(u=br.get(v))&&Ph(i,u),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(v,T))}}function _C(i,u,f,h){var v=(v=De.current)?rd(v):null;if(!v)throw Error(r(446));switch(i){case"meta":case"title":return null;case"style":return typeof f.precedence=="string"&&typeof f.href=="string"?(u=is(f.href),f=_i(v).hoistableStyles,h=f.get(u),h||(h={type:"style",instance:null,count:0,state:null},f.set(u,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=is(f.href);var T=_i(v).hoistableStyles,F=T.get(i);if(F||(v=v.ownerDocument||v,F={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},T.set(i,F),(T=v.querySelector(Gl(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||Y6(v,i,f,F.state))),u&&h===null)throw Error(r(528,""));return F}if(u&&h!==null)throw Error(r(529,""));return null;case"script":return u=f.async,f=f.src,typeof f=="string"&&u&&typeof u!="function"&&typeof u!="symbol"?(u=ss(f),f=_i(v).hoistableScripts,h=f.get(u),h||(h={type:"script",instance:null,count:0,state:null},f.set(u,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,i))}}function is(i){return'href="'+sr(i)+'"'}function Gl(i){return'link[rel="stylesheet"]['+i+"]"}function NC(i){return L({},i,{"data-precedence":i.precedence,precedence:null})}function Y6(i,u,f,h){i.querySelector('link[rel="preload"][as="style"]['+u+"]")?h.loading=1:(u=i.createElement("link"),h.preload=u,u.addEventListener("load",function(){return h.loading|=1}),u.addEventListener("error",function(){return h.loading|=2}),mn(u,"link",f),an(u),i.head.appendChild(u))}function ss(i){return'[src="'+sr(i)+'"]'}function Hl(i){return"script[async]"+i}function OC(i,u,f){if(u.count++,u.instance===null)switch(u.type){case"style":var h=i.querySelector('style[data-href~="'+sr(f.href)+'"]');if(h)return u.instance=h,an(h),h;var v=L({},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",v),ad(h,f.precedence,i),u.instance=h;case"stylesheet":v=is(f.href);var T=i.querySelector(Gl(v));if(T)return u.state.loading|=4,u.instance=T,an(T),T;h=NC(f),(v=br.get(v))&&Mh(h,v),T=(i.ownerDocument||i).createElement("link"),an(T);var F=T;return F._p=new Promise(function(q,Z){F.onload=q,F.onerror=Z}),mn(T,"link",h),u.state.loading|=4,ad(T,f.precedence,i),u.instance=T;case"script":return T=ss(f.src),(v=i.querySelector(Hl(T)))?(u.instance=v,an(v),v):(h=f,(v=br.get(T))&&(h=L({},f),Ph(h,v)),i=i.ownerDocument||i,v=i.createElement("script"),an(v),mn(v,"link",h),i.head.appendChild(v),u.instance=v);case"void":return null;default:throw Error(r(443,u.type))}else u.type==="stylesheet"&&!(u.state.loading&4)&&(h=u.instance,u.state.loading|=4,ad(h,f.precedence,i));return u.instance}function ad(i,u,f){for(var h=f.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),v=h.length?h[h.length-1]:null,T=v,F=0;F title"):null)}function K6(i,u,f){if(f===1||u.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof u.precedence!="string"||typeof u.href!="string"||u.href==="")break;return!0;case"link":if(typeof u.rel!="string"||typeof u.href!="string"||u.href===""||u.onLoad||u.onError)break;switch(u.rel){case"stylesheet":return i=u.disabled,typeof u.precedence=="string"&&i==null;default:return!0}case"script":if(u.async&&typeof u.async!="function"&&typeof u.async!="symbol"&&!u.onLoad&&!u.onError&&u.src&&typeof u.src=="string")return!0}return!1}function LC(i){return!(i.type==="stylesheet"&&!(i.state.loading&3))}var $l=null;function X6(){}function Z6(i,u,f){if($l===null)throw Error(r(475));var h=$l;if(u.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&!(u.state.loading&4)){if(u.instance===null){var v=is(f.href),T=i.querySelector(Gl(v));if(T){i=T._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(h.count++,h=id.bind(h),i.then(h,h)),u.state.loading|=4,u.instance=T,an(T);return}T=i.ownerDocument||i,f=NC(f),(v=br.get(v))&&Mh(f,v),T=T.createElement("link"),an(T);var F=T;F._p=new Promise(function(q,Z){F.onload=q,F.onerror=Z}),mn(T,"link",f),u.instance=T}h.stylesheets===null&&(h.stylesheets=new Map),h.stylesheets.set(u,i),(i=u.state.preload)&&!(u.state.loading&3)&&(h.count++,u=id.bind(h),i.addEventListener("load",u),i.addEventListener("error",u))}}function Q6(){if($l===null)throw Error(r(475));var i=$l;return i.stylesheets&&i.count===0&&Fh(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(),Vh.exports=vq(),Vh.exports}var Eq=Sq(),Ql={},n_;function wq(){if(n_)return Ql;n_=1,Object.defineProperty(Ql,"__esModule",{value:!0}),Ql.parse=s,Ql.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,S=m.length;if(S<2)return y;const k=(b==null?void 0:b.decode)||p;let R=0;do{const x=m.indexOf("=",R);if(x===-1)break;const A=m.indexOf(";",R),N=A===-1?S:A;if(x>N){R=m.lastIndexOf(";",x-1)+1;continue}const O=l(m,R,x),C=c(m,x,O),_=m.slice(O,C);if(y[_]===void 0){let P=l(m,x+1,N),D=c(m,N,P);const L=k(m.slice(P,D));y[_]=L}R=N+1}while(Ry;){const S=m.charCodeAt(--b);if(S!==32&&S!==9)return b+1}return y}function d(m,b,y){const S=(y==null?void 0:y.encode)||encodeURIComponent;if(!e.test(m))throw new TypeError(`argument name is invalid: ${m}`);const k=S(b);if(!t.test(k))throw new TypeError(`argument val is invalid: ${b}`);let R=m+"="+k;if(!y)return R;if(y.maxAge!==void 0){if(!Number.isInteger(y.maxAge))throw new TypeError(`option maxAge is invalid: ${y.maxAge}`);R+="; Max-Age="+y.maxAge}if(y.domain){if(!n.test(y.domain))throw new TypeError(`option domain is invalid: ${y.domain}`);R+="; Domain="+y.domain}if(y.path){if(!r.test(y.path))throw new TypeError(`option path is invalid: ${y.path}`);R+="; Path="+y.path}if(y.expires){if(!g(y.expires)||!Number.isFinite(y.expires.valueOf()))throw new TypeError(`option expires is invalid: ${y.expires}`);R+="; Expires="+y.expires.toUTCString()}if(y.httpOnly&&(R+="; HttpOnly"),y.secure&&(R+="; Secure"),y.partitioned&&(R+="; Partitioned"),y.priority)switch(typeof y.priority=="string"?y.priority.toLowerCase():void 0){case"low":R+="; Priority=Low";break;case"medium":R+="; Priority=Medium";break;case"high":R+="; 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":R+="; SameSite=Strict";break;case"lax":R+="; SameSite=Lax";break;case"none":R+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${y.sameSite}`)}return R}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 Ql}wq();/** - * react-router v7.3.0 +`+f.stack}}function z(i){var u=i,f=i;if(i.alternate)for(;u.return;)u=u.return;else{i=u;do u=i,(u.flags&4098)!==0&&(f=u.return),i=u.return;while(i)}return u.tag===3?f:null}function Y(i){if(i.tag===13){var u=i.memoizedState;if(u===null&&(i=i.alternate,i!==null&&(u=i.memoizedState)),u!==null)return u.dehydrated}return null}function I(i){if(z(i)!==i)throw Error(r(188))}function V(i){var u=i.alternate;if(!u){if(u=z(i),u===null)throw Error(r(188));return u!==i?null:i}for(var f=i,h=u;;){var v=f.return;if(v===null)break;var T=v.alternate;if(T===null){if(h=v.return,h!==null){f=h;continue}break}if(v.child===T.child){for(T=v.child;T;){if(T===f)return I(v),i;if(T===h)return I(v),u;T=T.sibling}throw Error(r(188))}if(f.return!==h.return)f=v,h=T;else{for(var F=!1,q=v.child;q;){if(q===f){F=!0,f=v,h=T;break}if(q===h){F=!0,h=v,f=T;break}q=q.sibling}if(!F){for(q=T.child;q;){if(q===f){F=!0,f=T,h=v;break}if(q===h){F=!0,h=T,f=v;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:u}function B(i){var u=i.tag;if(u===5||u===26||u===27||u===6)return i;for(i=i.child;i!==null;){if(u=B(i),u!==null)return u;i=i.sibling}return null}var M=Array.isArray,X=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K={pending:!1,data:null,method:null,action:null},ne=[],J=-1;function ie(i){return{current:i}}function Se(i){0>J||(i.current=ne[J],ne[J]=null,J--)}function oe(i,u){J++,ne[J]=i.current,i.current=u}var ye=ie(null),Ee=ie(null),De=ie(null),Ce=ie(null);function we(i,u){switch(oe(De,u),oe(Ee,i),oe(ye,null),i=u.nodeType,i){case 9:case 11:u=(u=u.documentElement)&&(u=u.namespaceURI)?yC(u):0;break;default:if(i=i===8?u.parentNode:u,u=i.tagName,i=i.namespaceURI)i=yC(i),u=vC(i,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}Se(ye),oe(ye,u)}function ee(){Se(ye),Se(Ee),Se(De)}function fe(i){i.memoizedState!==null&&oe(Ce,i);var u=ye.current,f=vC(u,i.type);u!==f&&(oe(Ee,i),oe(ye,f))}function Te(i){Ee.current===i&&(Se(ye),Se(Ee)),Ce.current===i&&(Se(Ce),Wl._currentValue=K)}var me=Object.prototype.hasOwnProperty,xe=e.unstable_scheduleCallback,le=e.unstable_cancelCallback,ze=e.unstable_shouldYield,Be=e.unstable_requestPaint,he=e.unstable_now,Ne=e.unstable_getCurrentPriorityLevel,te=e.unstable_ImmediatePriority,ce=e.unstable_UserBlockingPriority,_e=e.unstable_NormalPriority,Fe=e.unstable_LowPriority,We=e.unstable_IdlePriority,yt=e.log,kt=e.unstable_setDisableYieldValue,ht=null,et=null;function Tt(i){if(et&&typeof et.onCommitFiberRoot=="function")try{et.onCommitFiberRoot(ht,i,void 0,(i.current.flags&128)===128)}catch{}}function ot(i){if(typeof yt=="function"&&kt(i),et&&typeof et.setStrictMode=="function")try{et.setStrictMode(ht,i)}catch{}}var St=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 u=i&42;if(u!==0)return u;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 fa(i,u){var f=i.pendingLanes;if(f===0)return 0;var h=0,v=i.suspendedLanes,T=i.pingedLanes,F=i.warmLanes;i=i.finishedLanes!==0;var q=f&134217727;return q!==0?(f=q&~v,f!==0?h=Jt(f):(T&=q,T!==0?h=Jt(T):i||(F=q&~F,F!==0&&(h=Jt(F))))):(q=f&~v,q!==0?h=Jt(q):T!==0?h=Jt(T):i||(F=f&~F,F!==0&&(h=Jt(F)))),h===0?0:u!==0&&u!==h&&(u&v)===0&&(v=h&-h,F=u&-u,v>=F||v===32&&(F&4194176)!==0)?u:h}function Xe(i,u){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&u)===0}function mt(i,u){switch(i){case 1:case 2:case 4:case 8:return u+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 u+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 _t(){var i=or;return or<<=1,(or&4194176)===0&&(or=128),i}function Dn(){var i=$r;return $r<<=1,($r&62914560)===0&&($r=4194304),i}function _n(i){for(var u=[],f=0;31>f;f++)u.push(i);return u}function Ln(i,u){i.pendingLanes|=u,u!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function pa(i,u,f,h,v,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,Z=i.expirationTimes,ae=i.hiddenUpdates;for(f=F&~f;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),WH=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]*$"),vA={},SA={};function YH(i){return me.call(SA,i)?!0:me.call(vA,i)?!1:WH.test(i)?SA[i]=!0:(vA[i]=!0,!1)}function lc(i,u,f){if(YH(u))if(f===null)i.removeAttribute(u);else{switch(typeof f){case"undefined":case"function":case"symbol":i.removeAttribute(u);return;case"boolean":var h=u.toLowerCase().slice(0,5);if(h!=="data-"&&h!=="aria-"){i.removeAttribute(u);return}}i.setAttribute(u,""+f)}}function uc(i,u,f){if(f===null)i.removeAttribute(u);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(u);return}i.setAttribute(u,""+f)}}function ha(i,u,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(u,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 EA(i){var u=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function KH(i){var u=EA(i)?"checked":"value",f=Object.getOwnPropertyDescriptor(i.constructor.prototype,u),h=""+i[u];if(!i.hasOwnProperty(u)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var v=f.get,T=f.set;return Object.defineProperty(i,u,{configurable:!0,get:function(){return v.call(this)},set:function(F){h=""+F,T.call(this,F)}}),Object.defineProperty(i,u,{enumerable:f.enumerable}),{getValue:function(){return h},setValue:function(F){h=""+F},stopTracking:function(){i._valueTracker=null,delete i[u]}}}}function cc(i){i._valueTracker||(i._valueTracker=KH(i))}function wA(i){if(!i)return!1;var u=i._valueTracker;if(!u)return!0;var f=u.getValue(),h="";return i&&(h=EA(i)?i.checked?"true":"false":i.value),i=h,i!==f?(u.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 XH=/[\n"\\]/g;function sr(i){return i.replace(XH,function(u){return"\\"+u.charCodeAt(0).toString(16)+" "})}function jp(i,u,f,h,v,T,F,q){i.name="",F!=null&&typeof F!="function"&&typeof F!="symbol"&&typeof F!="boolean"?i.type=F:i.removeAttribute("type"),u!=null?F==="number"?(u===0&&i.value===""||i.value!=u)&&(i.value=""+ir(u)):i.value!==""+ir(u)&&(i.value=""+ir(u)):F!=="submit"&&F!=="reset"||i.removeAttribute("value"),u!=null?Gp(i,F,ir(u)):f!=null?Gp(i,F,ir(f)):h!=null&&i.removeAttribute("value"),v==null&&T!=null&&(i.defaultChecked=!!T),v!=null&&(i.checked=v&&typeof v!="function"&&typeof v!="symbol"),q!=null&&typeof q!="function"&&typeof q!="symbol"&&typeof q!="boolean"?i.name=""+ir(q):i.removeAttribute("name")}function xA(i,u,f,h,v,T,F,q){if(T!=null&&typeof T!="function"&&typeof T!="symbol"&&typeof T!="boolean"&&(i.type=T),u!=null||f!=null){if(!(T!=="submit"&&T!=="reset"||u!=null))return;f=f!=null?""+ir(f):"",u=u!=null?""+ir(u):f,q||u===i.value||(i.value=u),i.defaultValue=u}h=h??v,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 Gp(i,u,f){u==="number"&&dc(i.ownerDocument)===i||i.defaultValue===""+f||(i.defaultValue=""+f)}function Oi(i,u,f,h){if(i=i.options,u){u={};for(var v=0;v=dl),PA=" ",FA=!1;function zA(i,u){switch(i){case"keyup":return k$.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function BA(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var Mi=!1;function A$(i,u){switch(i){case"compositionend":return BA(u);case"keypress":return u.which!==32?null:(FA=!0,PA);case"textInput":return i=u.data,i===PA&&FA?null:i;default:return null}}function R$(i,u){if(Mi)return i==="compositionend"||!Jp&&zA(i,u)?(i=NA(),pc=Yp=Xa=null,Mi=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(u.ctrlKey||u.altKey||u.metaKey)||u.ctrlKey&&u.altKey){if(u.char&&1=u)return{node:f,offset:u-i};i=h}e:{for(;f;){if(f.nextSibling){f=f.nextSibling;break e}f=f.parentNode}f=void 0}f=WA(f)}}function KA(i,u){return i&&u?i===u?!0:i&&i.nodeType===3?!1:u&&u.nodeType===3?KA(i,u.parentNode):"contains"in i?i.contains(u):i.compareDocumentPosition?!!(i.compareDocumentPosition(u)&16):!1:!1}function XA(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var u=dc(i.document);u instanceof i.HTMLIFrameElement;){try{var f=typeof u.contentWindow.location.href=="string"}catch{f=!1}if(f)i=u.contentWindow;else break;u=dc(i.document)}return u}function ng(i){var u=i&&i.nodeName&&i.nodeName.toLowerCase();return u&&(u==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||u==="textarea"||i.contentEditable==="true")}function M$(i,u){var f=XA(u);u=i.focusedElem;var h=i.selectionRange;if(f!==u&&u&&u.ownerDocument&&KA(u.ownerDocument.documentElement,u)){if(h!==null&&ng(u)){if(i=h.start,f=h.end,f===void 0&&(f=i),"selectionStart"in u)u.selectionStart=i,u.selectionEnd=Math.min(f,u.value.length);else if(f=(i=u.ownerDocument||document)&&i.defaultView||window,f.getSelection){f=f.getSelection();var v=u.textContent.length,T=Math.min(h.start,v);h=h.end===void 0?T:Math.min(h.end,v),!f.extend&&T>h&&(v=h,h=T,T=v),v=YA(u,T);var F=YA(u,h);v&&F&&(f.rangeCount!==1||f.anchorNode!==v.node||f.anchorOffset!==v.offset||f.focusNode!==F.node||f.focusOffset!==F.offset)&&(i=i.createRange(),i.setStart(v.node,v.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=u;f=f.parentNode;)f.nodeType===1&&i.push({element:f,left:f.scrollLeft,top:f.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u=document.documentMode,Pi=null,rg=null,hl=null,ag=!1;function ZA(i,u,f){var h=f.window===f?f.document:f.nodeType===9?f:f.ownerDocument;ag||Pi==null||Pi!==dc(h)||(h=Pi,"selectionStart"in h&&ng(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}),hl&&gl(hl,h)||(hl=h,h=ed(rg,"onSelect"),0>=F,v-=F,ma=1<<32-St(u)+v|f<Je?(ln=Ye,Ye=null):ln=Ye.sibling;var wt=de(se,Ye,ue[Je],ke);if(wt===null){Ye===null&&(Ye=ln);break}i&&Ye&&wt.alternate===null&&u(se,Ye),re=T(wt,re,Je),lt===null?je=wt:lt.sibling=wt,lt=wt,Ye=ln}if(Je===ue.length)return f(se,Ye),Et&&Ho(se,Je),je;if(Ye===null){for(;JeJe?(ln=Ye,Ye=null):ln=Ye.sibling;var bo=de(se,Ye,wt.value,ke);if(bo===null){Ye===null&&(Ye=ln);break}i&&Ye&&bo.alternate===null&&u(se,Ye),re=T(bo,re,Je),lt===null?je=bo:lt.sibling=bo,lt=bo,Ye=ln}if(wt.done)return f(se,Ye),Et&&Ho(se,Je),je;if(Ye===null){for(;!wt.done;Je++,wt=ue.next())wt=Ae(se,wt.value,ke),wt!==null&&(re=T(wt,re,Je),lt===null?je=wt:lt.sibling=wt,lt=wt);return Et&&Ho(se,Je),je}for(Ye=h(Ye);!wt.done;Je++,wt=ue.next())wt=ge(Ye,se,Je,wt.value,ke),wt!==null&&(i&&wt.alternate!==null&&Ye.delete(wt.key===null?Je:wt.key),re=T(wt,re,Je),lt===null?je=wt:lt.sibling=wt,lt=wt);return i&&Ye.forEach(function(J6){return u(se,J6)}),Et&&Ho(se,Je),je}function Vt(se,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(se,re.sibling),ke=v(re,ue.props.children),ke.return=se,se=ke;break e}}else if(re.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===x&&g1(je)===re.type){f(se,re.sibling),ke=v(re,ue.props),wl(ke,ue),ke.return=se,se=ke;break e}f(se,re);break}else u(se,re);re=re.sibling}ue.type===c?(ke=ei(ue.props.children,se.mode,ke,ue.key),ke.return=se,se=ke):(ke=$c(ue.type,ue.key,ue.props,null,se.mode,ke),wl(ke,ue),ke.return=se,se=ke)}return F(se);case l: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),ke=v(re,ue.children||[]),ke.return=se,se=ke;break e}else{f(se,re);break}else u(se,re);re=re.sibling}ke=ih(ue,se.mode,ke),ke.return=se,se=ke}return F(se);case x:return je=ue._init,ue=je(ue._payload),Vt(se,re,ue,ke)}if(M(ue))return qe(se,re,ue,ke);if(C(ue)){if(je=C(ue),typeof je!="function")throw Error(r(150));return ue=je.call(ue),nt(se,re,ue,ke)}if(typeof ue.then=="function")return Vt(se,re,Tc(ue),ke);if(ue.$$typeof===b)return Vt(se,re,jc(se,ue),ke);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),ke=v(re,ue),ke.return=se,se=ke):(f(se,re),ke=oh(ue,se.mode,ke),ke.return=se,se=ke),F(se)):f(se,re)}return function(se,re,ue,ke){try{El=0;var je=Vt(se,re,ue,ke);return Gi=null,je}catch(Ye){if(Ye===vl)throw Ye;var lt=hr(29,Ye,null,se.mode);return lt.lanes=ke,lt.return=se,lt}finally{}}}var qo=h1(!0),m1=h1(!1),Hi=ie(null),Rc=ie(0);function b1(i,u){i=Ca,oe(Rc,i),oe(Hi,u),Ca=i|u.baseLanes}function fg(){oe(Rc,Ca),oe(Hi,Hi.current)}function pg(){Ca=Rc.current,Se(Hi),Se(Rc)}var fr=ie(null),Vr=null;function Qa(i){var u=i.alternate;oe(en,en.current&1),oe(fr,i),Vr===null&&(u===null||Hi.current!==null||u.memoizedState!==null)&&(Vr=i)}function y1(i){if(i.tag===22){if(oe(en,en.current),oe(fr,i),Vr===null){var u=i.alternate;u!==null&&u.memoizedState!==null&&(Vr=i)}}else Ja()}function Ja(){oe(en,en.current),oe(fr,fr.current)}function ya(i){Se(fr),Vr===i&&(Vr=null),Se(en)}var en=ie(0);function Cc(i){for(var u=i;u!==null;){if(u.tag===13){var f=u.memoizedState;if(f!==null&&(f=f.dehydrated,f===null||f.data==="$?"||f.data==="$!"))return u}else if(u.tag===19&&u.memoizedProps.revealOrder!==void 0){if((u.flags&128)!==0)return u}else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===i)break;for(;u.sibling===null;){if(u.return===null||u.return===i)return null;u=u.return}u.sibling.return=u.return,u=u.sibling}return null}var U$=typeof AbortController<"u"?AbortController:function(){var i=[],u=this.signal={aborted:!1,addEventListener:function(f,h){i.push(h)}};this.abort=function(){u.aborted=!0,i.forEach(function(f){return f()})}},j$=e.unstable_scheduleCallback,G$=e.unstable_NormalPriority,tn={$$typeof:b,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function gg(){return{controller:new U$,data:new Map,refCount:0}}function xl(i){i.refCount--,i.refCount===0&&j$(G$,function(){i.controller.abort()})}var kl=null,hg=0,$i=0,qi=null;function H$(i,u){if(kl===null){var f=kl=[];hg=0,$i=Eh(),qi={status:"pending",value:void 0,then:function(h){f.push(h)}}}return hg++,u.then(v1,v1),u}function v1(){if(--hg===0&&kl!==null){qi!==null&&(qi.status="fulfilled");var i=kl;kl=null,$i=0,qi=null;for(var u=0;uT?T:8;var F=D.T,q={};D.T=q,Ig(i,!1,u,f);try{var Z=v(),ae=D.S;if(ae!==null&&ae(q,Z),Z!==null&&typeof Z=="object"&&typeof Z.then=="function"){var be=$$(Z,h);Rl(i,u,be,Qn(i))}else Rl(i,u,h,Qn(i))}catch(Ae){Rl(i,u,{then:function(){},status:"rejected",reason:Ae},Qn())}finally{X.p=T,D.T=F}}function K$(){}function Ng(i,u,f,h){if(i.tag!==5)throw Error(r(476));var v=X1(i).queue;K1(i,v,u,K,f===null?K$:function(){return Z1(i),f(h)})}function X1(i){var u=i.memoizedState;if(u!==null)return u;u={memoizedState:K,baseState:K,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:va,lastRenderedState:K},next:null};var f={};return u.next={memoizedState:f,baseState:f,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:va,lastRenderedState:f},next:null},i.memoizedState=u,i=i.alternate,i!==null&&(i.memoizedState=u),u}function Z1(i){var u=X1(i).next.queue;Rl(i,u,{},Qn())}function Og(){return En(Wl)}function Q1(){return Xt().memoizedState}function J1(){return Xt().memoizedState}function X$(i){for(var u=i.return;u!==null;){switch(u.tag){case 24:case 3:var f=Qn();i=ao(f);var h=oo(u,i,f);h!==null&&(On(h,u,f),Nl(h,u,f)),u={cache:gg()},i.payload=u;return}u=u.return}}function Z$(i,u,f){var h=Qn();f={lane:h,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null},Fc(i)?tR(u,f):(f=sg(i,u,f,h),f!==null&&(On(f,i,h),nR(f,u,h)))}function eR(i,u,f){var h=Qn();Rl(i,u,f,h)}function Rl(i,u,f,h){var v={lane:h,revertLane:0,action:f,hasEagerState:!1,eagerState:null,next:null};if(Fc(i))tR(u,v);else{var T=i.alternate;if(i.lanes===0&&(T===null||T.lanes===0)&&(T=u.lastRenderedReducer,T!==null))try{var F=u.lastRenderedState,q=T(F,f);if(v.hasEagerState=!0,v.eagerState=q,Yn(q,F))return Sc(i,u,v,0),Dt===null&&vc(),!1}catch{}finally{}if(f=sg(i,u,v,h),f!==null)return On(f,i,h),nR(f,u,h),!0}return!1}function Ig(i,u,f,h){if(h={lane:2,revertLane:Eh(),action:h,hasEagerState:!1,eagerState:null,next:null},Fc(i)){if(u)throw Error(r(479))}else u=sg(i,f,h,2),u!==null&&On(u,i,2)}function Fc(i){var u=i.alternate;return i===st||u!==null&&u===st}function tR(i,u){Vi=Nc=!0;var f=i.pending;f===null?u.next=u:(u.next=f.next,f.next=u),i.pending=u}function nR(i,u,f){if((f&4194176)!==0){var h=u.lanes;h&=i.pendingLanes,f|=h,u.lanes=f,Rr(i,f)}}var Wr={readContext:En,use:Dc,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 Yo={readContext:En,use:Dc,useCallback:function(i,u){return zn().memoizedState=[i,u===void 0?null:u],i},useContext:En,useEffect:j1,useImperativeHandle:function(i,u,f){f=f!=null?f.concat([i]):null,Mc(4194308,4,$1.bind(null,u,i),f)},useLayoutEffect:function(i,u){return Mc(4194308,4,i,u)},useInsertionEffect:function(i,u){Mc(4,2,i,u)},useMemo:function(i,u){var f=zn();u=u===void 0?null:u;var h=i();if(Wo){ot(!0);try{i()}finally{ot(!1)}}return f.memoizedState=[h,u],h},useReducer:function(i,u,f){var h=zn();if(f!==void 0){var v=f(u);if(Wo){ot(!0);try{f(u)}finally{ot(!1)}}}else v=u;return h.memoizedState=h.baseState=v,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:v},h.queue=i,i=i.dispatch=Z$.bind(null,st,i),[h.memoizedState,i]},useRef:function(i){var u=zn();return i={current:i},u.memoizedState=i},useState:function(i){i=Tg(i);var u=i.queue,f=eR.bind(null,st,u);return u.dispatch=f,[i.memoizedState,f]},useDebugValue:Cg,useDeferredValue:function(i,u){var f=zn();return _g(f,i,u)},useTransition:function(){var i=Tg(!1);return i=K1.bind(null,st,i.queue,!0,!1),zn().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,u,f){var h=st,v=zn();if(Et){if(f===void 0)throw Error(r(407));f=f()}else{if(f=u(),Dt===null)throw Error(r(349));(bt&60)!==0||T1(h,u,f)}v.memoizedState=f;var T={value:f,getSnapshot:u};return v.queue=T,j1(R1.bind(null,h,T,i),[i]),h.flags|=2048,Yi(9,A1.bind(null,h,T,f,u),{destroy:void 0},null),f},useId:function(){var i=zn(),u=Dt.identifierPrefix;if(Et){var f=ba,h=ma;f=(h&~(1<<32-St(h)-1)).toString(32)+f,u=":"+u+"R"+f,f=Oc++,0 title"))),mn(T,h,f),T[Sn]=i,an(T),h=T;break e;case"link":var F=_C("link","href",v).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"?v.createElement("select",{is:h.is}):v.createElement("select"),h.multiple?i.multiple=!0:h.size&&(i.size=h.size);break;default:i=typeof h.is=="string"?v.createElement(f,{is:h.is}):v.createElement(f)}}i[Sn]=u,i[Pn]=h;e:for(v=u.child;v!==null;){if(v.tag===5||v.tag===6)i.appendChild(v.stateNode);else if(v.tag!==4&&v.tag!==27&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===u)break e;for(;v.sibling===null;){if(v.return===null||v.return===u)break e;v=v.return}v.sibling.return=v.return,v=v.sibling}u.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&&Aa(u)}}return Bt(u),u.flags&=-16777217,null;case 6:if(i&&u.stateNode!=null)i.memoizedProps!==h&&Aa(u);else{if(typeof h!="string"&&u.stateNode===null)throw Error(r(166));if(i=De.current,ml(u)){if(i=u.stateNode,f=u.memoizedProps,h=null,v=Nn,v!==null)switch(v.tag){case 27:case 5:h=v.memoizedProps}i[Sn]=u,i=!!(i.nodeValue===f||h!==null&&h.suppressHydrationWarning===!0||bC(i.nodeValue,f)),i||$o(u)}else i=nd(i).createTextNode(h),i[Sn]=u,u.stateNode=i}return Bt(u),null;case 13:if(h=u.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(v=ml(u),h!==null&&h.dehydrated!==null){if(i===null){if(!v)throw Error(r(318));if(v=u.memoizedState,v=v!==null?v.dehydrated:null,!v)throw Error(r(317));v[Sn]=u}else bl(),(u.flags&128)===0&&(u.memoizedState=null),u.flags|=4;Bt(u),v=!1}else _r!==null&&(gh(_r),_r=null),v=!0;if(!v)return u.flags&256?(ya(u),u):(ya(u),null)}if(ya(u),(u.flags&128)!==0)return u.lanes=f,u;if(f=h!==null,i=i!==null&&i.memoizedState!==null,f){h=u.child,v=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(v=h.alternate.memoizedState.cachePool.pool);var T=null;h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(T=h.memoizedState.cachePool.pool),T!==v&&(h.flags|=2048)}return f!==i&&f&&(u.child.flags|=8192),qc(u,u.updateQueue),Bt(u),null;case 4:return ee(),i===null&&Th(u.stateNode.containerInfo),Bt(u),null;case 10:return wa(u.type),Bt(u),null;case 19:if(Se(en),v=u.memoizedState,v===null)return Bt(u),null;if(h=(u.flags&128)!==0,T=v.rendering,T===null)if(h)Fl(v,!1);else{if(qt!==0||i!==null&&(i.flags&128)!==0)for(i=u.child;i!==null;){if(T=Cc(i),T!==null){for(u.flags|=128,Fl(v,!1),i=T.updateQueue,u.updateQueue=i,qc(u,i),u.subtreeFlags=0,i=f,f=u.child;f!==null;)qR(f,i),f=f.sibling;return oe(en,en.current&1|2),u.child}i=i.sibling}v.tail!==null&&he()>Vc&&(u.flags|=128,h=!0,Fl(v,!1),u.lanes=4194304)}else{if(!h)if(i=Cc(T),i!==null){if(u.flags|=128,h=!0,i=i.updateQueue,u.updateQueue=i,qc(u,i),Fl(v,!0),v.tail===null&&v.tailMode==="hidden"&&!T.alternate&&!Et)return Bt(u),null}else 2*he()-v.renderingStartTime>Vc&&f!==536870912&&(u.flags|=128,h=!0,Fl(v,!1),u.lanes=4194304);v.isBackwards?(T.sibling=u.child,u.child=T):(i=v.last,i!==null?i.sibling=T:u.child=T,v.last=T)}return v.tail!==null?(u=v.tail,v.rendering=u,v.tail=u.sibling,v.renderingStartTime=he(),u.sibling=null,i=en.current,oe(en,h?i&1|2:i&1),u):(Bt(u),null);case 22:case 23:return ya(u),pg(),h=u.memoizedState!==null,i!==null?i.memoizedState!==null!==h&&(u.flags|=8192):h&&(u.flags|=8192),h?(f&536870912)!==0&&(u.flags&128)===0&&(Bt(u),u.subtreeFlags&6&&(u.flags|=8192)):Bt(u),f=u.updateQueue,f!==null&&qc(u,f.retryQueue),f=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(f=i.memoizedState.cachePool.pool),h=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(h=u.memoizedState.cachePool.pool),h!==f&&(u.flags|=2048),i!==null&&Se(Vo),null;case 24:return f=null,i!==null&&(f=i.memoizedState.cache),u.memoizedState.cache!==f&&(u.flags|=2048),wa(tn),Bt(u),null;case 25:return null}throw Error(r(156,u.tag))}function a6(i,u){switch(ug(u),u.tag){case 1:return i=u.flags,i&65536?(u.flags=i&-65537|128,u):null;case 3:return wa(tn),ee(),i=u.flags,(i&65536)!==0&&(i&128)===0?(u.flags=i&-65537|128,u):null;case 26:case 27:case 5:return Te(u),null;case 13:if(ya(u),i=u.memoizedState,i!==null&&i.dehydrated!==null){if(u.alternate===null)throw Error(r(340));bl()}return i=u.flags,i&65536?(u.flags=i&-65537|128,u):null;case 19:return Se(en),null;case 4:return ee(),null;case 10:return wa(u.type),null;case 22:case 23:return ya(u),pg(),i!==null&&Se(Vo),i=u.flags,i&65536?(u.flags=i&-65537|128,u):null;case 24:return wa(tn),null;case 25:return null;default:return null}}function YR(i,u){switch(ug(u),u.tag){case 3:wa(tn),ee();break;case 26:case 27:case 5:Te(u);break;case 4:ee();break;case 13:ya(u);break;case 19:Se(en);break;case 10:wa(u.type);break;case 22:case 23:ya(u),pg(),i!==null&&Se(Vo);break;case 24:wa(tn)}}var o6={getCacheForType:function(i){var u=En(tn),f=u.data.get(i);return f===void 0&&(f=i(),u.data.set(i,f)),f}},i6=typeof WeakMap=="function"?WeakMap:Map,Ut=0,Dt=null,ct=null,bt=0,Lt=0,Zn=null,Ra=!1,Qi=!1,sh=!1,Ca=0,qt=0,co=0,ti=0,lh=0,mr=0,Ji=0,zl=null,Yr=null,uh=!1,ch=0,Vc=1/0,Wc=null,fo=null,Yc=!1,ni=null,Bl=0,dh=0,fh=null,Ul=0,ph=null;function Qn(){if((Ut&2)!==0&&bt!==0)return bt&-bt;if(D.T!==null){var i=$i;return i!==0?i:Eh()}return hA()}function KR(){mr===0&&(mr=(bt&536870912)===0||Et?_t():536870912);var i=fr.current;return i!==null&&(i.flags|=32),mr}function On(i,u,f){(i===Dt&&Lt===2||i.cancelPendingCommit!==null)&&(es(i,0),_a(i,bt,mr,!1)),Ln(i,f),((Ut&2)===0||i!==Dt)&&(i===Dt&&((Ut&2)===0&&(ti|=f),qt===4&&_a(i,bt,mr,!1)),Kr(i))}function XR(i,u,f){if((Ut&6)!==0)throw Error(r(327));var h=!f&&(u&60)===0&&(u&i.expiredLanes)===0||Xe(i,u),v=h?u6(i,u):bh(i,u,!0),T=h;do{if(v===0){Qi&&!h&&_a(i,u,0,!1);break}else if(v===6)_a(i,u,0,!Ra);else{if(f=i.current.alternate,T&&!s6(f)){v=bh(i,u,!1),T=!1;continue}if(v===2){if(T=u,i.errorRecoveryDisabledLanes&T)var F=0;else F=i.pendingLanes&-536870913,F=F!==0?F:F&536870912?536870912:0;if(F!==0){u=F;e:{var q=i;v=zl;var Z=q.current.memoizedState.isDehydrated;if(Z&&(es(q,F).flags|=256),F=bh(q,F,!1),F!==2){if(sh&&!Z){q.errorRecoveryDisabledLanes|=T,ti|=T,v=4;break e}T=Yr,Yr=v,T!==null&&gh(T)}v=F}if(T=!1,v!==2)continue}}if(v===1){es(i,0),_a(i,u,0,!0);break}e:{switch(h=i,v){case 0:case 1:throw Error(r(345));case 4:if((u&4194176)===u){_a(h,u,mr,!Ra);break e}break;case 2:Yr=null;break;case 3:case 5:break;default:throw Error(r(329))}if(h.finishedWork=f,h.finishedLanes=u,(u&62914560)===u&&(T=ch+300-he(),10f?32:f,D.T=null,ni===null)var T=!1;else{f=fh,fh=null;var F=ni,q=Bl;if(ni=null,Bl=0,(Ut&6)!==0)throw Error(r(331));var Z=Ut;if(Ut|=4,HR(F.current),UR(F,F.current,q,f),Ut=Z,jl(0,!1),et&&typeof et.onPostCommitFiberRoot=="function")try{et.onPostCommitFiberRoot(ht,F)}catch{}T=!0}return T}finally{X.p=v,D.T=h,oC(i,u)}}return!1}function iC(i,u,f){u=ur(f,u),u=Mg(i.stateNode,u,2),i=oo(i,u,2),i!==null&&(Ln(i,2),Kr(i))}function Nt(i,u,f){if(i.tag===3)iC(i,i,f);else for(;u!==null;){if(u.tag===3){iC(u,i,f);break}else if(u.tag===1){var h=u.stateNode;if(typeof u.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(fo===null||!fo.has(h))){i=ur(f,i),f=uR(2),h=oo(u,f,2),h!==null&&(cR(f,h,u,i),Ln(h,2),Kr(h));break}}u=u.return}}function yh(i,u,f){var h=i.pingCache;if(h===null){h=i.pingCache=new i6;var v=new Set;h.set(u,v)}else v=h.get(u),v===void 0&&(v=new Set,h.set(u,v));v.has(f)||(sh=!0,v.add(f),i=f6.bind(null,i,u,f),u.then(i,i))}function f6(i,u,f){var h=i.pingCache;h!==null&&h.delete(u),i.pingedLanes|=i.suspendedLanes&f,i.warmLanes&=~f,Dt===i&&(bt&f)===f&&(qt===4||qt===3&&(bt&62914560)===bt&&300>he()-ch?(Ut&2)===0&&es(i,0):lh|=f,Ji===bt&&(Ji=0)),Kr(i)}function sC(i,u){u===0&&(u=Dn()),i=Za(i,u),i!==null&&(Ln(i,u),Kr(i))}function p6(i){var u=i.memoizedState,f=0;u!==null&&(f=u.retryLane),sC(i,f)}function g6(i,u){var f=0;switch(i.tag){case 13:var h=i.stateNode,v=i.memoizedState;v!==null&&(f=v.retryLane);break;case 19:h=i.stateNode;break;case 22:h=i.stateNode._retryCache;break;default:throw Error(r(314))}h!==null&&h.delete(u),sC(i,f)}function h6(i,u){return xe(i,u)}var Zc=null,rs=null,vh=!1,Qc=!1,Sh=!1,ri=0;function Kr(i){i!==rs&&i.next===null&&(rs===null?Zc=rs=i:rs=rs.next=i),Qc=!0,vh||(vh=!0,b6(m6))}function jl(i,u){if(!Sh&&Qc){Sh=!0;do for(var f=!1,h=Zc;h!==null;){if(i!==0){var v=h.pendingLanes;if(v===0)var T=0;else{var F=h.suspendedLanes,q=h.pingedLanes;T=(1<<31-St(42|i)+1)-1,T&=v&~(F&~q),T=T&201326677?T&201326677|1:T?T|2:0}T!==0&&(f=!0,cC(h,T))}else T=bt,T=fa(h,h===Dt?T:0),(T&3)===0||Xe(h,T)||(f=!0,cC(h,T));h=h.next}while(f);Sh=!1}}function m6(){Qc=vh=!1;var i=0;ri!==0&&(T6()&&(i=ri),ri=0);for(var u=he(),f=null,h=Zc;h!==null;){var v=h.next,T=lC(h,u);T===0?(h.next=null,f===null?Zc=v:f.next=v,v===null&&(rs=f)):(f=h,(i!==0||(T&3)!==0)&&(Qc=!0)),h=v}jl(i)}function lC(i,u){for(var f=i.suspendedLanes,h=i.pingedLanes,v=i.expirationTimes,T=i.pendingLanes&-62914561;0"u"?null:document;function TC(i,u,f){var h=os;if(h&&typeof u=="string"&&u){var v=sr(u);v='link[rel="'+i+'"][href="'+v+'"]',typeof f=="string"&&(v+='[crossorigin="'+f+'"]'),kC.has(v)||(kC.add(v),i={rel:i,crossOrigin:f,href:u},h.querySelector(v)===null&&(u=h.createElement("link"),mn(u,"link",i),an(u),h.head.appendChild(u)))}}function D6(i){Na.D(i),TC("dns-prefetch",i,null)}function L6(i,u){Na.C(i,u),TC("preconnect",i,u)}function M6(i,u,f){Na.L(i,u,f);var h=os;if(h&&i&&u){var v='link[rel="preload"][as="'+sr(u)+'"]';u==="image"&&f&&f.imageSrcSet?(v+='[imagesrcset="'+sr(f.imageSrcSet)+'"]',typeof f.imageSizes=="string"&&(v+='[imagesizes="'+sr(f.imageSizes)+'"]')):v+='[href="'+sr(i)+'"]';var T=v;switch(u){case"style":T=is(i);break;case"script":T=ss(i)}br.has(T)||(i=L({rel:"preload",href:u==="image"&&f&&f.imageSrcSet?void 0:i,as:u},f),br.set(T,i),h.querySelector(v)!==null||u==="style"&&h.querySelector($l(T))||u==="script"&&h.querySelector(ql(T))||(u=h.createElement("link"),mn(u,"link",i),an(u),h.head.appendChild(u)))}}function P6(i,u){Na.m(i,u);var f=os;if(f&&i){var h=u&&typeof u.as=="string"?u.as:"script",v='link[rel="modulepreload"][as="'+sr(h)+'"][href="'+sr(i)+'"]',T=v;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":T=ss(i)}if(!br.has(T)&&(i=L({rel:"modulepreload",href:i},u),br.set(T,i),f.querySelector(v)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(f.querySelector(ql(T)))return}h=f.createElement("link"),mn(h,"link",i),an(h),f.head.appendChild(h)}}}function F6(i,u,f){Na.S(i,u,f);var h=os;if(h&&i){var v=_i(h).hoistableStyles,T=is(i);u=u||"default";var F=v.get(T);if(!F){var q={loading:0,preload:null};if(F=h.querySelector($l(T)))q.loading=5;else{i=L({rel:"stylesheet",href:i,"data-precedence":u},f),(f=br.get(T))&&Lh(i,f);var Z=F=h.createElement("link");an(Z),mn(Z,"link",i),Z._p=new Promise(function(ae,be){Z.onload=ae,Z.onerror=be}),Z.addEventListener("load",function(){q.loading|=1}),Z.addEventListener("error",function(){q.loading|=2}),q.loading|=4,ad(F,u,h)}F={type:"stylesheet",instance:F,count:1,state:q},v.set(T,F)}}}function z6(i,u){Na.X(i,u);var f=os;if(f&&i){var h=_i(f).hoistableScripts,v=ss(i),T=h.get(v);T||(T=f.querySelector(ql(v)),T||(i=L({src:i,async:!0},u),(u=br.get(v))&&Mh(i,u),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(v,T))}}function B6(i,u){Na.M(i,u);var f=os;if(f&&i){var h=_i(f).hoistableScripts,v=ss(i),T=h.get(v);T||(T=f.querySelector(ql(v)),T||(i=L({src:i,async:!0,type:"module"},u),(u=br.get(v))&&Mh(i,u),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(v,T))}}function AC(i,u,f,h){var v=(v=De.current)?rd(v):null;if(!v)throw Error(r(446));switch(i){case"meta":case"title":return null;case"style":return typeof f.precedence=="string"&&typeof f.href=="string"?(u=is(f.href),f=_i(v).hoistableStyles,h=f.get(u),h||(h={type:"style",instance:null,count:0,state:null},f.set(u,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=is(f.href);var T=_i(v).hoistableStyles,F=T.get(i);if(F||(v=v.ownerDocument||v,F={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},T.set(i,F),(T=v.querySelector($l(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||U6(v,i,f,F.state))),u&&h===null)throw Error(r(528,""));return F}if(u&&h!==null)throw Error(r(529,""));return null;case"script":return u=f.async,f=f.src,typeof f=="string"&&u&&typeof u!="function"&&typeof u!="symbol"?(u=ss(f),f=_i(v).hoistableScripts,h=f.get(u),h||(h={type:"script",instance:null,count:0,state:null},f.set(u,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,i))}}function is(i){return'href="'+sr(i)+'"'}function $l(i){return'link[rel="stylesheet"]['+i+"]"}function RC(i){return L({},i,{"data-precedence":i.precedence,precedence:null})}function U6(i,u,f,h){i.querySelector('link[rel="preload"][as="style"]['+u+"]")?h.loading=1:(u=i.createElement("link"),h.preload=u,u.addEventListener("load",function(){return h.loading|=1}),u.addEventListener("error",function(){return h.loading|=2}),mn(u,"link",f),an(u),i.head.appendChild(u))}function ss(i){return'[src="'+sr(i)+'"]'}function ql(i){return"script[async]"+i}function CC(i,u,f){if(u.count++,u.instance===null)switch(u.type){case"style":var h=i.querySelector('style[data-href~="'+sr(f.href)+'"]');if(h)return u.instance=h,an(h),h;var v=L({},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",v),ad(h,f.precedence,i),u.instance=h;case"stylesheet":v=is(f.href);var T=i.querySelector($l(v));if(T)return u.state.loading|=4,u.instance=T,an(T),T;h=RC(f),(v=br.get(v))&&Lh(h,v),T=(i.ownerDocument||i).createElement("link"),an(T);var F=T;return F._p=new Promise(function(q,Z){F.onload=q,F.onerror=Z}),mn(T,"link",h),u.state.loading|=4,ad(T,f.precedence,i),u.instance=T;case"script":return T=ss(f.src),(v=i.querySelector(ql(T)))?(u.instance=v,an(v),v):(h=f,(v=br.get(T))&&(h=L({},f),Mh(h,v)),i=i.ownerDocument||i,v=i.createElement("script"),an(v),mn(v,"link",h),i.head.appendChild(v),u.instance=v);case"void":return null;default:throw Error(r(443,u.type))}else u.type==="stylesheet"&&(u.state.loading&4)===0&&(h=u.instance,u.state.loading|=4,ad(h,f.precedence,i));return u.instance}function ad(i,u,f){for(var h=f.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),v=h.length?h[h.length-1]:null,T=v,F=0;F title"):null)}function j6(i,u,f){if(f===1||u.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof u.precedence!="string"||typeof u.href!="string"||u.href==="")break;return!0;case"link":if(typeof u.rel!="string"||typeof u.href!="string"||u.href===""||u.onLoad||u.onError)break;switch(u.rel){case"stylesheet":return i=u.disabled,typeof u.precedence=="string"&&i==null;default:return!0}case"script":if(u.async&&typeof u.async!="function"&&typeof u.async!="symbol"&&!u.onLoad&&!u.onError&&u.src&&typeof u.src=="string")return!0}return!1}function OC(i){return!(i.type==="stylesheet"&&(i.state.loading&3)===0)}var Vl=null;function G6(){}function H6(i,u,f){if(Vl===null)throw Error(r(475));var h=Vl;if(u.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&(u.state.loading&4)===0){if(u.instance===null){var v=is(f.href),T=i.querySelector($l(v));if(T){i=T._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(h.count++,h=id.bind(h),i.then(h,h)),u.state.loading|=4,u.instance=T,an(T);return}T=i.ownerDocument||i,f=RC(f),(v=br.get(v))&&Lh(f,v),T=T.createElement("link"),an(T);var F=T;F._p=new Promise(function(q,Z){F.onload=q,F.onerror=Z}),mn(T,"link",f),u.instance=T}h.stylesheets===null&&(h.stylesheets=new Map),h.stylesheets.set(u,i),(i=u.state.preload)&&(u.state.loading&3)===0&&(h.count++,u=id.bind(h),i.addEventListener("load",u),i.addEventListener("error",u))}}function $6(){if(Vl===null)throw Error(r(475));var i=Vl;return i.stylesheets&&i.count===0&&Ph(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(),qh.exports=dq(),qh.exports}var pq=fq(),eu={},JC;function gq(){if(JC)return eu;JC=1,Object.defineProperty(eu,"__esModule",{value:!0}),eu.parse=s,eu.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,S=m.length;if(S<2)return y;const k=(b==null?void 0:b.decode)||p;let R=0;do{const x=m.indexOf("=",R);if(x===-1)break;const A=m.indexOf(";",R),N=A===-1?S:A;if(x>N){R=m.lastIndexOf(";",x-1)+1;continue}const O=l(m,R,x),C=c(m,x,O),_=m.slice(O,C);if(y[_]===void 0){let P=l(m,x+1,N),D=c(m,N,P);const L=k(m.slice(P,D));y[_]=L}R=N+1}while(Ry;){const S=m.charCodeAt(--b);if(S!==32&&S!==9)return b+1}return y}function d(m,b,y){const S=(y==null?void 0:y.encode)||encodeURIComponent;if(!e.test(m))throw new TypeError(`argument name is invalid: ${m}`);const k=S(b);if(!t.test(k))throw new TypeError(`argument val is invalid: ${b}`);let R=m+"="+k;if(!y)return R;if(y.maxAge!==void 0){if(!Number.isInteger(y.maxAge))throw new TypeError(`option maxAge is invalid: ${y.maxAge}`);R+="; Max-Age="+y.maxAge}if(y.domain){if(!n.test(y.domain))throw new TypeError(`option domain is invalid: ${y.domain}`);R+="; Domain="+y.domain}if(y.path){if(!r.test(y.path))throw new TypeError(`option path is invalid: ${y.path}`);R+="; Path="+y.path}if(y.expires){if(!g(y.expires)||!Number.isFinite(y.expires.valueOf()))throw new TypeError(`option expires is invalid: ${y.expires}`);R+="; Expires="+y.expires.toUTCString()}if(y.httpOnly&&(R+="; HttpOnly"),y.secure&&(R+="; Secure"),y.partitioned&&(R+="; Partitioned"),y.priority)switch(typeof y.priority=="string"?y.priority.toLowerCase():void 0){case"low":R+="; Priority=Low";break;case"medium":R+="; Priority=Medium";break;case"high":R+="; 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":R+="; SameSite=Strict";break;case"lax":R+="; SameSite=Lax";break;case"none":R+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${y.sameSite}`)}return R}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 eu}gq();/** + * react-router v7.4.0 * * Copyright (c) Remix Software Inc. * @@ -55,208 +55,208 @@ Error generating stack: `+f.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */var r_="popstate";function xq(e={}){function t(a,o){let{pathname:s="/",search:l="",hash:c=""}=Ei(a.location.hash.substring(1));return!s.startsWith("/")&&!s.startsWith(".")&&(s="/"+s),rk("",{pathname:s,search:l,hash:c},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(a,o){let s=a.document.querySelector("base"),l="";if(s&&s.getAttribute("href")){let c=a.location.href,d=c.indexOf("#");l=d===-1?c:c.slice(0,d)}return l+"#"+(typeof o=="string"?o:Eu(o))}function r(a,o){Br(a.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(o)})`)}return Tq(t,n,r,e)}function Gt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Br(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function kq(){return Math.random().toString(36).substring(2,10)}function a_(e,t){return{usr:e.state,key:e.key,idx:t}}function rk(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Ei(t):t,state:n,key:t&&t.key||r||kq()}}function Eu({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 Ei(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 Tq(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:o=!1}=r,s=a.history,l="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(){l="POP";let k=p(),R=k==null?null:k-d;d=k,c&&c({action:l,location:S.location,delta:R})}function m(k,R){l="PUSH";let x=rk(S.location,k,R);n&&n(x,k),d=p()+1;let A=a_(x,d),N=S.createHref(x);try{s.pushState(A,"",N)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;a.location.assign(N)}o&&c&&c({action:l,location:S.location,delta:1})}function b(k,R){l="REPLACE";let x=rk(S.location,k,R);n&&n(x,k),d=p();let A=a_(x,d),N=S.createHref(x);s.replaceState(A,"",N),o&&c&&c({action:l,location:S.location,delta:0})}function y(k){let R=a.location.origin!=="null"?a.location.origin:a.location.href,x=typeof k=="string"?k:Eu(k);return x=x.replace(/ $/,"%20"),Gt(R,`No window.location.(origin|href) available to create URL for href: ${x}`),new URL(x,R)}let S={get action(){return l},get location(){return e(a,s)},listen(k){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(r_,g),c=k,()=>{a.removeEventListener(r_,g),c=null}},createHref(k){return t(a,k)},createURL:y,encodeLocation(k){let R=y(k);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:m,replace:b,go(k){return s.go(k)}};return S}function Bz(e,t,n="/"){return Aq(e,t,n,!1)}function Aq(e,t,n,r){let a=typeof t=="string"?Ei(t):t,o=Ua(a.pathname||"/",n);if(o==null)return null;let s=Uz(e);Rq(s);let l=null;for(let c=0;l==null&&c{let c={relativePath:l===void 0?o.path||"":l,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=za([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}".`),Uz(o.children,t,p,d)),!(o.path==null&&!o.index)&&t.push({path:d,score:Lq(d,o.index),routesMeta:p})};return e.forEach((o,s)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))a(o,s);else for(let c of jz(o.path))a(o,s,c)}),t}function jz(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=jz(r.join("/")),l=[];return l.push(...s.map(c=>c===""?o:[o,c].join("/"))),a&&l.push(...s),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function Rq(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Mq(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var Cq=/^:[\w-]+$/,_q=3,Nq=2,Oq=1,Iq=10,Dq=-2,o_=e=>e==="*";function Lq(e,t){let n=e.split("/"),r=n.length;return n.some(o_)&&(r+=Dq),t&&(r+=Nq),n.filter(a=>!o_(a)).reduce((a,o)=>a+(Cq.test(o)?_q:o===""?Oq:Iq),r)}function Mq(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 Pq(e,t,n=!1){let{routesMeta:r}=e,a={},o="/",s=[];for(let l=0;l{if(p==="*"){let y=l[m]||"";s=o.slice(0,o.length-y.length).replace(/(.)\/+$/,"$1")}const b=l[m];return g&&!b?d[p]=void 0:d[p]=(b||"").replace(/%2F/g,"/"),d},{}),pathname:o,pathnameBase:s,pattern:e}}function Fq(e,t=!1,n=!0){Br(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,l,c)=>(r.push({paramName:l,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 zq(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Br(!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 Ua(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 Bq(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?Ei(e):e;return{pathname:n?n.startsWith("/")?n:Uq(n,t):t,search:Hq(r),hash:$q(a)}}function Uq(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 Xh(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 jq(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Gz(e){let t=jq(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Hz(e,t,n,r=!1){let a;typeof e=="string"?a=Ei(e):(a={...e},Gt(!a.pathname||!a.pathname.includes("?"),Xh("?","pathname","search",a)),Gt(!a.pathname||!a.pathname.includes("#"),Xh("#","pathname","hash",a)),Gt(!a.search||!a.search.includes("#"),Xh("#","search","hash",a)));let o=e===""||a.pathname==="",s=o?"/":a.pathname,l;if(s==null)l=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("/")}l=g>=0?t[g]:"/"}let c=Bq(a,l),d=s&&s!=="/"&&s.endsWith("/"),p=(o||s===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||p)&&(c.pathname+="/"),c}var za=e=>e.join("/").replace(/\/\/+/g,"/"),Gq=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Hq=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,$q=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function qq(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var $z=["POST","PUT","PATCH","DELETE"];new Set($z);var Vq=["GET",...$z];new Set(Vq);var Bs=E.createContext(null);Bs.displayName="DataRouter";var Vf=E.createContext(null);Vf.displayName="DataRouterState";var qz=E.createContext({isTransitioning:!1});qz.displayName="ViewTransition";var Wq=E.createContext(new Map);Wq.displayName="Fetchers";var Yq=E.createContext(null);Yq.displayName="Await";var ia=E.createContext(null);ia.displayName="Navigation";var Uu=E.createContext(null);Uu.displayName="Location";var qa=E.createContext({outlet:null,matches:[],isDataRoute:!1});qa.displayName="Route";var S0=E.createContext(null);S0.displayName="RouteError";function Kq(e,{relative:t}={}){Gt(ju(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=E.useContext(ia),{hash:a,pathname:o,search:s}=Gu(e,{relative:t}),l=o;return n!=="/"&&(l=o==="/"?n:za([n,o])),r.createHref({pathname:l,search:s,hash:a})}function ju(){return E.useContext(Uu)!=null}function wi(){return Gt(ju(),"useLocation() may be used only in the context of a component."),E.useContext(Uu).location}var Vz="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Wz(e){E.useContext(ia).static||E.useLayoutEffect(e)}function Wf(){let{isDataRoute:e}=E.useContext(qa);return e?l9():Xq()}function Xq(){Gt(ju(),"useNavigate() may be used only in the context of a component.");let e=E.useContext(Bs),{basename:t,navigator:n}=E.useContext(ia),{matches:r}=E.useContext(qa),{pathname:a}=wi(),o=JSON.stringify(Gz(r)),s=E.useRef(!1);return Wz(()=>{s.current=!0}),E.useCallback((c,d={})=>{if(Br(s.current,Vz),!s.current)return;if(typeof c=="number"){n.go(c);return}let p=Hz(c,JSON.parse(o),a,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:za([t,p.pathname])),(d.replace?n.replace:n.push)(p,d.state,d)},[t,n,o,a,e])}E.createContext(null);function Gu(e,{relative:t}={}){let{matches:n}=E.useContext(qa),{pathname:r}=wi(),a=JSON.stringify(Gz(n));return E.useMemo(()=>Hz(e,JSON.parse(a),r,t==="path"),[e,a,r,t])}function Zq(e,t){return Yz(e,t)}function Yz(e,t,n,r){var x;Gt(ju(),"useRoutes() may be used only in the context of a component.");let{navigator:a,static:o}=E.useContext(ia),{matches:s}=E.useContext(qa),l=s[s.length-1],c=l?l.params:{},d=l?l.pathname:"/",p=l?l.pathnameBase:"/",g=l&&l.route;{let A=g&&g.path||"";Kz(d,!g||A.endsWith("*")||A.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 e_="popstate";function hq(e={}){function t(a,o){let{pathname:s="/",search:l="",hash:c=""}=Ei(a.location.hash.substring(1));return!s.startsWith("/")&&!s.startsWith(".")&&(s="/"+s),Jx("",{pathname:s,search:l,hash:c},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(a,o){let s=a.document.querySelector("base"),l="";if(s&&s.getAttribute("href")){let c=a.location.href,d=c.indexOf("#");l=d===-1?c:c.slice(0,d)}return l+"#"+(typeof o=="string"?o:wu(o))}function r(a,o){Br(a.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(o)})`)}return bq(t,n,r,e)}function Gt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Br(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function mq(){return Math.random().toString(36).substring(2,10)}function t_(e,t){return{usr:e.state,key:e.key,idx:t}}function Jx(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Ei(t):t,state:n,key:t&&t.key||r||mq()}}function wu({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 Ei(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 bq(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:o=!1}=r,s=a.history,l="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(){l="POP";let k=p(),R=k==null?null:k-d;d=k,c&&c({action:l,location:S.location,delta:R})}function m(k,R){l="PUSH";let x=Jx(S.location,k,R);n&&n(x,k),d=p()+1;let A=t_(x,d),N=S.createHref(x);try{s.pushState(A,"",N)}catch(O){if(O instanceof DOMException&&O.name==="DataCloneError")throw O;a.location.assign(N)}o&&c&&c({action:l,location:S.location,delta:1})}function b(k,R){l="REPLACE";let x=Jx(S.location,k,R);n&&n(x,k),d=p();let A=t_(x,d),N=S.createHref(x);s.replaceState(A,"",N),o&&c&&c({action:l,location:S.location,delta:0})}function y(k){let R=a.location.origin!=="null"?a.location.origin:a.location.href,x=typeof k=="string"?k:wu(k);return x=x.replace(/ $/,"%20"),Gt(R,`No window.location.(origin|href) available to create URL for href: ${x}`),new URL(x,R)}let S={get action(){return l},get location(){return e(a,s)},listen(k){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(e_,g),c=k,()=>{a.removeEventListener(e_,g),c=null}},createHref(k){return t(a,k)},createURL:y,encodeLocation(k){let R=y(k);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:m,replace:b,go(k){return s.go(k)}};return S}function Dz(e,t,n="/"){return yq(e,t,n,!1)}function yq(e,t,n,r){let a=typeof t=="string"?Ei(t):t,o=Ua(a.pathname||"/",n);if(o==null)return null;let s=Lz(e);vq(s);let l=null;for(let c=0;l==null&&c{let c={relativePath:l===void 0?o.path||"":l,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=za([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}".`),Lz(o.children,t,p,d)),!(o.path==null&&!o.index)&&t.push({path:d,score:Aq(d,o.index),routesMeta:p})};return e.forEach((o,s)=>{var l;if(o.path===""||!((l=o.path)!=null&&l.includes("?")))a(o,s);else for(let c of Mz(o.path))a(o,s,c)}),t}function Mz(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=Mz(r.join("/")),l=[];return l.push(...s.map(c=>c===""?o:[o,c].join("/"))),a&&l.push(...s),l.map(c=>e.startsWith("/")&&c===""?"/":c)}function vq(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Rq(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var Sq=/^:[\w-]+$/,Eq=3,wq=2,xq=1,kq=10,Tq=-2,n_=e=>e==="*";function Aq(e,t){let n=e.split("/"),r=n.length;return n.some(n_)&&(r+=Tq),t&&(r+=wq),n.filter(a=>!n_(a)).reduce((a,o)=>a+(Sq.test(o)?Eq:o===""?xq:kq),r)}function Rq(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 Cq(e,t,n=!1){let{routesMeta:r}=e,a={},o="/",s=[];for(let l=0;l{if(p==="*"){let y=l[m]||"";s=o.slice(0,o.length-y.length).replace(/(.)\/+$/,"$1")}const b=l[m];return g&&!b?d[p]=void 0:d[p]=(b||"").replace(/%2F/g,"/"),d},{}),pathname:o,pathnameBase:s,pattern:e}}function _q(e,t=!1,n=!0){Br(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,l,c)=>(r.push({paramName:l,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 Nq(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Br(!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 Ua(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 Oq(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?Ei(e):e;return{pathname:n?n.startsWith("/")?n:Iq(n,t):t,search:Mq(r),hash:Pq(a)}}function Iq(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 Kh(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 Dq(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Pz(e){let t=Dq(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Fz(e,t,n,r=!1){let a;typeof e=="string"?a=Ei(e):(a={...e},Gt(!a.pathname||!a.pathname.includes("?"),Kh("?","pathname","search",a)),Gt(!a.pathname||!a.pathname.includes("#"),Kh("#","pathname","hash",a)),Gt(!a.search||!a.search.includes("#"),Kh("#","search","hash",a)));let o=e===""||a.pathname==="",s=o?"/":a.pathname,l;if(s==null)l=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("/")}l=g>=0?t[g]:"/"}let c=Oq(a,l),d=s&&s!=="/"&&s.endsWith("/"),p=(o||s===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(d||p)&&(c.pathname+="/"),c}var za=e=>e.join("/").replace(/\/\/+/g,"/"),Lq=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Mq=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Pq=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Fq(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var zz=["POST","PUT","PATCH","DELETE"];new Set(zz);var zq=["GET",...zz];new Set(zq);var js=E.createContext(null);js.displayName="DataRouter";var qf=E.createContext(null);qf.displayName="DataRouterState";var Bz=E.createContext({isTransitioning:!1});Bz.displayName="ViewTransition";var Bq=E.createContext(new Map);Bq.displayName="Fetchers";var Uq=E.createContext(null);Uq.displayName="Await";var ia=E.createContext(null);ia.displayName="Navigation";var Uu=E.createContext(null);Uu.displayName="Location";var qa=E.createContext({outlet:null,matches:[],isDataRoute:!1});qa.displayName="Route";var y0=E.createContext(null);y0.displayName="RouteError";function jq(e,{relative:t}={}){Gt(ju(),"useHref() may be used only in the context of a component.");let{basename:n,navigator:r}=E.useContext(ia),{hash:a,pathname:o,search:s}=Gu(e,{relative:t}),l=o;return n!=="/"&&(l=o==="/"?n:za([n,o])),r.createHref({pathname:l,search:s,hash:a})}function ju(){return E.useContext(Uu)!=null}function wi(){return Gt(ju(),"useLocation() may be used only in the context of a component."),E.useContext(Uu).location}var Uz="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function jz(e){E.useContext(ia).static||E.useLayoutEffect(e)}function Vf(){let{isDataRoute:e}=E.useContext(qa);return e?e9():Gq()}function Gq(){Gt(ju(),"useNavigate() may be used only in the context of a component.");let e=E.useContext(js),{basename:t,navigator:n}=E.useContext(ia),{matches:r}=E.useContext(qa),{pathname:a}=wi(),o=JSON.stringify(Pz(r)),s=E.useRef(!1);return jz(()=>{s.current=!0}),E.useCallback((c,d={})=>{if(Br(s.current,Uz),!s.current)return;if(typeof c=="number"){n.go(c);return}let p=Fz(c,JSON.parse(o),a,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:za([t,p.pathname])),(d.replace?n.replace:n.push)(p,d.state,d)},[t,n,o,a,e])}E.createContext(null);function Gu(e,{relative:t}={}){let{matches:n}=E.useContext(qa),{pathname:r}=wi(),a=JSON.stringify(Pz(n));return E.useMemo(()=>Fz(e,JSON.parse(a),r,t==="path"),[e,a,r,t])}function Hq(e,t){return Gz(e,t)}function Gz(e,t,n,r){var x;Gt(ju(),"useRoutes() may be used only in the context of a component.");let{navigator:a,static:o}=E.useContext(ia),{matches:s}=E.useContext(qa),l=s[s.length-1],c=l?l.params:{},d=l?l.pathname:"/",p=l?l.pathnameBase:"/",g=l&&l.route;{let A=g&&g.path||"";Hz(d,!g||A.endsWith("*")||A.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=wi(),b;if(t){let A=typeof t=="string"?Ei(t):t;Gt(p==="/"||((x=A.pathname)==null?void 0:x.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 "${A.pathname}" was given in the \`location\` prop.`),b=A}else b=m;let y=b.pathname||"/",S=y;if(p!=="/"){let A=p.replace(/^\//,"").split("/");S="/"+y.replace(/^\//,"").split("/").slice(A.length).join("/")}let k=!o&&n&&n.matches&&n.matches.length>0?n.matches:Bz(e,{pathname:S});Br(g||k!=null,`No routes matched location "${b.pathname}${b.search}${b.hash}" `),Br(k==null||k[k.length-1].route.element!==void 0||k[k.length-1].route.Component!==void 0||k[k.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 R=n9(k&&k.map(A=>Object.assign({},A,{params:Object.assign({},c,A.params),pathname:za([p,a.encodeLocation?a.encodeLocation(A.pathname).pathname:A.pathname]),pathnameBase:A.pathnameBase==="/"?p:za([p,a.encodeLocation?a.encodeLocation(A.pathnameBase).pathname:A.pathnameBase])})),s,n,r);return t&&R?E.createElement(Uu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...b},navigationType:"POP"}},R):R}function Qq(){let e=s9(),t=qq(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=E.createElement(E.Fragment,null,E.createElement("p",null,"💿 Hey developer 👋"),E.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",E.createElement("code",{style:o},"ErrorBoundary")," or"," ",E.createElement("code",{style:o},"errorElement")," prop on your route.")),E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},t),n?E.createElement("pre",{style:a},n):null,s)}var Jq=E.createElement(Qq,null),e9=class extends E.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?E.createElement(qa.Provider,{value:this.props.routeContext},E.createElement(S0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function t9({routeContext:e,match:t,children:n}){let r=E.useContext(Bs);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),E.createElement(qa.Provider,{value:e},n)}function n9(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,l=-1;if(n)for(let c=0;c=0?a=a.slice(0,l+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||Jq,s&&(l<0&&p===0?(Kz("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),m=!0,y=null):l===p&&(m=!0,y=d.route.hydrateFallbackElement||null)));let S=t.concat(a.slice(0,p+1)),k=()=>{let R;return g?R=b:m?R=y:d.route.Component?R=E.createElement(d.route.Component,null):d.route.element?R=d.route.element:R=c,E.createElement(t9,{match:d,routeContext:{outlet:c,matches:S,isDataRoute:n!=null},children:R})};return n&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?E.createElement(e9,{location:n.location,revalidation:n.revalidation,component:b,error:g,children:k(),routeContext:{outlet:null,matches:S,isDataRoute:!0}}):k()},null)}function E0(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function r9(e){let t=E.useContext(Bs);return Gt(t,E0(e)),t}function a9(e){let t=E.useContext(Vf);return Gt(t,E0(e)),t}function o9(e){let t=E.useContext(qa);return Gt(t,E0(e)),t}function w0(e){let t=o9(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 i9(){return w0("useRouteId")}function s9(){var r;let e=E.useContext(S0),t=a9("useRouteError"),n=w0("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function l9(){let{router:e}=r9("useNavigate"),t=w0("useNavigate"),n=E.useRef(!1);return Wz(()=>{n.current=!0}),E.useCallback(async(a,o={})=>{Br(n.current,Vz),n.current&&(typeof a=="number"?e.navigate(a):await e.navigate(a,{fromRouteId:t,...o}))},[e,t])}var i_={};function Kz(e,t,n){!t&&!i_[e]&&(i_[e]=!0,Br(!1,n))}E.memo(u9);function u9({routes:e,future:t,state:n}){return Yz(e,void 0,n,t)}function ak(e){Gt(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function c9({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:a,static:o=!1}){Gt(!ju(),"You cannot render a inside another . You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),l=E.useMemo(()=>({basename:s,navigator:a,static:o,future:{}}),[s,a,o]);typeof n=="string"&&(n=Ei(n));let{pathname:c="/",search:d="",hash:p="",state:g=null,key:m="default"}=n,b=E.useMemo(()=>{let y=Ua(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 Br(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:E.createElement(ia.Provider,{value:l},E.createElement(Uu.Provider,{children:t,value:b}))}function d9({children:e,location:t}){return Zq(ok(e),t)}function ok(e,t=[]){let n=[];return E.Children.forEach(e,(r,a)=>{if(!E.isValidElement(r))return;let o=[...t,a];if(r.type===E.Fragment){n.push.apply(n,ok(r.props.children,o));return}Gt(r.type===ak,`[${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=ok(r.props.children,o)),n.push(s)}),n}var Vd="get",Wd="application/x-www-form-urlencoded";function Yf(e){return e!=null&&typeof e.tagName=="string"}function f9(e){return Yf(e)&&e.tagName.toLowerCase()==="button"}function p9(e){return Yf(e)&&e.tagName.toLowerCase()==="form"}function g9(e){return Yf(e)&&e.tagName.toLowerCase()==="input"}function h9(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function m9(e,t){return e.button===0&&(!t||t==="_self")&&!h9(e)}var hd=null;function b9(){if(hd===null)try{new FormData(document.createElement("form"),0),hd=!1}catch{hd=!0}return hd}var y9=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Zh(e){return e!=null&&!y9.has(e)?(Br(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Wd}"`),null):e}function v9(e,t){let n,r,a,o,s;if(p9(e)){let l=e.getAttribute("action");r=l?Ua(l,t):null,n=e.getAttribute("method")||Vd,a=Zh(e.getAttribute("enctype"))||Wd,o=new FormData(e)}else if(f9(e)||g9(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a