"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1203],{1203:function(e,t,o){o.d(t,{Z:function(){return P}});var n=o(67294),i=o(18073),r=o(93967),l=o.n(r),a=o(29171),s=o(56790),d=o(21770),c=o(98423),u=o(87263),m=o(80636),p=o(8745),$=o(96159),g=o(27288),b=o(43945),v=o(53124),f=o(35792),h=o(96077),I=o(76529),C=o(25976),S=o(89442),w=o(14747),y=o(67771),x=o(33297),B=o(50438),O=o(97414),k=o(79511),j=o(27036),E=o(45503),z=e=>{let{componentCls:t,menuCls:o,colorError:n,colorTextLightSolid:i}=e,r=`${o}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${o} ${r}`]:{[`&${r}-danger:not(${r}-disabled)`]:{color:n,"&:hover":{color:i,backgroundColor:n}}}}}};let H=e=>{let{componentCls:t,menuCls:o,zIndexPopup:n,dropdownArrowDistance:i,sizePopupArrow:r,antCls:l,iconCls:a,motionDurationMid:s,paddingBlock:d,fontSize:c,dropdownEdgeChildPadding:u,colorTextDisabled:m,fontSizeIcon:p,controlPaddingHorizontal:$,colorBgElevated:g}=e;return[{[t]:Object.assign(Object.assign({},(0,w.Wf)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:n,display:"block","&::before":{position:"absolute",insetBlock:e.calc(r).div(2).sub(i).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${l}-btn`]:{[`& > ${a}-down, & > ${l}-btn-icon > ${a}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:"relative",[`${l}-btn > ${a}-down`]:{fontSize:p},[`${a}-down::before`]:{transition:`transform ${s}`}},[`${t}-wrap-open`]:{[`${a}-down::before`]:{transform:"rotate(180deg)"}},[`
        &-hidden,
        &-menu-hidden,
        &-menu-submenu-hidden
      `]:{display:"none"},[`&${l}-slide-down-enter${l}-slide-down-enter-active${t}-placement-bottomLeft,
          &${l}-slide-down-appear${l}-slide-down-appear-active${t}-placement-bottomLeft,
          &${l}-slide-down-enter${l}-slide-down-enter-active${t}-placement-bottom,
          &${l}-slide-down-appear${l}-slide-down-appear-active${t}-placement-bottom,
          &${l}-slide-down-enter${l}-slide-down-enter-active${t}-placement-bottomRight,
          &${l}-slide-down-appear${l}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:y.fJ},[`&${l}-slide-up-enter${l}-slide-up-enter-active${t}-placement-topLeft,
          &${l}-slide-up-appear${l}-slide-up-appear-active${t}-placement-topLeft,
          &${l}-slide-up-enter${l}-slide-up-enter-active${t}-placement-top,
          &${l}-slide-up-appear${l}-slide-up-appear-active${t}-placement-top,
          &${l}-slide-up-enter${l}-slide-up-enter-active${t}-placement-topRight,
          &${l}-slide-up-appear${l}-slide-up-appear-active${t}-placement-topRight`]:{animationName:y.Qt},[`&${l}-slide-down-leave${l}-slide-down-leave-active${t}-placement-bottomLeft,
          &${l}-slide-down-leave${l}-slide-down-leave-active${t}-placement-bottom,
          &${l}-slide-down-leave${l}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:y.Uw},[`&${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-topLeft,
          &${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-top,
          &${l}-slide-up-leave${l}-slide-up-leave-active${t}-placement-topRight`]:{animationName:y.ly}})},(0,O.ZP)(e,g,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${o}`]:{position:"relative",margin:0},[`${o}-submenu-popup`]:{position:"absolute",zIndex:n,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:{[o]:Object.assign(Object.assign({padding:u,listStyleType:"none",backgroundColor:g,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},(0,w.Qy)(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${o}-item-group-title`]:{padding:`${(0,S.bf)(d)} ${(0,S.bf)($)}`,color:e.colorTextDescription,transition:`all ${s}`},[`${o}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${o}-item-icon`]:{minWidth:c,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${o}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${s}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${o}-item, ${o}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${(0,S.bf)(d)} ${(0,S.bf)($)}`,color:e.colorText,fontWeight:"normal",fontSize:c,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${s}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},(0,w.Qy)(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:m,cursor:"not-allowed","&:hover":{color:m,backgroundColor:g,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,S.bf)(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:p,fontStyle:"normal"}}}),[`${o}-item-group-list`]:{margin:`0 ${(0,S.bf)(e.marginXS)}`,padding:0,listStyle:"none"},[`${o}-submenu-title`]:{paddingInlineEnd:e.calc($).add(e.fontSizeSM).equal()},[`${o}-submenu-vertical`]:{position:"relative"},[`${o}-submenu${o}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:m,backgroundColor:g,cursor:"not-allowed"}},[`${o}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[(0,y.oN)(e,"slide-up"),(0,y.oN)(e,"slide-down"),(0,x.Fm)(e,"move-up"),(0,x.Fm)(e,"move-down"),(0,B._y)(e,"zoom-big")]]};var T=(0,j.I$)("Dropdown",e=>{let{marginXXS:t,sizePopupArrow:o,paddingXXS:n,componentCls:i}=e,r=(0,E.TS)(e,{menuCls:`${i}-menu`,dropdownArrowDistance:e.calc(o).div(2).add(t).equal(),dropdownEdgeChildPadding:n});return[H(r),z(r)]},e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},(0,O.wZ)({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),(0,k.w)(e)),{resetStyle:!1});let N=e=>{let t;let{menu:o,arrow:r,prefixCls:p,children:S,trigger:w,disabled:y,dropdownRender:x,getPopupContainer:B,overlayClassName:O,rootClassName:k,overlayStyle:j,open:E,onOpenChange:z,visible:H,onVisibleChange:N,mouseEnterDelay:R=.15,mouseLeaveDelay:P=.1,autoAdjustOverflow:D=!0,placement:M="",overlay:A,transitionName:Z}=e,{getPopupContainer:W,getPrefixCls:L,direction:X,dropdown:q}=n.useContext(v.E_);(0,g.ln)("Dropdown");let _=n.useMemo(()=>{let e=L();return void 0!==Z?Z:M.includes("top")?`${e}-slide-down`:`${e}-slide-up`},[L,M,Z]),Y=n.useMemo(()=>M?M.includes("Center")?M.slice(0,M.indexOf("Center")):M:"rtl"===X?"bottomRight":"bottomLeft",[M,X]),G=L("dropdown",p),F=(0,f.Z)(G),[V,J,Q]=T(G,F),[,U]=(0,C.ZP)(),K=n.Children.only(S),ee=(0,$.Tm)(K,{className:l()(`${G}-trigger`,{[`${G}-rtl`]:"rtl"===X},K.props.className),disabled:y}),et=y?[]:w;et&&et.includes("contextMenu")&&(t=!0);let[eo,en]=(0,d.Z)(!1,{value:null!=E?E:H}),ei=(0,s.zX)(e=>{null==z||z(e,{source:"trigger"}),null==N||N(e),en(e)}),er=l()(O,k,J,Q,F,null==q?void 0:q.className,{[`${G}-rtl`]:"rtl"===X}),el=(0,m.Z)({arrowPointAtCenter:"object"==typeof r&&r.pointAtCenter,autoAdjustOverflow:D,offset:U.marginXXS,arrowWidth:r?U.sizePopupArrow:0,borderRadius:U.borderRadius}),ea=n.useCallback(()=>{null!=o&&o.selectable&&null!=o&&o.multiple||(null==z||z(!1,{source:"menu"}),en(!1))},[null==o?void 0:o.selectable,null==o?void 0:o.multiple]),[es,ed]=(0,u.Cn)("Dropdown",null==j?void 0:j.zIndex),ec=n.createElement(a.Z,Object.assign({alignPoint:t},(0,c.Z)(e,["rootClassName"]),{mouseEnterDelay:R,mouseLeaveDelay:P,visible:eo,builtinPlacements:el,arrow:!!r,overlayClassName:er,prefixCls:G,getPopupContainer:B||W,transitionName:_,trigger:et,overlay:()=>{let e;return e=(null==o?void 0:o.items)?n.createElement(h.Z,Object.assign({},o)):"function"==typeof A?A():A,x&&(e=x(e)),e=n.Children.only("string"==typeof e?n.createElement("span",null,e):e),n.createElement(I.J,{prefixCls:`${G}-menu`,rootClassName:l()(Q,F),expandIcon:n.createElement("span",{className:`${G}-menu-submenu-arrow`},n.createElement(i.Z,{className:`${G}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:ea,validator:e=>{let{mode:t}=e}},e)},placement:Y,onVisibleChange:ei,overlayStyle:Object.assign(Object.assign(Object.assign({},null==q?void 0:q.style),j),{zIndex:es})}),ee);return es&&(ec=n.createElement(b.Z.Provider,{value:ed},ec)),V(ec)},R=(0,p.Z)(N,"dropdown",e=>e,function(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})});N._InternalPanelDoNotUseOrYouWillBeFired=e=>n.createElement(R,Object.assign({},e),n.createElement("span",null));var P=N},76529:function(e,t,o){o.d(t,{J:function(){return s}});var n=o(67294),i=o(56790),r=o(4173),l=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(o[n[i]]=e[n[i]]);return o};let a=n.createContext(null),s=n.forwardRef((e,t)=>{let{children:o}=e,s=l(e,["children"]),d=n.useContext(a),c=n.useMemo(()=>Object.assign(Object.assign({},d),s),[d,s.prefixCls,s.mode,s.selectable,s.rootClassName]),u=(0,i.t4)(o),m=(0,i.x1)(t,u?o.ref:null);return n.createElement(a.Provider,{value:c},n.createElement(r.BR,null,u?n.cloneElement(o,{ref:m}):o))});t.Z=a},96077:function(e,t,o){o.d(t,{Z:function(){return F}});var n=o(67294),i=o(72512),r=o(93967),l=o.n(r);let a=n.createContext({});var s=o(89705),d=o(56790),c=o(98423),u=o(33603),m=o(96159),p=o(53124),$=o(35792),g=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(o[n[i]]=e[n[i]]);return o},b=e=>{let{prefixCls:t,className:o,dashed:r}=e,a=g(e,["prefixCls","className","dashed"]),{getPrefixCls:s}=n.useContext(p.E_),d=s("menu",t),c=l()({[`${d}-item-divider-dashed`]:!!r},o);return n.createElement(i.iz,Object.assign({className:c},a))};let v=(0,n.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var f=o(50344),h=o(83062),I=e=>{var t;let{className:o,children:r,icon:s,title:d,danger:u}=e,{prefixCls:p,firstLevel:$,direction:g,disableMenuItemTitleTooltip:b,inlineCollapsed:I}=n.useContext(v),{siderCollapsed:C}=n.useContext(a),S=d;void 0===d?S=$?r:"":!1===d&&(S="");let w={title:S};C||I||(w.title=null,w.open=!1);let y=(0,f.Z)(r).length,x=n.createElement(i.ck,Object.assign({},(0,c.Z)(e,["title","icon","danger"]),{className:l()({[`${p}-item-danger`]:u,[`${p}-item-only-child`]:(s?y+1:y)===1},o),title:"string"==typeof d?d:void 0}),(0,m.Tm)(s,{className:l()(n.isValidElement(s)?null===(t=s.props)||void 0===t?void 0:t.className:"",`${p}-item-icon`)}),(e=>{let t=n.createElement("span",{className:`${p}-title-content`},r);return(!s||n.isValidElement(r)&&"span"===r.type)&&r&&e&&$&&"string"==typeof r?n.createElement("div",{className:`${p}-inline-collapsed-noicon`},r.charAt(0)):t})(I));return b||(x=n.createElement(h.Z,Object.assign({},w,{placement:"rtl"===g?"left":"right",overlayClassName:`${p}-inline-collapsed-tooltip`}),x)),x},C=o(76529),S=o(89442),w=o(10274),y=o(14747),x=o(33507),B=o(67771),O=o(50438),k=o(27036),j=o(45503),E=e=>{let{componentCls:t,motionDurationSlow:o,horizontalLineHeight:n,colorSplit:i,lineWidth:r,lineType:l,itemPaddingInline:a}=e;return{[`${t}-horizontal`]:{lineHeight:n,border:0,borderBottom:`${(0,S.bf)(r)} ${l} ${i}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:a},[`> ${t}-item:hover,
        > ${t}-item-active,
        > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:`border-color ${o},background ${o}`},[`${t}-submenu-arrow`]:{display:"none"}}}},z=e=>{let{componentCls:t,menuArrowOffset:o,calc:n}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical,
    ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,S.bf)(n(o).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,S.bf)(o)})`}}}}};let H=e=>Object.assign({},(0,y.oN)(e));var T=(e,t)=>{let{componentCls:o,itemColor:n,itemSelectedColor:i,groupTitleColor:r,itemBg:l,subMenuItemBg:a,itemSelectedBg:s,activeBarHeight:d,activeBarWidth:c,activeBarBorderWidth:u,motionDurationSlow:m,motionEaseInOut:p,motionEaseOut:$,itemPaddingInline:g,motionDurationMid:b,itemHoverColor:v,lineType:f,colorSplit:h,itemDisabledColor:I,dangerItemColor:C,dangerItemHoverColor:w,dangerItemSelectedColor:y,dangerItemActiveBg:x,dangerItemSelectedBg:B,popupBg:O,itemHoverBg:k,itemActiveBg:j,menuSubMenuBg:E,horizontalItemSelectedColor:z,horizontalItemSelectedBg:T,horizontalItemBorderRadius:N,horizontalItemHoverBg:R}=e;return{[`${o}-${t}, ${o}-${t} > ${o}`]:{color:n,background:l,[`&${o}-root:focus-visible`]:Object.assign({},H(e)),[`${o}-item-group-title`]:{color:r},[`${o}-submenu-selected`]:{[`> ${o}-submenu-title`]:{color:i}},[`${o}-item, ${o}-submenu-title`]:{color:n,[`&:not(${o}-item-disabled):focus-visible`]:Object.assign({},H(e))},[`${o}-item-disabled, ${o}-submenu-disabled`]:{color:`${I} !important`},[`${o}-item:not(${o}-item-selected):not(${o}-submenu-selected)`]:{[`&:hover, > ${o}-submenu-title:hover`]:{color:v}},[`&:not(${o}-horizontal)`]:{[`${o}-item:not(${o}-item-selected)`]:{"&:hover":{backgroundColor:k},"&:active":{backgroundColor:j}},[`${o}-submenu-title`]:{"&:hover":{backgroundColor:k},"&:active":{backgroundColor:j}}},[`${o}-item-danger`]:{color:C,[`&${o}-item:hover`]:{[`&:not(${o}-item-selected):not(${o}-submenu-selected)`]:{color:w}},[`&${o}-item:active`]:{background:x}},[`${o}-item a`]:{"&, &:hover":{color:"inherit"}},[`${o}-item-selected`]:{color:i,[`&${o}-item-danger`]:{color:y},"a, a:hover":{color:"inherit"}},[`& ${o}-item-selected`]:{backgroundColor:s,[`&${o}-item-danger`]:{backgroundColor:B}},[`&${o}-submenu > ${o}`]:{backgroundColor:E},[`&${o}-popup > ${o}`]:{backgroundColor:O},[`&${o}-submenu-popup > ${o}`]:{backgroundColor:O},[`&${o}-horizontal`]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{[`> ${o}-item, > ${o}-submenu`]:{top:u,marginTop:e.calc(u).mul(-1).equal(),marginBottom:0,borderRadius:N,"&::after":{position:"absolute",insetInline:g,bottom:0,borderBottom:`${(0,S.bf)(d)} solid transparent`,transition:`border-color ${m} ${p}`,content:'""'},"&:hover, &-active, &-open":{background:R,"&::after":{borderBottomWidth:d,borderBottomColor:z}},"&-selected":{color:z,backgroundColor:T,"&:hover":{backgroundColor:T},"&::after":{borderBottomWidth:d,borderBottomColor:z}}}}),[`&${o}-root`]:{[`&${o}-inline, &${o}-vertical`]:{borderInlineEnd:`${(0,S.bf)(u)} ${f} ${h}`}},[`&${o}-inline`]:{[`${o}-sub${o}-inline`]:{background:a},[`${o}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,S.bf)(c)} solid ${i}`,transform:"scaleY(0.0001)",opacity:0,transition:`transform ${b} ${$},opacity ${b} ${$}`,content:'""'},[`&${o}-item-danger`]:{"&::after":{borderInlineEndColor:y}}},[`${o}-selected, ${o}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:`transform ${b} ${p},opacity ${b} ${p}`}}}}}};let N=e=>{let{componentCls:t,itemHeight:o,itemMarginInline:n,padding:i,menuArrowSize:r,marginXS:l,itemMarginBlock:a,itemWidth:s}=e,d=e.calc(r).add(i).add(l).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:o,lineHeight:(0,S.bf)(o),paddingInline:i,overflow:"hidden",textOverflow:"ellipsis",marginInline:n,marginBlock:a,width:s},[`> ${t}-item,
            > ${t}-submenu > ${t}-submenu-title`]:{height:o,lineHeight:(0,S.bf)(o)},[`${t}-item-group-list ${t}-submenu-title,
            ${t}-submenu-title`]:{paddingInlineEnd:d}}};var R=e=>{let{componentCls:t,iconCls:o,itemHeight:n,colorTextLightSolid:i,dropdownWidth:r,controlHeightLG:l,motionDurationMid:a,motionEaseOut:s,paddingXL:d,itemMarginInline:c,fontSizeLG:u,motionDurationSlow:m,paddingXS:p,boxShadowSecondary:$,collapsedWidth:g,collapsedIconSize:b}=e,v={height:n,lineHeight:(0,S.bf)(n),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},N(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},N(e)),{boxShadow:$})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:r,maxHeight:`calc(100vh - ${(0,S.bf)(e.calc(l).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:`border-color ${m},background ${m},padding ${a} ${s},padding-inline calc(50% - ${(0,S.bf)(e.calc(u).div(2).equal())} - ${(0,S.bf)(c)})`,[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:v,[`& ${t}-item-group-title`]:{paddingInlineStart:d}},[`${t}-item`]:v}},{[`${t}-inline-collapsed`]:{width:g,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:u,textAlign:"center"}}},[`> ${t}-item,
          > ${t}-item-group > ${t}-item-group-list > ${t}-item,
          > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,
          > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,S.bf)(e.calc(u).div(2).equal())} - ${(0,S.bf)(c)})`,textOverflow:"clip",[`
            ${t}-submenu-arrow,
            ${t}-submenu-expand-icon
          `]:{opacity:0},[`${t}-item-icon, ${o}`]:{margin:0,fontSize:b,lineHeight:(0,S.bf)(n),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${o}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${o}`]:{display:"none"},"a, a:hover":{color:i}},[`${t}-item-group-title`]:Object.assign(Object.assign({},y.vS),{paddingInline:p})}}]};let P=e=>{let{componentCls:t,motionDurationSlow:o,motionDurationMid:n,motionEaseInOut:i,motionEaseOut:r,iconCls:l,iconSize:a,iconMarginInlineEnd:s}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:`border-color ${o},background ${o},padding ${o} ${i}`,[`${t}-item-icon, ${l}`]:{minWidth:a,fontSize:a,transition:`font-size ${n} ${r},margin ${o} ${i},color ${o}`,"+ span":{marginInlineStart:s,opacity:1,transition:`opacity ${o} ${i},margin ${o},color ${o}`}},[`${t}-item-icon`]:Object.assign({},(0,y.Ro)()),[`&${t}-item-only-child`]:{[`> ${l}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},D=e=>{let{componentCls:t,motionDurationSlow:o,motionEaseInOut:n,borderRadius:i,menuArrowSize:r,menuArrowOffset:l}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:r,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${o} ${n}, opacity ${o}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(r).mul(.6).equal(),height:e.calc(r).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:i,transition:`background ${o} ${n},transform ${o} ${n},top ${o} ${n},color ${o} ${n}`,content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,S.bf)(e.calc(l).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,S.bf)(l)})`}}}}},M=e=>{let{antCls:t,componentCls:o,fontSize:n,motionDurationSlow:i,motionDurationMid:r,motionEaseInOut:l,paddingXS:a,padding:s,colorSplit:d,lineWidth:c,zIndexPopup:u,borderRadiusLG:m,subMenuItemBorderRadius:p,menuArrowSize:$,menuArrowOffset:g,lineType:b,groupTitleLineHeight:v,groupTitleFontSize:f}=e;return[{"":{[`${o}`]:Object.assign(Object.assign({},(0,y.dF)()),{"&-hidden":{display:"none"}})},[`${o}-submenu-hidden`]:{display:"none"}},{[o]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,y.Wf)(e)),(0,y.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:n,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${i} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${o}-item`]:{flex:"none"}},[`${o}-item, ${o}-submenu, ${o}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${o}-item-group-title`]:{padding:`${(0,S.bf)(a)} ${(0,S.bf)(s)}`,fontSize:f,lineHeight:v,transition:`all ${i}`},[`&-horizontal ${o}-submenu`]:{transition:`border-color ${i} ${l},background ${i} ${l}`},[`${o}-submenu, ${o}-submenu-inline`]:{transition:`border-color ${i} ${l},background ${i} ${l},padding ${r} ${l}`},[`${o}-submenu ${o}-sub`]:{cursor:"initial",transition:`background ${i} ${l},padding ${i} ${l}`},[`${o}-title-content`]:{transition:`color ${i}`,[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${o}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${o}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:d,borderStyle:b,borderWidth:0,borderTopWidth:c,marginBlock:c,padding:0,"&-dashed":{borderStyle:"dashed"}}}),P(e)),{[`${o}-item-group`]:{[`${o}-item-group-list`]:{margin:0,padding:0,[`${o}-item, ${o}-submenu-title`]:{paddingInline:`${(0,S.bf)(e.calc(n).mul(2).equal())} ${(0,S.bf)(s)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:u,borderRadius:m,boxShadow:"none",transformOrigin:"0 0",[`&${o}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${o}`]:Object.assign(Object.assign(Object.assign({borderRadius:m},P(e)),D(e)),{[`${o}-item, ${o}-submenu > ${o}-submenu-title`]:{borderRadius:p},[`${o}-submenu-title::after`]:{transition:`transform ${i} ${l}`}})},[`
          &-placement-leftTop,
          &-placement-bottomRight,
          `]:{transformOrigin:"100% 0"},[`
          &-placement-leftBottom,
          &-placement-topRight,
          `]:{transformOrigin:"100% 100%"},[`
          &-placement-rightBottom,
          &-placement-topLeft,
          `]:{transformOrigin:"0 100%"},[`
          &-placement-bottomLeft,
          &-placement-rightTop,
          `]:{transformOrigin:"0 0"},[`
          &-placement-leftTop,
          &-placement-leftBottom
          `]:{paddingInlineEnd:e.paddingXS},[`
          &-placement-rightTop,
          &-placement-rightBottom
          `]:{paddingInlineStart:e.paddingXS},[`
          &-placement-topRight,
          &-placement-topLeft
          `]:{paddingBottom:e.paddingXS},[`
          &-placement-bottomRight,
          &-placement-bottomLeft
          `]:{paddingTop:e.paddingXS}}}),D(e)),{[`&-inline-collapsed ${o}-submenu-arrow,
        &-inline ${o}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,S.bf)(g)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,S.bf)(e.calc(g).mul(-1).equal())})`}},[`${o}-submenu-open${o}-submenu-inline > ${o}-submenu-title > ${o}-submenu-arrow`]:{transform:`translateY(${(0,S.bf)(e.calc($).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,S.bf)(e.calc(g).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,S.bf)(g)})`}}})},{[`${t}-layout-header`]:{[o]:{lineHeight:"inherit"}}}]},A=e=>{var t,o,n;let{colorPrimary:i,colorError:r,colorTextDisabled:l,colorErrorBg:a,colorText:s,colorTextDescription:d,colorBgContainer:c,colorFillAlter:u,colorFillContent:m,lineWidth:p,lineWidthBold:$,controlItemBgActive:g,colorBgTextHover:b,controlHeightLG:v,lineHeight:f,colorBgElevated:h,marginXXS:I,padding:C,fontSize:S,controlHeightSM:y,fontSizeLG:x,colorTextLightSolid:B,colorErrorHover:O}=e,k=null!==(t=e.activeBarWidth)&&void 0!==t?t:0,j=null!==(o=e.activeBarBorderWidth)&&void 0!==o?o:p,E=null!==(n=e.itemMarginInline)&&void 0!==n?n:e.marginXXS,z=new w.C(B).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:s,itemColor:s,colorItemTextHover:s,itemHoverColor:s,colorItemTextHoverHorizontal:i,horizontalItemHoverColor:i,colorGroupTitle:d,groupTitleColor:d,colorItemTextSelected:i,itemSelectedColor:i,colorItemTextSelectedHorizontal:i,horizontalItemSelectedColor:i,colorItemBg:c,itemBg:c,colorItemBgHover:b,itemHoverBg:b,colorItemBgActive:m,itemActiveBg:g,colorSubItemBg:u,subMenuItemBg:u,colorItemBgSelected:g,itemSelectedBg:g,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:k,colorActiveBarHeight:$,activeBarHeight:$,colorActiveBarBorderSize:p,activeBarBorderWidth:j,colorItemTextDisabled:l,itemDisabledColor:l,colorDangerItemText:r,dangerItemColor:r,colorDangerItemTextHover:r,dangerItemHoverColor:r,colorDangerItemTextSelected:r,dangerItemSelectedColor:r,colorDangerItemBgActive:a,dangerItemActiveBg:a,colorDangerItemBgSelected:a,dangerItemSelectedBg:a,itemMarginInline:E,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:v,groupTitleLineHeight:f,collapsedWidth:2*v,popupBg:h,itemMarginBlock:I,itemPaddingInline:C,horizontalLineHeight:`${1.15*v}px`,iconSize:S,iconMarginInlineEnd:y-S,collapsedIconSize:x,groupTitleFontSize:S,darkItemDisabledColor:new w.C(B).setAlpha(.25).toRgbString(),darkItemColor:z,darkDangerItemColor:r,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:B,darkItemSelectedBg:i,darkDangerItemSelectedBg:r,darkItemHoverBg:"transparent",darkGroupTitleColor:z,darkItemHoverColor:B,darkDangerItemHoverColor:O,darkDangerItemSelectedColor:B,darkDangerItemActiveBg:r,itemWidth:k?`calc(100% + ${j}px)`:`calc(100% - ${2*E}px)`}};var Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=!(arguments.length>2)||void 0===arguments[2]||arguments[2],n=(0,k.I$)("Menu",e=>{let{colorBgElevated:t,controlHeightLG:o,fontSize:n,darkItemColor:i,darkDangerItemColor:r,darkItemBg:l,darkSubMenuItemBg:a,darkItemSelectedColor:s,darkItemSelectedBg:d,darkDangerItemSelectedBg:c,darkItemHoverBg:u,darkGroupTitleColor:m,darkItemHoverColor:p,darkItemDisabledColor:$,darkDangerItemHoverColor:g,darkDangerItemSelectedColor:b,darkDangerItemActiveBg:v,popupBg:f,darkPopupBg:h}=e,I=e.calc(n).div(7).mul(5).equal(),C=(0,j.TS)(e,{menuArrowSize:I,menuHorizontalHeight:e.calc(o).mul(1.15).equal(),menuArrowOffset:e.calc(I).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:f}),S=(0,j.TS)(C,{itemColor:i,itemHoverColor:p,groupTitleColor:m,itemSelectedColor:s,itemBg:l,popupBg:h,subMenuItemBg:a,itemActiveBg:"transparent",itemSelectedBg:d,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:u,itemDisabledColor:$,dangerItemColor:r,dangerItemHoverColor:g,dangerItemSelectedColor:b,dangerItemActiveBg:v,dangerItemSelectedBg:c,menuSubMenuBg:a,horizontalItemSelectedColor:s,horizontalItemSelectedBg:d});return[M(C),E(C),R(C),T(C,"light"),T(S,"dark"),z(C),(0,x.Z)(C),(0,B.oN)(C,"slide-up"),(0,B.oN)(C,"slide-down"),(0,O._y)(C,"zoom-big")]},A,{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"]],injectStyle:o,unitless:{groupTitleLineHeight:!0}});return n(e,t)},W=o(87263),L=e=>{var t;let o;let{popupClassName:r,icon:a,title:s,theme:d}=e,u=n.useContext(v),{prefixCls:p,inlineCollapsed:$,theme:g}=u,b=(0,i.Xl)();if(a){let e=n.isValidElement(s)&&"span"===s.type;o=n.createElement(n.Fragment,null,(0,m.Tm)(a,{className:l()(n.isValidElement(a)?null===(t=a.props)||void 0===t?void 0:t.className:"",`${p}-item-icon`)}),e?s:n.createElement("span",{className:`${p}-title-content`},s))}else o=$&&!b.length&&s&&"string"==typeof s?n.createElement("div",{className:`${p}-inline-collapsed-noicon`},s.charAt(0)):n.createElement("span",{className:`${p}-title-content`},s);let f=n.useMemo(()=>Object.assign(Object.assign({},u),{firstLevel:!1}),[u]),[h]=(0,W.Cn)("Menu");return n.createElement(v.Provider,{value:f},n.createElement(i.Wd,Object.assign({},(0,c.Z)(e,["icon"]),{title:o,popupClassName:l()(p,r,`${p}-${d||g}`),popupStyle:{zIndex:h}})))},X=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(o[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(o[n[i]]=e[n[i]]);return o};function q(e){return null===e||!1===e}let _={item:I,submenu:L,divider:b},Y=(0,n.forwardRef)((e,t)=>{var o;let r=n.useContext(C.Z),a=r||{},{getPrefixCls:g,getPopupContainer:b,direction:f,menu:h}=n.useContext(p.E_),I=g(),{prefixCls:S,className:w,style:y,theme:x="light",expandIcon:B,_internalDisableMenuItemTitleTooltip:O,inlineCollapsed:k,siderCollapsed:j,rootClassName:E,mode:z,selectable:H,onClick:T,overflowedIndicatorPopupClassName:N}=e,R=X(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),P=(0,c.Z)(R,["collapsedWidth"]);null===(o=a.validator)||void 0===o||o.call(a,{mode:z});let D=(0,d.zX)(function(){var e;null==T||T.apply(void 0,arguments),null===(e=a.onClick)||void 0===e||e.call(a)}),M=a.mode||z,A=null!=H?H:a.selectable,W=n.useMemo(()=>void 0!==j?j:k,[k,j]),L={horizontal:{motionName:`${I}-slide-up`},inline:(0,u.Z)(I),other:{motionName:`${I}-zoom-big`}},Y=g("menu",S||a.prefixCls),G=(0,$.Z)(Y),[F,V,J]=Z(Y,G,!r),Q=l()(`${Y}-${x}`,null==h?void 0:h.className,w),U=n.useMemo(()=>{var e,t;if("function"==typeof B||q(B))return B||null;if("function"==typeof a.expandIcon||q(a.expandIcon))return a.expandIcon||null;if("function"==typeof(null==h?void 0:h.expandIcon)||q(null==h?void 0:h.expandIcon))return(null==h?void 0:h.expandIcon)||null;let o=null!==(e=null!=B?B:null==a?void 0:a.expandIcon)&&void 0!==e?e:null==h?void 0:h.expandIcon;return(0,m.Tm)(o,{className:l()(`${Y}-submenu-expand-icon`,n.isValidElement(o)?null===(t=o.props)||void 0===t?void 0:t.className:void 0)})},[B,null==a?void 0:a.expandIcon,null==h?void 0:h.expandIcon,Y]),K=n.useMemo(()=>({prefixCls:Y,inlineCollapsed:W||!1,direction:f,firstLevel:!0,theme:x,mode:M,disableMenuItemTitleTooltip:O}),[Y,W,f,O,x]);return F(n.createElement(C.Z.Provider,{value:null},n.createElement(v.Provider,{value:K},n.createElement(i.ZP,Object.assign({getPopupContainer:b,overflowedIndicator:n.createElement(s.Z,null),overflowedIndicatorPopupClassName:l()(Y,`${Y}-${x}`,N),mode:M,selectable:A,onClick:D},P,{inlineCollapsed:W,style:Object.assign(Object.assign({},null==h?void 0:h.style),y),className:Q,prefixCls:Y,direction:f,defaultMotions:L,expandIcon:U,ref:t,rootClassName:l()(E,V,a.rootClassName,J,G),_internalComponents:_})))))}),G=(0,n.forwardRef)((e,t)=>{let o=(0,n.useRef)(null),i=n.useContext(a);return(0,n.useImperativeHandle)(t,()=>({menu:o.current,focus:e=>{var t;null===(t=o.current)||void 0===t||t.focus(e)}})),n.createElement(Y,Object.assign({ref:o},e,i))});G.Item=I,G.SubMenu=L,G.Divider=b,G.ItemGroup=i.BW;var F=G}}]);