From 8353d253ce0612627b93275852d40e1369838c85 Mon Sep 17 00:00:00 2001 From: legop3 Date: Fri, 19 Jun 2026 21:58:58 -0400 Subject: [PATCH] button --- .../assets/{index-aNbtNjD0.js => index-N3rpNtli.js} | 10 +++++----- server/public/index.html | 2 +- webui/src/components/AlertFeed/index.jsx | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) rename server/public/assets/{index-aNbtNjD0.js => index-N3rpNtli.js} (99%) diff --git a/server/public/assets/index-aNbtNjD0.js b/server/public/assets/index-N3rpNtli.js similarity index 99% rename from server/public/assets/index-aNbtNjD0.js rename to server/public/assets/index-N3rpNtli.js index 111d136b..1e47c026 100644 --- a/server/public/assets/index-aNbtNjD0.js +++ b/server/public/assets/index-N3rpNtli.js @@ -9,15 +9,15 @@ Error generating stack: `+o.message+` `+o.stack}}var l2=Object.prototype.hasOwnProperty,z1=t.unstable_scheduleCallback,b1=t.unstable_cancelCallback,D1=t.unstable_shouldYield,H2=t.unstable_requestPaint,P1=t.unstable_now,p2=t.unstable_getCurrentPriorityLevel,W1=t.unstable_ImmediatePriority,t2=t.unstable_UserBlockingPriority,o1=t.unstable_NormalPriority,P=t.unstable_LowPriority,c1=t.unstable_IdlePriority,y1=t.log,r2=t.unstable_setDisableYieldValue,i2=null,b2=null;function n4(e){if(typeof y1=="function"&&r2(e),b2&&typeof b2.setStrictMode=="function")try{b2.setStrictMode(i2,e)}catch{}}var w1=Math.clz32?Math.clz32:O1,h2=Math.log,e2=Math.LN2;function O1(e){return e>>>=0,e===0?32:31-(h2(e)/e2|0)|0}var Q1=256,G2=262144,T4=4194304;function f4(e){var c=e&42;if(c!==0)return c;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function M2(e,c,n){var o=e.pendingLanes;if(o===0)return 0;var h=0,m=e.suspendedLanes,M=e.pingedLanes;e=e.warmLanes;var B=o&134217727;return B!==0?(o=B&~m,o!==0?h=f4(o):(M&=B,M!==0?h=f4(M):n||(n=B&~e,n!==0&&(h=f4(n))))):(B=o&~m,B!==0?h=f4(B):M!==0?h=f4(M):n||(n=o&~e,n!==0&&(h=f4(n)))),h===0?0:c!==0&&c!==h&&(c&m)===0&&(m=h&-h,n=c&-c,m>=n||m===32&&(n&4194048)!==0)?c:h}function L4(e,c){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&c)===0}function hh(e,c){switch(e){case 1:case 2:case 4:case 8:case 64:return c+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return c+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 ga(){var e=T4;return T4<<=1,(T4&62914560)===0&&(T4=4194304),e}function d7(e){for(var c=[],n=0;31>n;n++)c.push(e);return c}function V0(e,c){e.pendingLanes|=c,c!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function dh(e,c,n,o,h,m){var M=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var B=e.entanglements,D=e.expirationTimes,K=e.hiddenUpdates;for(n=M&~n;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var xh=/[\n"\\]/g;function v4(e){return e.replace(xh,function(c){return"\\"+c.charCodeAt(0).toString(16)+" "})}function x7(e,c,n,o,h,m,M,B){e.name="",M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"?e.type=M:e.removeAttribute("type"),c!=null?M==="number"?(c===0&&e.value===""||e.value!=c)&&(e.value=""+m4(c)):e.value!==""+m4(c)&&(e.value=""+m4(c)):M!=="submit"&&M!=="reset"||e.removeAttribute("value"),c!=null?z7(e,M,m4(c)):n!=null?z7(e,M,m4(n)):o!=null&&e.removeAttribute("value"),h==null&&m!=null&&(e.defaultChecked=!!m),h!=null&&(e.checked=h&&typeof h!="function"&&typeof h!="symbol"),B!=null&&typeof B!="function"&&typeof B!="symbol"&&typeof B!="boolean"?e.name=""+m4(B):e.removeAttribute("name")}function Ba(e,c,n,o,h,m,M,B){if(m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(e.type=m),c!=null||n!=null){if(!(m!=="submit"&&m!=="reset"||c!=null)){g7(e);return}n=n!=null?""+m4(n):"",c=c!=null?""+m4(c):n,B||c===e.value||(e.value=c),e.defaultValue=c}o=o??h,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=B?e.checked:!!o,e.defaultChecked=!!o,M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"&&(e.name=M),g7(e)}function z7(e,c,n){c==="number"&&X8(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function H6(e,c,n,o){if(e=e.options,c){c={};for(var h=0;h"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),C7=!1;if(P4)try{var N0={};Object.defineProperty(N0,"passive",{get:function(){C7=!0}}),window.addEventListener("test",N0,N0),window.removeEventListener("test",N0,N0)}catch{C7=!1}var b3=null,S7=null,W8=null;function Ta(){if(W8)return W8;var e,c=S7,n=c.length,o,h="value"in b3?b3.value:b3.textContent,m=h.length;for(e=0;e=R0),Za=" ",$a=!1;function Ia(e,c){switch(e){case"keyup":return Gh.indexOf(c.keyCode)!==-1;case"keydown":return c.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ga(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var B6=!1;function Yh(e,c){switch(e){case"compositionend":return Ga(c);case"keypress":return c.which!==32?null:($a=!0,Za);case"textInput":return e=c.data,e===Za&&$a?null:e;default:return null}}function Kh(e,c){if(B6)return e==="compositionend"||!B7&&Ia(e,c)?(e=Ta(),W8=S7=b3=null,B6=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(c.ctrlKey||c.altKey||c.metaKey)||c.ctrlKey&&c.altKey){if(c.char&&1=c)return{node:n,offset:c-e};e=o}t:{for(;n;){if(n.nextSibling){n=n.nextSibling;break t}n=n.parentNode}n=void 0}n=tn(n)}}function cn(e,c){return e&&c?e===c?!0:e&&e.nodeType===3?!1:c&&c.nodeType===3?cn(e,c.parentNode):"contains"in e?e.contains(c):e.compareDocumentPosition?!!(e.compareDocumentPosition(c)&16):!1:!1}function an(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var c=X8(e.document);c instanceof e.HTMLIFrameElement;){try{var n=typeof c.contentWindow.location.href=="string"}catch{n=!1}if(n)e=c.contentWindow;else break;c=X8(e.document)}return c}function F7(e){var c=e&&e.nodeName&&e.nodeName.toLowerCase();return c&&(c==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||c==="textarea"||e.contentEditable==="true")}var ad=P4&&"documentMode"in document&&11>=document.documentMode,j6=null,k7=null,_0=null,R7=!1;function nn(e,c,n){var o=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;R7||j6==null||j6!==X8(o)||(o=j6,"selectionStart"in o&&F7(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),_0&&q0(_0,o)||(_0=o,o=G5(k7,"onSelect"),0>=M,h-=M,q4=1<<32-w1(c)+h|n<q1?(G1=S1,S1=null):G1=S1.sibling;var J1=J(G,S1,Y[q1],r1);if(J1===null){S1===null&&(S1=G1);break}e&&S1&&J1.alternate===null&&c(G,S1),U=m(J1,U,q1),X1===null?H1=J1:X1.sibling=J1,X1=J1,S1=G1}if(q1===Y.length)return n(G,S1),Y1&&K4(G,q1),H1;if(S1===null){for(;q1q1?(G1=S1,S1=null):G1=S1.sibling;var U3=J(G,S1,J1.value,r1);if(U3===null){S1===null&&(S1=G1);break}e&&S1&&U3.alternate===null&&c(G,S1),U=m(U3,U,q1),X1===null?H1=U3:X1.sibling=U3,X1=U3,S1=G1}if(J1.done)return n(G,S1),Y1&&K4(G,q1),H1;if(S1===null){for(;!J1.done;q1++,J1=Y.next())J1=s1(G,J1.value,r1),J1!==null&&(U=m(J1,U,q1),X1===null?H1=J1:X1.sibling=J1,X1=J1);return Y1&&K4(G,q1),H1}for(S1=o(S1);!J1.done;q1++,J1=Y.next())J1=e1(S1,G,q1,J1.value,r1),J1!==null&&(e&&J1.alternate!==null&&S1.delete(J1.key===null?q1:J1.key),U=m(J1,U,q1),X1===null?H1=J1:X1.sibling=J1,X1=J1);return e&&S1.forEach(function(Cf){return c(G,Cf)}),Y1&&K4(G,q1),H1}function u2(G,U,Y,r1){if(typeof Y=="object"&&Y!==null&&Y.type===C&&Y.key===null&&(Y=Y.props.children),typeof Y=="object"&&Y!==null){switch(Y.$$typeof){case S:t:{for(var H1=Y.key;U!==null;){if(U.key===H1){if(H1=Y.type,H1===C){if(U.tag===7){n(G,U.sibling),r1=h(U,Y.props.children),r1.return=G,G=r1;break t}}else if(U.elementType===H1||typeof H1=="object"&&H1!==null&&H1.$$typeof===E&&c6(H1)===U.type){n(G,U.sibling),r1=h(U,Y.props),I0(r1,Y),r1.return=G,G=r1;break t}n(G,U);break}else c(G,U);U=U.sibling}Y.type===C?(r1=X3(Y.props.children,G.mode,r1,Y.key),r1.return=G,G=r1):(r1=o5(Y.type,Y.key,Y.props,null,G.mode,r1),I0(r1,Y),r1.return=G,G=r1)}return M(G);case H:t:{for(H1=Y.key;U!==null;){if(U.key===H1)if(U.tag===4&&U.stateNode.containerInfo===Y.containerInfo&&U.stateNode.implementation===Y.implementation){n(G,U.sibling),r1=h(U,Y.children||[]),r1.return=G,G=r1;break t}else{n(G,U);break}else c(G,U);U=U.sibling}r1=U7(Y,G.mode,r1),r1.return=G,G=r1}return M(G);case E:return Y=c6(Y),u2(G,U,Y,r1)}if(Q(Y))return C1(G,U,Y,r1);if(Z(Y)){if(H1=Z(Y),typeof H1!="function")throw Error(s(150));return Y=H1.call(Y),B1(G,U,Y,r1)}if(typeof Y.then=="function")return u2(G,U,p5(Y),r1);if(Y.$$typeof===L)return u2(G,U,d5(G,Y),r1);g5(G,Y)}return typeof Y=="string"&&Y!==""||typeof Y=="number"||typeof Y=="bigint"?(Y=""+Y,U!==null&&U.tag===6?(n(G,U.sibling),r1=h(U,Y),r1.return=G,G=r1):(n(G,U),r1=O7(Y,G.mode,r1),r1.return=G,G=r1),M(G)):n(G,U)}return function(G,U,Y,r1){try{$0=0;var H1=u2(G,U,Y,r1);return U6=null,H1}catch(S1){if(S1===O6||S1===m5)throw S1;var X1=r4(29,S1,null,G.mode);return X1.lanes=r1,X1.return=G,X1}finally{}}}var n6=Vn(!0),Ln=Vn(!1),S3=!1;function te(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ee(e,c){e=e.updateQueue,c.updateQueue===e&&(c.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function H3(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function A3(e,c,n){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(c2&2)!==0){var h=o.pending;return h===null?c.next=c:(c.next=h.next,h.next=c),o.pending=c,c=s5(e),dn(e,null,n),c}return i5(e,o,c,n),s5(e)}function G0(e,c,n){if(c=c.updateQueue,c!==null&&(c=c.shared,(n&4194048)!==0)){var o=c.lanes;o&=e.pendingLanes,n|=o,c.lanes=n,za(e,n)}}function ce(e,c){var n=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,n===o)){var h=null,m=null;if(n=n.firstBaseUpdate,n!==null){do{var M={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};m===null?h=m=M:m=m.next=M,n=n.next}while(n!==null);m===null?h=m=c:m=m.next=c}else h=m=c;n={baseState:o.baseState,firstBaseUpdate:h,lastBaseUpdate:m,shared:o.shared,callbacks:o.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=c:e.next=c,n.lastBaseUpdate=c}var ae=!1;function P0(){if(ae){var e=D6;if(e!==null)throw e}}function Y0(e,c,n,o){ae=!1;var h=e.updateQueue;S3=!1;var m=h.firstBaseUpdate,M=h.lastBaseUpdate,B=h.shared.pending;if(B!==null){h.shared.pending=null;var D=B,K=D.next;D.next=null,M===null?m=K:M.next=K,M=D;var l1=e.alternate;l1!==null&&(l1=l1.updateQueue,B=l1.lastBaseUpdate,B!==M&&(B===null?l1.firstBaseUpdate=K:B.next=K,l1.lastBaseUpdate=D))}if(m!==null){var s1=h.baseState;M=0,l1=K=D=null,B=m;do{var J=B.lane&-536870913,e1=J!==B.lane;if(e1?(I1&J)===J:(o&J)===J){J!==0&&J===_6&&(ae=!0),l1!==null&&(l1=l1.next={lane:0,tag:B.tag,payload:B.payload,callback:null,next:null});t:{var C1=e,B1=B;J=c;var u2=n;switch(B1.tag){case 1:if(C1=B1.payload,typeof C1=="function"){s1=C1.call(u2,s1,J);break t}s1=C1;break t;case 3:C1.flags=C1.flags&-65537|128;case 0:if(C1=B1.payload,J=typeof C1=="function"?C1.call(u2,s1,J):C1,J==null)break t;s1=b({},s1,J);break t;case 2:S3=!0}}J=B.callback,J!==null&&(e.flags|=64,e1&&(e.flags|=8192),e1=h.callbacks,e1===null?h.callbacks=[J]:e1.push(J))}else e1={lane:J,tag:B.tag,payload:B.payload,callback:B.callback,next:null},l1===null?(K=l1=e1,D=s1):l1=l1.next=e1,M|=J;if(B=B.next,B===null){if(B=h.shared.pending,B===null)break;e1=B,B=e1.next,e1.next=null,h.lastBaseUpdate=e1,h.shared.pending=null}}while(!0);l1===null&&(D=s1),h.baseState=D,h.firstBaseUpdate=K,h.lastBaseUpdate=l1,m===null&&(h.shared.lanes=0),N3|=M,e.lanes=M,e.memoizedState=s1}}function Bn(e,c){if(typeof e!="function")throw Error(s(191,e));e.call(c)}function jn(e,c){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;em?m:8;var M=F.T,B={};F.T=B,ye(e,!1,c,n);try{var D=h(),K=F.S;if(K!==null&&K(B,D),D!==null&&typeof D=="object"&&typeof D.then=="function"){var l1=dd(D,o);X0(e,c,l1,h4(e))}else X0(e,c,o,h4(e))}catch(s1){X0(e,c,{then:function(){},status:"rejected",reason:s1},h4())}finally{$.p=m,M!==null&&B.types!==null&&(M.types=B.types),F.T=M}}function xd(){}function be(e,c,n,o){if(e.tag!==5)throw Error(s(476));var h=ol(e).queue;sl(e,h,c,t1,n===null?xd:function(){return ul(e),n(o)})}function ol(e){var c=e.memoizedState;if(c!==null)return c;c={memoizedState:t1,baseState:t1,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:W4,lastRenderedState:t1},next:null};var n={};return c.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:W4,lastRenderedState:n},next:null},e.memoizedState=c,e=e.alternate,e!==null&&(e.memoizedState=c),c}function ul(e){var c=ol(e);c.next===null&&(c=e.alternate.memoizedState),X0(e,c.next.queue,{},h4())}function Me(){return U2(m8)}function hl(){return V2().memoizedState}function dl(){return V2().memoizedState}function zd(e){for(var c=e.return;c!==null;){switch(c.tag){case 24:case 3:var n=h4();e=H3(n);var o=A3(c,e,n);o!==null&&(a4(o,c,n),G0(o,c,n)),c={cache:Q7()},e.payload=c;return}c=c.return}}function bd(e,c,n){var o=h4();n={lane:o,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},A5(e)?ml(c,n):(n=_7(e,c,n,o),n!==null&&(a4(n,e,o),vl(n,c,o)))}function fl(e,c,n){var o=h4();X0(e,c,n,o)}function X0(e,c,n,o){var h={lane:o,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(A5(e))ml(c,h);else{var m=e.alternate;if(e.lanes===0&&(m===null||m.lanes===0)&&(m=c.lastRenderedReducer,m!==null))try{var M=c.lastRenderedState,B=m(M,n);if(h.hasEagerState=!0,h.eagerState=B,l4(B,M))return i5(e,c,h,0),d2===null&&r5(),!1}catch{}finally{}if(n=_7(e,c,h,o),n!==null)return a4(n,e,o),vl(n,c,o),!0}return!1}function ye(e,c,n,o){if(o={lane:2,revertLane:t9(),gesture:null,action:o,hasEagerState:!1,eagerState:null,next:null},A5(e)){if(c)throw Error(s(479))}else c=_7(e,n,o,2),c!==null&&a4(c,e,2)}function A5(e){var c=e.alternate;return e===E1||c!==null&&c===E1}function ml(e,c){$6=b5=!0;var n=e.pending;n===null?c.next=c:(c.next=n.next,n.next=c),e.pending=c}function vl(e,c,n){if((n&4194048)!==0){var o=c.lanes;o&=e.pendingLanes,n|=o,c.lanes=n,za(e,n)}}var J0={readContext:U2,use:w5,useCallback:y2,useContext:y2,useEffect:y2,useImperativeHandle:y2,useLayoutEffect:y2,useInsertionEffect:y2,useMemo:y2,useReducer:y2,useRef:y2,useState:y2,useDebugValue:y2,useDeferredValue:y2,useTransition:y2,useSyncExternalStore:y2,useId:y2,useHostTransitionStatus:y2,useFormState:y2,useActionState:y2,useOptimistic:y2,useMemoCache:y2,useCacheRefresh:y2};J0.useEffectEvent=y2;var pl={readContext:U2,use:w5,useCallback:function(e,c){return Y2().memoizedState=[e,c===void 0?null:c],e},useContext:U2,useEffect:Wn,useImperativeHandle:function(e,c,n){n=n!=null?n.concat([e]):null,S5(4194308,4,al.bind(null,c,e),n)},useLayoutEffect:function(e,c){return S5(4194308,4,e,c)},useInsertionEffect:function(e,c){S5(4,2,e,c)},useMemo:function(e,c){var n=Y2();c=c===void 0?null:c;var o=e();if(l6){n4(!0);try{e()}finally{n4(!1)}}return n.memoizedState=[o,c],o},useReducer:function(e,c,n){var o=Y2();if(n!==void 0){var h=n(c);if(l6){n4(!0);try{n(c)}finally{n4(!1)}}}else h=c;return o.memoizedState=o.baseState=h,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:h},o.queue=e,e=e.dispatch=bd.bind(null,E1,e),[o.memoizedState,e]},useRef:function(e){var c=Y2();return e={current:e},c.memoizedState=e},useState:function(e){e=ve(e);var c=e.queue,n=fl.bind(null,E1,c);return c.dispatch=n,[e.memoizedState,n]},useDebugValue:xe,useDeferredValue:function(e,c){var n=Y2();return ze(n,e,c)},useTransition:function(){var e=ve(!1);return e=sl.bind(null,E1,e.queue,!0,!1),Y2().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,c,n){var o=E1,h=Y2();if(Y1){if(n===void 0)throw Error(s(407));n=n()}else{if(n=c(),d2===null)throw Error(s(349));(I1&127)!==0||Tn(o,c,n)}h.memoizedState=n;var m={value:n,getSnapshot:c};return h.queue=m,Wn(_n.bind(null,o,m,e),[e]),o.flags|=2048,G6(9,{destroy:void 0},qn.bind(null,o,m,n,c),null),n},useId:function(){var e=Y2(),c=d2.identifierPrefix;if(Y1){var n=_4,o=q4;n=(o&~(1<<32-w1(o)-1)).toString(32)+n,c="_"+c+"R_"+n,n=M5++,0<\/script>",m=m.removeChild(m.firstChild);break;case"select":m=typeof o.is=="string"?M.createElement("select",{is:o.is}):M.createElement("select"),o.multiple?m.multiple=!0:o.size&&(m.size=o.size);break;default:m=typeof o.is=="string"?M.createElement(h,{is:o.is}):M.createElement(h)}}m[D2]=c,m[X2]=o;t:for(M=c.child;M!==null;){if(M.tag===5||M.tag===6)m.appendChild(M.stateNode);else if(M.tag!==4&&M.tag!==27&&M.child!==null){M.child.return=M,M=M.child;continue}if(M===c)break t;for(;M.sibling===null;){if(M.return===null||M.return===c)break t;M=M.return}M.sibling.return=M.return,M=M.sibling}c.stateNode=m;t:switch($2(m,h,o),h){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break t;case"img":o=!0;break t;default:o=!1}o&&e3(c)}}return m2(c),Ee(c,c.type,e===null?null:e.memoizedProps,c.pendingProps,n),null;case 6:if(e&&c.stateNode!=null)e.memoizedProps!==o&&e3(c);else{if(typeof o!="string"&&c.stateNode===null)throw Error(s(166));if(e=v1.current,T6(c)){if(e=c.stateNode,n=c.memoizedProps,o=null,h=O2,h!==null)switch(h.tag){case 27:case 5:o=h.memoizedProps}e[D2]=c,e=!!(e.nodeValue===n||o!==null&&o.suppressHydrationWarning===!0||Rr(e.nodeValue,n)),e||w3(c,!0)}else e=P5(e).createTextNode(o),e[D2]=c,c.stateNode=e}return m2(c),null;case 31:if(n=c.memoizedState,e===null||e.memoizedState!==null){if(o=T6(c),n!==null){if(e===null){if(!o)throw Error(s(318));if(e=c.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(557));e[D2]=c}else J3(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;m2(c),e=!1}else n=G7(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return c.flags&256?(s4(c),c):(s4(c),null);if((c.flags&128)!==0)throw Error(s(558))}return m2(c),null;case 13:if(o=c.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(h=T6(c),o!==null&&o.dehydrated!==null){if(e===null){if(!h)throw Error(s(318));if(h=c.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(s(317));h[D2]=c}else J3(),(c.flags&128)===0&&(c.memoizedState=null),c.flags|=4;m2(c),h=!1}else h=G7(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=h),h=!0;if(!h)return c.flags&256?(s4(c),c):(s4(c),null)}return s4(c),(c.flags&128)!==0?(c.lanes=n,c):(n=o!==null,e=e!==null&&e.memoizedState!==null,n&&(o=c.child,h=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(h=o.alternate.memoizedState.cachePool.pool),m=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(m=o.memoizedState.cachePool.pool),m!==h&&(o.flags|=2048)),n!==e&&n&&(c.child.flags|=8192),N5(c,c.updateQueue),m2(c),null);case 4:return L1(),e===null&&n9(c.stateNode.containerInfo),m2(c),null;case 10:return X4(c.type),m2(c),null;case 19:if(_(A2),o=c.memoizedState,o===null)return m2(c),null;if(h=(c.flags&128)!==0,m=o.rendering,m===null)if(h)t8(o,!1);else{if(w2!==0||e!==null&&(e.flags&128)!==0)for(e=c.child;e!==null;){if(m=z5(e),m!==null){for(c.flags|=128,t8(o,!1),e=m.updateQueue,c.updateQueue=e,N5(c,e),c.subtreeFlags=0,e=n,n=c.child;n!==null;)fn(n,e),n=n.sibling;return W(A2,A2.current&1|2),Y1&&K4(c,o.treeForkCount),c.child}e=e.sibling}o.tail!==null&&P1()>T5&&(c.flags|=128,h=!0,t8(o,!1),c.lanes=4194304)}else{if(!h)if(e=z5(m),e!==null){if(c.flags|=128,h=!0,e=e.updateQueue,c.updateQueue=e,N5(c,e),t8(o,!0),o.tail===null&&o.tailMode==="hidden"&&!m.alternate&&!Y1)return m2(c),null}else 2*P1()-o.renderingStartTime>T5&&n!==536870912&&(c.flags|=128,h=!0,t8(o,!1),c.lanes=4194304);o.isBackwards?(m.sibling=c.child,c.child=m):(e=o.last,e!==null?e.sibling=m:c.child=m,o.last=m)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=P1(),e.sibling=null,n=A2.current,W(A2,h?n&1|2:n&1),Y1&&K4(c,o.treeForkCount),e):(m2(c),null);case 22:case 23:return s4(c),le(),o=c.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(c.flags|=8192):o&&(c.flags|=8192),o?(n&536870912)!==0&&(c.flags&128)===0&&(m2(c),c.subtreeFlags&6&&(c.flags|=8192)):m2(c),n=c.updateQueue,n!==null&&N5(c,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),o=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(o=c.memoizedState.cachePool.pool),o!==n&&(c.flags|=2048),e!==null&&_(e6),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),c.memoizedState.cache!==n&&(c.flags|=2048),X4(B2),m2(c),null;case 25:return null;case 30:return null}throw Error(s(156,c.tag))}function Sd(e,c){switch($7(c),c.tag){case 1:return e=c.flags,e&65536?(c.flags=e&-65537|128,c):null;case 3:return X4(B2),L1(),e=c.flags,(e&65536)!==0&&(e&128)===0?(c.flags=e&-65537|128,c):null;case 26:case 27:case 5:return K1(c),null;case 31:if(c.memoizedState!==null){if(s4(c),c.alternate===null)throw Error(s(340));J3()}return e=c.flags,e&65536?(c.flags=e&-65537|128,c):null;case 13:if(s4(c),e=c.memoizedState,e!==null&&e.dehydrated!==null){if(c.alternate===null)throw Error(s(340));J3()}return e=c.flags,e&65536?(c.flags=e&-65537|128,c):null;case 19:return _(A2),null;case 4:return L1(),null;case 10:return X4(c.type),null;case 22:case 23:return s4(c),le(),e!==null&&_(e6),e=c.flags,e&65536?(c.flags=e&-65537|128,c):null;case 24:return X4(B2),null;case 25:return null;default:return null}}function Dl(e,c){switch($7(c),c.tag){case 3:X4(B2),L1();break;case 26:case 27:case 5:K1(c);break;case 4:L1();break;case 31:c.memoizedState!==null&&s4(c);break;case 13:s4(c);break;case 19:_(A2);break;case 10:X4(c.type);break;case 22:case 23:s4(c),le(),e!==null&&_(e6);break;case 24:X4(B2)}}function e8(e,c){try{var n=c.updateQueue,o=n!==null?n.lastEffect:null;if(o!==null){var h=o.next;n=h;do{if((n.tag&e)===e){o=void 0;var m=n.create,M=n.inst;o=m(),M.destroy=o}n=n.next}while(n!==h)}}catch(B){n2(c,c.return,B)}}function B3(e,c,n){try{var o=c.updateQueue,h=o!==null?o.lastEffect:null;if(h!==null){var m=h.next;o=m;do{if((o.tag&e)===e){var M=o.inst,B=M.destroy;if(B!==void 0){M.destroy=void 0,h=c;var D=n,K=B;try{K()}catch(l1){n2(h,D,l1)}}}o=o.next}while(o!==m)}}catch(l1){n2(c,c.return,l1)}}function Ol(e){var c=e.updateQueue;if(c!==null){var n=e.stateNode;try{jn(c,n)}catch(o){n2(e,e.return,o)}}}function Ul(e,c,n){n.props=r6(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(o){n2(e,c,o)}}function c8(e,c){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;case 30:o=e.stateNode;break;default:o=e.stateNode}typeof n=="function"?e.refCleanup=n(o):n.current=o}}catch(h){n2(e,c,h)}}function D4(e,c){var n=e.ref,o=e.refCleanup;if(n!==null)if(typeof o=="function")try{o()}catch(h){n2(e,c,h)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(h){n2(e,c,h)}else n.current=null}function Zl(e){var c=e.type,n=e.memoizedProps,o=e.stateNode;try{t:switch(c){case"button":case"input":case"select":case"textarea":n.autoFocus&&o.focus();break t;case"img":n.src?o.src=n.src:n.srcSet&&(o.srcset=n.srcSet)}}catch(h){n2(e,e.return,h)}}function Te(e,c,n){try{var o=e.stateNode;Pd(o,e.type,n,c),o[X2]=c}catch(h){n2(e,e.return,h)}}function $l(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&T3(e.type)||e.tag===4}function qe(e){t:for(;;){for(;e.sibling===null;){if(e.return===null||$l(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&T3(e.type)||e.flags&2||e.child===null||e.tag===4)continue t;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function _e(e,c,n){var o=e.tag;if(o===5||o===6)e=e.stateNode,c?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,c):(c=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,c.appendChild(e),n=n._reactRootContainer,n!=null||c.onclick!==null||(c.onclick=G4));else if(o!==4&&(o===27&&T3(e.type)&&(n=e.stateNode,c=null),e=e.child,e!==null))for(_e(e,c,n),e=e.sibling;e!==null;)_e(e,c,n),e=e.sibling}function F5(e,c,n){var o=e.tag;if(o===5||o===6)e=e.stateNode,c?n.insertBefore(e,c):n.appendChild(e);else if(o!==4&&(o===27&&T3(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(F5(e,c,n),e=e.sibling;e!==null;)F5(e,c,n),e=e.sibling}function Il(e){var c=e.stateNode,n=e.memoizedProps;try{for(var o=e.type,h=c.attributes;h.length;)c.removeAttributeNode(h[0]);$2(c,o,n),c[D2]=e,c[X2]=n}catch(m){n2(e,e.return,m)}}var c3=!1,F2=!1,De=!1,Gl=typeof WeakSet=="function"?WeakSet:Set,q2=null;function Hd(e,c){if(e=e.containerInfo,i9=tt,e=an(e),F7(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else t:{n=(n=e.ownerDocument)&&n.defaultView||window;var o=n.getSelection&&n.getSelection();if(o&&o.rangeCount!==0){n=o.anchorNode;var h=o.anchorOffset,m=o.focusNode;o=o.focusOffset;try{n.nodeType,m.nodeType}catch{n=null;break t}var M=0,B=-1,D=-1,K=0,l1=0,s1=e,J=null;e:for(;;){for(var e1;s1!==n||h!==0&&s1.nodeType!==3||(B=M+h),s1!==m||o!==0&&s1.nodeType!==3||(D=M+o),s1.nodeType===3&&(M+=s1.nodeValue.length),(e1=s1.firstChild)!==null;)J=s1,s1=e1;for(;;){if(s1===e)break e;if(J===n&&++K===h&&(B=M),J===m&&++l1===o&&(D=M),(e1=s1.nextSibling)!==null)break;s1=J,J=s1.parentNode}s1=e1}n=B===-1||D===-1?null:{start:B,end:D}}else n=null}n=n||{start:0,end:0}}else n=null;for(s9={focusedElem:e,selectionRange:n},tt=!1,q2=c;q2!==null;)if(c=q2,e=c.child,(c.subtreeFlags&1028)!==0&&e!==null)e.return=c,q2=e;else for(;q2!==null;){switch(c=q2,m=c.alternate,e=c.flags,c.tag){case 0:if((e&4)!==0&&(e=c.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n title"))),$2(m,o,n),m[D2]=e,T2(m),o=m;break t;case"link":var M=Jr("link","href",h).get(o+(n.href||""));if(M){for(var B=0;Bu2&&(M=u2,u2=B1,B1=M);var G=en(B,B1),U=en(B,u2);if(G&&U&&(e1.rangeCount!==1||e1.anchorNode!==G.node||e1.anchorOffset!==G.offset||e1.focusNode!==U.node||e1.focusOffset!==U.offset)){var Y=s1.createRange();Y.setStart(G.node,G.offset),e1.removeAllRanges(),B1>u2?(e1.addRange(Y),e1.extend(U.node,U.offset)):(Y.setEnd(U.node,U.offset),e1.addRange(Y))}}}}for(s1=[],e1=B;e1=e1.parentNode;)e1.nodeType===1&&s1.push({element:e1,left:e1.scrollLeft,top:e1.scrollTop});for(typeof B.focus=="function"&&B.focus(),B=0;Bn?32:n,F.T=null,n=Pe,Pe=null;var m=k3,M=i3;if(E2=0,X6=k3=null,i3=0,(c2&6)!==0)throw Error(s(331));var B=c2;if(c2|=4,ar(m.current),tr(m,m.current,M,n),c2=B,s8(0,!1),b2&&typeof b2.onPostCommitFiberRoot=="function")try{b2.onPostCommitFiberRoot(i2,m)}catch{}return!0}finally{$.p=h,F.T=o,Mr(e,c)}}function wr(e,c,n){c=g4(n,c),c=He(e.stateNode,c,2),e=A3(e,c,2),e!==null&&(V0(e,2),O4(e))}function n2(e,c,n){if(e.tag===3)wr(e,e,n);else for(;c!==null;){if(c.tag===3){wr(c,e,n);break}else if(c.tag===1){var o=c.stateNode;if(typeof c.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(F3===null||!F3.has(o))){e=g4(n,e),n=Cl(2),o=A3(c,n,2),o!==null&&(Sl(n,o,c,e),V0(o,2),O4(o));break}}c=c.return}}function Xe(e,c,n){var o=e.pingCache;if(o===null){o=e.pingCache=new Ld;var h=new Set;o.set(c,h)}else h=o.get(c),h===void 0&&(h=new Set,o.set(c,h));h.has(n)||(Ze=!0,h.add(n),e=kd.bind(null,e,c,n),c.then(e,e))}function kd(e,c,n){var o=e.pingCache;o!==null&&o.delete(c),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,d2===e&&(I1&n)===n&&(w2===4||w2===3&&(I1&62914560)===I1&&300>P1()-E5?(c2&2)===0&&J6(e,0):$e|=n,Q6===I1&&(Q6=0)),O4(e)}function Cr(e,c){c===0&&(c=ga()),e=Q3(e,c),e!==null&&(V0(e,c),O4(e))}function Rd(e){var c=e.memoizedState,n=0;c!==null&&(n=c.retryLane),Cr(e,n)}function Ed(e,c){var n=0;switch(e.tag){case 31:case 13:var o=e.stateNode,h=e.memoizedState;h!==null&&(n=h.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(s(314))}o!==null&&o.delete(c),Cr(e,n)}function Td(e,c){return z1(e,c)}var Z5=null,t0=null,Je=!1,$5=!1,We=!1,E3=0;function O4(e){e!==t0&&e.next===null&&(t0===null?Z5=t0=e:t0=t0.next=e),$5=!0,Je||(Je=!0,_d())}function s8(e,c){if(!We&&$5){We=!0;do for(var n=!1,o=Z5;o!==null;){if(e!==0){var h=o.pendingLanes;if(h===0)var m=0;else{var M=o.suspendedLanes,B=o.pingedLanes;m=(1<<31-w1(42|e)+1)-1,m&=h&~(M&~B),m=m&201326741?m&201326741|1:m?m|2:0}m!==0&&(n=!0,Vr(o,m))}else m=I1,m=M2(o,o===d2?m:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(m&3)===0||L4(o,m)||(n=!0,Vr(o,m));o=o.next}while(n);We=!1}}function qd(){Sr()}function Sr(){$5=Je=!1;var e=0;E3!==0&&Kd()&&(e=E3);for(var c=P1(),n=null,o=Z5;o!==null;){var h=o.next,m=Hr(o,c);m===0?(o.next=null,n===null?Z5=h:n.next=h,h===null&&(t0=n)):(n=o,(e!==0||(m&3)!==0)&&($5=!0)),o=h}E2!==0&&E2!==5||s8(e),E3!==0&&(E3=0)}function Hr(e,c){for(var n=e.suspendedLanes,o=e.pingedLanes,h=e.expirationTimes,m=e.pendingLanes&-62914561;0B)break;var l1=D.transferSize,s1=D.initiatorType;l1&&Er(s1)&&(D=D.responseEnd,M+=l1*(D"u"?null:document;function Yr(e,c,n){var o=e0;if(o&&typeof c=="string"&&c){var h=v4(c);h='link[rel="'+e+'"][href="'+h+'"]',typeof n=="string"&&(h+='[crossorigin="'+n+'"]'),Pr.has(h)||(Pr.add(h),e={rel:e,crossOrigin:n,href:c},o.querySelector(h)===null&&(c=o.createElement("link"),$2(c,"link",e),T2(c),o.head.appendChild(c)))}}function nf(e){s3.D(e),Yr("dns-prefetch",e,null)}function lf(e,c){s3.C(e,c),Yr("preconnect",e,c)}function rf(e,c,n){s3.L(e,c,n);var o=e0;if(o&&e&&c){var h='link[rel="preload"][as="'+v4(c)+'"]';c==="image"&&n&&n.imageSrcSet?(h+='[imagesrcset="'+v4(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(h+='[imagesizes="'+v4(n.imageSizes)+'"]')):h+='[href="'+v4(e)+'"]';var m=h;switch(c){case"style":m=c0(e);break;case"script":m=a0(e)}w4.has(m)||(e=b({rel:"preload",href:c==="image"&&n&&n.imageSrcSet?void 0:e,as:c},n),w4.set(m,e),o.querySelector(h)!==null||c==="style"&&o.querySelector(d8(m))||c==="script"&&o.querySelector(f8(m))||(c=o.createElement("link"),$2(c,"link",e),T2(c),o.head.appendChild(c)))}}function sf(e,c){s3.m(e,c);var n=e0;if(n&&e){var o=c&&typeof c.as=="string"?c.as:"script",h='link[rel="modulepreload"][as="'+v4(o)+'"][href="'+v4(e)+'"]',m=h;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":m=a0(e)}if(!w4.has(m)&&(e=b({rel:"modulepreload",href:e},c),w4.set(m,e),n.querySelector(h)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(f8(m)))return}o=n.createElement("link"),$2(o,"link",e),T2(o),n.head.appendChild(o)}}}function of(e,c,n){s3.S(e,c,n);var o=e0;if(o&&e){var h=C6(o).hoistableStyles,m=c0(e);c=c||"default";var M=h.get(m);if(!M){var B={loading:0,preload:null};if(M=o.querySelector(d8(m)))B.loading=5;else{e=b({rel:"stylesheet",href:e,"data-precedence":c},n),(n=w4.get(m))&&v9(e,n);var D=M=o.createElement("link");T2(D),$2(D,"link",e),D._p=new Promise(function(K,l1){D.onload=K,D.onerror=l1}),D.addEventListener("load",function(){B.loading|=1}),D.addEventListener("error",function(){B.loading|=2}),B.loading|=4,K5(M,c,o)}M={type:"stylesheet",instance:M,count:1,state:B},h.set(m,M)}}}function uf(e,c){s3.X(e,c);var n=e0;if(n&&e){var o=C6(n).hoistableScripts,h=a0(e),m=o.get(h);m||(m=n.querySelector(f8(h)),m||(e=b({src:e,async:!0},c),(c=w4.get(h))&&p9(e,c),m=n.createElement("script"),T2(m),$2(m,"link",e),n.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},o.set(h,m))}}function hf(e,c){s3.M(e,c);var n=e0;if(n&&e){var o=C6(n).hoistableScripts,h=a0(e),m=o.get(h);m||(m=n.querySelector(f8(h)),m||(e=b({src:e,async:!0,type:"module"},c),(c=w4.get(h))&&p9(e,c),m=n.createElement("script"),T2(m),$2(m,"link",e),n.head.appendChild(m)),m={type:"script",instance:m,count:1,state:null},o.set(h,m))}}function Kr(e,c,n,o){var h=(h=v1.current)?Y5(h):null;if(!h)throw Error(s(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(c=c0(n.href),n=C6(h).hoistableStyles,o=n.get(c),o||(o={type:"style",instance:null,count:0,state:null},n.set(c,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=c0(n.href);var m=C6(h).hoistableStyles,M=m.get(e);if(M||(h=h.ownerDocument||h,M={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},m.set(e,M),(m=h.querySelector(d8(e)))&&!m._p&&(M.instance=m,M.state.loading=5),w4.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},w4.set(e,n),m||df(h,e,n,M.state))),c&&o===null)throw Error(s(528,""));return M}if(c&&o!==null)throw Error(s(529,""));return null;case"script":return c=n.async,n=n.src,typeof n=="string"&&c&&typeof c!="function"&&typeof c!="symbol"?(c=a0(n),n=C6(h).hoistableScripts,o=n.get(c),o||(o={type:"script",instance:null,count:0,state:null},n.set(c,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,e))}}function c0(e){return'href="'+v4(e)+'"'}function d8(e){return'link[rel="stylesheet"]['+e+"]"}function Qr(e){return b({},e,{"data-precedence":e.precedence,precedence:null})}function df(e,c,n,o){e.querySelector('link[rel="preload"][as="style"]['+c+"]")?o.loading=1:(c=e.createElement("link"),o.preload=c,c.addEventListener("load",function(){return o.loading|=1}),c.addEventListener("error",function(){return o.loading|=2}),$2(c,"link",n),T2(c),e.head.appendChild(c))}function a0(e){return'[src="'+v4(e)+'"]'}function f8(e){return"script[async]"+e}function Xr(e,c,n){if(c.count++,c.instance===null)switch(c.type){case"style":var o=e.querySelector('style[data-href~="'+v4(n.href)+'"]');if(o)return c.instance=o,T2(o),o;var h=b({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),T2(o),$2(o,"style",h),K5(o,n.precedence,e),c.instance=o;case"stylesheet":h=c0(n.href);var m=e.querySelector(d8(h));if(m)return c.state.loading|=4,c.instance=m,T2(m),m;o=Qr(n),(h=w4.get(h))&&v9(o,h),m=(e.ownerDocument||e).createElement("link"),T2(m);var M=m;return M._p=new Promise(function(B,D){M.onload=B,M.onerror=D}),$2(m,"link",o),c.state.loading|=4,K5(m,n.precedence,e),c.instance=m;case"script":return m=a0(n.src),(h=e.querySelector(f8(m)))?(c.instance=h,T2(h),h):(o=n,(h=w4.get(m))&&(o=b({},n),p9(o,h)),e=e.ownerDocument||e,h=e.createElement("script"),T2(h),$2(h,"link",o),e.head.appendChild(h),c.instance=h);case"void":return null;default:throw Error(s(443,c.type))}else c.type==="stylesheet"&&(c.state.loading&4)===0&&(o=c.instance,c.state.loading|=4,K5(o,n.precedence,e));return c.instance}function K5(e,c,n){for(var o=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),h=o.length?o[o.length-1]:null,m=h,M=0;M title"):null)}function ff(e,c,n){if(n===1||c.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof c.precedence!="string"||typeof c.href!="string"||c.href==="")break;return!0;case"link":if(typeof c.rel!="string"||typeof c.href!="string"||c.href===""||c.onLoad||c.onError)break;switch(c.rel){case"stylesheet":return e=c.disabled,typeof c.precedence=="string"&&e==null;default:return!0}case"script":if(c.async&&typeof c.async!="function"&&typeof c.async!="symbol"&&!c.onLoad&&!c.onError&&c.src&&typeof c.src=="string")return!0}return!1}function ti(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function mf(e,c,n,o){if(n.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var h=c0(o.href),m=c.querySelector(d8(h));if(m){c=m._p,c!==null&&typeof c=="object"&&typeof c.then=="function"&&(e.count++,e=X5.bind(e),c.then(e,e)),n.state.loading|=4,n.instance=m,T2(m);return}m=c.ownerDocument||c,o=Qr(o),(h=w4.get(h))&&v9(o,h),m=m.createElement("link"),T2(m);var M=m;M._p=new Promise(function(B,D){M.onload=B,M.onerror=D}),$2(m,"link",o),n.instance=m}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,c),(c=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=X5.bind(e),c.addEventListener("load",n),c.addEventListener("error",n))}}var g9=0;function vf(e,c){return e.stylesheets&&e.count===0&&W5(e,e.stylesheets),0g9?50:800)+c);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(o),clearTimeout(h)}}:null}function X5(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)W5(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var J5=null;function W5(e,c){e.stylesheets=null,e.unsuspend!==null&&(e.count++,J5=new Map,c.forEach(pf,e),J5=null,X5.call(e))}function pf(e,c){if(!(c.state.loading&4)){var n=J5.get(e);if(n)var o=n.get(null);else{n=new Map,J5.set(e,n);for(var h=e.querySelectorAll("link[data-precedence],style[data-precedence]"),m=0;m"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(a){console.error(a)}}return t(),H9.exports=Nf(),H9.exports}var kf=Ff();var Ci="popstate";function Rf(t={}){function a(s,u){let{pathname:f,search:p,hash:v}=s.location;return oc("",{pathname:f,search:p,hash:v},u.state&&u.state.usr||null,u.state&&u.state.key||"default")}function l(s,u){return typeof u=="string"?u:N8(u)}return Tf(a,l,null,t)}function x2(t,a){if(t===!1||t===null||typeof t>"u")throw new Error(a)}function E4(t,a){if(!t){typeof console<"u"&&console.warn(a);try{throw new Error(a)}catch{}}}function Ef(){return Math.random().toString(36).substring(2,10)}function Si(t,a){return{usr:t.state,key:t.key,idx:a}}function oc(t,a,l=null,s){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof a=="string"?y0(a):a,state:l,key:a&&a.key||s||Ef()}}function N8({pathname:t="/",search:a="",hash:l=""}){return a&&a!=="?"&&(t+=a.charAt(0)==="?"?a:"?"+a),l&&l!=="#"&&(t+=l.charAt(0)==="#"?l:"#"+l),t}function y0(t){let a={};if(t){let l=t.indexOf("#");l>=0&&(a.hash=t.substring(l),t=t.substring(0,l));let s=t.indexOf("?");s>=0&&(a.search=t.substring(s),t=t.substring(0,s)),t&&(a.pathname=t)}return a}function Tf(t,a,l,s={}){let{window:u=document.defaultView,v5Compat:f=!1}=s,p=u.history,v="POP",g=null,x=z();x==null&&(x=0,p.replaceState({...p.state,idx:x},""));function z(){return(p.state||{idx:null}).idx}function b(){v="POP";let w=z(),A=w==null?null:w-x;x=w,g&&g({action:v,location:C.location,delta:A})}function y(w,A){v="PUSH";let V=oc(C.location,w,A);x=z()+1;let L=Si(V,x),R=C.createHref(V);try{p.pushState(L,"",R)}catch(q){if(q instanceof DOMException&&q.name==="DataCloneError")throw q;u.location.assign(R)}f&&g&&g({action:v,location:C.location,delta:1})}function S(w,A){v="REPLACE";let V=oc(C.location,w,A);x=z();let L=Si(V,x),R=C.createHref(V);p.replaceState(L,"",R),f&&g&&g({action:v,location:C.location,delta:0})}function H(w){return qf(w)}let C={get action(){return v},get location(){return t(u,p)},listen(w){if(g)throw new Error("A history only accepts one active listener");return u.addEventListener(Ci,b),g=w,()=>{u.removeEventListener(Ci,b),g=null}},createHref(w){return a(u,w)},createURL:H,encodeLocation(w){let A=H(w);return{pathname:A.pathname,search:A.search,hash:A.hash}},push:y,replace:S,go(w){return p.go(w)}};return C}function qf(t,a=!1){let l="http://localhost";typeof window<"u"&&(l=window.location.origin!=="null"?window.location.origin:window.location.href),x2(l,"No window.location.(origin|href) available to create URL");let s=typeof t=="string"?t:N8(t);return s=s.replace(/ $/,"%20"),!a&&s.startsWith("//")&&(s=l+s),new URL(s,l)}function eo(t,a,l="/"){return _f(t,a,l,!1)}function _f(t,a,l,s){let u=typeof a=="string"?y0(a):a,f=p3(u.pathname||"/",l);if(f==null)return null;let p=co(t);Df(p);let v=null;for(let g=0;v==null&&g{let z={relativePath:x===void 0?p.path||"":x,caseSensitive:p.caseSensitive===!0,childrenIndex:v,route:p};if(z.relativePath.startsWith("/")){if(!z.relativePath.startsWith(s)&&g)return;x2(z.relativePath.startsWith(s),`Absolute route path "${z.relativePath}" nested under path "${s}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),z.relativePath=z.relativePath.slice(s.length)}let b=m3([s,z.relativePath]),y=l.concat(z);p.children&&p.children.length>0&&(x2(p.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${b}".`),co(p.children,a,y,b,g)),!(p.path==null&&!p.index)&&a.push({path:b,score:Pf(b,p.index),routesMeta:y})};return t.forEach((p,v)=>{if(p.path===""||!p.path?.includes("?"))f(p,v);else for(let g of ao(p.path))f(p,v,!0,g)}),a}function ao(t){let a=t.split("/");if(a.length===0)return[];let[l,...s]=a,u=l.endsWith("?"),f=l.replace(/\?$/,"");if(s.length===0)return u?[f,""]:[f];let p=ao(s.join("/")),v=[];return v.push(...p.map(g=>g===""?f:[f,g].join("/"))),u&&v.push(...p),v.map(g=>t.startsWith("/")&&g===""?"/":g)}function Df(t){t.sort((a,l)=>a.score!==l.score?l.score-a.score:Yf(a.routesMeta.map(s=>s.childrenIndex),l.routesMeta.map(s=>s.childrenIndex)))}var Of=/^:[\w-]+$/,Uf=3,Zf=2,$f=1,If=10,Gf=-2,Hi=t=>t==="*";function Pf(t,a){let l=t.split("/"),s=l.length;return l.some(Hi)&&(s+=Gf),a&&(s+=Zf),l.filter(u=>!Hi(u)).reduce((u,f)=>u+(Of.test(f)?Uf:f===""?$f:If),s)}function Yf(t,a){return t.length===a.length&&t.slice(0,-1).every((s,u)=>s===a[u])?t[t.length-1]-a[a.length-1]:0}function Kf(t,a,l=!1){let{routesMeta:s}=t,u={},f="/",p=[];for(let v=0;v{if(z==="*"){let H=v[y]||"";p=f.slice(0,f.length-H.length).replace(/(.)\/+$/,"$1")}const S=v[y];return b&&!S?x[z]=void 0:x[z]=(S||"").replace(/%2F/g,"/"),x},{}),pathname:f,pathnameBase:p,pattern:t}}function Qf(t,a=!1,l=!0){E4(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let s=[],u="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(p,v,g)=>(s.push({paramName:v,isOptional:g!=null}),g?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(s.push({paramName:"*"}),u+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):l?u+="\\/*$":t!==""&&t!=="/"&&(u+="(?:(?=\\/|$))"),[new RegExp(u,a?void 0:"i"),s]}function Xf(t){try{return t.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return E4(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${a}).`),t}}function p3(t,a){if(a==="/")return t;if(!t.toLowerCase().startsWith(a.toLowerCase()))return null;let l=a.endsWith("/")?a.length-1:a.length,s=t.charAt(l);return s&&s!=="/"?null:t.slice(l)||"/"}var Jf=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Wf=t=>Jf.test(t);function tm(t,a="/"){let{pathname:l,search:s="",hash:u=""}=typeof t=="string"?y0(t):t,f;if(l)if(Wf(l))f=l;else{if(l.includes("//")){let p=l;l=l.replace(/\/\/+/g,"/"),E4(!1,`Pathnames cannot have embedded double slashes - normalizing ${p} -> ${l}`)}l.startsWith("/")?f=Ai(l.substring(1),"/"):f=Ai(l,a)}else f=a;return{pathname:f,search:am(s),hash:nm(u)}}function Ai(t,a){let l=a.replace(/\/+$/,"").split("/");return t.split("/").forEach(u=>{u===".."?l.length>1&&l.pop():u!=="."&&l.push(u)}),l.length>1?l.join("/"):"/"}function B9(t,a,l,s){return`Cannot include a '${t}' character in a manually specified \`to.${a}\` field [${JSON.stringify(s)}]. Please separate it out to the \`to.${l}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function em(t){return t.filter((a,l)=>l===0||a.route.path&&a.route.path.length>0)}function no(t){let a=em(t);return a.map((l,s)=>s===a.length-1?l.pathname:l.pathnameBase)}function lo(t,a,l,s=!1){let u;typeof t=="string"?u=y0(t):(u={...t},x2(!u.pathname||!u.pathname.includes("?"),B9("?","pathname","search",u)),x2(!u.pathname||!u.pathname.includes("#"),B9("#","pathname","hash",u)),x2(!u.search||!u.search.includes("#"),B9("#","search","hash",u)));let f=t===""||u.pathname==="",p=f?"/":u.pathname,v;if(p==null)v=l;else{let b=a.length-1;if(!s&&p.startsWith("..")){let y=p.split("/");for(;y[0]==="..";)y.shift(),b-=1;u.pathname=y.join("/")}v=b>=0?a[b]:"/"}let g=tm(u,v),x=p&&p!=="/"&&p.endsWith("/"),z=(f||p===".")&&l.endsWith("/");return!g.pathname.endsWith("/")&&(x||z)&&(g.pathname+="/"),g}var m3=t=>t.join("/").replace(/\/\/+/g,"/"),cm=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),am=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,nm=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function lm(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var ro=["POST","PUT","PATCH","DELETE"];new Set(ro);var rm=["GET",...ro];new Set(rm);var w0=d.createContext(null);w0.displayName="DataRouter";var Jt=d.createContext(null);Jt.displayName="DataRouterState";d.createContext(!1);var io=d.createContext({isTransitioning:!1});io.displayName="ViewTransition";var im=d.createContext(new Map);im.displayName="Fetchers";var sm=d.createContext(null);sm.displayName="Await";var $4=d.createContext(null);$4.displayName="Navigation";var _8=d.createContext(null);_8.displayName="Location";var g3=d.createContext({outlet:null,matches:[],isDataRoute:!1});g3.displayName="Route";var jc=d.createContext(null);jc.displayName="RouteError";function om(t,{relative:a}={}){x2(D8(),"useHref() may be used only in the context of a component.");let{basename:l,navigator:s}=d.useContext($4),{hash:u,pathname:f,search:p}=O8(t,{relative:a}),v=f;return l!=="/"&&(v=f==="/"?l:m3([l,f])),s.createHref({pathname:v,search:p,hash:u})}function D8(){return d.useContext(_8)!=null}function I3(){return x2(D8(),"useLocation() may be used only in the context of a component."),d.useContext(_8).location}var so="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function oo(t){d.useContext($4).static||d.useLayoutEffect(t)}function um(){let{isDataRoute:t}=d.useContext(g3);return t?wm():hm()}function hm(){x2(D8(),"useNavigate() may be used only in the context of a component.");let t=d.useContext(w0),{basename:a,navigator:l}=d.useContext($4),{matches:s}=d.useContext(g3),{pathname:u}=I3(),f=JSON.stringify(no(s)),p=d.useRef(!1);return oo(()=>{p.current=!0}),d.useCallback((g,x={})=>{if(E4(p.current,so),!p.current)return;if(typeof g=="number"){l.go(g);return}let z=lo(g,JSON.parse(f),u,x.relative==="path");t==null&&a!=="/"&&(z.pathname=z.pathname==="/"?a:m3([a,z.pathname])),(x.replace?l.replace:l.push)(z,x.state,x)},[a,l,f,u,t])}d.createContext(null);function O8(t,{relative:a}={}){let{matches:l}=d.useContext(g3),{pathname:s}=I3(),u=JSON.stringify(no(l));return d.useMemo(()=>lo(t,JSON.parse(u),s,a==="path"),[t,u,s,a])}function dm(t,a){return uo(t,a)}function uo(t,a,l,s,u){x2(D8(),"useRoutes() may be used only in the context of a component.");let{navigator:f}=d.useContext($4),{matches:p}=d.useContext(g3),v=p[p.length-1],g=v?v.params:{},x=v?v.pathname:"/",z=v?v.pathnameBase:"/",b=v&&v.route;{let V=b&&b.path||"";ho(x,!b||V.endsWith("*")||V.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${x}" (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 y=I3(),S;if(a){let V=typeof a=="string"?y0(a):a;x2(z==="/"||V.pathname?.startsWith(z),`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 "${z}" but pathname "${V.pathname}" was given in the \`location\` prop.`),S=V}else S=y;let H=S.pathname||"/",C=H;if(z!=="/"){let V=z.replace(/^\//,"").split("/");C="/"+H.replace(/^\//,"").split("/").slice(V.length).join("/")}let w=eo(t,{pathname:C});E4(b||w!=null,`No routes matched location "${S.pathname}${S.search}${S.hash}" `),E4(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${S.pathname}${S.search}${S.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let A=gm(w&&w.map(V=>Object.assign({},V,{params:Object.assign({},g,V.params),pathname:m3([z,f.encodeLocation?f.encodeLocation(V.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:V.pathname]),pathnameBase:V.pathnameBase==="/"?z:m3([z,f.encodeLocation?f.encodeLocation(V.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:V.pathnameBase])})),p,l,s,u);return a&&A?d.createElement(_8.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...S},navigationType:"POP"}},A):A}function fm(){let t=ym(),a=lm(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),l=t instanceof Error?t.stack:null,s="rgba(200,200,200, 0.5)",u={padding:"0.5rem",backgroundColor:s},f={padding:"2px 4px",backgroundColor:s},p=null;return console.error("Error handled by React Router default ErrorBoundary:",t),p=d.createElement(d.Fragment,null,d.createElement("p",null,"💿 Hey developer 👋"),d.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",d.createElement("code",{style:f},"ErrorBoundary")," or"," ",d.createElement("code",{style:f},"errorElement")," prop on your route.")),d.createElement(d.Fragment,null,d.createElement("h2",null,"Unexpected Application Error!"),d.createElement("h3",{style:{fontStyle:"italic"}},a),l?d.createElement("pre",{style:u},l):null,p)}var mm=d.createElement(fm,null),vm=class extends d.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,a){return a.location!==t.location||a.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:a.error,location:a.location,revalidation:t.revalidation||a.revalidation}}componentDidCatch(t,a){this.props.onError?this.props.onError(t,a):console.error("React Router caught the following error during render",t)}render(){return this.state.error!==void 0?d.createElement(g3.Provider,{value:this.props.routeContext},d.createElement(jc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function pm({routeContext:t,match:a,children:l}){let s=d.useContext(w0);return s&&s.static&&s.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(s.staticContext._deepestRenderedBoundaryId=a.route.id),d.createElement(g3.Provider,{value:t},l)}function gm(t,a=[],l=null,s=null,u=null){if(t==null){if(!l)return null;if(l.errors)t=l.matches;else if(a.length===0&&!l.initialized&&l.matches.length>0)t=l.matches;else return null}let f=t,p=l?.errors;if(p!=null){let z=f.findIndex(b=>b.route.id&&p?.[b.route.id]!==void 0);x2(z>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(p).join(",")}`),f=f.slice(0,Math.min(f.length,z+1))}let v=!1,g=-1;if(l)for(let z=0;z=0?f=f.slice(0,g+1):f=[f[0]];break}}}let x=l&&s?(z,b)=>{s(z,{location:l.location,params:l.matches?.[0]?.params??{},errorInfo:b})}:void 0;return f.reduceRight((z,b,y)=>{let S,H=!1,C=null,w=null;l&&(S=p&&b.route.id?p[b.route.id]:void 0,C=b.route.errorElement||mm,v&&(g<0&&y===0?(ho("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),H=!0,w=null):g===y&&(H=!0,w=b.route.hydrateFallbackElement||null)));let A=a.concat(f.slice(0,y+1)),V=()=>{let L;return S?L=C:H?L=w:b.route.Component?L=d.createElement(b.route.Component,null):b.route.element?L=b.route.element:L=z,d.createElement(pm,{match:b,routeContext:{outlet:z,matches:A,isDataRoute:l!=null},children:L})};return l&&(b.route.ErrorBoundary||b.route.errorElement||y===0)?d.createElement(vm,{location:l.location,revalidation:l.revalidation,component:C,error:S,children:V(),routeContext:{outlet:null,matches:A,isDataRoute:!0},onError:x}):V()},null)}function Nc(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function xm(t){let a=d.useContext(w0);return x2(a,Nc(t)),a}function zm(t){let a=d.useContext(Jt);return x2(a,Nc(t)),a}function bm(t){let a=d.useContext(g3);return x2(a,Nc(t)),a}function Fc(t){let a=bm(t),l=a.matches[a.matches.length-1];return x2(l.route.id,`${t} can only be used on routes that contain a unique "id"`),l.route.id}function Mm(){return Fc("useRouteId")}function ym(){let t=d.useContext(jc),a=zm("useRouteError"),l=Fc("useRouteError");return t!==void 0?t:a.errors?.[l]}function wm(){let{router:t}=xm("useNavigate"),a=Fc("useNavigate"),l=d.useRef(!1);return oo(()=>{l.current=!0}),d.useCallback(async(u,f={})=>{E4(l.current,so),l.current&&(typeof u=="number"?t.navigate(u):await t.navigate(u,{fromRouteId:a,...f}))},[t,a])}var Vi={};function ho(t,a,l){!a&&!Vi[t]&&(Vi[t]=!0,E4(!1,l))}d.memo(Cm);function Cm({routes:t,future:a,state:l,unstable_onError:s}){return uo(t,void 0,l,s,a)}function h0(t){x2(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function Sm({basename:t="/",children:a=null,location:l,navigationType:s="POP",navigator:u,static:f=!1}){x2(!D8(),"You cannot render a inside another . You should never have more than one in your app.");let p=t.replace(/^\/*/,"/"),v=d.useMemo(()=>({basename:p,navigator:u,static:f,future:{}}),[p,u,f]);typeof l=="string"&&(l=y0(l));let{pathname:g="/",search:x="",hash:z="",state:b=null,key:y="default"}=l,S=d.useMemo(()=>{let H=p3(g,p);return H==null?null:{location:{pathname:H,search:x,hash:z,state:b,key:y},navigationType:s}},[p,g,x,z,b,y,s]);return E4(S!=null,` is not able to match the URL "${g}${x}${z}" because it does not start with the basename, so the won't render anything.`),S==null?null:d.createElement($4.Provider,{value:v},d.createElement(_8.Provider,{children:a,value:S}))}function Hm({children:t,location:a}){return dm(uc(t),a)}function uc(t,a=[]){let l=[];return d.Children.forEach(t,(s,u)=>{if(!d.isValidElement(s))return;let f=[...a,u];if(s.type===d.Fragment){l.push.apply(l,uc(s.props.children,f));return}x2(s.type===h0,`[${typeof s.type=="string"?s.type:s.type.name}] is not a component. All component children of must be a or `),x2(!s.props.index||!s.props.children,"An index route cannot have child routes.");let p={id:s.props.id||f.join("-"),caseSensitive:s.props.caseSensitive,element:s.props.element,Component:s.props.Component,index:s.props.index,path:s.props.path,middleware:s.props.middleware,loader:s.props.loader,action:s.props.action,hydrateFallbackElement:s.props.hydrateFallbackElement,HydrateFallback:s.props.HydrateFallback,errorElement:s.props.errorElement,ErrorBoundary:s.props.ErrorBoundary,hasErrorBoundary:s.props.hasErrorBoundary===!0||s.props.ErrorBoundary!=null||s.props.errorElement!=null,shouldRevalidate:s.props.shouldRevalidate,handle:s.props.handle,lazy:s.props.lazy};s.props.children&&(p.children=uc(s.props.children,f)),l.push(p)}),l}var yt="get",wt="application/x-www-form-urlencoded";function Wt(t){return t!=null&&typeof t.tagName=="string"}function Am(t){return Wt(t)&&t.tagName.toLowerCase()==="button"}function Vm(t){return Wt(t)&&t.tagName.toLowerCase()==="form"}function Lm(t){return Wt(t)&&t.tagName.toLowerCase()==="input"}function Bm(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function jm(t,a){return t.button===0&&(!a||a==="_self")&&!Bm(t)}var it=null;function Nm(){if(it===null)try{new FormData(document.createElement("form"),0),it=!1}catch{it=!0}return it}var Fm=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function j9(t){return t!=null&&!Fm.has(t)?(E4(!1,`"${t}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${wt}"`),null):t}function km(t,a){let l,s,u,f,p;if(Vm(t)){let v=t.getAttribute("action");s=v?p3(v,a):null,l=t.getAttribute("method")||yt,u=j9(t.getAttribute("enctype"))||wt,f=new FormData(t)}else if(Am(t)||Lm(t)&&(t.type==="submit"||t.type==="image")){let v=t.form;if(v==null)throw new Error('Cannot submit a