diff --git a/internal/web/public/assets/index-BwEwkgS9.js b/internal/web/public/assets/index-BwEwkgS9.js new file mode 100644 index 0000000..4e944c6 --- /dev/null +++ b/internal/web/public/assets/index-BwEwkgS9.js @@ -0,0 +1,164 @@ +var dzn=Object.defineProperty;var bzn=(g,w,x)=>w in g?dzn(g,w,{enumerable:!0,configurable:!0,writable:!0,value:x}):g[w]=x;var _s=(g,w,x)=>bzn(g,typeof w!="symbol"?w+"":w,x);(function(){const w=document.createElement("link").relList;if(w&&w.supports&&w.supports("modulepreload"))return;for(const M of document.querySelectorAll('link[rel="modulepreload"]'))j(M);new MutationObserver(M=>{for(const C of M)if(C.type==="childList")for(const k of C.addedNodes)k.tagName==="LINK"&&k.rel==="modulepreload"&&j(k)}).observe(document,{childList:!0,subtree:!0});function x(M){const C={};return M.integrity&&(C.integrity=M.integrity),M.referrerPolicy&&(C.referrerPolicy=M.referrerPolicy),M.crossOrigin==="use-credentials"?C.credentials="include":M.crossOrigin==="anonymous"?C.credentials="omit":C.credentials="same-origin",C}function j(M){if(M.ep)return;M.ep=!0;const C=x(M);fetch(M.href,C)}})();var x1n=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function dEe(g){return g&&g.__esModule&&Object.prototype.hasOwnProperty.call(g,"default")?g.default:g}var wke={exports:{}},HU={};/** + * @license React + * react-jsx-runtime.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var S1n;function gzn(){if(S1n)return HU;S1n=1;var g=Symbol.for("react.transitional.element"),w=Symbol.for("react.fragment");function x(j,M,C){var k=null;if(C!==void 0&&(k=""+C),M.key!==void 0&&(k=""+M.key),"key"in M){C={};for(var P in M)P!=="key"&&(C[P]=M[P])}else C=M;return M=C.ref,{$$typeof:g,type:j,key:k,ref:M!==void 0?M:null,props:C}}return HU.Fragment=w,HU.jsx=x,HU.jsxs=x,HU}var j1n;function wzn(){return j1n||(j1n=1,wke.exports=gzn()),wke.exports}var le=wzn(),pke={exports:{}},Xc={};/** + * @license React + * react.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var T1n;function pzn(){if(T1n)return Xc;T1n=1;var g=Symbol.for("react.transitional.element"),w=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),j=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),C=Symbol.for("react.consumer"),k=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),F=Symbol.for("react.suspense"),L=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),X=Symbol.iterator;function q(ye){return ye===null||typeof ye!="object"?null:(ye=X&&ye[X]||ye["@@iterator"],typeof ye=="function"?ye:null)}var ee={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Y=Object.assign,oe={};function Me(ye,un,ut){this.props=ye,this.context=un,this.refs=oe,this.updater=ut||ee}Me.prototype.isReactComponent={},Me.prototype.setState=function(ye,un){if(typeof ye!="object"&&typeof ye!="function"&&ye!=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,ye,un,"setState")},Me.prototype.forceUpdate=function(ye){this.updater.enqueueForceUpdate(this,ye,"forceUpdate")};function me(){}me.prototype=Me.prototype;function Le(ye,un,ut){this.props=ye,this.context=un,this.refs=oe,this.updater=ut||ee}var Ne=Le.prototype=new me;Ne.constructor=Le,Y(Ne,Me.prototype),Ne.isPureReactComponent=!0;var Oe=Array.isArray,rn={H:null,A:null,T:null,S:null},Un=Object.prototype.hasOwnProperty;function yn(ye,un,ut,ot,it,dt){return ut=dt.ref,{$$typeof:g,type:ye,key:un,ref:ut!==void 0?ut:null,props:dt}}function Wn(ye,un){return yn(ye.type,un,void 0,void 0,void 0,ye.props)}function wn(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===g}function Cn(ye){var un={"=":"=0",":":"=2"};return"$"+ye.replace(/[=:]/g,function(ut){return un[ut]})}var ht=/\/+/g;function wt(ye,un){return typeof ye=="object"&&ye!==null&&ye.key!=null?Cn(""+ye.key):un.toString(36)}function Z(){}function _e(ye){switch(ye.status){case"fulfilled":return ye.value;case"rejected":throw ye.reason;default:switch(typeof ye.status=="string"?ye.then(Z,Z):(ye.status="pending",ye.then(function(un){ye.status==="pending"&&(ye.status="fulfilled",ye.value=un)},function(un){ye.status==="pending"&&(ye.status="rejected",ye.reason=un)})),ye.status){case"fulfilled":return ye.value;case"rejected":throw ye.reason}}throw ye}function Tn(ye,un,ut,ot,it){var dt=typeof ye;(dt==="undefined"||dt==="boolean")&&(ye=null);var Ft=!1;if(ye===null)Ft=!0;else switch(dt){case"bigint":case"string":case"number":Ft=!0;break;case"object":switch(ye.$$typeof){case g:case w:Ft=!0;break;case U:return Ft=ye._init,Tn(Ft(ye._payload),un,ut,ot,it)}}if(Ft)return it=it(ye),Ft=ot===""?"."+wt(ye,0):ot,Oe(it)?(ut="",Ft!=null&&(ut=Ft.replace(ht,"$&/")+"/"),Tn(it,un,ut,"",function(xi){return xi})):it!=null&&(wn(it)&&(it=Wn(it,ut+(it.key==null||ye&&ye.key===it.key?"":(""+it.key).replace(ht,"$&/")+"/")+Ft)),un.push(it)),1;Ft=0;var Di=ot===""?".":ot+":";if(Oe(ye))for(var jt=0;jt>>1,ye=Ie[Sn];if(0>>1;SnM(ot,tn))itM(dt,ot)?(Ie[Sn]=dt,Ie[it]=tn,Sn=it):(Ie[Sn]=ot,Ie[ut]=tn,Sn=ut);else if(itM(dt,tn))Ie[Sn]=dt,Ie[it]=tn,Sn=it;else break e}}return kn}function M(Ie,kn){var tn=Ie.sortIndex-kn.sortIndex;return tn!==0?tn:Ie.id-kn.id}if(g.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var C=performance;g.unstable_now=function(){return C.now()}}else{var k=Date,P=k.now();g.unstable_now=function(){return k.now()-P}}var F=[],L=[],U=1,X=null,q=3,ee=!1,Y=!1,oe=!1,Me=typeof setTimeout=="function"?setTimeout:null,me=typeof clearTimeout=="function"?clearTimeout:null,Le=typeof setImmediate<"u"?setImmediate:null;function Ne(Ie){for(var kn=x(L);kn!==null;){if(kn.callback===null)j(L);else if(kn.startTime<=Ie)j(L),kn.sortIndex=kn.expirationTime,w(F,kn);else break;kn=x(L)}}function Oe(Ie){if(oe=!1,Ne(Ie),!Y)if(x(F)!==null)Y=!0,_e();else{var kn=x(L);kn!==null&&Tn(Oe,kn.startTime-Ie)}}var rn=!1,Un=-1,yn=5,Wn=-1;function wn(){return!(g.unstable_now()-WnIe&&wn());){var Sn=X.callback;if(typeof Sn=="function"){X.callback=null,q=X.priorityLevel;var ye=Sn(X.expirationTime<=Ie);if(Ie=g.unstable_now(),typeof ye=="function"){X.callback=ye,Ne(Ie),kn=!0;break n}X===x(F)&&j(F),Ne(Ie)}else j(F);X=x(F)}if(X!==null)kn=!0;else{var un=x(L);un!==null&&Tn(Oe,un.startTime-Ie),kn=!1}}break e}finally{X=null,q=tn,ee=!1}kn=void 0}}finally{kn?ht():rn=!1}}}var ht;if(typeof Le=="function")ht=function(){Le(Cn)};else if(typeof MessageChannel<"u"){var wt=new MessageChannel,Z=wt.port2;wt.port1.onmessage=Cn,ht=function(){Z.postMessage(null)}}else ht=function(){Me(Cn,0)};function _e(){rn||(rn=!0,ht())}function Tn(Ie,kn){Un=Me(function(){Ie(g.unstable_now())},kn)}g.unstable_IdlePriority=5,g.unstable_ImmediatePriority=1,g.unstable_LowPriority=4,g.unstable_NormalPriority=3,g.unstable_Profiling=null,g.unstable_UserBlockingPriority=2,g.unstable_cancelCallback=function(Ie){Ie.callback=null},g.unstable_continueExecution=function(){Y||ee||(Y=!0,_e())},g.unstable_forceFrameRate=function(Ie){0>Ie||125Sn?(Ie.sortIndex=tn,w(L,Ie),x(F)===null&&Ie===x(L)&&(oe?(me(Un),Un=-1):oe=!0,Tn(Oe,tn-Sn))):(Ie.sortIndex=ye,w(F,Ie),Y||ee||(Y=!0,_e())),Ie},g.unstable_shouldYield=wn,g.unstable_wrapCallback=function(Ie){var kn=q;return function(){var tn=q;q=kn;try{return Ie.apply(this,arguments)}finally{q=tn}}}}(yke)),yke}var C1n;function vzn(){return C1n||(C1n=1,vke.exports=mzn()),vke.exports}var kke={exports:{}},fd={};/** + * @license React + * react-dom.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var O1n;function yzn(){if(O1n)return fd;O1n=1;var g=mq();function w(F){var L="https://react.dev/errors/"+F;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(g)}catch(w){console.error(w)}}return g(),kke.exports=yzn(),kke.exports}/** + * @license React + * react-dom-client.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var D1n;function kzn(){if(D1n)return KU;D1n=1;var g=vzn(),w=mq(),x=f0n();function j(a){var d="https://react.dev/errors/"+a;if(1)":-1O||Fe[S]!==bn[O]){var ft=` +`+Fe[S].replace(" at new "," at ");return a.displayName&&ft.includes("")&&(ft=ft.replace("",a.displayName)),ft}while(1<=S&&0<=O);break}}}finally{_e=!1,Error.prepareStackTrace=p}return(p=a?a.displayName||a.name:"")?Z(p):""}function Ie(a){switch(a.tag){case 26:case 27:case 5:return Z(a.type);case 16:return Z("Lazy");case 13:return Z("Suspense");case 19:return Z("SuspenseList");case 0:case 15:return a=Tn(a.type,!1),a;case 11:return a=Tn(a.type.render,!1),a;case 1:return a=Tn(a.type,!0),a;default:return""}}function kn(a){try{var d="";do d+=Ie(a),a=a.return;while(a);return d}catch(p){return` +Error generating stack: `+p.message+` +`+p.stack}}function tn(a){var d=a,p=a;if(a.alternate)for(;d.return;)d=d.return;else{a=d;do d=a,d.flags&4098&&(p=d.return),a=d.return;while(a)}return d.tag===3?p:null}function Sn(a){if(a.tag===13){var d=a.memoizedState;if(d===null&&(a=a.alternate,a!==null&&(d=a.memoizedState)),d!==null)return d.dehydrated}return null}function ye(a){if(tn(a)!==a)throw Error(j(188))}function un(a){var d=a.alternate;if(!d){if(d=tn(a),d===null)throw Error(j(188));return d!==a?null:a}for(var p=a,S=d;;){var O=p.return;if(O===null)break;var $=O.alternate;if($===null){if(S=O.return,S!==null){p=S;continue}break}if(O.child===$.child){for($=O.child;$;){if($===p)return ye(O),a;if($===S)return ye(O),d;$=$.sibling}throw Error(j(188))}if(p.return!==S.return)p=O,S=$;else{for(var ne=!1,ae=O.child;ae;){if(ae===p){ne=!0,p=O,S=$;break}if(ae===S){ne=!0,S=O,p=$;break}ae=ae.sibling}if(!ne){for(ae=$.child;ae;){if(ae===p){ne=!0,p=$,S=O;break}if(ae===S){ne=!0,S=$,p=O;break}ae=ae.sibling}if(!ne)throw Error(j(189))}}if(p.alternate!==S)throw Error(j(190))}if(p.tag!==3)throw Error(j(188));return p.stateNode.current===p?a:d}function ut(a){var d=a.tag;if(d===5||d===26||d===27||d===6)return a;for(a=a.child;a!==null;){if(d=ut(a),d!==null)return d;a=a.sibling}return null}var ot=Array.isArray,it=x.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,dt={pending:!1,data:null,method:null,action:null},Ft=[],Di=-1;function jt(a){return{current:a}}function xi(a){0>Di||(a.current=Ft[Di],Ft[Di]=null,Di--)}function Gi(a,d){Di++,Ft[Di]=a.current,a.current=d}var Sr=jt(null),Ri=jt(null),oc=jt(null),Fc=jt(null);function Or(a,d){switch(Gi(oc,d),Gi(Ri,a),Gi(Sr,null),a=d.nodeType,a){case 9:case 11:d=(d=d.documentElement)&&(d=d.namespaceURI)?gP(d):0;break;default:if(a=a===8?d.parentNode:d,d=a.tagName,a=a.namespaceURI)a=gP(a),d=wP(a,d);else switch(d){case"svg":d=1;break;case"math":d=2;break;default:d=0}}xi(Sr),Gi(Sr,d)}function Zr(){xi(Sr),xi(Ri),xi(oc)}function nl(a){a.memoizedState!==null&&Gi(Fc,a);var d=Sr.current,p=wP(d,a.type);d!==p&&(Gi(Ri,a),Gi(Sr,p))}function Cl(a){Ri.current===a&&(xi(Sr),xi(Ri)),Fc.current===a&&(xi(Fc),b8._currentValue=dt)}var ad=Object.prototype.hasOwnProperty,hd=g.unstable_scheduleCallback,Nb=g.unstable_cancelCallback,ew=g.unstable_shouldYield,dd=g.unstable_requestPaint,Gr=g.unstable_now,tl=g.unstable_getCurrentPriorityLevel,Us=g.unstable_ImmediatePriority,Db=g.unstable_UserBlockingPriority,nw=g.unstable_NormalPriority,_b=g.unstable_LowPriority,ip=g.unstable_IdlePriority,D4=g.log,rp=g.unstable_setDisableYieldValue,bd=null,ts=null;function Lb(a){if(ts&&typeof ts.onCommitFiberRoot=="function")try{ts.onCommitFiberRoot(bd,a,void 0,(a.current.flags&128)===128)}catch{}}function Uh(a){if(typeof D4=="function"&&rp(a),ts&&typeof ts.setStrictMode=="function")try{ts.setStrictMode(bd,a)}catch{}}var of=Math.clz32?Math.clz32:up,Sy=Math.log,cp=Math.LN2;function up(a){return a>>>=0,a===0?32:31-(Sy(a)/cp|0)|0}var op=128,gd=4194304;function E0(a){var d=a&42;if(d!==0)return d;switch(a&-a){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 a&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function tw(a,d){var p=a.pendingLanes;if(p===0)return 0;var S=0,O=a.suspendedLanes,$=a.pingedLanes,ne=a.warmLanes;a=a.finishedLanes!==0;var ae=p&134217727;return ae!==0?(p=ae&~O,p!==0?S=E0(p):($&=ae,$!==0?S=E0($):a||(ne=ae&~ne,ne!==0&&(S=E0(ne))))):(ae=p&~O,ae!==0?S=E0(ae):$!==0?S=E0($):a||(ne=p&~ne,ne!==0&&(S=E0(ne)))),S===0?0:d!==0&&d!==S&&!(d&O)&&(O=S&-S,ne=d&-d,O>=ne||O===32&&(ne&4194176)!==0)?d:S}function Ho(a,d){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&d)===0}function Rb(a,d){switch(a){case 1:case 2:case 4:case 8:return d+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 d+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 _4(){var a=op;return op<<=1,!(op&4194176)&&(op=128),a}function w3(){var a=gd;return gd<<=1,!(gd&62914560)&&(gd=4194304),a}function iw(a){for(var d=[],p=0;31>p;p++)d.push(a);return d}function Pb(a,d){a.pendingLanes|=d,d!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function L4(a,d,p,S,O,$){var ne=a.pendingLanes;a.pendingLanes=p,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=p,a.entangledLanes&=p,a.errorRecoveryDisabledLanes&=p,a.shellSuspendCounter=0;var ae=a.entanglements,Fe=a.expirationTimes,bn=a.hiddenUpdates;for(p=ne&~p;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ib=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]*$"),yk={},kk={};function IT(a){return ad.call(kk,a)?!0:ad.call(yk,a)?!1:Ib.test(a)?kk[a]=!0:(yk[a]=!0,!1)}function B4(a,d,p){if(IT(d))if(p===null)a.removeAttribute(d);else{switch(typeof p){case"undefined":case"function":case"symbol":a.removeAttribute(d);return;case"boolean":var S=d.toLowerCase().slice(0,5);if(S!=="data-"&&S!=="aria-"){a.removeAttribute(d);return}}a.setAttribute(d,""+p)}}function F4(a,d,p){if(p===null)a.removeAttribute(d);else{switch(typeof p){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(d);return}a.setAttribute(d,""+p)}}function x0(a,d,p,S){if(S===null)a.removeAttribute(p);else{switch(typeof S){case"undefined":case"function":case"symbol":case"boolean":a.removeAttribute(p);return}a.setAttributeNS(d,p,""+S)}}function Xh(a){switch(typeof a){case"bigint":case"boolean":case"number":case"string":case"undefined":return a;case"object":return a;default:return""}}function Ek(a){var d=a.type;return(a=a.nodeName)&&a.toLowerCase()==="input"&&(d==="checkbox"||d==="radio")}function $T(a){var d=Ek(a)?"checked":"value",p=Object.getOwnPropertyDescriptor(a.constructor.prototype,d),S=""+a[d];if(!a.hasOwnProperty(d)&&typeof p<"u"&&typeof p.get=="function"&&typeof p.set=="function"){var O=p.get,$=p.set;return Object.defineProperty(a,d,{configurable:!0,get:function(){return O.call(this)},set:function(ne){S=""+ne,$.call(this,ne)}}),Object.defineProperty(a,d,{enumerable:p.enumerable}),{getValue:function(){return S},setValue:function(ne){S=""+ne},stopTracking:function(){a._valueTracker=null,delete a[d]}}}}function uw(a){a._valueTracker||(a._valueTracker=$T(a))}function xk(a){if(!a)return!1;var d=a._valueTracker;if(!d)return!0;var p=d.getValue(),S="";return a&&(S=Ek(a)?a.checked?"true":"false":a.value),a=S,a!==p?(d.setValue(a),!0):!1}function Sk(a){if(a=a||(typeof document<"u"?document:void 0),typeof a>"u")return null;try{return a.activeElement||a.body}catch{return a.body}}var j_=/[\n"\\]/g;function pd(a){return a.replace(j_,function(d){return"\\"+d.charCodeAt(0).toString(16)+" "})}function BT(a,d,p,S,O,$,ne,ae){a.name="",ne!=null&&typeof ne!="function"&&typeof ne!="symbol"&&typeof ne!="boolean"?a.type=ne:a.removeAttribute("type"),d!=null?ne==="number"?(d===0&&a.value===""||a.value!=d)&&(a.value=""+Xh(d)):a.value!==""+Xh(d)&&(a.value=""+Xh(d)):ne!=="submit"&&ne!=="reset"||a.removeAttribute("value"),d!=null?FT(a,ne,Xh(d)):p!=null?FT(a,ne,Xh(p)):S!=null&&a.removeAttribute("value"),O==null&&$!=null&&(a.defaultChecked=!!$),O!=null&&(a.checked=O&&typeof O!="function"&&typeof O!="symbol"),ae!=null&&typeof ae!="function"&&typeof ae!="symbol"&&typeof ae!="boolean"?a.name=""+Xh(ae):a.removeAttribute("name")}function T_(a,d,p,S,O,$,ne,ae){if($!=null&&typeof $!="function"&&typeof $!="symbol"&&typeof $!="boolean"&&(a.type=$),d!=null||p!=null){if(!($!=="submit"&&$!=="reset"||d!=null))return;p=p!=null?""+Xh(p):"",d=d!=null?""+Xh(d):p,ae||d===a.value||(a.value=d),a.defaultValue=d}S=S??O,S=typeof S!="function"&&typeof S!="symbol"&&!!S,a.checked=ae?a.checked:!!S,a.defaultChecked=!!S,ne!=null&&typeof ne!="function"&&typeof ne!="symbol"&&typeof ne!="boolean"&&(a.name=ne)}function FT(a,d,p){d==="number"&&Sk(a.ownerDocument)===a||a.defaultValue===""+p||(a.defaultValue=""+p)}function H4(a,d,p,S){if(a=a.options,d){d={};for(var O=0;O=Ay),B_=" ",F_=!1;function H_(a,d){switch(a){case"keyup":return Zq.indexOf(d.keyCode)!==-1;case"keydown":return d.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function K_(a){return a=a.detail,typeof a=="object"&&"data"in a?a.data:null}var G4=!1;function nG(a,d){switch(a){case"compositionend":return K_(d);case"keypress":return d.which!==32?null:(F_=!0,B_);case"textInput":return a=d.data,a===B_&&F_?null:a;default:return null}}function tG(a,d){if(G4)return a==="compositionend"||!WT&&H_(a,d)?(a=__(),Mk=GT=sp=null,G4=!1,a):null;switch(a){case"paste":return null;case"keypress":if(!(d.ctrlKey||d.altKey||d.metaKey)||d.ctrlKey&&d.altKey){if(d.char&&1=d)return{node:p,offset:d-a};a=S}e:{for(;p;){if(p.nextSibling){p=p.nextSibling;break e}p=p.parentNode}p=void 0}p=Q_(p)}}function J_(a,d){return a&&d?a===d?!0:a&&a.nodeType===3?!1:d&&d.nodeType===3?J_(a,d.parentNode):"contains"in a?a.contains(d):a.compareDocumentPosition?!!(a.compareDocumentPosition(d)&16):!1:!1}function Z_(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var d=Sk(a.document);d instanceof a.HTMLIFrameElement;){try{var p=typeof d.contentWindow.location.href=="string"}catch{p=!1}if(p)a=d.contentWindow;else break;d=Sk(a.document)}return d}function eM(a){var d=a&&a.nodeName&&a.nodeName.toLowerCase();return d&&(d==="input"&&(a.type==="text"||a.type==="search"||a.type==="tel"||a.type==="url"||a.type==="password")||d==="textarea"||a.contentEditable==="true")}function fG(a,d){var p=Z_(d);d=a.focusedElem;var S=a.selectionRange;if(p!==d&&d&&d.ownerDocument&&J_(d.ownerDocument.documentElement,d)){if(S!==null&&eM(d)){if(a=S.start,p=S.end,p===void 0&&(p=a),"selectionStart"in d)d.selectionStart=a,d.selectionEnd=Math.min(p,d.value.length);else if(p=(a=d.ownerDocument||document)&&a.defaultView||window,p.getSelection){p=p.getSelection();var O=d.textContent.length,$=Math.min(S.start,O);S=S.end===void 0?$:Math.min(S.end,O),!p.extend&&$>S&&(O=S,S=$,$=O),O=W_(d,$);var ne=W_(d,S);O&&ne&&(p.rangeCount!==1||p.anchorNode!==O.node||p.anchorOffset!==O.offset||p.focusNode!==ne.node||p.focusOffset!==ne.offset)&&(a=a.createRange(),a.setStart(O.node,O.offset),p.removeAllRanges(),$>S?(p.addRange(a),p.extend(ne.node,ne.offset)):(a.setEnd(ne.node,ne.offset),p.addRange(a)))}}for(a=[],p=d;p=p.parentNode;)p.nodeType===1&&a.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof d.focus=="function"&&d.focus(),d=0;d=document.documentMode,X4=null,nM=null,Dy=null,tM=!1;function eL(a,d,p){var S=p.window===p?p.document:p.nodeType===9?p:p.ownerDocument;tM||X4==null||X4!==Sk(S)||(S=X4,"selectionStart"in S&&eM(S)?S={start:S.selectionStart,end:S.selectionEnd}:(S=(S.ownerDocument&&S.ownerDocument.defaultView||window).getSelection(),S={anchorNode:S.anchorNode,anchorOffset:S.anchorOffset,focusNode:S.focusNode,focusOffset:S.focusOffset}),Dy&&Ny(Dy,S)||(Dy=S,S=bE(nM,"onSelect"),0>=ne,O-=ne,ow=1<<32-of(d)+O|p<Ir?(ha=lr,lr=null):ha=lr.sibling;var bc=In(En,lr,On[Ir],vt);if(bc===null){lr===null&&(lr=ha);break}a&&lr&&bc.alternate===null&&d(En,lr),fn=$(bc,fn,Ir),Yc===null?Ui=bc:Yc.sibling=bc,Yc=bc,lr=ha}if(Ir===On.length)return p(En,lr),Ku&&x3(En,Ir),Ui;if(lr===null){for(;IrIr?(ha=lr,lr=null):ha=lr.sibling;var $3=In(En,lr,bc.value,vt);if($3===null){lr===null&&(lr=ha);break}a&&lr&&$3.alternate===null&&d(En,lr),fn=$($3,fn,Ir),Yc===null?Ui=$3:Yc.sibling=$3,Yc=$3,lr=ha}if(bc.done)return p(En,lr),Ku&&x3(En,Ir),Ui;if(lr===null){for(;!bc.done;Ir++,bc=On.next())bc=At(En,bc.value,vt),bc!==null&&(fn=$(bc,fn,Ir),Yc===null?Ui=bc:Yc.sibling=bc,Yc=bc);return Ku&&x3(En,Ir),Ui}for(lr=S(lr);!bc.done;Ir++,bc=On.next())bc=Jn(lr,En,Ir,bc.value,vt),bc!==null&&(a&&bc.alternate!==null&&lr.delete(bc.key===null?Ir:bc.key),fn=$(bc,fn,Ir),Yc===null?Ui=bc:Yc.sibling=bc,Yc=bc);return a&&lr.forEach(function($P){return d(En,$P)}),Ku&&x3(En,Ir),Ui}function ul(En,fn,On,vt){if(typeof On=="object"&&On!==null&&On.type===F&&On.key===null&&(On=On.props.children),typeof On=="object"&&On!==null){switch(On.$$typeof){case k:e:{for(var Ui=On.key;fn!==null;){if(fn.key===Ui){if(Ui=On.type,Ui===F){if(fn.tag===7){p(En,fn.sibling),vt=O(fn,On.props.children),vt.return=En,En=vt;break e}}else if(fn.elementType===Ui||typeof Ui=="object"&&Ui!==null&&Ui.$$typeof===Le&&wL(Ui)===fn.type){p(En,fn.sibling),vt=O(fn,On.props),By(vt,On),vt.return=En,En=vt;break e}p(En,fn);break}else d(En,fn);fn=fn.sibling}On.type===F?(vt=_3(On.props.children,En.mode,vt,On.key),vt.return=En,En=vt):(vt=iE(On.type,On.key,On.props,null,En.mode,vt),By(vt,On),vt.return=En,En=vt)}return ne(En);case P:e:{for(Ui=On.key;fn!==null;){if(fn.key===Ui)if(fn.tag===4&&fn.stateNode.containerInfo===On.containerInfo&&fn.stateNode.implementation===On.implementation){p(En,fn.sibling),vt=O(fn,On.children||[]),vt.return=En,En=vt;break e}else{p(En,fn);break}else d(En,fn);fn=fn.sibling}vt=iA(On,En.mode,vt),vt.return=En,En=vt}return ne(En);case Le:return Ui=On._init,On=Ui(On._payload),ul(En,fn,On,vt)}if(ot(On))return er(En,fn,On,vt);if(Un(On)){if(Ui=Un(On),typeof Ui!="function")throw Error(j(150));return On=Ui.call(On),dc(En,fn,On,vt)}if(typeof On.then=="function")return ul(En,fn,Bk(On),vt);if(On.$$typeof===ee)return ul(En,fn,Zk(En,On),vt);Fk(En,On)}return typeof On=="string"&&On!==""||typeof On=="number"||typeof On=="bigint"?(On=""+On,fn!==null&&fn.tag===6?(p(En,fn.sibling),vt=O(fn,On),vt.return=En,En=vt):(p(En,fn),vt=tA(On,En.mode,vt),vt.return=En,En=vt),ne(En)):p(En,fn)}return function(En,fn,On,vt){try{$y=0;var Ui=ul(En,fn,On,vt);return Z4=null,Ui}catch(lr){if(lr===Py)throw lr;var Yc=Qh(29,lr,null,En.mode);return Yc.lanes=vt,Yc.return=En,Yc}finally{}}}var j3=pL(!0),mL=pL(!1),e6=jt(null),Hk=jt(0);function vL(a,d){a=mw,Gi(Hk,a),Gi(e6,d),mw=a|d.baseLanes}function aM(){Gi(Hk,mw),Gi(e6,e6.current)}function hM(){mw=Hk.current,xi(e6),xi(Hk)}var Ed=jt(null),Bb=null;function fp(a){var d=a.alternate;Gi(lf,lf.current&1),Gi(Ed,a),Bb===null&&(d===null||e6.current!==null||d.memoizedState!==null)&&(Bb=a)}function yL(a){if(a.tag===22){if(Gi(lf,lf.current),Gi(Ed,a),Bb===null){var d=a.alternate;d!==null&&d.memoizedState!==null&&(Bb=a)}}else ap()}function ap(){Gi(lf,lf.current),Gi(Ed,Ed.current)}function lw(a){xi(Ed),Bb===a&&(Bb=null),xi(lf)}var lf=jt(0);function Kk(a){for(var d=a;d!==null;){if(d.tag===13){var p=d.memoizedState;if(p!==null&&(p=p.dehydrated,p===null||p.data==="$?"||p.data==="$!"))return d}else if(d.tag===19&&d.memoizedProps.revealOrder!==void 0){if(d.flags&128)return d}else if(d.child!==null){d.child.return=d,d=d.child;continue}if(d===a)break;for(;d.sibling===null;){if(d.return===null||d.return===a)return null;d=d.return}d.sibling.return=d.return,d=d.sibling}return null}var gG=typeof AbortController<"u"?AbortController:function(){var a=[],d=this.signal={aborted:!1,addEventListener:function(p,S){a.push(S)}};this.abort=function(){d.aborted=!0,a.forEach(function(p){return p()})}},wG=g.unstable_scheduleCallback,pG=g.unstable_NormalPriority,Ol={$$typeof:ee,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function dM(){return{controller:new gG,data:new Map,refCount:0}}function Fy(a){a.refCount--,a.refCount===0&&wG(pG,function(){a.controller.abort()})}var Hy=null,bM=0,n6=0,t6=null;function mG(a,d){if(Hy===null){var p=Hy=[];bM=0,n6=pA(),t6={status:"pending",value:void 0,then:function(S){p.push(S)}}}return bM++,d.then(kL,kL),d}function kL(){if(--bM===0&&Hy!==null){t6!==null&&(t6.status="fulfilled");var a=Hy;Hy=null,n6=0,t6=null;for(var d=0;d$?$:8;var ne=wn.T,ae={};wn.T=ae,OM(a,!1,d,p);try{var Fe=O(),bn=wn.S;if(bn!==null&&bn(ae,Fe),Fe!==null&&typeof Fe=="object"&&typeof Fe.then=="function"){var ft=vG(Fe,S);Gy(a,d,ft,O1(a))}else Gy(a,d,S,O1(a))}catch(At){Gy(a,d,{then:function(){},status:"rejected",reason:At},O1())}finally{it.p=$,wn.T=ne}}function SG(){}function AM(a,d,p,S){if(a.tag!==5)throw Error(j(476));var O=JL(a).queue;WL(a,O,d,dt,p===null?SG:function(){return ZL(a),p(S)})}function JL(a){var d=a.memoizedState;if(d!==null)return d;d={memoizedState:dt,baseState:dt,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fw,lastRenderedState:dt},next:null};var p={};return d.next={memoizedState:p,baseState:p,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:fw,lastRenderedState:p},next:null},a.memoizedState=d,a=a.alternate,a!==null&&(a.memoizedState=d),d}function ZL(a){var d=JL(a).next.queue;Gy(a,d,{},O1())}function CM(){return Df(b8)}function eR(){return Nl().memoizedState}function nR(){return Nl().memoizedState}function jG(a){for(var d=a.return;d!==null;){switch(d.tag){case 24:case 3:var p=O1();a=mp(p);var S=vp(d,a,p);S!==null&&(ah(S,d,p),Vy(S,d,p)),d={cache:dM()},a.payload=d;return}d=d.return}}function TG(a,d,p){var S=O1();p={lane:S,revertLane:0,action:p,hasEagerState:!1,eagerState:null,next:null},Qk(a)?iR(d,p):(p=uM(a,d,p,S),p!==null&&(ah(p,a,S),rR(p,d,S)))}function tR(a,d,p){var S=O1();Gy(a,d,p,S)}function Gy(a,d,p,S){var O={lane:S,revertLane:0,action:p,hasEagerState:!1,eagerState:null,next:null};if(Qk(a))iR(d,O);else{var $=a.alternate;if(a.lanes===0&&($===null||$.lanes===0)&&($=d.lastRenderedReducer,$!==null))try{var ne=d.lastRenderedState,ae=$(ne,p);if(O.hasEagerState=!0,O.eagerState=ae,j1(ae,ne))return Lk(a,d,O,0),Mo===null&&_k(),!1}catch{}finally{}if(p=uM(a,d,O,S),p!==null)return ah(p,a,S),rR(p,d,S),!0}return!1}function OM(a,d,p,S){if(S={lane:2,revertLane:pA(),action:S,hasEagerState:!1,eagerState:null,next:null},Qk(a)){if(d)throw Error(j(479))}else d=uM(a,p,S,2),d!==null&&ah(d,a,2)}function Qk(a){var d=a.alternate;return a===Nc||d!==null&&d===Nc}function iR(a,d){i6=Ky=!0;var p=a.pending;p===null?d.next=d:(d.next=p.next,p.next=d),a.pending=d}function rR(a,d,p){if(p&4194176){var S=d.lanes;S&=a.pendingLanes,p|=S,d.lanes=p,sh(a,p)}}var Fb={readContext:Df,use:Gk,useCallback:cl,useContext:cl,useEffect:cl,useImperativeHandle:cl,useLayoutEffect:cl,useInsertionEffect:cl,useMemo:cl,useReducer:cl,useRef:cl,useState:cl,useDebugValue:cl,useDeferredValue:cl,useTransition:cl,useSyncExternalStore:cl,useId:cl};Fb.useCacheRefresh=cl,Fb.useMemoCache=cl,Fb.useHostTransitionStatus=cl,Fb.useFormState=cl,Fb.useActionState=cl,Fb.useOptimistic=cl;var T3={readContext:Df,use:Gk,useCallback:function(a,d){return Yh().memoizedState=[a,d===void 0?null:d],a},useContext:Df,useEffect:zL,useImperativeHandle:function(a,d,p){p=p!=null?p.concat([a]):null,Vk(4194308,4,GL.bind(null,d,a),p)},useLayoutEffect:function(a,d){return Vk(4194308,4,a,d)},useInsertionEffect:function(a,d){Vk(4,2,a,d)},useMemo:function(a,d){var p=Yh();d=d===void 0?null:d;var S=a();if(bp){Uh(!0);try{a()}finally{Uh(!1)}}return p.memoizedState=[S,d],S},useReducer:function(a,d,p){var S=Yh();if(p!==void 0){var O=p(d);if(bp){Uh(!0);try{p(d)}finally{Uh(!1)}}}else O=d;return S.memoizedState=S.baseState=O,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:O},S.queue=a,a=a.dispatch=TG.bind(null,Nc,a),[S.memoizedState,a]},useRef:function(a){var d=Yh();return a={current:a},d.memoizedState=a},useState:function(a){a=xM(a);var d=a.queue,p=tR.bind(null,Nc,d);return d.dispatch=p,[a.memoizedState,p]},useDebugValue:TM,useDeferredValue:function(a,d){var p=Yh();return MM(p,a,d)},useTransition:function(){var a=xM(!1);return a=WL.bind(null,Nc,a.queue,!0,!1),Yh().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,d,p){var S=Nc,O=Yh();if(Ku){if(p===void 0)throw Error(j(407));p=p()}else{if(p=d(),Mo===null)throw Error(j(349));Eu&60||ML(S,d,p)}O.memoizedState=p;var $={value:p,getSnapshot:d};return O.queue=$,zL(CL.bind(null,S,$,a),[a]),S.flags|=2048,c6(9,AL.bind(null,S,$,p,d),{destroy:void 0},null),p},useId:function(){var a=Yh(),d=Mo.identifierPrefix;if(Ku){var p=sw,S=ow;p=(S&~(1<<32-of(S)-1)).toString(32)+p,d=":"+d+"R"+p,p=zy++,0 title"))),aa($,S,p),$[il]=a,Hc($),S=$;break e;case"link":var ne=MP("link","href",O).get(S+(p.href||""));if(ne){for(var ae=0;ae<\/script>",a=a.removeChild(a.firstChild);break;case"select":a=typeof S.is=="string"?O.createElement("select",{is:S.is}):O.createElement("select"),S.multiple?a.multiple=!0:S.size&&(a.size=S.size);break;default:a=typeof S.is=="string"?O.createElement(p,{is:S.is}):O.createElement(p)}}a[il]=d,a[Ko]=S;e:for(O=d.child;O!==null;){if(O.tag===5||O.tag===6)a.appendChild(O.stateNode);else if(O.tag!==4&&O.tag!==27&&O.child!==null){O.child.return=O,O=O.child;continue}if(O===d)break e;for(;O.sibling===null;){if(O.return===null||O.return===d)break e;O=O.return}O.sibling.return=O.return,O=O.sibling}d.stateNode=a;e:switch(aa(a,p,S),p){case"button":case"input":case"select":case"textarea":a=!!S.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&pw(d)}}return zo(d),d.flags&=-16777217,null;case 6:if(a&&d.stateNode!=null)a.memoizedProps!==S&&pw(d);else{if(typeof S!="string"&&d.stateNode===null)throw Error(j(166));if(a=oc.current,_y(d)){if(a=d.stateNode,p=d.memoizedProps,S=null,O=fh,O!==null)switch(O.tag){case 27:case 5:S=O.memoizedProps}a[il]=d,a=!!(a.nodeValue===p||S!==null&&S.suppressHydrationWarning===!0||bP(a.nodeValue,p)),a||S3(d)}else a=wE(a).createTextNode(S),a[il]=d,d.stateNode=a}return zo(d),null;case 13:if(S=d.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(O=_y(d),S!==null&&S.dehydrated!==null){if(a===null){if(!O)throw Error(j(318));if(O=d.memoizedState,O=O!==null?O.dehydrated:null,!O)throw Error(j(317));O[il]=d}else Ly(),!(d.flags&128)&&(d.memoizedState=null),d.flags|=4;zo(d),O=!1}else j0!==null&&(fA(j0),j0=null),O=!0;if(!O)return d.flags&256?(lw(d),d):(lw(d),null)}if(lw(d),d.flags&128)return d.lanes=p,d;if(p=S!==null,a=a!==null&&a.memoizedState!==null,p){S=d.child,O=null,S.alternate!==null&&S.alternate.memoizedState!==null&&S.alternate.memoizedState.cachePool!==null&&(O=S.alternate.memoizedState.cachePool.pool);var $=null;S.memoizedState!==null&&S.memoizedState.cachePool!==null&&($=S.memoizedState.cachePool.pool),$!==O&&(S.flags|=2048)}return p!==a&&p&&(d.child.flags|=8192),rE(d,d.updateQueue),zo(d),null;case 4:return Zr(),a===null&&kA(d.stateNode.containerInfo),zo(d),null;case 10:return dw(d.type),zo(d),null;case 19:if(xi(lf),O=d.memoizedState,O===null)return zo(d),null;if(S=(d.flags&128)!==0,$=O.rendering,$===null)if(S)t8(O,!1);else{if(Gs!==0||a!==null&&a.flags&128)for(a=d.child;a!==null;){if($=Kk(a),$!==null){for(d.flags|=128,t8(O,!1),a=$.updateQueue,d.updateQueue=a,rE(d,a),d.subtreeFlags=0,a=p,p=d.child;p!==null;)nA(p,a),p=p.sibling;return Gi(lf,lf.current&1|2),d.child}a=a.sibling}O.tail!==null&&Gr()>uE&&(d.flags|=128,S=!0,t8(O,!1),d.lanes=4194304)}else{if(!S)if(a=Kk($),a!==null){if(d.flags|=128,S=!0,a=a.updateQueue,d.updateQueue=a,rE(d,a),t8(O,!0),O.tail===null&&O.tailMode==="hidden"&&!$.alternate&&!Ku)return zo(d),null}else 2*Gr()-O.renderingStartTime>uE&&p!==536870912&&(d.flags|=128,S=!0,t8(O,!1),d.lanes=4194304);O.isBackwards?($.sibling=d.child,d.child=$):(a=O.last,a!==null?a.sibling=$:d.child=$,O.last=$)}return O.tail!==null?(d=O.tail,O.rendering=d,O.tail=d.sibling,O.renderingStartTime=Gr(),d.sibling=null,a=lf.current,Gi(lf,S?a&1|2:a&1),d):(zo(d),null);case 22:case 23:return lw(d),hM(),S=d.memoizedState!==null,a!==null?a.memoizedState!==null!==S&&(d.flags|=8192):S&&(d.flags|=8192),S?p&536870912&&!(d.flags&128)&&(zo(d),d.subtreeFlags&6&&(d.flags|=8192)):zo(d),p=d.updateQueue,p!==null&&rE(d,p.retryQueue),p=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(p=a.memoizedState.cachePool.pool),S=null,d.memoizedState!==null&&d.memoizedState.cachePool!==null&&(S=d.memoizedState.cachePool.pool),S!==p&&(d.flags|=2048),a!==null&&xi(hp),null;case 24:return p=null,a!==null&&(p=a.memoizedState.cache),d.memoizedState.cache!==p&&(d.flags|=2048),dw(Ol),zo(d),null;case 25:return null}throw Error(j(156,d.tag))}function cE(a,d){switch(sM(d),d.tag){case 1:return a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 3:return dw(Ol),Zr(),a=d.flags,a&65536&&!(a&128)?(d.flags=a&-65537|128,d):null;case 26:case 27:case 5:return Cl(d),null;case 13:if(lw(d),a=d.memoizedState,a!==null&&a.dehydrated!==null){if(d.alternate===null)throw Error(j(340));Ly()}return a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 19:return xi(lf),null;case 4:return Zr(),null;case 10:return dw(d.type),null;case 22:case 23:return lw(d),hM(),a!==null&&xi(hp),a=d.flags,a&65536?(d.flags=a&-65537|128,d):null;case 24:return dw(Ol),null;case 25:return null;default:return null}}function UR(a,d){switch(sM(d),d.tag){case 3:dw(Ol),Zr();break;case 26:case 27:case 5:Cl(d);break;case 4:Zr();break;case 13:lw(d);break;case 19:xi(lf);break;case 10:dw(d.type);break;case 22:case 23:lw(d),hM(),a!==null&&xi(hp);break;case 24:dw(Ol)}}var qR={getCacheForType:function(a){var d=Df(Ol),p=d.data.get(a);return p===void 0&&(p=a(),d.data.set(a,p)),p}},LG=typeof WeakMap=="function"?WeakMap:Map,is=0,Mo=null,Vc=null,Eu=0,Uo=0,C1=null,Sp=!1,h6=!1,rA=!1,mw=0,Gs=0,jp=0,L3=0,cA=0,Sd=0,d6=0,i8=null,Da=null,r8=!1,uA=0,uE=1/0,oE=null,Tp=null,sE=!1,R3=null,c8=0,oA=0,sA=null,u8=0,lA=null;function O1(){if(is&2&&Eu!==0)return Eu&-Eu;if(wn.T!==null){var a=n6;return a!==0?a:pA()}return p3()}function GR(){Sd===0&&(Sd=!(Eu&536870912)||Ku?_4():536870912);var a=Ed.current;return a!==null&&(a.flags|=32),Sd}function ah(a,d,p){(a===Mo&&Uo===2||a.cancelPendingCommit!==null)&&(b6(a,0),vw(a,Eu,Sd,!1)),Pb(a,p),(!(is&2)||a!==Mo)&&(a===Mo&&(!(is&2)&&(L3|=p),Gs===4&&vw(a,Eu,Sd,!1)),Kb(a))}function XR(a,d,p){if(is&6)throw Error(j(327));var S=!p&&(d&60)===0&&(d&a.expiredLanes)===0||Ho(a,d),O=S?IG(a,d):dA(a,d,!0),$=S;do{if(O===0){h6&&!S&&vw(a,d,0,!1);break}else if(O===6)vw(a,d,0,!Sp);else{if(p=a.current.alternate,$&&!RG(p)){O=dA(a,d,!1),$=!1;continue}if(O===2){if($=d,a.errorRecoveryDisabledLanes&$)var ne=0;else ne=a.pendingLanes&-536870913,ne=ne!==0?ne:ne&536870912?536870912:0;if(ne!==0){d=ne;e:{var ae=a;O=i8;var Fe=ae.current.memoizedState.isDehydrated;if(Fe&&(b6(ae,ne).flags|=256),ne=dA(ae,ne,!1),ne!==2){if(rA&&!Fe){ae.errorRecoveryDisabledLanes|=$,L3|=$,O=4;break e}$=Da,Da=O,$!==null&&fA($)}O=ne}if($=!1,O!==2)continue}}if(O===1){b6(a,0),vw(a,d,0,!0);break}e:{switch(S=a,O){case 0:case 1:throw Error(j(345));case 4:if((d&4194176)===d){vw(S,d,Sd,!Sp);break e}break;case 2:Da=null;break;case 3:case 5:break;default:throw Error(j(329))}if(S.finishedWork=p,S.finishedLanes=d,(d&62914560)===d&&($=uA+300-Gr(),10<$)){if(vw(S,d,Sd,!Sp),tw(S,0)!==0)break e;S.timeoutHandle=pP(VR.bind(null,S,p,Da,oE,r8,d,Sd,L3,d6,Sp,2,-0,0),$);break e}VR(S,p,Da,oE,r8,d,Sd,L3,d6,Sp,0,-0,0)}}break}while(!0);Kb(a)}function fA(a){Da===null?Da=a:Da.push.apply(Da,a)}function VR(a,d,p,S,O,$,ne,ae,Fe,bn,ft,At,In){var Jn=d.subtreeFlags;if((Jn&8192||(Jn&16785408)===16785408)&&(d8={stylesheets:null,count:0,unsuspend:gX},HR(d),d=pX(),d!==null)){a.cancelPendingCommit=d(nP.bind(null,a,p,S,O,ne,ae,Fe,1,At,In)),vw(a,$,ne,!bn);return}nP(a,p,S,O,ne,ae,Fe,ft,At,In)}function RG(a){for(var d=a;;){var p=d.tag;if((p===0||p===11||p===15)&&d.flags&16384&&(p=d.updateQueue,p!==null&&(p=p.stores,p!==null)))for(var S=0;Sp?32:p,wn.T=null,R3===null)var $=!1;else{p=sA,sA=null;var ne=R3,ae=c8;if(R3=null,c8=0,is&6)throw Error(j(331));var Fe=is;if(is|=4,KR(ne.current),FR(ne,ne.current,ae,p),is=Fe,o8(0,!1),ts&&typeof ts.onPostCommitFiberRoot=="function")try{ts.onPostCommitFiberRoot(bd,ne)}catch{}$=!0}return $}finally{it.p=O,wn.T=S,tP(a,d)}}return!1}function iP(a,d,p){d=vd(p,d),d=_M(a.stateNode,d,2),a=vp(a,d,2),a!==null&&(Pb(a,2),Kb(a))}function Ao(a,d,p){if(a.tag===3)iP(a,a,p);else for(;d!==null;){if(d.tag===3){iP(d,a,p);break}else if(d.tag===1){var S=d.stateNode;if(typeof d.type.getDerivedStateFromError=="function"||typeof S.componentDidCatch=="function"&&(Tp===null||!Tp.has(S))){a=vd(p,a),p=aR(2),S=vp(d,p,2),S!==null&&(hR(p,S,d,a),Pb(S,2),Kb(S));break}}d=d.return}}function bA(a,d,p){var S=a.pingCache;if(S===null){S=a.pingCache=new LG;var O=new Set;S.set(d,O)}else O=S.get(d),O===void 0&&(O=new Set,S.set(d,O));O.has(p)||(rA=!0,O.add(p),a=FG.bind(null,a,d,p),d.then(a,a))}function FG(a,d,p){var S=a.pingCache;S!==null&&S.delete(d),a.pingedLanes|=a.suspendedLanes&p,a.warmLanes&=~p,Mo===a&&(Eu&p)===p&&(Gs===4||Gs===3&&(Eu&62914560)===Eu&&300>Gr()-uA?!(is&2)&&b6(a,0):cA|=p,d6===Eu&&(d6=0)),Kb(a)}function rP(a,d){d===0&&(d=w3()),a=lp(a,d),a!==null&&(Pb(a,d),Kb(a))}function HG(a){var d=a.memoizedState,p=0;d!==null&&(p=d.retryLane),rP(a,p)}function KG(a,d){var p=0;switch(a.tag){case 13:var S=a.stateNode,O=a.memoizedState;O!==null&&(p=O.retryLane);break;case 19:S=a.stateNode;break;case 22:S=a.stateNode._retryCache;break;default:throw Error(j(314))}S!==null&&S.delete(d),rP(a,p)}function zG(a,d){return hd(a,d)}var aE=null,p6=null,gA=!1,hE=!1,wA=!1,P3=0;function Kb(a){a!==p6&&a.next===null&&(p6===null?aE=p6=a:p6=p6.next=a),hE=!0,gA||(gA=!0,qG(UG))}function o8(a,d){if(!wA&&hE){wA=!0;do for(var p=!1,S=aE;S!==null;){if(a!==0){var O=S.pendingLanes;if(O===0)var $=0;else{var ne=S.suspendedLanes,ae=S.pingedLanes;$=(1<<31-of(42|a)+1)-1,$&=O&~(ne&~ae),$=$&201326677?$&201326677|1:$?$|2:0}$!==0&&(p=!0,oP(S,$))}else $=Eu,$=tw(S,S===Mo?$:0),!($&3)||Ho(S,$)||(p=!0,oP(S,$));S=S.next}while(p);wA=!1}}function UG(){hE=gA=!1;var a=0;P3!==0&&(ZG()&&(a=P3),P3=0);for(var d=Gr(),p=null,S=aE;S!==null;){var O=S.next,$=cP(S,d);$===0?(S.next=null,p===null?aE=O:p.next=O,O===null&&(p6=p)):(p=S,(a!==0||$&3)&&(hE=!0)),S=O}o8(a)}function cP(a,d){for(var p=a.suspendedLanes,S=a.pingedLanes,O=a.expirationTimes,$=a.pendingLanes&-62914561;0<$;){var ne=31-of($),ae=1<"u"?null:document;function xP(a,d,p){var S=v6;if(S&&typeof d=="string"&&d){var O=pd(d);O='link[rel="'+a+'"][href="'+O+'"]',typeof p=="string"&&(O+='[crossorigin="'+p+'"]'),EP.has(O)||(EP.add(O),a={rel:a,crossOrigin:p,href:d},S.querySelector(O)===null&&(d=S.createElement("link"),aa(d,"link",a),Hc(d),S.head.appendChild(d)))}}function uX(a){yw.D(a),xP("dns-prefetch",a,null)}function oX(a,d){yw.C(a,d),xP("preconnect",a,d)}function sX(a,d,p){yw.L(a,d,p);var S=v6;if(S&&a&&d){var O='link[rel="preload"][as="'+pd(d)+'"]';d==="image"&&p&&p.imageSrcSet?(O+='[imagesrcset="'+pd(p.imageSrcSet)+'"]',typeof p.imageSizes=="string"&&(O+='[imagesizes="'+pd(p.imageSizes)+'"]')):O+='[href="'+pd(a)+'"]';var $=O;switch(d){case"style":$=y6(a);break;case"script":$=k6(a)}jd.has($)||(a=Cn({rel:"preload",href:d==="image"&&p&&p.imageSrcSet?void 0:a,as:d},p),jd.set($,a),S.querySelector(O)!==null||d==="style"&&S.querySelector(a8($))||d==="script"&&S.querySelector(h8($))||(d=S.createElement("link"),aa(d,"link",a),Hc(d),S.head.appendChild(d)))}}function lX(a,d){yw.m(a,d);var p=v6;if(p&&a){var S=d&&typeof d.as=="string"?d.as:"script",O='link[rel="modulepreload"][as="'+pd(S)+'"][href="'+pd(a)+'"]',$=O;switch(S){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":$=k6(a)}if(!jd.has($)&&(a=Cn({rel:"modulepreload",href:a},d),jd.set($,a),p.querySelector(O)===null)){switch(S){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(p.querySelector(h8($)))return}S=p.createElement("link"),aa(S,"link",a),Hc(S),p.head.appendChild(S)}}}function fX(a,d,p){yw.S(a,d,p);var S=v6;if(S&&a){var O=mo(S).hoistableStyles,$=y6(a);d=d||"default";var ne=O.get($);if(!ne){var ae={loading:0,preload:null};if(ne=S.querySelector(a8($)))ae.loading=5;else{a=Cn({rel:"stylesheet",href:a,"data-precedence":d},p),(p=jd.get($))&&CA(a,p);var Fe=ne=S.createElement("link");Hc(Fe),aa(Fe,"link",a),Fe._p=new Promise(function(bn,ft){Fe.onload=bn,Fe.onerror=ft}),Fe.addEventListener("load",function(){ae.loading|=1}),Fe.addEventListener("error",function(){ae.loading|=2}),ae.loading|=4,mE(ne,d,S)}ne={type:"stylesheet",instance:ne,count:1,state:ae},O.set($,ne)}}}function aX(a,d){yw.X(a,d);var p=v6;if(p&&a){var S=mo(p).hoistableScripts,O=k6(a),$=S.get(O);$||($=p.querySelector(h8(O)),$||(a=Cn({src:a,async:!0},d),(d=jd.get(O))&&OA(a,d),$=p.createElement("script"),Hc($),aa($,"link",a),p.head.appendChild($)),$={type:"script",instance:$,count:1,state:null},S.set(O,$))}}function hX(a,d){yw.M(a,d);var p=v6;if(p&&a){var S=mo(p).hoistableScripts,O=k6(a),$=S.get(O);$||($=p.querySelector(h8(O)),$||(a=Cn({src:a,async:!0,type:"module"},d),(d=jd.get(O))&&OA(a,d),$=p.createElement("script"),Hc($),aa($,"link",a),p.head.appendChild($)),$={type:"script",instance:$,count:1,state:null},S.set(O,$))}}function SP(a,d,p,S){var O=(O=oc.current)?pE(O):null;if(!O)throw Error(j(446));switch(a){case"meta":case"title":return null;case"style":return typeof p.precedence=="string"&&typeof p.href=="string"?(d=y6(p.href),p=mo(O).hoistableStyles,S=p.get(d),S||(S={type:"style",instance:null,count:0,state:null},p.set(d,S)),S):{type:"void",instance:null,count:0,state:null};case"link":if(p.rel==="stylesheet"&&typeof p.href=="string"&&typeof p.precedence=="string"){a=y6(p.href);var $=mo(O).hoistableStyles,ne=$.get(a);if(ne||(O=O.ownerDocument||O,ne={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},$.set(a,ne),($=O.querySelector(a8(a)))&&!$._p&&(ne.instance=$,ne.state.loading=5),jd.has(a)||(p={rel:"preload",as:"style",href:p.href,crossOrigin:p.crossOrigin,integrity:p.integrity,media:p.media,hrefLang:p.hrefLang,referrerPolicy:p.referrerPolicy},jd.set(a,p),$||dX(O,a,p,ne.state))),d&&S===null)throw Error(j(528,""));return ne}if(d&&S!==null)throw Error(j(529,""));return null;case"script":return d=p.async,p=p.src,typeof p=="string"&&d&&typeof d!="function"&&typeof d!="symbol"?(d=k6(p),p=mo(O).hoistableScripts,S=p.get(d),S||(S={type:"script",instance:null,count:0,state:null},p.set(d,S)),S):{type:"void",instance:null,count:0,state:null};default:throw Error(j(444,a))}}function y6(a){return'href="'+pd(a)+'"'}function a8(a){return'link[rel="stylesheet"]['+a+"]"}function jP(a){return Cn({},a,{"data-precedence":a.precedence,precedence:null})}function dX(a,d,p,S){a.querySelector('link[rel="preload"][as="style"]['+d+"]")?S.loading=1:(d=a.createElement("link"),S.preload=d,d.addEventListener("load",function(){return S.loading|=1}),d.addEventListener("error",function(){return S.loading|=2}),aa(d,"link",p),Hc(d),a.head.appendChild(d))}function k6(a){return'[src="'+pd(a)+'"]'}function h8(a){return"script[async]"+a}function TP(a,d,p){if(d.count++,d.instance===null)switch(d.type){case"style":var S=a.querySelector('style[data-href~="'+pd(p.href)+'"]');if(S)return d.instance=S,Hc(S),S;var O=Cn({},p,{"data-href":p.href,"data-precedence":p.precedence,href:null,precedence:null});return S=(a.ownerDocument||a).createElement("style"),Hc(S),aa(S,"style",O),mE(S,p.precedence,a),d.instance=S;case"stylesheet":O=y6(p.href);var $=a.querySelector(a8(O));if($)return d.state.loading|=4,d.instance=$,Hc($),$;S=jP(p),(O=jd.get(O))&&CA(S,O),$=(a.ownerDocument||a).createElement("link"),Hc($);var ne=$;return ne._p=new Promise(function(ae,Fe){ne.onload=ae,ne.onerror=Fe}),aa($,"link",S),d.state.loading|=4,mE($,p.precedence,a),d.instance=$;case"script":return $=k6(p.src),(O=a.querySelector(h8($)))?(d.instance=O,Hc(O),O):(S=p,(O=jd.get($))&&(S=Cn({},p),OA(S,O)),a=a.ownerDocument||a,O=a.createElement("script"),Hc(O),aa(O,"link",S),a.head.appendChild(O),d.instance=O);case"void":return null;default:throw Error(j(443,d.type))}else d.type==="stylesheet"&&!(d.state.loading&4)&&(S=d.instance,d.state.loading|=4,mE(S,p.precedence,a));return d.instance}function mE(a,d,p){for(var S=p.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),O=S.length?S[S.length-1]:null,$=O,ne=0;ne title"):null)}function bX(a,d,p){if(p===1||d.itemProp!=null)return!1;switch(a){case"meta":case"title":return!0;case"style":if(typeof d.precedence!="string"||typeof d.href!="string"||d.href==="")break;return!0;case"link":if(typeof d.rel!="string"||typeof d.href!="string"||d.href===""||d.onLoad||d.onError)break;switch(d.rel){case"stylesheet":return a=d.disabled,typeof d.precedence=="string"&&a==null;default:return!0}case"script":if(d.async&&typeof d.async!="function"&&typeof d.async!="symbol"&&!d.onLoad&&!d.onError&&d.src&&typeof d.src=="string")return!0}return!1}function CP(a){return!(a.type==="stylesheet"&&!(a.state.loading&3))}var d8=null;function gX(){}function wX(a,d,p){if(d8===null)throw Error(j(475));var S=d8;if(d.type==="stylesheet"&&(typeof p.media!="string"||matchMedia(p.media).matches!==!1)&&!(d.state.loading&4)){if(d.instance===null){var O=y6(p.href),$=a.querySelector(a8(O));if($){a=$._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(S.count++,S=yE.bind(S),a.then(S,S)),d.state.loading|=4,d.instance=$,Hc($);return}$=a.ownerDocument||a,p=jP(p),(O=jd.get(O))&&CA(p,O),$=$.createElement("link"),Hc($);var ne=$;ne._p=new Promise(function(ae,Fe){ne.onload=ae,ne.onerror=Fe}),aa($,"link",p),d.instance=$}S.stylesheets===null&&(S.stylesheets=new Map),S.stylesheets.set(d,a),(a=d.state.preload)&&!(d.state.loading&3)&&(S.count++,d=yE.bind(S),a.addEventListener("load",d),a.addEventListener("error",d))}}function pX(){if(d8===null)throw Error(j(475));var a=d8;return a.stylesheets&&a.count===0&&NA(a,a.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(g)}catch(w){console.error(w)}}return g(),mke.exports=kzn(),mke.exports}var xzn=Ezn(),zU={},L1n;function Szn(){if(L1n)return zU;L1n=1,Object.defineProperty(zU,"__esModule",{value:!0}),zU.parse=k,zU.serialize=L;const g=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,w=/^[\u0021-\u003A\u003C-\u007E]*$/,x=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,j=/^[\u0020-\u003A\u003D-\u007E]*$/,M=Object.prototype.toString,C=(()=>{const q=function(){};return q.prototype=Object.create(null),q})();function k(q,ee){const Y=new C,oe=q.length;if(oe<2)return Y;const Me=(ee==null?void 0:ee.decode)||U;let me=0;do{const Le=q.indexOf("=",me);if(Le===-1)break;const Ne=q.indexOf(";",me),Oe=Ne===-1?oe:Ne;if(Le>Oe){me=q.lastIndexOf(";",Le-1)+1;continue}const rn=P(q,me,Le),Un=F(q,Le,rn),yn=q.slice(rn,Un);if(Y[yn]===void 0){let Wn=P(q,Le+1,Oe),wn=F(q,Oe,Wn);const Cn=Me(q.slice(Wn,wn));Y[yn]=Cn}me=Oe+1}while(meY;){const oe=q.charCodeAt(--ee);if(oe!==32&&oe!==9)return ee+1}return Y}function L(q,ee,Y){const oe=(Y==null?void 0:Y.encode)||encodeURIComponent;if(!g.test(q))throw new TypeError(`argument name is invalid: ${q}`);const Me=oe(ee);if(!w.test(Me))throw new TypeError(`argument val is invalid: ${ee}`);let me=q+"="+Me;if(!Y)return me;if(Y.maxAge!==void 0){if(!Number.isInteger(Y.maxAge))throw new TypeError(`option maxAge is invalid: ${Y.maxAge}`);me+="; Max-Age="+Y.maxAge}if(Y.domain){if(!x.test(Y.domain))throw new TypeError(`option domain is invalid: ${Y.domain}`);me+="; Domain="+Y.domain}if(Y.path){if(!j.test(Y.path))throw new TypeError(`option path is invalid: ${Y.path}`);me+="; Path="+Y.path}if(Y.expires){if(!X(Y.expires)||!Number.isFinite(Y.expires.valueOf()))throw new TypeError(`option expires is invalid: ${Y.expires}`);me+="; Expires="+Y.expires.toUTCString()}if(Y.httpOnly&&(me+="; HttpOnly"),Y.secure&&(me+="; Secure"),Y.partitioned&&(me+="; Partitioned"),Y.priority)switch(typeof Y.priority=="string"?Y.priority.toLowerCase():void 0){case"low":me+="; Priority=Low";break;case"medium":me+="; Priority=Medium";break;case"high":me+="; 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":me+="; SameSite=Strict";break;case"lax":me+="; SameSite=Lax";break;case"none":me+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${Y.sameSite}`)}return me}function U(q){if(q.indexOf("%")===-1)return q;try{return decodeURIComponent(q)}catch{return q}}function X(q){return M.call(q)==="[object Date]"}return zU}Szn();/** + * react-router v7.0.2 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */var R1n="popstate";function jzn(g={}){function w(j,M){let{pathname:C,search:k,hash:P}=j.location;return zke("",{pathname:C,search:k,hash:P},M.state&&M.state.usr||null,M.state&&M.state.key||"default")}function x(j,M){return typeof M=="string"?M:uq(M)}return Mzn(w,x,null,g)}function Ml(g,w){if(g===!1||g===null||typeof g>"u")throw new Error(w)}function np(g,w){if(!g){typeof console<"u"&&console.warn(w);try{throw new Error(w)}catch{}}}function Tzn(){return Math.random().toString(36).substring(2,10)}function P1n(g,w){return{usr:g.state,key:g.key,idx:w}}function zke(g,w,x=null,j){return{pathname:typeof g=="string"?g:g.pathname,search:"",hash:"",...typeof w=="string"?E_(w):w,state:x,key:w&&w.key||j||Tzn()}}function uq({pathname:g="/",search:w="",hash:x=""}){return w&&w!=="?"&&(g+=w.charAt(0)==="?"?w:"?"+w),x&&x!=="#"&&(g+=x.charAt(0)==="#"?x:"#"+x),g}function E_(g){let w={};if(g){let x=g.indexOf("#");x>=0&&(w.hash=g.substring(x),g=g.substring(0,x));let j=g.indexOf("?");j>=0&&(w.search=g.substring(j),g=g.substring(0,j)),g&&(w.pathname=g)}return w}function Mzn(g,w,x,j={}){let{window:M=document.defaultView,v5Compat:C=!1}=j,k=M.history,P="POP",F=null,L=U();L==null&&(L=0,k.replaceState({...k.state,idx:L},""));function U(){return(k.state||{idx:null}).idx}function X(){P="POP";let Me=U(),me=Me==null?null:Me-L;L=Me,F&&F({action:P,location:oe.location,delta:me})}function q(Me,me){P="PUSH";let Le=zke(oe.location,Me,me);L=U()+1;let Ne=P1n(Le,L),Oe=oe.createHref(Le);try{k.pushState(Ne,"",Oe)}catch(rn){if(rn instanceof DOMException&&rn.name==="DataCloneError")throw rn;M.location.assign(Oe)}C&&F&&F({action:P,location:oe.location,delta:1})}function ee(Me,me){P="REPLACE";let Le=zke(oe.location,Me,me);L=U();let Ne=P1n(Le,L),Oe=oe.createHref(Le);k.replaceState(Ne,"",Oe),C&&F&&F({action:P,location:oe.location,delta:0})}function Y(Me){let me=M.location.origin!=="null"?M.location.origin:M.location.href,Le=typeof Me=="string"?Me:uq(Me);return Le=Le.replace(/ $/,"%20"),Ml(me,`No window.location.(origin|href) available to create URL for href: ${Le}`),new URL(Le,me)}let oe={get action(){return P},get location(){return g(M,k)},listen(Me){if(F)throw new Error("A history only accepts one active listener");return M.addEventListener(R1n,X),F=Me,()=>{M.removeEventListener(R1n,X),F=null}},createHref(Me){return w(M,Me)},createURL:Y,encodeLocation(Me){let me=Y(Me);return{pathname:me.pathname,search:me.search,hash:me.hash}},push:q,replace:ee,go(Me){return k.go(Me)}};return oe}function a0n(g,w,x="/"){return Azn(g,w,x,!1)}function Azn(g,w,x,j){let M=typeof w=="string"?E_(w):w,C=vk(M.pathname||"/",x);if(C==null)return null;let k=h0n(g);Czn(k);let P=null;for(let F=0;P==null&&F{let F={relativePath:P===void 0?C.path||"":P,caseSensitive:C.caseSensitive===!0,childrenIndex:k,route:C};F.relativePath.startsWith("/")&&(Ml(F.relativePath.startsWith(j),`Absolute route path "${F.relativePath}" nested under path "${j}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),F.relativePath=F.relativePath.slice(j.length));let L=vy([j,F.relativePath]),U=x.concat(F);C.children&&C.children.length>0&&(Ml(C.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${L}".`),h0n(C.children,w,U,L)),!(C.path==null&&!C.index)&&w.push({path:L,score:Pzn(L,C.index),routesMeta:U})};return g.forEach((C,k)=>{var P;if(C.path===""||!((P=C.path)!=null&&P.includes("?")))M(C,k);else for(let F of d0n(C.path))M(C,k,F)}),w}function d0n(g){let w=g.split("/");if(w.length===0)return[];let[x,...j]=w,M=x.endsWith("?"),C=x.replace(/\?$/,"");if(j.length===0)return M?[C,""]:[C];let k=d0n(j.join("/")),P=[];return P.push(...k.map(F=>F===""?C:[C,F].join("/"))),M&&P.push(...k),P.map(F=>g.startsWith("/")&&F===""?"/":F)}function Czn(g){g.sort((w,x)=>w.score!==x.score?x.score-w.score:Izn(w.routesMeta.map(j=>j.childrenIndex),x.routesMeta.map(j=>j.childrenIndex)))}var Ozn=/^:[\w-]+$/,Nzn=3,Dzn=2,_zn=1,Lzn=10,Rzn=-2,I1n=g=>g==="*";function Pzn(g,w){let x=g.split("/"),j=x.length;return x.some(I1n)&&(j+=Rzn),w&&(j+=Dzn),x.filter(M=>!I1n(M)).reduce((M,C)=>M+(Ozn.test(C)?Nzn:C===""?_zn:Lzn),j)}function Izn(g,w){return g.length===w.length&&g.slice(0,-1).every((j,M)=>j===w[M])?g[g.length-1]-w[w.length-1]:0}function $zn(g,w,x=!1){let{routesMeta:j}=g,M={},C="/",k=[];for(let P=0;P{if(U==="*"){let Y=P[q]||"";k=C.slice(0,C.length-Y.length).replace(/(.)\/+$/,"$1")}const ee=P[q];return X&&!ee?L[U]=void 0:L[U]=(ee||"").replace(/%2F/g,"/"),L},{}),pathname:C,pathnameBase:k,pattern:g}}function Bzn(g,w=!1,x=!0){np(g==="*"||!g.endsWith("*")||g.endsWith("/*"),`Route path "${g}" will be treated as if it were "${g.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${g.replace(/\*$/,"/*")}".`);let j=[],M="^"+g.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(k,P,F)=>(j.push({paramName:P,isOptional:F!=null}),F?"/?([^\\/]+)?":"/([^\\/]+)"));return g.endsWith("*")?(j.push({paramName:"*"}),M+=g==="*"||g==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):x?M+="\\/*$":g!==""&&g!=="/"&&(M+="(?:(?=\\/|$))"),[new RegExp(M,w?void 0:"i"),j]}function Fzn(g){try{return g.split("/").map(w=>decodeURIComponent(w).replace(/\//g,"%2F")).join("/")}catch(w){return np(!1,`The URL path "${g}" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding (${w}).`),g}}function vk(g,w){if(w==="/")return g;if(!g.toLowerCase().startsWith(w.toLowerCase()))return null;let x=w.endsWith("/")?w.length-1:w.length,j=g.charAt(x);return j&&j!=="/"?null:g.slice(x)||"/"}function Hzn(g,w="/"){let{pathname:x,search:j="",hash:M=""}=typeof g=="string"?E_(g):g;return{pathname:x?x.startsWith("/")?x:Kzn(x,w):w,search:qzn(j),hash:Gzn(M)}}function Kzn(g,w){let x=w.replace(/\/+$/,"").split("/");return g.split("/").forEach(M=>{M===".."?x.length>1&&x.pop():M!=="."&&x.push(M)}),x.length>1?x.join("/"):"/"}function Eke(g,w,x,j){return`Cannot include a '${g}' character in a manually specified \`to.${w}\` field [${JSON.stringify(j)}]. Please separate it out to the \`to.${x}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function zzn(g){return g.filter((w,x)=>x===0||w.route.path&&w.route.path.length>0)}function bEe(g){let w=zzn(g);return w.map((x,j)=>j===w.length-1?x.pathname:x.pathnameBase)}function gEe(g,w,x,j=!1){let M;typeof g=="string"?M=E_(g):(M={...g},Ml(!M.pathname||!M.pathname.includes("?"),Eke("?","pathname","search",M)),Ml(!M.pathname||!M.pathname.includes("#"),Eke("#","pathname","hash",M)),Ml(!M.search||!M.search.includes("#"),Eke("#","search","hash",M)));let C=g===""||M.pathname==="",k=C?"/":M.pathname,P;if(k==null)P=x;else{let X=w.length-1;if(!j&&k.startsWith("..")){let q=k.split("/");for(;q[0]==="..";)q.shift(),X-=1;M.pathname=q.join("/")}P=X>=0?w[X]:"/"}let F=Hzn(M,P),L=k&&k!=="/"&&k.endsWith("/"),U=(C||k===".")&&x.endsWith("/");return!F.pathname.endsWith("/")&&(L||U)&&(F.pathname+="/"),F}var vy=g=>g.join("/").replace(/\/\/+/g,"/"),Uzn=g=>g.replace(/\/+$/,"").replace(/^\/*/,"/"),qzn=g=>!g||g==="?"?"":g.startsWith("?")?g:"?"+g,Gzn=g=>!g||g==="#"?"":g.startsWith("#")?g:"#"+g;function Xzn(g){return g!=null&&typeof g.status=="number"&&typeof g.statusText=="string"&&typeof g.internal=="boolean"&&"data"in g}var b0n=["POST","PUT","PATCH","DELETE"];new Set(b0n);var Vzn=["GET",...b0n];new Set(Vzn);var x_=Pe.createContext(null);x_.displayName="DataRouter";var que=Pe.createContext(null);que.displayName="DataRouterState";var g0n=Pe.createContext({isTransitioning:!1});g0n.displayName="ViewTransition";var Yzn=Pe.createContext(new Map);Yzn.displayName="Fetchers";var Qzn=Pe.createContext(null);Qzn.displayName="Await";var b3=Pe.createContext(null);b3.displayName="Navigation";var vq=Pe.createContext(null);vq.displayName="Location";var C4=Pe.createContext({outlet:null,matches:[],isDataRoute:!1});C4.displayName="Route";var wEe=Pe.createContext(null);wEe.displayName="RouteError";function Wzn(g,{relative:w}={}){Ml(S_(),"useHref() may be used only in the context of a component.");let{basename:x,navigator:j}=Pe.useContext(b3),{hash:M,pathname:C,search:k}=yq(g,{relative:w}),P=C;return x!=="/"&&(P=C==="/"?x:vy([x,C])),j.createHref({pathname:P,search:k,hash:M})}function S_(){return Pe.useContext(vq)!=null}function O4(){return Ml(S_(),"useLocation() may be used only in the context of a component."),Pe.useContext(vq).location}var w0n="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function p0n(g){Pe.useContext(b3).static||Pe.useLayoutEffect(g)}function Gue(){let{isDataRoute:g}=Pe.useContext(C4);return g?fUn():Jzn()}function Jzn(){Ml(S_(),"useNavigate() may be used only in the context of a component.");let g=Pe.useContext(x_),{basename:w,navigator:x}=Pe.useContext(b3),{matches:j}=Pe.useContext(C4),{pathname:M}=O4(),C=JSON.stringify(bEe(j)),k=Pe.useRef(!1);return p0n(()=>{k.current=!0}),Pe.useCallback((F,L={})=>{if(np(k.current,w0n),!k.current)return;if(typeof F=="number"){x.go(F);return}let U=gEe(F,JSON.parse(C),M,L.relative==="path");g==null&&w!=="/"&&(U.pathname=U.pathname==="/"?w:vy([w,U.pathname])),(L.replace?x.replace:x.push)(U,L.state,L)},[w,x,C,M,g])}Pe.createContext(null);function yq(g,{relative:w}={}){let{matches:x}=Pe.useContext(C4),{pathname:j}=O4(),M=JSON.stringify(bEe(x));return Pe.useMemo(()=>gEe(g,JSON.parse(M),j,w==="path"),[g,M,j,w])}function Zzn(g,w){return m0n(g,w)}function m0n(g,w,x,j){var me;Ml(S_(),"useRoutes() may be used only in the context of a component.");let{navigator:M}=Pe.useContext(b3),{matches:C}=Pe.useContext(C4),k=C[C.length-1],P=k?k.params:{},F=k?k.pathname:"/",L=k?k.pathnameBase:"/",U=k&&k.route;{let Le=U&&U.path||"";v0n(F,!U||Le.endsWith("*")||Le.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${F}" (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 X=O4(),q;if(w){let Le=typeof w=="string"?E_(w):w;Ml(L==="/"||((me=Le.pathname)==null?void 0:me.startsWith(L)),`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 "${L}" but pathname "${Le.pathname}" was given in the \`location\` prop.`),q=Le}else q=X;let ee=q.pathname||"/",Y=ee;if(L!=="/"){let Le=L.replace(/^\//,"").split("/");Y="/"+ee.replace(/^\//,"").split("/").slice(Le.length).join("/")}let oe=a0n(g,{pathname:Y});np(U||oe!=null,`No routes matched location "${q.pathname}${q.search}${q.hash}" `),np(oe==null||oe[oe.length-1].route.element!==void 0||oe[oe.length-1].route.Component!==void 0||oe[oe.length-1].route.lazy!==void 0,`Matched leaf route at location "${q.pathname}${q.search}${q.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 Me=rUn(oe&&oe.map(Le=>Object.assign({},Le,{params:Object.assign({},P,Le.params),pathname:vy([L,M.encodeLocation?M.encodeLocation(Le.pathname).pathname:Le.pathname]),pathnameBase:Le.pathnameBase==="/"?L:vy([L,M.encodeLocation?M.encodeLocation(Le.pathnameBase).pathname:Le.pathnameBase])})),C,x,j);return w&&Me?Pe.createElement(vq.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...q},navigationType:"POP"}},Me):Me}function eUn(){let g=lUn(),w=Xzn(g)?`${g.status} ${g.statusText}`:g instanceof Error?g.message:JSON.stringify(g),x=g instanceof Error?g.stack:null,j="rgba(200,200,200, 0.5)",M={padding:"0.5rem",backgroundColor:j},C={padding:"2px 4px",backgroundColor:j},k=null;return console.error("Error handled by React Router default ErrorBoundary:",g),k=Pe.createElement(Pe.Fragment,null,Pe.createElement("p",null,"💿 Hey developer 👋"),Pe.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",Pe.createElement("code",{style:C},"ErrorBoundary")," or"," ",Pe.createElement("code",{style:C},"errorElement")," prop on your route.")),Pe.createElement(Pe.Fragment,null,Pe.createElement("h2",null,"Unexpected Application Error!"),Pe.createElement("h3",{style:{fontStyle:"italic"}},w),x?Pe.createElement("pre",{style:M},x):null,k)}var nUn=Pe.createElement(eUn,null),tUn=class extends Pe.Component{constructor(g){super(g),this.state={location:g.location,revalidation:g.revalidation,error:g.error}}static getDerivedStateFromError(g){return{error:g}}static getDerivedStateFromProps(g,w){return w.location!==g.location||w.revalidation!=="idle"&&g.revalidation==="idle"?{error:g.error,location:g.location,revalidation:g.revalidation}:{error:g.error!==void 0?g.error:w.error,location:w.location,revalidation:g.revalidation||w.revalidation}}componentDidCatch(g,w){console.error("React Router caught the following error during render",g,w)}render(){return this.state.error!==void 0?Pe.createElement(C4.Provider,{value:this.props.routeContext},Pe.createElement(wEe.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function iUn({routeContext:g,match:w,children:x}){let j=Pe.useContext(x_);return j&&j.static&&j.staticContext&&(w.route.errorElement||w.route.ErrorBoundary)&&(j.staticContext._deepestRenderedBoundaryId=w.route.id),Pe.createElement(C4.Provider,{value:g},x)}function rUn(g,w=[],x=null,j=null){if(g==null){if(!x)return null;if(x.errors)g=x.matches;else if(w.length===0&&!x.initialized&&x.matches.length>0)g=x.matches;else return null}let M=g,C=x==null?void 0:x.errors;if(C!=null){let F=M.findIndex(L=>L.route.id&&(C==null?void 0:C[L.route.id])!==void 0);Ml(F>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(C).join(",")}`),M=M.slice(0,Math.min(M.length,F+1))}let k=!1,P=-1;if(x)for(let F=0;F=0?M=M.slice(0,P+1):M=[M[0]];break}}}return M.reduceRight((F,L,U)=>{let X,q=!1,ee=null,Y=null;x&&(X=C&&L.route.id?C[L.route.id]:void 0,ee=L.route.errorElement||nUn,k&&(P<0&&U===0?(v0n("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),q=!0,Y=null):P===U&&(q=!0,Y=L.route.hydrateFallbackElement||null)));let oe=w.concat(M.slice(0,U+1)),Me=()=>{let me;return X?me=ee:q?me=Y:L.route.Component?me=Pe.createElement(L.route.Component,null):L.route.element?me=L.route.element:me=F,Pe.createElement(iUn,{match:L,routeContext:{outlet:F,matches:oe,isDataRoute:x!=null},children:me})};return x&&(L.route.ErrorBoundary||L.route.errorElement||U===0)?Pe.createElement(tUn,{location:x.location,revalidation:x.revalidation,component:ee,error:X,children:Me(),routeContext:{outlet:null,matches:oe,isDataRoute:!0}}):Me()},null)}function pEe(g){return`${g} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function cUn(g){let w=Pe.useContext(x_);return Ml(w,pEe(g)),w}function uUn(g){let w=Pe.useContext(que);return Ml(w,pEe(g)),w}function oUn(g){let w=Pe.useContext(C4);return Ml(w,pEe(g)),w}function mEe(g){let w=oUn(g),x=w.matches[w.matches.length-1];return Ml(x.route.id,`${g} can only be used on routes that contain a unique "id"`),x.route.id}function sUn(){return mEe("useRouteId")}function lUn(){var j;let g=Pe.useContext(wEe),w=uUn("useRouteError"),x=mEe("useRouteError");return g!==void 0?g:(j=w.errors)==null?void 0:j[x]}function fUn(){let{router:g}=cUn("useNavigate"),w=mEe("useNavigate"),x=Pe.useRef(!1);return p0n(()=>{x.current=!0}),Pe.useCallback(async(M,C={})=>{np(x.current,w0n),x.current&&(typeof M=="number"?g.navigate(M):await g.navigate(M,{fromRouteId:w,...C}))},[g,w])}var $1n={};function v0n(g,w,x){!w&&!$1n[g]&&($1n[g]=!0,np(!1,x))}Pe.memo(aUn);function aUn({routes:g,future:w,state:x}){return m0n(g,void 0,x,w)}function hUn({to:g,replace:w,state:x,relative:j}){Ml(S_()," may be used only in the context of a component.");let{static:M}=Pe.useContext(b3);np(!M," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:C}=Pe.useContext(C4),{pathname:k}=O4(),P=Gue(),F=gEe(g,bEe(C),k,j==="path"),L=JSON.stringify(F);return Pe.useEffect(()=>{P(JSON.parse(L),{replace:w,state:x,relative:j})},[P,L,j,w,x]),null}function Uke(g){Ml(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function dUn({basename:g="/",children:w=null,location:x,navigationType:j="POP",navigator:M,static:C=!1}){Ml(!S_(),"You cannot render a inside another . You should never have more than one in your app.");let k=g.replace(/^\/*/,"/"),P=Pe.useMemo(()=>({basename:k,navigator:M,static:C,future:{}}),[k,M,C]);typeof x=="string"&&(x=E_(x));let{pathname:F="/",search:L="",hash:U="",state:X=null,key:q="default"}=x,ee=Pe.useMemo(()=>{let Y=vk(F,k);return Y==null?null:{location:{pathname:Y,search:L,hash:U,state:X,key:q},navigationType:j}},[k,F,L,U,X,q,j]);return np(ee!=null,` is not able to match the URL "${F}${L}${U}" because it does not start with the basename, so the won't render anything.`),ee==null?null:Pe.createElement(b3.Provider,{value:P},Pe.createElement(vq.Provider,{children:w,value:ee}))}function bUn({children:g,location:w}){return Zzn(qke(g),w)}function qke(g,w=[]){let x=[];return Pe.Children.forEach(g,(j,M)=>{if(!Pe.isValidElement(j))return;let C=[...w,M];if(j.type===Pe.Fragment){x.push.apply(x,qke(j.props.children,C));return}Ml(j.type===Uke,`[${typeof j.type=="string"?j.type:j.type.name}] is not a component. All component children of must be a or `),Ml(!j.props.index||!j.props.children,"An index route cannot have child routes.");let k={id:j.props.id||C.join("-"),caseSensitive:j.props.caseSensitive,element:j.props.element,Component:j.props.Component,index:j.props.index,path:j.props.path,loader:j.props.loader,action:j.props.action,hydrateFallbackElement:j.props.hydrateFallbackElement,HydrateFallback:j.props.HydrateFallback,errorElement:j.props.errorElement,ErrorBoundary:j.props.ErrorBoundary,hasErrorBoundary:j.props.hasErrorBoundary===!0||j.props.ErrorBoundary!=null||j.props.errorElement!=null,shouldRevalidate:j.props.shouldRevalidate,handle:j.props.handle,lazy:j.props.lazy};j.props.children&&(k.children=qke(j.props.children,C)),x.push(k)}),x}var Eue="get",xue="application/x-www-form-urlencoded";function Xue(g){return g!=null&&typeof g.tagName=="string"}function gUn(g){return Xue(g)&&g.tagName.toLowerCase()==="button"}function wUn(g){return Xue(g)&&g.tagName.toLowerCase()==="form"}function pUn(g){return Xue(g)&&g.tagName.toLowerCase()==="input"}function mUn(g){return!!(g.metaKey||g.altKey||g.ctrlKey||g.shiftKey)}function vUn(g,w){return g.button===0&&(!w||w==="_self")&&!mUn(g)}function Gke(g=""){return new URLSearchParams(typeof g=="string"||Array.isArray(g)||g instanceof URLSearchParams?g:Object.keys(g).reduce((w,x)=>{let j=g[x];return w.concat(Array.isArray(j)?j.map(M=>[x,M]):[[x,j]])},[]))}function yUn(g,w){let x=Gke(g);return w&&w.forEach((j,M)=>{x.has(M)||w.getAll(M).forEach(C=>{x.append(M,C)})}),x}var sue=null;function kUn(){if(sue===null)try{new FormData(document.createElement("form"),0),sue=!1}catch{sue=!0}return sue}var EUn=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function xke(g){return g!=null&&!EUn.has(g)?(np(!1,`"${g}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${xue}"`),null):g}function xUn(g,w){let x,j,M,C,k;if(wUn(g)){let P=g.getAttribute("action");j=P?vk(P,w):null,x=g.getAttribute("method")||Eue,M=xke(g.getAttribute("enctype"))||xue,C=new FormData(g)}else if(gUn(g)||pUn(g)&&(g.type==="submit"||g.type==="image")){let P=g.form;if(P==null)throw new Error('Cannot submit a