(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[439],{44545:function(ot,re,s){"use strict";s.d(re,{Z:function(){return x}});var D=s(28991),$=s(67294),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},z=L,p=s(30076),C=function(g,l){return $.createElement(p.Z,(0,D.Z)((0,D.Z)({},g),{},{ref:l,icon:z}))};C.displayName="EllipsisOutlined";var x=$.forwardRef(C)},8812:function(ot,re,s){"use strict";s.d(re,{Z:function(){return x}});var D=s(28991),$=s(67294),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},z=L,p=s(30076),C=function(g,l){return $.createElement(p.Z,(0,D.Z)((0,D.Z)({},g),{},{ref:l,icon:z}))};C.displayName="RightOutlined";var x=$.forwardRef(C)},98082:function(ot,re,s){"use strict";var D=s(28481),$=s(67294),L=s(31808);re.Z=function(){var z=$.useState(!1),p=(0,D.Z)(z,2),C=p[0],x=p[1];return $.useEffect(function(){x((0,L.fk)())},[]),C}},24308:function(ot,re,s){"use strict";s.d(re,{c4:function(){return L}});var D=s(96156),$=s(22122),L=["xxl","xl","lg","md","sm","xs"],z={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},p=new Map,C=-1,x={},E={matchHandlers:{},dispatch:function(l){return x=l,p.forEach(function(G){return G(x)}),p.size>=1},subscribe:function(l){return p.size||this.register(),C+=1,p.set(C,l),l(x),C},unsubscribe:function(l){p.delete(l),p.size||this.unregister()},unregister:function(){var l=this;Object.keys(z).forEach(function(G){var P=z[G],S=l.matchHandlers[P];S==null||S.mql.removeListener(S==null?void 0:S.listener)}),p.clear()},register:function(){var l=this;Object.keys(z).forEach(function(G){var P=z[G],S=function(xe){var a=xe.matches;l.dispatch((0,$.Z)((0,$.Z)({},x),(0,D.Z)({},G,a)))},ye=window.matchMedia(P);ye.addListener(S),l.matchHandlers[P]={mql:ye,listener:S},S(ye)})}};re.ZP=E},31808:function(ot,re,s){"use strict";s.d(re,{jD:function(){return $},fk:function(){return z}});var D=s(98924),$=function(){return(0,D.Z)()&&window.document.documentElement},L,z=function(){if(!$())return!1;if(L!==void 0)return L;var C=document.createElement("div");return C.style.display="flex",C.style.flexDirection="column",C.style.rowGap="1px",C.appendChild(document.createElement("div")),C.appendChild(document.createElement("div")),document.body.appendChild(C),L=C.scrollHeight===1,document.body.removeChild(C),L}},69578:function(ot,re,s){"use strict";s.d(re,{Z:function(){return dn}});var D=s(22122),$=s(90484),L=s(96156),z=s(28481),p=s(8812),C=s(94184),x=s.n(C),E=s(28991),g=s(81253),l=s(67294),G=s(77787),P={adjustX:1,adjustY:1},S=[0,0],ye={topLeft:{points:["bl","tl"],overflow:P,offset:[0,-4],targetOffset:S},topCenter:{points:["bc","tc"],overflow:P,offset:[0,-4],targetOffset:S},topRight:{points:["br","tr"],overflow:P,offset:[0,-4],targetOffset:S},bottomLeft:{points:["tl","bl"],overflow:P,offset:[0,4],targetOffset:S},bottomCenter:{points:["tc","bc"],overflow:P,offset:[0,4],targetOffset:S},bottomRight:{points:["tr","br"],overflow:P,offset:[0,4],targetOffset:S}},We=ye,xe=s(15105),a=s(75164),Mn=s(88603),Sn=xe.Z.ESC,nn=xe.Z.TAB;function rn(v){var c=v.visible,K=v.setTriggerVisible,y=v.triggerRef,W=v.onVisibleChange,J=v.autoFocus,se=l.useRef(!1),ae=function(){if(c&&y.current){var U,Q,Y,le;(U=y.current)===null||U===void 0||(Q=U.triggerRef)===null||Q===void 0||(Y=Q.current)===null||Y===void 0||(le=Y.focus)===null||le===void 0||le.call(Y),K(!1),typeof W=="function"&&W(!1)}},X=function(){var U,Q,Y,le,je=(0,Mn.tS)((U=y.current)===null||U===void 0||(Q=U.popupRef)===null||Q===void 0||(Y=Q.current)===null||Y===void 0||(le=Y.getElement)===null||le===void 0?void 0:le.call(Y)),Ee=je[0];return(Ee==null?void 0:Ee.focus)?(Ee.focus(),se.current=!0,!0):!1},ie=function(U){switch(U.keyCode){case Sn:ae();break;case nn:{var Q=!1;se.current||(Q=X()),Q?U.preventDefault():ae();break}}};l.useEffect(function(){return c?(window.addEventListener("keydown",ie),J&&(0,a.Z)(X,3),function(){window.removeEventListener("keydown",ie),se.current=!1}):function(){se.current=!1}},[c])}var jt=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function an(v,c){var K=v.arrow,y=K===void 0?!1:K,W=v.prefixCls,J=W===void 0?"rc-dropdown":W,se=v.transitionName,ae=v.animation,X=v.align,ie=v.placement,be=ie===void 0?"bottomLeft":ie,U=v.placements,Q=U===void 0?We:U,Y=v.getPopupContainer,le=v.showAction,je=v.hideAction,Ee=v.overlayClassName,et=v.overlayStyle,Ye=v.visible,Fe=v.trigger,Pe=Fe===void 0?["hover"]:Fe,tt=v.autoFocus,nt=(0,g.Z)(v,jt),Me=l.useState(),Te=(0,z.Z)(Me,2),Je=Te[0],Ae=Te[1],ee="visible"in v?Ye:Je,Le=l.useRef(null);l.useImperativeHandle(c,function(){return Le.current}),rn({visible:ee,setTriggerVisible:Ae,triggerRef:Le,onVisibleChange:v.onVisibleChange,autoFocus:tt});var ke=function(){var j=v.overlay,ue;return typeof j=="function"?ue=j():ue=j,ue},Xe=function(j){var ue=v.onOverlayClick;Ae(!1),ue&&ue(j)},Ie=function(j){var ue=v.onVisibleChange;Ae(j),typeof ue=="function"&&ue(j)},Ke=function(){var j=ke();return l.createElement(l.Fragment,null,y&&l.createElement("div",{className:"".concat(J,"-arrow")}),j)},rt=function(){var j=v.overlay;return typeof j=="function"?Ke:Ke()},$e=function(){var j=v.minOverlayWidthMatchTrigger,ue=v.alignPoint;return"minOverlayWidthMatchTrigger"in v?j:!ue},q=function(){var j=v.openClassName;return j!==void 0?j:"".concat(J,"-open")},Qe=function(){var j=v.children,ue=j.props?j.props:{},he=x()(ue.className,q());return ee&&j?l.cloneElement(j,{className:he}):j},_e=je;return!_e&&Pe.indexOf("contextMenu")!==-1&&(_e=["click"]),l.createElement(G.Z,(0,E.Z)((0,E.Z)({builtinPlacements:Q},nt),{},{prefixCls:J,ref:Le,popupClassName:x()(Ee,(0,L.Z)({},"".concat(J,"-show-arrow"),y)),popupStyle:et,action:Pe,showAction:le,hideAction:_e||[],popupPlacement:be,popupAlign:X,popupTransitionName:se,popupAnimation:ae,popupVisible:ee,stretch:$e()?"minWidth":"",popup:rt(),onPopupVisibleChange:Ie,onPopupClick:Xe,getPopupContainer:Y}),Qe())}var In=l.forwardRef(an),On=In,De=s(66680),Zn=s(21770),bt=s(38993),Ft=s(53124),ln=s(76529),Rt=s(80636),on=s(96159),ft=s(93355),sn=s(44545),un=s(71577),xt=s(4173),Ge=s(50344),Et=s(98082);function Nn(v){var c=v.className,K=v.direction,y=v.index,W=v.marginDirection,J=v.children,se=v.split,ae=v.wrap,X=l.useContext(wt),ie=X.horizontalSize,be=X.verticalSize,U=X.latestIndex,Q=X.supportFlexGap,Y={};return Q||(K==="vertical"?y3&&arguments[3]!==void 0?arguments[3]:1;if(!r)return null;var n=Ht(r,e),u=n.length,o=n.findIndex(function(d){return i===d});return t<0?o===-1?o=u-1:o-=1:t>0&&(o+=1),o=(o+u)%u,n[o]}function v(r,e,i,t,n,u,o,d,f,m){var h=a.useRef(),N=a.useRef();N.current=e;var R=function(){Et.Z.cancel(h.current)};return a.useEffect(function(){return function(){R()}},[]),function(A){var O=A.which;if([].concat(Ut,[Tt,Bt,Pt,Mt]).includes(O)){var w,F,k,Z=function(){w=new Set,F=new Map,k=new Map;var ve=u();return ve.forEach(function(oe){var ce=document.querySelector("[data-menu-id='".concat(jt(t,oe),"']"));ce&&(w.add(ce),k.set(ce,oe),F.set(oe,ce))}),w};Z();var I=F.get(e),b=cn(I,w),T=k.get(b),M=Rn(r,o(T,!0).length===1,i,O);if(!M&&O!==Pt&&O!==Mt)return;(Ut.includes(O)||[Pt,Mt].includes(O))&&A.preventDefault();var V=function(ve){if(ve){var oe=ve,ce=ve.querySelector("a");ce!=null&&ce.getAttribute("href")&&(oe=ce);var Ne=k.get(ve);d(Ne),R(),h.current=(0,Et.Z)(function(){N.current===Ne&&oe.focus()})}};if([Pt,Mt].includes(O)||M.sibling||!b){var me;!b||r==="inline"?me=n.current:me=Un(b);var B,Oe=Ht(me,w);O===Pt?B=Oe[0]:O===Mt?B=Oe[Oe.length-1]:B=dn(me,w,b,M.offset),V(B)}else if(M.inlineTrigger)f(T);else if(M.offset>0)f(T,!0),R(),h.current=(0,Et.Z)(function(){Z();var pe=b.getAttribute("aria-controls"),ve=document.getElementById(pe),oe=dn(ve,w);V(oe)},5);else if(M.offset<0){var Ze=o(T,!0),te=Ze[Ze.length-2],Se=F.get(te);f(te,!1),V(Se)}}m==null||m(A)}}function c(r){Promise.resolve().then(r)}var K="__RC_UTIL_PATH_SPLIT__",y=function(e){return e.join(K)},W=function(e){return e.split(K)},J="rc-menu-more";function se(){var r=a.useState({}),e=(0,P.Z)(r,2),i=e[1],t=(0,a.useRef)(new Map),n=(0,a.useRef)(new Map),u=a.useState([]),o=(0,P.Z)(u,2),d=o[0],f=o[1],m=(0,a.useRef)(0),h=(0,a.useRef)(!1),N=function(){h.current||i({})},R=(0,a.useCallback)(function(I,b){var T=y(b);n.current.set(T,I),t.current.set(I,T),m.current+=1;var M=m.current;c(function(){M===m.current&&N()})},[]),A=(0,a.useCallback)(function(I,b){var T=y(b);n.current.delete(T),t.current.delete(I)},[]),O=(0,a.useCallback)(function(I){f(I)},[]),w=(0,a.useCallback)(function(I,b){var T=t.current.get(I)||"",M=W(T);return b&&d.includes(M[0])&&M.unshift(J),M},[d]),F=(0,a.useCallback)(function(I,b){return I.some(function(T){var M=w(T,!0);return M.includes(b)})},[w]),k=function(){var b=(0,G.Z)(t.current.keys());return d.length&&b.push(J),b},Z=(0,a.useCallback)(function(I){var b="".concat(t.current.get(I)).concat(K),T=new Set;return(0,G.Z)(n.current.keys()).forEach(function(M){M.startsWith(b)&&T.add(n.current.get(M))}),T},[]);return a.useEffect(function(){return function(){h.current=!0}},[]),{registerPath:R,unregisterPath:A,refreshOverflowKeys:O,isSubPathKey:F,getKeyPath:w,getKeys:k,getSubPathKeys:Z}}function ae(r){var e=a.useRef(r);e.current=r;var i=a.useCallback(function(){for(var t,n=arguments.length,u=new Array(n),o=0;o1&&(Z.motionAppear=!1);var I=Z.onVisibleChanged;return Z.onVisibleChanged=function(b){return!R.current&&!b&&F(!0),I==null?void 0:I(b)},w?null:a.createElement(bt,{mode:u,locked:!R.current},a.createElement(Ce.Z,(0,p.Z)({visible:k},Z,{forceRender:f,removeOnLeave:!1,leavedClassName:"".concat(d,"-hidden")}),function(b){var T=b.className,M=b.style;return a.createElement(ee,{id:e,className:T,style:M},n)}))}var At=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],mt=["active"],vn=function(e){var i,t=e.style,n=e.className,u=e.title,o=e.eventKey,d=e.warnKey,f=e.disabled,m=e.internalPopupClose,h=e.children,N=e.itemIcon,R=e.expandIcon,A=e.popupClassName,O=e.popupOffset,w=e.onClick,F=e.onMouseEnter,k=e.onMouseLeave,Z=e.onTitleClick,I=e.onTitleMouseEnter,b=e.onTitleMouseLeave,T=(0,S.Z)(e,At),M=an(o),V=a.useContext(De),me=V.prefixCls,B=V.mode,Oe=V.openKeys,Ze=V.disabled,te=V.overflowDisabled,Se=V.activeKey,pe=V.selectedKeys,ve=V.itemIcon,oe=V.expandIcon,ce=V.onItemClick,Ne=V.onOpenChange,It=V.onActive,pt=a.useContext(xt),ut=pt._internalRenderSubMenuItem,at=a.useContext(sn),gt=at.isSubPathKey,ht=ft(),Re="".concat(me,"-submenu"),fe=Ze||f,ct=a.useRef(),it=a.useRef(),dt=N||ve,ge=R||oe,Be=Oe.includes(o),vt=!te&&Be,Jt=gt(pe,o),Xt=Q(o,fe,I,b),Ct=Xt.active,Kt=(0,S.Z)(Xt,mt),pn=a.useState(!1),gn=(0,P.Z)(pn,2),zn=gn[0],hn=gn[1],Qt=function(qe){fe||hn(qe)},Wn=function(qe){Qt(!0),F==null||F({key:o,domEvent:qe})},lt=function(qe){Qt(!1),k==null||k({key:o,domEvent:qe})},Cn=a.useMemo(function(){return Ct||(B!=="inline"?zn||gt([Se],o):!1)},[B,Ct,Se,zn,o,gt]),yn=Ee(ht.length),bn=function(qe){fe||(Z==null||Z({key:o,domEvent:qe}),B==="inline"&&Ne(o,!Be))},jn=ae(function(He){w==null||w(le(He)),ce(He)}),$t=function(qe){B!=="inline"&&Ne(o,qe)},_t=function(){It(o)},Ot=M&&"".concat(M,"-popup"),qt=a.createElement("div",(0,p.Z)({role:"menuitem",style:yn,className:"".concat(Re,"-title"),tabIndex:fe?null:-1,ref:ct,title:typeof u=="string"?u:null,"data-menu-id":te&&M?null:M,"aria-expanded":vt,"aria-haspopup":!0,"aria-controls":Ot,"aria-disabled":fe,onClick:bn,onFocus:_t},Kt),u,a.createElement(je,{icon:B!=="horizontal"?ge:null,props:(0,l.Z)((0,l.Z)({},e),{},{isOpen:vt,isSubMenu:!0})},a.createElement("i",{className:"".concat(Re,"-arrow")}))),zt=a.useRef(B);if(B!=="inline"&&ht.length>1?zt.current="vertical":zt.current=B,!te){var Ue=zt.current;qt=a.createElement(he,{mode:Ue,prefixCls:Re,visible:!m&&vt&&B!=="inline",popupClassName:A,popupOffset:O,popup:a.createElement(bt,{mode:Ue==="horizontal"?"vertical":Ue},a.createElement(ee,{id:Ot,ref:it},h)),disabled:fe,onVisibleChange:$t},qt)}var Wt=a.createElement(ye.Z.Item,(0,p.Z)({role:"none"},T,{component:"li",style:t,className:E()(Re,"".concat(Re,"-").concat(B),n,(i={},(0,g.Z)(i,"".concat(Re,"-open"),vt),(0,g.Z)(i,"".concat(Re,"-active"),Cn),(0,g.Z)(i,"".concat(Re,"-selected"),Jt),(0,g.Z)(i,"".concat(Re,"-disabled"),fe),i)),onMouseEnter:Wn,onMouseLeave:lt}),qt,!te&&a.createElement(de,{id:Ot,open:vt,keyPath:ht},h));return ut&&(Wt=ut(Wt,e,{selected:Jt,active:Cn,open:vt,disabled:fe})),a.createElement(bt,{onItemClick:jn,mode:B==="horizontal"?"vertical":B,itemIcon:dt,expandIcon:ge},Wt)};function Lt(r){var e=r.eventKey,i=r.children,t=ft(e),n=Ie(i,t),u=Rt();a.useEffect(function(){if(u)return u.registerPath(e,t),function(){u.unregisterPath(e,t)}},[t]);var o;return u?o=n:o=a.createElement(vn,r,n),a.createElement(on.Provider,{value:t},o)}var wn=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],st=[],Dn=a.forwardRef(function(r,e){var i,t,n=r,u=n.prefixCls,o=u===void 0?"rc-menu":u,d=n.rootClassName,f=n.style,m=n.className,h=n.tabIndex,N=h===void 0?0:h,R=n.items,A=n.children,O=n.direction,w=n.id,F=n.mode,k=F===void 0?"vertical":F,Z=n.inlineCollapsed,I=n.disabled,b=n.disabledOverflow,T=n.subMenuOpenDelay,M=T===void 0?.1:T,V=n.subMenuCloseDelay,me=V===void 0?.1:V,B=n.forceSubMenuRender,Oe=n.defaultOpenKeys,Ze=n.openKeys,te=n.activeKey,Se=n.defaultActiveFirst,pe=n.selectable,ve=pe===void 0?!0:pe,oe=n.multiple,ce=oe===void 0?!1:oe,Ne=n.defaultSelectedKeys,It=n.selectedKeys,pt=n.onSelect,ut=n.onDeselect,at=n.inlineIndent,gt=at===void 0?24:at,ht=n.motion,Re=n.defaultMotions,fe=n.triggerSubMenuAction,ct=fe===void 0?"hover":fe,it=n.builtinPlacements,dt=n.itemIcon,ge=n.expandIcon,Be=n.overflowedIndicator,vt=Be===void 0?"...":Be,Jt=n.overflowedIndicatorPopupClassName,Xt=n.getPopupContainer,Ct=n.onClick,Kt=n.onOpenChange,pn=n.onKeyDown,gn=n.openAnimation,zn=n.openTransitionName,hn=n._internalRenderMenuItem,Qt=n._internalRenderSubMenuItem,Wn=(0,S.Z)(n,wn),lt=a.useMemo(function(){return rt(A,R,st)},[A,R]),Cn=a.useState(!1),yn=(0,P.Z)(Cn,2),bn=yn[0],jn=yn[1],$t=a.useRef(),_t=be(w),Ot=O==="rtl",qt=(0,We.Z)(Oe,{value:Ze,postState:function(H){return H||st}}),zt=(0,P.Z)(qt,2),Ue=zt[0],Wt=zt[1],He=function(H){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function we(){Wt(H),Kt==null||Kt(H)}_?(0,Mn.flushSync)(we):we()},qe=a.useState(Ue),Qn=(0,P.Z)(qe,2),Sr=Qn[0],Ir=Qn[1],Fn=a.useRef(!1),Or=a.useMemo(function(){return(k==="inline"||k==="vertical")&&Z?["vertical",Z]:[k,!1]},[k,Z]),_n=(0,P.Z)(Or,2),xn=_n[0],kn=_n[1],qn=xn==="inline",Zr=a.useState(xn),er=(0,P.Z)(Zr,2),yt=er[0],Nr=er[1],Rr=a.useState(kn),tr=(0,P.Z)(Rr,2),wr=tr[0],Dr=tr[1];a.useEffect(function(){Nr(xn),Dr(kn),!!Fn.current&&(qn?Wt(Sr):He(st))},[xn,kn]);var Tr=a.useState(0),nr=(0,P.Z)(Tr,2),En=nr[0],Ar=nr[1],Vn=En>=lt.length-1||yt!=="horizontal"||b;a.useEffect(function(){qn&&Ir(Ue)},[Ue]),a.useEffect(function(){return Fn.current=!0,function(){Fn.current=!1}},[]);var Zt=se(),rr=Zt.registerPath,ar=Zt.unregisterPath,Lr=Zt.refreshOverflowKeys,ir=Zt.isSubPathKey,Kr=Zt.getKeyPath,$r=Zt.getKeys,zr=Zt.getSubPathKeys,Wr=a.useMemo(function(){return{registerPath:rr,unregisterPath:ar}},[rr,ar]),jr=a.useMemo(function(){return{isSubPathKey:ir}},[ir]);a.useEffect(function(){Lr(Vn?st:lt.slice(En+1).map(function(ne){return ne.key}))},[En,Vn]);var Fr=(0,We.Z)(te||Se&&((i=lt[0])===null||i===void 0?void 0:i.key),{value:te}),lr=(0,P.Z)(Fr,2),en=lr[0],Bn=lr[1],kr=ae(function(ne){Bn(ne)}),Vr=ae(function(){Bn(void 0)});(0,a.useImperativeHandle)(e,function(){return{list:$t.current,focus:function(H){var _,we=en!=null?en:(_=lt.find(function(ea){return!ea.props.disabled}))===null||_===void 0?void 0:_.key;if(we){var ze,Nt,tn;(ze=$t.current)===null||ze===void 0||(Nt=ze.querySelector("li[data-menu-id='".concat(jt(_t,we),"']")))===null||Nt===void 0||(tn=Nt.focus)===null||tn===void 0||tn.call(Nt,H)}}}});var Br=(0,We.Z)(Ne||[],{value:It,postState:function(H){return Array.isArray(H)?H:H==null?st:[H]}}),or=(0,P.Z)(Br,2),Pn=or[0],Ur=or[1],Hr=function(H){if(ve){var _=H.key,we=Pn.includes(_),ze;ce?we?ze=Pn.filter(function(tn){return tn!==_}):ze=[].concat((0,G.Z)(Pn),[_]):ze=[_],Ur(ze);var Nt=(0,l.Z)((0,l.Z)({},H),{},{selectedKeys:ze});we?ut==null||ut(Nt):pt==null||pt(Nt)}!ce&&Ue.length&&yt!=="inline"&&He(st)},Gr=ae(function(ne){Ct==null||Ct(le(ne)),Hr(ne)}),sr=ae(function(ne,H){var _=Ue.filter(function(ze){return ze!==ne});if(H)_.push(ne);else if(yt!=="inline"){var we=zr(ne);_=_.filter(function(ze){return!we.has(ze)})}nn()(Ue,_)||He(_,!0)}),Yr=ae(Xt),Jr=function(H,_){var we=_!=null?_:!Ue.includes(H);sr(H,we)},Xr=v(yt,en,Ot,_t,$t,$r,Kr,Bn,Jr,pn);a.useEffect(function(){jn(!0)},[]);var Qr=a.useMemo(function(){return{_internalRenderMenuItem:hn,_internalRenderSubMenuItem:Qt}},[hn,Qt]),_r=yt!=="horizontal"||b?lt:lt.map(function(ne,H){return a.createElement(bt,{key:ne.key,overflowDisabled:H>En},ne)}),qr=a.createElement(ye.Z,(0,p.Z)({id:w,ref:$t,prefixCls:"".concat(o,"-overflow"),component:"ul",itemComponent:Me,className:E()(o,"".concat(o,"-root"),"".concat(o,"-").concat(yt),m,(t={},(0,g.Z)(t,"".concat(o,"-inline-collapsed"),wr),(0,g.Z)(t,"".concat(o,"-rtl"),Ot),t),d),dir:O,style:f,role:"menu",tabIndex:N,data:_r,renderRawItem:function(H){return H},renderRawRest:function(H){var _=H.length,we=_?lt.slice(-_):null;return a.createElement(Lt,{eventKey:J,title:vt,disabled:Vn,internalPopupClose:_===0,popupClassName:Jt},we)},maxCount:yt!=="horizontal"||b?ye.Z.INVALIDATE:ye.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(H){Ar(H)},onKeyDown:Xr},Wn));return a.createElement(xt.Provider,{value:Qr},a.createElement(rn.Provider,{value:_t},a.createElement(bt,{prefixCls:o,rootClassName:d,mode:yt,openKeys:Ue,rtl:Ot,disabled:I,motion:bn?ht:null,defaultMotions:bn?Re:null,activeKey:en,onActive:kr,onInactive:Vr,selectedKeys:Pn,inlineIndent:gt,subMenuOpenDelay:M,subMenuCloseDelay:me,forceSubMenuRender:B,builtinPlacements:it,triggerSubMenuAction:ct,getPopupContainer:Yr,itemIcon:dt,expandIcon:ge,onItemClick:Gr,onOpenChange:sr},a.createElement(sn.Provider,{value:jr},qr),a.createElement("div",{style:{display:"none"},"aria-hidden":!0},a.createElement(ln.Provider,{value:Wr},lt)))))}),Tn=Dn,An=["className","title","eventKey","children"],ur=["children"],cr=function(e){var i=e.className,t=e.title,n=e.eventKey,u=e.children,o=(0,S.Z)(e,An),d=a.useContext(De),f=d.prefixCls,m="".concat(f,"-item-group");return a.createElement("li",(0,p.Z)({},o,{onClick:function(N){return N.stopPropagation()},className:E()(m,i)}),a.createElement("div",{className:"".concat(m,"-title"),title:typeof t=="string"?t:void 0},t),a.createElement("ul",{className:"".concat(m,"-list")},u))};function fn(r){var e=r.children,i=(0,S.Z)(r,ur),t=ft(i.eventKey),n=Ie(e,t),u=Rt();return u?n:a.createElement(cr,(0,U.Z)(i,["warnKey"]),n)}function Ln(r){var e=r.className,i=r.style,t=a.useContext(De),n=t.prefixCls,u=Rt();return u?null:a.createElement("li",{className:E()("".concat(n,"-item-divider"),e),style:i})}var Gt=Tn;Gt.Item=Me,Gt.SubMenu=Lt,Gt.ItemGroup=fn,Gt.Divider=Ln;var dr=Gt,vr=s(66680),Hn=s(53124),ta=function(r,e){var i={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&e.indexOf(t)<0&&(i[t]=r[t]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,t=Object.getOwnPropertySymbols(r);n0&&arguments[0]!==void 0?arguments[0]:"";return r+=1,"".concat(e).concat(r)}}(),aa=null,ia=null,fr=s(33603),St=s(96159),mr=function(r,e){var i={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&e.indexOf(t)<0&&(i[t]=r[t]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,t=Object.getOwnPropertySymbols(r);n1&&arguments[1]!==void 0?arguments[1]:!1;if((0,$.Z)(l)){var P=l.nodeName.toLowerCase(),S=["input","select","textarea","button"].includes(P)||l.isContentEditable||P==="a"&&!!l.getAttribute("href"),ye=l.getAttribute("tabindex"),We=Number(ye),xe=null;return ye&&!Number.isNaN(We)?xe=We:S&&xe===null&&(xe=0),S&&l.disabled&&(xe=null),xe!==null&&(xe>=0||G&&xe<0)}return!1}function z(l){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,P=(0,D.Z)(l.querySelectorAll("*")).filter(function(S){return L(S,G)});return L(l,G)&&P.unshift(l),P}var p=null;function C(){p=document.activeElement}function x(){p=null}function E(){if(p)try{p.focus()}catch(l){}}function g(l,G){if(G.keyCode===9){var P=z(l),S=P[G.shiftKey?0:P.length-1],ye=S===document.activeElement||l===document.activeElement;if(ye){var We=P[G.shiftKey?P.length-1:0];We.focus(),G.preventDefault()}}}},74204:function(ot,re,s){"use strict";s.d(re,{Z:function(){return $},o:function(){return z}});var D;function $(p){if(typeof document=="undefined")return 0;if(p||D===void 0){var C=document.createElement("div");C.style.width="100%",C.style.height="200px";var x=document.createElement("div"),E=x.style;E.position="absolute",E.top="0",E.left="0",E.pointerEvents="none",E.visibility="hidden",E.width="200px",E.height="150px",E.overflow="hidden",x.appendChild(C),document.body.appendChild(x);var g=C.offsetWidth;x.style.overflow="scroll";var l=C.offsetWidth;g===l&&(l=x.clientWidth),document.body.removeChild(x),D=g-l}return D}function L(p){var C=p.match(/^(.*)px$/),x=Number(C==null?void 0:C[1]);return Number.isNaN(x)?$():x}function z(p){if(typeof document=="undefined"||!p||!(p instanceof Element))return{width:0,height:0};var C=getComputedStyle(p,"::-webkit-scrollbar"),x=C.width,E=C.height;return{width:L(x),height:L(E)}}}}]);