@sashabogi/argus-mcp 2.0.12 → 2.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
Error generating stack: `+l.message+`
|
|
40
40
|
`+l.stack}return{value:e,source:t,stack:i,digest:null}}function Wl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ro(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Cp=typeof WeakMap=="function"?WeakMap:Map;function wf(e,t,n){n=pt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Xi||(Xi=!0,Bo=r),Ro(e,t)},n}function _f(e,t,n){n=pt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Ro(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(n.callback=function(){Ro(e,t),typeof r!="function"&&(Dt===null?Dt=new Set([this]):Dt.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function Ks(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Cp;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Up.bind(null,e,t,n),t.then(e,e))}function Gs(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Zs(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=pt(-1,1),t.tag=2,At(n,t,1))),n.lanes|=1),e)}var zp=wt.ReactCurrentOwner,Ee=!1;function ye(e,t,n,r){t.child=e===null?Gc(t,null,n,r):Ln(t,e.child,n,r)}function Js(e,t,n,r,i){n=n.render;var l=t.ref;return En(t,i),r=Ru(e,t,n,r,l,i),n=Au(),e!==null&&!Ee?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,yt(e,t,i)):(G&&n&&_u(t),t.flags|=1,ye(e,t,r,i),t.child)}function qs(e,t,n,r,i){if(e===null){var l=n.type;return typeof l=="function"&&!Wu(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,kf(e,t,l,r,i)):(e=_i(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,!(e.lanes&i)){var o=l.memoizedProps;if(n=n.compare,n=n!==null?n:xr,n(o,r)&&e.ref===t.ref)return yt(e,t,i)}return t.flags|=1,e=Ot(l,r),e.ref=t.ref,e.return=t,t.child=e}function kf(e,t,n,r,i){if(e!==null){var l=e.memoizedProps;if(xr(l,r)&&e.ref===t.ref)if(Ee=!1,t.pendingProps=r=l,(e.lanes&i)!==0)e.flags&131072&&(Ee=!0);else return t.lanes=e.lanes,yt(e,t,i)}return Ao(e,t,n,r,i)}function Sf(e,t,n){var r=t.pendingProps,i=r.children,l=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Q(wn,Pe),Pe|=n;else{if(!(n&1073741824))return e=l!==null?l.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Q(wn,Pe),Pe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=l!==null?l.baseLanes:n,Q(wn,Pe),Pe|=r}else l!==null?(r=l.baseLanes|n,t.memoizedState=null):r=n,Q(wn,Pe),Pe|=r;return ye(e,t,i,n),t.child}function Nf(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ao(e,t,n,r,i){var l=Te(n)?bt:me.current;return l=Pn(t,l),En(t,i),n=Ru(e,t,n,r,l,i),r=Au(),e!==null&&!Ee?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,yt(e,t,i)):(G&&r&&_u(t),t.flags|=1,ye(e,t,n,i),t.child)}function bs(e,t,n,r,i){if(Te(n)){var l=!0;Ii(t)}else l=!1;if(En(t,i),t.stateNode===null)yi(e,t),xf(t,n,r),Lo(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,u=t.memoizedProps;o.props=u;var s=o.context,a=n.contextType;typeof a=="object"&&a!==null?a=Ve(a):(a=Te(n)?bt:me.current,a=Pn(t,a));var c=n.getDerivedStateFromProps,m=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";m||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==r||s!==a)&&Ys(t,o,r,a),St=!1;var d=t.memoizedState;o.state=d,Vi(t,r,o,i),s=t.memoizedState,u!==r||d!==s||ze.current||St?(typeof c=="function"&&(jo(t,n,c,r),s=t.memoizedState),(u=St||Xs(t,n,u,r,d,s,a))?(m||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),o.props=r,o.state=s,o.context=a,r=u):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Jc(e,t),u=t.memoizedProps,a=t.type===t.elementType?u:We(t.type,u),o.props=a,m=t.pendingProps,d=o.context,s=n.contextType,typeof s=="object"&&s!==null?s=Ve(s):(s=Te(n)?bt:me.current,s=Pn(t,s));var v=n.getDerivedStateFromProps;(c=typeof v=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(u!==m||d!==s)&&Ys(t,o,r,s),St=!1,d=t.memoizedState,o.state=d,Vi(t,r,o,i);var x=t.memoizedState;u!==m||d!==x||ze.current||St?(typeof v=="function"&&(jo(t,n,v,r),x=t.memoizedState),(a=St||Xs(t,n,a,r,d,x,s)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,x,s),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,x,s)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),o.props=r,o.state=x,o.context=s,r=a):(typeof o.componentDidUpdate!="function"||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Do(e,t,n,r,l,i)}function Do(e,t,n,r,i,l){Nf(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&$s(t,n,!1),yt(e,t,l);r=t.stateNode,zp.current=t;var u=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=Ln(t,e.child,null,l),t.child=Ln(t,null,u,l)):ye(e,t,u,l),t.memoizedState=r.state,i&&$s(t,n,!0),t.child}function Ef(e){var t=e.stateNode;t.pendingContext?Os(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Os(e,t.context,!1),Mu(e,t.containerInfo)}function ea(e,t,n,r,i){return jn(),Su(i),t.flags|=256,ye(e,t,n,r),t.child}var Io={dehydrated:null,treeContext:null,retryLane:0};function Oo(e){return{baseLanes:e,cachePool:null,transitions:null}}function Cf(e,t,n){var r=t.pendingProps,i=J.current,l=!1,o=(t.flags&128)!==0,u;if((u=o)||(u=e!==null&&e.memoizedState===null?!1:(i&2)!==0),u?(l=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Q(J,i&1),e===null)return Mo(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(o=r.children,e=r.fallback,l?(r=t.mode,l=t.child,o={mode:"hidden",children:o},!(r&1)&&l!==null?(l.childLanes=0,l.pendingProps=o):l=hl(o,r,0,null),e=Zt(e,r,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Oo(n),t.memoizedState=Io,e):Ou(t,o));if(i=e.memoizedState,i!==null&&(u=i.dehydrated,u!==null))return Tp(e,t,o,r,u,i,n);if(l){l=r.fallback,o=t.mode,i=e.child,u=i.sibling;var s={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=Ot(i,s),r.subtreeFlags=i.subtreeFlags&14680064),u!==null?l=Ot(u,l):(l=Zt(l,o,n,null),l.flags|=2),l.return=t,r.return=t,r.sibling=l,t.child=r,r=l,l=t.child,o=e.child.memoizedState,o=o===null?Oo(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},l.memoizedState=o,l.childLanes=e.childLanes&~n,t.memoizedState=Io,r}return l=e.child,e=l.sibling,r=Ot(l,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Ou(e,t){return t=hl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ti(e,t,n,r){return r!==null&&Su(r),Ln(t,e.child,null,n),e=Ou(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Tp(e,t,n,r,i,l,o){if(n)return t.flags&256?(t.flags&=-257,r=Wl(Error(M(422))),ti(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(l=r.fallback,i=t.mode,r=hl({mode:"visible",children:r.children},i,0,null),l=Zt(l,i,o,null),l.flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,t.mode&1&&Ln(t,e.child,null,o),t.child.memoizedState=Oo(o),t.memoizedState=Io,l);if(!(t.mode&1))return ti(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var u=r.dgst;return r=u,l=Error(M(419)),r=Wl(l,r,void 0),ti(e,t,o,r)}if(u=(o&e.childLanes)!==0,Ee||u){if(r=oe,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==l.retryLane&&(l.retryLane=i,vt(e,i),Ge(r,e,i,-1))}return Bu(),r=Wl(Error(M(421))),ti(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Vp.bind(null,e),i._reactRetry=t,null):(e=l.treeContext,je=Rt(i.nextSibling),Le=t,G=!0,Xe=null,e!==null&&(Oe[$e++]=ft,Oe[$e++]=dt,Oe[$e++]=en,ft=e.id,dt=e.overflow,en=t),t=Ou(t,r.children),t.flags|=4096,t)}function ta(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Po(e.return,t,n)}function Ql(e,t,n,r,i){var l=e.memoizedState;l===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(l.isBackwards=t,l.rendering=null,l.renderingStartTime=0,l.last=r,l.tail=n,l.tailMode=i)}function zf(e,t,n){var r=t.pendingProps,i=r.revealOrder,l=r.tail;if(ye(e,t,r.children,n),r=J.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ta(e,n,t);else if(e.tag===19)ta(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Q(J,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Hi(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ql(t,!1,i,n,l);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Hi(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Ql(t,!0,n,null,l);break;case"together":Ql(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function yi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function yt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),nn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(M(153));if(t.child!==null){for(e=t.child,n=Ot(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ot(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Mp(e,t,n){switch(t.tag){case 3:Ef(t),jn();break;case 5:qc(t);break;case 1:Te(t.type)&&Ii(t);break;case 4:Mu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Q(Fi,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Q(J,J.current&1),t.flags|=128,null):n&t.child.childLanes?Cf(e,t,n):(Q(J,J.current&1),e=yt(e,t,n),e!==null?e.sibling:null);Q(J,J.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return zf(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Q(J,J.current),r)break;return null;case 22:case 23:return t.lanes=0,Sf(e,t,n)}return yt(e,t,n)}var Tf,$o,Mf,Pf;Tf=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};$o=function(){};Mf=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Yt(rt.current);var l=null;switch(n){case"input":i=lo(e,i),r=lo(e,r),l=[];break;case"select":i=b({},i,{value:void 0}),r=b({},r,{value:void 0}),l=[];break;case"textarea":i=so(e,i),r=so(e,r),l=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ai)}co(n,r);var o;n=null;for(a in i)if(!r.hasOwnProperty(a)&&i.hasOwnProperty(a)&&i[a]!=null)if(a==="style"){var u=i[a];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else a!=="dangerouslySetInnerHTML"&&a!=="children"&&a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&a!=="autoFocus"&&(dr.hasOwnProperty(a)?l||(l=[]):(l=l||[]).push(a,null));for(a in r){var s=r[a];if(u=i!=null?i[a]:void 0,r.hasOwnProperty(a)&&s!==u&&(s!=null||u!=null))if(a==="style")if(u){for(o in u)!u.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in s)s.hasOwnProperty(o)&&u[o]!==s[o]&&(n||(n={}),n[o]=s[o])}else n||(l||(l=[]),l.push(a,n)),n=s;else a==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,u=u?u.__html:void 0,s!=null&&u!==s&&(l=l||[]).push(a,s)):a==="children"?typeof s!="string"&&typeof s!="number"||(l=l||[]).push(a,""+s):a!=="suppressContentEditableWarning"&&a!=="suppressHydrationWarning"&&(dr.hasOwnProperty(a)?(s!=null&&a==="onScroll"&&Y("scroll",e),l||u===s||(l=[])):(l=l||[]).push(a,s))}n&&(l=l||[]).push("style",n);var a=l;(t.updateQueue=a)&&(t.flags|=4)}};Pf=function(e,t,n,r){n!==r&&(t.flags|=4)};function Yn(e,t){if(!G)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function he(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Pp(e,t,n){var r=t.pendingProps;switch(ku(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return he(t),null;case 1:return Te(t.type)&&Di(),he(t),null;case 3:return r=t.stateNode,Rn(),K(ze),K(me),ju(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(br(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Xe!==null&&(Xo(Xe),Xe=null))),$o(e,t),he(t),null;case 5:Pu(t);var i=Yt(Nr.current);if(n=t.type,e!==null&&t.stateNode!=null)Mf(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(M(166));return he(t),null}if(e=Yt(rt.current),br(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[et]=t,r[kr]=l,e=(t.mode&1)!==0,n){case"dialog":Y("cancel",r),Y("close",r);break;case"iframe":case"object":case"embed":Y("load",r);break;case"video":case"audio":for(i=0;i<er.length;i++)Y(er[i],r);break;case"source":Y("error",r);break;case"img":case"image":case"link":Y("error",r),Y("load",r);break;case"details":Y("toggle",r);break;case"input":cs(r,l),Y("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Y("invalid",r);break;case"textarea":ds(r,l),Y("invalid",r)}co(n,l),i=null;for(var o in l)if(l.hasOwnProperty(o)){var u=l[o];o==="children"?typeof u=="string"?r.textContent!==u&&(l.suppressHydrationWarning!==!0&&qr(r.textContent,u,e),i=["children",u]):typeof u=="number"&&r.textContent!==""+u&&(l.suppressHydrationWarning!==!0&&qr(r.textContent,u,e),i=["children",""+u]):dr.hasOwnProperty(o)&&u!=null&&o==="onScroll"&&Y("scroll",r)}switch(n){case"input":Wr(r),fs(r,l,!0);break;case"textarea":Wr(r),hs(r);break;case"select":case"option":break;default:typeof l.onClick=="function"&&(r.onclick=Ai)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=rc(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[et]=t,e[kr]=r,Tf(e,t,!1,!1),t.stateNode=e;e:{switch(o=fo(n,r),n){case"dialog":Y("cancel",e),Y("close",e),i=r;break;case"iframe":case"object":case"embed":Y("load",e),i=r;break;case"video":case"audio":for(i=0;i<er.length;i++)Y(er[i],e);i=r;break;case"source":Y("error",e),i=r;break;case"img":case"image":case"link":Y("error",e),Y("load",e),i=r;break;case"details":Y("toggle",e),i=r;break;case"input":cs(e,r),i=lo(e,r),Y("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=b({},r,{value:void 0}),Y("invalid",e);break;case"textarea":ds(e,r),i=so(e,r),Y("invalid",e);break;default:i=r}co(n,i),u=i;for(l in u)if(u.hasOwnProperty(l)){var s=u[l];l==="style"?oc(e,s):l==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&ic(e,s)):l==="children"?typeof s=="string"?(n!=="textarea"||s!=="")&&hr(e,s):typeof s=="number"&&hr(e,""+s):l!=="suppressContentEditableWarning"&&l!=="suppressHydrationWarning"&&l!=="autoFocus"&&(dr.hasOwnProperty(l)?s!=null&&l==="onScroll"&&Y("scroll",e):s!=null&&uu(e,l,s,o))}switch(n){case"input":Wr(e),fs(e,r,!1);break;case"textarea":Wr(e),hs(e);break;case"option":r.value!=null&&e.setAttribute("value",""+$t(r.value));break;case"select":e.multiple=!!r.multiple,l=r.value,l!=null?_n(e,!!r.multiple,l,!1):r.defaultValue!=null&&_n(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Ai)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return he(t),null;case 6:if(e&&t.stateNode!=null)Pf(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(M(166));if(n=Yt(Nr.current),Yt(rt.current),br(t)){if(r=t.stateNode,n=t.memoizedProps,r[et]=t,(l=r.nodeValue!==n)&&(e=Le,e!==null))switch(e.tag){case 3:qr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&qr(r.nodeValue,n,(e.mode&1)!==0)}l&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[et]=t,t.stateNode=r}return he(t),null;case 13:if(K(J),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(G&&je!==null&&t.mode&1&&!(t.flags&128))Yc(),jn(),t.flags|=98560,l=!1;else if(l=br(t),r!==null&&r.dehydrated!==null){if(e===null){if(!l)throw Error(M(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(M(317));l[et]=t}else jn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;he(t),l=!1}else Xe!==null&&(Xo(Xe),Xe=null),l=!0;if(!l)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||J.current&1?ie===0&&(ie=3):Bu())),t.updateQueue!==null&&(t.flags|=4),he(t),null);case 4:return Rn(),$o(e,t),e===null&&wr(t.stateNode.containerInfo),he(t),null;case 10:return Cu(t.type._context),he(t),null;case 17:return Te(t.type)&&Di(),he(t),null;case 19:if(K(J),l=t.memoizedState,l===null)return he(t),null;if(r=(t.flags&128)!==0,o=l.rendering,o===null)if(r)Yn(l,!1);else{if(ie!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Hi(e),o!==null){for(t.flags|=128,Yn(l,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)l=n,e=r,l.flags&=14680066,o=l.alternate,o===null?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=o.childLanes,l.lanes=o.lanes,l.child=o.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=o.memoizedProps,l.memoizedState=o.memoizedState,l.updateQueue=o.updateQueue,l.type=o.type,e=o.dependencies,l.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Q(J,J.current&1|2),t.child}e=e.sibling}l.tail!==null&&te()>Dn&&(t.flags|=128,r=!0,Yn(l,!1),t.lanes=4194304)}else{if(!r)if(e=Hi(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Yn(l,!0),l.tail===null&&l.tailMode==="hidden"&&!o.alternate&&!G)return he(t),null}else 2*te()-l.renderingStartTime>Dn&&n!==1073741824&&(t.flags|=128,r=!0,Yn(l,!1),t.lanes=4194304);l.isBackwards?(o.sibling=t.child,t.child=o):(n=l.last,n!==null?n.sibling=o:t.child=o,l.last=o)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=te(),t.sibling=null,n=J.current,Q(J,r?n&1|2:n&1),t):(he(t),null);case 22:case 23:return Hu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Pe&1073741824&&(he(t),t.subtreeFlags&6&&(t.flags|=8192)):he(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function jp(e,t){switch(ku(t),t.tag){case 1:return Te(t.type)&&Di(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Rn(),K(ze),K(me),ju(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Pu(t),null;case 13:if(K(J),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));jn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K(J),null;case 4:return Rn(),null;case 10:return Cu(t.type._context),null;case 22:case 23:return Hu(),null;case 24:return null;default:return null}}var ni=!1,pe=!1,Lp=typeof WeakSet=="function"?WeakSet:Set,R=null;function xn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ee(e,t,r)}else n.current=null}function Fo(e,t,n){try{n()}catch(r){ee(e,t,r)}}var na=!1;function Rp(e,t){if(ko=ji,e=Ac(),wu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var o=0,u=-1,s=-1,a=0,c=0,m=e,d=null;t:for(;;){for(var v;m!==n||i!==0&&m.nodeType!==3||(u=o+i),m!==l||r!==0&&m.nodeType!==3||(s=o+r),m.nodeType===3&&(o+=m.nodeValue.length),(v=m.firstChild)!==null;)d=m,m=v;for(;;){if(m===e)break t;if(d===n&&++a===i&&(u=o),d===l&&++c===r&&(s=o),(v=m.nextSibling)!==null)break;m=d,d=m.parentNode}m=v}n=u===-1||s===-1?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(So={focusedElem:e,selectionRange:n},ji=!1,R=t;R!==null;)if(t=R,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,R=e;else for(;R!==null;){t=R;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var y=x.memoizedProps,_=x.memoizedState,f=t.stateNode,h=f.getSnapshotBeforeUpdate(t.elementType===t.type?y:We(t.type,y),_);f.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(g){ee(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,R=e;break}R=t.return}return x=na,na=!1,x}function ar(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var l=i.destroy;i.destroy=void 0,l!==void 0&&Fo(t,n,l)}i=i.next}while(i!==r)}}function fl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Uo(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function jf(e){var t=e.alternate;t!==null&&(e.alternate=null,jf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[et],delete t[kr],delete t[Co],delete t[mp],delete t[gp])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Lf(e){return e.tag===5||e.tag===3||e.tag===4}function ra(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Lf(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.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Vo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ai));else if(r!==4&&(e=e.child,e!==null))for(Vo(e,t,n),e=e.sibling;e!==null;)Vo(e,t,n),e=e.sibling}function Ho(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ho(e,t,n),e=e.sibling;e!==null;)Ho(e,t,n),e=e.sibling}var se=null,Qe=!1;function _t(e,t,n){for(n=n.child;n!==null;)Rf(e,t,n),n=n.sibling}function Rf(e,t,n){if(nt&&typeof nt.onCommitFiberUnmount=="function")try{nt.onCommitFiberUnmount(rl,n)}catch{}switch(n.tag){case 5:pe||xn(n,t);case 6:var r=se,i=Qe;se=null,_t(e,t,n),se=r,Qe=i,se!==null&&(Qe?(e=se,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):se.removeChild(n.stateNode));break;case 18:se!==null&&(Qe?(e=se,n=n.stateNode,e.nodeType===8?$l(e.parentNode,n):e.nodeType===1&&$l(e,n),vr(e)):$l(se,n.stateNode));break;case 4:r=se,i=Qe,se=n.stateNode.containerInfo,Qe=!0,_t(e,t,n),se=r,Qe=i;break;case 0:case 11:case 14:case 15:if(!pe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var l=i,o=l.destroy;l=l.tag,o!==void 0&&(l&2||l&4)&&Fo(n,t,o),i=i.next}while(i!==r)}_t(e,t,n);break;case 1:if(!pe&&(xn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(u){ee(n,t,u)}_t(e,t,n);break;case 21:_t(e,t,n);break;case 22:n.mode&1?(pe=(r=pe)||n.memoizedState!==null,_t(e,t,n),pe=r):_t(e,t,n);break;default:_t(e,t,n)}}function ia(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Lp),t.forEach(function(r){var i=Hp.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Be(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var l=e,o=t,u=o;e:for(;u!==null;){switch(u.tag){case 5:se=u.stateNode,Qe=!1;break e;case 3:se=u.stateNode.containerInfo,Qe=!0;break e;case 4:se=u.stateNode.containerInfo,Qe=!0;break e}u=u.return}if(se===null)throw Error(M(160));Rf(l,o,i),se=null,Qe=!1;var s=i.alternate;s!==null&&(s.return=null),i.return=null}catch(a){ee(i,t,a)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Af(t,e),t=t.sibling}function Af(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Be(t,e),qe(e),r&4){try{ar(3,e,e.return),fl(3,e)}catch(y){ee(e,e.return,y)}try{ar(5,e,e.return)}catch(y){ee(e,e.return,y)}}break;case 1:Be(t,e),qe(e),r&512&&n!==null&&xn(n,n.return);break;case 5:if(Be(t,e),qe(e),r&512&&n!==null&&xn(n,n.return),e.flags&32){var i=e.stateNode;try{hr(i,"")}catch(y){ee(e,e.return,y)}}if(r&4&&(i=e.stateNode,i!=null)){var l=e.memoizedProps,o=n!==null?n.memoizedProps:l,u=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{u==="input"&&l.type==="radio"&&l.name!=null&&tc(i,l),fo(u,o);var a=fo(u,l);for(o=0;o<s.length;o+=2){var c=s[o],m=s[o+1];c==="style"?oc(i,m):c==="dangerouslySetInnerHTML"?ic(i,m):c==="children"?hr(i,m):uu(i,c,m,a)}switch(u){case"input":oo(i,l);break;case"textarea":nc(i,l);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!l.multiple;var v=l.value;v!=null?_n(i,!!l.multiple,v,!1):d!==!!l.multiple&&(l.defaultValue!=null?_n(i,!!l.multiple,l.defaultValue,!0):_n(i,!!l.multiple,l.multiple?[]:"",!1))}i[kr]=l}catch(y){ee(e,e.return,y)}}break;case 6:if(Be(t,e),qe(e),r&4){if(e.stateNode===null)throw Error(M(162));i=e.stateNode,l=e.memoizedProps;try{i.nodeValue=l}catch(y){ee(e,e.return,y)}}break;case 3:if(Be(t,e),qe(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{vr(t.containerInfo)}catch(y){ee(e,e.return,y)}break;case 4:Be(t,e),qe(e);break;case 13:Be(t,e),qe(e),i=e.child,i.flags&8192&&(l=i.memoizedState!==null,i.stateNode.isHidden=l,!l||i.alternate!==null&&i.alternate.memoizedState!==null||(Uu=te())),r&4&&ia(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(pe=(a=pe)||c,Be(t,e),pe=a):Be(t,e),qe(e),r&8192){if(a=e.memoizedState!==null,(e.stateNode.isHidden=a)&&!c&&e.mode&1)for(R=e,c=e.child;c!==null;){for(m=R=c;R!==null;){switch(d=R,v=d.child,d.tag){case 0:case 11:case 14:case 15:ar(4,d,d.return);break;case 1:xn(d,d.return);var x=d.stateNode;if(typeof x.componentWillUnmount=="function"){r=d,n=d.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(y){ee(r,n,y)}}break;case 5:xn(d,d.return);break;case 22:if(d.memoizedState!==null){oa(m);continue}}v!==null?(v.return=d,R=v):oa(m)}c=c.sibling}e:for(c=null,m=e;;){if(m.tag===5){if(c===null){c=m;try{i=m.stateNode,a?(l=i.style,typeof l.setProperty=="function"?l.setProperty("display","none","important"):l.display="none"):(u=m.stateNode,s=m.memoizedProps.style,o=s!=null&&s.hasOwnProperty("display")?s.display:null,u.style.display=lc("display",o))}catch(y){ee(e,e.return,y)}}}else if(m.tag===6){if(c===null)try{m.stateNode.nodeValue=a?"":m.memoizedProps}catch(y){ee(e,e.return,y)}}else if((m.tag!==22&&m.tag!==23||m.memoizedState===null||m===e)&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break e;for(;m.sibling===null;){if(m.return===null||m.return===e)break e;c===m&&(c=null),m=m.return}c===m&&(c=null),m.sibling.return=m.return,m=m.sibling}}break;case 19:Be(t,e),qe(e),r&4&&ia(e);break;case 21:break;default:Be(t,e),qe(e)}}function qe(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Lf(n)){var r=n;break e}n=n.return}throw Error(M(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(hr(i,""),r.flags&=-33);var l=ra(e);Ho(e,l,i);break;case 3:case 4:var o=r.stateNode.containerInfo,u=ra(e);Vo(e,u,o);break;default:throw Error(M(161))}}catch(s){ee(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Ap(e,t,n){R=e,Df(e)}function Df(e,t,n){for(var r=(e.mode&1)!==0;R!==null;){var i=R,l=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||ni;if(!o){var u=i.alternate,s=u!==null&&u.memoizedState!==null||pe;u=ni;var a=pe;if(ni=o,(pe=s)&&!a)for(R=i;R!==null;)o=R,s=o.child,o.tag===22&&o.memoizedState!==null?ua(i):s!==null?(s.return=o,R=s):ua(i);for(;l!==null;)R=l,Df(l),l=l.sibling;R=i,ni=u,pe=a}la(e)}else i.subtreeFlags&8772&&l!==null?(l.return=i,R=l):la(e)}}function la(e){for(;R!==null;){var t=R;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:pe||fl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!pe)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:We(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var l=t.updateQueue;l!==null&&Bs(t,l,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Bs(t,o,n)}break;case 5:var u=t.stateNode;if(n===null&&t.flags&4){n=u;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var a=t.alternate;if(a!==null){var c=a.memoizedState;if(c!==null){var m=c.dehydrated;m!==null&&vr(m)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(M(163))}pe||t.flags&512&&Uo(t)}catch(d){ee(t,t.return,d)}}if(t===e){R=null;break}if(n=t.sibling,n!==null){n.return=t.return,R=n;break}R=t.return}}function oa(e){for(;R!==null;){var t=R;if(t===e){R=null;break}var n=t.sibling;if(n!==null){n.return=t.return,R=n;break}R=t.return}}function ua(e){for(;R!==null;){var t=R;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{fl(4,t)}catch(s){ee(t,n,s)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(s){ee(t,i,s)}}var l=t.return;try{Uo(t)}catch(s){ee(t,l,s)}break;case 5:var o=t.return;try{Uo(t)}catch(s){ee(t,o,s)}}}catch(s){ee(t,t.return,s)}if(t===e){R=null;break}var u=t.sibling;if(u!==null){u.return=t.return,R=u;break}R=t.return}}var Dp=Math.ceil,Qi=wt.ReactCurrentDispatcher,$u=wt.ReactCurrentOwner,Ue=wt.ReactCurrentBatchConfig,H=0,oe=null,ne=null,ae=0,Pe=0,wn=Vt(0),ie=0,Tr=null,nn=0,dl=0,Fu=0,cr=null,Ne=null,Uu=0,Dn=1/0,st=null,Xi=!1,Bo=null,Dt=null,ri=!1,Tt=null,Yi=0,fr=0,Wo=null,xi=-1,wi=0;function we(){return H&6?te():xi!==-1?xi:xi=te()}function It(e){return e.mode&1?H&2&&ae!==0?ae&-ae:yp.transition!==null?(wi===0&&(wi=yc()),wi):(e=W,e!==0||(e=window.event,e=e===void 0?16:Ec(e.type)),e):1}function Ge(e,t,n,r){if(50<fr)throw fr=0,Wo=null,Error(M(185));Dr(e,n,r),(!(H&2)||e!==oe)&&(e===oe&&(!(H&2)&&(dl|=n),ie===4&&Ct(e,ae)),Me(e,r),n===1&&H===0&&!(t.mode&1)&&(Dn=te()+500,sl&&Ht()))}function Me(e,t){var n=e.callbackNode;yh(e,t);var r=Pi(e,e===oe?ae:0);if(r===0)n!==null&&gs(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&gs(n),t===1)e.tag===0?vp(sa.bind(null,e)):Wc(sa.bind(null,e)),hp(function(){!(H&6)&&Ht()}),n=null;else{switch(xc(r)){case 1:n=du;break;case 4:n=gc;break;case 16:n=Mi;break;case 536870912:n=vc;break;default:n=Mi}n=Bf(n,If.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function If(e,t){if(xi=-1,wi=0,H&6)throw Error(M(327));var n=e.callbackNode;if(Cn()&&e.callbackNode!==n)return null;var r=Pi(e,e===oe?ae:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ki(e,r);else{t=r;var i=H;H|=2;var l=$f();(oe!==e||ae!==t)&&(st=null,Dn=te()+500,Gt(e,t));do try{$p();break}catch(u){Of(e,u)}while(!0);Eu(),Qi.current=l,H=i,ne!==null?t=0:(oe=null,ae=0,t=ie)}if(t!==0){if(t===2&&(i=vo(e),i!==0&&(r=i,t=Qo(e,i))),t===1)throw n=Tr,Gt(e,0),Ct(e,r),Me(e,te()),n;if(t===6)Ct(e,r);else{if(i=e.current.alternate,!(r&30)&&!Ip(i)&&(t=Ki(e,r),t===2&&(l=vo(e),l!==0&&(r=l,t=Qo(e,l))),t===1))throw n=Tr,Gt(e,0),Ct(e,r),Me(e,te()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(M(345));case 2:Wt(e,Ne,st);break;case 3:if(Ct(e,r),(r&130023424)===r&&(t=Uu+500-te(),10<t)){if(Pi(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){we(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Eo(Wt.bind(null,e,Ne,st),t);break}Wt(e,Ne,st);break;case 4:if(Ct(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-Ke(r);l=1<<o,o=t[o],o>i&&(i=o),r&=~l}if(r=i,r=te()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Dp(r/1960))-r,10<r){e.timeoutHandle=Eo(Wt.bind(null,e,Ne,st),r);break}Wt(e,Ne,st);break;case 5:Wt(e,Ne,st);break;default:throw Error(M(329))}}}return Me(e,te()),e.callbackNode===n?If.bind(null,e):null}function Qo(e,t){var n=cr;return e.current.memoizedState.isDehydrated&&(Gt(e,t).flags|=256),e=Ki(e,t),e!==2&&(t=Ne,Ne=n,t!==null&&Xo(t)),e}function Xo(e){Ne===null?Ne=e:Ne.push.apply(Ne,e)}function Ip(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],l=i.getSnapshot;i=i.value;try{if(!Ze(l(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ct(e,t){for(t&=~Fu,t&=~dl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ke(t),r=1<<n;e[n]=-1,t&=~r}}function sa(e){if(H&6)throw Error(M(327));Cn();var t=Pi(e,0);if(!(t&1))return Me(e,te()),null;var n=Ki(e,t);if(e.tag!==0&&n===2){var r=vo(e);r!==0&&(t=r,n=Qo(e,r))}if(n===1)throw n=Tr,Gt(e,0),Ct(e,t),Me(e,te()),n;if(n===6)throw Error(M(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Wt(e,Ne,st),Me(e,te()),null}function Vu(e,t){var n=H;H|=1;try{return e(t)}finally{H=n,H===0&&(Dn=te()+500,sl&&Ht())}}function rn(e){Tt!==null&&Tt.tag===0&&!(H&6)&&Cn();var t=H;H|=1;var n=Ue.transition,r=W;try{if(Ue.transition=null,W=1,e)return e()}finally{W=r,Ue.transition=n,H=t,!(H&6)&&Ht()}}function Hu(){Pe=wn.current,K(wn)}function Gt(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,dp(n)),ne!==null)for(n=ne.return;n!==null;){var r=n;switch(ku(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Di();break;case 3:Rn(),K(ze),K(me),ju();break;case 5:Pu(r);break;case 4:Rn();break;case 13:K(J);break;case 19:K(J);break;case 10:Cu(r.type._context);break;case 22:case 23:Hu()}n=n.return}if(oe=e,ne=e=Ot(e.current,null),ae=Pe=t,ie=0,Tr=null,Fu=dl=nn=0,Ne=cr=null,Xt!==null){for(t=0;t<Xt.length;t++)if(n=Xt[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,l=n.pending;if(l!==null){var o=l.next;l.next=i,r.next=o}n.pending=r}Xt=null}return e}function Of(e,t){do{var n=ne;try{if(Eu(),gi.current=Wi,Bi){for(var r=q.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Bi=!1}if(tn=0,le=re=q=null,sr=!1,Er=0,$u.current=null,n===null||n.return===null){ie=1,Tr=t,ne=null;break}e:{var l=e,o=n.return,u=n,s=t;if(t=ae,u.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var a=s,c=u,m=c.tag;if(!(c.mode&1)&&(m===0||m===11||m===15)){var d=c.alternate;d?(c.updateQueue=d.updateQueue,c.memoizedState=d.memoizedState,c.lanes=d.lanes):(c.updateQueue=null,c.memoizedState=null)}var v=Gs(o);if(v!==null){v.flags&=-257,Zs(v,o,u,l,t),v.mode&1&&Ks(l,a,t),t=v,s=a;var x=t.updateQueue;if(x===null){var y=new Set;y.add(s),t.updateQueue=y}else x.add(s);break e}else{if(!(t&1)){Ks(l,a,t),Bu();break e}s=Error(M(426))}}else if(G&&u.mode&1){var _=Gs(o);if(_!==null){!(_.flags&65536)&&(_.flags|=256),Zs(_,o,u,l,t),Su(An(s,u));break e}}l=s=An(s,u),ie!==4&&(ie=2),cr===null?cr=[l]:cr.push(l),l=o;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t;var f=wf(l,s,t);Hs(l,f);break e;case 1:u=s;var h=l.type,p=l.stateNode;if(!(l.flags&128)&&(typeof h.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(Dt===null||!Dt.has(p)))){l.flags|=65536,t&=-t,l.lanes|=t;var g=_f(l,u,t);Hs(l,g);break e}}l=l.return}while(l!==null)}Uf(n)}catch(N){t=N,ne===n&&n!==null&&(ne=n=n.return);continue}break}while(!0)}function $f(){var e=Qi.current;return Qi.current=Wi,e===null?Wi:e}function Bu(){(ie===0||ie===3||ie===2)&&(ie=4),oe===null||!(nn&268435455)&&!(dl&268435455)||Ct(oe,ae)}function Ki(e,t){var n=H;H|=2;var r=$f();(oe!==e||ae!==t)&&(st=null,Gt(e,t));do try{Op();break}catch(i){Of(e,i)}while(!0);if(Eu(),H=n,Qi.current=r,ne!==null)throw Error(M(261));return oe=null,ae=0,ie}function Op(){for(;ne!==null;)Ff(ne)}function $p(){for(;ne!==null&&!ah();)Ff(ne)}function Ff(e){var t=Hf(e.alternate,e,Pe);e.memoizedProps=e.pendingProps,t===null?Uf(e):ne=t,$u.current=null}function Uf(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=jp(n,t),n!==null){n.flags&=32767,ne=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ie=6,ne=null;return}}else if(n=Pp(n,t,Pe),n!==null){ne=n;return}if(t=t.sibling,t!==null){ne=t;return}ne=t=e}while(t!==null);ie===0&&(ie=5)}function Wt(e,t,n){var r=W,i=Ue.transition;try{Ue.transition=null,W=1,Fp(e,t,n,r)}finally{Ue.transition=i,W=r}return null}function Fp(e,t,n,r){do Cn();while(Tt!==null);if(H&6)throw Error(M(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(M(177));e.callbackNode=null,e.callbackPriority=0;var l=n.lanes|n.childLanes;if(xh(e,l),e===oe&&(ne=oe=null,ae=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||ri||(ri=!0,Bf(Mi,function(){return Cn(),null})),l=(n.flags&15990)!==0,n.subtreeFlags&15990||l){l=Ue.transition,Ue.transition=null;var o=W;W=1;var u=H;H|=4,$u.current=null,Rp(e,n),Af(n,e),lp(So),ji=!!ko,So=ko=null,e.current=n,Ap(n),ch(),H=u,W=o,Ue.transition=l}else e.current=n;if(ri&&(ri=!1,Tt=e,Yi=i),l=e.pendingLanes,l===0&&(Dt=null),hh(n.stateNode),Me(e,te()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Xi)throw Xi=!1,e=Bo,Bo=null,e;return Yi&1&&e.tag!==0&&Cn(),l=e.pendingLanes,l&1?e===Wo?fr++:(fr=0,Wo=e):fr=0,Ht(),null}function Cn(){if(Tt!==null){var e=xc(Yi),t=Ue.transition,n=W;try{if(Ue.transition=null,W=16>e?16:e,Tt===null)var r=!1;else{if(e=Tt,Tt=null,Yi=0,H&6)throw Error(M(331));var i=H;for(H|=4,R=e.current;R!==null;){var l=R,o=l.child;if(R.flags&16){var u=l.deletions;if(u!==null){for(var s=0;s<u.length;s++){var a=u[s];for(R=a;R!==null;){var c=R;switch(c.tag){case 0:case 11:case 15:ar(8,c,l)}var m=c.child;if(m!==null)m.return=c,R=m;else for(;R!==null;){c=R;var d=c.sibling,v=c.return;if(jf(c),c===a){R=null;break}if(d!==null){d.return=v,R=d;break}R=v}}}var x=l.alternate;if(x!==null){var y=x.child;if(y!==null){x.child=null;do{var _=y.sibling;y.sibling=null,y=_}while(y!==null)}}R=l}}if(l.subtreeFlags&2064&&o!==null)o.return=l,R=o;else e:for(;R!==null;){if(l=R,l.flags&2048)switch(l.tag){case 0:case 11:case 15:ar(9,l,l.return)}var f=l.sibling;if(f!==null){f.return=l.return,R=f;break e}R=l.return}}var h=e.current;for(R=h;R!==null;){o=R;var p=o.child;if(o.subtreeFlags&2064&&p!==null)p.return=o,R=p;else e:for(o=h;R!==null;){if(u=R,u.flags&2048)try{switch(u.tag){case 0:case 11:case 15:fl(9,u)}}catch(N){ee(u,u.return,N)}if(u===o){R=null;break e}var g=u.sibling;if(g!==null){g.return=u.return,R=g;break e}R=u.return}}if(H=i,Ht(),nt&&typeof nt.onPostCommitFiberRoot=="function")try{nt.onPostCommitFiberRoot(rl,e)}catch{}r=!0}return r}finally{W=n,Ue.transition=t}}return!1}function aa(e,t,n){t=An(n,t),t=wf(e,t,1),e=At(e,t,1),t=we(),e!==null&&(Dr(e,1,t),Me(e,t))}function ee(e,t,n){if(e.tag===3)aa(e,e,n);else for(;t!==null;){if(t.tag===3){aa(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Dt===null||!Dt.has(r))){e=An(n,e),e=_f(t,e,1),t=At(t,e,1),e=we(),t!==null&&(Dr(t,1,e),Me(t,e));break}}t=t.return}}function Up(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=we(),e.pingedLanes|=e.suspendedLanes&n,oe===e&&(ae&n)===n&&(ie===4||ie===3&&(ae&130023424)===ae&&500>te()-Uu?Gt(e,0):Fu|=n),Me(e,t)}function Vf(e,t){t===0&&(e.mode&1?(t=Yr,Yr<<=1,!(Yr&130023424)&&(Yr=4194304)):t=1);var n=we();e=vt(e,t),e!==null&&(Dr(e,t,n),Me(e,n))}function Vp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Vf(e,n)}function Hp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),Vf(e,n)}var Hf;Hf=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ze.current)Ee=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ee=!1,Mp(e,t,n);Ee=!!(e.flags&131072)}else Ee=!1,G&&t.flags&1048576&&Qc(t,$i,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;yi(e,t),e=t.pendingProps;var i=Pn(t,me.current);En(t,n),i=Ru(null,t,r,e,i,n);var l=Au();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Te(r)?(l=!0,Ii(t)):l=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Tu(t),i.updater=cl,t.stateNode=i,i._reactInternals=t,Lo(t,r,e,n),t=Do(null,t,r,!0,l,n)):(t.tag=0,G&&l&&_u(t),ye(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(yi(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Wp(r),e=We(r,e),i){case 0:t=Ao(null,t,r,e,n);break e;case 1:t=bs(null,t,r,e,n);break e;case 11:t=Js(null,t,r,e,n);break e;case 14:t=qs(null,t,r,We(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),Ao(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),bs(e,t,r,i,n);case 3:e:{if(Ef(t),e===null)throw Error(M(387));r=t.pendingProps,l=t.memoizedState,i=l.element,Jc(e,t),Vi(t,r,null,n);var o=t.memoizedState;if(r=o.element,l.isDehydrated)if(l={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){i=An(Error(M(423)),t),t=ea(e,t,r,n,i);break e}else if(r!==i){i=An(Error(M(424)),t),t=ea(e,t,r,n,i);break e}else for(je=Rt(t.stateNode.containerInfo.firstChild),Le=t,G=!0,Xe=null,n=Gc(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(jn(),r===i){t=yt(e,t,n);break e}ye(e,t,r,n)}t=t.child}return t;case 5:return qc(t),e===null&&Mo(t),r=t.type,i=t.pendingProps,l=e!==null?e.memoizedProps:null,o=i.children,No(r,i)?o=null:l!==null&&No(r,l)&&(t.flags|=32),Nf(e,t),ye(e,t,o,n),t.child;case 6:return e===null&&Mo(t),null;case 13:return Cf(e,t,n);case 4:return Mu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ln(t,null,r,n):ye(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),Js(e,t,r,i,n);case 7:return ye(e,t,t.pendingProps,n),t.child;case 8:return ye(e,t,t.pendingProps.children,n),t.child;case 12:return ye(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,l=t.memoizedProps,o=i.value,Q(Fi,r._currentValue),r._currentValue=o,l!==null)if(Ze(l.value,o)){if(l.children===i.children&&!ze.current){t=yt(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var u=l.dependencies;if(u!==null){o=l.child;for(var s=u.firstContext;s!==null;){if(s.context===r){if(l.tag===1){s=pt(-1,n&-n),s.tag=2;var a=l.updateQueue;if(a!==null){a=a.shared;var c=a.pending;c===null?s.next=s:(s.next=c.next,c.next=s),a.pending=s}}l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),Po(l.return,n,t),u.lanes|=n;break}s=s.next}}else if(l.tag===10)o=l.type===t.type?null:l.child;else if(l.tag===18){if(o=l.return,o===null)throw Error(M(341));o.lanes|=n,u=o.alternate,u!==null&&(u.lanes|=n),Po(o,n,t),o=l.sibling}else o=l.child;if(o!==null)o.return=l;else for(o=l;o!==null;){if(o===t){o=null;break}if(l=o.sibling,l!==null){l.return=o.return,o=l;break}o=o.return}l=o}ye(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,En(t,n),i=Ve(i),r=r(i),t.flags|=1,ye(e,t,r,n),t.child;case 14:return r=t.type,i=We(r,t.pendingProps),i=We(r.type,i),qs(e,t,r,i,n);case 15:return kf(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:We(r,i),yi(e,t),t.tag=1,Te(r)?(e=!0,Ii(t)):e=!1,En(t,n),xf(t,r,i),Lo(t,r,i,n),Do(null,t,r,!0,e,n);case 19:return zf(e,t,n);case 22:return Sf(e,t,n)}throw Error(M(156,t.tag))};function Bf(e,t){return mc(e,t)}function Bp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Fe(e,t,n,r){return new Bp(e,t,n,r)}function Wu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Wp(e){if(typeof e=="function")return Wu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===au)return 11;if(e===cu)return 14}return 2}function Ot(e,t){var n=e.alternate;return n===null?(n=Fe(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function _i(e,t,n,r,i,l){var o=2;if(r=e,typeof e=="function")Wu(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case cn:return Zt(n.children,i,l,t);case su:o=8,i|=8;break;case to:return e=Fe(12,n,t,i|2),e.elementType=to,e.lanes=l,e;case no:return e=Fe(13,n,t,i),e.elementType=no,e.lanes=l,e;case ro:return e=Fe(19,n,t,i),e.elementType=ro,e.lanes=l,e;case qa:return hl(n,i,l,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Za:o=10;break e;case Ja:o=9;break e;case au:o=11;break e;case cu:o=14;break e;case kt:o=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=Fe(o,n,t,i),t.elementType=e,t.type=r,t.lanes=l,t}function Zt(e,t,n,r){return e=Fe(7,e,r,t),e.lanes=n,e}function hl(e,t,n,r){return e=Fe(22,e,r,t),e.elementType=qa,e.lanes=n,e.stateNode={isHidden:!1},e}function Xl(e,t,n){return e=Fe(6,e,null,t),e.lanes=n,e}function Yl(e,t,n){return t=Fe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Qp(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=zl(0),this.expirationTimes=zl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Qu(e,t,n,r,i,l,o,u,s){return e=new Qp(e,t,n,u,s),t===1?(t=1,l===!0&&(t|=8)):t=0,l=Fe(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Tu(l),e}function Xp(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:an,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Wf(e){if(!e)return Ft;e=e._reactInternals;e:{if(un(e)!==e||e.tag!==1)throw Error(M(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Te(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(M(171))}if(e.tag===1){var n=e.type;if(Te(n))return Bc(e,n,t)}return t}function Qf(e,t,n,r,i,l,o,u,s){return e=Qu(n,r,!0,e,i,l,o,u,s),e.context=Wf(null),n=e.current,r=we(),i=It(n),l=pt(r,i),l.callback=t??null,At(n,l,i),e.current.lanes=i,Dr(e,i,r),Me(e,r),e}function pl(e,t,n,r){var i=t.current,l=we(),o=It(i);return n=Wf(n),t.context===null?t.context=n:t.pendingContext=n,t=pt(l,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=At(i,t,o),e!==null&&(Ge(e,i,o,l),mi(e,i,o)),o}function Gi(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function ca(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Xu(e,t){ca(e,t),(e=e.alternate)&&ca(e,t)}function Yp(){return null}var Xf=typeof reportError=="function"?reportError:function(e){console.error(e)};function Yu(e){this._internalRoot=e}ml.prototype.render=Yu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(M(409));pl(e,t,null,null)};ml.prototype.unmount=Yu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;rn(function(){pl(null,e,null,null)}),t[gt]=null}};function ml(e){this._internalRoot=e}ml.prototype.unstable_scheduleHydration=function(e){if(e){var t=kc();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Et.length&&t!==0&&t<Et[n].priority;n++);Et.splice(n,0,e),n===0&&Nc(e)}};function Ku(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function gl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function fa(){}function Kp(e,t,n,r,i){if(i){if(typeof r=="function"){var l=r;r=function(){var a=Gi(o);l.call(a)}}var o=Qf(t,r,e,0,null,!1,!1,"",fa);return e._reactRootContainer=o,e[gt]=o.current,wr(e.nodeType===8?e.parentNode:e),rn(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var u=r;r=function(){var a=Gi(s);u.call(a)}}var s=Qu(e,0,!1,null,null,!1,!1,"",fa);return e._reactRootContainer=s,e[gt]=s.current,wr(e.nodeType===8?e.parentNode:e),rn(function(){pl(t,s,n,r)}),s}function vl(e,t,n,r,i){var l=n._reactRootContainer;if(l){var o=l;if(typeof i=="function"){var u=i;i=function(){var s=Gi(o);u.call(s)}}pl(t,o,e,i)}else o=Kp(n,t,e,i,r);return Gi(o)}wc=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=bn(t.pendingLanes);n!==0&&(hu(t,n|1),Me(t,te()),!(H&6)&&(Dn=te()+500,Ht()))}break;case 13:rn(function(){var r=vt(e,1);if(r!==null){var i=we();Ge(r,e,1,i)}}),Xu(e,1)}};pu=function(e){if(e.tag===13){var t=vt(e,134217728);if(t!==null){var n=we();Ge(t,e,134217728,n)}Xu(e,134217728)}};_c=function(e){if(e.tag===13){var t=It(e),n=vt(e,t);if(n!==null){var r=we();Ge(n,e,t,r)}Xu(e,t)}};kc=function(){return W};Sc=function(e,t){var n=W;try{return W=e,t()}finally{W=n}};po=function(e,t,n){switch(t){case"input":if(oo(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=ul(r);if(!i)throw Error(M(90));ec(r),oo(r,i)}}}break;case"textarea":nc(e,n);break;case"select":t=n.value,t!=null&&_n(e,!!n.multiple,t,!1)}};ac=Vu;cc=rn;var Gp={usingClientEntryPoint:!1,Events:[Or,pn,ul,uc,sc,Vu]},Kn={findFiberByHostInstance:Qt,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Zp={bundleType:Kn.bundleType,version:Kn.version,rendererPackageName:Kn.rendererPackageName,rendererConfig:Kn.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:wt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=hc(e),e===null?null:e.stateNode},findFiberByHostInstance:Kn.findFiberByHostInstance||Yp,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ii=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ii.isDisabled&&ii.supportsFiber)try{rl=ii.inject(Zp),nt=ii}catch{}}De.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Gp;De.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ku(t))throw Error(M(200));return Xp(e,t,null,n)};De.createRoot=function(e,t){if(!Ku(e))throw Error(M(299));var n=!1,r="",i=Xf;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Qu(e,1,!1,null,null,n,!1,r,i),e[gt]=t.current,wr(e.nodeType===8?e.parentNode:e),new Yu(t)};De.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(M(188)):(e=Object.keys(e).join(","),Error(M(268,e)));return e=hc(t),e=e===null?null:e.stateNode,e};De.flushSync=function(e){return rn(e)};De.hydrate=function(e,t,n){if(!gl(t))throw Error(M(200));return vl(null,e,t,!0,n)};De.hydrateRoot=function(e,t,n){if(!Ku(e))throw Error(M(405));var r=n!=null&&n.hydratedSources||null,i=!1,l="",o=Xf;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(l=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=Qf(t,null,e,1,n??null,i,!1,l,o),e[gt]=t.current,wr(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new ml(t)};De.render=function(e,t,n){if(!gl(t))throw Error(M(200));return vl(null,e,t,!1,n)};De.unmountComponentAtNode=function(e){if(!gl(e))throw Error(M(40));return e._reactRootContainer?(rn(function(){vl(null,null,e,!1,function(){e._reactRootContainer=null,e[gt]=null})}),!0):!1};De.unstable_batchedUpdates=Vu;De.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!gl(n))throw Error(M(200));if(e==null||e._reactInternals===void 0)throw Error(M(38));return vl(e,t,n,!1,r)};De.version="18.3.1-next-f1338f8080-20240426";function Yf(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Yf)}catch(e){console.error(e)}}Yf(),Xa.exports=De;var Jp=Xa.exports,da=Jp;bl.createRoot=da.createRoot,bl.hydrateRoot=da.hydrateRoot;var qp={value:()=>{}};function Fr(){for(var e=0,t=arguments.length,n={},r;e<t;++e){if(!(r=arguments[e]+"")||r in n||/[\s.]/.test(r))throw new Error("illegal type: "+r);n[r]=[]}return new ki(n)}function ki(e){this._=e}function bp(e,t){return e.trim().split(/^|\s+/).map(function(n){var r="",i=n.indexOf(".");if(i>=0&&(r=n.slice(i+1),n=n.slice(0,i)),n&&!t.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:r}})}ki.prototype=Fr.prototype={constructor:ki,on:function(e,t){var n=this._,r=bp(e+"",n),i,l=-1,o=r.length;if(arguments.length<2){for(;++l<o;)if((i=(e=r[l]).type)&&(i=em(n[i],e.name)))return i;return}if(t!=null&&typeof t!="function")throw new Error("invalid callback: "+t);for(;++l<o;)if(i=(e=r[l]).type)n[i]=ha(n[i],e.name,t);else if(t==null)for(i in n)n[i]=ha(n[i],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new ki(e)},call:function(e,t){if((i=arguments.length-2)>0)for(var n=new Array(i),r=0,i,l;r<i;++r)n[r]=arguments[r+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(l=this._[e],r=0,i=l.length;r<i;++r)l[r].value.apply(t,n)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],i=0,l=r.length;i<l;++i)r[i].value.apply(t,n)}};function em(e,t){for(var n=0,r=e.length,i;n<r;++n)if((i=e[n]).name===t)return i.value}function ha(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=qp,e=e.slice(0,r).concat(e.slice(r+1));break}return n!=null&&e.push({name:t,value:n}),e}var Yo="http://www.w3.org/1999/xhtml";const pa={svg:"http://www.w3.org/2000/svg",xhtml:Yo,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function yl(e){var t=e+="",n=t.indexOf(":");return n>=0&&(t=e.slice(0,n))!=="xmlns"&&(e=e.slice(n+1)),pa.hasOwnProperty(t)?{space:pa[t],local:e}:e}function tm(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===Yo&&t.documentElement.namespaceURI===Yo?t.createElement(e):t.createElementNS(n,e)}}function nm(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Kf(e){var t=yl(e);return(t.local?nm:tm)(t)}function rm(){}function Gu(e){return e==null?rm:function(){return this.querySelector(e)}}function im(e){typeof e!="function"&&(e=Gu(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var l=t[i],o=l.length,u=r[i]=new Array(o),s,a,c=0;c<o;++c)(s=l[c])&&(a=e.call(s,s.__data__,c,l))&&("__data__"in s&&(a.__data__=s.__data__),u[c]=a);return new Ae(r,this._parents)}function lm(e){return e==null?[]:Array.isArray(e)?e:Array.from(e)}function om(){return[]}function Gf(e){return e==null?om:function(){return this.querySelectorAll(e)}}function um(e){return function(){return lm(e.apply(this,arguments))}}function sm(e){typeof e=="function"?e=um(e):e=Gf(e);for(var t=this._groups,n=t.length,r=[],i=[],l=0;l<n;++l)for(var o=t[l],u=o.length,s,a=0;a<u;++a)(s=o[a])&&(r.push(e.call(s,s.__data__,a,o)),i.push(s));return new Ae(r,i)}function Zf(e){return function(){return this.matches(e)}}function Jf(e){return function(t){return t.matches(e)}}var am=Array.prototype.find;function cm(e){return function(){return am.call(this.children,e)}}function fm(){return this.firstElementChild}function dm(e){return this.select(e==null?fm:cm(typeof e=="function"?e:Jf(e)))}var hm=Array.prototype.filter;function pm(){return Array.from(this.children)}function mm(e){return function(){return hm.call(this.children,e)}}function gm(e){return this.selectAll(e==null?pm:mm(typeof e=="function"?e:Jf(e)))}function vm(e){typeof e!="function"&&(e=Zf(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var l=t[i],o=l.length,u=r[i]=[],s,a=0;a<o;++a)(s=l[a])&&e.call(s,s.__data__,a,l)&&u.push(s);return new Ae(r,this._parents)}function qf(e){return new Array(e.length)}function ym(){return new Ae(this._enter||this._groups.map(qf),this._parents)}function Zi(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}Zi.prototype={constructor:Zi,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};function xm(e){return function(){return e}}function wm(e,t,n,r,i,l){for(var o=0,u,s=t.length,a=l.length;o<a;++o)(u=t[o])?(u.__data__=l[o],r[o]=u):n[o]=new Zi(e,l[o]);for(;o<s;++o)(u=t[o])&&(i[o]=u)}function _m(e,t,n,r,i,l,o){var u,s,a=new Map,c=t.length,m=l.length,d=new Array(c),v;for(u=0;u<c;++u)(s=t[u])&&(d[u]=v=o.call(s,s.__data__,u,t)+"",a.has(v)?i[u]=s:a.set(v,s));for(u=0;u<m;++u)v=o.call(e,l[u],u,l)+"",(s=a.get(v))?(r[u]=s,s.__data__=l[u],a.delete(v)):n[u]=new Zi(e,l[u]);for(u=0;u<c;++u)(s=t[u])&&a.get(d[u])===s&&(i[u]=s)}function km(e){return e.__data__}function Sm(e,t){if(!arguments.length)return Array.from(this,km);var n=t?_m:wm,r=this._parents,i=this._groups;typeof e!="function"&&(e=xm(e));for(var l=i.length,o=new Array(l),u=new Array(l),s=new Array(l),a=0;a<l;++a){var c=r[a],m=i[a],d=m.length,v=Nm(e.call(c,c&&c.__data__,a,r)),x=v.length,y=u[a]=new Array(x),_=o[a]=new Array(x),f=s[a]=new Array(d);n(c,m,y,_,f,v,t);for(var h=0,p=0,g,N;h<x;++h)if(g=y[h]){for(h>=p&&(p=h+1);!(N=_[p])&&++p<x;);g._next=N||null}}return o=new Ae(o,r),o._enter=u,o._exit=s,o}function Nm(e){return typeof e=="object"&&"length"in e?e:Array.from(e)}function Em(){return new Ae(this._exit||this._groups.map(qf),this._parents)}function Cm(e,t,n){var r=this.enter(),i=this,l=this.exit();return typeof e=="function"?(r=e(r),r&&(r=r.selection())):r=r.append(e+""),t!=null&&(i=t(i),i&&(i=i.selection())),n==null?l.remove():n(l),r&&i?r.merge(i).order():i}function zm(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,l=r.length,o=Math.min(i,l),u=new Array(i),s=0;s<o;++s)for(var a=n[s],c=r[s],m=a.length,d=u[s]=new Array(m),v,x=0;x<m;++x)(v=a[x]||c[x])&&(d[x]=v);for(;s<i;++s)u[s]=n[s];return new Ae(u,this._parents)}function Tm(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r=e[t],i=r.length-1,l=r[i],o;--i>=0;)(o=r[i])&&(l&&o.compareDocumentPosition(l)^4&&l.parentNode.insertBefore(o,l),l=o);return this}function Mm(e){e||(e=Pm);function t(m,d){return m&&d?e(m.__data__,d.__data__):!m-!d}for(var n=this._groups,r=n.length,i=new Array(r),l=0;l<r;++l){for(var o=n[l],u=o.length,s=i[l]=new Array(u),a,c=0;c<u;++c)(a=o[c])&&(s[c]=a);s.sort(t)}return new Ae(i,this._parents).order()}function Pm(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function jm(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this}function Lm(){return Array.from(this)}function Rm(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,l=r.length;i<l;++i){var o=r[i];if(o)return o}return null}function Am(){let e=0;for(const t of this)++e;return e}function Dm(){return!this.node()}function Im(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i=t[n],l=0,o=i.length,u;l<o;++l)(u=i[l])&&e.call(u,u.__data__,l,i);return this}function Om(e){return function(){this.removeAttribute(e)}}function $m(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Fm(e,t){return function(){this.setAttribute(e,t)}}function Um(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function Vm(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttribute(e):this.setAttribute(e,n)}}function Hm(e,t){return function(){var n=t.apply(this,arguments);n==null?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function Bm(e,t){var n=yl(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((t==null?n.local?$m:Om:typeof t=="function"?n.local?Hm:Vm:n.local?Um:Fm)(n,t))}function bf(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function Wm(e){return function(){this.style.removeProperty(e)}}function Qm(e,t,n){return function(){this.style.setProperty(e,t,n)}}function Xm(e,t,n){return function(){var r=t.apply(this,arguments);r==null?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function Ym(e,t,n){return arguments.length>1?this.each((t==null?Wm:typeof t=="function"?Xm:Qm)(e,t,n??"")):In(this.node(),e)}function In(e,t){return e.style.getPropertyValue(t)||bf(e).getComputedStyle(e,null).getPropertyValue(t)}function Km(e){return function(){delete this[e]}}function Gm(e,t){return function(){this[e]=t}}function Zm(e,t){return function(){var n=t.apply(this,arguments);n==null?delete this[e]:this[e]=n}}function Jm(e,t){return arguments.length>1?this.each((t==null?Km:typeof t=="function"?Zm:Gm)(e,t)):this.node()[e]}function ed(e){return e.trim().split(/^|\s+/)}function Zu(e){return e.classList||new td(e)}function td(e){this._node=e,this._names=ed(e.getAttribute("class")||"")}td.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};function nd(e,t){for(var n=Zu(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function rd(e,t){for(var n=Zu(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function qm(e){return function(){nd(this,e)}}function bm(e){return function(){rd(this,e)}}function e0(e,t){return function(){(t.apply(this,arguments)?nd:rd)(this,e)}}function t0(e,t){var n=ed(e+"");if(arguments.length<2){for(var r=Zu(this.node()),i=-1,l=n.length;++i<l;)if(!r.contains(n[i]))return!1;return!0}return this.each((typeof t=="function"?e0:t?qm:bm)(n,t))}function n0(){this.textContent=""}function r0(e){return function(){this.textContent=e}}function i0(e){return function(){var t=e.apply(this,arguments);this.textContent=t??""}}function l0(e){return arguments.length?this.each(e==null?n0:(typeof e=="function"?i0:r0)(e)):this.node().textContent}function o0(){this.innerHTML=""}function u0(e){return function(){this.innerHTML=e}}function s0(e){return function(){var t=e.apply(this,arguments);this.innerHTML=t??""}}function a0(e){return arguments.length?this.each(e==null?o0:(typeof e=="function"?s0:u0)(e)):this.node().innerHTML}function c0(){this.nextSibling&&this.parentNode.appendChild(this)}function f0(){return this.each(c0)}function d0(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function h0(){return this.each(d0)}function p0(e){var t=typeof e=="function"?e:Kf(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})}function m0(){return null}function g0(e,t){var n=typeof e=="function"?e:Kf(e),r=t==null?m0:typeof t=="function"?t:Gu(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})}function v0(){var e=this.parentNode;e&&e.removeChild(this)}function y0(){return this.each(v0)}function x0(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function w0(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function _0(e){return this.select(e?w0:x0)}function k0(e){return arguments.length?this.property("__data__",e):this.node().__data__}function S0(e){return function(t){e.call(this,t,this.__data__)}}function N0(e){return e.trim().split(/^|\s+/).map(function(t){var n="",r=t.indexOf(".");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{type:t,name:n}})}function E0(e){return function(){var t=this.__on;if(t){for(var n=0,r=-1,i=t.length,l;n<i;++n)l=t[n],(!e.type||l.type===e.type)&&l.name===e.name?this.removeEventListener(l.type,l.listener,l.options):t[++r]=l;++r?t.length=r:delete this.__on}}}function C0(e,t,n){return function(){var r=this.__on,i,l=S0(t);if(r){for(var o=0,u=r.length;o<u;++o)if((i=r[o]).type===e.type&&i.name===e.name){this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=l,i.options=n),i.value=t;return}}this.addEventListener(e.type,l,n),i={type:e.type,name:e.name,value:t,listener:l,options:n},r?r.push(i):this.__on=[i]}}function z0(e,t,n){var r=N0(e+""),i,l=r.length,o;if(arguments.length<2){var u=this.node().__on;if(u){for(var s=0,a=u.length,c;s<a;++s)for(i=0,c=u[s];i<l;++i)if((o=r[i]).type===c.type&&o.name===c.name)return c.value}return}for(u=t?C0:E0,i=0;i<l;++i)this.each(u(r[i],t,n));return this}function id(e,t,n){var r=bf(e),i=r.CustomEvent;typeof i=="function"?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}function T0(e,t){return function(){return id(this,e,t)}}function M0(e,t){return function(){return id(this,e,t.apply(this,arguments))}}function P0(e,t){return this.each((typeof t=="function"?M0:T0)(e,t))}function*j0(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,l=r.length,o;i<l;++i)(o=r[i])&&(yield o)}var ld=[null];function Ae(e,t){this._groups=e,this._parents=t}function Ur(){return new Ae([[document.documentElement]],ld)}function L0(){return this}Ae.prototype=Ur.prototype={constructor:Ae,select:im,selectAll:sm,selectChild:dm,selectChildren:gm,filter:vm,data:Sm,enter:ym,exit:Em,join:Cm,merge:zm,selection:L0,order:Tm,sort:Mm,call:jm,nodes:Lm,node:Rm,size:Am,empty:Dm,each:Im,attr:Bm,style:Ym,property:Jm,classed:t0,text:l0,html:a0,raise:f0,lower:h0,append:p0,insert:g0,remove:y0,clone:_0,datum:k0,on:z0,dispatch:P0,[Symbol.iterator]:j0};function tt(e){return typeof e=="string"?new Ae([[document.querySelector(e)]],[document.documentElement]):new Ae([[e]],ld)}function R0(e){let t;for(;t=e.sourceEvent;)e=t;return e}function at(e,t){if(e=R0(e),t===void 0&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,r=r.matrixTransform(t.getScreenCTM().inverse()),[r.x,r.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}const A0={passive:!1},Mr={capture:!0,passive:!1};function Kl(e){e.stopImmediatePropagation()}function zn(e){e.preventDefault(),e.stopImmediatePropagation()}function od(e){var t=e.document.documentElement,n=tt(e).on("dragstart.drag",zn,Mr);"onselectstart"in t?n.on("selectstart.drag",zn,Mr):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}function ud(e,t){var n=e.document.documentElement,r=tt(e).on("dragstart.drag",null);t&&(r.on("click.drag",zn,Mr),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}const li=e=>()=>e;function Ko(e,{sourceEvent:t,subject:n,target:r,identifier:i,active:l,x:o,y:u,dx:s,dy:a,dispatch:c}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:l,enumerable:!0,configurable:!0},x:{value:o,enumerable:!0,configurable:!0},y:{value:u,enumerable:!0,configurable:!0},dx:{value:s,enumerable:!0,configurable:!0},dy:{value:a,enumerable:!0,configurable:!0},_:{value:c}})}Ko.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};function D0(e){return!e.ctrlKey&&!e.button}function I0(){return this.parentNode}function O0(e,t){return t??{x:e.x,y:e.y}}function $0(){return navigator.maxTouchPoints||"ontouchstart"in this}function F0(){var e=D0,t=I0,n=O0,r=$0,i={},l=Fr("start","drag","end"),o=0,u,s,a,c,m=0;function d(g){g.on("mousedown.drag",v).filter(r).on("touchstart.drag",_).on("touchmove.drag",f,A0).on("touchend.drag touchcancel.drag",h).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function v(g,N){if(!(c||!e.call(this,g,N))){var S=p(this,t.call(this,g,N),g,N,"mouse");S&&(tt(g.view).on("mousemove.drag",x,Mr).on("mouseup.drag",y,Mr),od(g.view),Kl(g),a=!1,u=g.clientX,s=g.clientY,S("start",g))}}function x(g){if(zn(g),!a){var N=g.clientX-u,S=g.clientY-s;a=N*N+S*S>m}i.mouse("drag",g)}function y(g){tt(g.view).on("mousemove.drag mouseup.drag",null),ud(g.view,a),zn(g),i.mouse("end",g)}function _(g,N){if(e.call(this,g,N)){var S=g.changedTouches,E=t.call(this,g,N),z=S.length,I,P;for(I=0;I<z;++I)(P=p(this,E,g,N,S[I].identifier,S[I]))&&(Kl(g),P("start",g,S[I]))}}function f(g){var N=g.changedTouches,S=N.length,E,z;for(E=0;E<S;++E)(z=i[N[E].identifier])&&(zn(g),z("drag",g,N[E]))}function h(g){var N=g.changedTouches,S=N.length,E,z;for(c&&clearTimeout(c),c=setTimeout(function(){c=null},500),E=0;E<S;++E)(z=i[N[E].identifier])&&(Kl(g),z("end",g,N[E]))}function p(g,N,S,E,z,I){var P=l.copy(),$=at(I||S,N),B,Z,k;if((k=n.call(g,new Ko("beforestart",{sourceEvent:S,target:d,identifier:z,active:o,x:$[0],y:$[1],dx:0,dy:0,dispatch:P}),E))!=null)return B=k.x-$[0]||0,Z=k.y-$[1]||0,function A(T,D,C){var j=$,L;switch(T){case"start":i[z]=A,L=o++;break;case"end":delete i[z],--o;case"drag":$=at(C||D,N),L=o;break}P.call(T,g,new Ko(T,{sourceEvent:D,subject:k,target:d,identifier:z,active:L,x:$[0]+B,y:$[1]+Z,dx:$[0]-j[0],dy:$[1]-j[1],dispatch:P}),E)}}return d.filter=function(g){return arguments.length?(e=typeof g=="function"?g:li(!!g),d):e},d.container=function(g){return arguments.length?(t=typeof g=="function"?g:li(g),d):t},d.subject=function(g){return arguments.length?(n=typeof g=="function"?g:li(g),d):n},d.touchable=function(g){return arguments.length?(r=typeof g=="function"?g:li(!!g),d):r},d.on=function(){var g=l.on.apply(l,arguments);return g===l?d:g},d.clickDistance=function(g){return arguments.length?(m=(g=+g)*g,d):Math.sqrt(m)},d}function Ju(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function sd(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Vr(){}var Pr=.7,Ji=1/Pr,Tn="\\s*([+-]?\\d+)\\s*",jr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",it="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",U0=/^#([0-9a-f]{3,8})$/,V0=new RegExp(`^rgb\\(${Tn},${Tn},${Tn}\\)$`),H0=new RegExp(`^rgb\\(${it},${it},${it}\\)$`),B0=new RegExp(`^rgba\\(${Tn},${Tn},${Tn},${jr}\\)$`),W0=new RegExp(`^rgba\\(${it},${it},${it},${jr}\\)$`),Q0=new RegExp(`^hsl\\(${jr},${it},${it}\\)$`),X0=new RegExp(`^hsla\\(${jr},${it},${it},${jr}\\)$`),ma={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Ju(Vr,Lr,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:ga,formatHex:ga,formatHex8:Y0,formatHsl:K0,formatRgb:va,toString:va});function ga(){return this.rgb().formatHex()}function Y0(){return this.rgb().formatHex8()}function K0(){return ad(this).formatHsl()}function va(){return this.rgb().formatRgb()}function Lr(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=U0.exec(e))?(n=t[1].length,t=parseInt(t[1],16),n===6?ya(t):n===3?new Ce(t>>8&15|t>>4&240,t>>4&15|t&240,(t&15)<<4|t&15,1):n===8?oi(t>>24&255,t>>16&255,t>>8&255,(t&255)/255):n===4?oi(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|t&240,((t&15)<<4|t&15)/255):null):(t=V0.exec(e))?new Ce(t[1],t[2],t[3],1):(t=H0.exec(e))?new Ce(t[1]*255/100,t[2]*255/100,t[3]*255/100,1):(t=B0.exec(e))?oi(t[1],t[2],t[3],t[4]):(t=W0.exec(e))?oi(t[1]*255/100,t[2]*255/100,t[3]*255/100,t[4]):(t=Q0.exec(e))?_a(t[1],t[2]/100,t[3]/100,1):(t=X0.exec(e))?_a(t[1],t[2]/100,t[3]/100,t[4]):ma.hasOwnProperty(e)?ya(ma[e]):e==="transparent"?new Ce(NaN,NaN,NaN,0):null}function ya(e){return new Ce(e>>16&255,e>>8&255,e&255,1)}function oi(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ce(e,t,n,r)}function G0(e){return e instanceof Vr||(e=Lr(e)),e?(e=e.rgb(),new Ce(e.r,e.g,e.b,e.opacity)):new Ce}function Go(e,t,n,r){return arguments.length===1?G0(e):new Ce(e,t,n,r??1)}function Ce(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}Ju(Ce,Go,sd(Vr,{brighter(e){return e=e==null?Ji:Math.pow(Ji,e),new Ce(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=e==null?Pr:Math.pow(Pr,e),new Ce(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Ce(Jt(this.r),Jt(this.g),Jt(this.b),qi(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:xa,formatHex:xa,formatHex8:Z0,formatRgb:wa,toString:wa}));function xa(){return`#${Kt(this.r)}${Kt(this.g)}${Kt(this.b)}`}function Z0(){return`#${Kt(this.r)}${Kt(this.g)}${Kt(this.b)}${Kt((isNaN(this.opacity)?1:this.opacity)*255)}`}function wa(){const e=qi(this.opacity);return`${e===1?"rgb(":"rgba("}${Jt(this.r)}, ${Jt(this.g)}, ${Jt(this.b)}${e===1?")":`, ${e})`}`}function qi(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Jt(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Kt(e){return e=Jt(e),(e<16?"0":"")+e.toString(16)}function _a(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ye(e,t,n,r)}function ad(e){if(e instanceof Ye)return new Ye(e.h,e.s,e.l,e.opacity);if(e instanceof Vr||(e=Lr(e)),!e)return new Ye;if(e instanceof Ye)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),l=Math.max(t,n,r),o=NaN,u=l-i,s=(l+i)/2;return u?(t===l?o=(n-r)/u+(n<r)*6:n===l?o=(r-t)/u+2:o=(t-n)/u+4,u/=s<.5?l+i:2-l-i,o*=60):u=s>0&&s<1?0:o,new Ye(o,u,s,e.opacity)}function J0(e,t,n,r){return arguments.length===1?ad(e):new Ye(e,t,n,r??1)}function Ye(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}Ju(Ye,J0,sd(Vr,{brighter(e){return e=e==null?Ji:Math.pow(Ji,e),new Ye(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=e==null?Pr:Math.pow(Pr,e),new Ye(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new Ce(Gl(e>=240?e-240:e+120,i,r),Gl(e,i,r),Gl(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new Ye(ka(this.h),ui(this.s),ui(this.l),qi(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=qi(this.opacity);return`${e===1?"hsl(":"hsla("}${ka(this.h)}, ${ui(this.s)*100}%, ${ui(this.l)*100}%${e===1?")":`, ${e})`}`}}));function ka(e){return e=(e||0)%360,e<0?e+360:e}function ui(e){return Math.max(0,Math.min(1,e||0))}function Gl(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}const cd=e=>()=>e;function q0(e,t){return function(n){return e+n*t}}function b0(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function eg(e){return(e=+e)==1?fd:function(t,n){return n-t?b0(t,n,e):cd(isNaN(t)?n:t)}}function fd(e,t){var n=t-e;return n?q0(e,n):cd(isNaN(e)?t:e)}const Sa=function e(t){var n=eg(t);function r(i,l){var o=n((i=Go(i)).r,(l=Go(l)).r),u=n(i.g,l.g),s=n(i.b,l.b),a=fd(i.opacity,l.opacity);return function(c){return i.r=o(c),i.g=u(c),i.b=s(c),i.opacity=a(c),i+""}}return r.gamma=e,r}(1);function Nt(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}var Zo=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Zl=new RegExp(Zo.source,"g");function tg(e){return function(){return e}}function ng(e){return function(t){return e(t)+""}}function rg(e,t){var n=Zo.lastIndex=Zl.lastIndex=0,r,i,l,o=-1,u=[],s=[];for(e=e+"",t=t+"";(r=Zo.exec(e))&&(i=Zl.exec(t));)(l=i.index)>n&&(l=t.slice(n,l),u[o]?u[o]+=l:u[++o]=l),(r=r[0])===(i=i[0])?u[o]?u[o]+=i:u[++o]=i:(u[++o]=null,s.push({i:o,x:Nt(r,i)})),n=Zl.lastIndex;return n<t.length&&(l=t.slice(n),u[o]?u[o]+=l:u[++o]=l),u.length<2?s[0]?ng(s[0].x):tg(t):(t=s.length,function(a){for(var c=0,m;c<t;++c)u[(m=s[c]).i]=m.x(a);return u.join("")})}var Na=180/Math.PI,Jo={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function dd(e,t,n,r,i,l){var o,u,s;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(s=e*n+t*r)&&(n-=e*s,r-=t*s),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,s/=u),e*r<t*n&&(e=-e,t=-t,s=-s,o=-o),{translateX:i,translateY:l,rotate:Math.atan2(t,e)*Na,skewX:Math.atan(s)*Na,scaleX:o,scaleY:u}}var si;function ig(e){const t=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?Jo:dd(t.a,t.b,t.c,t.d,t.e,t.f)}function lg(e){return e==null||(si||(si=document.createElementNS("http://www.w3.org/2000/svg","g")),si.setAttribute("transform",e),!(e=si.transform.baseVal.consolidate()))?Jo:(e=e.matrix,dd(e.a,e.b,e.c,e.d,e.e,e.f))}function hd(e,t,n,r){function i(a){return a.length?a.pop()+" ":""}function l(a,c,m,d,v,x){if(a!==m||c!==d){var y=v.push("translate(",null,t,null,n);x.push({i:y-4,x:Nt(a,m)},{i:y-2,x:Nt(c,d)})}else(m||d)&&v.push("translate("+m+t+d+n)}function o(a,c,m,d){a!==c?(a-c>180?c+=360:c-a>180&&(a+=360),d.push({i:m.push(i(m)+"rotate(",null,r)-2,x:Nt(a,c)})):c&&m.push(i(m)+"rotate("+c+r)}function u(a,c,m,d){a!==c?d.push({i:m.push(i(m)+"skewX(",null,r)-2,x:Nt(a,c)}):c&&m.push(i(m)+"skewX("+c+r)}function s(a,c,m,d,v,x){if(a!==m||c!==d){var y=v.push(i(v)+"scale(",null,",",null,")");x.push({i:y-4,x:Nt(a,m)},{i:y-2,x:Nt(c,d)})}else(m!==1||d!==1)&&v.push(i(v)+"scale("+m+","+d+")")}return function(a,c){var m=[],d=[];return a=e(a),c=e(c),l(a.translateX,a.translateY,c.translateX,c.translateY,m,d),o(a.rotate,c.rotate,m,d),u(a.skewX,c.skewX,m,d),s(a.scaleX,a.scaleY,c.scaleX,c.scaleY,m,d),a=c=null,function(v){for(var x=-1,y=d.length,_;++x<y;)m[(_=d[x]).i]=_.x(v);return m.join("")}}}var og=hd(ig,"px, ","px)","deg)"),ug=hd(lg,", ",")",")"),sg=1e-12;function Ea(e){return((e=Math.exp(e))+1/e)/2}function ag(e){return((e=Math.exp(e))-1/e)/2}function cg(e){return((e=Math.exp(2*e))-1)/(e+1)}const fg=function e(t,n,r){function i(l,o){var u=l[0],s=l[1],a=l[2],c=o[0],m=o[1],d=o[2],v=c-u,x=m-s,y=v*v+x*x,_,f;if(y<sg)f=Math.log(d/a)/t,_=function(E){return[u+E*v,s+E*x,a*Math.exp(t*E*f)]};else{var h=Math.sqrt(y),p=(d*d-a*a+r*y)/(2*a*n*h),g=(d*d-a*a-r*y)/(2*d*n*h),N=Math.log(Math.sqrt(p*p+1)-p),S=Math.log(Math.sqrt(g*g+1)-g);f=(S-N)/t,_=function(E){var z=E*f,I=Ea(N),P=a/(n*h)*(I*cg(t*z+N)-ag(N));return[u+P*v,s+P*x,a*I/Ea(t*z+N)]}}return _.duration=f*1e3*t/Math.SQRT2,_}return i.rho=function(l){var o=Math.max(.001,+l),u=o*o,s=u*u;return e(o,u,s)},i}(Math.SQRT2,2,4);var On=0,tr=0,Gn=0,pd=1e3,bi,nr,el=0,ln=0,xl=0,Rr=typeof performance=="object"&&performance.now?performance:Date,md=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function qu(){return ln||(md(dg),ln=Rr.now()+xl)}function dg(){ln=0}function tl(){this._call=this._time=this._next=null}tl.prototype=bu.prototype={constructor:tl,restart:function(e,t,n){if(typeof e!="function")throw new TypeError("callback is not a function");n=(n==null?qu():+n)+(t==null?0:+t),!this._next&&nr!==this&&(nr?nr._next=this:bi=this,nr=this),this._call=e,this._time=n,qo()},stop:function(){this._call&&(this._call=null,this._time=1/0,qo())}};function bu(e,t,n){var r=new tl;return r.restart(e,t,n),r}function hg(){qu(),++On;for(var e=bi,t;e;)(t=ln-e._time)>=0&&e._call.call(void 0,t),e=e._next;--On}function Ca(){ln=(el=Rr.now())+xl,On=tr=0;try{hg()}finally{On=0,mg(),ln=0}}function pg(){var e=Rr.now(),t=e-el;t>pd&&(xl-=t,el=e)}function mg(){for(var e,t=bi,n,r=1/0;t;)t._call?(r>t._time&&(r=t._time),e=t,t=t._next):(n=t._next,t._next=null,t=e?e._next=n:bi=n);nr=e,qo(r)}function qo(e){if(!On){tr&&(tr=clearTimeout(tr));var t=e-ln;t>24?(e<1/0&&(tr=setTimeout(Ca,e-Rr.now()-xl)),Gn&&(Gn=clearInterval(Gn))):(Gn||(el=Rr.now(),Gn=setInterval(pg,pd)),On=1,md(Ca))}}function za(e,t,n){var r=new tl;return t=t==null?0:+t,r.restart(i=>{r.stop(),e(i+t)},t,n),r}var gg=Fr("start","end","cancel","interrupt"),vg=[],gd=0,Ta=1,bo=2,Si=3,Ma=4,eu=5,Ni=6;function wl(e,t,n,r,i,l){var o=e.__transition;if(!o)e.__transition={};else if(n in o)return;yg(e,n,{name:t,index:r,group:i,on:gg,tween:vg,time:l.time,delay:l.delay,duration:l.duration,ease:l.ease,timer:null,state:gd})}function es(e,t){var n=Je(e,t);if(n.state>gd)throw new Error("too late; already scheduled");return n}function lt(e,t){var n=Je(e,t);if(n.state>Si)throw new Error("too late; already running");return n}function Je(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function yg(e,t,n){var r=e.__transition,i;r[t]=n,n.timer=bu(l,0,n.time);function l(a){n.state=Ta,n.timer.restart(o,n.delay,n.time),n.delay<=a&&o(a-n.delay)}function o(a){var c,m,d,v;if(n.state!==Ta)return s();for(c in r)if(v=r[c],v.name===n.name){if(v.state===Si)return za(o);v.state===Ma?(v.state=Ni,v.timer.stop(),v.on.call("interrupt",e,e.__data__,v.index,v.group),delete r[c]):+c<t&&(v.state=Ni,v.timer.stop(),v.on.call("cancel",e,e.__data__,v.index,v.group),delete r[c])}if(za(function(){n.state===Si&&(n.state=Ma,n.timer.restart(u,n.delay,n.time),u(a))}),n.state=bo,n.on.call("start",e,e.__data__,n.index,n.group),n.state===bo){for(n.state=Si,i=new Array(d=n.tween.length),c=0,m=-1;c<d;++c)(v=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(i[++m]=v);i.length=m+1}}function u(a){for(var c=a<n.duration?n.ease.call(null,a/n.duration):(n.timer.restart(s),n.state=eu,1),m=-1,d=i.length;++m<d;)i[m].call(e,c);n.state===eu&&(n.on.call("end",e,e.__data__,n.index,n.group),s())}function s(){n.state=Ni,n.timer.stop(),delete r[t];for(var a in r)return;delete e.__transition}}function Ei(e,t){var n=e.__transition,r,i,l=!0,o;if(n){t=t==null?null:t+"";for(o in n){if((r=n[o]).name!==t){l=!1;continue}i=r.state>bo&&r.state<eu,r.state=Ni,r.timer.stop(),r.on.call(i?"interrupt":"cancel",e,e.__data__,r.index,r.group),delete n[o]}l&&delete e.__transition}}function xg(e){return this.each(function(){Ei(this,e)})}function wg(e,t){var n,r;return function(){var i=lt(this,e),l=i.tween;if(l!==n){r=n=l;for(var o=0,u=r.length;o<u;++o)if(r[o].name===t){r=r.slice(),r.splice(o,1);break}}i.tween=r}}function _g(e,t,n){var r,i;if(typeof n!="function")throw new Error;return function(){var l=lt(this,e),o=l.tween;if(o!==r){i=(r=o).slice();for(var u={name:t,value:n},s=0,a=i.length;s<a;++s)if(i[s].name===t){i[s]=u;break}s===a&&i.push(u)}l.tween=i}}function kg(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r=Je(this.node(),n).tween,i=0,l=r.length,o;i<l;++i)if((o=r[i]).name===e)return o.value;return null}return this.each((t==null?wg:_g)(n,e,t))}function ts(e,t,n){var r=e._id;return e.each(function(){var i=lt(this,r);(i.value||(i.value={}))[t]=n.apply(this,arguments)}),function(i){return Je(i,r).value[t]}}function vd(e,t){var n;return(typeof t=="number"?Nt:t instanceof Lr?Sa:(n=Lr(t))?(t=n,Sa):rg)(e,t)}function Sg(e){return function(){this.removeAttribute(e)}}function Ng(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Eg(e,t,n){var r,i=n+"",l;return function(){var o=this.getAttribute(e);return o===i?null:o===r?l:l=t(r=o,n)}}function Cg(e,t,n){var r,i=n+"",l;return function(){var o=this.getAttributeNS(e.space,e.local);return o===i?null:o===r?l:l=t(r=o,n)}}function zg(e,t,n){var r,i,l;return function(){var o,u=n(this),s;return u==null?void this.removeAttribute(e):(o=this.getAttribute(e),s=u+"",o===s?null:o===r&&s===i?l:(i=s,l=t(r=o,u)))}}function Tg(e,t,n){var r,i,l;return function(){var o,u=n(this),s;return u==null?void this.removeAttributeNS(e.space,e.local):(o=this.getAttributeNS(e.space,e.local),s=u+"",o===s?null:o===r&&s===i?l:(i=s,l=t(r=o,u)))}}function Mg(e,t){var n=yl(e),r=n==="transform"?ug:vd;return this.attrTween(e,typeof t=="function"?(n.local?Tg:zg)(n,r,ts(this,"attr."+e,t)):t==null?(n.local?Ng:Sg)(n):(n.local?Cg:Eg)(n,r,t))}function Pg(e,t){return function(n){this.setAttribute(e,t.call(this,n))}}function jg(e,t){return function(n){this.setAttributeNS(e.space,e.local,t.call(this,n))}}function Lg(e,t){var n,r;function i(){var l=t.apply(this,arguments);return l!==r&&(n=(r=l)&&jg(e,l)),n}return i._value=t,i}function Rg(e,t){var n,r;function i(){var l=t.apply(this,arguments);return l!==r&&(n=(r=l)&&Pg(e,l)),n}return i._value=t,i}function Ag(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(t==null)return this.tween(n,null);if(typeof t!="function")throw new Error;var r=yl(e);return this.tween(n,(r.local?Lg:Rg)(r,t))}function Dg(e,t){return function(){es(this,e).delay=+t.apply(this,arguments)}}function Ig(e,t){return t=+t,function(){es(this,e).delay=t}}function Og(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?Dg:Ig)(t,e)):Je(this.node(),t).delay}function $g(e,t){return function(){lt(this,e).duration=+t.apply(this,arguments)}}function Fg(e,t){return t=+t,function(){lt(this,e).duration=t}}function Ug(e){var t=this._id;return arguments.length?this.each((typeof e=="function"?$g:Fg)(t,e)):Je(this.node(),t).duration}function Vg(e,t){if(typeof t!="function")throw new Error;return function(){lt(this,e).ease=t}}function Hg(e){var t=this._id;return arguments.length?this.each(Vg(t,e)):Je(this.node(),t).ease}function Bg(e,t){return function(){var n=t.apply(this,arguments);if(typeof n!="function")throw new Error;lt(this,e).ease=n}}function Wg(e){if(typeof e!="function")throw new Error;return this.each(Bg(this._id,e))}function Qg(e){typeof e!="function"&&(e=Zf(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var l=t[i],o=l.length,u=r[i]=[],s,a=0;a<o;++a)(s=l[a])&&e.call(s,s.__data__,a,l)&&u.push(s);return new xt(r,this._parents,this._name,this._id)}function Xg(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,i=n.length,l=Math.min(r,i),o=new Array(r),u=0;u<l;++u)for(var s=t[u],a=n[u],c=s.length,m=o[u]=new Array(c),d,v=0;v<c;++v)(d=s[v]||a[v])&&(m[v]=d);for(;u<r;++u)o[u]=t[u];return new xt(o,this._parents,this._name,this._id)}function Yg(e){return(e+"").trim().split(/^|\s+/).every(function(t){var n=t.indexOf(".");return n>=0&&(t=t.slice(0,n)),!t||t==="start"})}function Kg(e,t,n){var r,i,l=Yg(t)?es:lt;return function(){var o=l(this,e),u=o.on;u!==r&&(i=(r=u).copy()).on(t,n),o.on=i}}function Gg(e,t){var n=this._id;return arguments.length<2?Je(this.node(),n).on.on(e):this.each(Kg(n,e,t))}function Zg(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function Jg(){return this.on("end.remove",Zg(this._id))}function qg(e){var t=this._name,n=this._id;typeof e!="function"&&(e=Gu(e));for(var r=this._groups,i=r.length,l=new Array(i),o=0;o<i;++o)for(var u=r[o],s=u.length,a=l[o]=new Array(s),c,m,d=0;d<s;++d)(c=u[d])&&(m=e.call(c,c.__data__,d,u))&&("__data__"in c&&(m.__data__=c.__data__),a[d]=m,wl(a[d],t,n,d,a,Je(c,n)));return new xt(l,this._parents,t,n)}function bg(e){var t=this._name,n=this._id;typeof e!="function"&&(e=Gf(e));for(var r=this._groups,i=r.length,l=[],o=[],u=0;u<i;++u)for(var s=r[u],a=s.length,c,m=0;m<a;++m)if(c=s[m]){for(var d=e.call(c,c.__data__,m,s),v,x=Je(c,n),y=0,_=d.length;y<_;++y)(v=d[y])&&wl(v,t,n,y,d,x);l.push(d),o.push(c)}return new xt(l,o,t,n)}var ev=Ur.prototype.constructor;function tv(){return new ev(this._groups,this._parents)}function nv(e,t){var n,r,i;return function(){var l=In(this,e),o=(this.style.removeProperty(e),In(this,e));return l===o?null:l===n&&o===r?i:i=t(n=l,r=o)}}function yd(e){return function(){this.style.removeProperty(e)}}function rv(e,t,n){var r,i=n+"",l;return function(){var o=In(this,e);return o===i?null:o===r?l:l=t(r=o,n)}}function iv(e,t,n){var r,i,l;return function(){var o=In(this,e),u=n(this),s=u+"";return u==null&&(s=u=(this.style.removeProperty(e),In(this,e))),o===s?null:o===r&&s===i?l:(i=s,l=t(r=o,u))}}function lv(e,t){var n,r,i,l="style."+t,o="end."+l,u;return function(){var s=lt(this,e),a=s.on,c=s.value[l]==null?u||(u=yd(t)):void 0;(a!==n||i!==c)&&(r=(n=a).copy()).on(o,i=c),s.on=r}}function ov(e,t,n){var r=(e+="")=="transform"?og:vd;return t==null?this.styleTween(e,nv(e,r)).on("end.style."+e,yd(e)):typeof t=="function"?this.styleTween(e,iv(e,r,ts(this,"style."+e,t))).each(lv(this._id,e)):this.styleTween(e,rv(e,r,t),n).on("end.style."+e,null)}function uv(e,t,n){return function(r){this.style.setProperty(e,t.call(this,r),n)}}function sv(e,t,n){var r,i;function l(){var o=t.apply(this,arguments);return o!==i&&(r=(i=o)&&uv(e,o,n)),r}return l._value=t,l}function av(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(t==null)return this.tween(r,null);if(typeof t!="function")throw new Error;return this.tween(r,sv(e,t,n??""))}function cv(e){return function(){this.textContent=e}}function fv(e){return function(){var t=e(this);this.textContent=t??""}}function dv(e){return this.tween("text",typeof e=="function"?fv(ts(this,"text",e)):cv(e==null?"":e+""))}function hv(e){return function(t){this.textContent=e.call(this,t)}}function pv(e){var t,n;function r(){var i=e.apply(this,arguments);return i!==n&&(t=(n=i)&&hv(i)),t}return r._value=e,r}function mv(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(e==null)return this.tween(t,null);if(typeof e!="function")throw new Error;return this.tween(t,pv(e))}function gv(){for(var e=this._name,t=this._id,n=xd(),r=this._groups,i=r.length,l=0;l<i;++l)for(var o=r[l],u=o.length,s,a=0;a<u;++a)if(s=o[a]){var c=Je(s,t);wl(s,e,n,a,o,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new xt(r,this._parents,e,n)}function vv(){var e,t,n=this,r=n._id,i=n.size();return new Promise(function(l,o){var u={value:o},s={value:function(){--i===0&&l()}};n.each(function(){var a=lt(this,r),c=a.on;c!==e&&(t=(e=c).copy(),t._.cancel.push(u),t._.interrupt.push(u),t._.end.push(s)),a.on=t}),i===0&&l()})}var yv=0;function xt(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function xd(){return++yv}var ut=Ur.prototype;xt.prototype={constructor:xt,select:qg,selectAll:bg,selectChild:ut.selectChild,selectChildren:ut.selectChildren,filter:Qg,merge:Xg,selection:tv,transition:gv,call:ut.call,nodes:ut.nodes,node:ut.node,size:ut.size,empty:ut.empty,each:ut.each,on:Gg,attr:Mg,attrTween:Ag,style:ov,styleTween:av,text:dv,textTween:mv,remove:Jg,tween:kg,delay:Og,duration:Ug,ease:Hg,easeVarying:Wg,end:vv,[Symbol.iterator]:ut[Symbol.iterator]};function xv(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}var wv={time:null,delay:0,duration:250,ease:xv};function _v(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw new Error(`transition ${t} not found`);return n}function kv(e){var t,n;e instanceof xt?(t=e._id,e=e._name):(t=xd(),(n=wv).time=qu(),e=e==null?null:e+"");for(var r=this._groups,i=r.length,l=0;l<i;++l)for(var o=r[l],u=o.length,s,a=0;a<u;++a)(s=o[a])&&wl(s,e,t,a,o,n||_v(s,t));return new xt(r,this._parents,e,t)}Ur.prototype.interrupt=xg;Ur.prototype.transition=kv;function Sv(e,t){var n,r=1;e==null&&(e=0),t==null&&(t=0);function i(){var l,o=n.length,u,s=0,a=0;for(l=0;l<o;++l)u=n[l],s+=u.x,a+=u.y;for(s=(s/o-e)*r,a=(a/o-t)*r,l=0;l<o;++l)u=n[l],u.x-=s,u.y-=a}return i.initialize=function(l){n=l},i.x=function(l){return arguments.length?(e=+l,i):e},i.y=function(l){return arguments.length?(t=+l,i):t},i.strength=function(l){return arguments.length?(r=+l,i):r},i}function Nv(e){const t=+this._x.call(null,e),n=+this._y.call(null,e);return wd(this.cover(t,n),t,n,e)}function wd(e,t,n,r){if(isNaN(t)||isNaN(n))return e;var i,l=e._root,o={data:r},u=e._x0,s=e._y0,a=e._x1,c=e._y1,m,d,v,x,y,_,f,h;if(!l)return e._root=o,e;for(;l.length;)if((y=t>=(m=(u+a)/2))?u=m:a=m,(_=n>=(d=(s+c)/2))?s=d:c=d,i=l,!(l=l[f=_<<1|y]))return i[f]=o,e;if(v=+e._x.call(null,l.data),x=+e._y.call(null,l.data),t===v&&n===x)return o.next=l,i?i[f]=o:e._root=o,e;do i=i?i[f]=new Array(4):e._root=new Array(4),(y=t>=(m=(u+a)/2))?u=m:a=m,(_=n>=(d=(s+c)/2))?s=d:c=d;while((f=_<<1|y)===(h=(x>=d)<<1|v>=m));return i[h]=l,i[f]=o,e}function Ev(e){var t,n,r=e.length,i,l,o=new Array(r),u=new Array(r),s=1/0,a=1/0,c=-1/0,m=-1/0;for(n=0;n<r;++n)isNaN(i=+this._x.call(null,t=e[n]))||isNaN(l=+this._y.call(null,t))||(o[n]=i,u[n]=l,i<s&&(s=i),i>c&&(c=i),l<a&&(a=l),l>m&&(m=l));if(s>c||a>m)return this;for(this.cover(s,a).cover(c,m),n=0;n<r;++n)wd(this,o[n],u[n],e[n]);return this}function Cv(e,t){if(isNaN(e=+e)||isNaN(t=+t))return this;var n=this._x0,r=this._y0,i=this._x1,l=this._y1;if(isNaN(n))i=(n=Math.floor(e))+1,l=(r=Math.floor(t))+1;else{for(var o=i-n||1,u=this._root,s,a;n>e||e>=i||r>t||t>=l;)switch(a=(t<r)<<1|e<n,s=new Array(4),s[a]=u,u=s,o*=2,a){case 0:i=n+o,l=r+o;break;case 1:n=i-o,l=r+o;break;case 2:i=n+o,r=l-o;break;case 3:n=i-o,r=l-o;break}this._root&&this._root.length&&(this._root=u)}return this._x0=n,this._y0=r,this._x1=i,this._y1=l,this}function zv(){var e=[];return this.visit(function(t){if(!t.length)do e.push(t.data);while(t=t.next)}),e}function Tv(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]}function xe(e,t,n,r,i){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=i}function Mv(e,t,n){var r,i=this._x0,l=this._y0,o,u,s,a,c=this._x1,m=this._y1,d=[],v=this._root,x,y;for(v&&d.push(new xe(v,i,l,c,m)),n==null?n=1/0:(i=e-n,l=t-n,c=e+n,m=t+n,n*=n);x=d.pop();)if(!(!(v=x.node)||(o=x.x0)>c||(u=x.y0)>m||(s=x.x1)<i||(a=x.y1)<l))if(v.length){var _=(o+s)/2,f=(u+a)/2;d.push(new xe(v[3],_,f,s,a),new xe(v[2],o,f,_,a),new xe(v[1],_,u,s,f),new xe(v[0],o,u,_,f)),(y=(t>=f)<<1|e>=_)&&(x=d[d.length-1],d[d.length-1]=d[d.length-1-y],d[d.length-1-y]=x)}else{var h=e-+this._x.call(null,v.data),p=t-+this._y.call(null,v.data),g=h*h+p*p;if(g<n){var N=Math.sqrt(n=g);i=e-N,l=t-N,c=e+N,m=t+N,r=v.data}}return r}function Pv(e){if(isNaN(c=+this._x.call(null,e))||isNaN(m=+this._y.call(null,e)))return this;var t,n=this._root,r,i,l,o=this._x0,u=this._y0,s=this._x1,a=this._y1,c,m,d,v,x,y,_,f;if(!n)return this;if(n.length)for(;;){if((x=c>=(d=(o+s)/2))?o=d:s=d,(y=m>=(v=(u+a)/2))?u=v:a=v,t=n,!(n=n[_=y<<1|x]))return this;if(!n.length)break;(t[_+1&3]||t[_+2&3]||t[_+3&3])&&(r=t,f=_)}for(;n.data!==e;)if(i=n,!(n=n.next))return this;return(l=n.next)&&delete n.next,i?(l?i.next=l:delete i.next,this):t?(l?t[_]=l:delete t[_],(n=t[0]||t[1]||t[2]||t[3])&&n===(t[3]||t[2]||t[1]||t[0])&&!n.length&&(r?r[f]=n:this._root=n),this):(this._root=l,this)}function jv(e){for(var t=0,n=e.length;t<n;++t)this.remove(e[t]);return this}function Lv(){return this._root}function Rv(){var e=0;return this.visit(function(t){if(!t.length)do++e;while(t=t.next)}),e}function Av(e){var t=[],n,r=this._root,i,l,o,u,s;for(r&&t.push(new xe(r,this._x0,this._y0,this._x1,this._y1));n=t.pop();)if(!e(r=n.node,l=n.x0,o=n.y0,u=n.x1,s=n.y1)&&r.length){var a=(l+u)/2,c=(o+s)/2;(i=r[3])&&t.push(new xe(i,a,c,u,s)),(i=r[2])&&t.push(new xe(i,l,c,a,s)),(i=r[1])&&t.push(new xe(i,a,o,u,c)),(i=r[0])&&t.push(new xe(i,l,o,a,c))}return this}function Dv(e){var t=[],n=[],r;for(this._root&&t.push(new xe(this._root,this._x0,this._y0,this._x1,this._y1));r=t.pop();){var i=r.node;if(i.length){var l,o=r.x0,u=r.y0,s=r.x1,a=r.y1,c=(o+s)/2,m=(u+a)/2;(l=i[0])&&t.push(new xe(l,o,u,c,m)),(l=i[1])&&t.push(new xe(l,c,u,s,m)),(l=i[2])&&t.push(new xe(l,o,m,c,a)),(l=i[3])&&t.push(new xe(l,c,m,s,a))}n.push(r)}for(;r=n.pop();)e(r.node,r.x0,r.y0,r.x1,r.y1);return this}function Iv(e){return e[0]}function Ov(e){return arguments.length?(this._x=e,this):this._x}function $v(e){return e[1]}function Fv(e){return arguments.length?(this._y=e,this):this._y}function ns(e,t,n){var r=new rs(t??Iv,n??$v,NaN,NaN,NaN,NaN);return e==null?r:r.addAll(e)}function rs(e,t,n,r,i,l){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=i,this._y1=l,this._root=void 0}function Pa(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}var Se=ns.prototype=rs.prototype;Se.copy=function(){var e=new rs(this._x,this._y,this._x0,this._y0,this._x1,this._y1),t=this._root,n,r;if(!t)return e;if(!t.length)return e._root=Pa(t),e;for(n=[{source:t,target:e._root=new Array(4)}];t=n.pop();)for(var i=0;i<4;++i)(r=t.source[i])&&(r.length?n.push({source:r,target:t.target[i]=new Array(4)}):t.target[i]=Pa(r));return e};Se.add=Nv;Se.addAll=Ev;Se.cover=Cv;Se.data=zv;Se.extent=Tv;Se.find=Mv;Se.remove=Pv;Se.removeAll=jv;Se.root=Lv;Se.size=Rv;Se.visit=Av;Se.visitAfter=Dv;Se.x=Ov;Se.y=Fv;function qt(e){return function(){return e}}function Mt(e){return(e()-.5)*1e-6}function Uv(e){return e.x+e.vx}function Vv(e){return e.y+e.vy}function Hv(e){var t,n,r,i=1,l=1;typeof e!="function"&&(e=qt(e==null?1:+e));function o(){for(var a,c=t.length,m,d,v,x,y,_,f=0;f<l;++f)for(m=ns(t,Uv,Vv).visitAfter(u),a=0;a<c;++a)d=t[a],y=n[d.index],_=y*y,v=d.x+d.vx,x=d.y+d.vy,m.visit(h);function h(p,g,N,S,E){var z=p.data,I=p.r,P=y+I;if(z){if(z.index>d.index){var $=v-z.x-z.vx,B=x-z.y-z.vy,Z=$*$+B*B;Z<P*P&&($===0&&($=Mt(r),Z+=$*$),B===0&&(B=Mt(r),Z+=B*B),Z=(P-(Z=Math.sqrt(Z)))/Z*i,d.vx+=($*=Z)*(P=(I*=I)/(_+I)),d.vy+=(B*=Z)*P,z.vx-=$*(P=1-P),z.vy-=B*P)}return}return g>v+P||S<v-P||N>x+P||E<x-P}}function u(a){if(a.data)return a.r=n[a.data.index];for(var c=a.r=0;c<4;++c)a[c]&&a[c].r>a.r&&(a.r=a[c].r)}function s(){if(t){var a,c=t.length,m;for(n=new Array(c),a=0;a<c;++a)m=t[a],n[m.index]=+e(m,a,t)}}return o.initialize=function(a,c){t=a,r=c,s()},o.iterations=function(a){return arguments.length?(l=+a,o):l},o.strength=function(a){return arguments.length?(i=+a,o):i},o.radius=function(a){return arguments.length?(e=typeof a=="function"?a:qt(+a),s(),o):e},o}function Bv(e){return e.index}function ja(e,t){var n=e.get(t);if(!n)throw new Error("node not found: "+t);return n}function Wv(e){var t=Bv,n=m,r,i=qt(30),l,o,u,s,a,c=1;e==null&&(e=[]);function m(_){return 1/Math.min(u[_.source.index],u[_.target.index])}function d(_){for(var f=0,h=e.length;f<c;++f)for(var p=0,g,N,S,E,z,I,P;p<h;++p)g=e[p],N=g.source,S=g.target,E=S.x+S.vx-N.x-N.vx||Mt(a),z=S.y+S.vy-N.y-N.vy||Mt(a),I=Math.sqrt(E*E+z*z),I=(I-l[p])/I*_*r[p],E*=I,z*=I,S.vx-=E*(P=s[p]),S.vy-=z*P,N.vx+=E*(P=1-P),N.vy+=z*P}function v(){if(o){var _,f=o.length,h=e.length,p=new Map(o.map((N,S)=>[t(N,S,o),N])),g;for(_=0,u=new Array(f);_<h;++_)g=e[_],g.index=_,typeof g.source!="object"&&(g.source=ja(p,g.source)),typeof g.target!="object"&&(g.target=ja(p,g.target)),u[g.source.index]=(u[g.source.index]||0)+1,u[g.target.index]=(u[g.target.index]||0)+1;for(_=0,s=new Array(h);_<h;++_)g=e[_],s[_]=u[g.source.index]/(u[g.source.index]+u[g.target.index]);r=new Array(h),x(),l=new Array(h),y()}}function x(){if(o)for(var _=0,f=e.length;_<f;++_)r[_]=+n(e[_],_,e)}function y(){if(o)for(var _=0,f=e.length;_<f;++_)l[_]=+i(e[_],_,e)}return d.initialize=function(_,f){o=_,a=f,v()},d.links=function(_){return arguments.length?(e=_,v(),d):e},d.id=function(_){return arguments.length?(t=_,d):t},d.iterations=function(_){return arguments.length?(c=+_,d):c},d.strength=function(_){return arguments.length?(n=typeof _=="function"?_:qt(+_),x(),d):n},d.distance=function(_){return arguments.length?(i=typeof _=="function"?_:qt(+_),y(),d):i},d}const Qv=1664525,Xv=1013904223,La=4294967296;function Yv(){let e=1;return()=>(e=(Qv*e+Xv)%La)/La}function Kv(e){return e.x}function Gv(e){return e.y}var Zv=10,Jv=Math.PI*(3-Math.sqrt(5));function qv(e){var t,n=1,r=.001,i=1-Math.pow(r,1/300),l=0,o=.6,u=new Map,s=bu(m),a=Fr("tick","end"),c=Yv();e==null&&(e=[]);function m(){d(),a.call("tick",t),n<r&&(s.stop(),a.call("end",t))}function d(y){var _,f=e.length,h;y===void 0&&(y=1);for(var p=0;p<y;++p)for(n+=(l-n)*i,u.forEach(function(g){g(n)}),_=0;_<f;++_)h=e[_],h.fx==null?h.x+=h.vx*=o:(h.x=h.fx,h.vx=0),h.fy==null?h.y+=h.vy*=o:(h.y=h.fy,h.vy=0);return t}function v(){for(var y=0,_=e.length,f;y<_;++y){if(f=e[y],f.index=y,f.fx!=null&&(f.x=f.fx),f.fy!=null&&(f.y=f.fy),isNaN(f.x)||isNaN(f.y)){var h=Zv*Math.sqrt(.5+y),p=y*Jv;f.x=h*Math.cos(p),f.y=h*Math.sin(p)}(isNaN(f.vx)||isNaN(f.vy))&&(f.vx=f.vy=0)}}function x(y){return y.initialize&&y.initialize(e,c),y}return v(),t={tick:d,restart:function(){return s.restart(m),t},stop:function(){return s.stop(),t},nodes:function(y){return arguments.length?(e=y,v(),u.forEach(x),t):e},alpha:function(y){return arguments.length?(n=+y,t):n},alphaMin:function(y){return arguments.length?(r=+y,t):r},alphaDecay:function(y){return arguments.length?(i=+y,t):+i},alphaTarget:function(y){return arguments.length?(l=+y,t):l},velocityDecay:function(y){return arguments.length?(o=1-y,t):1-o},randomSource:function(y){return arguments.length?(c=y,u.forEach(x),t):c},force:function(y,_){return arguments.length>1?(_==null?u.delete(y):u.set(y,x(_)),t):u.get(y)},find:function(y,_,f){var h=0,p=e.length,g,N,S,E,z;for(f==null?f=1/0:f*=f,h=0;h<p;++h)E=e[h],g=y-E.x,N=_-E.y,S=g*g+N*N,S<f&&(z=E,f=S);return z},on:function(y,_){return arguments.length>1?(a.on(y,_),t):a.on(y)}}}function bv(){var e,t,n,r,i=qt(-30),l,o=1,u=1/0,s=.81;function a(v){var x,y=e.length,_=ns(e,Kv,Gv).visitAfter(m);for(r=v,x=0;x<y;++x)t=e[x],_.visit(d)}function c(){if(e){var v,x=e.length,y;for(l=new Array(x),v=0;v<x;++v)y=e[v],l[y.index]=+i(y,v,e)}}function m(v){var x=0,y,_,f=0,h,p,g;if(v.length){for(h=p=g=0;g<4;++g)(y=v[g])&&(_=Math.abs(y.value))&&(x+=y.value,f+=_,h+=_*y.x,p+=_*y.y);v.x=h/f,v.y=p/f}else{y=v,y.x=y.data.x,y.y=y.data.y;do x+=l[y.data.index];while(y=y.next)}v.value=x}function d(v,x,y,_){if(!v.value)return!0;var f=v.x-t.x,h=v.y-t.y,p=_-x,g=f*f+h*h;if(p*p/s<g)return g<u&&(f===0&&(f=Mt(n),g+=f*f),h===0&&(h=Mt(n),g+=h*h),g<o&&(g=Math.sqrt(o*g)),t.vx+=f*v.value*r/g,t.vy+=h*v.value*r/g),!0;if(v.length||g>=u)return;(v.data!==t||v.next)&&(f===0&&(f=Mt(n),g+=f*f),h===0&&(h=Mt(n),g+=h*h),g<o&&(g=Math.sqrt(o*g)));do v.data!==t&&(p=l[v.data.index]*r/g,t.vx+=f*p,t.vy+=h*p);while(v=v.next)}return a.initialize=function(v,x){e=v,n=x,c()},a.strength=function(v){return arguments.length?(i=typeof v=="function"?v:qt(+v),c(),a):i},a.distanceMin=function(v){return arguments.length?(o=v*v,a):Math.sqrt(o)},a.distanceMax=function(v){return arguments.length?(u=v*v,a):Math.sqrt(u)},a.theta=function(v){return arguments.length?(s=v*v,a):Math.sqrt(s)},a}const ai=e=>()=>e;function ey(e,{sourceEvent:t,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function ht(e,t,n){this.k=e,this.x=t,this.y=n}ht.prototype={constructor:ht,scale:function(e){return e===1?this:new ht(this.k*e,this.x,this.y)},translate:function(e,t){return e===0&t===0?this:new ht(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var _d=new ht(1,0,0);ht.prototype;function Jl(e){e.stopImmediatePropagation()}function Zn(e){e.preventDefault(),e.stopImmediatePropagation()}function ty(e){return(!e.ctrlKey||e.type==="wheel")&&!e.button}function ny(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e,e.hasAttribute("viewBox")?(e=e.viewBox.baseVal,[[e.x,e.y],[e.x+e.width,e.y+e.height]]):[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]):[[0,0],[e.clientWidth,e.clientHeight]]}function Ra(){return this.__zoom||_d}function ry(e){return-e.deltaY*(e.deltaMode===1?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function iy(){return navigator.maxTouchPoints||"ontouchstart"in this}function ly(e,t,n){var r=e.invertX(t[0][0])-n[0][0],i=e.invertX(t[1][0])-n[1][0],l=e.invertY(t[0][1])-n[0][1],o=e.invertY(t[1][1])-n[1][1];return e.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),o>l?(l+o)/2:Math.min(0,l)||Math.max(0,o))}function oy(){var e=ty,t=ny,n=ly,r=ry,i=iy,l=[0,1/0],o=[[-1/0,-1/0],[1/0,1/0]],u=250,s=fg,a=Fr("start","zoom","end"),c,m,d,v=500,x=150,y=0,_=10;function f(k){k.property("__zoom",Ra).on("wheel.zoom",z,{passive:!1}).on("mousedown.zoom",I).on("dblclick.zoom",P).filter(i).on("touchstart.zoom",$).on("touchmove.zoom",B).on("touchend.zoom touchcancel.zoom",Z).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}f.transform=function(k,A,T,D){var C=k.selection?k.selection():k;C.property("__zoom",Ra),k!==C?N(k,A,T,D):C.interrupt().each(function(){S(this,arguments).event(D).start().zoom(null,typeof A=="function"?A.apply(this,arguments):A).end()})},f.scaleBy=function(k,A,T,D){f.scaleTo(k,function(){var C=this.__zoom.k,j=typeof A=="function"?A.apply(this,arguments):A;return C*j},T,D)},f.scaleTo=function(k,A,T,D){f.transform(k,function(){var C=t.apply(this,arguments),j=this.__zoom,L=T==null?g(C):typeof T=="function"?T.apply(this,arguments):T,O=j.invert(L),F=typeof A=="function"?A.apply(this,arguments):A;return n(p(h(j,F),L,O),C,o)},T,D)},f.translateBy=function(k,A,T,D){f.transform(k,function(){return n(this.__zoom.translate(typeof A=="function"?A.apply(this,arguments):A,typeof T=="function"?T.apply(this,arguments):T),t.apply(this,arguments),o)},null,D)},f.translateTo=function(k,A,T,D,C){f.transform(k,function(){var j=t.apply(this,arguments),L=this.__zoom,O=D==null?g(j):typeof D=="function"?D.apply(this,arguments):D;return n(_d.translate(O[0],O[1]).scale(L.k).translate(typeof A=="function"?-A.apply(this,arguments):-A,typeof T=="function"?-T.apply(this,arguments):-T),j,o)},D,C)};function h(k,A){return A=Math.max(l[0],Math.min(l[1],A)),A===k.k?k:new ht(A,k.x,k.y)}function p(k,A,T){var D=A[0]-T[0]*k.k,C=A[1]-T[1]*k.k;return D===k.x&&C===k.y?k:new ht(k.k,D,C)}function g(k){return[(+k[0][0]+ +k[1][0])/2,(+k[0][1]+ +k[1][1])/2]}function N(k,A,T,D){k.on("start.zoom",function(){S(this,arguments).event(D).start()}).on("interrupt.zoom end.zoom",function(){S(this,arguments).event(D).end()}).tween("zoom",function(){var C=this,j=arguments,L=S(C,j).event(D),O=t.apply(C,j),F=T==null?g(O):typeof T=="function"?T.apply(C,j):T,ge=Math.max(O[1][0]-O[0][0],O[1][1]-O[0][1]),X=C.__zoom,ve=typeof A=="function"?A.apply(C,j):A,ue=s(X.invert(F).concat(ge/X.k),ve.invert(F).concat(ge/ve.k));return function(fe){if(fe===1)fe=ve;else{var ot=ue(fe),_l=ge/ot[2];fe=new ht(_l,F[0]-ot[0]*_l,F[1]-ot[1]*_l)}L.zoom(null,fe)}})}function S(k,A,T){return!T&&k.__zooming||new E(k,A)}function E(k,A){this.that=k,this.args=A,this.active=0,this.sourceEvent=null,this.extent=t.apply(k,A),this.taps=0}E.prototype={event:function(k){return k&&(this.sourceEvent=k),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(k,A){return this.mouse&&k!=="mouse"&&(this.mouse[1]=A.invert(this.mouse[0])),this.touch0&&k!=="touch"&&(this.touch0[1]=A.invert(this.touch0[0])),this.touch1&&k!=="touch"&&(this.touch1[1]=A.invert(this.touch1[0])),this.that.__zoom=A,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(k){var A=tt(this.that).datum();a.call(k,this.that,new ey(k,{sourceEvent:this.sourceEvent,target:f,transform:this.that.__zoom,dispatch:a}),A)}};function z(k,...A){if(!e.apply(this,arguments))return;var T=S(this,A).event(k),D=this.__zoom,C=Math.max(l[0],Math.min(l[1],D.k*Math.pow(2,r.apply(this,arguments)))),j=at(k);if(T.wheel)(T.mouse[0][0]!==j[0]||T.mouse[0][1]!==j[1])&&(T.mouse[1]=D.invert(T.mouse[0]=j)),clearTimeout(T.wheel);else{if(D.k===C)return;T.mouse=[j,D.invert(j)],Ei(this),T.start()}Zn(k),T.wheel=setTimeout(L,x),T.zoom("mouse",n(p(h(D,C),T.mouse[0],T.mouse[1]),T.extent,o));function L(){T.wheel=null,T.end()}}function I(k,...A){if(d||!e.apply(this,arguments))return;var T=k.currentTarget,D=S(this,A,!0).event(k),C=tt(k.view).on("mousemove.zoom",F,!0).on("mouseup.zoom",ge,!0),j=at(k,T),L=k.clientX,O=k.clientY;od(k.view),Jl(k),D.mouse=[j,this.__zoom.invert(j)],Ei(this),D.start();function F(X){if(Zn(X),!D.moved){var ve=X.clientX-L,ue=X.clientY-O;D.moved=ve*ve+ue*ue>y}D.event(X).zoom("mouse",n(p(D.that.__zoom,D.mouse[0]=at(X,T),D.mouse[1]),D.extent,o))}function ge(X){C.on("mousemove.zoom mouseup.zoom",null),ud(X.view,D.moved),Zn(X),D.event(X).end()}}function P(k,...A){if(e.apply(this,arguments)){var T=this.__zoom,D=at(k.changedTouches?k.changedTouches[0]:k,this),C=T.invert(D),j=T.k*(k.shiftKey?.5:2),L=n(p(h(T,j),D,C),t.apply(this,A),o);Zn(k),u>0?tt(this).transition().duration(u).call(N,L,D,k):tt(this).call(f.transform,L,D,k)}}function $(k,...A){if(e.apply(this,arguments)){var T=k.touches,D=T.length,C=S(this,A,k.changedTouches.length===D).event(k),j,L,O,F;for(Jl(k),L=0;L<D;++L)O=T[L],F=at(O,this),F=[F,this.__zoom.invert(F),O.identifier],C.touch0?!C.touch1&&C.touch0[2]!==F[2]&&(C.touch1=F,C.taps=0):(C.touch0=F,j=!0,C.taps=1+!!c);c&&(c=clearTimeout(c)),j&&(C.taps<2&&(m=F[0],c=setTimeout(function(){c=null},v)),Ei(this),C.start())}}function B(k,...A){if(this.__zooming){var T=S(this,A).event(k),D=k.changedTouches,C=D.length,j,L,O,F;for(Zn(k),j=0;j<C;++j)L=D[j],O=at(L,this),T.touch0&&T.touch0[2]===L.identifier?T.touch0[0]=O:T.touch1&&T.touch1[2]===L.identifier&&(T.touch1[0]=O);if(L=T.that.__zoom,T.touch1){var ge=T.touch0[0],X=T.touch0[1],ve=T.touch1[0],ue=T.touch1[1],fe=(fe=ve[0]-ge[0])*fe+(fe=ve[1]-ge[1])*fe,ot=(ot=ue[0]-X[0])*ot+(ot=ue[1]-X[1])*ot;L=h(L,Math.sqrt(fe/ot)),O=[(ge[0]+ve[0])/2,(ge[1]+ve[1])/2],F=[(X[0]+ue[0])/2,(X[1]+ue[1])/2]}else if(T.touch0)O=T.touch0[0],F=T.touch0[1];else return;T.zoom("touch",n(p(L,O,F),T.extent,o))}}function Z(k,...A){if(this.__zooming){var T=S(this,A).event(k),D=k.changedTouches,C=D.length,j,L;for(Jl(k),d&&clearTimeout(d),d=setTimeout(function(){d=null},v),j=0;j<C;++j)L=D[j],T.touch0&&T.touch0[2]===L.identifier?delete T.touch0:T.touch1&&T.touch1[2]===L.identifier&&delete T.touch1;if(T.touch1&&!T.touch0&&(T.touch0=T.touch1,delete T.touch1),T.touch0)T.touch0[1]=this.__zoom.invert(T.touch0[0]);else if(T.end(),T.taps===2&&(L=at(L,this),Math.hypot(m[0]-L[0],m[1]-L[1])<_)){var O=tt(this).on("dblclick.zoom");O&&O.apply(this,arguments)}}}return f.wheelDelta=function(k){return arguments.length?(r=typeof k=="function"?k:ai(+k),f):r},f.filter=function(k){return arguments.length?(e=typeof k=="function"?k:ai(!!k),f):e},f.touchable=function(k){return arguments.length?(i=typeof k=="function"?k:ai(!!k),f):i},f.extent=function(k){return arguments.length?(t=typeof k=="function"?k:ai([[+k[0][0],+k[0][1]],[+k[1][0],+k[1][1]]]),f):t},f.scaleExtent=function(k){return arguments.length?(l[0]=+k[0],l[1]=+k[1],f):[l[0],l[1]]},f.translateExtent=function(k){return arguments.length?(o[0][0]=+k[0][0],o[1][0]=+k[1][0],o[0][1]=+k[0][1],o[1][1]=+k[1][1],f):[[o[0][0],o[0][1]],[o[1][0],o[1][1]]]},f.constrain=function(k){return arguments.length?(n=k,f):n},f.duration=function(k){return arguments.length?(u=+k,f):u},f.interpolate=function(k){return arguments.length?(s=k,f):s},f.on=function(){var k=a.on.apply(a,arguments);return k===a?f:k},f.clickDistance=function(k){return arguments.length?(y=(k=+k)*k,f):Math.sqrt(y)},f.tapDistance=function(k){return arguments.length?(_=+k,f):_},f}const Aa=["#58a6ff","#3fb950","#d29922","#f85149","#a371f7","#39d353","#db61a2","#768390","#f78166","#79c0ff"];function uy({nodes:e,links:t,onNodeClick:n,selectedNode:r}){const i=V.useRef(null),l=V.useRef(null),[o,u]=V.useState({width:800,height:600});V.useEffect(()=>{const a=()=>{if(l.current){const c=l.current.getBoundingClientRect();u({width:c.width||800,height:c.height||600})}};return a(),window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)},[]);const s=V.useCallback(a=>{n&&n(a)},[n]);return V.useEffect(()=>{if(!i.current||e.length===0)return;const{width:a,height:c}=o,m=tt(i.current);m.selectAll("*").remove();const d=m.append("g"),v=oy().scaleExtent([.1,4]).on("zoom",p=>{d.attr("transform",p.transform.toString())});m.call(v);const x=e.map(p=>({...p,id:p.id,group:p.group,lines:p.lines})),y=t.map(p=>({source:p.source,target:p.target})),_=qv(x).force("link",Wv(y).id(p=>p.id).distance(80)).force("charge",bv().strength(-200)).force("center",Sv(a/2,c/2)).force("collision",Hv().radius(30));m.append("defs").append("marker").attr("id","arrowhead").attr("viewBox","-0 -5 10 10").attr("refX",20).attr("refY",0).attr("orient","auto").attr("markerWidth",6).attr("markerHeight",6).append("path").attr("d","M 0,-5 L 10 ,0 L 0,5").attr("fill","#30363d");const f=d.append("g").attr("class","links").selectAll("line").data(y).join("line").attr("class","link-line").attr("stroke-width",1.5).attr("marker-end","url(#arrowhead)"),h=d.append("g").attr("class","nodes").selectAll("g").data(x).join("g").attr("class","node").call(F0().on("start",p=>{p.active||_.alphaTarget(.3).restart(),p.subject.fx=p.subject.x,p.subject.fy=p.subject.y}).on("drag",p=>{p.subject.fx=p.x,p.subject.fy=p.y}).on("end",p=>{p.active||_.alphaTarget(0),p.subject.fx=null,p.subject.fy=null}));return h.append("circle").attr("class","node-circle").attr("r",p=>Math.min(20,Math.max(8,Math.sqrt(p.lines||50)))).attr("fill",p=>Aa[p.group%Aa.length]).attr("stroke",p=>p.id===r?"#fff":"#30363d").attr("stroke-width",p=>p.id===r?3:1.5).on("click",(p,g)=>s(g.id)),h.append("text").text(p=>{const g=p.id.split("/");return g[g.length-1]}).attr("x",0).attr("y",-15).attr("text-anchor","middle").attr("fill","#c9d1d9").attr("font-size","10px").attr("pointer-events","none"),h.append("title").text(p=>`${p.id}
|
|
41
41
|
${p.lines||0} lines`),_.on("tick",()=>{f.attr("x1",p=>p.source.x||0).attr("y1",p=>p.source.y||0).attr("x2",p=>p.target.x||0).attr("y2",p=>p.target.y||0),h.attr("transform",p=>`translate(${p.x||0},${p.y||0})`)}),()=>{_.stop()}},[e,t,o,r,s]),w.jsx("div",{ref:l,className:"w-full h-full min-h-[400px]",children:w.jsx("svg",{ref:i,width:o.width,height:o.height,className:"bg-argus-darker rounded-lg"})})}function ql(e){const t=sy(e),n=ay(e);return{raw:e,metadata:t,fileContents:n}}function sy(e){if(!e.includes("METADATA: IMPORT GRAPH"))return null;const t=[],n=[],r=[],i={},l=e.match(/METADATA: IMPORT GRAPH\n={80}\n([\s\S]*?)(?=\n\n={80}\nMETADATA:|={80}\nFILE:|$)/);if(l){const c=l[1].trim();let m="";for(const d of c.split(`
|
|
42
|
-
`)){const v=d.match(/^([^\s].+):$/);if(v){m=v[1];continue}const x=d.match(/^\s
|
|
42
|
+
`)){const v=d.match(/^([^\s].+):$/);if(v){m=v[1];continue}const x=d.match(/^\s+(?:→|->)\s*(.+)$/);x&&m&&n.push({source:m,target:x[1]})}}const o=e.match(/METADATA: EXPORT INDEX\n={80}\n([\s\S]*?)(?=\n\n={80}\nMETADATA:|={80}\nFILE:|$)/);if(o){const c=o[1].trim().split(`
|
|
43
43
|
`);for(const m of c){const d=m.match(/^([^:]+):\s*(.+)$/);if(d){const v=d[1].trim(),y=d[2].trim().split(",").map(_=>_.trim());y.length>0&&(i[v]=y[0]),r.push({file:v,symbols:y})}}}const u=e.match(/METADATA: FILE EXPORTS\n={80}\n([\s\S]*?)(?=\n\n={80}\nMETADATA:|={80}\nFILE:|$)/);if(u){const c=u[1].trim().split(`
|
|
44
44
|
`);for(const m of c){const d=m.match(/^([^:]+):\d+\s*-\s*\w+\s+(\S+)/);if(d){const v=d[1].trim(),x=d[2].split(" ")[0];i[x]=v}}}const s=/^={80}\nFILE: \.\/(.+?)\n={80}/gm;let a;for(;(a=s.exec(e))!==null;){const c=a[1],m=c.split(".").pop()||"",d=a.index+a[0].length,v=e.indexOf(`
|
|
45
45
|
================================================================================
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>Argus - Codebase Explorer</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-80SIp7rU.js"></script>
|
|
9
9
|
<link rel="stylesheet" crossorigin href="/assets/index-C6OOed9O.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body class="bg-argus-darker">
|