R&&(R=ee),P&=~D}if(P=R,P=mr()-P,P=(120>P?120:480>P?480:1080>P?1080:1920>P?1920:3e3>P?3e3:4320>P?4320:1960*Nq(P/1960))-P,10u?16:u,Us===null)var P=!1;else{if(u=Us,Us=null,Kv=0,(Nt&6)!==0)throw Error(r(331));var R=Nt;for(Nt|=4,et=u.current;et!==null;){var D=et,ee=D.child;if((et.flags&16)!==0){var fe=D.deletions;if(fe!==null){for(var me=0;memr()-v1?ru(u,0):m1|=y),zn(u,d)}function _3(u,d){d===0&&((u.mode&1)===0?d=1:(d=ms,ms<<=1,(ms&130023424)===0&&(ms=4194304)));var y=On();u=No(u,d),u!==null&&(Qn(u,d,y),zn(u,y))}function Fq(u){var d=u.memoizedState,y=0;d!==null&&(y=d.retryLane),_3(u,y)}function Bq(u,d){var y=0;switch(u.tag){case 13:var P=u.stateNode,R=u.memoizedState;R!==null&&(y=R.retryLane);break;case 19:P=u.stateNode;break;default:throw Error(r(314))}P!==null&&P.delete(d),_3(u,y)}var x3;x3=function(u,d,y){if(u!==null)if(u.memoizedProps!==d.pendingProps||$n.current)Bn=!0;else{if((u.lanes&y)===0&&(d.flags&128)===0)return Bn=!1,Eq(u,d,y);Bn=(u.flags&131072)!==0}else Bn=!1,ar&&(d.flags&1048576)!==0&&ek(d,Pv,d.index);switch(d.lanes=0,d.tag){case 2:var P=d.type;Uv(u,d),u=d.pendingProps;var R=Ec(d,fn.current);Nc(d,y),R=G_(null,d,P,u,R,y);var D=K_();return d.flags|=1,typeof R=="object"&&R!==null&&typeof R.render=="function"&&R.$$typeof===void 0?(d.tag=1,d.memoizedState=null,d.updateQueue=null,Fn(P)?(D=!0,Sv(d)):D=!1,d.memoizedState=R.state!==null&&R.state!==void 0?R.state:null,B_(d),R.updater=Fv,d.stateNode=R,R._reactInternals=d,e1(d,P,u,y),d=i1(null,d,P,!0,D,y)):(d.tag=0,ar&&D&&A_(d),Sn(null,d,R,y),d=d.child),d;case 16:P=d.elementType;e:{switch(Uv(u,d),u=d.pendingProps,R=P._init,P=R(P._payload),d.type=P,R=d.tag=zq(P),u=ca(P,u),R){case 0:d=n1(null,d,P,u,y);break e;case 1:d=Gk(null,d,P,u,y);break e;case 11:d=zk(null,d,P,u,y);break e;case 14:d=Vk(null,d,P,ca(P.type,u),y);break e}throw Error(r(306,P,""))}return d;case 0:return P=d.type,R=d.pendingProps,R=d.elementType===P?R:ca(P,R),n1(u,d,P,R,y);case 1:return P=d.type,R=d.pendingProps,R=d.elementType===P?R:ca(P,R),Gk(u,d,P,R,y);case 3:e:{if(Kk(d),u===null)throw Error(r(387));P=d.pendingProps,D=d.memoizedState,R=D.element,uk(u,d),Rv(d,P,null,y);var ee=d.memoizedState;if(P=ee.element,D.isDehydrated)if(D={element:P,isDehydrated:!1,cache:ee.cache,pendingSuspenseBoundaries:ee.pendingSuspenseBoundaries,transitions:ee.transitions},d.updateQueue.baseState=D,d.memoizedState=D,d.flags&256){R=Lc(Error(r(423)),d),d=Yk(u,d,P,y,R);break e}else if(P!==R){R=Lc(Error(r(424)),d),d=Yk(u,d,P,y,R);break e}else for(oi=za(d.stateNode.containerInfo.firstChild),ai=d,ar=!0,ua=null,y=sk(d,null,P,y),d.child=y;y;)y.flags=y.flags&-3|4096,y=y.sibling;else{if(Ac(),P===R){d=Lo(u,d,y);break e}Sn(u,d,P,y)}d=d.child}return d;case 5:return dk(d),u===null&&N_(d),P=d.type,R=d.pendingProps,D=u!==null?u.memoizedProps:null,ee=R.children,St(P,R)?ee=null:D!==null&&St(P,D)&&(d.flags|=32),Hk(u,d),Sn(u,d,ee,y),d.child;case 6:return u===null&&N_(d),null;case 13:return Zk(u,d,y);case 4:return U_(d,d.stateNode.containerInfo),P=d.pendingProps,u===null?d.child=kc(d,null,P,y):Sn(u,d,P,y),d.child;case 11:return P=d.type,R=d.pendingProps,R=d.elementType===P?R:ca(P,R),zk(u,d,P,R,y);case 7:return Sn(u,d,d.pendingProps,y),d.child;case 8:return Sn(u,d,d.pendingProps.children,y),d.child;case 12:return Sn(u,d,d.pendingProps.children,y),d.child;case 10:e:{if(P=d.type._context,R=d.pendingProps,D=d.memoizedProps,ee=R.value,Gt(jv,P._currentValue),P._currentValue=ee,D!==null)if(ni(D.value,ee)){if(D.children===R.children&&!$n.current){d=Lo(u,d,y);break e}}else for(D=d.child,D!==null&&(D.return=d);D!==null;){var fe=D.dependencies;if(fe!==null){ee=D.child;for(var me=fe.firstContext;me!==null;){if(me.context===P){if(D.tag===1){me=Mo(-1,y&-y),me.tag=2;var Pe=D.updateQueue;if(Pe!==null){Pe=Pe.shared;var De=Pe.pending;De===null?me.next=me:(me.next=De.next,De.next=me),Pe.pending=me}}D.lanes|=y,me=D.alternate,me!==null&&(me.lanes|=y),$_(D.return,y,d),fe.lanes|=y;break}me=me.next}}else if(D.tag===10)ee=D.type===d.type?null:D.child;else if(D.tag===18){if(ee=D.return,ee===null)throw Error(r(341));ee.lanes|=y,fe=ee.alternate,fe!==null&&(fe.lanes|=y),$_(ee,y,d),ee=D.sibling}else ee=D.child;if(ee!==null)ee.return=D;else for(ee=D;ee!==null;){if(ee===d){ee=null;break}if(D=ee.sibling,D!==null){D.return=ee.return,ee=D;break}ee=ee.return}D=ee}Sn(u,d,R.children,y),d=d.child}return d;case 9:return R=d.type,P=d.pendingProps.children,Nc(d,y),R=Mi(R),P=P(R),d.flags|=1,Sn(u,d,P,y),d.child;case 14:return P=d.type,R=ca(P,d.pendingProps),R=ca(P.type,R),Vk(u,d,P,R,y);case 15:return Wk(u,d,d.type,d.pendingProps,y);case 17:return P=d.type,R=d.pendingProps,R=d.elementType===P?R:ca(P,R),Uv(u,d),d.tag=1,Fn(P)?(u=!0,Sv(d)):u=!1,Nc(d,y),Lk(d,P,R),e1(d,P,R,y),i1(null,d,P,!0,u,y);case 19:return Qk(u,d,y);case 22:return qk(u,d,y)}throw Error(r(156,d.tag))};function w3(u,d){return Xm(u,d)}function Uq(u,d,y,P){this.tag=u,this.key=y,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=d,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=P,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Di(u,d,y,P){return new Uq(u,d,y,P)}function O1(u){return u=u.prototype,!(!u||!u.isReactComponent)}function zq(u){if(typeof u=="function")return O1(u)?1:0;if(u!=null){if(u=u.$$typeof,u===q)return 11;if(u===re)return 14}return 2}function Ws(u,d){var y=u.alternate;return y===null?(y=Di(u.tag,d,u.key,u.mode),y.elementType=u.elementType,y.type=u.type,y.stateNode=u.stateNode,y.alternate=u,u.alternate=y):(y.pendingProps=d,y.type=u.type,y.flags=0,y.subtreeFlags=0,y.deletions=null),y.flags=u.flags&14680064,y.childLanes=u.childLanes,y.lanes=u.lanes,y.child=u.child,y.memoizedProps=u.memoizedProps,y.memoizedState=u.memoizedState,y.updateQueue=u.updateQueue,d=u.dependencies,y.dependencies=d===null?null:{lanes:d.lanes,firstContext:d.firstContext},y.sibling=u.sibling,y.index=u.index,y.ref=u.ref,y}function Qv(u,d,y,P,R,D){var ee=2;if(P=u,typeof u=="function")O1(u)&&(ee=1);else if(typeof u=="string")ee=5;else e:switch(u){case N:return iu(y.children,R,D,d);case $:ee=8,R|=8;break;case U:return u=Di(12,y,d,R|2),u.elementType=U,u.lanes=D,u;case J:return u=Di(13,y,d,R),u.elementType=J,u.lanes=D,u;case Q:return u=Di(19,y,d,R),u.elementType=Q,u.lanes=D,u;case ue:return Jv(y,R,D,d);default:if(typeof u=="object"&&u!==null)switch(u.$$typeof){case B:ee=10;break e;case W:ee=9;break e;case q:ee=11;break e;case re:ee=14;break e;case oe:ee=16,P=null;break e}throw Error(r(130,u==null?u:typeof u,""))}return d=Di(ee,y,d,R),d.elementType=u,d.type=P,d.lanes=D,d}function iu(u,d,y,P){return u=Di(7,u,P,d),u.lanes=y,u}function Jv(u,d,y,P){return u=Di(22,u,P,d),u.elementType=ue,u.lanes=y,u.stateNode={isHidden:!1},u}function C1(u,d,y){return u=Di(6,u,null,d),u.lanes=y,u}function P1(u,d,y){return d=Di(4,u.children!==null?u.children:[],u.key,d),d.lanes=y,d.stateNode={containerInfo:u.containerInfo,pendingChildren:null,implementation:u.implementation},d}function Vq(u,d,y,P,R){this.tag=d,this.containerInfo=u,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vs(0),this.expirationTimes=vs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vs(0),this.identifierPrefix=P,this.onRecoverableError=R,this.mutableSourceEagerHydrationData=null}function E1(u,d,y,P,R,D,ee,fe,me){return u=new Vq(u,d,y,fe,me),d===1?(d=1,D===!0&&(d|=8)):d=0,D=Di(3,null,null,d),u.current=D,D.stateNode=u,D.memoizedState={element:P,isDehydrated:y,cache:null,transitions:null,pendingSuspenseBoundaries:null},B_(D),u}function Wq(u,d,y){var P=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),N1.exports=nH(),N1.exports}var I3;function iH(){if(I3)return sg;I3=1;var e=J8();return sg.createRoot=e.createRoot,sg.hydrateRoot=e.hydrateRoot,sg}var aH=iH(),M=q0();const Z=kt(M);var I1={exports:{}},D1={};/**
+`+D.stack}return{value:u,source:d,stack:R,digest:null}}function t1(u,d,y){return{value:u,source:null,stack:y??null,digest:d??null}}function r1(u,d){try{console.error(d.value)}catch(y){setTimeout(function(){throw y})}}var Oq=typeof WeakMap=="function"?WeakMap:Map;function Dk(u,d,y){y=Mo(-1,y),y.tag=3,y.payload={element:null};var E=d.value;return y.callback=function(){Hv||(Hv=!0,g1=E),r1(u,d)},y}function $k(u,d,y){y=Mo(-1,y),y.tag=3;var E=u.type.getDerivedStateFromError;if(typeof E=="function"){var R=d.value;y.payload=function(){return E(R)},y.callback=function(){r1(u,d)}}var D=u.stateNode;return D!==null&&typeof D.componentDidCatch=="function"&&(y.callback=function(){r1(u,d),typeof E!="function"&&(Bs===null?Bs=new Set([this]):Bs.add(this));var ee=d.stack;this.componentDidCatch(d.value,{componentStack:ee!==null?ee:""})}),y}function Fk(u,d,y){var E=u.pingCache;if(E===null){E=u.pingCache=new Oq;var R=new Set;E.set(d,R)}else R=E.get(d),R===void 0&&(R=new Set,E.set(d,R));R.has(y)||(R.add(y),u=$q.bind(null,u,d,y),d.then(u,u))}function Bk(u){do{var d;if((d=u.tag===13)&&(d=u.memoizedState,d=d!==null?d.dehydrated!==null:!0),d)return u;u=u.return}while(u!==null);return null}function Uk(u,d,y,E,R){return(u.mode&1)===0?(u===d?u.flags|=65536:(u.flags|=128,y.flags|=131072,y.flags&=-52805,y.tag===1&&(y.alternate===null?y.tag=17:(d=Mo(-1,1),d.tag=2,$s(y,d,1))),y.lanes|=1),u):(u.flags|=65536,u.lanes=R,u)}var Cq=T.ReactCurrentOwner,Bn=!1;function Sn(u,d,y,E){d.child=u===null?sk(d,null,y,E):kc(d,u.child,y,E)}function zk(u,d,y,E,R){y=y.render;var D=d.ref;return Nc(d,R),E=G_(u,d,y,E,D,R),y=K_(),u!==null&&!Bn?(d.updateQueue=u.updateQueue,d.flags&=-2053,u.lanes&=~R,Lo(u,d,R)):(ar&&y&&A_(d),d.flags|=1,Sn(u,d,E,R),d.child)}function Vk(u,d,y,E,R){if(u===null){var D=y.type;return typeof D=="function"&&!O1(D)&&D.defaultProps===void 0&&y.compare===null&&y.defaultProps===void 0?(d.tag=15,d.type=D,Wk(u,d,D,E,R)):(u=Qv(y.type,null,E,d,d.mode,R),u.ref=d.ref,u.return=d,d.child=u)}if(D=u.child,(u.lanes&R)===0){var ee=D.memoizedProps;if(y=y.compare,y=y!==null?y:Fa,y(ee,E)&&u.ref===d.ref)return Lo(u,d,R)}return d.flags|=1,u=Ws(D,E),u.ref=d.ref,u.return=d,d.child=u}function Wk(u,d,y,E,R){if(u!==null){var D=u.memoizedProps;if(Fa(D,E)&&u.ref===d.ref)if(Bn=!1,d.pendingProps=E=D,(u.lanes&R)!==0)(u.flags&131072)!==0&&(Bn=!0);else return d.lanes=u.lanes,Lo(u,d,R)}return n1(u,d,y,E,R)}function qk(u,d,y){var E=d.pendingProps,R=E.children,D=u!==null?u.memoizedState:null;if(E.mode==="hidden")if((d.mode&1)===0)d.memoizedState={baseLanes:0,cachePool:null,transitions:null},Gt(Dc,si),si|=y;else{if((y&1073741824)===0)return u=D!==null?D.baseLanes|y:y,d.lanes=d.childLanes=1073741824,d.memoizedState={baseLanes:u,cachePool:null,transitions:null},d.updateQueue=null,Gt(Dc,si),si|=u,null;d.memoizedState={baseLanes:0,cachePool:null,transitions:null},E=D!==null?D.baseLanes:y,Gt(Dc,si),si|=E}else D!==null?(E=D.baseLanes|y,d.memoizedState=null):E=y,Gt(Dc,si),si|=E;return Sn(u,d,R,y),d.child}function Hk(u,d){var y=d.ref;(u===null&&y!==null||u!==null&&u.ref!==y)&&(d.flags|=512,d.flags|=2097152)}function n1(u,d,y,E,R){var D=Fn(y)?Kl:fn.current;return D=Ec(d,D),Nc(d,R),y=G_(u,d,y,E,D,R),E=K_(),u!==null&&!Bn?(d.updateQueue=u.updateQueue,d.flags&=-2053,u.lanes&=~R,Lo(u,d,R)):(ar&&E&&A_(d),d.flags|=1,Sn(u,d,y,R),d.child)}function Gk(u,d,y,E,R){if(Fn(y)){var D=!0;Sv(d)}else D=!1;if(Nc(d,R),d.stateNode===null)Uv(u,d),Lk(d,y,E),e1(d,y,E,R),E=!0;else if(u===null){var ee=d.stateNode,fe=d.memoizedProps;ee.props=fe;var me=ee.context,Pe=y.contextType;typeof Pe=="object"&&Pe!==null?Pe=Mi(Pe):(Pe=Fn(y)?Kl:fn.current,Pe=Ec(d,Pe));var De=y.getDerivedStateFromProps,Fe=typeof De=="function"||typeof ee.getSnapshotBeforeUpdate=="function";Fe||typeof ee.UNSAFE_componentWillReceiveProps!="function"&&typeof ee.componentWillReceiveProps!="function"||(fe!==E||me!==Pe)&&Ik(d,ee,E,Pe),Ds=!1;var Ie=d.memoizedState;ee.state=Ie,Rv(d,E,ee,R),me=d.memoizedState,fe!==E||Ie!==me||$n.current||Ds?(typeof De=="function"&&(J_(d,y,De,E),me=d.memoizedState),(fe=Ds||Mk(d,y,fe,E,Ie,me,Pe))?(Fe||typeof ee.UNSAFE_componentWillMount!="function"&&typeof ee.componentWillMount!="function"||(typeof ee.componentWillMount=="function"&&ee.componentWillMount(),typeof ee.UNSAFE_componentWillMount=="function"&&ee.UNSAFE_componentWillMount()),typeof ee.componentDidMount=="function"&&(d.flags|=4194308)):(typeof ee.componentDidMount=="function"&&(d.flags|=4194308),d.memoizedProps=E,d.memoizedState=me),ee.props=E,ee.state=me,ee.context=Pe,E=fe):(typeof ee.componentDidMount=="function"&&(d.flags|=4194308),E=!1)}else{ee=d.stateNode,uk(u,d),fe=d.memoizedProps,Pe=d.type===d.elementType?fe:ca(d.type,fe),ee.props=Pe,Fe=d.pendingProps,Ie=ee.context,me=y.contextType,typeof me=="object"&&me!==null?me=Mi(me):(me=Fn(y)?Kl:fn.current,me=Ec(d,me));var Je=y.getDerivedStateFromProps;(De=typeof Je=="function"||typeof ee.getSnapshotBeforeUpdate=="function")||typeof ee.UNSAFE_componentWillReceiveProps!="function"&&typeof ee.componentWillReceiveProps!="function"||(fe!==Fe||Ie!==me)&&Ik(d,ee,E,me),Ds=!1,Ie=d.memoizedState,ee.state=Ie,Rv(d,E,ee,R);var rt=d.memoizedState;fe!==Fe||Ie!==rt||$n.current||Ds?(typeof Je=="function"&&(J_(d,y,Je,E),rt=d.memoizedState),(Pe=Ds||Mk(d,y,Pe,E,Ie,rt,me)||!1)?(De||typeof ee.UNSAFE_componentWillUpdate!="function"&&typeof ee.componentWillUpdate!="function"||(typeof ee.componentWillUpdate=="function"&&ee.componentWillUpdate(E,rt,me),typeof ee.UNSAFE_componentWillUpdate=="function"&&ee.UNSAFE_componentWillUpdate(E,rt,me)),typeof ee.componentDidUpdate=="function"&&(d.flags|=4),typeof ee.getSnapshotBeforeUpdate=="function"&&(d.flags|=1024)):(typeof ee.componentDidUpdate!="function"||fe===u.memoizedProps&&Ie===u.memoizedState||(d.flags|=4),typeof ee.getSnapshotBeforeUpdate!="function"||fe===u.memoizedProps&&Ie===u.memoizedState||(d.flags|=1024),d.memoizedProps=E,d.memoizedState=rt),ee.props=E,ee.state=rt,ee.context=me,E=Pe):(typeof ee.componentDidUpdate!="function"||fe===u.memoizedProps&&Ie===u.memoizedState||(d.flags|=4),typeof ee.getSnapshotBeforeUpdate!="function"||fe===u.memoizedProps&&Ie===u.memoizedState||(d.flags|=1024),E=!1)}return i1(u,d,y,E,D,R)}function i1(u,d,y,E,R,D){Hk(u,d);var ee=(d.flags&128)!==0;if(!E&&!ee)return R&&QA(d,y,!1),Lo(u,d,D);E=d.stateNode,Cq.current=d;var fe=ee&&typeof y.getDerivedStateFromError!="function"?null:E.render();return d.flags|=1,u!==null&&ee?(d.child=kc(d,u.child,null,D),d.child=kc(d,null,fe,D)):Sn(u,d,fe,D),d.memoizedState=E.state,R&&QA(d,y,!0),d.child}function Kk(u){var d=u.stateNode;d.pendingContext?ZA(u,d.pendingContext,d.pendingContext!==d.context):d.context&&ZA(u,d.context,!1),U_(u,d.containerInfo)}function Yk(u,d,y,E,R){return Ac(),M_(R),d.flags|=256,Sn(u,d,y,E),d.child}var a1={dehydrated:null,treeContext:null,retryLane:0};function o1(u){return{baseLanes:u,cachePool:null,transitions:null}}function Zk(u,d,y){var E=d.pendingProps,R=gr.current,D=!1,ee=(d.flags&128)!==0,fe;if((fe=ee)||(fe=u!==null&&u.memoizedState===null?!1:(R&2)!==0),fe?(D=!0,d.flags&=-129):(u===null||u.memoizedState!==null)&&(R|=1),Gt(gr,R&1),u===null)return N_(d),u=d.memoizedState,u!==null&&(u=u.dehydrated,u!==null)?((d.mode&1)===0?d.lanes=1:u.data==="$!"?d.lanes=8:d.lanes=1073741824,null):(ee=E.children,u=E.fallback,D?(E=d.mode,D=d.child,ee={mode:"hidden",children:ee},(E&1)===0&&D!==null?(D.childLanes=0,D.pendingProps=ee):D=Jv(ee,E,0,null),u=iu(u,E,y,null),D.return=d,u.return=d,D.sibling=u,d.child=D,d.child.memoizedState=o1(y),d.memoizedState=a1,u):s1(d,ee));if(R=u.memoizedState,R!==null&&(fe=R.dehydrated,fe!==null))return Pq(u,d,ee,E,fe,R,y);if(D){D=E.fallback,ee=d.mode,R=u.child,fe=R.sibling;var me={mode:"hidden",children:E.children};return(ee&1)===0&&d.child!==R?(E=d.child,E.childLanes=0,E.pendingProps=me,d.deletions=null):(E=Ws(R,me),E.subtreeFlags=R.subtreeFlags&14680064),fe!==null?D=Ws(fe,D):(D=iu(D,ee,y,null),D.flags|=2),D.return=d,E.return=d,E.sibling=D,d.child=E,E=D,D=d.child,ee=u.child.memoizedState,ee=ee===null?o1(y):{baseLanes:ee.baseLanes|y,cachePool:null,transitions:ee.transitions},D.memoizedState=ee,D.childLanes=u.childLanes&~y,d.memoizedState=a1,E}return D=u.child,u=D.sibling,E=Ws(D,{mode:"visible",children:E.children}),(d.mode&1)===0&&(E.lanes=y),E.return=d,E.sibling=null,u!==null&&(y=d.deletions,y===null?(d.deletions=[u],d.flags|=16):y.push(u)),d.child=E,d.memoizedState=null,E}function s1(u,d){return d=Jv({mode:"visible",children:d},u.mode,0,null),d.return=u,u.child=d}function Bv(u,d,y,E){return E!==null&&M_(E),kc(d,u.child,null,y),u=s1(d,d.pendingProps.children),u.flags|=2,d.memoizedState=null,u}function Pq(u,d,y,E,R,D,ee){if(y)return d.flags&256?(d.flags&=-257,E=t1(Error(r(422))),Bv(u,d,ee,E)):d.memoizedState!==null?(d.child=u.child,d.flags|=128,null):(D=E.fallback,R=d.mode,E=Jv({mode:"visible",children:E.children},R,0,null),D=iu(D,R,ee,null),D.flags|=2,E.return=d,D.return=d,E.sibling=D,d.child=E,(d.mode&1)!==0&&kc(d,u.child,null,ee),d.child.memoizedState=o1(ee),d.memoizedState=a1,D);if((d.mode&1)===0)return Bv(u,d,ee,null);if(R.data==="$!"){if(E=R.nextSibling&&R.nextSibling.dataset,E)var fe=E.dgst;return E=fe,D=Error(r(419)),E=t1(D,E,void 0),Bv(u,d,ee,E)}if(fe=(ee&u.childLanes)!==0,Bn||fe){if(E=Hr,E!==null){switch(ee&-ee){case 4:R=2;break;case 16:R=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:R=32;break;case 536870912:R=268435456;break;default:R=0}R=(R&(E.suspendedLanes|ee))!==0?0:R,R!==0&&R!==D.retryLane&&(D.retryLane=R,No(u,R),ha(E,u,R,-1))}return S1(),E=t1(Error(r(421))),Bv(u,d,ee,E)}return R.data==="$?"?(d.flags|=128,d.child=u.child,d=Fq.bind(null,u),R._reactRetry=d,null):(u=D.treeContext,oi=za(R.nextSibling),ai=d,ar=!0,ua=null,u!==null&&(Ri[Ni++]=ko,Ri[Ni++]=Ro,Ri[Ni++]=Yl,ko=u.id,Ro=u.overflow,Yl=d),d=s1(d,E.children),d.flags|=4096,d)}function Xk(u,d,y){u.lanes|=d;var E=u.alternate;E!==null&&(E.lanes|=d),$_(u.return,d,y)}function l1(u,d,y,E,R){var D=u.memoizedState;D===null?u.memoizedState={isBackwards:d,rendering:null,renderingStartTime:0,last:E,tail:y,tailMode:R}:(D.isBackwards=d,D.rendering=null,D.renderingStartTime=0,D.last=E,D.tail=y,D.tailMode=R)}function Qk(u,d,y){var E=d.pendingProps,R=E.revealOrder,D=E.tail;if(Sn(u,d,E.children,y),E=gr.current,(E&2)!==0)E=E&1|2,d.flags|=128;else{if(u!==null&&(u.flags&128)!==0)e:for(u=d.child;u!==null;){if(u.tag===13)u.memoizedState!==null&&Xk(u,y,d);else if(u.tag===19)Xk(u,y,d);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===d)break e;for(;u.sibling===null;){if(u.return===null||u.return===d)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}E&=1}if(Gt(gr,E),(d.mode&1)===0)d.memoizedState=null;else switch(R){case"forwards":for(y=d.child,R=null;y!==null;)u=y.alternate,u!==null&&Nv(u)===null&&(R=y),y=y.sibling;y=R,y===null?(R=d.child,d.child=null):(R=y.sibling,y.sibling=null),l1(d,!1,R,y,D);break;case"backwards":for(y=null,R=d.child,d.child=null;R!==null;){if(u=R.alternate,u!==null&&Nv(u)===null){d.child=R;break}u=R.sibling,R.sibling=y,y=R,R=u}l1(d,!0,y,null,D);break;case"together":l1(d,!1,null,null,void 0);break;default:d.memoizedState=null}return d.child}function Uv(u,d){(d.mode&1)===0&&u!==null&&(u.alternate=null,d.alternate=null,d.flags|=2)}function Lo(u,d,y){if(u!==null&&(d.dependencies=u.dependencies),eu|=d.lanes,(y&d.childLanes)===0)return null;if(u!==null&&d.child!==u.child)throw Error(r(153));if(d.child!==null){for(u=d.child,y=Ws(u,u.pendingProps),d.child=y,y.return=d;u.sibling!==null;)u=u.sibling,y=y.sibling=Ws(u,u.pendingProps),y.return=d;y.sibling=null}return d.child}function Eq(u,d,y){switch(d.tag){case 3:Kk(d),Ac();break;case 5:dk(d);break;case 1:Fn(d.type)&&Sv(d);break;case 4:U_(d,d.stateNode.containerInfo);break;case 10:var E=d.type._context,R=d.memoizedProps.value;Gt(jv,E._currentValue),E._currentValue=R;break;case 13:if(E=d.memoizedState,E!==null)return E.dehydrated!==null?(Gt(gr,gr.current&1),d.flags|=128,null):(y&d.child.childLanes)!==0?Zk(u,d,y):(Gt(gr,gr.current&1),u=Lo(u,d,y),u!==null?u.sibling:null);Gt(gr,gr.current&1);break;case 19:if(E=(y&d.childLanes)!==0,(u.flags&128)!==0){if(E)return Qk(u,d,y);d.flags|=128}if(R=d.memoizedState,R!==null&&(R.rendering=null,R.tail=null,R.lastEffect=null),Gt(gr,gr.current),E)break;return null;case 22:case 23:return d.lanes=0,qk(u,d,y)}return Lo(u,d,y)}var Jk,u1,e3,t3;Jk=function(u,d){for(var y=d.child;y!==null;){if(y.tag===5||y.tag===6)u.appendChild(y.stateNode);else if(y.tag!==4&&y.child!==null){y.child.return=y,y=y.child;continue}if(y===d)break;for(;y.sibling===null;){if(y.return===null||y.return===d)return;y=y.return}y.sibling.return=y.return,y=y.sibling}},u1=function(){},e3=function(u,d,y,E){var R=u.memoizedProps;if(R!==E){u=d.stateNode,Ql(Va.current);var D=null;switch(y){case"input":R=Oe(u,R),E=Oe(u,E),D=[];break;case"select":R=H({},R,{value:void 0}),E=H({},E,{value:void 0}),D=[];break;case"textarea":R=Ge(u,R),E=Ge(u,E),D=[];break;default:typeof R.onClick!="function"&&typeof E.onClick=="function"&&(u.onclick=Ne)}Lr(y,E);var ee;y=null;for(Pe in R)if(!E.hasOwnProperty(Pe)&&R.hasOwnProperty(Pe)&&R[Pe]!=null)if(Pe==="style"){var fe=R[Pe];for(ee in fe)fe.hasOwnProperty(ee)&&(y||(y={}),y[ee]="")}else Pe!=="dangerouslySetInnerHTML"&&Pe!=="children"&&Pe!=="suppressContentEditableWarning"&&Pe!=="suppressHydrationWarning"&&Pe!=="autoFocus"&&(i.hasOwnProperty(Pe)?D||(D=[]):(D=D||[]).push(Pe,null));for(Pe in E){var me=E[Pe];if(fe=R!=null?R[Pe]:void 0,E.hasOwnProperty(Pe)&&me!==fe&&(me!=null||fe!=null))if(Pe==="style")if(fe){for(ee in fe)!fe.hasOwnProperty(ee)||me&&me.hasOwnProperty(ee)||(y||(y={}),y[ee]="");for(ee in me)me.hasOwnProperty(ee)&&fe[ee]!==me[ee]&&(y||(y={}),y[ee]=me[ee])}else y||(D||(D=[]),D.push(Pe,y)),y=me;else Pe==="dangerouslySetInnerHTML"?(me=me?me.__html:void 0,fe=fe?fe.__html:void 0,me!=null&&fe!==me&&(D=D||[]).push(Pe,me)):Pe==="children"?typeof me!="string"&&typeof me!="number"||(D=D||[]).push(Pe,""+me):Pe!=="suppressContentEditableWarning"&&Pe!=="suppressHydrationWarning"&&(i.hasOwnProperty(Pe)?(me!=null&&Pe==="onScroll"&&Ut("scroll",u),D||fe===me||(D=[])):(D=D||[]).push(Pe,me))}y&&(D=D||[]).push("style",y);var Pe=D;(d.updateQueue=Pe)&&(d.flags|=4)}},t3=function(u,d,y,E){y!==E&&(d.flags|=4)};function ph(u,d){if(!ar)switch(u.tailMode){case"hidden":d=u.tail;for(var y=null;d!==null;)d.alternate!==null&&(y=d),d=d.sibling;y===null?u.tail=null:y.sibling=null;break;case"collapsed":y=u.tail;for(var E=null;y!==null;)y.alternate!==null&&(E=y),y=y.sibling;E===null?d||u.tail===null?u.tail=null:u.tail.sibling=null:E.sibling=null}}function hn(u){var d=u.alternate!==null&&u.alternate.child===u.child,y=0,E=0;if(d)for(var R=u.child;R!==null;)y|=R.lanes|R.childLanes,E|=R.subtreeFlags&14680064,E|=R.flags&14680064,R.return=u,R=R.sibling;else for(R=u.child;R!==null;)y|=R.lanes|R.childLanes,E|=R.subtreeFlags,E|=R.flags,R.return=u,R=R.sibling;return u.subtreeFlags|=E,u.childLanes=y,d}function Tq(u,d,y){var E=d.pendingProps;switch(k_(d),d.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return hn(d),null;case 1:return Fn(d.type)&&wv(),hn(d),null;case 3:return E=d.stateNode,Mc(),Jt($n),Jt(fn),W_(),E.pendingContext&&(E.context=E.pendingContext,E.pendingContext=null),(u===null||u.child===null)&&(Ev(d)?d.flags|=4:u===null||u.memoizedState.isDehydrated&&(d.flags&256)===0||(d.flags|=1024,ua!==null&&(_1(ua),ua=null))),u1(u,d),hn(d),null;case 5:z_(d);var R=Ql(uh.current);if(y=d.type,u!==null&&d.stateNode!=null)e3(u,d,y,E,R),u.ref!==d.ref&&(d.flags|=512,d.flags|=2097152);else{if(!E){if(d.stateNode===null)throw Error(r(166));return hn(d),null}if(u=Ql(Va.current),Ev(d)){E=d.stateNode,y=d.type;var D=d.memoizedProps;switch(E[ki]=d,E[Rs]=D,u=(d.mode&1)!==0,y){case"dialog":Ut("cancel",E),Ut("close",E);break;case"iframe":case"object":case"embed":Ut("load",E);break;case"video":case"audio":for(R=0;R<\/script>",u=u.removeChild(u.firstChild)):typeof E.is=="string"?u=ee.createElement(y,{is:E.is}):(u=ee.createElement(y),y==="select"&&(ee=u,E.multiple?ee.multiple=!0:E.size&&(ee.size=E.size))):u=ee.createElementNS(u,y),u[ki]=d,u[Rs]=E,Jk(u,d,!1,!1),d.stateNode=u;e:{switch(ee=Mn(y,E),y){case"dialog":Ut("cancel",u),Ut("close",u),R=E;break;case"iframe":case"object":case"embed":Ut("load",u),R=E;break;case"video":case"audio":for(R=0;R$c&&(d.flags|=128,E=!0,ph(D,!1),d.lanes=4194304)}else{if(!E)if(u=Nv(ee),u!==null){if(d.flags|=128,E=!0,y=u.updateQueue,y!==null&&(d.updateQueue=y,d.flags|=4),ph(D,!0),D.tail===null&&D.tailMode==="hidden"&&!ee.alternate&&!ar)return hn(d),null}else 2*mr()-D.renderingStartTime>$c&&y!==1073741824&&(d.flags|=128,E=!0,ph(D,!1),d.lanes=4194304);D.isBackwards?(ee.sibling=d.child,d.child=ee):(y=D.last,y!==null?y.sibling=ee:d.child=ee,D.last=ee)}return D.tail!==null?(d=D.tail,D.rendering=d,D.tail=d.sibling,D.renderingStartTime=mr(),d.sibling=null,y=gr.current,Gt(gr,E?y&1|2:y&1),d):(hn(d),null);case 22:case 23:return w1(),E=d.memoizedState!==null,u!==null&&u.memoizedState!==null!==E&&(d.flags|=8192),E&&(d.mode&1)!==0?(si&1073741824)!==0&&(hn(d),d.subtreeFlags&6&&(d.flags|=8192)):hn(d),null;case 24:return null;case 25:return null}throw Error(r(156,d.tag))}function jq(u,d){switch(k_(d),d.tag){case 1:return Fn(d.type)&&wv(),u=d.flags,u&65536?(d.flags=u&-65537|128,d):null;case 3:return Mc(),Jt($n),Jt(fn),W_(),u=d.flags,(u&65536)!==0&&(u&128)===0?(d.flags=u&-65537|128,d):null;case 5:return z_(d),null;case 13:if(Jt(gr),u=d.memoizedState,u!==null&&u.dehydrated!==null){if(d.alternate===null)throw Error(r(340));Ac()}return u=d.flags,u&65536?(d.flags=u&-65537|128,d):null;case 19:return Jt(gr),null;case 4:return Mc(),null;case 10:return D_(d.type._context),null;case 22:case 23:return w1(),null;case 24:return null;default:return null}}var zv=!1,pn=!1,Aq=typeof WeakSet=="function"?WeakSet:Set,et=null;function Ic(u,d){var y=u.ref;if(y!==null)if(typeof y=="function")try{y(null)}catch(E){xr(u,d,E)}else y.current=null}function c1(u,d,y){try{y()}catch(E){xr(u,d,E)}}var r3=!1;function kq(u,d){if(Xe=Bl,u=Xd(),Qd(u)){if("selectionStart"in u)var y={start:u.selectionStart,end:u.selectionEnd};else e:{y=(y=u.ownerDocument)&&y.defaultView||window;var E=y.getSelection&&y.getSelection();if(E&&E.rangeCount!==0){y=E.anchorNode;var R=E.anchorOffset,D=E.focusNode;E=E.focusOffset;try{y.nodeType,D.nodeType}catch{y=null;break e}var ee=0,fe=-1,me=-1,Pe=0,De=0,Fe=u,Ie=null;t:for(;;){for(var Je;Fe!==y||R!==0&&Fe.nodeType!==3||(fe=ee+R),Fe!==D||E!==0&&Fe.nodeType!==3||(me=ee+E),Fe.nodeType===3&&(ee+=Fe.nodeValue.length),(Je=Fe.firstChild)!==null;)Ie=Fe,Fe=Je;for(;;){if(Fe===u)break t;if(Ie===y&&++Pe===R&&(fe=ee),Ie===D&&++De===E&&(me=ee),(Je=Fe.nextSibling)!==null)break;Fe=Ie,Ie=Fe.parentNode}Fe=Je}y=fe===-1||me===-1?null:{start:fe,end:me}}else y=null}y=y||{start:0,end:0}}else y=null;for(lt={focusedElem:u,selectionRange:y},Bl=!1,et=d;et!==null;)if(d=et,u=d.child,(d.subtreeFlags&1028)!==0&&u!==null)u.return=d,et=u;else for(;et!==null;){d=et;try{var rt=d.alternate;if((d.flags&1024)!==0)switch(d.tag){case 0:case 11:case 15:break;case 1:if(rt!==null){var nt=rt.memoizedProps,Pr=rt.memoizedState,xe=d.stateNode,ve=xe.getSnapshotBeforeUpdate(d.elementType===d.type?nt:ca(d.type,nt),Pr);xe.__reactInternalSnapshotBeforeUpdate=ve}break;case 3:var Se=d.stateNode.containerInfo;Se.nodeType===1?Se.textContent="":Se.nodeType===9&&Se.documentElement&&Se.removeChild(Se.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(qe){xr(d,d.return,qe)}if(u=d.sibling,u!==null){u.return=d.return,et=u;break}et=d.return}return rt=r3,r3=!1,rt}function mh(u,d,y){var E=d.updateQueue;if(E=E!==null?E.lastEffect:null,E!==null){var R=E=E.next;do{if((R.tag&u)===u){var D=R.destroy;R.destroy=void 0,D!==void 0&&c1(d,y,D)}R=R.next}while(R!==E)}}function Vv(u,d){if(d=d.updateQueue,d=d!==null?d.lastEffect:null,d!==null){var y=d=d.next;do{if((y.tag&u)===u){var E=y.create;y.destroy=E()}y=y.next}while(y!==d)}}function f1(u){var d=u.ref;if(d!==null){var y=u.stateNode;switch(u.tag){case 5:u=y;break;default:u=y}typeof d=="function"?d(u):d.current=u}}function n3(u){var d=u.alternate;d!==null&&(u.alternate=null,n3(d)),u.child=null,u.deletions=null,u.sibling=null,u.tag===5&&(d=u.stateNode,d!==null&&(delete d[ki],delete d[Rs],delete d[Ns],delete d[P_],delete d[E_])),u.stateNode=null,u.return=null,u.dependencies=null,u.memoizedProps=null,u.memoizedState=null,u.pendingProps=null,u.stateNode=null,u.updateQueue=null}function i3(u){return u.tag===5||u.tag===3||u.tag===4}function a3(u){e:for(;;){for(;u.sibling===null;){if(u.return===null||i3(u.return))return null;u=u.return}for(u.sibling.return=u.return,u=u.sibling;u.tag!==5&&u.tag!==6&&u.tag!==18;){if(u.flags&2||u.child===null||u.tag===4)continue e;u.child.return=u,u=u.child}if(!(u.flags&2))return u.stateNode}}function d1(u,d,y){var E=u.tag;if(E===5||E===6)u=u.stateNode,d?y.nodeType===8?y.parentNode.insertBefore(u,d):y.insertBefore(u,d):(y.nodeType===8?(d=y.parentNode,d.insertBefore(u,y)):(d=y,d.appendChild(u)),y=y._reactRootContainer,y!=null||d.onclick!==null||(d.onclick=Ne));else if(E!==4&&(u=u.child,u!==null))for(d1(u,d,y),u=u.sibling;u!==null;)d1(u,d,y),u=u.sibling}function h1(u,d,y){var E=u.tag;if(E===5||E===6)u=u.stateNode,d?y.insertBefore(u,d):y.appendChild(u);else if(E!==4&&(u=u.child,u!==null))for(h1(u,d,y),u=u.sibling;u!==null;)h1(u,d,y),u=u.sibling}var tn=null,fa=!1;function Fs(u,d,y){for(y=y.child;y!==null;)o3(u,d,y),y=y.sibling}function o3(u,d,y){if(Xn&&typeof Xn.onCommitFiberUnmount=="function")try{Xn.onCommitFiberUnmount(Ml,y)}catch{}switch(y.tag){case 5:pn||Ic(y,d);case 6:var E=tn,R=fa;tn=null,Fs(u,d,y),tn=E,fa=R,tn!==null&&(fa?(u=tn,y=y.stateNode,u.nodeType===8?u.parentNode.removeChild(y):u.removeChild(y)):tn.removeChild(y.stateNode));break;case 18:tn!==null&&(fa?(u=tn,y=y.stateNode,u.nodeType===8?ah(u.parentNode,y):u.nodeType===1&&ah(u,y),ei(u)):ah(tn,y.stateNode));break;case 4:E=tn,R=fa,tn=y.stateNode.containerInfo,fa=!0,Fs(u,d,y),tn=E,fa=R;break;case 0:case 11:case 14:case 15:if(!pn&&(E=y.updateQueue,E!==null&&(E=E.lastEffect,E!==null))){R=E=E.next;do{var D=R,ee=D.destroy;D=D.tag,ee!==void 0&&((D&2)!==0||(D&4)!==0)&&c1(y,d,ee),R=R.next}while(R!==E)}Fs(u,d,y);break;case 1:if(!pn&&(Ic(y,d),E=y.stateNode,typeof E.componentWillUnmount=="function"))try{E.props=y.memoizedProps,E.state=y.memoizedState,E.componentWillUnmount()}catch(fe){xr(y,d,fe)}Fs(u,d,y);break;case 21:Fs(u,d,y);break;case 22:y.mode&1?(pn=(E=pn)||y.memoizedState!==null,Fs(u,d,y),pn=E):Fs(u,d,y);break;default:Fs(u,d,y)}}function s3(u){var d=u.updateQueue;if(d!==null){u.updateQueue=null;var y=u.stateNode;y===null&&(y=u.stateNode=new Aq),d.forEach(function(E){var R=Bq.bind(null,u,E);y.has(E)||(y.add(E),E.then(R,R))})}}function da(u,d){var y=d.deletions;if(y!==null)for(var E=0;ER&&(R=ee),E&=~D}if(E=R,E=mr()-E,E=(120>E?120:480>E?480:1080>E?1080:1920>E?1920:3e3>E?3e3:4320>E?4320:1960*Nq(E/1960))-E,10u?16:u,Us===null)var E=!1;else{if(u=Us,Us=null,Kv=0,(Nt&6)!==0)throw Error(r(331));var R=Nt;for(Nt|=4,et=u.current;et!==null;){var D=et,ee=D.child;if((et.flags&16)!==0){var fe=D.deletions;if(fe!==null){for(var me=0;memr()-v1?ru(u,0):m1|=y),zn(u,d)}function _3(u,d){d===0&&((u.mode&1)===0?d=1:(d=ms,ms<<=1,(ms&130023424)===0&&(ms=4194304)));var y=On();u=No(u,d),u!==null&&(Qn(u,d,y),zn(u,y))}function Fq(u){var d=u.memoizedState,y=0;d!==null&&(y=d.retryLane),_3(u,y)}function Bq(u,d){var y=0;switch(u.tag){case 13:var E=u.stateNode,R=u.memoizedState;R!==null&&(y=R.retryLane);break;case 19:E=u.stateNode;break;default:throw Error(r(314))}E!==null&&E.delete(d),_3(u,y)}var x3;x3=function(u,d,y){if(u!==null)if(u.memoizedProps!==d.pendingProps||$n.current)Bn=!0;else{if((u.lanes&y)===0&&(d.flags&128)===0)return Bn=!1,Eq(u,d,y);Bn=(u.flags&131072)!==0}else Bn=!1,ar&&(d.flags&1048576)!==0&&ek(d,Pv,d.index);switch(d.lanes=0,d.tag){case 2:var E=d.type;Uv(u,d),u=d.pendingProps;var R=Ec(d,fn.current);Nc(d,y),R=G_(null,d,E,u,R,y);var D=K_();return d.flags|=1,typeof R=="object"&&R!==null&&typeof R.render=="function"&&R.$$typeof===void 0?(d.tag=1,d.memoizedState=null,d.updateQueue=null,Fn(E)?(D=!0,Sv(d)):D=!1,d.memoizedState=R.state!==null&&R.state!==void 0?R.state:null,B_(d),R.updater=Fv,d.stateNode=R,R._reactInternals=d,e1(d,E,u,y),d=i1(null,d,E,!0,D,y)):(d.tag=0,ar&&D&&A_(d),Sn(null,d,R,y),d=d.child),d;case 16:E=d.elementType;e:{switch(Uv(u,d),u=d.pendingProps,R=E._init,E=R(E._payload),d.type=E,R=d.tag=zq(E),u=ca(E,u),R){case 0:d=n1(null,d,E,u,y);break e;case 1:d=Gk(null,d,E,u,y);break e;case 11:d=zk(null,d,E,u,y);break e;case 14:d=Vk(null,d,E,ca(E.type,u),y);break e}throw Error(r(306,E,""))}return d;case 0:return E=d.type,R=d.pendingProps,R=d.elementType===E?R:ca(E,R),n1(u,d,E,R,y);case 1:return E=d.type,R=d.pendingProps,R=d.elementType===E?R:ca(E,R),Gk(u,d,E,R,y);case 3:e:{if(Kk(d),u===null)throw Error(r(387));E=d.pendingProps,D=d.memoizedState,R=D.element,uk(u,d),Rv(d,E,null,y);var ee=d.memoizedState;if(E=ee.element,D.isDehydrated)if(D={element:E,isDehydrated:!1,cache:ee.cache,pendingSuspenseBoundaries:ee.pendingSuspenseBoundaries,transitions:ee.transitions},d.updateQueue.baseState=D,d.memoizedState=D,d.flags&256){R=Lc(Error(r(423)),d),d=Yk(u,d,E,y,R);break e}else if(E!==R){R=Lc(Error(r(424)),d),d=Yk(u,d,E,y,R);break e}else for(oi=za(d.stateNode.containerInfo.firstChild),ai=d,ar=!0,ua=null,y=sk(d,null,E,y),d.child=y;y;)y.flags=y.flags&-3|4096,y=y.sibling;else{if(Ac(),E===R){d=Lo(u,d,y);break e}Sn(u,d,E,y)}d=d.child}return d;case 5:return dk(d),u===null&&N_(d),E=d.type,R=d.pendingProps,D=u!==null?u.memoizedProps:null,ee=R.children,St(E,R)?ee=null:D!==null&&St(E,D)&&(d.flags|=32),Hk(u,d),Sn(u,d,ee,y),d.child;case 6:return u===null&&N_(d),null;case 13:return Zk(u,d,y);case 4:return U_(d,d.stateNode.containerInfo),E=d.pendingProps,u===null?d.child=kc(d,null,E,y):Sn(u,d,E,y),d.child;case 11:return E=d.type,R=d.pendingProps,R=d.elementType===E?R:ca(E,R),zk(u,d,E,R,y);case 7:return Sn(u,d,d.pendingProps,y),d.child;case 8:return Sn(u,d,d.pendingProps.children,y),d.child;case 12:return Sn(u,d,d.pendingProps.children,y),d.child;case 10:e:{if(E=d.type._context,R=d.pendingProps,D=d.memoizedProps,ee=R.value,Gt(jv,E._currentValue),E._currentValue=ee,D!==null)if(ni(D.value,ee)){if(D.children===R.children&&!$n.current){d=Lo(u,d,y);break e}}else for(D=d.child,D!==null&&(D.return=d);D!==null;){var fe=D.dependencies;if(fe!==null){ee=D.child;for(var me=fe.firstContext;me!==null;){if(me.context===E){if(D.tag===1){me=Mo(-1,y&-y),me.tag=2;var Pe=D.updateQueue;if(Pe!==null){Pe=Pe.shared;var De=Pe.pending;De===null?me.next=me:(me.next=De.next,De.next=me),Pe.pending=me}}D.lanes|=y,me=D.alternate,me!==null&&(me.lanes|=y),$_(D.return,y,d),fe.lanes|=y;break}me=me.next}}else if(D.tag===10)ee=D.type===d.type?null:D.child;else if(D.tag===18){if(ee=D.return,ee===null)throw Error(r(341));ee.lanes|=y,fe=ee.alternate,fe!==null&&(fe.lanes|=y),$_(ee,y,d),ee=D.sibling}else ee=D.child;if(ee!==null)ee.return=D;else for(ee=D;ee!==null;){if(ee===d){ee=null;break}if(D=ee.sibling,D!==null){D.return=ee.return,ee=D;break}ee=ee.return}D=ee}Sn(u,d,R.children,y),d=d.child}return d;case 9:return R=d.type,E=d.pendingProps.children,Nc(d,y),R=Mi(R),E=E(R),d.flags|=1,Sn(u,d,E,y),d.child;case 14:return E=d.type,R=ca(E,d.pendingProps),R=ca(E.type,R),Vk(u,d,E,R,y);case 15:return Wk(u,d,d.type,d.pendingProps,y);case 17:return E=d.type,R=d.pendingProps,R=d.elementType===E?R:ca(E,R),Uv(u,d),d.tag=1,Fn(E)?(u=!0,Sv(d)):u=!1,Nc(d,y),Lk(d,E,R),e1(d,E,R,y),i1(null,d,E,!0,u,y);case 19:return Qk(u,d,y);case 22:return qk(u,d,y)}throw Error(r(156,d.tag))};function w3(u,d){return Xm(u,d)}function Uq(u,d,y,E){this.tag=u,this.key=y,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=d,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=E,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Di(u,d,y,E){return new Uq(u,d,y,E)}function O1(u){return u=u.prototype,!(!u||!u.isReactComponent)}function zq(u){if(typeof u=="function")return O1(u)?1:0;if(u!=null){if(u=u.$$typeof,u===q)return 11;if(u===re)return 14}return 2}function Ws(u,d){var y=u.alternate;return y===null?(y=Di(u.tag,d,u.key,u.mode),y.elementType=u.elementType,y.type=u.type,y.stateNode=u.stateNode,y.alternate=u,u.alternate=y):(y.pendingProps=d,y.type=u.type,y.flags=0,y.subtreeFlags=0,y.deletions=null),y.flags=u.flags&14680064,y.childLanes=u.childLanes,y.lanes=u.lanes,y.child=u.child,y.memoizedProps=u.memoizedProps,y.memoizedState=u.memoizedState,y.updateQueue=u.updateQueue,d=u.dependencies,y.dependencies=d===null?null:{lanes:d.lanes,firstContext:d.firstContext},y.sibling=u.sibling,y.index=u.index,y.ref=u.ref,y}function Qv(u,d,y,E,R,D){var ee=2;if(E=u,typeof u=="function")O1(u)&&(ee=1);else if(typeof u=="string")ee=5;else e:switch(u){case N:return iu(y.children,R,D,d);case $:ee=8,R|=8;break;case U:return u=Di(12,y,d,R|2),u.elementType=U,u.lanes=D,u;case J:return u=Di(13,y,d,R),u.elementType=J,u.lanes=D,u;case Q:return u=Di(19,y,d,R),u.elementType=Q,u.lanes=D,u;case ue:return Jv(y,R,D,d);default:if(typeof u=="object"&&u!==null)switch(u.$$typeof){case B:ee=10;break e;case W:ee=9;break e;case q:ee=11;break e;case re:ee=14;break e;case oe:ee=16,E=null;break e}throw Error(r(130,u==null?u:typeof u,""))}return d=Di(ee,y,d,R),d.elementType=u,d.type=E,d.lanes=D,d}function iu(u,d,y,E){return u=Di(7,u,E,d),u.lanes=y,u}function Jv(u,d,y,E){return u=Di(22,u,E,d),u.elementType=ue,u.lanes=y,u.stateNode={isHidden:!1},u}function C1(u,d,y){return u=Di(6,u,null,d),u.lanes=y,u}function P1(u,d,y){return d=Di(4,u.children!==null?u.children:[],u.key,d),d.lanes=y,d.stateNode={containerInfo:u.containerInfo,pendingChildren:null,implementation:u.implementation},d}function Vq(u,d,y,E,R){this.tag=d,this.containerInfo=u,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vs(0),this.expirationTimes=vs(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vs(0),this.identifierPrefix=E,this.onRecoverableError=R,this.mutableSourceEagerHydrationData=null}function E1(u,d,y,E,R,D,ee,fe,me){return u=new Vq(u,d,y,fe,me),d===1?(d=1,D===!0&&(d|=8)):d=0,D=Di(3,null,null,d),u.current=D,D.stateNode=u,D.memoizedState={element:E,isDehydrated:y,cache:null,transitions:null,pendingSuspenseBoundaries:null},B_(D),u}function Wq(u,d,y){var E=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),N1.exports=nH(),N1.exports}var I3;function iH(){if(I3)return sg;I3=1;var e=J8();return sg.createRoot=e.createRoot,sg.hydrateRoot=e.hydrateRoot,sg}var aH=iH(),M=q0();const Z=kt(M);var I1={exports:{}},D1={};/**
* @license React
* use-sync-external-store-with-selector.production.js
*
@@ -45,11 +45,11 @@ Error generating stack: `+D.message+`
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
- */var D3;function oH(){if(D3)return D1;D3=1;var e=q0();function t(c,l){return c===l&&(c!==0||1/c===1/l)||c!==c&&l!==l}var r=typeof Object.is=="function"?Object.is:t,n=e.useSyncExternalStore,i=e.useRef,a=e.useEffect,o=e.useMemo,s=e.useDebugValue;return D1.useSyncExternalStoreWithSelector=function(c,l,h,p,g){var x=i(null);if(x.current===null){var b={hasValue:!1,value:null};x.current=b}else b=x.current;x=o(function(){function w(A){if(!S){if(S=!0,C=A,A=p(A),g!==void 0&&b.hasValue){var j=b.value;if(g(j,A))return E=j}return E=A}if(j=E,r(C,A))return j;var N=p(A);return g!==void 0&&g(j,N)?(C=A,j):(C=A,E=N)}var S=!1,C,E,T=h===void 0?null:h;return[function(){return w(l())},T===null?void 0:function(){return w(T())}]},[l,h,p,g]);var _=n(c,x[0],x[1]);return a(function(){b.hasValue=!0,b.value=_},[_]),s(_),_},D1}var $3;function sH(){return $3||($3=1,I1.exports=oH()),I1.exports}sH();var lH=M.version.startsWith("19"),uH=Symbol.for(lH?"react.transitional.element":"react.element"),cH=Symbol.for("react.portal"),fH=Symbol.for("react.fragment"),dH=Symbol.for("react.strict_mode"),hH=Symbol.for("react.profiler"),pH=Symbol.for("react.consumer"),mH=Symbol.for("react.context"),e$=Symbol.for("react.forward_ref"),vH=Symbol.for("react.suspense"),gH=Symbol.for("react.suspense_list"),nT=Symbol.for("react.memo"),yH=Symbol.for("react.lazy"),bH=e$,_H=nT;function xH(e){if(typeof e=="object"&&e!==null){const{$$typeof:t}=e;switch(t){case uH:switch(e=e.type,e){case fH:case hH:case dH:case vH:case gH:return e;default:switch(e=e&&e.$$typeof,e){case mH:case e$:case yH:case nT:return e;case pH:return e;default:return t}}case cH:return t}}}function wH(e){return xH(e)===nT}function SH(e,t,r,n,{areStatesEqual:i,areOwnPropsEqual:a,areStatePropsEqual:o}){let s=!1,c,l,h,p,g;function x(C,E){return c=C,l=E,h=e(c,l),p=t(n,l),g=r(h,p,l),s=!0,g}function b(){return h=e(c,l),t.dependsOnOwnProps&&(p=t(n,l)),g=r(h,p,l),g}function _(){return e.dependsOnOwnProps&&(h=e(c,l)),t.dependsOnOwnProps&&(p=t(n,l)),g=r(h,p,l),g}function w(){const C=e(c,l),E=!o(C,h);return h=C,E&&(g=r(h,p,l)),g}function S(C,E){const T=!a(E,l),A=!i(C,c,E,l);return c=C,l=E,T&&A?b():T?_():A?w():g}return function(E,T){return s?S(E,T):x(E,T)}}function OH(e,{initMapStateToProps:t,initMapDispatchToProps:r,initMergeProps:n,...i}){const a=t(e,i),o=r(e,i),s=n(e,i);return SH(a,o,s,e,i)}function CH(e,t){const r={};for(const n in e){const i=e[n];typeof i=="function"&&(r[n]=(...a)=>t(i(...a)))}return r}function EO(e){return function(r){const n=e(r);function i(){return n}return i.dependsOnOwnProps=!1,i}}function F3(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function t$(e,t){return function(n,{displayName:i}){const a=function(s,c){return a.dependsOnOwnProps?a.mapToProps(s,c):a.mapToProps(s,void 0)};return a.dependsOnOwnProps=!0,a.mapToProps=function(s,c){a.mapToProps=e,a.dependsOnOwnProps=F3(e);let l=a(s,c);return typeof l=="function"&&(a.mapToProps=l,a.dependsOnOwnProps=F3(l),l=a(s,c)),l},a}}function iT(e,t){return(r,n)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${n.wrappedComponentName}.`)}}function PH(e){return e&&typeof e=="object"?EO(t=>CH(e,t)):e?typeof e=="function"?t$(e):iT(e,"mapDispatchToProps"):EO(t=>({dispatch:t}))}function EH(e){return e?typeof e=="function"?t$(e):iT(e,"mapStateToProps"):EO(()=>({}))}function TH(e,t,r){return{...r,...e,...t}}function jH(e){return function(r,{displayName:n,areMergedPropsEqual:i}){let a=!1,o;return function(c,l,h){const p=e(c,l,h);return a?i(p,o)||(o=p):(a=!0,o=p),o}}}function AH(e){return e?typeof e=="function"?jH(e):iT(e,"mergeProps"):()=>TH}function kH(e){e()}function RH(){let e=null,t=null;return{clear(){e=null,t=null},notify(){kH(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){const r=[];let n=e;for(;n;)r.push(n),n=n.next;return r},subscribe(r){let n=!0;const i=t={callback:r,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!n||e===null||(n=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var B3={notify(){},get:()=>[]};function r$(e,t){let r,n=B3,i=0,a=!1;function o(_){h();const w=n.subscribe(_);let S=!1;return()=>{S||(S=!0,w(),p())}}function s(){n.notify()}function c(){b.onStateChange&&b.onStateChange()}function l(){return a}function h(){i++,r||(r=t?t.addNestedSub(c):e.subscribe(c),n=RH())}function p(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=B3)}function g(){a||(a=!0,h())}function x(){a&&(a=!1,p())}const b={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:l,trySubscribe:g,tryUnsubscribe:x,getListeners:()=>n};return b}var NH=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",MH=NH(),LH=()=>typeof navigator<"u"&&navigator.product==="ReactNative",IH=LH(),DH=()=>MH||IH?M.useLayoutEffect:M.useEffect,Zg=DH();function U3(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function $1(e,t){if(U3(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let i=0;ie(...t),r)}function YH(e,t,r,n,i,a){e.current=n,r.current=!1,i.current&&(i.current=null,a())}function ZH(e,t,r,n,i,a,o,s,c,l,h){if(!e)return()=>{};let p=!1,g=null;const x=()=>{if(p||!s.current)return;const _=t.getState();let w,S;try{w=n(_,i.current)}catch(C){S=C,g=C}S||(g=null),w===a.current?o.current||l():(a.current=w,c.current=w,o.current=!0,h())};return r.onStateChange=x,r.trySubscribe(),x(),()=>{if(p=!0,r.tryUnsubscribe(),r.onStateChange=null,g)throw g}}function XH(e,t){return e===t}function QH(e,t,r,{pure:n,areStatesEqual:i=XH,areOwnPropsEqual:a=$1,areStatePropsEqual:o=$1,areMergedPropsEqual:s=$1,forwardRef:c=!1,context:l=i$}={}){const h=l,p=EH(e),g=PH(t),x=AH(r),b=!!e;return w=>{const S=w.displayName||w.name||"Component",C=`Connect(${S})`,E={shouldHandleStateChanges:b,displayName:C,wrappedComponentName:S,WrappedComponent:w,initMapStateToProps:p,initMapDispatchToProps:g,initMergeProps:x,areStatesEqual:i,areStatePropsEqual:o,areOwnPropsEqual:a,areMergedPropsEqual:s};function T(N){const[$,U,B]=M.useMemo(()=>{const{reactReduxForwardedRef:ie,...he}=N;return[N.context,ie,he]},[N]),W=M.useMemo(()=>{let ie=h;return $!=null&&$.Consumer,ie},[$,h]),q=M.useContext(W),J=!!N.store&&!!N.store.getState&&!!N.store.dispatch,Q=!!q&&!!q.store,re=J?N.store:q.store,oe=Q?q.getServerState:re.getState,ue=M.useMemo(()=>OH(re.dispatch,E),[re]),[ae,K]=M.useMemo(()=>{if(!b)return GH;const ie=r$(re,J?void 0:q.subscription),he=ie.notifyNestedSubs.bind(ie);return[ie,he]},[re,J,q]),H=M.useMemo(()=>J?q:{...q,subscription:ae},[J,q,ae]),V=M.useRef(void 0),ne=M.useRef(B),X=M.useRef(void 0),se=M.useRef(!1),ce=M.useRef(!1),de=M.useRef(void 0);Zg(()=>(ce.current=!0,()=>{ce.current=!1}),[]);const be=M.useMemo(()=>()=>X.current&&B===ne.current?X.current:ue(re.getState(),B),[re,B]),I=M.useMemo(()=>he=>ae?ZH(b,re,ae,ue,ne,V,se,ce,X,K,he):()=>{},[ae]);KH(YH,[ne,V,se,B,X,K]);let F;try{F=M.useSyncExternalStore(I,be,oe?()=>ue(oe(),B):be)}catch(ie){throw de.current&&(ie.message+=`
+ */var D3;function oH(){if(D3)return D1;D3=1;var e=q0();function t(c,l){return c===l&&(c!==0||1/c===1/l)||c!==c&&l!==l}var r=typeof Object.is=="function"?Object.is:t,n=e.useSyncExternalStore,i=e.useRef,a=e.useEffect,o=e.useMemo,s=e.useDebugValue;return D1.useSyncExternalStoreWithSelector=function(c,l,h,p,g){var x=i(null);if(x.current===null){var b={hasValue:!1,value:null};x.current=b}else b=x.current;x=o(function(){function w(A){if(!S){if(S=!0,C=A,A=p(A),g!==void 0&&b.hasValue){var j=b.value;if(g(j,A))return P=j}return P=A}if(j=P,r(C,A))return j;var N=p(A);return g!==void 0&&g(j,N)?(C=A,j):(C=A,P=N)}var S=!1,C,P,T=h===void 0?null:h;return[function(){return w(l())},T===null?void 0:function(){return w(T())}]},[l,h,p,g]);var _=n(c,x[0],x[1]);return a(function(){b.hasValue=!0,b.value=_},[_]),s(_),_},D1}var $3;function sH(){return $3||($3=1,I1.exports=oH()),I1.exports}sH();var lH=M.version.startsWith("19"),uH=Symbol.for(lH?"react.transitional.element":"react.element"),cH=Symbol.for("react.portal"),fH=Symbol.for("react.fragment"),dH=Symbol.for("react.strict_mode"),hH=Symbol.for("react.profiler"),pH=Symbol.for("react.consumer"),mH=Symbol.for("react.context"),e$=Symbol.for("react.forward_ref"),vH=Symbol.for("react.suspense"),gH=Symbol.for("react.suspense_list"),nT=Symbol.for("react.memo"),yH=Symbol.for("react.lazy"),bH=e$,_H=nT;function xH(e){if(typeof e=="object"&&e!==null){const{$$typeof:t}=e;switch(t){case uH:switch(e=e.type,e){case fH:case hH:case dH:case vH:case gH:return e;default:switch(e=e&&e.$$typeof,e){case mH:case e$:case yH:case nT:return e;case pH:return e;default:return t}}case cH:return t}}}function wH(e){return xH(e)===nT}function SH(e,t,r,n,{areStatesEqual:i,areOwnPropsEqual:a,areStatePropsEqual:o}){let s=!1,c,l,h,p,g;function x(C,P){return c=C,l=P,h=e(c,l),p=t(n,l),g=r(h,p,l),s=!0,g}function b(){return h=e(c,l),t.dependsOnOwnProps&&(p=t(n,l)),g=r(h,p,l),g}function _(){return e.dependsOnOwnProps&&(h=e(c,l)),t.dependsOnOwnProps&&(p=t(n,l)),g=r(h,p,l),g}function w(){const C=e(c,l),P=!o(C,h);return h=C,P&&(g=r(h,p,l)),g}function S(C,P){const T=!a(P,l),A=!i(C,c,P,l);return c=C,l=P,T&&A?b():T?_():A?w():g}return function(P,T){return s?S(P,T):x(P,T)}}function OH(e,{initMapStateToProps:t,initMapDispatchToProps:r,initMergeProps:n,...i}){const a=t(e,i),o=r(e,i),s=n(e,i);return SH(a,o,s,e,i)}function CH(e,t){const r={};for(const n in e){const i=e[n];typeof i=="function"&&(r[n]=(...a)=>t(i(...a)))}return r}function EO(e){return function(r){const n=e(r);function i(){return n}return i.dependsOnOwnProps=!1,i}}function F3(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function t$(e,t){return function(n,{displayName:i}){const a=function(s,c){return a.dependsOnOwnProps?a.mapToProps(s,c):a.mapToProps(s,void 0)};return a.dependsOnOwnProps=!0,a.mapToProps=function(s,c){a.mapToProps=e,a.dependsOnOwnProps=F3(e);let l=a(s,c);return typeof l=="function"&&(a.mapToProps=l,a.dependsOnOwnProps=F3(l),l=a(s,c)),l},a}}function iT(e,t){return(r,n)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${n.wrappedComponentName}.`)}}function PH(e){return e&&typeof e=="object"?EO(t=>CH(e,t)):e?typeof e=="function"?t$(e):iT(e,"mapDispatchToProps"):EO(t=>({dispatch:t}))}function EH(e){return e?typeof e=="function"?t$(e):iT(e,"mapStateToProps"):EO(()=>({}))}function TH(e,t,r){return{...r,...e,...t}}function jH(e){return function(r,{displayName:n,areMergedPropsEqual:i}){let a=!1,o;return function(c,l,h){const p=e(c,l,h);return a?i(p,o)||(o=p):(a=!0,o=p),o}}}function AH(e){return e?typeof e=="function"?jH(e):iT(e,"mergeProps"):()=>TH}function kH(e){e()}function RH(){let e=null,t=null;return{clear(){e=null,t=null},notify(){kH(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){const r=[];let n=e;for(;n;)r.push(n),n=n.next;return r},subscribe(r){let n=!0;const i=t={callback:r,next:null,prev:t};return i.prev?i.prev.next=i:e=i,function(){!n||e===null||(n=!1,i.next?i.next.prev=i.prev:t=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}}var B3={notify(){},get:()=>[]};function r$(e,t){let r,n=B3,i=0,a=!1;function o(_){h();const w=n.subscribe(_);let S=!1;return()=>{S||(S=!0,w(),p())}}function s(){n.notify()}function c(){b.onStateChange&&b.onStateChange()}function l(){return a}function h(){i++,r||(r=t?t.addNestedSub(c):e.subscribe(c),n=RH())}function p(){i--,r&&i===0&&(r(),r=void 0,n.clear(),n=B3)}function g(){a||(a=!0,h())}function x(){a&&(a=!1,p())}const b={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:c,isSubscribed:l,trySubscribe:g,tryUnsubscribe:x,getListeners:()=>n};return b}var NH=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",MH=NH(),LH=()=>typeof navigator<"u"&&navigator.product==="ReactNative",IH=LH(),DH=()=>MH||IH?M.useLayoutEffect:M.useEffect,Zg=DH();function U3(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function $1(e,t){if(U3(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let i=0;ie(...t),r)}function YH(e,t,r,n,i,a){e.current=n,r.current=!1,i.current&&(i.current=null,a())}function ZH(e,t,r,n,i,a,o,s,c,l,h){if(!e)return()=>{};let p=!1,g=null;const x=()=>{if(p||!s.current)return;const _=t.getState();let w,S;try{w=n(_,i.current)}catch(C){S=C,g=C}S||(g=null),w===a.current?o.current||l():(a.current=w,c.current=w,o.current=!0,h())};return r.onStateChange=x,r.trySubscribe(),x(),()=>{if(p=!0,r.tryUnsubscribe(),r.onStateChange=null,g)throw g}}function XH(e,t){return e===t}function QH(e,t,r,{pure:n,areStatesEqual:i=XH,areOwnPropsEqual:a=$1,areStatePropsEqual:o=$1,areMergedPropsEqual:s=$1,forwardRef:c=!1,context:l=i$}={}){const h=l,p=EH(e),g=PH(t),x=AH(r),b=!!e;return w=>{const S=w.displayName||w.name||"Component",C=`Connect(${S})`,P={shouldHandleStateChanges:b,displayName:C,wrappedComponentName:S,WrappedComponent:w,initMapStateToProps:p,initMapDispatchToProps:g,initMergeProps:x,areStatesEqual:i,areStatePropsEqual:o,areOwnPropsEqual:a,areMergedPropsEqual:s};function T(N){const[$,U,B]=M.useMemo(()=>{const{reactReduxForwardedRef:ie,...he}=N;return[N.context,ie,he]},[N]),W=M.useMemo(()=>{let ie=h;return $!=null&&$.Consumer,ie},[$,h]),q=M.useContext(W),J=!!N.store&&!!N.store.getState&&!!N.store.dispatch,Q=!!q&&!!q.store,re=J?N.store:q.store,oe=Q?q.getServerState:re.getState,ue=M.useMemo(()=>OH(re.dispatch,P),[re]),[ae,K]=M.useMemo(()=>{if(!b)return GH;const ie=r$(re,J?void 0:q.subscription),he=ie.notifyNestedSubs.bind(ie);return[ie,he]},[re,J,q]),H=M.useMemo(()=>J?q:{...q,subscription:ae},[J,q,ae]),V=M.useRef(void 0),ne=M.useRef(B),X=M.useRef(void 0),se=M.useRef(!1),ce=M.useRef(!1),de=M.useRef(void 0);Zg(()=>(ce.current=!0,()=>{ce.current=!1}),[]);const be=M.useMemo(()=>()=>X.current&&B===ne.current?X.current:ue(re.getState(),B),[re,B]),I=M.useMemo(()=>he=>ae?ZH(b,re,ae,ue,ne,V,se,ce,X,K,he):()=>{},[ae]);KH(YH,[ne,V,se,B,X,K]);let F;try{F=M.useSyncExternalStore(I,be,oe?()=>ue(oe(),B):be)}catch(ie){throw de.current&&(ie.message+=`
The error may be correlated with this previous error:
${de.current.stack}
-`),ie}Zg(()=>{de.current=void 0,X.current=void 0,V.current=F});const G=M.useMemo(()=>M.createElement(w,{...F,ref:U}),[U,w,F]);return M.useMemo(()=>b?M.createElement(W.Provider,{value:H},G):G,[W,G,H])}const j=M.memo(T);if(j.WrappedComponent=w,j.displayName=T.displayName=C,c){const $=M.forwardRef(function(B,W){return M.createElement(j,{...B,reactReduxForwardedRef:W})});return $.displayName=C,$.WrappedComponent=w,TO($,w)}return TO(j,w)}}var a$=QH;function JH(e){const{children:t,context:r,serverState:n,store:i}=e,a=M.useMemo(()=>{const c=r$(i);return{store:i,subscription:c,getServerState:n?()=>n:void 0}},[i,n]),o=M.useMemo(()=>i.getState(),[i]);Zg(()=>{const{subscription:c}=a;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),o!==i.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[a,o]);const s=r||i$;return M.createElement(s.Provider,{value:a},t)}var o$=JH,xh={},q3;function eG(){if(q3)return xh;q3=1,Object.defineProperty(xh,"__esModule",{value:!0}),xh.parse=o,xh.serialize=l;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,n=/^[\u0020-\u003A\u003D-\u007E]*$/,i=Object.prototype.toString,a=(()=>{const g=function(){};return g.prototype=Object.create(null),g})();function o(g,x){const b=new a,_=g.length;if(_<2)return b;const w=(x==null?void 0:x.decode)||h;let S=0;do{const C=g.indexOf("=",S);if(C===-1)break;const E=g.indexOf(";",S),T=E===-1?_:E;if(C>T){S=g.lastIndexOf(";",C-1)+1;continue}const A=s(g,S,C),j=c(g,C,A),N=g.slice(A,j);if(b[N]===void 0){let $=s(g,C+1,T),U=c(g,T,$);const B=w(g.slice($,U));b[N]=B}S=T+1}while(S<_);return b}function s(g,x,b){do{const _=g.charCodeAt(x);if(_!==32&&_!==9)return x}while(++xb;){const _=g.charCodeAt(--x);if(_!==32&&_!==9)return x+1}return b}function l(g,x,b){const _=(b==null?void 0:b.encode)||encodeURIComponent;if(!e.test(g))throw new TypeError(`argument name is invalid: ${g}`);const w=_(x);if(!t.test(w))throw new TypeError(`argument val is invalid: ${x}`);let S=g+"="+w;if(!b)return S;if(b.maxAge!==void 0){if(!Number.isInteger(b.maxAge))throw new TypeError(`option maxAge is invalid: ${b.maxAge}`);S+="; Max-Age="+b.maxAge}if(b.domain){if(!r.test(b.domain))throw new TypeError(`option domain is invalid: ${b.domain}`);S+="; Domain="+b.domain}if(b.path){if(!n.test(b.path))throw new TypeError(`option path is invalid: ${b.path}`);S+="; Path="+b.path}if(b.expires){if(!p(b.expires)||!Number.isFinite(b.expires.valueOf()))throw new TypeError(`option expires is invalid: ${b.expires}`);S+="; Expires="+b.expires.toUTCString()}if(b.httpOnly&&(S+="; HttpOnly"),b.secure&&(S+="; Secure"),b.partitioned&&(S+="; Partitioned"),b.priority)switch(typeof b.priority=="string"?b.priority.toLowerCase():void 0){case"low":S+="; Priority=Low";break;case"medium":S+="; Priority=Medium";break;case"high":S+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${b.priority}`)}if(b.sameSite)switch(typeof b.sameSite=="string"?b.sameSite.toLowerCase():b.sameSite){case!0:case"strict":S+="; SameSite=Strict";break;case"lax":S+="; SameSite=Lax";break;case"none":S+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${b.sameSite}`)}return S}function h(g){if(g.indexOf("%")===-1)return g;try{return decodeURIComponent(g)}catch{return g}}function p(g){return i.call(g)==="[object Date]"}return xh}eG();/**
+`),ie}Zg(()=>{de.current=void 0,X.current=void 0,V.current=F});const G=M.useMemo(()=>M.createElement(w,{...F,ref:U}),[U,w,F]);return M.useMemo(()=>b?M.createElement(W.Provider,{value:H},G):G,[W,G,H])}const j=M.memo(T);if(j.WrappedComponent=w,j.displayName=T.displayName=C,c){const $=M.forwardRef(function(B,W){return M.createElement(j,{...B,reactReduxForwardedRef:W})});return $.displayName=C,$.WrappedComponent=w,TO($,w)}return TO(j,w)}}var a$=QH;function JH(e){const{children:t,context:r,serverState:n,store:i}=e,a=M.useMemo(()=>{const c=r$(i);return{store:i,subscription:c,getServerState:n?()=>n:void 0}},[i,n]),o=M.useMemo(()=>i.getState(),[i]);Zg(()=>{const{subscription:c}=a;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),o!==i.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[a,o]);const s=r||i$;return M.createElement(s.Provider,{value:a},t)}var o$=JH,xh={},q3;function eG(){if(q3)return xh;q3=1,Object.defineProperty(xh,"__esModule",{value:!0}),xh.parse=o,xh.serialize=l;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,n=/^[\u0020-\u003A\u003D-\u007E]*$/,i=Object.prototype.toString,a=(()=>{const g=function(){};return g.prototype=Object.create(null),g})();function o(g,x){const b=new a,_=g.length;if(_<2)return b;const w=(x==null?void 0:x.decode)||h;let S=0;do{const C=g.indexOf("=",S);if(C===-1)break;const P=g.indexOf(";",S),T=P===-1?_:P;if(C>T){S=g.lastIndexOf(";",C-1)+1;continue}const A=s(g,S,C),j=c(g,C,A),N=g.slice(A,j);if(b[N]===void 0){let $=s(g,C+1,T),U=c(g,T,$);const B=w(g.slice($,U));b[N]=B}S=T+1}while(S<_);return b}function s(g,x,b){do{const _=g.charCodeAt(x);if(_!==32&&_!==9)return x}while(++xb;){const _=g.charCodeAt(--x);if(_!==32&&_!==9)return x+1}return b}function l(g,x,b){const _=(b==null?void 0:b.encode)||encodeURIComponent;if(!e.test(g))throw new TypeError(`argument name is invalid: ${g}`);const w=_(x);if(!t.test(w))throw new TypeError(`argument val is invalid: ${x}`);let S=g+"="+w;if(!b)return S;if(b.maxAge!==void 0){if(!Number.isInteger(b.maxAge))throw new TypeError(`option maxAge is invalid: ${b.maxAge}`);S+="; Max-Age="+b.maxAge}if(b.domain){if(!r.test(b.domain))throw new TypeError(`option domain is invalid: ${b.domain}`);S+="; Domain="+b.domain}if(b.path){if(!n.test(b.path))throw new TypeError(`option path is invalid: ${b.path}`);S+="; Path="+b.path}if(b.expires){if(!p(b.expires)||!Number.isFinite(b.expires.valueOf()))throw new TypeError(`option expires is invalid: ${b.expires}`);S+="; Expires="+b.expires.toUTCString()}if(b.httpOnly&&(S+="; HttpOnly"),b.secure&&(S+="; Secure"),b.partitioned&&(S+="; Partitioned"),b.priority)switch(typeof b.priority=="string"?b.priority.toLowerCase():void 0){case"low":S+="; Priority=Low";break;case"medium":S+="; Priority=Medium";break;case"high":S+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${b.priority}`)}if(b.sameSite)switch(typeof b.sameSite=="string"?b.sameSite.toLowerCase():b.sameSite){case!0:case"strict":S+="; SameSite=Strict";break;case"lax":S+="; SameSite=Lax";break;case"none":S+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${b.sameSite}`)}return S}function h(g){if(g.indexOf("%")===-1)return g;try{return decodeURIComponent(g)}catch{return g}}function p(g){return i.call(g)==="[object Date]"}return xh}eG();/**
* react-router v7.4.1
*
* Copyright (c) Remix Software Inc.
@@ -58,9 +58,9 @@ ${de.current.stack}
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
- */var H3="popstate";function tG(e={}){function t(n,i){let{pathname:a,search:o,hash:s}=n.location;return jO("",{pathname:a,search:o,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function r(n,i){return typeof i=="string"?i:mp(i)}return nG(t,r,null,e)}function sr(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Sa(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function rG(){return Math.random().toString(36).substring(2,10)}function G3(e,t){return{usr:e.state,key:e.key,idx:t}}function jO(e,t,r=null,n){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?ld(t):t,state:r,key:t&&t.key||n||rG()}}function mp({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function ld(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function nG(e,t,r,n={}){let{window:i=document.defaultView,v5Compat:a=!1}=n,o=i.history,s="POP",c=null,l=h();l==null&&(l=0,o.replaceState({...o.state,idx:l},""));function h(){return(o.state||{idx:null}).idx}function p(){s="POP";let w=h(),S=w==null?null:w-l;l=w,c&&c({action:s,location:_.location,delta:S})}function g(w,S){s="PUSH";let C=jO(_.location,w,S);l=h()+1;let E=G3(C,l),T=_.createHref(C);try{o.pushState(E,"",T)}catch(A){if(A instanceof DOMException&&A.name==="DataCloneError")throw A;i.location.assign(T)}a&&c&&c({action:s,location:_.location,delta:1})}function x(w,S){s="REPLACE";let C=jO(_.location,w,S);l=h();let E=G3(C,l),T=_.createHref(C);o.replaceState(E,"",T),a&&c&&c({action:s,location:_.location,delta:0})}function b(w){let S=i.location.origin!=="null"?i.location.origin:i.location.href,C=typeof w=="string"?w:mp(w);return C=C.replace(/ $/,"%20"),sr(S,`No window.location.(origin|href) available to create URL for href: ${C}`),new URL(C,S)}let _={get action(){return s},get location(){return e(i,o)},listen(w){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(H3,p),c=w,()=>{i.removeEventListener(H3,p),c=null}},createHref(w){return t(i,w)},createURL:b,encodeLocation(w){let S=b(w);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:g,replace:x,go(w){return o.go(w)}};return _}function s$(e,t,r="/"){return iG(e,t,r,!1)}function iG(e,t,r,n){let i=typeof t=="string"?ld(t):t,a=Ko(i.pathname||"/",r);if(a==null)return null;let o=l$(e);aG(o);let s=null;for(let c=0;s==null&&c{let c={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};c.relativePath.startsWith("/")&&(sr(c.relativePath.startsWith(n),`Absolute route path "${c.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(n.length));let l=Vo([n,c.relativePath]),h=r.concat(c);a.children&&a.children.length>0&&(sr(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),l$(a.children,t,h,l)),!(a.path==null&&!a.index)&&t.push({path:l,score:dG(l,a.index),routesMeta:h})};return e.forEach((a,o)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,o);else for(let c of u$(a.path))i(a,o,c)}),t}function u$(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return i?[a,""]:[a];let o=u$(n.join("/")),s=[];return s.push(...o.map(c=>c===""?a:[a,c].join("/"))),i&&s.push(...o),s.map(c=>e.startsWith("/")&&c===""?"/":c)}function aG(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:hG(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}var oG=/^:[\w-]+$/,sG=3,lG=2,uG=1,cG=10,fG=-2,K3=e=>e==="*";function dG(e,t){let r=e.split("/"),n=r.length;return r.some(K3)&&(n+=fG),t&&(n+=lG),r.filter(i=>!K3(i)).reduce((i,a)=>i+(oG.test(a)?sG:a===""?uG:cG),n)}function hG(e,t){return e.length===t.length&&e.slice(0,-1).every((n,i)=>n===t[i])?e[e.length-1]-t[t.length-1]:0}function pG(e,t,r=!1){let{routesMeta:n}=e,i={},a="/",o=[];for(let s=0;s{if(h==="*"){let b=s[g]||"";o=a.slice(0,a.length-b.length).replace(/(.)\/+$/,"$1")}const x=s[g];return p&&!x?l[h]=void 0:l[h]=(x||"").replace(/%2F/g,"/"),l},{}),pathname:a,pathnameBase:o,pattern:e}}function mG(e,t=!1,r=!0){Sa(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,c)=>(n.push({paramName:s,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}function vG(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Sa(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Ko(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function gG(e,t="/"){let{pathname:r,search:n="",hash:i=""}=typeof e=="string"?ld(e):e;return{pathname:r?r.startsWith("/")?r:yG(r,t):t,search:xG(n),hash:wG(i)}}function yG(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function U1(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function bG(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function aT(e){let t=bG(e);return t.map((r,n)=>n===t.length-1?r.pathname:r.pathnameBase)}function oT(e,t,r,n=!1){let i;typeof e=="string"?i=ld(e):(i={...e},sr(!i.pathname||!i.pathname.includes("?"),U1("?","pathname","search",i)),sr(!i.pathname||!i.pathname.includes("#"),U1("#","pathname","hash",i)),sr(!i.search||!i.search.includes("#"),U1("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(o==null)s=r;else{let p=t.length-1;if(!n&&o.startsWith("..")){let g=o.split("/");for(;g[0]==="..";)g.shift(),p-=1;i.pathname=g.join("/")}s=p>=0?t[p]:"/"}let c=gG(i,s),l=o&&o!=="/"&&o.endsWith("/"),h=(a||o===".")&&r.endsWith("/");return!c.pathname.endsWith("/")&&(l||h)&&(c.pathname+="/"),c}var Vo=e=>e.join("/").replace(/\/\/+/g,"/"),_G=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),xG=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,wG=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function SG(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var c$=["POST","PUT","PATCH","DELETE"];new Set(c$);var OG=["GET",...c$];new Set(OG);var ud=M.createContext(null);ud.displayName="DataRouter";var H0=M.createContext(null);H0.displayName="DataRouterState";var f$=M.createContext({isTransitioning:!1});f$.displayName="ViewTransition";var CG=M.createContext(new Map);CG.displayName="Fetchers";var PG=M.createContext(null);PG.displayName="Await";var Pa=M.createContext(null);Pa.displayName="Navigation";var mm=M.createContext(null);mm.displayName="Location";var Ea=M.createContext({outlet:null,matches:[],isDataRoute:!1});Ea.displayName="Route";var sT=M.createContext(null);sT.displayName="RouteError";function EG(e,{relative:t}={}){sr(Hu(),"useHref() may be used only in the context of a component.");let{basename:r,navigator:n}=M.useContext(Pa),{hash:i,pathname:a,search:o}=vm(e,{relative:t}),s=a;return r!=="/"&&(s=a==="/"?r:Vo([r,a])),n.createHref({pathname:s,search:o,hash:i})}function Hu(){return M.useContext(mm)!=null}function bn(){return sr(Hu(),"useLocation() may be used only in the context of a component."),M.useContext(mm).location}var d$="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function h$(e){M.useContext(Pa).static||M.useLayoutEffect(e)}function fo(){let{isDataRoute:e}=M.useContext(Ea);return e?BG():TG()}function TG(){sr(Hu(),"useNavigate() may be used only in the context of a component.");let e=M.useContext(ud),{basename:t,navigator:r}=M.useContext(Pa),{matches:n}=M.useContext(Ea),{pathname:i}=bn(),a=JSON.stringify(aT(n)),o=M.useRef(!1);return h$(()=>{o.current=!0}),M.useCallback((c,l={})=>{if(Sa(o.current,d$),!o.current)return;if(typeof c=="number"){r.go(c);return}let h=oT(c,JSON.parse(a),i,l.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Vo([t,h.pathname])),(l.replace?r.replace:r.push)(h,l.state,l)},[t,r,a,i,e])}M.createContext(null);function cd(){let{matches:e}=M.useContext(Ea),t=e[e.length-1];return t?t.params:{}}function vm(e,{relative:t}={}){let{matches:r}=M.useContext(Ea),{pathname:n}=bn(),i=JSON.stringify(aT(r));return M.useMemo(()=>oT(e,JSON.parse(i),n,t==="path"),[e,i,n,t])}function jG(e,t){return p$(e,t)}function p$(e,t,r,n){var C;sr(Hu(),"useRoutes() may be used only in the context of a component.");let{navigator:i,static:a}=M.useContext(Pa),{matches:o}=M.useContext(Ea),s=o[o.length-1],c=s?s.params:{},l=s?s.pathname:"/",h=s?s.pathnameBase:"/",p=s&&s.route;{let E=p&&p.path||"";m$(l,!p||E.endsWith("*")||E.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${l}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
+ */var H3="popstate";function tG(e={}){function t(n,i){let{pathname:a,search:o,hash:s}=n.location;return jO("",{pathname:a,search:o,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function r(n,i){return typeof i=="string"?i:mp(i)}return nG(t,r,null,e)}function sr(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Sa(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function rG(){return Math.random().toString(36).substring(2,10)}function G3(e,t){return{usr:e.state,key:e.key,idx:t}}function jO(e,t,r=null,n){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?ld(t):t,state:r,key:t&&t.key||n||rG()}}function mp({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function ld(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function nG(e,t,r,n={}){let{window:i=document.defaultView,v5Compat:a=!1}=n,o=i.history,s="POP",c=null,l=h();l==null&&(l=0,o.replaceState({...o.state,idx:l},""));function h(){return(o.state||{idx:null}).idx}function p(){s="POP";let w=h(),S=w==null?null:w-l;l=w,c&&c({action:s,location:_.location,delta:S})}function g(w,S){s="PUSH";let C=jO(_.location,w,S);l=h()+1;let P=G3(C,l),T=_.createHref(C);try{o.pushState(P,"",T)}catch(A){if(A instanceof DOMException&&A.name==="DataCloneError")throw A;i.location.assign(T)}a&&c&&c({action:s,location:_.location,delta:1})}function x(w,S){s="REPLACE";let C=jO(_.location,w,S);l=h();let P=G3(C,l),T=_.createHref(C);o.replaceState(P,"",T),a&&c&&c({action:s,location:_.location,delta:0})}function b(w){let S=i.location.origin!=="null"?i.location.origin:i.location.href,C=typeof w=="string"?w:mp(w);return C=C.replace(/ $/,"%20"),sr(S,`No window.location.(origin|href) available to create URL for href: ${C}`),new URL(C,S)}let _={get action(){return s},get location(){return e(i,o)},listen(w){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(H3,p),c=w,()=>{i.removeEventListener(H3,p),c=null}},createHref(w){return t(i,w)},createURL:b,encodeLocation(w){let S=b(w);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:g,replace:x,go(w){return o.go(w)}};return _}function s$(e,t,r="/"){return iG(e,t,r,!1)}function iG(e,t,r,n){let i=typeof t=="string"?ld(t):t,a=Ko(i.pathname||"/",r);if(a==null)return null;let o=l$(e);aG(o);let s=null;for(let c=0;s==null&&c{let c={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:o,route:a};c.relativePath.startsWith("/")&&(sr(c.relativePath.startsWith(n),`Absolute route path "${c.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(n.length));let l=Vo([n,c.relativePath]),h=r.concat(c);a.children&&a.children.length>0&&(sr(a.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),l$(a.children,t,h,l)),!(a.path==null&&!a.index)&&t.push({path:l,score:dG(l,a.index),routesMeta:h})};return e.forEach((a,o)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))i(a,o);else for(let c of u$(a.path))i(a,o,c)}),t}function u$(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return i?[a,""]:[a];let o=u$(n.join("/")),s=[];return s.push(...o.map(c=>c===""?a:[a,c].join("/"))),i&&s.push(...o),s.map(c=>e.startsWith("/")&&c===""?"/":c)}function aG(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:hG(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}var oG=/^:[\w-]+$/,sG=3,lG=2,uG=1,cG=10,fG=-2,K3=e=>e==="*";function dG(e,t){let r=e.split("/"),n=r.length;return r.some(K3)&&(n+=fG),t&&(n+=lG),r.filter(i=>!K3(i)).reduce((i,a)=>i+(oG.test(a)?sG:a===""?uG:cG),n)}function hG(e,t){return e.length===t.length&&e.slice(0,-1).every((n,i)=>n===t[i])?e[e.length-1]-t[t.length-1]:0}function pG(e,t,r=!1){let{routesMeta:n}=e,i={},a="/",o=[];for(let s=0;s{if(h==="*"){let b=s[g]||"";o=a.slice(0,a.length-b.length).replace(/(.)\/+$/,"$1")}const x=s[g];return p&&!x?l[h]=void 0:l[h]=(x||"").replace(/%2F/g,"/"),l},{}),pathname:a,pathnameBase:o,pattern:e}}function mG(e,t=!1,r=!0){Sa(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,s,c)=>(n.push({paramName:s,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}function vG(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Sa(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Ko(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function gG(e,t="/"){let{pathname:r,search:n="",hash:i=""}=typeof e=="string"?ld(e):e;return{pathname:r?r.startsWith("/")?r:yG(r,t):t,search:xG(n),hash:wG(i)}}function yG(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function U1(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function bG(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function aT(e){let t=bG(e);return t.map((r,n)=>n===t.length-1?r.pathname:r.pathnameBase)}function oT(e,t,r,n=!1){let i;typeof e=="string"?i=ld(e):(i={...e},sr(!i.pathname||!i.pathname.includes("?"),U1("?","pathname","search",i)),sr(!i.pathname||!i.pathname.includes("#"),U1("#","pathname","hash",i)),sr(!i.search||!i.search.includes("#"),U1("#","search","hash",i)));let a=e===""||i.pathname==="",o=a?"/":i.pathname,s;if(o==null)s=r;else{let p=t.length-1;if(!n&&o.startsWith("..")){let g=o.split("/");for(;g[0]==="..";)g.shift(),p-=1;i.pathname=g.join("/")}s=p>=0?t[p]:"/"}let c=gG(i,s),l=o&&o!=="/"&&o.endsWith("/"),h=(a||o===".")&&r.endsWith("/");return!c.pathname.endsWith("/")&&(l||h)&&(c.pathname+="/"),c}var Vo=e=>e.join("/").replace(/\/\/+/g,"/"),_G=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),xG=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,wG=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function SG(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}var c$=["POST","PUT","PATCH","DELETE"];new Set(c$);var OG=["GET",...c$];new Set(OG);var ud=M.createContext(null);ud.displayName="DataRouter";var H0=M.createContext(null);H0.displayName="DataRouterState";var f$=M.createContext({isTransitioning:!1});f$.displayName="ViewTransition";var CG=M.createContext(new Map);CG.displayName="Fetchers";var PG=M.createContext(null);PG.displayName="Await";var Pa=M.createContext(null);Pa.displayName="Navigation";var mm=M.createContext(null);mm.displayName="Location";var Ea=M.createContext({outlet:null,matches:[],isDataRoute:!1});Ea.displayName="Route";var sT=M.createContext(null);sT.displayName="RouteError";function EG(e,{relative:t}={}){sr(Hu(),"useHref() may be used only in the context of a component.");let{basename:r,navigator:n}=M.useContext(Pa),{hash:i,pathname:a,search:o}=vm(e,{relative:t}),s=a;return r!=="/"&&(s=a==="/"?r:Vo([r,a])),n.createHref({pathname:s,search:o,hash:i})}function Hu(){return M.useContext(mm)!=null}function bn(){return sr(Hu(),"useLocation() may be used only in the context of a component."),M.useContext(mm).location}var d$="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function h$(e){M.useContext(Pa).static||M.useLayoutEffect(e)}function fo(){let{isDataRoute:e}=M.useContext(Ea);return e?BG():TG()}function TG(){sr(Hu(),"useNavigate() may be used only in the context of a component.");let e=M.useContext(ud),{basename:t,navigator:r}=M.useContext(Pa),{matches:n}=M.useContext(Ea),{pathname:i}=bn(),a=JSON.stringify(aT(n)),o=M.useRef(!1);return h$(()=>{o.current=!0}),M.useCallback((c,l={})=>{if(Sa(o.current,d$),!o.current)return;if(typeof c=="number"){r.go(c);return}let h=oT(c,JSON.parse(a),i,l.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:Vo([t,h.pathname])),(l.replace?r.replace:r.push)(h,l.state,l)},[t,r,a,i,e])}M.createContext(null);function cd(){let{matches:e}=M.useContext(Ea),t=e[e.length-1];return t?t.params:{}}function vm(e,{relative:t}={}){let{matches:r}=M.useContext(Ea),{pathname:n}=bn(),i=JSON.stringify(aT(r));return M.useMemo(()=>oT(e,JSON.parse(i),n,t==="path"),[e,i,n,t])}function jG(e,t){return p$(e,t)}function p$(e,t,r,n){var C;sr(Hu(),"useRoutes() may be used only in the context of a component.");let{navigator:i,static:a}=M.useContext(Pa),{matches:o}=M.useContext(Ea),s=o[o.length-1],c=s?s.params:{},l=s?s.pathname:"/",h=s?s.pathnameBase:"/",p=s&&s.route;{let P=p&&p.path||"";m$(l,!p||P.endsWith("*")||P.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${l}" (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 g=bn(),x;if(t){let E=typeof t=="string"?ld(t):t;sr(h==="/"||((C=E.pathname)==null?void 0:C.startsWith(h)),`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 "${h}" but pathname "${E.pathname}" was given in the \`location\` prop.`),x=E}else x=g;let b=x.pathname||"/",_=b;if(h!=="/"){let E=h.replace(/^\//,"").split("/");_="/"+b.replace(/^\//,"").split("/").slice(E.length).join("/")}let w=!a&&r&&r.matches&&r.matches.length>0?r.matches:s$(e,{pathname:_});Sa(p||w!=null,`No routes matched location "${x.pathname}${x.search}${x.hash}" `),Sa(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 "${x.pathname}${x.search}${x.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 S=MG(w&&w.map(E=>Object.assign({},E,{params:Object.assign({},c,E.params),pathname:Vo([h,i.encodeLocation?i.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?h:Vo([h,i.encodeLocation?i.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),o,r,n);return t&&S?M.createElement(mm.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...x},navigationType:"POP"}},S):S}function AG(){let e=FG(),t=SG(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:n},a={padding:"2px 4px",backgroundColor:n},o=null;return console.error("Error handled by React Router default ErrorBoundary:",e),o=M.createElement(M.Fragment,null,M.createElement("p",null,"💿 Hey developer 👋"),M.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",M.createElement("code",{style:a},"ErrorBoundary")," or"," ",M.createElement("code",{style:a},"errorElement")," prop on your route.")),M.createElement(M.Fragment,null,M.createElement("h2",null,"Unexpected Application Error!"),M.createElement("h3",{style:{fontStyle:"italic"}},t),r?M.createElement("pre",{style:i},r):null,o)}var kG=M.createElement(AG,null),RG=class extends M.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error!==void 0?M.createElement(Ea.Provider,{value:this.props.routeContext},M.createElement(sT.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function NG({routeContext:e,match:t,children:r}){let n=M.useContext(ud);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),M.createElement(Ea.Provider,{value:e},r)}function MG(e,t=[],r=null,n=null){if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r==null?void 0:r.errors;if(a!=null){let c=i.findIndex(l=>l.route.id&&(a==null?void 0:a[l.route.id])!==void 0);sr(c>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),i=i.slice(0,Math.min(i.length,c+1))}let o=!1,s=-1;if(r)for(let c=0;c=0?i=i.slice(0,s+1):i=[i[0]];break}}}return i.reduceRight((c,l,h)=>{let p,g=!1,x=null,b=null;r&&(p=a&&l.route.id?a[l.route.id]:void 0,x=l.route.errorElement||kG,o&&(s<0&&h===0?(m$("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),g=!0,b=null):s===h&&(g=!0,b=l.route.hydrateFallbackElement||null)));let _=t.concat(i.slice(0,h+1)),w=()=>{let S;return p?S=x:g?S=b:l.route.Component?S=M.createElement(l.route.Component,null):l.route.element?S=l.route.element:S=c,M.createElement(NG,{match:l,routeContext:{outlet:c,matches:_,isDataRoute:r!=null},children:S})};return r&&(l.route.ErrorBoundary||l.route.errorElement||h===0)?M.createElement(RG,{location:r.location,revalidation:r.revalidation,component:x,error:p,children:w(),routeContext:{outlet:null,matches:_,isDataRoute:!0}}):w()},null)}function lT(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function LG(e){let t=M.useContext(ud);return sr(t,lT(e)),t}function IG(e){let t=M.useContext(H0);return sr(t,lT(e)),t}function DG(e){let t=M.useContext(Ea);return sr(t,lT(e)),t}function uT(e){let t=DG(e),r=t.matches[t.matches.length-1];return sr(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function $G(){return uT("useRouteId")}function FG(){var n;let e=M.useContext(sT),t=IG("useRouteError"),r=uT("useRouteError");return e!==void 0?e:(n=t.errors)==null?void 0:n[r]}function BG(){let{router:e}=LG("useNavigate"),t=uT("useNavigate"),r=M.useRef(!1);return h$(()=>{r.current=!0}),M.useCallback(async(i,a={})=>{Sa(r.current,d$),r.current&&(typeof i=="number"?e.navigate(i):await e.navigate(i,{fromRouteId:t,...a}))},[e,t])}var Y3={};function m$(e,t,r){!t&&!Y3[e]&&(Y3[e]=!0,Sa(!1,r))}M.memo(UG);function UG({routes:e,future:t,state:r}){return p$(e,void 0,r,t)}function cT({to:e,replace:t,state:r,relative:n}){sr(Hu()," may be used only in the context of a component.");let{static:i}=M.useContext(Pa);Sa(!i," 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:a}=M.useContext(Ea),{pathname:o}=bn(),s=fo(),c=oT(e,aT(a),o,n==="path"),l=JSON.stringify(c);return M.useEffect(()=>{s(JSON.parse(l),{replace:t,state:r,relative:n})},[s,l,n,t,r]),null}function Ot(e){sr(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function zG({basename:e="/",children:t=null,location:r,navigationType:n="POP",navigator:i,static:a=!1}){sr(!Hu(),"You cannot render a inside another . You should never have more than one in your app.");let o=e.replace(/^\/*/,"/"),s=M.useMemo(()=>({basename:o,navigator:i,static:a,future:{}}),[o,i,a]);typeof r=="string"&&(r=ld(r));let{pathname:c="/",search:l="",hash:h="",state:p=null,key:g="default"}=r,x=M.useMemo(()=>{let b=Ko(c,o);return b==null?null:{location:{pathname:b,search:l,hash:h,state:p,key:g},navigationType:n}},[o,c,l,h,p,g,n]);return Sa(x!=null,` is not able to match the URL "${c}${l}${h}" because it does not start with the basename, so the won't render anything.`),x==null?null:M.createElement(Pa.Provider,{value:s},M.createElement(mm.Provider,{children:t,value:x}))}function G0({children:e,location:t}){return jG(AO(e),t)}function AO(e,t=[]){let r=[];return M.Children.forEach(e,(n,i)=>{if(!M.isValidElement(n))return;let a=[...t,i];if(n.type===M.Fragment){r.push.apply(r,AO(n.props.children,a));return}sr(n.type===Ot,`[${typeof n.type=="string"?n.type:n.type.name}] is not a component. All component children of must be a or `),sr(!n.props.index||!n.props.children,"An index route cannot have child routes.");let o={id:n.props.id||a.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,hydrateFallbackElement:n.props.hydrateFallbackElement,HydrateFallback:n.props.HydrateFallback,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.hasErrorBoundary===!0||n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(o.children=AO(n.props.children,a)),r.push(o)}),r}var Dg="get",$g="application/x-www-form-urlencoded";function K0(e){return e!=null&&typeof e.tagName=="string"}function VG(e){return K0(e)&&e.tagName.toLowerCase()==="button"}function WG(e){return K0(e)&&e.tagName.toLowerCase()==="form"}function qG(e){return K0(e)&&e.tagName.toLowerCase()==="input"}function HG(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function GG(e,t){return e.button===0&&(!t||t==="_self")&&!HG(e)}var lg=null;function KG(){if(lg===null)try{new FormData(document.createElement("form"),0),lg=!1}catch{lg=!0}return lg}var YG=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function z1(e){return e!=null&&!YG.has(e)?(Sa(!1,`"${e}" is not a valid \`encType\` for \`