You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Declaration__index.f135c...

26 lines
106 KiB

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[1538],{25877:function(Et,ue,u){u.d(ue,{Z:function(){return W}});var C=u(87462),d=u(67294),M={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"},G=M,b=u(74643),w=function(r,A){return d.createElement(b.Z,(0,C.Z)({},r,{ref:A,icon:G}))},W=d.forwardRef(w)},22751:function(Et,ue,u){u.d(ue,{Z:function(){return W}});var C=u(87462),d=u(67294),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},G=M,b=u(74643),w=function(r,A){return d.createElement(b.Z,(0,C.Z)({},r,{ref:A,icon:G}))},W=d.forwardRef(w)},91034:function(Et,ue,u){u.d(ue,{Z:function(){return W}});var C=u(87462),d=u(67294),M={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"},G=M,b=u(74643),w=function(r,A){return d.createElement(b.Z,(0,C.Z)({},r,{ref:A,icon:G}))},W=d.forwardRef(w)},53881:function(Et,ue,u){u.r(ue),u.d(ue,{default:function(){return _}});var C=u(67294),d=u(35973),M={flex_box_center:"flex_box_center___iPpgp",flex_space_between:"flex_space_between___x0MrW",flex_box_vertical_center:"flex_box_vertical_center___KF84F",flex_box_center_end:"flex_box_center_end___SfLUr",flex_box_column:"flex_box_column___XLV_u",content:"content___AQQpS",leftBox:"leftBox___tnyVb",leftWrap:"leftWrap___BywYQ",menuBox:"menuBox___vRkrq",rightBox:"rightBox___mt1Rf",rightWrap:"rightWrap___F9F14",hiddenBar:"hiddenBar___XtjnC"},G=u(68508),b=u(52262),w=u(67294);const W=({userDetail:r,user:A,globalSetting:F,loading:Ne,dispatch:he})=>{const[De,Te]=(0,C.useState)(["sub1"]);(0,C.useEffect)(()=>{const Ze=location.pathname;console.log("isCommonAdminOrCreator()",!(0,b.EO)()),(0,b.EO)()?Ze==="/declaration"&&d.history.replace({pathname:"/declaration/home"}):d.history.replace({pathname:"/403"})},[]);const se=[{key:"sub1",icon:w.createElement("i",{className:"iconfont icon-huanyingye"}),label:"\u6B22\u8FCE\u9875",path:"/declaration/home"},{key:"sub2",icon:w.createElement("i",{className:"iconfont icon-keyanleishenbao"}),label:"\u79D1\u7814\u7C7B\u7533\u62A5",children:[{key:"sub2-1",label:"\u7533\u62A5\u8BF4\u660E",path:"/declaration/research/instruction"},{key:"sub2-2",label:"\u79D1\u7814\u8BBA\u6587\u7533\u62A5",path:"/declaration/research/paper"},{key:"sub2-3",label:"\u79D1\u7814\u9879\u76EE\u7533\u62A5",path:"/declaration/research/project"},{key:"sub2-4",label:"\u79D1\u7814\u4E13\u8457\u7533\u62A5",path:"/declaration/research/monograph"},{key:"sub2-5",label:"\u77E5\u8BC6\u4EA7\u6743\u7533\u62A5",path:"/declaration/research/intellectualProperty"},{key:"sub2-6",label:"\u79D1\u7814\u83B7\u5956\u7533\u62A5",path:"/declaration/research/researchAward"},{key:"sub2-7",label:"\u6210\u679C\u8F6C\u5316\u7533\u62A5",path:"/declaration/research/technologyTransfer"},{key:"sub2-8",label:"\u4F1A\u8BAE\u7814\u7A76\u6D3B\u52A8",path:"/declaration/research/conferenceResearch"}]},{key:"sub3",icon:w.createElement("i",{className:"iconfont icon-jiaoxueleishenbao"}),label:"\u6559\u5B66\u7C7B\u7533\u62A5",children:[{key:"sub3-1",label:"\u5B66\u79D1\u7ADE\u8D5B\u83B7\u5956\u7533\u62A5",path:"/declaration/research/teachCompetition"},{key:"sub3-2",label:"\u6559\u5B66\u9879\u76EE\u7533\u62A5",path:"/declaration/research/teachProject"},{key:"sub3-3",label:"\u6559\u5B66\u83B7\u5956\u7533\u62A5",path:"/declaration/research/teachWin"},{key:"sub3-4",label:"\u6559\u5B66\u8BBA\u6587\u7533\u62A5",path:"/declaration/research/teachPaper"},{key:"sub3-5",label:"\u51FA\u7248\u6559\u6750\u7533\u62A5",path:"/declaration/research/teachBook"},{key:"sub3-6",label:"\u57F9\u8BAD\u6216\u6559\u5B66\u4F1A\u8BAE",path:"/declaration/research/teachMeeting"}]},{key:"sub4",icon:w.createElement("i",{className:"iconfont icon-shenbaoshenhe"}),label:"\u7533\u62A5\u5BA1\u6838",path:"/declaration/review"},{key:"sub5",icon:w.createElement("i",{className:"iconfont icon-xuanxiangguanli"}),label:"\u9009\u9879\u7BA1\u7406",path:"/declaration/fileds"}].filter(Ze=>(0,b.Ny)()?!0:Ze.key!=="sub5"&&Ze.key!=="sub4"),S=Ze=>{const Fe=Pe(se,Ze==null?void 0:Ze.key);Fe&&(Fe!=null&&Fe.path)&&(d.history.push(Fe.path),Te([Fe.key]))},Pe=(Ze,Fe)=>{for(const X of Ze){if(X.key===Fe)return X;if(X.children){const R=Pe(X.children,Fe);if(R)return R}}return null},Ht=(Ze,Fe)=>{for(const X of Ze){if(X.path===Fe)return X.key;if(X.children){const R=Ht(X.children,Fe);if(R)return R}}return null};return(0,C.useEffect)(()=>{const Ze=Ht(se,location.pathname);Ze&&Te([Ze])},[location.pathname]),w.createElement("div",{className:M.content},w.createElement("div",{className:M.leftBox},w.createElement("div",{className:`${M.leftWrap} ${M.hiddenBar}`},w.createElement(G.default,{className:M.menuBox,mode:"inline",defaultSelectedKeys:De,selectedKeys:De,defaultOpenKeys:["sub2","sub3"],onClick:S,items:se}))),w.createElement("div",{className:M.rightBox},w.createElement("div",{className:M.rightWrap},w.createElement(d.Outlet,null))))};var _=(0,d.connect)(({userDetail:r,user:A,loading:F,globalSetting:Ne})=>({user:A,userDetail:r,globalSetting:Ne,loading:F.models.index}))(W)},71322:function(Et,ue,u){u.d(ue,{D:function(){return Ht},Z:function(){return X}});var C=u(87462),d=u(67294),M={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},G=M,b=u(74643),w=function(q,Y){return d.createElement(b.Z,(0,C.Z)({},q,{ref:Y,icon:G}))},W=d.forwardRef(w),_=u(22751),r=u(91034),A=u(94184),F=u.n(A),Ne=u(10366),De=R=>!isNaN(parseFloat(R))&&isFinite(R),Te=u(53124),se=u(84321),S=function(R,q){var Y={};for(var U in R)Object.prototype.hasOwnProperty.call(R,U)&&q.indexOf(U)<0&&(Y[U]=R[U]);if(R!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,U=Object.getOwnPropertySymbols(R);ve<U.length;ve++)q.indexOf(U[ve])<0&&Object.prototype.propertyIsEnumerable.call(R,U[ve])&&(Y[U[ve]]=R[U[ve]]);return Y};const Pe={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Ht=d.createContext({}),Ze=(()=>{let R=0;return function(){let q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return R+=1,`${q}${R}`}})();var X=d.forwardRef((R,q)=>{const{prefixCls:Y,className:U,trigger:ve,children:tt,defaultCollapsed:pt=!1,theme:wt="dark",style:Zt={},collapsible:Jt=!1,reverseArrow:lt=!1,width:dn=200,collapsedWidth:Yt=80,zeroWidthTriggerStyle:Nn,breakpoint:bt,onCollapse:At,onBreakpoint:Wt}=R,Cn=S(R,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:fn}=(0,d.useContext)(se.Gs),[Ot,vn]=(0,d.useState)("collapsed"in R?R.collapsed:pt),[mn,Fn]=(0,d.useState)(!1);(0,d.useEffect)(()=>{"collapsed"in R&&vn(R.collapsed)},[R.collapsed]);const Sn=(ye,v)=>{"collapsed"in R||vn(ye),At==null||At(ye,v)},ur=(0,d.useRef)();ur.current=ye=>{Fn(ye.matches),Wt==null||Wt(ye.matches),Ot!==ye.matches&&Sn(ye.matches,"responsive")},(0,d.useEffect)(()=>{function ye(c){return ur.current(c)}let v;if(typeof window!="undefined"){const{matchMedia:c}=window;if(c&&bt&&bt in Pe){v=c(`(max-width: ${Pe[bt]})`);try{v.addEventListener("change",ye)}catch(s){v.addListener(ye)}ye(v)}}return()=>{try{v==null||v.removeEventListener("change",ye)}catch(c){v==null||v.removeListener(ye)}}},[bt]),(0,d.useEffect)(()=>{const ye=Ze("ant-sider-");return fn.addSider(ye),()=>fn.removeSider(ye)},[]);const In=()=>{Sn(!Ot,"clickTrigger")},{getPrefixCls:nr}=(0,d.useContext)(Te.E_),sr=()=>{const ye=nr("layout-sider",Y),v=(0,Ne.Z)(Cn,["collapsed"]),c=Ot?Yt:dn,s=De(c)?`${c}px`:String(c),g=parseFloat(String(Yt||0))===0?d.createElement("span",{onClick:In,className:F()(`${ye}-zero-width-trigger`,`${ye}-zero-width-trigger-${lt?"right":"left"}`),style:Nn},ve||d.createElement(W,null)):null,z={expanded:lt?d.createElement(r.Z,null):d.createElement(_.Z,null),collapsed:lt?d.createElement(_.Z,null):d.createElement(r.Z,null)}[Ot?"collapsed":"expanded"],V=ve!==null?g||d.createElement("div",{className:`${ye}-trigger`,onClick:In,style:{width:s}},ve||z):null,ie=Object.assign(Object.assign({},Zt),{flex:`0 0 ${s}`,maxWidth:s,minWidth:s,width:s}),ce=F()(ye,`${ye}-${wt}`,{[`${ye}-collapsed`]:!!Ot,[`${ye}-has-trigger`]:Jt&&ve!==null&&!g,[`${ye}-below`]:!!mn,[`${ye}-zero-width`]:parseFloat(s)===0},U);return d.createElement("aside",Object.assign({className:ce},v,{style:ie,ref:q}),d.createElement("div",{className:`${ye}-children`},tt),Jt||mn&&g?V:null)},$n=d.useMemo(()=>({siderCollapsed:Ot}),[Ot]);return d.createElement(Ht.Provider,{value:$n},sr())})},84321:function(Et,ue,u){u.d(ue,{VY:function(){return Ze},$_:function(){return Ht},h4:function(){return Pe},Gs:function(){return he},ZP:function(){return Fe}});var C=u(74902),d=u(94184),M=u.n(d),G=u(10366),b=u(67294),w=u(53124),W=u(67968),r=X=>{const{componentCls:R,bodyBg:q,lightSiderBg:Y,lightTriggerBg:U,lightTriggerColor:ve}=X;return{[`${R}-sider-light`]:{background:Y,[`${R}-sider-trigger`]:{color:ve,background:U},[`${R}-sider-zero-width-trigger`]:{color:ve,background:U,border:`1px solid ${q}`,borderInlineStart:0}}}};const A=X=>{const{antCls:R,componentCls:q,colorText:Y,triggerColor:U,footerBg:ve,triggerBg:tt,headerHeight:pt,headerPadding:wt,headerColor:Zt,footerPadding:Jt,triggerHeight:lt,zeroTriggerHeight:dn,zeroTriggerWidth:Yt,motionDurationMid:Nn,motionDurationSlow:bt,fontSize:At,borderRadius:Wt,bodyBg:Cn,headerBg:fn,siderBg:Ot}=X;return{[q]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Cn,"&, *":{boxSizing:"border-box"},[`&${q}-has-sider`]:{flexDirection:"row",[`> ${q}, > ${q}-content`]:{width:0}},[`${q}-header, &${q}-footer`]:{flex:"0 0 auto"},[`${q}-sider`]:{position:"relative",minWidth:0,background:Ot,transition:`all ${Nn}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${R}-menu${R}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:lt},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:lt,color:U,lineHeight:`${lt}px`,textAlign:"center",background:tt,cursor:"pointer",transition:`all ${Nn}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:pt,insetInlineEnd:-Yt,zIndex:1,width:Yt,height:dn,color:U,fontSize:X.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ot,borderStartStartRadius:0,borderStartEndRadius:Wt,borderEndEndRadius:Wt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${bt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${bt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-Yt,borderStartStartRadius:Wt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Wt}}}}},r(X)),{"&-rtl":{direction:"rtl"}}),[`${q}-header`]:{height:pt,padding:wt,color:Zt,lineHeight:`${pt}px`,background:fn,[`${R}-menu`]:{lineHeight:"inherit"}},[`${q}-footer`]:{padding:Jt,color:Y,fontSize:At,background:ve},[`${q}-content`]:{flex:"auto",minHeight:0}}};var F=(0,W.Z)("Layout",X=>[A(X)],X=>{const{colorBgLayout:R,controlHeight:q,controlHeightLG:Y,colorText:U,controlHeightSM:ve,marginXXS:tt,colorTextLightSolid:pt,colorBgContainer:wt}=X,Zt=Y*1.25;return{colorBgHeader:"#001529",colorBgBody:R,colorBgTrigger:"#002140",bodyBg:R,headerBg:"#001529",headerHeight:q*2,headerPadding:`0 ${Zt}px`,headerColor:U,footerPadding:`${ve}px ${Zt}px`,footerBg:R,siderBg:"#001529",triggerHeight:Y+tt*2,triggerBg:"#002140",triggerColor:pt,zeroTriggerWidth:Y,zeroTriggerHeight:Y,lightSiderBg:wt,lightTriggerBg:wt,lightTriggerColor:U}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Ne=function(X,R){var q={};for(var Y in X)Object.prototype.hasOwnProperty.call(X,Y)&&R.indexOf(Y)<0&&(q[Y]=X[Y]);if(X!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,Y=Object.getOwnPropertySymbols(X);U<Y.length;U++)R.indexOf(Y[U])<0&&Object.prototype.propertyIsEnumerable.call(X,Y[U])&&(q[Y[U]]=X[Y[U]]);return q};const he=b.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function De(X){let{suffixCls:R,tagName:q,displayName:Y}=X;return U=>b.forwardRef((tt,pt)=>b.createElement(U,Object.assign({ref:pt,suffixCls:R,tagName:q},tt)))}const Te=b.forwardRef((X,R)=>{const{prefixCls:q,suffixCls:Y,className:U,tagName:ve}=X,tt=Ne(X,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:pt}=b.useContext(w.E_),wt=pt("layout",q),[Zt,Jt]=F(wt),lt=Y?`${wt}-${Y}`:wt;return Zt(b.createElement(ve,Object.assign({className:M()(q||lt,U,Jt),ref:R},tt)))}),se=b.forwardRef((X,R)=>{const{direction:q}=b.useContext(w.E_),[Y,U]=b.useState([]),{prefixCls:ve,className:tt,rootClassName:pt,children:wt,hasSider:Zt,tagName:Jt,style:lt}=X,dn=Ne(X,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),Yt=(0,G.Z)(dn,["suffixCls"]),{getPrefixCls:Nn,layout:bt}=b.useContext(w.E_),At=Nn("layout",ve),[Wt,Cn]=F(At),fn=M()(At,{[`${At}-has-sider`]:typeof Zt=="boolean"?Zt:Y.length>0,[`${At}-rtl`]:q==="rtl"},bt==null?void 0:bt.className,tt,pt,Cn),Ot=b.useMemo(()=>({siderHook:{addSider:vn=>{U(mn=>[].concat((0,C.Z)(mn),[vn]))},removeSider:vn=>{U(mn=>mn.filter(Fn=>Fn!==vn))}}}),[]);return Wt(b.createElement(he.Provider,{value:Ot},b.createElement(Jt,Object.assign({ref:R,className:fn,style:Object.assign(Object.assign({},bt==null?void 0:bt.style),lt)},Yt),wt)))}),S=De({tagName:"div",displayName:"Layout"})(se),Pe=De({suffixCls:"header",tagName:"header",displayName:"Header"})(Te),Ht=De({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Te),Ze=De({suffixCls:"content",tagName:"main",displayName:"Content"})(Te);var Fe=S},76529:function(Et,ue,u){u.d(ue,{J:function(){return w}});var C=u(67294),d=u(4173),M=u(60276),G=function(W,_){var r={};for(var A in W)Object.prototype.hasOwnProperty.call(W,A)&&_.indexOf(A)<0&&(r[A]=W[A]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var F=0,A=Object.getOwnPropertySymbols(W);F<A.length;F++)_.indexOf(A[F])<0&&Object.prototype.propertyIsEnumerable.call(W,A[F])&&(r[A[F]]=W[A[F]]);return r};const b=C.createContext(null),w=C.forwardRef((W,_)=>{const{children:r}=W,A=G(W,["children"]),F=C.useContext(b),Ne=C.useMemo(()=>Object.assign(Object.assign({},F),A),[F,A.prefixCls,A.mode,A.selectable]);return C.createElement(b.Provider,{value:Ne},C.createElement(d.BR,null,(0,M.supportNodeRef)(r)?C.cloneElement(r,{ref:_}):r))});ue.Z=b},68508:function(Et,ue,u){u.d(ue,{default:function(){return ye}});var C=u(52073),d=u(67294),M=u(71322),G=u(94184),b=u.n(G),w=u(53124),W=function(v,c){var s={};for(var g in v)Object.prototype.hasOwnProperty.call(v,g)&&c.indexOf(g)<0&&(s[g]=v[g]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(v);m<g.length;m++)c.indexOf(g[m])<0&&Object.prototype.propertyIsEnumerable.call(v,g[m])&&(s[g[m]]=v[g[m]]);return s},r=v=>{const{prefixCls:c,className:s,dashed:g}=v,m=W(v,["prefixCls","className","dashed"]),{getPrefixCls:N}=d.useContext(w.E_),z=N("menu",c),V=b()({[`${z}-item-divider-dashed`]:!!g},s);return d.createElement(C.iz,Object.assign({className:V},m))},A=u(37419),F=u(10366),Ne=u(83062),he=u(96159),Te=(0,d.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),S=v=>{var c;const{className:s,children:g,icon:m,title:N,danger:z}=v,{prefixCls:V,firstLevel:ie,direction:ce,disableMenuItemTitleTooltip:Ue,inlineCollapsed:pe}=d.useContext(Te),nt=Bt=>{const Ft=d.createElement("span",{className:`${V}-title-content`},g);return(!m||(0,he.l$)(g)&&g.type==="span")&&g&&Bt&&ie&&typeof g=="string"?d.createElement("div",{className:`${V}-inline-collapsed-noicon`},g.charAt(0)):Ft},{siderCollapsed:ut}=d.useContext(M.D);let Ke=N;typeof N=="undefined"?Ke=ie?g:"":N===!1&&(Ke="");const le={title:Ke};!ut&&!pe&&(le.title=null,le.open=!1);const Ae=(0,A.Z)(g).length;let Xe=d.createElement(C.ck,Object.assign({},(0,F.Z)(v,["title","icon","danger"]),{className:b()({[`${V}-item-danger`]:z,[`${V}-item-only-child`]:(m?Ae+1:Ae)===1},s),title:typeof N=="string"?N:void 0}),(0,he.Tm)(m,{className:b()((0,he.l$)(m)?(c=m.props)===null||c===void 0?void 0:c.className:"",`${V}-item-icon`)}),nt(pe));return Ue||(Xe=d.createElement(Ne.Z,Object.assign({},le,{placement:ce==="rtl"?"left":"right",overlayClassName:`${V}-inline-collapsed-tooltip`}),Xe)),Xe},Ht=v=>{var c;const{popupClassName:s,icon:g,title:m,theme:N}=v,z=d.useContext(Te),{prefixCls:V,inlineCollapsed:ie,theme:ce}=z,Ue=(0,C.Xl)();let pe;if(!g)pe=ie&&!Ue.length&&m&&typeof m=="string"?d.createElement("div",{className:`${V}-inline-collapsed-noicon`},m.charAt(0)):d.createElement("span",{className:`${V}-title-content`},m);else{const ut=(0,he.l$)(m)&&m.type==="span";pe=d.createElement(d.Fragment,null,(0,he.Tm)(g,{className:b()((0,he.l$)(g)?(c=g.props)===null||c===void 0?void 0:c.className:"",`${V}-item-icon`)}),ut?m:d.createElement("span",{className:`${V}-title-content`},m))}const nt=d.useMemo(()=>Object.assign(Object.assign({},z),{firstLevel:!1}),[z]);return d.createElement(Te.Provider,{value:nt},d.createElement(C.Wd,Object.assign({},(0,F.Z)(v,["icon"]),{title:pe,popupClassName:b()(V,s,`${V}-${N||ce}`)})))},Ze=u(25877),Fe=u(60276),X=u(33603),R=u(76529),q=function(v,c){var s={};for(var g in v)Object.prototype.hasOwnProperty.call(v,g)&&c.indexOf(g)<0&&(s[g]=v[g]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(v);m<g.length;m++)c.indexOf(g[m])<0&&Object.prototype.propertyIsEnumerable.call(v,g[m])&&(s[g[m]]=v[g[m]]);return s};function Y(v){return(v||[]).map((c,s)=>{if(c&&typeof c=="object"){const g=c,{label:m,children:N,key:z,type:V}=g,ie=q(g,["label","children","key","type"]),ce=z!=null?z:`tmp-${s}`;return N||V==="group"?V==="group"?d.createElement(C.BW,Object.assign({key:ce},ie,{title:m}),Y(N)):d.createElement(Ht,Object.assign({key:ce},ie,{title:m}),Y(N)):V==="divider"?d.createElement(r,Object.assign({key:ce},ie)):d.createElement(S,Object.assign({key:ce},ie),m)}return null}).filter(c=>c)}function U(v){return d.useMemo(()=>v&&Y(v),[v])}var ve=u(84780),tt=u(14747),pt=u(33507),wt=u(67771),Zt=u(50438),Jt=u(67968),lt=u(45503),Yt=v=>{const{componentCls:c,motionDurationSlow:s,horizontalLineHeight:g,colorSplit:m,lineWidth:N,lineType:z,itemPaddingInline:V}=v;return{[`${c}-horizontal`]:{lineHeight:g,border:0,borderBottom:`${N}px ${z} ${m}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${c}-item, ${c}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:V},[`> ${c}-item:hover,
> ${c}-item-active,
> ${c}-submenu ${c}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${c}-item, ${c}-submenu-title`]:{transition:[`border-color ${s}`,`background ${s}`].join(",")},[`${c}-submenu-arrow`]:{display:"none"}}}},bt=v=>{let{componentCls:c,menuArrowOffset:s}=v;return{[`${c}-rtl`]:{direction:"rtl"},[`${c}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${c}-rtl${c}-vertical,
${c}-submenu-rtl ${c}-vertical`]:{[`${c}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${s})`},"&::after":{transform:`rotate(45deg) translateY(${s})`}}}}};const At=v=>Object.assign({},(0,tt.oN)(v));var Cn=(v,c)=>{const{componentCls:s,itemColor:g,itemSelectedColor:m,groupTitleColor:N,itemBg:z,subMenuItemBg:V,itemSelectedBg:ie,activeBarHeight:ce,activeBarWidth:Ue,activeBarBorderWidth:pe,motionDurationSlow:nt,motionEaseInOut:ut,motionEaseOut:Ke,itemPaddingInline:le,motionDurationMid:Ae,itemHoverColor:Xe,lineType:Bt,colorSplit:Ft,itemDisabledColor:qt,dangerItemColor:Un,dangerItemHoverColor:gn,dangerItemSelectedColor:en,dangerItemActiveBg:vt,dangerItemSelectedBg:Lt,itemHoverBg:xn,itemActiveBg:hn,menuSubMenuBg:Vn,horizontalItemSelectedColor:En,horizontalItemSelectedBg:Gn,horizontalItemBorderRadius:Dn,horizontalItemHoverBg:yn,popupBg:cr}=v;return{[`${s}-${c}, ${s}-${c} > ${s}`]:{color:g,background:z,[`&${s}-root:focus-visible`]:Object.assign({},At(v)),[`${s}-item-group-title`]:{color:N},[`${s}-submenu-selected`]:{[`> ${s}-submenu-title`]:{color:m}},[`${s}-item-disabled, ${s}-submenu-disabled`]:{color:`${qt} !important`},[`${s}-item:not(${s}-item-selected):not(${s}-submenu-selected)`]:{[`&:hover, > ${s}-submenu-title:hover`]:{color:Xe}},[`&:not(${s}-horizontal)`]:{[`${s}-item:not(${s}-item-selected)`]:{"&:hover":{backgroundColor:xn},"&:active":{backgroundColor:hn}},[`${s}-submenu-title`]:{"&:hover":{backgroundColor:xn},"&:active":{backgroundColor:hn}}},[`${s}-item-danger`]:{color:Un,[`&${s}-item:hover`]:{[`&:not(${s}-item-selected):not(${s}-submenu-selected)`]:{color:gn}},[`&${s}-item:active`]:{background:vt}},[`${s}-item a`]:{"&, &:hover":{color:"inherit"}},[`${s}-item-selected`]:{color:m,[`&${s}-item-danger`]:{color:en},"a, a:hover":{color:"inherit"}},[`& ${s}-item-selected`]:{backgroundColor:ie,[`&${s}-item-danger`]:{backgroundColor:Lt}},[`${s}-item, ${s}-submenu-title`]:{[`&:not(${s}-item-disabled):focus-visible`]:Object.assign({},At(v))},[`&${s}-submenu > ${s}`]:{backgroundColor:Vn},[`&${s}-popup > ${s}`]:{backgroundColor:cr},[`&${s}-horizontal`]:Object.assign(Object.assign({},c==="dark"?{borderBottom:0}:{}),{[`> ${s}-item, > ${s}-submenu`]:{top:pe,marginTop:-pe,marginBottom:0,borderRadius:Dn,"&::after":{position:"absolute",insetInline:le,bottom:0,borderBottom:`${ce}px solid transparent`,transition:`border-color ${nt} ${ut}`,content:'""'},"&:hover, &-active, &-open":{background:yn,"&::after":{borderBottomWidth:ce,borderBottomColor:En}},"&-selected":{color:En,backgroundColor:Gn,"&:hover":{backgroundColor:Gn},"&::after":{borderBottomWidth:ce,borderBottomColor:En}}}}),[`&${s}-root`]:{[`&${s}-inline, &${s}-vertical`]:{borderInlineEnd:`${pe}px ${Bt} ${Ft}`}},[`&${s}-inline`]:{[`${s}-sub${s}-inline`]:{background:V},[`${s}-item, ${s}-submenu-title`]:pe&&Ue?{width:`calc(100% + ${pe}px)`}:{},[`${s}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ue}px solid ${m}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ae} ${Ke}`,`opacity ${Ae} ${Ke}`].join(","),content:'""'},[`&${s}-item-danger`]:{"&::after":{borderInlineEndColor:en}}},[`${s}-selected, ${s}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ae} ${ut}`,`opacity ${Ae} ${ut}`].join(",")}}}}}};const fn=v=>{const{componentCls:c,itemHeight:s,itemMarginInline:g,padding:m,menuArrowSize:N,marginXS:z,itemMarginBlock:V}=v,ie=m+N+z;return{[`${c}-item`]:{position:"relative",overflow:"hidden"},[`${c}-item, ${c}-submenu-title`]:{height:s,lineHeight:`${s}px`,paddingInline:m,overflow:"hidden",textOverflow:"ellipsis",marginInline:g,marginBlock:V,width:`calc(100% - ${g*2}px)`},[`> ${c}-item,
> ${c}-submenu > ${c}-submenu-title`]:{height:s,lineHeight:`${s}px`},[`${c}-item-group-list ${c}-submenu-title,
${c}-submenu-title`]:{paddingInlineEnd:ie}}};var vn=v=>{const{componentCls:c,iconCls:s,itemHeight:g,colorTextLightSolid:m,dropdownWidth:N,controlHeightLG:z,motionDurationMid:V,motionEaseOut:ie,paddingXL:ce,itemMarginInline:Ue,fontSizeLG:pe,motionDurationSlow:nt,paddingXS:ut,boxShadowSecondary:Ke,collapsedWidth:le,collapsedIconSize:Ae}=v,Xe={height:g,lineHeight:`${g}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[c]:{"&-inline, &-vertical":Object.assign({[`&${c}-root`]:{boxShadow:"none"}},fn(v))},[`${c}-submenu-popup`]:{[`${c}-vertical`]:Object.assign(Object.assign({},fn(v)),{boxShadow:Ke})}},{[`${c}-submenu-popup ${c}-vertical${c}-sub`]:{minWidth:N,maxHeight:`calc(100vh - ${z*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${c}-inline`]:{width:"100%",[`&${c}-root`]:{[`${c}-item, ${c}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${nt}`,`background ${nt}`,`padding ${V} ${ie}`].join(","),[`> ${c}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${c}-sub${c}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${c}-submenu > ${c}-submenu-title`]:Xe,[`& ${c}-item-group-title`]:{paddingInlineStart:ce}},[`${c}-item`]:Xe}},{[`${c}-inline-collapsed`]:{width:le,[`&${c}-root`]:{[`${c}-item, ${c}-submenu ${c}-submenu-title`]:{[`> ${c}-inline-collapsed-noicon`]:{fontSize:pe,textAlign:"center"}}},[`> ${c}-item,
> ${c}-item-group > ${c}-item-group-list > ${c}-item,
> ${c}-item-group > ${c}-item-group-list > ${c}-submenu > ${c}-submenu-title,
> ${c}-submenu > ${c}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${pe/2}px - ${Ue}px)`,textOverflow:"clip",[`
${c}-submenu-arrow,
${c}-submenu-expand-icon
`]:{opacity:0},[`${c}-item-icon, ${s}`]:{margin:0,fontSize:Ae,lineHeight:`${g}px`,"+ span":{display:"inline-block",opacity:0}}},[`${c}-item-icon, ${s}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${c}-item-icon, ${s}`]:{display:"none"},"a, a:hover":{color:m}},[`${c}-item-group-title`]:Object.assign(Object.assign({},tt.vS),{paddingInline:ut})}}]};const mn=v=>{const{componentCls:c,motionDurationSlow:s,motionDurationMid:g,motionEaseInOut:m,motionEaseOut:N,iconCls:z,iconSize:V,iconMarginInlineEnd:ie}=v;return{[`${c}-item, ${c}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${s}`,`background ${s}`,`padding ${s} ${m}`].join(","),[`${c}-item-icon, ${z}`]:{minWidth:V,fontSize:V,transition:[`font-size ${g} ${N}`,`margin ${s} ${m}`,`color ${s}`].join(","),"+ span":{marginInlineStart:ie,opacity:1,transition:[`opacity ${s} ${m}`,`margin ${s}`,`color ${s}`].join(",")}},[`${c}-item-icon`]:Object.assign({},(0,tt.Ro)()),[`&${c}-item-only-child`]:{[`> ${z}, > ${c}-item-icon`]:{marginInlineEnd:0}}},[`${c}-item-disabled, ${c}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${c}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Fn=v=>{const{componentCls:c,motionDurationSlow:s,motionEaseInOut:g,borderRadius:m,menuArrowSize:N,menuArrowOffset:z}=v;return{[`${c}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:v.margin,width:N,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${s} ${g}, opacity ${s}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:N*.6,height:N*.15,backgroundColor:"currentcolor",borderRadius:m,transition:[`background ${s} ${g}`,`transform ${s} ${g}`,`top ${s} ${g}`,`color ${s} ${g}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${z})`},"&::after":{transform:`rotate(-45deg) translateY(${z})`}}}}},Sn=v=>{const{antCls:c,componentCls:s,fontSize:g,motionDurationSlow:m,motionDurationMid:N,motionEaseInOut:z,paddingXS:V,padding:ie,colorSplit:ce,lineWidth:Ue,zIndexPopup:pe,borderRadiusLG:nt,subMenuItemBorderRadius:ut,menuArrowSize:Ke,menuArrowOffset:le,lineType:Ae,menuPanelMaskInset:Xe,groupTitleLineHeight:Bt,groupTitleFontSize:Ft}=v;return[{"":{[`${s}`]:Object.assign(Object.assign({},(0,tt.dF)()),{"&-hidden":{display:"none"}})},[`${s}-submenu-hidden`]:{display:"none"}},{[s]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,tt.Wf)(v)),(0,tt.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:g,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${m} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${s}-item`]:{flex:"none"}},[`${s}-item, ${s}-submenu, ${s}-submenu-title`]:{borderRadius:v.itemBorderRadius},[`${s}-item-group-title`]:{padding:`${V}px ${ie}px`,fontSize:Ft,lineHeight:Bt,transition:`all ${m}`},[`&-horizontal ${s}-submenu`]:{transition:[`border-color ${m} ${z}`,`background ${m} ${z}`].join(",")},[`${s}-submenu, ${s}-submenu-inline`]:{transition:[`border-color ${m} ${z}`,`background ${m} ${z}`,`padding ${N} ${z}`].join(",")},[`${s}-submenu ${s}-sub`]:{cursor:"initial",transition:[`background ${m} ${z}`,`padding ${m} ${z}`].join(",")},[`${s}-title-content`]:{transition:`color ${m}`},[`${s}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${s}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ce,borderStyle:Ae,borderWidth:0,borderTopWidth:Ue,marginBlock:Ue,padding:0,"&-dashed":{borderStyle:"dashed"}}}),mn(v)),{[`${s}-item-group`]:{[`${s}-item-group-list`]:{margin:0,padding:0,[`${s}-item, ${s}-submenu-title`]:{paddingInline:`${g*2}px ${ie}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:pe,borderRadius:nt,boxShadow:"none",transformOrigin:"0 0",[`&${s}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Xe}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Xe},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:v.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:v.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:v.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:v.paddingXS},[`> ${s}`]:Object.assign(Object.assign(Object.assign({borderRadius:nt},mn(v)),Fn(v)),{[`${s}-item, ${s}-submenu > ${s}-submenu-title`]:{borderRadius:ut},[`${s}-submenu-title::after`]:{transition:`transform ${m} ${z}`}})}}),Fn(v)),{[`&-inline-collapsed ${s}-submenu-arrow,
&-inline ${s}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${le})`},"&::after":{transform:`rotate(45deg) translateX(-${le})`}},[`${s}-submenu-open${s}-submenu-inline > ${s}-submenu-title > ${s}-submenu-arrow`]:{transform:`translateY(-${Ke*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${le})`},"&::before":{transform:`rotate(45deg) translateX(${le})`}}})},{[`${c}-layout-header`]:{[s]:{lineHeight:"inherit"}}}]};var ur=(v,c)=>(0,Jt.Z)("Menu",g=>{if(c===!1)return[];const{colorBgElevated:m,colorPrimary:N,colorTextLightSolid:z,controlHeightLG:V,fontSize:ie,darkItemColor:ce,darkDangerItemColor:Ue,darkItemBg:pe,darkSubMenuItemBg:nt,darkItemSelectedColor:ut,darkItemSelectedBg:Ke,darkDangerItemSelectedBg:le,darkItemHoverBg:Ae,darkGroupTitleColor:Xe,darkItemHoverColor:Bt,darkItemDisabledColor:Ft,darkDangerItemHoverColor:qt,darkDangerItemSelectedColor:Un,darkDangerItemActiveBg:gn}=g,en=ie/7*5,vt=(0,lt.TS)(g,{menuArrowSize:en,menuHorizontalHeight:V*1.15,menuArrowOffset:`${en*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:m}),Lt=(0,lt.TS)(vt,{itemColor:ce,itemHoverColor:Bt,groupTitleColor:Xe,itemSelectedColor:ut,itemBg:pe,popupBg:pe,subMenuItemBg:nt,itemActiveBg:"transparent",itemSelectedBg:Ke,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ae,itemDisabledColor:Ft,dangerItemColor:Ue,dangerItemHoverColor:qt,dangerItemSelectedColor:Un,dangerItemActiveBg:gn,dangerItemSelectedBg:le,menuSubMenuBg:nt,horizontalItemSelectedColor:z,horizontalItemSelectedBg:N});return[Sn(vt),Yt(vt),vn(vt),Cn(vt,"light"),Cn(Lt,"dark"),bt(vt),(0,pt.Z)(vt),(0,wt.oN)(vt,"slide-up"),(0,wt.oN)(vt,"slide-down"),(0,Zt._y)(vt,"zoom-big")]},g=>{const{colorPrimary:m,colorError:N,colorTextDisabled:z,colorErrorBg:V,colorText:ie,colorTextDescription:ce,colorBgContainer:Ue,colorFillAlter:pe,colorFillContent:nt,lineWidth:ut,lineWidthBold:Ke,controlItemBgActive:le,colorBgTextHover:Ae,controlHeightLG:Xe,lineHeight:Bt,colorBgElevated:Ft,marginXXS:qt,padding:Un,fontSize:gn,controlHeightSM:en,fontSizeLG:vt,colorTextLightSolid:Lt,colorErrorHover:xn}=g,hn=new ve.C(Lt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:g.zIndexPopupBase+50,radiusItem:g.borderRadiusLG,itemBorderRadius:g.borderRadiusLG,radiusSubMenuItem:g.borderRadiusSM,subMenuItemBorderRadius:g.borderRadiusSM,colorItemText:ie,itemColor:ie,colorItemTextHover:ie,itemHoverColor:ie,colorItemTextHoverHorizontal:m,horizontalItemHoverColor:m,colorGroupTitle:ce,groupTitleColor:ce,colorItemTextSelected:m,itemSelectedColor:m,colorItemTextSelectedHorizontal:m,horizontalItemSelectedColor:m,colorItemBg:Ue,itemBg:Ue,colorItemBgHover:Ae,itemHoverBg:Ae,colorItemBgActive:nt,itemActiveBg:le,colorSubItemBg:pe,subMenuItemBg:pe,colorItemBgSelected:le,itemSelectedBg:le,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Ke,activeBarHeight:Ke,colorActiveBarBorderSize:ut,activeBarBorderWidth:ut,colorItemTextDisabled:z,itemDisabledColor:z,colorDangerItemText:N,dangerItemColor:N,colorDangerItemTextHover:N,dangerItemHoverColor:N,colorDangerItemTextSelected:N,dangerItemSelectedColor:N,colorDangerItemBgActive:V,dangerItemActiveBg:V,colorDangerItemBgSelected:V,dangerItemSelectedBg:V,itemMarginInline:g.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Xe,groupTitleLineHeight:Bt,collapsedWidth:Xe*2,popupBg:Ft,itemMarginBlock:qt,itemPaddingInline:Un,horizontalLineHeight:`${Xe*1.15}px`,iconSize:gn,iconMarginInlineEnd:en-gn,collapsedIconSize:vt,groupTitleFontSize:gn,darkItemDisabledColor:new ve.C(Lt).setAlpha(.25).toRgbString(),darkItemColor:hn,darkDangerItemColor:N,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Lt,darkItemSelectedBg:m,darkDangerItemSelectedBg:N,darkItemHoverBg:"transparent",darkGroupTitleColor:hn,darkItemHoverColor:Lt,darkDangerItemHoverColor:xn,darkDangerItemSelectedColor:Lt,darkDangerItemActiveBg:N}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(v),In=function(v,c){var s={};for(var g in v)Object.prototype.hasOwnProperty.call(v,g)&&c.indexOf(g)<0&&(s[g]=v[g]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,g=Object.getOwnPropertySymbols(v);m<g.length;m++)c.indexOf(g[m])<0&&Object.prototype.propertyIsEnumerable.call(v,g[m])&&(s[g[m]]=v[g[m]]);return s},sr=(0,d.forwardRef)((v,c)=>{var s,g;const m=d.useContext(R.Z),N=m||{},{getPrefixCls:z,getPopupContainer:V,direction:ie,menu:ce}=d.useContext(w.E_),Ue=z(),{prefixCls:pe,className:nt,style:ut,theme:Ke="light",expandIcon:le,_internalDisableMenuItemTitleTooltip:Ae,inlineCollapsed:Xe,siderCollapsed:Bt,items:Ft,children:qt,rootClassName:Un,mode:gn,selectable:en,onClick:vt,overflowedIndicatorPopupClassName:Lt}=v,xn=In(v,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),hn=(0,F.Z)(xn,["collapsedWidth"]),Vn=U(Ft)||qt;(s=N.validator)===null||s===void 0||s.call(N,{mode:gn});const En=(0,Fe.useEvent)(function(){var Tn;vt==null||vt.apply(void 0,arguments),(Tn=N.onClick)===null||Tn===void 0||Tn.call(N)}),Gn=N.mode||gn,Dn=en!=null?en:N.selectable,yn=d.useMemo(()=>Bt!==void 0?Bt:Xe,[Xe,Bt]),cr={horizontal:{motionName:`${Ue}-slide-up`},inline:(0,X.Z)(Ue),other:{motionName:`${Ue}-zoom-big`}},wn=z("menu",pe||N.prefixCls),[Gr,_r]=ur(wn,!m),Lr=b()(`${wn}-${Ke}`,ce==null?void 0:ce.className,nt);let _n;if(typeof le=="function")_n=le;else if(le===null||le===!1)_n=null;else if(N.expandIcon===null||N.expandIcon===!1)_n=null;else{const Tn=le!=null?le:N.expandIcon;_n=(0,he.Tm)(Tn,{className:b()(`${wn}-submenu-expand-icon`,(0,he.l$)(Tn)?(g=Tn.props)===null||g===void 0?void 0:g.className:"")})}const Xr=d.useMemo(()=>({prefixCls:wn,inlineCollapsed:yn||!1,direction:ie,firstLevel:!0,theme:Ke,mode:Gn,disableMenuItemTitleTooltip:Ae}),[wn,yn,ie,Ae,Ke]);return Gr(d.createElement(R.Z.Provider,{value:null},d.createElement(Te.Provider,{value:Xr},d.createElement(C.ZP,Object.assign({getPopupContainer:V,overflowedIndicator:d.createElement(Ze.Z,null),overflowedIndicatorPopupClassName:b()(wn,`${wn}-${Ke}`,Lt),mode:Gn,selectable:Dn,onClick:En},hn,{inlineCollapsed:yn,style:Object.assign(Object.assign({},ce==null?void 0:ce.style),ut),className:Lr,prefixCls:wn,direction:ie,defaultMotions:cr,expandIcon:_n,ref:c,rootClassName:b()(Un,_r)}),Vn))))});const $n=(0,d.forwardRef)((v,c)=>{const s=(0,d.useRef)(null),g=d.useContext(M.D);return(0,d.useImperativeHandle)(c,()=>({menu:s.current,focus:m=>{var N;(N=s.current)===null||N===void 0||N.focus(m)}})),d.createElement(sr,Object.assign({ref:s},v,g))});$n.Item=S,$n.SubMenu=Ht,$n.Divider=r,$n.ItemGroup=C.BW;var ye=$n},33507:function(Et,ue){const u=C=>({[C.componentCls]:{[`${C.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${C.motionDurationMid} ${C.motionEaseInOut},
opacity ${C.motionDurationMid} ${C.motionEaseInOut} !important`}},[`${C.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${C.motionDurationMid} ${C.motionEaseInOut},
opacity ${C.motionDurationMid} ${C.motionEaseInOut} !important`}}});ue.Z=u},67771:function(Et,ue,u){u.d(ue,{Qt:function(){return b},Uw:function(){return G},fJ:function(){return M},ly:function(){return w},oN:function(){return Ne}});var C=u(45930),d=u(93590);const M=new C.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),G=new C.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),b=new C.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),w=new C.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),W=new C.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),_=new C.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),r=new C.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),A=new C.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),F={"slide-up":{inKeyframes:M,outKeyframes:G},"slide-down":{inKeyframes:b,outKeyframes:w},"slide-left":{inKeyframes:W,outKeyframes:_},"slide-right":{inKeyframes:r,outKeyframes:A}},Ne=(he,De)=>{const{antCls:Te}=he,se=`${Te}-${De}`,{inKeyframes:S,outKeyframes:Pe}=F[De];return[(0,d.R)(se,S,Pe,he.motionDurationMid),{[`
${se}-enter,
${se}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:he.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${se}-leave`]:{animationTimingFunction:he.motionEaseInQuint}}]}},52073:function(Et,ue,u){u.d(ue,{iz:function(){return vo},ck:function(){return Ir},BW:function(){return fo},sN:function(){return Ir},Wd:function(){return Kr},ZP:function(){return rl},Xl:function(){return pe}});var C=u(87462),d=u(4942),M=u(1413),G=u(74902),b=u(97685),w=u(45987),W=u(94184),_=u.n(W),r=u(67294),A=u.t(r,2),F=u(48555);function Ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var he=Ne()?r.useLayoutEffect:r.useEffect,De=function(t,n){var o=r.useRef(!0);he(function(){return t(o.current)},n),he(function(){return o.current=!1,function(){o.current=!0}},[])},Te=function(t,n){De(function(o){if(!o)return t()},n)},se=De,S=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Pe=void 0;function Ht(e,t){var n=e.prefixCls,o=e.invalidate,a=e.item,l=e.renderItem,i=e.responsive,f=e.responsiveDisabled,h=e.registerSize,y=e.itemKey,P=e.className,$=e.style,T=e.children,x=e.display,I=e.order,Z=e.component,D=Z===void 0?"div":Z,K=(0,w.Z)(e,S),O=i&&!x;function E(Q){h(y,Q)}r.useEffect(function(){return function(){E(null)}},[]);var p=l&&a!==Pe?l(a):T,j;o||(j={opacity:O?0:1,height:O?0:Pe,overflowY:O?"hidden":Pe,order:i?I:Pe,pointerEvents:O?"none":Pe,position:O?"absolute":Pe});var H={};O&&(H["aria-hidden"]=!0);var ae=r.createElement(D,(0,C.Z)({className:_()(!o&&n,P),style:(0,M.Z)((0,M.Z)({},j),$)},H,K,{ref:t}),p);return i&&(ae=r.createElement(F.Z,{onResize:function(Me){var ee=Me.offsetWidth;E(ee)},disabled:f},ae)),ae}var Ze=r.forwardRef(Ht);Ze.displayName="Item";var Fe=Ze;function X(e){var t=r.useRef();t.current=e;var n=r.useCallback(function(){for(var o,a=arguments.length,l=new Array(a),i=0;i<a;i++)l[i]=arguments[i];return(o=t.current)===null||o===void 0?void 0:o.call.apply(o,[t].concat(l))},[]);return n}var R=u(73935),q=function(t){return+setTimeout(t,16)},Y=function(t){return clearTimeout(t)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(q=function(t){return window.requestAnimationFrame(t)},Y=function(t){return window.cancelAnimationFrame(t)});var U=0,ve=new Map;function tt(e){ve.delete(e)}var pt=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;U+=1;var o=U;function a(l){if(l===0)tt(o),t();else{var i=q(function(){a(l-1)});ve.set(o,i)}}return a(n),o};pt.cancel=function(e){var t=ve.get(e);return tt(t),Y(t)};var wt=pt;function Zt(e){if(typeof MessageChannel=="undefined")wt(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function Jt(){var e=r.useRef(null),t=function(o){e.current||(e.current=[],Zt(function(){(0,R.unstable_batchedUpdates)(function(){e.current.forEach(function(a){a()}),e.current=null})})),e.current.push(o)};return t}function lt(e,t){var n=r.useState(t),o=(0,b.Z)(n,2),a=o[0],l=o[1],i=X(function(f){e(function(){l(f)})});return[a,i]}var dn=r.createContext(null),Yt=["component"],Nn=["className"],bt=["className"],At=function(t,n){var o=r.useContext(dn);if(!o){var a=t.component,l=a===void 0?"div":a,i=(0,w.Z)(t,Yt);return r.createElement(l,(0,C.Z)({},i,{ref:n}))}var f=o.className,h=(0,w.Z)(o,Nn),y=t.className,P=(0,w.Z)(t,bt);return r.createElement(dn.Provider,{value:null},r.createElement(Fe,(0,C.Z)({ref:n,className:_()(f,y)},h,P)))},Wt=r.forwardRef(At);Wt.displayName="RawItem";var Cn=Wt,fn=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Ot="responsive",vn="invalidate";function mn(e){return"+ ".concat(e.length," ...")}function Fn(e,t){var n=e.prefixCls,o=n===void 0?"rc-overflow":n,a=e.data,l=a===void 0?[]:a,i=e.renderItem,f=e.renderRawItem,h=e.itemKey,y=e.itemWidth,P=y===void 0?10:y,$=e.ssr,T=e.style,x=e.className,I=e.maxCount,Z=e.renderRest,D=e.renderRawRest,K=e.suffix,O=e.component,E=O===void 0?"div":O,p=e.itemComponent,j=e.onVisibleChange,H=(0,w.Z)(e,fn),ae=$==="full",Q=Jt(),Me=lt(Q,null),ee=(0,b.Z)(Me,2),Ce=ee[0],me=ee[1],de=Ce||0,Se=lt(Q,new Map),te=(0,b.Z)(Se,2),oe=te[0],L=te[1],Le=lt(Q,0),fe=(0,b.Z)(Le,2),He=fe[0],jt=fe[1],rt=lt(Q,0),Mt=(0,b.Z)(rt,2),gt=Mt[0],st=Mt[1],Ve=lt(Q,0),be=(0,b.Z)(Ve,2),Ie=be[0],ot=be[1],ct=(0,r.useState)(null),ze=(0,b.Z)(ct,2),at=ze[0],it=ze[1],dt=(0,r.useState)(null),Dt=(0,b.Z)(dt,2),We=Dt[0],kt=Dt[1],ne=r.useMemo(function(){return We===null&&ae?Number.MAX_SAFE_INTEGER:We||0},[We,Ce]),tn=(0,r.useState)(!1),Ct=(0,b.Z)(tn,2),Pt=Ct[0],Ut=Ct[1],Qe="".concat(o,"-item"),Pn=Math.max(He,gt),Vt=I===Ot,Re=l.length&&Vt,pn=I===vn,ft=Re||typeof I=="number"&&l.length>I,je=(0,r.useMemo)(function(){var k=l;return Re?Ce===null&&ae?k=l:k=l.slice(0,Math.min(l.length,de/P)):typeof I=="number"&&(k=l.slice(0,I)),k},[l,P,Ce,I,Re]),Gt=(0,r.useMemo)(function(){return Re?l.slice(ne+1):l.slice(je.length)},[l,je,Re,ne]),Je=(0,r.useCallback)(function(k,J){var Oe;return typeof h=="function"?h(k):(Oe=h&&(k==null?void 0:k[h]))!==null&&Oe!==void 0?Oe:J},[h]),nn=(0,r.useCallback)(i||function(k){return k},[i]);function Ye(k,J,Oe){We===k&&(J===void 0||J===at)||(kt(k),Oe||(Ut(k<l.length-1),j==null||j(k)),J!==void 0&&it(J))}function rn(k,J){me(J.clientWidth)}function St(k,J){L(function(Oe){var $t=new Map(Oe);return J===null?$t.delete(k):$t.set(k,J),$t})}function ke(k,J){st(J),jt(gt)}function Ge(k,J){ot(J)}function Kt(k){return oe.get(Je(je[k],k))}se(function(){if(de&&typeof Pn=="number"&&je){var k=Ie,J=je.length,Oe=J-1;if(!J){Ye(0,null);return}for(var $t=0;$t<J;$t+=1){var _e=Kt($t);if(ae&&(_e=_e||0),_e===void 0){Ye($t-1,void 0,!0);break}if(k+=_e,Oe===0&&k<=de||$t===Oe-1&&k+Kt(Oe)<=de){Ye(Oe,null);break}else if(k+Pn>de){Ye($t-1,k-_e-Ie+gt);break}}K&&Kt(0)+Ie>de&&it(null)}},[de,oe,gt,Ie,Je,je]);var It=Pt&&!!Gt.length,bn={};at!==null&&Re&&(bn={position:"absolute",left:at,top:0});var on={prefixCls:Qe,responsive:Re,component:p,invalidate:pn},_t=f?function(k,J){var Oe=Je(k,J);return r.createElement(dn.Provider,{key:Oe,value:(0,M.Z)((0,M.Z)({},on),{},{order:J,item:k,itemKey:Oe,registerSize:St,display:J<=ne})},f(k,J))}:function(k,J){var Oe=Je(k,J);return r.createElement(Fe,(0,C.Z)({},on,{order:J,key:Oe,item:k,renderItem:nn,itemKey:Oe,registerSize:St,display:J<=ne}))},$e,xe={order:It?ne:Number.MAX_SAFE_INTEGER,className:"".concat(Qe,"-rest"),registerSize:ke,display:It};if(D)D&&($e=r.createElement(dn.Provider,{value:(0,M.Z)((0,M.Z)({},on),xe)},D(Gt)));else{var Ee=Z||mn;$e=r.createElement(Fe,(0,C.Z)({},on,xe),typeof Ee=="function"?Ee(Gt):Ee)}var an=r.createElement(E,(0,C.Z)({className:_()(!pn&&o,x),style:T,ref:t},H),je.map(_t),ft?$e:null,K&&r.createElement(Fe,(0,C.Z)({},on,{responsive:Vt,responsiveDisabled:!Re,order:ne,className:"".concat(Qe,"-suffix"),registerSize:Ge,display:!0,style:bn}),K));return Vt&&(an=r.createElement(F.Z,{onResize:rn,disabled:!Re},an)),an}var Sn=r.forwardRef(Fn);Sn.displayName="Overflow",Sn.Item=Cn,Sn.RESPONSIVE=Ot,Sn.INVALIDATE=vn;var ur=Sn,In=ur,nr=u(21770),sr=u(80334),$n=u(91881),ye=r.createContext(null);function v(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function c(e){var t=r.useContext(ye);return v(t,e)}var s=u(56982),g=["children","locked"],m=r.createContext(null);function N(e,t){var n=(0,M.Z)({},e);return Object.keys(t).forEach(function(o){var a=t[o];a!==void 0&&(n[o]=a)}),n}function z(e){var t=e.children,n=e.locked,o=(0,w.Z)(e,g),a=r.useContext(m),l=(0,s.Z)(function(){return N(a,o)},[a,o],function(i,f){return!n&&(i[0]!==f[0]||!(0,$n.Z)(i[1],f[1],!0))});return r.createElement(m.Provider,{value:l},t)}var V=[],ie=r.createContext(null);function ce(){return r.useContext(ie)}var Ue=r.createContext(V);function pe(e){var t=r.useContext(Ue);return r.useMemo(function(){return e!==void 0?[].concat((0,G.Z)(t),[e]):t},[t,e])}var nt=r.createContext(null),ut=r.createContext({}),Ke=ut,le=u(15105),Ae=u(75164),Xe=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,o=t.height;if(n||o)return!0}if(e.getBoundingClientRect){var a=e.getBoundingClientRect(),l=a.width,i=a.height;if(l||i)return!0}}return!1};function Bt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Xe(e)){var n=e.nodeName.toLowerCase(),o=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),a=e.getAttribute("tabindex"),l=Number(a),i=null;return a&&!Number.isNaN(l)?i=l:o&&i===null&&(i=0),o&&e.disabled&&(i=null),i!==null&&(i>=0||t&&i<0)}return!1}function Ft(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=(0,G.Z)(e.querySelectorAll("*")).filter(function(o){return Bt(o,t)});return Bt(e,t)&&n.unshift(e),n}var qt=null;function Un(){qt=document.activeElement}function gn(){qt=null}function en(){if(qt)try{qt.focus()}catch(e){}}function vt(e,t){if(t.keyCode===9){var n=Ft(e),o=n[t.shiftKey?0:n.length-1],a=o===document.activeElement||e===document.activeElement;if(a){var l=n[t.shiftKey?n.length-1:0];l.focus(),t.preventDefault()}}}var Lt=le.Z.LEFT,xn=le.Z.RIGHT,hn=le.Z.UP,Vn=le.Z.DOWN,En=le.Z.ENTER,Gn=le.Z.ESC,Dn=le.Z.HOME,yn=le.Z.END,cr=[hn,Vn,Lt,xn];function wn(e,t,n,o){var a,l,i,f,h="prev",y="next",P="children",$="parent";if(e==="inline"&&o===En)return{inlineTrigger:!0};var T=(a={},(0,d.Z)(a,hn,h),(0,d.Z)(a,Vn,y),a),x=(l={},(0,d.Z)(l,Lt,n?y:h),(0,d.Z)(l,xn,n?h:y),(0,d.Z)(l,Vn,P),(0,d.Z)(l,En,P),l),I=(i={},(0,d.Z)(i,hn,h),(0,d.Z)(i,Vn,y),(0,d.Z)(i,En,P),(0,d.Z)(i,Gn,$),(0,d.Z)(i,Lt,n?P:$),(0,d.Z)(i,xn,n?$:P),i),Z={inline:T,horizontal:x,vertical:I,inlineSub:T,horizontalSub:I,verticalSub:I},D=(f=Z["".concat(e).concat(t?"":"Sub")])===null||f===void 0?void 0:f[o];switch(D){case h:return{offset:-1,sibling:!0};case y:return{offset:1,sibling:!0};case $:return{offset:-1,sibling:!1};case P:return{offset:1,sibling:!1};default:return null}}function Gr(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function _r(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function Lr(e,t){var n=Ft(e,!0);return n.filter(function(o){return t.has(o)})}function _n(e,t,n){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var a=Lr(e,t),l=a.length,i=a.findIndex(function(f){return n===f});return o<0?i===-1?i=l-1:i-=1:o>0&&(i+=1),i=(i+l)%l,a[i]}function Xr(e,t,n,o,a,l,i,f,h,y){var P=r.useRef(),$=r.useRef();$.current=t;var T=function(){Ae.Z.cancel(P.current)};return r.useEffect(function(){return function(){T()}},[]),function(x){var I=x.which;if([].concat(cr,[En,Gn,Dn,yn]).includes(I)){var Z,D,K,O=function(){Z=new Set,D=new Map,K=new Map;var te=l();return te.forEach(function(oe){var L=document.querySelector("[data-menu-id='".concat(v(o,oe),"']"));L&&(Z.add(L),K.set(L,oe),D.set(oe,L))}),Z};O();var E=D.get(t),p=_r(E,Z),j=K.get(p),H=wn(e,i(j,!0).length===1,n,I);if(!H&&I!==Dn&&I!==yn)return;(cr.includes(I)||[Dn,yn].includes(I))&&x.preventDefault();var ae=function(te){if(te){var oe=te,L=te.querySelector("a");L!=null&&L.getAttribute("href")&&(oe=L);var Le=K.get(te);f(Le),T(),P.current=(0,Ae.Z)(function(){$.current===Le&&oe.focus()})}};if([Dn,yn].includes(I)||H.sibling||!p){var Q;!p||e==="inline"?Q=a.current:Q=Gr(p);var Me,ee=Lr(Q,Z);I===Dn?Me=ee[0]:I===yn?Me=ee[ee.length-1]:Me=_n(Q,Z,p,H.offset),ae(Me)}else if(H.inlineTrigger)h(j);else if(H.offset>0)h(j,!0),T(),P.current=(0,Ae.Z)(function(){O();var Se=p.getAttribute("aria-controls"),te=document.getElementById(Se),oe=_n(te,Z);ae(oe)},5);else if(H.offset<0){var Ce=i(j,!0),me=Ce[Ce.length-2],de=D.get(me);h(me,!1),ae(de)}}y==null||y(x)}}function Tn(e){Promise.resolve().then(e)}var Qr="__RC_UTIL_PATH_SPLIT__",So=function(t){return t.join(Qr)},ca=function(t){return t.split(Qr)},Jr="rc-menu-more";function da(){var e=r.useState({}),t=(0,b.Z)(e,2),n=t[1],o=(0,r.useRef)(new Map),a=(0,r.useRef)(new Map),l=r.useState([]),i=(0,b.Z)(l,2),f=i[0],h=i[1],y=(0,r.useRef)(0),P=(0,r.useRef)(!1),$=function(){P.current||n({})},T=(0,r.useCallback)(function(E,p){var j=So(p);a.current.set(j,E),o.current.set(E,j),y.current+=1;var H=y.current;Tn(function(){H===y.current&&$()})},[]),x=(0,r.useCallback)(function(E,p){var j=So(p);a.current.delete(j),o.current.delete(E)},[]),I=(0,r.useCallback)(function(E){h(E)},[]),Z=(0,r.useCallback)(function(E,p){var j=o.current.get(E)||"",H=ca(j);return p&&f.includes(H[0])&&H.unshift(Jr),H},[f]),D=(0,r.useCallback)(function(E,p){return E.some(function(j){var H=Z(j,!0);return H.includes(p)})},[Z]),K=function(){var p=(0,G.Z)(o.current.keys());return f.length&&p.push(Jr),p},O=(0,r.useCallback)(function(E){var p="".concat(o.current.get(E)).concat(Qr),j=new Set;return(0,G.Z)(a.current.keys()).forEach(function(H){H.startsWith(p)&&j.add(a.current.get(H))}),j},[]);return r.useEffect(function(){return function(){P.current=!0}},[]),{registerPath:T,unregisterPath:x,refreshOverflowKeys:I,isSubPathKey:D,getKeyPath:Z,getKeys:K,getSubPathKeys:O}}function Sr(e){var t=r.useRef(e);t.current=e;var n=r.useCallback(function(){for(var o,a=arguments.length,l=new Array(a),i=0;i<a;i++)l[i]=arguments[i];return(o=t.current)===null||o===void 0?void 0:o.call.apply(o,[t].concat(l))},[]);return e?n:void 0}var fa=Math.random().toFixed(5).toString().slice(2),Io=0;function va(e){var t=(0,nr.Z)(e,{value:e}),n=(0,b.Z)(t,2),o=n[0],a=n[1];return r.useEffect(function(){Io+=1;var l="".concat(fa,"-").concat(Io);a("rc-menu-uuid-".concat(l))},[]),o}var ma=u(15671),ga=u(43144),ha=u(60136),ya=u(51630),$o=u(98423),Yr=u(42550);function xo(e,t,n,o){var a=r.useContext(m),l=a.activeKey,i=a.onActive,f=a.onInactive,h={active:l===e};return t||(h.onMouseEnter=function(y){n==null||n({key:e,domEvent:y}),i(e)},h.onMouseLeave=function(y){o==null||o({key:e,domEvent:y}),f(e)}),h}function Eo(e){var t=r.useContext(m),n=t.mode,o=t.rtl,a=t.inlineIndent;if(n!=="inline")return null;var l=e;return o?{paddingRight:l*a}:{paddingLeft:l*a}}function wo(e){var t=e.icon,n=e.props,o=e.children,a;return t===null||t===!1?null:(typeof t=="function"?a=r.createElement(t,(0,M.Z)({},n)):typeof t!="boolean"&&(a=t),a||o||null)}var pa=["item"];function zr(e){var t=e.item,n=(0,w.Z)(e,pa);return Object.defineProperty(n,"item",{get:function(){return(0,sr.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}var ba=["title","attribute","elementRef"],Ca=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Sa=["active"],Ia=function(e){(0,ha.Z)(n,e);var t=(0,ya.Z)(n);function n(){return(0,ma.Z)(this,n),t.apply(this,arguments)}return(0,ga.Z)(n,[{key:"render",value:function(){var a=this.props,l=a.title,i=a.attribute,f=a.elementRef,h=(0,w.Z)(a,ba),y=(0,$o.Z)(h,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,sr.ZP)(!i,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r.createElement(In.Item,(0,C.Z)({},i,{title:typeof l=="string"?l:void 0},y,{ref:f}))}}]),n}(r.Component),$a=r.forwardRef(function(e,t){var n,o=e.style,a=e.className,l=e.eventKey,i=e.warnKey,f=e.disabled,h=e.itemIcon,y=e.children,P=e.role,$=e.onMouseEnter,T=e.onMouseLeave,x=e.onClick,I=e.onKeyDown,Z=e.onFocus,D=(0,w.Z)(e,Ca),K=c(l),O=r.useContext(m),E=O.prefixCls,p=O.onItemClick,j=O.disabled,H=O.overflowDisabled,ae=O.itemIcon,Q=O.selectedKeys,Me=O.onActive,ee=r.useContext(Ke),Ce=ee._internalRenderMenuItem,me="".concat(E,"-item"),de=r.useRef(),Se=r.useRef(),te=j||f,oe=(0,Yr.x1)(t,Se),L=pe(l),Le=function(ze){return{key:l,keyPath:(0,G.Z)(L).reverse(),item:de.current,domEvent:ze}},fe=h||ae,He=xo(l,te,$,T),jt=He.active,rt=(0,w.Z)(He,Sa),Mt=Q.includes(l),gt=Eo(L.length),st=function(ze){if(!te){var at=Le(ze);x==null||x(zr(at)),p(at)}},Ve=function(ze){if(I==null||I(ze),ze.which===le.Z.ENTER){var at=Le(ze);x==null||x(zr(at)),p(at)}},be=function(ze){Me(l),Z==null||Z(ze)},Ie={};e.role==="option"&&(Ie["aria-selected"]=Mt);var ot=r.createElement(Ia,(0,C.Z)({ref:de,elementRef:oe,role:P===null?"none":P||"menuitem",tabIndex:f?null:-1,"data-menu-id":H&&K?null:K},D,rt,Ie,{component:"li","aria-disabled":f,style:(0,M.Z)((0,M.Z)({},gt),o),className:_()(me,(n={},(0,d.Z)(n,"".concat(me,"-active"),jt),(0,d.Z)(n,"".concat(me,"-selected"),Mt),(0,d.Z)(n,"".concat(me,"-disabled"),te),n),a),onClick:st,onKeyDown:Ve,onFocus:be}),y,r.createElement(wo,{props:(0,M.Z)((0,M.Z)({},e),{},{isSelected:Mt}),icon:fe}));return Ce&&(ot=Ce(ot,e,{selected:Mt})),ot});function xa(e,t){var n=e.eventKey,o=ce(),a=pe(n);return r.useEffect(function(){if(o)return o.registerPath(n,a),function(){o.unregisterPath(n,a)}},[a]),o?null:r.createElement($a,(0,C.Z)({},e,{ref:t}))}var Ir=r.forwardRef(xa),Ea=["className","children"],wa=function(t,n){var o=t.className,a=t.children,l=(0,w.Z)(t,Ea),i=r.useContext(m),f=i.prefixCls,h=i.mode,y=i.rtl;return r.createElement("ul",(0,C.Z)({className:_()(f,y&&"".concat(f,"-rtl"),"".concat(f,"-sub"),"".concat(f,"-").concat(h==="inline"?"inline":"vertical"),o),role:"menu"},l,{"data-menu-list":!0,ref:n}),a)},Mo=r.forwardRef(wa);Mo.displayName="SubMenuList";var Po=Mo,Ma=u(50344);function qr(e,t){return(0,Ma.Z)(e).map(function(n,o){if(r.isValidElement(n)){var a,l,i=n.key,f=(a=(l=n.props)===null||l===void 0?void 0:l.eventKey)!==null&&a!==void 0?a:i,h=f==null;h&&(f="tmp_key-".concat([].concat((0,G.Z)(t),[o]).join("-")));var y={key:f,eventKey:f};return r.cloneElement(n,y)}return n})}function $r(e){"@babel/helpers - typeof";return $r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$r(e)}function Pa(e,t){if($r(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t||"default");if($r(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ra(e){var t=Pa(e,"string");return $r(t)=="symbol"?t:t+""}function Oa(e,t,n){return(t=Ra(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ro(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,o)}return n}function zt(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ro(Object(n),!0).forEach(function(o){Oa(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ro(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Ba(e){if(Array.isArray(e))return e}function Na(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o,a,l,i,f=[],h=!0,y=!1;try{if(l=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;h=!1}else for(;!(h=(o=l.call(n)).done)&&(f.push(o.value),f.length!==t);h=!0);}catch(P){y=!0,a=P}finally{try{if(!h&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(y)throw a}}return f}}function eo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Oo(e,t){if(e){if(typeof e=="string")return eo(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?eo(e,t):void 0}}function Da(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mt(e,t){return Ba(e)||Na(e,t)||Oo(e,t)||Da()}function Ta(e,t){if(e==null)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.includes(o))continue;n[o]=e[o]}return n}function Za(e,t){if(e==null)return{};var n,o,a=Ta(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(o=0;o<l.length;o++)n=l[o],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var jr=u(98924),Aa=r.createContext(null),Bo=Aa,to=u(8410),No=[];function La(e,t){var n=r.useState(function(){if(!(0,jr.Z)())return null;var I=document.createElement("div");return I}),o=(0,b.Z)(n,1),a=o[0],l=r.useRef(!1),i=r.useContext(Bo),f=r.useState(No),h=(0,b.Z)(f,2),y=h[0],P=h[1],$=i||(l.current?void 0:function(I){P(function(Z){var D=[I].concat((0,G.Z)(Z));return D})});function T(){a.parentElement||document.body.appendChild(a),l.current=!0}function x(){var I;(I=a.parentElement)===null||I===void 0||I.removeChild(a),l.current=!1}return(0,to.Z)(function(){return e?i?i(T):T():x(),x},[e]),(0,to.Z)(function(){y.length&&(y.forEach(function(I){return I()}),P(No))},[y]),[a,$]}var no=u(48981),za=u(74204);function ja(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var ka="rc-util-locker-".concat(Date.now()),Do=0;function Ka(e){var t=!!e,n=r.useState(function(){return Do+=1,"".concat(ka,"_").concat(Do)}),o=(0,b.Z)(n,1),a=o[0];(0,to.Z)(function(){if(t){var l=(0,za.o)(document.body).width,i=ja();(0,no.hq)(`
html body {
overflow-y: hidden;
`.concat(i?"width: calc(100% - ".concat(l,"px);"):"",`
}`),a)}else(0,no.jL)(a);return function(){(0,no.jL)(a)}},[t,a])}var To=!1;function Ha(e){return typeof e=="boolean"&&(To=e),To}var Zo=function(t){return t===!1?!1:!(0,jr.Z)()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},Wa=r.forwardRef(function(e,t){var n=e.open,o=e.autoLock,a=e.getContainer,l=e.debug,i=e.autoDestroy,f=i===void 0?!0:i,h=e.children,y=r.useState(n),P=(0,b.Z)(y,2),$=P[0],T=P[1],x=$||n;r.useEffect(function(){(f||n)&&T(n)},[n,f]);var I=r.useState(function(){return Zo(a)}),Z=(0,b.Z)(I,2),D=Z[0],K=Z[1];r.useEffect(function(){var me=Zo(a);K(me!=null?me:null)});var O=La(x&&!D,l),E=(0,b.Z)(O,2),p=E[0],j=E[1],H=D!=null?D:p;Ka(o&&n&&(0,jr.Z)()&&(H===p||H===document.body));var ae=null;if(h&&(0,Yr.Yr)(h)&&t){var Q=h;ae=Q.ref}var Me=(0,Yr.x1)(ae,t);if(!x||!(0,jr.Z)()||D===void 0)return null;var ee=H===!1||Ha(),Ce=h;return t&&(Ce=r.cloneElement(h,{ref:Me})),r.createElement(Bo.Provider,{value:j},ee?Ce:(0,R.createPortal)(Ce,H))}),Fa=Wa,Ao=Fa;function xr(e){return e instanceof HTMLElement||e instanceof SVGElement}function Ua(e){return e&&_typeof(e)==="object"&&xr(e.nativeElement)?e.nativeElement:xr(e)?e:null}function ol(e){var t=Ua(e);if(t)return t;if(e instanceof React.Component){var n;return(n=ReactDOM.findDOMNode)===null||n===void 0?void 0:n.call(ReactDOM,e)}return null}function Lo(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function Va(e){return Lo(e)instanceof ShadowRoot}function ro(e){return Va(e)?Lo(e):null}function rr(e){var t=r.useRef();t.current=e;var n=r.useCallback(function(){for(var o,a=arguments.length,l=new Array(a),i=0;i<a;i++)l[i]=arguments[i];return(o=t.current)===null||o===void 0?void 0:o.call.apply(o,[t].concat(l))},[]);return n}function Ga(e){if(Array.isArray(e))return e}function _a(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o,a,l,i,f=[],h=!0,y=!1;try{if(l=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;h=!1}else for(;!(h=(o=l.call(n)).done)&&(f.push(o.value),f.length!==t);h=!0);}catch(P){y=!0,a=P}finally{try{if(!h&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(y)throw a}}return f}}function zo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Xa(e,t){if(e){if(typeof e=="string")return zo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zo(e,t)}}function Qa(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ja(e,t){return Ga(e)||_a(e,t)||Xa(e,t)||Qa()}function or(e){"@babel/helpers - typeof";return or=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},or(e)}function Ya(e,t){if(or(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var o=n.call(e,t||"default");if(or(o)!=="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function qa(e){var t=Ya(e,"string");return or(t)==="symbol"?t:String(t)}function ei(e,t,n){return t=qa(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,o)}return n}function ti(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?jo(Object(n),!0).forEach(function(o){ei(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jo(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function ni(){var e=ti({},A);return e.useId}var ko=0;function al(){}var Ko=ni(),ri=Ko?function(t){var n=Ko();return t||n}:function(t){var n=r.useState("ssr-id"),o=Ja(n,2),a=o[0],l=o[1];return r.useEffect(function(){var i=ko;ko+=1,l("rc_unique_".concat(i))},[]),t||a};function oi(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Ho=oi()?r.useLayoutEffect:r.useEffect,Wo=function(t,n){var o=r.useRef(!0);Ho(function(){return t(o.current)},n),Ho(function(){return o.current=!1,function(){o.current=!0}},[])},il=function(t,n){Wo(function(o){if(!o)return t()},n)},Mn=Wo,ai=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4))};function kr(){return kr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},kr.apply(null,arguments)}var oo=u(62874),ao=u(8399);function ii(e,t,n){var o=r.useRef({});return(!("value"in o.current)||n(o.current.condition,t))&&(o.current.value=e(),o.current.condition=t),o.current.value}var li=Symbol.for("react.element"),ui=Symbol.for("react.transitional.element"),si=Symbol.for("react.fragment");function ci(e){return e&&or(e)==="object"&&(e.$$typeof===li||e.$$typeof===ui)&&e.type===si}var Fo=function(t,n){typeof t=="function"?t(n):or(t)==="object"&&t&&"current"in t&&(t.current=n)},Uo=function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];var a=n.filter(Boolean);return a.length<=1?a[0]:function(l){n.forEach(function(i){Fo(i,l)})}},di=function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return ii(function(){return Uo.apply(void 0,n)},n,function(a,l){return a.length!==l.length||a.every(function(i,f){return i!==l[f]})})},Vo=function(t){var n,o;if(!t)return!1;if(io(t)&&t.props.propertyIsEnumerable("ref"))return!0;var a=(0,ao.isMemo)(t)?t.type.type:t.type;return!(typeof a=="function"&&!((n=a.prototype)!==null&&n!==void 0&&n.render)&&a.$$typeof!==ao.ForwardRef||typeof t=="function"&&!((o=t.prototype)!==null&&o!==void 0&&o.render)&&t.$$typeof!==ao.ForwardRef)};function io(e){return(0,r.isValidElement)(e)&&!ci(e)}var ll=function(t){return io(t)&&Vo(t)},ul=function(t){if(t&&io(t)){var n=t;return n.props.propertyIsEnumerable("ref")?n.props.ref:n.ref}return null};function fi(e){var t=e.prefixCls,n=e.align,o=e.arrow,a=e.arrowPos,l=o||{},i=l.className,f=l.content,h=a.x,y=h===void 0?0:h,P=a.y,$=P===void 0?0:P,T=r.useRef();if(!n||!n.points)return null;var x={position:"absolute"};if(n.autoArrow!==!1){var I=n.points[0],Z=n.points[1],D=I[0],K=I[1],O=Z[0],E=Z[1];D===O||!["t","b"].includes(D)?x.top=$:D==="t"?x.top=0:x.bottom=0,K===E||!["l","r"].includes(K)?x.left=y:K==="l"?x.left=0:x.right=0}return r.createElement("div",{ref:T,className:_()("".concat(t,"-arrow"),i),style:x},f)}function vi(e){var t=e.prefixCls,n=e.open,o=e.zIndex,a=e.mask,l=e.motion;return a?r.createElement(oo.Z,kr({},l,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(i){var f=i.className;return r.createElement("div",{style:{zIndex:o},className:_()("".concat(t,"-mask"),f)})}):null}var mi=r.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),gi=mi,hi=r.forwardRef(function(e,t){var n=e.popup,o=e.className,a=e.prefixCls,l=e.style,i=e.target,f=e.onVisibleChanged,h=e.open,y=e.keepDom,P=e.fresh,$=e.onClick,T=e.mask,x=e.arrow,I=e.arrowPos,Z=e.align,D=e.motion,K=e.maskMotion,O=e.forceRender,E=e.getPopupContainer,p=e.autoDestroy,j=e.portal,H=e.zIndex,ae=e.onMouseEnter,Q=e.onMouseLeave,Me=e.onPointerEnter,ee=e.ready,Ce=e.offsetX,me=e.offsetY,de=e.offsetR,Se=e.offsetB,te=e.onAlign,oe=e.onPrepare,L=e.stretch,Le=e.targetWidth,fe=e.targetHeight,He=typeof n=="function"?n():n,jt=h||y,rt=(E==null?void 0:E.length)>0,Mt=r.useState(!E||!rt),gt=mt(Mt,2),st=gt[0],Ve=gt[1];if(Mn(function(){!st&&rt&&i&&Ve(!0)},[st,rt,i]),!st)return null;var be="auto",Ie={left:"-1000vw",top:"-1000vh",right:be,bottom:be};if(ee||!h){var ot,ct=Z.points,ze=Z.dynamicInset||((ot=Z._experimental)===null||ot===void 0?void 0:ot.dynamicInset),at=ze&&ct[0][1]==="r",it=ze&&ct[0][0]==="b";at?(Ie.right=de,Ie.left=be):(Ie.left=Ce,Ie.right=be),it?(Ie.bottom=Se,Ie.top=be):(Ie.top=me,Ie.bottom=be)}var dt={};return L&&(L.includes("height")&&fe?dt.height=fe:L.includes("minHeight")&&fe&&(dt.minHeight=fe),L.includes("width")&&Le?dt.width=Le:L.includes("minWidth")&&Le&&(dt.minWidth=Le)),h||(dt.pointerEvents="none"),r.createElement(j,{open:O||jt,getContainer:E&&function(){return E(i)},autoDestroy:p},r.createElement(vi,{prefixCls:a,open:h,zIndex:H,mask:T,motion:K}),r.createElement(F.Z,{onResize:te,disabled:!h},function(Dt){return r.createElement(oo.Z,kr({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:O,leavedClassName:"".concat(a,"-hidden")},D,{onAppearPrepare:oe,onEnterPrepare:oe,visible:h,onVisibleChanged:function(kt){var ne;D==null||(ne=D.onVisibleChanged)===null||ne===void 0||ne.call(D,kt),f(kt)}}),function(We,kt){var ne=We.className,tn=We.style,Ct=_()(a,ne,o);return r.createElement("div",{ref:Uo(Dt,t,kt),className:Ct,style:zt(zt(zt(zt({"--arrow-x":"".concat(I.x||0,"px"),"--arrow-y":"".concat(I.y||0,"px")},Ie),dt),tn),{},{boxSizing:"border-box",zIndex:H},l),onMouseEnter:ae,onMouseLeave:Q,onPointerEnter:Me,onClick:$},x&&r.createElement(fi,{prefixCls:a,arrow:x,arrowPos:I,align:Z}),r.createElement(gi,{cache:!h&&!P},He))})}))}),yi=hi,pi=r.forwardRef(function(e,t){var n=e.children,o=e.getTriggerDOMNode,a=Vo(n),l=r.useCallback(function(f){Fo(t,o?o(f):f)},[o]),i=di(l,n.ref);return a?r.cloneElement(n,{ref:i}):n}),bi=pi,Ci=r.createContext(null),Go=Ci;function _o(e){return e?Array.isArray(e)?e:[e]:[]}function Si(e,t,n,o){return r.useMemo(function(){var a=_o(n!=null?n:t),l=_o(o!=null?o:t),i=new Set(a),f=new Set(l);return e&&(i.has("hover")&&(i.delete("hover"),i.add("click")),f.has("hover")&&(f.delete("hover"),f.add("click"))),[i,f]},[e,t,n,o])}var Ii=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,o=t.height;if(n||o)return!0}if(e.getBoundingClientRect){var a=e.getBoundingClientRect(),l=a.width,i=a.height;if(l||i)return!0}}return!1};function $i(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function xi(e,t,n,o){for(var a=n.points,l=Object.keys(e),i=0;i<l.length;i+=1){var f,h=l[i];if($i((f=e[h])===null||f===void 0?void 0:f.points,a,o))return"".concat(t,"-placement-").concat(h)}return""}function Xo(e,t,n,o){return t||(n?{motionName:"".concat(e,"-").concat(n)}:o?{motionName:o}:null)}function Er(e){return e.ownerDocument.defaultView}function lo(e){for(var t=[],n=e==null?void 0:e.parentElement,o=["hidden","scroll","clip","auto"];n;){var a=Er(n).getComputedStyle(n),l=a.overflowX,i=a.overflowY,f=a.overflow;[l,i,f].some(function(h){return o.includes(h)})&&t.push(n),n=n.parentElement}return t}function wr(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function Mr(e){return wr(parseFloat(e),0)}function Qo(e,t){var n=zt({},e);return(t||[]).forEach(function(o){if(!(o instanceof HTMLBodyElement||o instanceof HTMLHtmlElement)){var a=Er(o).getComputedStyle(o),l=a.overflow,i=a.overflowClipMargin,f=a.borderTopWidth,h=a.borderBottomWidth,y=a.borderLeftWidth,P=a.borderRightWidth,$=o.getBoundingClientRect(),T=o.offsetHeight,x=o.clientHeight,I=o.offsetWidth,Z=o.clientWidth,D=Mr(f),K=Mr(h),O=Mr(y),E=Mr(P),p=wr(Math.round($.width/I*1e3)/1e3),j=wr(Math.round($.height/T*1e3)/1e3),H=(I-Z-O-E)*p,ae=(T-x-D-K)*j,Q=D*j,Me=K*j,ee=O*p,Ce=E*p,me=0,de=0;if(l==="clip"){var Se=Mr(i);me=Se*p,de=Se*j}var te=$.x+ee-me,oe=$.y+Q-de,L=te+$.width+2*me-ee-Ce-H,Le=oe+$.height+2*de-Q-Me-ae;n.left=Math.max(n.left,te),n.top=Math.max(n.top,oe),n.right=Math.min(n.right,L),n.bottom=Math.min(n.bottom,Le)}}),n}function Jo(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),o=n.match(/^(.*)\%$/);return o?e*(parseFloat(o[1])/100):parseFloat(n)}function Yo(e,t){var n=t||[],o=mt(n,2),a=o[0],l=o[1];return[Jo(e.width,a),Jo(e.height,l)]}function qo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function dr(e,t){var n=t[0],o=t[1],a,l;return n==="t"?l=e.y:n==="b"?l=e.y+e.height:l=e.y+e.height/2,o==="l"?a=e.x:o==="r"?a=e.x+e.width:a=e.x+e.width/2,{x:a,y:l}}function Xn(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(o,a){return a===t?n[o]||"c":o}).join("")}function Ei(e,t,n,o,a,l,i){var f=r.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[o]||{}}),h=mt(f,2),y=h[0],P=h[1],$=r.useRef(0),T=r.useMemo(function(){return t?lo(t):[]},[t]),x=r.useRef({}),I=function(){x.current={}};e||I();var Z=rr(function(){if(t&&n&&e){let cn=function(Wn,lr){var br=arguments.length>2&&arguments[2]!==void 0?arguments[2]:tn,Cr=fe.x+Wn,Zr=fe.y+lr,Ar=Cr+Ie,Fr=Zr+be,ho=Math.max(Cr,br.left),yo=Math.max(Zr,br.top),po=Math.min(Ar,br.right),bo=Math.min(Fr,br.bottom);return Math.max(0,(po-ho)*(bo-yo))},Wr=function(){Rn=fe.y+xe,ln=Rn+be,Tt=fe.x+$e,An=Tt+Ie};var O,E,p=t,j=p.ownerDocument,H=Er(p),ae=H.getComputedStyle(p),Q=ae.width,Me=ae.height,ee=ae.position,Ce=p.style.left,me=p.style.top,de=p.style.right,Se=p.style.bottom,te=zt(zt({},a[o]),l),oe=j.createElement("div");(O=p.parentElement)===null||O===void 0||O.appendChild(oe),oe.style.left="".concat(p.offsetLeft,"px"),oe.style.top="".concat(p.offsetTop,"px"),oe.style.position=ee,oe.style.height="".concat(p.offsetHeight,"px"),oe.style.width="".concat(p.offsetWidth,"px"),p.style.left="0",p.style.top="0",p.style.right="auto",p.style.bottom="auto";var L;if(Array.isArray(n))L={x:n[0],y:n[1],width:0,height:0};else{var Le=n.getBoundingClientRect();L={x:Le.x,y:Le.y,width:Le.width,height:Le.height}}var fe=p.getBoundingClientRect(),He=j.documentElement,jt=He.clientWidth,rt=He.clientHeight,Mt=He.scrollWidth,gt=He.scrollHeight,st=He.scrollTop,Ve=He.scrollLeft,be=fe.height,Ie=fe.width,ot=L.height,ct=L.width,ze={left:0,top:0,right:jt,bottom:rt},at={left:-Ve,top:-st,right:Mt-Ve,bottom:gt-st},it=te.htmlRegion,dt="visible",Dt="visibleFirst";it!=="scroll"&&it!==Dt&&(it=dt);var We=it===Dt,kt=Qo(at,T),ne=Qo(ze,T),tn=it===dt?ne:kt,Ct=We?ne:tn;p.style.left="auto",p.style.top="auto",p.style.right="0",p.style.bottom="0";var Pt=p.getBoundingClientRect();p.style.left=Ce,p.style.top=me,p.style.right=de,p.style.bottom=Se,(E=p.parentElement)===null||E===void 0||E.removeChild(oe);var Ut=wr(Math.round(Ie/parseFloat(Q)*1e3)/1e3),Qe=wr(Math.round(be/parseFloat(Me)*1e3)/1e3);if(Ut===0||Qe===0||xr(n)&&!Ii(n))return;var Pn=te.offset,Vt=te.targetOffset,Re=Yo(fe,Pn),pn=mt(Re,2),ft=pn[0],je=pn[1],Gt=Yo(L,Vt),Je=mt(Gt,2),nn=Je[0],Ye=Je[1];L.x-=nn,L.y-=Ye;var rn=te.points||[],St=mt(rn,2),ke=St[0],Ge=St[1],Kt=qo(Ge),It=qo(ke),bn=dr(L,Kt),on=dr(fe,It),_t=zt({},te),$e=bn.x-on.x+ft,xe=bn.y-on.y+je,Ee=cn($e,xe),an=cn($e,xe,ne),k=dr(L,["t","l"]),J=dr(fe,["t","l"]),Oe=dr(L,["b","r"]),$t=dr(fe,["b","r"]),_e=te.overflow||{},Rr=_e.adjustX,vr=_e.adjustY,Qn=_e.shiftX,Jn=_e.shiftY,Zn=function(lr){return typeof lr=="boolean"?lr:lr>=0},Rn,ln,Tt,An;Wr();var Yn=Zn(vr),ar=It[0]===Kt[0];if(Yn&&It[0]==="t"&&(ln>Ct.bottom||x.current.bt)){var On=xe;ar?On-=be-ot:On=k.y-$t.y-je;var Ln=cn($e,On),Or=cn($e,On,ne);Ln>Ee||Ln===Ee&&(!We||Or>=an)?(x.current.bt=!0,xe=On,je=-je,_t.points=[Xn(It,0),Xn(Kt,0)]):x.current.bt=!1}if(Yn&&It[0]==="b"&&(Rn<Ct.top||x.current.tb)){var ht=xe;ar?ht+=be-ot:ht=Oe.y-J.y-je;var mr=cn($e,ht),Br=cn($e,ht,ne);mr>Ee||mr===Ee&&(!We||Br>=an)?(x.current.tb=!0,xe=ht,je=-je,_t.points=[Xn(It,0),Xn(Kt,0)]):x.current.tb=!1}var gr=Zn(Rr),ir=It[1]===Kt[1];if(gr&&It[1]==="l"&&(An>Ct.right||x.current.rl)){var Qt=$e;ir?Qt-=Ie-ct:Qt=k.x-$t.x-ft;var qn=cn(Qt,xe),Nr=cn(Qt,xe,ne);qn>Ee||qn===Ee&&(!We||Nr>=an)?(x.current.rl=!0,$e=Qt,ft=-ft,_t.points=[Xn(It,1),Xn(Kt,1)]):x.current.rl=!1}if(gr&&It[1]==="r"&&(Tt<Ct.left||x.current.lr)){var zn=$e;ir?zn+=Ie-ct:zn=Oe.x-J.x-ft;var hr=cn(zn,xe),jn=cn(zn,xe,ne);hr>Ee||hr===Ee&&(!We||jn>=an)?(x.current.lr=!0,$e=zn,ft=-ft,_t.points=[Xn(It,1),Xn(Kt,1)]):x.current.lr=!1}Wr();var Xt=Qn===!0?0:Qn;typeof Xt=="number"&&(Tt<ne.left&&($e-=Tt-ne.left-ft,L.x+ct<ne.left+Xt&&($e+=L.x-ne.left+ct-Xt)),An>ne.right&&($e-=An-ne.right-ft,L.x>ne.right-Xt&&($e+=L.x-ne.right+Xt)));var kn=Jn===!0?0:Jn;typeof kn=="number"&&(Rn<ne.top&&(xe-=Rn-ne.top-je,L.y+ot<ne.top+kn&&(xe+=L.y-ne.top+ot-kn)),ln>ne.bottom&&(xe-=ln-ne.bottom-je,L.y>ne.bottom-kn&&(xe+=L.y-ne.bottom+kn)));var er=fe.x+$e,tr=er+Ie,un=fe.y+xe,yr=un+be,Kn=L.x,Bn=Kn+ct,pr=L.y,Dr=pr+ot,Be=Math.max(er,Kn),ge=Math.min(tr,Bn),we=(Be+ge)/2,xt=we-er,Rt=Math.max(un,pr),sn=Math.min(yr,Dr),Hn=(Rt+sn)/2,Tr=Hn-un;i==null||i(t,_t);var Hr=Pt.right-fe.x-($e+fe.width),go=Pt.bottom-fe.y-(xe+fe.height);P({ready:!0,offsetX:$e/Ut,offsetY:xe/Qe,offsetR:Hr/Ut,offsetB:go/Qe,arrowX:xt/Ut,arrowY:Tr/Qe,scaleX:Ut,scaleY:Qe,align:_t})}}),D=function(){$.current+=1;var E=$.current;Promise.resolve().then(function(){$.current===E&&Z()})},K=function(){P(function(E){return zt(zt({},E),{},{ready:!1})})};return Mn(K,[o]),Mn(function(){e||K()},[e]),[y.ready,y.offsetX,y.offsetY,y.offsetR,y.offsetB,y.arrowX,y.arrowY,y.scaleX,y.scaleY,y.align,D]}function wi(e){if(Array.isArray(e))return eo(e)}function Mi(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Pi(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ea(e){return wi(e)||Mi(e)||Oo(e)||Pi()}function Ri(e,t,n,o,a){Mn(function(){if(e&&t&&n){let $=function(){o(),a()};var l=t,i=n,f=lo(l),h=lo(i),y=Er(i),P=new Set([y].concat(ea(f),ea(h)));return P.forEach(function(T){T.addEventListener("scroll",$,{passive:!0})}),y.addEventListener("resize",$,{passive:!0}),o(),function(){P.forEach(function(T){T.removeEventListener("scroll",$),y.removeEventListener("resize",$)})}}},[e,t,n])}var uo={},Oi=[],Bi=function(t){Oi.push(t)};function Ni(e,t){if(0)var n}function Di(e,t){if(0)var n}function Ti(){uo={}}function ta(e,t,n){!t&&!uo[n]&&(e(!1,n),uo[n]=!0)}function so(e,t){ta(Ni,e,t)}function Zi(e,t){ta(Di,e,t)}so.preMessage=Bi,so.resetWarned=Ti,so.noteOnce=Zi;var sl=null,na=function(t){return+setTimeout(t,16)},ra=function(t){return clearTimeout(t)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(na=function(t){return window.requestAnimationFrame(t)},ra=function(t){return window.cancelAnimationFrame(t)});var oa=0,co=new Map;function aa(e){co.delete(e)}var ia=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;oa+=1;var o=oa;function a(l){if(l===0)aa(o),t();else{var i=na(function(){a(l-1)});co.set(o,i)}}return a(n),o};ia.cancel=function(e){var t=co.get(e);return aa(e),ra(t)};var la=ia;function Ai(e,t,n,o,a,l,i,f){var h=r.useRef(e),y=r.useRef(!1);h.current!==e&&(y.current=!0,h.current=e),r.useEffect(function(){var P=la(function(){y.current=!1});return function(){la.cancel(P)}},[e]),r.useEffect(function(){if(t&&o&&(!a||l)){var P=function(){var ee=!1,Ce=function(Se){var te=Se.target;ee=i(te)},me=function(Se){var te=Se.target;!y.current&&h.current&&!ee&&!i(te)&&f(!1)};return[Ce,me]},$=P(),T=mt($,2),x=T[0],I=T[1],Z=P(),D=mt(Z,2),K=D[0],O=D[1],E=Er(o);E.addEventListener("mousedown",x,!0),E.addEventListener("click",I,!0),E.addEventListener("contextmenu",I,!0);var p=ro(n);if(p&&(p.addEventListener("mousedown",K,!0),p.addEventListener("click",O,!0),p.addEventListener("contextmenu",O,!0)),0)var j,H,ae,Q;return function(){E.removeEventListener("mousedown",x,!0),E.removeEventListener("click",I,!0),E.removeEventListener("contextmenu",I,!0),p&&(p.removeEventListener("mousedown",K,!0),p.removeEventListener("click",O,!0),p.removeEventListener("contextmenu",O,!0))}}},[t,n,o,a,l])}var Li=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function zi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ao,t=r.forwardRef(function(n,o){var a=n.prefixCls,l=a===void 0?"rc-trigger-popup":a,i=n.children,f=n.action,h=f===void 0?"hover":f,y=n.showAction,P=n.hideAction,$=n.popupVisible,T=n.defaultPopupVisible,x=n.onPopupVisibleChange,I=n.afterPopupVisibleChange,Z=n.mouseEnterDelay,D=n.mouseLeaveDelay,K=D===void 0?.1:D,O=n.focusDelay,E=n.blurDelay,p=n.mask,j=n.maskClosable,H=j===void 0?!0:j,ae=n.getPopupContainer,Q=n.forceRender,Me=n.autoDestroy,ee=n.destroyPopupOnHide,Ce=n.popup,me=n.popupClassName,de=n.popupStyle,Se=n.popupPlacement,te=n.builtinPlacements,oe=te===void 0?{}:te,L=n.popupAlign,Le=n.zIndex,fe=n.stretch,He=n.getPopupClassNameFromAlign,jt=n.fresh,rt=n.alignPoint,Mt=n.onPopupClick,gt=n.onPopupAlign,st=n.arrow,Ve=n.popupMotion,be=n.maskMotion,Ie=n.popupTransitionName,ot=n.popupAnimation,ct=n.maskTransitionName,ze=n.maskAnimation,at=n.className,it=n.getTriggerDOMNode,dt=Za(n,Li),Dt=Me||ee||!1,We=r.useState(!1),kt=mt(We,2),ne=kt[0],tn=kt[1];Mn(function(){tn(ai())},[]);var Ct=r.useRef({}),Pt=r.useContext(Go),Ut=r.useMemo(function(){return{registerSubPopup:function(re,qe){Ct.current[re]=qe,Pt==null||Pt.registerSubPopup(re,qe)}}},[Pt]),Qe=ri(),Pn=r.useState(null),Vt=mt(Pn,2),Re=Vt[0],pn=Vt[1],ft=rr(function(B){xr(B)&&Re!==B&&pn(B),Pt==null||Pt.registerSubPopup(Qe,B)}),je=r.useState(null),Gt=mt(je,2),Je=Gt[0],nn=Gt[1],Ye=r.useRef(null),rn=rr(function(B){xr(B)&&Je!==B&&(nn(B),Ye.current=B)}),St=r.Children.only(i),ke=(St==null?void 0:St.props)||{},Ge={},Kt=rr(function(B){var re,qe,yt=Je;return(yt==null?void 0:yt.contains(B))||((re=ro(yt))===null||re===void 0?void 0:re.host)===B||B===yt||(Re==null?void 0:Re.contains(B))||((qe=ro(Re))===null||qe===void 0?void 0:qe.host)===B||B===Re||Object.values(Ct.current).some(function(et){return(et==null?void 0:et.contains(B))||B===et})}),It=Xo(l,Ve,ot,Ie),bn=Xo(l,be,ze,ct),on=r.useState(T||!1),_t=mt(on,2),$e=_t[0],xe=_t[1],Ee=$!=null?$:$e,an=rr(function(B){$===void 0&&xe(B)});Mn(function(){xe($||!1)},[$]);var k=r.useRef(Ee);k.current=Ee;var J=rr(function(B){(0,R.flushSync)(function(){Ee!==B&&(an(B),x==null||x(B))})}),Oe=r.useRef(),$t=function(){clearTimeout(Oe.current)},_e=function(re){var qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;$t(),qe===0?J(re):Oe.current=setTimeout(function(){J(re)},qe*1e3)};r.useEffect(function(){return $t},[]);var Rr=r.useState(!1),vr=mt(Rr,2),Qn=vr[0],Jn=vr[1];Mn(function(B){(!B||Ee)&&Jn(!0)},[Ee]);var Zn=r.useState(null),Rn=mt(Zn,2),ln=Rn[0],Tt=Rn[1],An=r.useState([0,0]),Yn=mt(An,2),ar=Yn[0],On=Yn[1],Ln=function(re){On([re.clientX,re.clientY])},Or=Ei(Ee,Re,rt?ar:Je,Se,oe,L,gt),ht=mt(Or,11),mr=ht[0],Br=ht[1],gr=ht[2],ir=ht[3],Qt=ht[4],qn=ht[5],Nr=ht[6],zn=ht[7],hr=ht[8],jn=ht[9],Xt=ht[10],kn=Si(ne,h,y,P),er=mt(kn,2),tr=er[0],un=er[1],yr=tr.has("click"),Kn=un.has("click")||un.has("contextMenu"),Bn=rr(function(){Qn||Xt()}),pr=function(){k.current&&rt&&Kn&&_e(!1)};Ri(Ee,Je,Re,Bn,pr),Mn(function(){Bn()},[ar,Se]),Mn(function(){Ee&&!(oe!=null&&oe[Se])&&Bn()},[JSON.stringify(L)]);var Dr=r.useMemo(function(){var B=xi(oe,l,jn,rt);return _()(B,He==null?void 0:He(jn))},[jn,He,oe,l,rt]);r.useImperativeHandle(o,function(){return{nativeElement:Ye.current,forceAlign:Bn}});var Be=r.useState(0),ge=mt(Be,2),we=ge[0],xt=ge[1],Rt=r.useState(0),sn=mt(Rt,2),Hn=sn[0],Tr=sn[1],Hr=function(){if(fe&&Je){var re=Je.getBoundingClientRect();xt(re.width),Tr(re.height)}},go=function(){Hr(),Bn()},cn=function(re){Jn(!1),Xt(),I==null||I(re)},Wr=function(){return new Promise(function(re){Hr(),Tt(function(){return re})})};Mn(function(){ln&&(Xt(),ln(),Tt(null))},[ln]);function Wn(B,re,qe,yt){Ge[B]=function(et){var Ur;yt==null||yt(et),_e(re,qe);for(var Co=arguments.length,sa=new Array(Co>1?Co-1:0),Vr=1;Vr<Co;Vr++)sa[Vr-1]=arguments[Vr];(Ur=ke[B])===null||Ur===void 0||Ur.call.apply(Ur,[ke,et].concat(sa))}}(yr||Kn)&&(Ge.onClick=function(B){var re;k.current&&Kn?_e(!1):!k.current&&yr&&(Ln(B),_e(!0));for(var qe=arguments.length,yt=new Array(qe>1?qe-1:0),et=1;et<qe;et++)yt[et-1]=arguments[et];(re=ke.onClick)===null||re===void 0||re.call.apply(re,[ke,B].concat(yt))}),Ai(Ee,Kn,Je,Re,p,H,Kt,_e);var lr=tr.has("hover"),br=un.has("hover"),Cr,Zr;lr&&(Wn("onMouseEnter",!0,Z,function(B){Ln(B)}),Wn("onPointerEnter",!0,Z,function(B){Ln(B)}),Cr=function(){(Ee||Qn)&&_e(!0,Z)},rt&&(Ge.onMouseMove=function(B){var re;(re=ke.onMouseMove)===null||re===void 0||re.call(ke,B)})),br&&(Wn("onMouseLeave",!1,K),Wn("onPointerLeave",!1,K),Zr=function(){_e(!1,K)}),tr.has("focus")&&Wn("onFocus",!0,O),un.has("focus")&&Wn("onBlur",!1,E),tr.has("contextMenu")&&(Ge.onContextMenu=function(B){var re;k.current&&un.has("contextMenu")?_e(!1):(Ln(B),_e(!0)),B.preventDefault();for(var qe=arguments.length,yt=new Array(qe>1?qe-1:0),et=1;et<qe;et++)yt[et-1]=arguments[et];(re=ke.onContextMenu)===null||re===void 0||re.call.apply(re,[ke,B].concat(yt))}),at&&(Ge.className=_()(ke.className,at));var Ar=zt(zt({},ke),Ge),Fr={},ho=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];ho.forEach(function(B){dt[B]&&(Fr[B]=function(){for(var re,qe=arguments.length,yt=new Array(qe),et=0;et<qe;et++)yt[et]=arguments[et];(re=Ar[B])===null||re===void 0||re.call.apply(re,[Ar].concat(yt)),dt[B].apply(dt,yt)})});var yo=r.cloneElement(St,zt(zt({},Ar),Fr)),po={x:qn,y:Nr},bo=st?zt({},st!==!0?st:{}):null;return r.createElement(r.Fragment,null,r.createElement(F.Z,{disabled:!Ee,ref:rn,onResize:go},r.createElement(bi,{getTriggerDOMNode:it},yo)),r.createElement(Go.Provider,{value:Ut},r.createElement(yi,{portal:e,ref:ft,prefixCls:l,popup:Ce,className:_()(me,Dr),style:de,target:Je,onMouseEnter:Cr,onMouseLeave:Zr,onPointerEnter:Cr,zIndex:Le,open:Ee,keepDom:Qn,fresh:jt,onClick:Mt,mask:p,motion:It,maskMotion:bn,onVisibleChanged:cn,onPrepare:Wr,forceRender:Q,autoDestroy:Dt,getPopupContainer:ae,align:jn,arrow:bo,arrowPos:po,ready:mr,offsetX:Br,offsetY:gr,offsetR:ir,offsetB:Qt,onAlign:Bn,stretch:fe,targetWidth:we/zn,targetHeight:Hn/hr})))});return t}var ji=zi(Ao),Nt={adjustX:1,adjustY:1},ki={topLeft:{points:["bl","tl"],overflow:Nt},topRight:{points:["br","tr"],overflow:Nt},bottomLeft:{points:["tl","bl"],overflow:Nt},bottomRight:{points:["tr","br"],overflow:Nt},leftTop:{points:["tr","tl"],overflow:Nt},leftBottom:{points:["br","bl"],overflow:Nt},rightTop:{points:["tl","tr"],overflow:Nt},rightBottom:{points:["bl","br"],overflow:Nt}},Ki={topLeft:{points:["bl","tl"],overflow:Nt},topRight:{points:["br","tr"],overflow:Nt},bottomLeft:{points:["tl","bl"],overflow:Nt},bottomRight:{points:["tr","br"],overflow:Nt},rightTop:{points:["tr","tl"],overflow:Nt},rightBottom:{points:["br","bl"],overflow:Nt},leftTop:{points:["tl","tr"],overflow:Nt},leftBottom:{points:["bl","br"],overflow:Nt}},cl=null;function ua(e,t,n){if(t)return t;if(n)return n[e]||n.other}var Hi={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Wi(e){var t=e.prefixCls,n=e.visible,o=e.children,a=e.popup,l=e.popupStyle,i=e.popupClassName,f=e.popupOffset,h=e.disabled,y=e.mode,P=e.onVisibleChange,$=r.useContext(m),T=$.getPopupContainer,x=$.rtl,I=$.subMenuOpenDelay,Z=$.subMenuCloseDelay,D=$.builtinPlacements,K=$.triggerSubMenuAction,O=$.forceSubMenuRender,E=$.rootClassName,p=$.motion,j=$.defaultMotions,H=r.useState(!1),ae=(0,b.Z)(H,2),Q=ae[0],Me=ae[1],ee=x?(0,M.Z)((0,M.Z)({},Ki),D):(0,M.Z)((0,M.Z)({},ki),D),Ce=Hi[y],me=ua(y,p,j),de=r.useRef(me);y!=="inline"&&(de.current=me);var Se=(0,M.Z)((0,M.Z)({},de.current),{},{leavedClassName:"".concat(t,"-hidden"),removeOnLeave:!1,motionAppear:!0}),te=r.useRef();return r.useEffect(function(){return te.current=(0,Ae.Z)(function(){Me(n)}),function(){Ae.Z.cancel(te.current)}},[n]),r.createElement(ji,{prefixCls:t,popupClassName:_()("".concat(t,"-popup"),(0,d.Z)({},"".concat(t,"-rtl"),x),i,E),stretch:y==="horizontal"?"minWidth":null,getPopupContainer:T,builtinPlacements:ee,popupPlacement:Ce,popupVisible:Q,popup:a,popupStyle:l,popupAlign:f&&{offset:f},action:h?[]:[K],mouseEnterDelay:I,mouseLeaveDelay:Z,onPopupVisibleChange:P,forceRender:O,popupMotion:Se,fresh:!0},o)}function Fi(e){var t=e.id,n=e.open,o=e.keyPath,a=e.children,l="inline",i=r.useContext(m),f=i.prefixCls,h=i.forceSubMenuRender,y=i.motion,P=i.defaultMotions,$=i.mode,T=r.useRef(!1);T.current=$===l;var x=r.useState(!T.current),I=(0,b.Z)(x,2),Z=I[0],D=I[1],K=T.current?n:!1;r.useEffect(function(){T.current&&D(!1)},[$]);var O=(0,M.Z)({},ua(l,y,P));o.length>1&&(O.motionAppear=!1);var E=O.onVisibleChanged;return O.onVisibleChanged=function(p){return!T.current&&!p&&D(!0),E==null?void 0:E(p)},Z?null:r.createElement(z,{mode:l,locked:!T.current},r.createElement(oo.Z,(0,C.Z)({visible:K},O,{forceRender:h,removeOnLeave:!1,leavedClassName:"".concat(f,"-hidden")}),function(p){var j=p.className,H=p.style;return r.createElement(Po,{id:t,className:j,style:H},a)}))}var Ui=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Vi=["active"],Gi=function(t){var n,o=t.style,a=t.className,l=t.title,i=t.eventKey,f=t.warnKey,h=t.disabled,y=t.internalPopupClose,P=t.children,$=t.itemIcon,T=t.expandIcon,x=t.popupClassName,I=t.popupOffset,Z=t.popupStyle,D=t.onClick,K=t.onMouseEnter,O=t.onMouseLeave,E=t.onTitleClick,p=t.onTitleMouseEnter,j=t.onTitleMouseLeave,H=(0,w.Z)(t,Ui),ae=c(i),Q=r.useContext(m),Me=Q.prefixCls,ee=Q.mode,Ce=Q.openKeys,me=Q.disabled,de=Q.overflowDisabled,Se=Q.activeKey,te=Q.selectedKeys,oe=Q.itemIcon,L=Q.expandIcon,Le=Q.onItemClick,fe=Q.onOpenChange,He=Q.onActive,jt=r.useContext(Ke),rt=jt._internalRenderSubMenuItem,Mt=r.useContext(nt),gt=Mt.isSubPathKey,st=pe(),Ve="".concat(Me,"-submenu"),be=me||h,Ie=r.useRef(),ot=r.useRef(),ct=$!=null?$:oe,ze=T!=null?T:L,at=Ce.includes(i),it=!de&&at,dt=gt(te,i),Dt=xo(i,be,p,j),We=Dt.active,kt=(0,w.Z)(Dt,Vi),ne=r.useState(!1),tn=(0,b.Z)(ne,2),Ct=tn[0],Pt=tn[1],Ut=function(Ge){be||Pt(Ge)},Qe=function(Ge){Ut(!0),K==null||K({key:i,domEvent:Ge})},Pn=function(Ge){Ut(!1),O==null||O({key:i,domEvent:Ge})},Vt=r.useMemo(function(){return We||(ee!=="inline"?Ct||gt([Se],i):!1)},[ee,We,Se,Ct,i,gt]),Re=Eo(st.length),pn=function(Ge){be||(E==null||E({key:i,domEvent:Ge}),ee==="inline"&&fe(i,!at))},ft=Sr(function(ke){D==null||D(zr(ke)),Le(ke)}),je=function(Ge){ee!=="inline"&&fe(i,Ge)},Gt=function(){He(i)},Je=ae&&"".concat(ae,"-popup"),nn=r.createElement("div",(0,C.Z)({role:"menuitem",style:Re,className:"".concat(Ve,"-title"),tabIndex:be?null:-1,ref:Ie,title:typeof l=="string"?l:null,"data-menu-id":de&&ae?null:ae,"aria-expanded":it,"aria-haspopup":!0,"aria-controls":Je,"aria-disabled":be,onClick:pn,onFocus:Gt},kt),l,r.createElement(wo,{icon:ee!=="horizontal"?ze:void 0,props:(0,M.Z)((0,M.Z)({},t),{},{isOpen:it,isSubMenu:!0})},r.createElement("i",{className:"".concat(Ve,"-arrow")}))),Ye=r.useRef(ee);if(ee!=="inline"&&st.length>1?Ye.current="vertical":Ye.current=ee,!de){var rn=Ye.current;nn=r.createElement(Wi,{mode:rn,prefixCls:Ve,visible:!y&&it&&ee!=="inline",popupClassName:x,popupOffset:I,popupStyle:Z,popup:r.createElement(z,{mode:rn==="horizontal"?"vertical":rn},r.createElement(Po,{id:Je,ref:ot},P)),disabled:be,onVisibleChange:je},nn)}var St=r.createElement(In.Item,(0,C.Z)({role:"none"},H,{component:"li",style:o,className:_()(Ve,"".concat(Ve,"-").concat(ee),a,(n={},(0,d.Z)(n,"".concat(Ve,"-open"),it),(0,d.Z)(n,"".concat(Ve,"-active"),Vt),(0,d.Z)(n,"".concat(Ve,"-selected"),dt),(0,d.Z)(n,"".concat(Ve,"-disabled"),be),n)),onMouseEnter:Qe,onMouseLeave:Pn}),nn,!de&&r.createElement(Fi,{id:Je,open:it,keyPath:st},P));return rt&&(St=rt(St,t,{selected:dt,active:Vt,open:it,disabled:be})),r.createElement(z,{onItemClick:ft,mode:ee==="horizontal"?"vertical":ee,itemIcon:ct,expandIcon:ze},St)};function Kr(e){var t=e.eventKey,n=e.children,o=pe(t),a=qr(n,o),l=ce();r.useEffect(function(){if(l)return l.registerPath(t,o),function(){l.unregisterPath(t,o)}},[o]);var i;return l?i=a:i=r.createElement(Gi,e,a),r.createElement(Ue.Provider,{value:o},i)}var _i=u(71002),Xi=["className","title","eventKey","children"],Qi=["children"],Ji=function(t){var n=t.className,o=t.title,a=t.eventKey,l=t.children,i=(0,w.Z)(t,Xi),f=r.useContext(m),h=f.prefixCls,y="".concat(h,"-item-group");return r.createElement("li",(0,C.Z)({role:"presentation"},i,{onClick:function($){return $.stopPropagation()},className:_()(y,n)}),r.createElement("div",{role:"presentation",className:"".concat(y,"-title"),title:typeof o=="string"?o:void 0},o),r.createElement("ul",{role:"group",className:"".concat(y,"-list")},l))};function fo(e){var t=e.children,n=(0,w.Z)(e,Qi),o=pe(n.eventKey),a=qr(t,o),l=ce();return l?a:r.createElement(Ji,(0,$o.Z)(n,["warnKey"]),a)}function vo(e){var t=e.className,n=e.style,o=r.useContext(m),a=o.prefixCls,l=ce();return l?null:r.createElement("li",{role:"separator",className:_()("".concat(a,"-item-divider"),t),style:n})}var Yi=["label","children","key","type"];function mo(e){return(e||[]).map(function(t,n){if(t&&(0,_i.Z)(t)==="object"){var o=t,a=o.label,l=o.children,i=o.key,f=o.type,h=(0,w.Z)(o,Yi),y=i!=null?i:"tmp-".concat(n);return l||f==="group"?f==="group"?r.createElement(fo,(0,C.Z)({key:y},h,{title:a}),mo(l)):r.createElement(Kr,(0,C.Z)({key:y},h,{title:a}),mo(l)):f==="divider"?r.createElement(vo,(0,C.Z)({key:y},h)):r.createElement(Ir,(0,C.Z)({key:y},h),a)}return null}).filter(function(t){return t})}function qi(e,t,n){var o=e;return t&&(o=mo(t)),qr(o,n)}var el=["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"],fr=[],tl=r.forwardRef(function(e,t){var n,o,a=e,l=a.prefixCls,i=l===void 0?"rc-menu":l,f=a.rootClassName,h=a.style,y=a.className,P=a.tabIndex,$=P===void 0?0:P,T=a.items,x=a.children,I=a.direction,Z=a.id,D=a.mode,K=D===void 0?"vertical":D,O=a.inlineCollapsed,E=a.disabled,p=a.disabledOverflow,j=a.subMenuOpenDelay,H=j===void 0?.1:j,ae=a.subMenuCloseDelay,Q=ae===void 0?.1:ae,Me=a.forceSubMenuRender,ee=a.defaultOpenKeys,Ce=a.openKeys,me=a.activeKey,de=a.defaultActiveFirst,Se=a.selectable,te=Se===void 0?!0:Se,oe=a.multiple,L=oe===void 0?!1:oe,Le=a.defaultSelectedKeys,fe=a.selectedKeys,He=a.onSelect,jt=a.onDeselect,rt=a.inlineIndent,Mt=rt===void 0?24:rt,gt=a.motion,st=a.defaultMotions,Ve=a.triggerSubMenuAction,be=Ve===void 0?"hover":Ve,Ie=a.builtinPlacements,ot=a.itemIcon,ct=a.expandIcon,ze=a.overflowedIndicator,at=ze===void 0?"...":ze,it=a.overflowedIndicatorPopupClassName,dt=a.getPopupContainer,Dt=a.onClick,We=a.onOpenChange,kt=a.onKeyDown,ne=a.openAnimation,tn=a.openTransitionName,Ct=a._internalRenderMenuItem,Pt=a._internalRenderSubMenuItem,Ut=(0,w.Z)(a,el),Qe=r.useMemo(function(){return qi(x,T,fr)},[x,T]),Pn=r.useState(!1),Vt=(0,b.Z)(Pn,2),Re=Vt[0],pn=Vt[1],ft=r.useRef(),je=va(Z),Gt=I==="rtl",Je=(0,nr.Z)(ee,{value:Ce,postState:function(ge){return ge||fr}}),nn=(0,b.Z)(Je,2),Ye=nn[0],rn=nn[1],St=function(ge){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function xt(){rn(ge),We==null||We(ge)}we?(0,R.flushSync)(xt):xt()},ke=r.useState(Ye),Ge=(0,b.Z)(ke,2),Kt=Ge[0],It=Ge[1],bn=r.useRef(!1),on=r.useMemo(function(){return(K==="inline"||K==="vertical")&&O?["vertical",O]:[K,!1]},[K,O]),_t=(0,b.Z)(on,2),$e=_t[0],xe=_t[1],Ee=$e==="inline",an=r.useState($e),k=(0,b.Z)(an,2),J=k[0],Oe=k[1],$t=r.useState(xe),_e=(0,b.Z)($t,2),Rr=_e[0],vr=_e[1];r.useEffect(function(){Oe($e),vr(xe),bn.current&&(Ee?rn(Kt):St(fr))},[$e,xe]);var Qn=r.useState(0),Jn=(0,b.Z)(Qn,2),Zn=Jn[0],Rn=Jn[1],ln=Zn>=Qe.length-1||J!=="horizontal"||p;r.useEffect(function(){Ee&&It(Ye)},[Ye]),r.useEffect(function(){return bn.current=!0,function(){bn.current=!1}},[]);var Tt=da(),An=Tt.registerPath,Yn=Tt.unregisterPath,ar=Tt.refreshOverflowKeys,On=Tt.isSubPathKey,Ln=Tt.getKeyPath,Or=Tt.getKeys,ht=Tt.getSubPathKeys,mr=r.useMemo(function(){return{registerPath:An,unregisterPath:Yn}},[An,Yn]),Br=r.useMemo(function(){return{isSubPathKey:On}},[On]);r.useEffect(function(){ar(ln?fr:Qe.slice(Zn+1).map(function(Be){return Be.key}))},[Zn,ln]);var gr=(0,nr.Z)(me||de&&((n=Qe[0])===null||n===void 0?void 0:n.key),{value:me}),ir=(0,b.Z)(gr,2),Qt=ir[0],qn=ir[1],Nr=Sr(function(Be){qn(Be)}),zn=Sr(function(){qn(void 0)});(0,r.useImperativeHandle)(t,function(){return{list:ft.current,focus:function(ge){var we,xt=Qt!=null?Qt:(we=Qe.find(function(Tr){return!Tr.props.disabled}))===null||we===void 0?void 0:we.key;if(xt){var Rt,sn,Hn;(Rt=ft.current)===null||Rt===void 0||(sn=Rt.querySelector("li[data-menu-id='".concat(v(je,xt),"']")))===null||sn===void 0||(Hn=sn.focus)===null||Hn===void 0||Hn.call(sn,ge)}}}});var hr=(0,nr.Z)(Le||[],{value:fe,postState:function(ge){return Array.isArray(ge)?ge:ge==null?fr:[ge]}}),jn=(0,b.Z)(hr,2),Xt=jn[0],kn=jn[1],er=function(ge){if(te){var we=ge.key,xt=Xt.includes(we),Rt;L?xt?Rt=Xt.filter(function(Hn){return Hn!==we}):Rt=[].concat((0,G.Z)(Xt),[we]):Rt=[we],kn(Rt);var sn=(0,M.Z)((0,M.Z)({},ge),{},{selectedKeys:Rt});xt?jt==null||jt(sn):He==null||He(sn)}!L&&Ye.length&&J!=="inline"&&St(fr)},tr=Sr(function(Be){Dt==null||Dt(zr(Be)),er(Be)}),un=Sr(function(Be,ge){var we=Ye.filter(function(Rt){return Rt!==Be});if(ge)we.push(Be);else if(J!=="inline"){var xt=ht(Be);we=we.filter(function(Rt){return!xt.has(Rt)})}(0,$n.Z)(Ye,we,!0)||St(we,!0)}),yr=function(ge,we){var xt=we!=null?we:!Ye.includes(ge);un(ge,xt)},Kn=Xr(J,Qt,Gt,je,ft,Or,Ln,qn,yr,kt);r.useEffect(function(){pn(!0)},[]);var Bn=r.useMemo(function(){return{_internalRenderMenuItem:Ct,_internalRenderSubMenuItem:Pt}},[Ct,Pt]),pr=J!=="horizontal"||p?Qe:Qe.map(function(Be,ge){return r.createElement(z,{key:Be.key,overflowDisabled:ge>Zn},Be)}),Dr=r.createElement(In,(0,C.Z)({id:Z,ref:ft,prefixCls:"".concat(i,"-overflow"),component:"ul",itemComponent:Ir,className:_()(i,"".concat(i,"-root"),"".concat(i,"-").concat(J),y,(o={},(0,d.Z)(o,"".concat(i,"-inline-collapsed"),Rr),(0,d.Z)(o,"".concat(i,"-rtl"),Gt),o),f),dir:I,style:h,role:"menu",tabIndex:$,data:pr,renderRawItem:function(ge){return ge},renderRawRest:function(ge){var we=ge.length,xt=we?Qe.slice(-we):null;return r.createElement(Kr,{eventKey:Jr,title:at,disabled:ln,internalPopupClose:we===0,popupClassName:it},xt)},maxCount:J!=="horizontal"||p?In.INVALIDATE:In.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(ge){Rn(ge)},onKeyDown:Kn},Ut));return r.createElement(Ke.Provider,{value:Bn},r.createElement(ye.Provider,{value:je},r.createElement(z,{prefixCls:i,rootClassName:f,mode:J,openKeys:Ye,rtl:Gt,disabled:E,motion:Re?gt:null,defaultMotions:Re?st:null,activeKey:Qt,onActive:Nr,onInactive:zn,selectedKeys:Xt,inlineIndent:Mt,subMenuOpenDelay:H,subMenuCloseDelay:Q,forceSubMenuRender:Me,builtinPlacements:Ie,triggerSubMenuAction:be,getPopupContainer:dt,itemIcon:ot,expandIcon:ct,onItemClick:tr,onOpenChange:un},r.createElement(nt.Provider,{value:Br},Dr),r.createElement("div",{style:{display:"none"},"aria-hidden":!0},r.createElement(ie.Provider,{value:mr},Qe)))))}),nl=tl,Pr=nl;Pr.Item=Ir,Pr.SubMenu=Kr,Pr.ItemGroup=fo,Pr.Divider=vo;var rl=Pr},99962:function(Et,ue){var u;var C=Symbol.for("react.element"),d=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),w=Symbol.for("react.provider"),W=Symbol.for("react.context"),_=Symbol.for("react.server_context"),r=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),F=Symbol.for("react.suspense_list"),Ne=Symbol.for("react.memo"),he=Symbol.for("react.lazy"),De=Symbol.for("react.offscreen"),Te;Te=Symbol.for("react.module.reference");function se(S){if(typeof S=="object"&&S!==null){var Pe=S.$$typeof;switch(Pe){case C:switch(S=S.type,S){case M:case b:case G:case A:case F:return S;default:switch(S=S&&S.$$typeof,S){case _:case W:case r:case he:case Ne:case w:return S;default:return Pe}}case d:return Pe}}}u=W,u=w,u=C,ue.ForwardRef=r,u=M,u=he,u=Ne,u=d,u=b,u=G,u=A,u=F,u=function(){return!1},u=function(){return!1},u=function(S){return se(S)===W},u=function(S){return se(S)===w},u=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===C},u=function(S){return se(S)===r},u=function(S){return se(S)===M},u=function(S){return se(S)===he},ue.isMemo=function(S){return se(S)===Ne},u=function(S){return se(S)===d},u=function(S){return se(S)===b},u=function(S){return se(S)===G},u=function(S){return se(S)===A},u=function(S){return se(S)===F},u=function(S){return typeof S=="string"||typeof S=="function"||S===M||S===b||S===G||S===A||S===F||S===De||typeof S=="object"&&S!==null&&(S.$$typeof===he||S.$$typeof===Ne||S.$$typeof===w||S.$$typeof===W||S.$$typeof===r||S.$$typeof===Te||S.getModuleId!==void 0)},u=se},8399:function(Et,ue,u){Et.exports=u(99962)},66680:function(Et,ue,u){u.d(ue,{Z:function(){return d}});var C=u(67294);function d(M){var G=C.useRef();G.current=M;var b=C.useCallback(function(){for(var w,W=arguments.length,_=new Array(W),r=0;r<W;r++)_[r]=arguments[r];return(w=G.current)===null||w===void 0?void 0:w.call.apply(w,[G].concat(_))},[]);return b}},21770:function(Et,ue,u){u.d(ue,{Z:function(){return w}});var C=u(97685),d=u(66680),M=u(8410),G=u(63896);function b(W){return W!==void 0}function w(W,_){var r=_||{},A=r.defaultValue,F=r.value,Ne=r.onChange,he=r.postState,De=(0,G.Z)(function(){return b(F)?F:b(A)?typeof A=="function"?A():A:typeof W=="function"?W():W}),Te=(0,C.Z)(De,2),se=Te[0],S=Te[1],Pe=F!==void 0?F:se,Ht=he?he(Pe):Pe,Ze=(0,d.Z)(Ne),Fe=(0,G.Z)([Pe]),X=(0,C.Z)(Fe,2),R=X[0],q=X[1];(0,M.o)(function(){var U=R[0];se!==U&&Ze(se,U)},[R]),(0,M.o)(function(){b(F)||S(F)},[F]);var Y=(0,d.Z)(function(U,ve){S(U,ve),q([Pe],ve)});return[Ht,Y]}},91881:function(Et,ue,u){var C=u(71002),d=u(80334);function M(G,b){var w=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,W=new Set;function _(r,A){var F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Ne=W.has(r);if((0,d.ZP)(!Ne,"Warning: There may be circular references"),Ne)return!1;if(r===A)return!0;if(w&&F>1)return!1;W.add(r);var he=F+1;if(Array.isArray(r)){if(!Array.isArray(A)||r.length!==A.length)return!1;for(var De=0;De<r.length;De++)if(!_(r[De],A[De],he))return!1;return!0}if(r&&A&&(0,C.Z)(r)==="object"&&(0,C.Z)(A)==="object"){var Te=Object.keys(r);return Te.length!==Object.keys(A).length?!1:Te.every(function(se){return _(r[se],A[se],he)})}return!1}return _(G,b)}ue.Z=M},98423:function(Et,ue,u){u.d(ue,{Z:function(){return d}});var C=u(1413);function d(M,G){var b=(0,C.Z)({},M);return Array.isArray(G)&&G.forEach(function(w){delete b[w]}),b}}}]);