vdi/web-fe/serve/dist/28.async.js

28 lines
48 KiB
JavaScript

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[28],{9028:function(ot,ie,r){r.d(ie,{Z:function(){return x}});var o=r(67294),G=r(6171),ve=r(90814),ye=r(93967),U=r.n(ye),N=r(87462),j=r(4942),w=r(97685),E=r(91),y=r(40228),B=r(42550),le=r(15105),fe=r(75164),k=le.Z.ESC,we=le.Z.TAB;function Re(t){var d=t.visible,a=t.triggerRef,u=t.onVisibleChange,$=t.autoFocus,f=t.overlayRef,c=o.useRef(!1),S=function(){if(d){var O,M;(O=a.current)===null||O===void 0||(M=O.focus)===null||M===void 0||M.call(O),u==null||u(!1)}},X=function(){var O;return(O=f.current)!==null&&O!==void 0&&O.focus?(f.current.focus(),c.current=!0,!0):!1},F=function(O){switch(O.keyCode){case k:S();break;case we:{var M=!1;c.current||(M=X()),M?O.preventDefault():S();break}}};o.useEffect(function(){return d?(window.addEventListener("keydown",F),$&&(0,fe.Z)(X,3),function(){window.removeEventListener("keydown",F),c.current=!1}):function(){c.current=!1}},[d])}var ue=(0,o.forwardRef)(function(t,d){var a=t.overlay,u=t.arrow,$=t.prefixCls,f=(0,o.useMemo)(function(){var S;return typeof a=="function"?S=a():S=a,S},[a]),c=(0,B.sQ)(d,(0,B.C4)(f));return o.createElement(o.Fragment,null,u&&o.createElement("div",{className:"".concat($,"-arrow")}),o.cloneElement(f,{ref:(0,B.Yr)(f)?c:void 0}))}),P=ue,_={adjustX:1,adjustY:1},Z=[0,0],L={topLeft:{points:["bl","tl"],overflow:_,offset:[0,-4],targetOffset:Z},top:{points:["bc","tc"],overflow:_,offset:[0,-4],targetOffset:Z},topRight:{points:["br","tr"],overflow:_,offset:[0,-4],targetOffset:Z},bottomLeft:{points:["tl","bl"],overflow:_,offset:[0,4],targetOffset:Z},bottom:{points:["tc","bc"],overflow:_,offset:[0,4],targetOffset:Z},bottomRight:{points:["tr","br"],overflow:_,offset:[0,4],targetOffset:Z}},ee=L,h=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Fe(t,d){var a,u=t.arrow,$=u===void 0?!1:u,f=t.prefixCls,c=f===void 0?"rc-dropdown":f,S=t.transitionName,X=t.animation,F=t.align,C=t.placement,O=C===void 0?"bottomLeft":C,M=t.placements,W=M===void 0?ee:M,J=t.getPopupContainer,I=t.showAction,xe=t.hideAction,Oe=t.overlayClassName,Le=t.overlayStyle,We=t.visible,Ye=t.trigger,de=Ye===void 0?["hover"]:Ye,Ze=t.autoFocus,pe=t.overlay,q=t.children,Ee=t.onVisibleChange,dt=(0,E.Z)(t,h),_e=o.useState(),He=(0,w.Z)(_e,2),Me=He[0],et=He[1],rt="visible"in t?We:Me,it=o.useRef(null),lt=o.useRef(null),ce=o.useRef(null);o.useImperativeHandle(d,function(){return it.current});var Ke=function(Ce){et(Ce),Ee==null||Ee(Ce)};Re({visible:rt,triggerRef:ce,onVisibleChange:Ke,autoFocus:Ze,overlayRef:lt});var at=function(Ce){var Xe=t.onOverlayClick;et(!1),Xe&&Xe(Ce)},st=function(){return o.createElement(P,{ref:lt,overlay:pe,prefixCls:c,arrow:$})},ct=function(){return typeof pe=="function"?st:st()},Be=function(){var Ce=t.minOverlayWidthMatchTrigger,Xe=t.alignPoint;return"minOverlayWidthMatchTrigger"in t?Ce:!Xe},tt=function(){var Ce=t.openClassName;return Ce!==void 0?Ce:"".concat(c,"-open")},ut=o.cloneElement(q,{className:U()((a=q.props)===null||a===void 0?void 0:a.className,rt&&tt()),ref:(0,B.Yr)(q)?(0,B.sQ)(ce,(0,B.C4)(q)):void 0}),je=xe;return!je&&de.indexOf("contextMenu")!==-1&&(je=["click"]),o.createElement(y.Z,(0,N.Z)({builtinPlacements:W},dt,{prefixCls:c,ref:it,popupClassName:U()(Oe,(0,j.Z)({},"".concat(c,"-show-arrow"),$)),popupStyle:Le,action:de,showAction:I,hideAction:je,popupPlacement:O,popupAlign:F,popupTransitionName:S,popupAnimation:X,popupVisible:rt,stretch:Be()?"minWidth":"",popup:ct(),onPopupVisibleChange:Ke,onPopupClick:at,getPopupContainer:J}),ut)}var be=o.forwardRef(Fe),Qe=be,Je=r(66680),Pe=r(21770),b=r(98423),D=r(87263),V=t=>typeof t!="object"&&typeof t!="function"||t===null,Y=r(80636),ze=r(8745),Se=r(96159),De=r(27288),Te=r(43945),ge=r(53124),$e=r(35792),Ae=r(50136),te=r(76529),he=r(15729),K=r(11568),ae=r(14747),ne=r(67771),Ge=r(33297),Ue=r(50438),re=r(97414),se=r(79511),Ne=r(83559),ke=r(83262),qe=t=>{const{componentCls:d,menuCls:a,colorError:u,colorTextLightSolid:$}=t,f=`${a}-item`;return{[`${d}, ${d}-menu-submenu`]:{[`${a} ${f}`]:{[`&${f}-danger:not(${f}-disabled)`]:{color:u,"&:hover":{color:$,backgroundColor:u}}}}}};const Ie=t=>{const{componentCls:d,menuCls:a,zIndexPopup:u,dropdownArrowDistance:$,sizePopupArrow:f,antCls:c,iconCls:S,motionDurationMid:X,paddingBlock:F,fontSize:C,dropdownEdgeChildPadding:O,colorTextDisabled:M,fontSizeIcon:W,controlPaddingHorizontal:J,colorBgElevated:I}=t;return[{[d]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:u,display:"block","&::before":{position:"absolute",insetBlock:t.calc(f).div(2).sub($).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${c}-btn`]:{[`& > ${S}-down, & > ${c}-btn-icon > ${S}-down`]:{fontSize:W}},[`${d}-wrap`]:{position:"relative",[`${c}-btn > ${S}-down`]:{fontSize:W},[`${S}-down::before`]:{transition:`transform ${X}`}},[`${d}-wrap-open`]:{[`${S}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${c}-slide-down-enter${c}-slide-down-enter-active${d}-placement-bottomLeft,
&${c}-slide-down-appear${c}-slide-down-appear-active${d}-placement-bottomLeft,
&${c}-slide-down-enter${c}-slide-down-enter-active${d}-placement-bottom,
&${c}-slide-down-appear${c}-slide-down-appear-active${d}-placement-bottom,
&${c}-slide-down-enter${c}-slide-down-enter-active${d}-placement-bottomRight,
&${c}-slide-down-appear${c}-slide-down-appear-active${d}-placement-bottomRight`]:{animationName:ne.fJ},[`&${c}-slide-up-enter${c}-slide-up-enter-active${d}-placement-topLeft,
&${c}-slide-up-appear${c}-slide-up-appear-active${d}-placement-topLeft,
&${c}-slide-up-enter${c}-slide-up-enter-active${d}-placement-top,
&${c}-slide-up-appear${c}-slide-up-appear-active${d}-placement-top,
&${c}-slide-up-enter${c}-slide-up-enter-active${d}-placement-topRight,
&${c}-slide-up-appear${c}-slide-up-appear-active${d}-placement-topRight`]:{animationName:ne.Qt},[`&${c}-slide-down-leave${c}-slide-down-leave-active${d}-placement-bottomLeft,
&${c}-slide-down-leave${c}-slide-down-leave-active${d}-placement-bottom,
&${c}-slide-down-leave${c}-slide-down-leave-active${d}-placement-bottomRight`]:{animationName:ne.Uw},[`&${c}-slide-up-leave${c}-slide-up-leave-active${d}-placement-topLeft,
&${c}-slide-up-leave${c}-slide-up-leave-active${d}-placement-top,
&${c}-slide-up-leave${c}-slide-up-leave-active${d}-placement-topRight`]:{animationName:ne.ly}}},(0,re.ZP)(t,I,{arrowPlacement:{top:!0,bottom:!0}}),{[`${d} ${a}`]:{position:"relative",margin:0},[`${a}-submenu-popup`]:{position:"absolute",zIndex:u,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${d}, ${d}-menu-submenu`]:Object.assign(Object.assign({},(0,ae.Wf)(t)),{[a]:Object.assign(Object.assign({padding:O,listStyleType:"none",backgroundColor:I,backgroundClip:"padding-box",borderRadius:t.borderRadiusLG,outline:"none",boxShadow:t.boxShadowSecondary},(0,ae.Qy)(t)),{"&:empty":{padding:0,boxShadow:"none"},[`${a}-item-group-title`]:{padding:`${(0,K.bf)(F)} ${(0,K.bf)(J)}`,color:t.colorTextDescription,transition:`all ${X}`},[`${a}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${a}-item-icon`]:{minWidth:C,marginInlineEnd:t.marginXS,fontSize:t.fontSizeSM},[`${a}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${X}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${a}-item-extra`]:{paddingInlineStart:t.padding,marginInlineStart:"auto",fontSize:t.fontSizeSM,color:t.colorTextDescription}},[`${a}-item, ${a}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,K.bf)(F)} ${(0,K.bf)(J)}`,color:t.colorText,fontWeight:"normal",fontSize:C,lineHeight:t.lineHeight,cursor:"pointer",transition:`all ${X}`,borderRadius:t.borderRadiusSM,"&:hover, &-active":{backgroundColor:t.controlItemBgHover}},(0,ae.Qy)(t)),{"&-selected":{color:t.colorPrimary,backgroundColor:t.controlItemBgActive,"&:hover, &-active":{backgroundColor:t.controlItemBgActiveHover}},"&-disabled":{color:M,cursor:"not-allowed","&:hover":{color:M,backgroundColor:I,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,K.bf)(t.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:t.colorSplit},[`${d}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:t.paddingXS,[`${d}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:t.colorIcon,fontSize:W,fontStyle:"normal"}}}),[`${a}-item-group-list`]:{margin:`0 ${(0,K.bf)(t.marginXS)}`,padding:0,listStyle:"none"},[`${a}-submenu-title`]:{paddingInlineEnd:t.calc(J).add(t.fontSizeSM).equal()},[`${a}-submenu-vertical`]:{position:"relative"},[`${a}-submenu${a}-submenu-disabled ${d}-menu-submenu-title`]:{[`&, ${d}-menu-submenu-arrow-icon`]:{color:M,backgroundColor:I,cursor:"not-allowed"}},[`${a}-submenu-selected ${d}-menu-submenu-title`]:{color:t.colorPrimary}})})},[(0,ne.oN)(t,"slide-up"),(0,ne.oN)(t,"slide-down"),(0,Ge.Fm)(t,"move-up"),(0,Ge.Fm)(t,"move-down"),(0,Ue._y)(t,"zoom-big")]]},Q=t=>Object.assign(Object.assign({zIndexPopup:t.zIndexPopupBase+50,paddingBlock:(t.controlHeight-t.fontSize*t.lineHeight)/2},(0,re.wZ)({contentRadius:t.borderRadiusLG,limitVerticalRadius:!0})),(0,se.w)(t));var i=(0,Ne.I$)("Dropdown",t=>{const{marginXXS:d,sizePopupArrow:a,paddingXXS:u,componentCls:$}=t,f=(0,ke.IX)(t,{menuCls:`${$}-menu`,dropdownArrowDistance:t.calc(a).div(2).add(d).equal(),dropdownEdgeChildPadding:u});return[Ie(f),qe(f)]},Q,{resetStyle:!1});const n=null,e=t=>{var d;const{menu:a,arrow:u,prefixCls:$,children:f,trigger:c,disabled:S,dropdownRender:X,popupRender:F,getPopupContainer:C,overlayClassName:O,rootClassName:M,overlayStyle:W,open:J,onOpenChange:I,visible:xe,onVisibleChange:Oe,mouseEnterDelay:Le=.15,mouseLeaveDelay:We=.1,autoAdjustOverflow:Ye=!0,placement:de="",overlay:Ze,transitionName:pe,destroyOnHidden:q,destroyPopupOnHide:Ee}=t,{getPopupContainer:dt,getPrefixCls:_e,direction:He,dropdown:Me}=o.useContext(ge.E_),et=F||X,rt=(0,De.ln)("Dropdown"),it=o.useMemo(()=>{const oe=_e();return pe!==void 0?pe:de.includes("top")?`${oe}-slide-down`:`${oe}-slide-up`},[_e,de,pe]),lt=o.useMemo(()=>de?de.includes("Center")?de.slice(0,de.indexOf("Center")):de:He==="rtl"?"bottomRight":"bottomLeft",[de,He]),ce=_e("dropdown",$),Ke=(0,$e.Z)(ce),[at,st,ct]=i(ce,Ke),[,Be]=(0,he.ZP)(),tt=o.Children.only(V(f)?o.createElement("span",null,f):f),ut=(0,Se.Tm)(tt,{className:U()(`${ce}-trigger`,{[`${ce}-rtl`]:He==="rtl"},tt.props.className),disabled:(d=tt.props.disabled)!==null&&d!==void 0?d:S}),je=S?[]:c,Ve=!!(je!=null&&je.includes("contextMenu")),[Ce,Xe]=(0,Pe.Z)(!1,{value:J!=null?J:xe}),mt=(0,Je.Z)(oe=>{I==null||I(oe,{source:"trigger"}),Oe==null||Oe(oe),Xe(oe)}),gt=U()(O,M,st,ct,Ke,Me==null?void 0:Me.className,{[`${ce}-rtl`]:He==="rtl"}),ft=(0,Y.Z)({arrowPointAtCenter:typeof u=="object"&&u.pointAtCenter,autoAdjustOverflow:Ye,offset:Be.marginXXS,arrowWidth:u?Be.sizePopupArrow:0,borderRadius:Be.borderRadius}),bt=o.useCallback(()=>{a!=null&&a.selectable&&(a!=null&&a.multiple)||(I==null||I(!1,{source:"menu"}),Xe(!1))},[a==null?void 0:a.selectable,a==null?void 0:a.multiple]),$t=()=>{let oe;return a!=null&&a.items?oe=o.createElement(Ae.Z,Object.assign({},a)):typeof Ze=="function"?oe=Ze():oe=Ze,et&&(oe=et(oe)),oe=o.Children.only(typeof oe=="string"?o.createElement("span",null,oe):oe),o.createElement(te.J,{prefixCls:`${ce}-menu`,rootClassName:U()(ct,Ke),expandIcon:o.createElement("span",{className:`${ce}-menu-submenu-arrow`},He==="rtl"?o.createElement(G.Z,{className:`${ce}-menu-submenu-arrow-icon`}):o.createElement(ve.Z,{className:`${ce}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:bt,validator:({mode:Ct})=>{}},oe)},[vt,ht]=(0,D.Cn)("Dropdown",W==null?void 0:W.zIndex);let pt=o.createElement(Qe,Object.assign({alignPoint:Ve},(0,b.Z)(t,["rootClassName"]),{mouseEnterDelay:Le,mouseLeaveDelay:We,visible:Ce,builtinPlacements:ft,arrow:!!u,overlayClassName:gt,prefixCls:ce,getPopupContainer:C||dt,transitionName:it,trigger:je,overlay:$t,placement:lt,onVisibleChange:mt,overlayStyle:Object.assign(Object.assign(Object.assign({},Me==null?void 0:Me.style),W),{zIndex:vt}),autoDestroy:q!=null?q:Ee}),ut);return vt&&(pt=o.createElement(Te.Z.Provider,{value:ht},pt)),at(pt)},s=(0,ze.Z)(e,"align",void 0,"dropdown",t=>t),l=t=>o.createElement(s,Object.assign({},t),o.createElement("span",null));e._InternalPanelDoNotUseOrYouWillBeFired=l;var g=e,p=r(89705),v=r(77683),m=r(78957),z=r(4173),R=function(t,d){var a={};for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&d.indexOf(u)<0&&(a[u]=t[u]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $=0,u=Object.getOwnPropertySymbols(t);$<u.length;$++)d.indexOf(u[$])<0&&Object.prototype.propertyIsEnumerable.call(t,u[$])&&(a[u[$]]=t[u[$]]);return a};const A=t=>{const{getPopupContainer:d,getPrefixCls:a,direction:u}=o.useContext(ge.E_),{prefixCls:$,type:f="default",danger:c,disabled:S,loading:X,onClick:F,htmlType:C,children:O,className:M,menu:W,arrow:J,autoFocus:I,overlay:xe,trigger:Oe,align:Le,open:We,onOpenChange:Ye,placement:de,getPopupContainer:Ze,href:pe,icon:q=o.createElement(p.Z,null),title:Ee,buttonsRender:dt=gt=>gt,mouseEnterDelay:_e,mouseLeaveDelay:He,overlayClassName:Me,overlayStyle:et,destroyOnHidden:rt,destroyPopupOnHide:it,dropdownRender:lt,popupRender:ce}=t,Ke=R(t,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyOnHidden","destroyPopupOnHide","dropdownRender","popupRender"]),at=a("dropdown",$),st=`${at}-button`,Be={menu:W,arrow:J,autoFocus:I,align:Le,disabled:S,trigger:S?[]:Oe,onOpenChange:Ye,getPopupContainer:Ze||d,mouseEnterDelay:_e,mouseLeaveDelay:He,overlayClassName:Me,overlayStyle:et,destroyOnHidden:rt,popupRender:ce||lt},{compactSize:tt,compactItemClassnames:ut}=(0,z.ri)(at,u),je=U()(st,ut,M);"destroyPopupOnHide"in t&&(Be.destroyPopupOnHide=it),"overlay"in t&&(Be.overlay=xe),"open"in t&&(Be.open=We),"placement"in t?Be.placement=de:Be.placement=u==="rtl"?"bottomLeft":"bottomRight";const Ve=o.createElement(v.ZP,{type:f,danger:c,disabled:S,loading:X,onClick:F,htmlType:C,href:pe,title:Ee},O),Ce=o.createElement(v.ZP,{type:f,danger:c,icon:q}),[Xe,mt]=dt([Ve,Ce]);return o.createElement(m.Z.Compact,Object.assign({className:je,size:tt,block:!0},Ke),Xe,o.createElement(g,Object.assign({},Be),mt))};A.__ANT_BUTTON=!0;var T=A;const H=g;H.Button=T;var x=H},23342:function(ot,ie,r){r.d(ie,{D:function(){return be},Z:function(){return Pe}});var o=r(67294),G=r(87462),ve={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"},ye=ve,U=r(72298),N=function(D,me){return o.createElement(U.Z,(0,G.Z)({},D,{ref:me,icon:ye}))},j=o.forwardRef(N),w=j,E=r(6171),y=r(90814),B=r(93967),le=r.n(B),fe=r(98423),k=r(85849),we=r(53124),Re=r(82401),ue=r(11568),P=r(24793),_=r(83559);const Z=b=>{const{componentCls:D,siderBg:me,motionDurationMid:V,motionDurationSlow:Y,antCls:ze,triggerHeight:Se,triggerColor:De,triggerBg:Te,headerHeight:ge,zeroTriggerWidth:$e,zeroTriggerHeight:Ae,borderRadiusLG:te,lightSiderBg:he,lightTriggerColor:K,lightTriggerBg:ae,bodyBg:ne}=b;return{[D]:{position:"relative",minWidth:0,background:me,transition:`all ${V}, background 0s`,"&-has-trigger":{paddingBottom:Se},"&-right":{order:1},[`${D}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${ze}-menu${ze}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${D}-children`]:{overflow:"hidden"},[`${D}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:Se,color:De,lineHeight:(0,ue.bf)(Se),textAlign:"center",background:Te,cursor:"pointer",transition:`all ${V}`},[`${D}-zero-width-trigger`]:{position:"absolute",top:ge,insetInlineEnd:b.calc($e).mul(-1).equal(),zIndex:1,width:$e,height:Ae,color:De,fontSize:b.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:me,borderRadius:`0 ${(0,ue.bf)(te)} ${(0,ue.bf)(te)} 0`,cursor:"pointer",transition:`background ${Y} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Y}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:b.calc($e).mul(-1).equal(),borderRadius:`${(0,ue.bf)(te)} 0 0 ${(0,ue.bf)(te)}`}},"&-light":{background:he,[`${D}-trigger`]:{color:K,background:ae},[`${D}-zero-width-trigger`]:{color:K,background:ae,border:`1px solid ${ne}`,borderInlineStart:0}}}}};var L=(0,_.I$)(["Layout","Sider"],b=>[Z(b)],P.eh,{deprecatedTokens:P.jn}),ee=function(b,D){var me={};for(var V in b)Object.prototype.hasOwnProperty.call(b,V)&&D.indexOf(V)<0&&(me[V]=b[V]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Y=0,V=Object.getOwnPropertySymbols(b);Y<V.length;Y++)D.indexOf(V[Y])<0&&Object.prototype.propertyIsEnumerable.call(b,V[Y])&&(me[V[Y]]=b[V[Y]]);return me};const h={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Fe=b=>!Number.isNaN(Number.parseFloat(b))&&isFinite(b),be=o.createContext({}),Qe=(()=>{let b=0;return(D="")=>(b+=1,`${D}${b}`)})();var Pe=o.forwardRef((b,D)=>{const{prefixCls:me,className:V,trigger:Y,children:ze,defaultCollapsed:Se=!1,theme:De="dark",style:Te={},collapsible:ge=!1,reverseArrow:$e=!1,width:Ae=200,collapsedWidth:te=80,zeroWidthTriggerStyle:he,breakpoint:K,onCollapse:ae,onBreakpoint:ne}=b,Ge=ee(b,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ue}=(0,o.useContext)(Re.V),[re,se]=(0,o.useState)("collapsed"in b?b.collapsed:Se),[Ne,ke]=(0,o.useState)(!1);(0,o.useEffect)(()=>{"collapsed"in b&&se(b.collapsed)},[b.collapsed]);const nt=(a,u)=>{"collapsed"in b||se(a),ae==null||ae(a,u)},{getPrefixCls:qe,direction:Ie}=(0,o.useContext)(we.E_),Q=qe("layout-sider",me),[i,n,e]=L(Q),s=(0,o.useRef)(null);s.current=a=>{ke(a.matches),ne==null||ne(a.matches),re!==a.matches&&nt(a.matches,"responsive")},(0,o.useEffect)(()=>{function a($){var f;return(f=s.current)===null||f===void 0?void 0:f.call(s,$)}let u;return typeof(window==null?void 0:window.matchMedia)!="undefined"&&K&&K in h&&(u=window.matchMedia(`screen and (max-width: ${h[K]})`),(0,k.x)(u,a),a(u)),()=>{(0,k.h)(u,a)}},[K]),(0,o.useEffect)(()=>{const a=Qe("ant-sider-");return Ue.addSider(a),()=>Ue.removeSider(a)},[]);const l=()=>{nt(!re,"clickTrigger")},g=(0,fe.Z)(Ge,["collapsed"]),p=re?te:Ae,v=Fe(p)?`${p}px`:String(p),m=parseFloat(String(te||0))===0?o.createElement("span",{onClick:l,className:le()(`${Q}-zero-width-trigger`,`${Q}-zero-width-trigger-${$e?"right":"left"}`),style:he},Y||o.createElement(w,null)):null,z=Ie==="rtl"==!$e,T={expanded:z?o.createElement(y.Z,null):o.createElement(E.Z,null),collapsed:z?o.createElement(E.Z,null):o.createElement(y.Z,null)}[re?"collapsed":"expanded"],H=Y!==null?m||o.createElement("div",{className:`${Q}-trigger`,onClick:l,style:{width:v}},Y||T):null,x=Object.assign(Object.assign({},Te),{flex:`0 0 ${v}`,maxWidth:v,minWidth:v,width:v}),t=le()(Q,`${Q}-${De}`,{[`${Q}-collapsed`]:!!re,[`${Q}-has-trigger`]:ge&&Y!==null&&!m,[`${Q}-below`]:!!Ne,[`${Q}-zero-width`]:parseFloat(v)===0},V,n,e),d=o.useMemo(()=>({siderCollapsed:re}),[re]);return i(o.createElement(be.Provider,{value:d},o.createElement("aside",Object.assign({className:t},g,{style:x,ref:D}),o.createElement("div",{className:`${Q}-children`},ze),ge||Ne&&m?H:null)))})},82401:function(ot,ie,r){r.d(ie,{V:function(){return G}});var o=r(67294);const G=o.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},24793:function(ot,ie,r){r.d(ie,{eh:function(){return ye},jn:function(){return U}});var o=r(11568),G=r(83559);const ve=N=>{const{antCls:j,componentCls:w,colorText:E,footerBg:y,headerHeight:B,headerPadding:le,headerColor:fe,footerPadding:k,fontSize:we,bodyBg:Re,headerBg:ue}=N;return{[w]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Re,"&, *":{boxSizing:"border-box"},[`&${w}-has-sider`]:{flexDirection:"row",[`> ${w}, > ${w}-content`]:{width:0}},[`${w}-header, &${w}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${w}-header`]:{height:B,padding:le,color:fe,lineHeight:(0,o.bf)(B),background:ue,[`${j}-menu`]:{lineHeight:"inherit"}},[`${w}-footer`]:{padding:k,color:E,fontSize:we,background:y},[`${w}-content`]:{flex:"auto",color:E,minHeight:0}}},ye=N=>{const{colorBgLayout:j,controlHeight:w,controlHeightLG:E,colorText:y,controlHeightSM:B,marginXXS:le,colorTextLightSolid:fe,colorBgContainer:k}=N,we=E*1.25;return{colorBgHeader:"#001529",colorBgBody:j,colorBgTrigger:"#002140",bodyBg:j,headerBg:"#001529",headerHeight:w*2,headerPadding:`0 ${we}px`,headerColor:y,footerPadding:`${B}px ${we}px`,footerBg:j,siderBg:"#001529",triggerHeight:E+le*2,triggerBg:"#002140",triggerColor:fe,zeroTriggerWidth:E,zeroTriggerHeight:E,lightSiderBg:k,lightTriggerBg:k,lightTriggerColor:y}},U=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];ie.ZP=(0,G.I$)("Layout",N=>[ve(N)],ye,{deprecatedTokens:U})},76529:function(ot,ie,r){r.d(ie,{J:function(){return N}});var o=r(67294),G=r(42550),ve=r(89942),ye=function(j,w){var E={};for(var y in j)Object.prototype.hasOwnProperty.call(j,y)&&w.indexOf(y)<0&&(E[y]=j[y]);if(j!=null&&typeof Object.getOwnPropertySymbols=="function")for(var B=0,y=Object.getOwnPropertySymbols(j);B<y.length;B++)w.indexOf(y[B])<0&&Object.prototype.propertyIsEnumerable.call(j,y[B])&&(E[y[B]]=j[y[B]]);return E};const U=o.createContext(null),N=o.forwardRef((j,w)=>{const{children:E}=j,y=ye(j,["children"]),B=o.useContext(U),le=o.useMemo(()=>Object.assign(Object.assign({},B),y),[B,y.prefixCls,y.mode,y.selectable,y.rootClassName]),fe=(0,G.t4)(E),k=(0,G.x1)(w,fe?(0,G.C4)(E):null);return o.createElement(U.Provider,{value:le},o.createElement(ve.Z,{space:!0},fe?o.cloneElement(E,{ref:k}):E))});ie.Z=U},50136:function(ot,ie,r){r.d(ie,{Z:function(){return Q}});var o=r(67294),G=r(72512),ve=r(23342),ye=r(89705),U=r(93967),N=r.n(U),j=r(66680),w=r(98423),E=r(33603),y=r(96159),B=r(53124),le=r(35792),k=(0,o.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),we=function(i,n){var e={};for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&n.indexOf(s)<0&&(e[s]=i[s]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,s=Object.getOwnPropertySymbols(i);l<s.length;l++)n.indexOf(s[l])<0&&Object.prototype.propertyIsEnumerable.call(i,s[l])&&(e[s[l]]=i[s[l]]);return e},ue=i=>{const{prefixCls:n,className:e,dashed:s}=i,l=we(i,["prefixCls","className","dashed"]),{getPrefixCls:g}=o.useContext(B.E_),p=g("menu",n),v=N()({[`${p}-item-divider-dashed`]:!!s},e);return o.createElement(G.iz,Object.assign({className:v},l))},P=r(50344),_=r(83062),L=i=>{var n;const{className:e,children:s,icon:l,title:g,danger:p,extra:v}=i,{prefixCls:m,firstLevel:z,direction:R,disableMenuItemTitleTooltip:A,inlineCollapsed:T}=o.useContext(k),H=$=>{const f=s==null?void 0:s[0],c=o.createElement("span",{className:N()(`${m}-title-content`,{[`${m}-title-content-with-extra`]:!!v||v===0})},s);return(!l||o.isValidElement(s)&&s.type==="span")&&s&&$&&z&&typeof f=="string"?o.createElement("div",{className:`${m}-inline-collapsed-noicon`},f.charAt(0)):c},{siderCollapsed:x}=o.useContext(ve.D);let t=g;typeof g=="undefined"?t=z?s:"":g===!1&&(t="");const d={title:t};!x&&!T&&(d.title=null,d.open=!1);const a=(0,P.Z)(s).length;let u=o.createElement(G.ck,Object.assign({},(0,w.Z)(i,["title","icon","danger"]),{className:N()({[`${m}-item-danger`]:p,[`${m}-item-only-child`]:(l?a+1:a)===1},e),title:typeof g=="string"?g:void 0}),(0,y.Tm)(l,{className:N()(o.isValidElement(l)?(n=l.props)===null||n===void 0?void 0:n.className:void 0,`${m}-item-icon`)}),H(T));return A||(u=o.createElement(_.Z,Object.assign({},d,{placement:R==="rtl"?"left":"right",classNames:{root:`${m}-inline-collapsed-tooltip`}}),u)),u},ee=r(76529),h=r(11568),Fe=r(15063),be=r(14747),Qe=r(33507),Je=r(67771),Pe=r(50438),b=r(83559),D=r(83262),V=i=>{const{componentCls:n,motionDurationSlow:e,horizontalLineHeight:s,colorSplit:l,lineWidth:g,lineType:p,itemPaddingInline:v}=i;return{[`${n}-horizontal`]:{lineHeight:s,border:0,borderBottom:`${(0,h.bf)(g)} ${p} ${l}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${n}-item, ${n}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:v},[`> ${n}-item:hover,
> ${n}-item-active,
> ${n}-submenu ${n}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${n}-item, ${n}-submenu-title`]:{transition:[`border-color ${e}`,`background ${e}`].join(",")},[`${n}-submenu-arrow`]:{display:"none"}}}},ze=({componentCls:i,menuArrowOffset:n,calc:e})=>({[`${i}-rtl`]:{direction:"rtl"},[`${i}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${i}-rtl${i}-vertical,
${i}-submenu-rtl ${i}-vertical`]:{[`${i}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,h.bf)(e(n).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,h.bf)(n)})`}}}});const Se=i=>Object.assign({},(0,be.oN)(i));var Te=(i,n)=>{const{componentCls:e,itemColor:s,itemSelectedColor:l,subMenuItemSelectedColor:g,groupTitleColor:p,itemBg:v,subMenuItemBg:m,itemSelectedBg:z,activeBarHeight:R,activeBarWidth:A,activeBarBorderWidth:T,motionDurationSlow:H,motionEaseInOut:x,motionEaseOut:t,itemPaddingInline:d,motionDurationMid:a,itemHoverColor:u,lineType:$,colorSplit:f,itemDisabledColor:c,dangerItemColor:S,dangerItemHoverColor:X,dangerItemSelectedColor:F,dangerItemActiveBg:C,dangerItemSelectedBg:O,popupBg:M,itemHoverBg:W,itemActiveBg:J,menuSubMenuBg:I,horizontalItemSelectedColor:xe,horizontalItemSelectedBg:Oe,horizontalItemBorderRadius:Le,horizontalItemHoverBg:We}=i;return{[`${e}-${n}, ${e}-${n} > ${e}`]:{color:s,background:v,[`&${e}-root:focus-visible`]:Object.assign({},Se(i)),[`${e}-item`]:{"&-group-title, &-extra":{color:p}},[`${e}-submenu-selected > ${e}-submenu-title`]:{color:g},[`${e}-item, ${e}-submenu-title`]:{color:s,[`&:not(${e}-item-disabled):focus-visible`]:Object.assign({},Se(i))},[`${e}-item-disabled, ${e}-submenu-disabled`]:{color:`${c} !important`},[`${e}-item:not(${e}-item-selected):not(${e}-submenu-selected)`]:{[`&:hover, > ${e}-submenu-title:hover`]:{color:u}},[`&:not(${e}-horizontal)`]:{[`${e}-item:not(${e}-item-selected)`]:{"&:hover":{backgroundColor:W},"&:active":{backgroundColor:J}},[`${e}-submenu-title`]:{"&:hover":{backgroundColor:W},"&:active":{backgroundColor:J}}},[`${e}-item-danger`]:{color:S,[`&${e}-item:hover`]:{[`&:not(${e}-item-selected):not(${e}-submenu-selected)`]:{color:X}},[`&${e}-item:active`]:{background:C}},[`${e}-item a`]:{"&, &:hover":{color:"inherit"}},[`${e}-item-selected`]:{color:l,[`&${e}-item-danger`]:{color:F},"a, a:hover":{color:"inherit"}},[`& ${e}-item-selected`]:{backgroundColor:z,[`&${e}-item-danger`]:{backgroundColor:O}},[`&${e}-submenu > ${e}`]:{backgroundColor:I},[`&${e}-popup > ${e}`]:{backgroundColor:M},[`&${e}-submenu-popup > ${e}`]:{backgroundColor:M},[`&${e}-horizontal`]:Object.assign(Object.assign({},n==="dark"?{borderBottom:0}:{}),{[`> ${e}-item, > ${e}-submenu`]:{top:T,marginTop:i.calc(T).mul(-1).equal(),marginBottom:0,borderRadius:Le,"&::after":{position:"absolute",insetInline:d,bottom:0,borderBottom:`${(0,h.bf)(R)} solid transparent`,transition:`border-color ${H} ${x}`,content:'""'},"&:hover, &-active, &-open":{background:We,"&::after":{borderBottomWidth:R,borderBottomColor:xe}},"&-selected":{color:xe,backgroundColor:Oe,"&:hover":{backgroundColor:Oe},"&::after":{borderBottomWidth:R,borderBottomColor:xe}}}}),[`&${e}-root`]:{[`&${e}-inline, &${e}-vertical`]:{borderInlineEnd:`${(0,h.bf)(T)} ${$} ${f}`}},[`&${e}-inline`]:{[`${e}-sub${e}-inline`]:{background:m},[`${e}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,h.bf)(A)} solid ${l}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${a} ${t}`,`opacity ${a} ${t}`].join(","),content:'""'},[`&${e}-item-danger`]:{"&::after":{borderInlineEndColor:F}}},[`${e}-selected, ${e}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${a} ${x}`,`opacity ${a} ${x}`].join(",")}}}}}};const ge=i=>{const{componentCls:n,itemHeight:e,itemMarginInline:s,padding:l,menuArrowSize:g,marginXS:p,itemMarginBlock:v,itemWidth:m,itemPaddingInline:z}=i,R=i.calc(g).add(l).add(p).equal();return{[`${n}-item`]:{position:"relative",overflow:"hidden"},[`${n}-item, ${n}-submenu-title`]:{height:e,lineHeight:(0,h.bf)(e),paddingInline:z,overflow:"hidden",textOverflow:"ellipsis",marginInline:s,marginBlock:v,width:m},[`> ${n}-item,
> ${n}-submenu > ${n}-submenu-title`]:{height:e,lineHeight:(0,h.bf)(e)},[`${n}-item-group-list ${n}-submenu-title,
${n}-submenu-title`]:{paddingInlineEnd:R}}};var Ae=i=>{const{componentCls:n,iconCls:e,itemHeight:s,colorTextLightSolid:l,dropdownWidth:g,controlHeightLG:p,motionEaseOut:v,paddingXL:m,itemMarginInline:z,fontSizeLG:R,motionDurationFast:A,motionDurationSlow:T,paddingXS:H,boxShadowSecondary:x,collapsedWidth:t,collapsedIconSize:d}=i,a={height:s,lineHeight:(0,h.bf)(s),listStylePosition:"inside",listStyleType:"disc"};return[{[n]:{"&-inline, &-vertical":Object.assign({[`&${n}-root`]:{boxShadow:"none"}},ge(i))},[`${n}-submenu-popup`]:{[`${n}-vertical`]:Object.assign(Object.assign({},ge(i)),{boxShadow:x})}},{[`${n}-submenu-popup ${n}-vertical${n}-sub`]:{minWidth:g,maxHeight:`calc(100vh - ${(0,h.bf)(i.calc(p).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${n}-inline`]:{width:"100%",[`&${n}-root`]:{[`${n}-item, ${n}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${T}`,`background ${T}`,`padding ${A} ${v}`].join(","),[`> ${n}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${n}-sub${n}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${n}-submenu > ${n}-submenu-title`]:a,[`& ${n}-item-group-title`]:{paddingInlineStart:m}},[`${n}-item`]:a}},{[`${n}-inline-collapsed`]:{width:t,[`&${n}-root`]:{[`${n}-item, ${n}-submenu ${n}-submenu-title`]:{[`> ${n}-inline-collapsed-noicon`]:{fontSize:R,textAlign:"center"}}},[`> ${n}-item,
> ${n}-item-group > ${n}-item-group-list > ${n}-item,
> ${n}-item-group > ${n}-item-group-list > ${n}-submenu > ${n}-submenu-title,
> ${n}-submenu > ${n}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,h.bf)(i.calc(d).div(2).equal())} - ${(0,h.bf)(z)})`,textOverflow:"clip",[`
${n}-submenu-arrow,
${n}-submenu-expand-icon
`]:{opacity:0},[`${n}-item-icon, ${e}`]:{margin:0,fontSize:d,lineHeight:(0,h.bf)(s),"+ span":{display:"inline-block",opacity:0}}},[`${n}-item-icon, ${e}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${n}-item-icon, ${e}`]:{display:"none"},"a, a:hover":{color:l}},[`${n}-item-group-title`]:Object.assign(Object.assign({},be.vS),{paddingInline:H})}}]};const te=i=>{const{componentCls:n,motionDurationSlow:e,motionDurationMid:s,motionEaseInOut:l,motionEaseOut:g,iconCls:p,iconSize:v,iconMarginInlineEnd:m}=i;return{[`${n}-item, ${n}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${e}`,`background ${e}`,`padding calc(${e} + 0.1s) ${l}`].join(","),[`${n}-item-icon, ${p}`]:{minWidth:v,fontSize:v,transition:[`font-size ${s} ${g}`,`margin ${e} ${l}`,`color ${e}`].join(","),"+ span":{marginInlineStart:m,opacity:1,transition:[`opacity ${e} ${l}`,`margin ${e}`,`color ${e}`].join(",")}},[`${n}-item-icon`]:Object.assign({},(0,be.Ro)()),[`&${n}-item-only-child`]:{[`> ${p}, > ${n}-item-icon`]:{marginInlineEnd:0}}},[`${n}-item-disabled, ${n}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${n}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},he=i=>{const{componentCls:n,motionDurationSlow:e,motionEaseInOut:s,borderRadius:l,menuArrowSize:g,menuArrowOffset:p}=i;return{[`${n}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:i.margin,width:g,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${e} ${s}, opacity ${e}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:i.calc(g).mul(.6).equal(),height:i.calc(g).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:l,transition:[`background ${e} ${s}`,`transform ${e} ${s}`,`top ${e} ${s}`,`color ${e} ${s}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,h.bf)(i.calc(p).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,h.bf)(p)})`}}}}},K=i=>{const{antCls:n,componentCls:e,fontSize:s,motionDurationSlow:l,motionDurationMid:g,motionEaseInOut:p,paddingXS:v,padding:m,colorSplit:z,lineWidth:R,zIndexPopup:A,borderRadiusLG:T,subMenuItemBorderRadius:H,menuArrowSize:x,menuArrowOffset:t,lineType:d,groupTitleLineHeight:a,groupTitleFontSize:u}=i;return[{"":{[e]:Object.assign(Object.assign({},(0,be.dF)()),{"&-hidden":{display:"none"}})},[`${e}-submenu-hidden`]:{display:"none"}},{[e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,be.Wf)(i)),(0,be.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:s,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${l} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${e}-item`]:{flex:"none"}},[`${e}-item, ${e}-submenu, ${e}-submenu-title`]:{borderRadius:i.itemBorderRadius},[`${e}-item-group-title`]:{padding:`${(0,h.bf)(v)} ${(0,h.bf)(m)}`,fontSize:u,lineHeight:a,transition:`all ${l}`},[`&-horizontal ${e}-submenu`]:{transition:[`border-color ${l} ${p}`,`background ${l} ${p}`].join(",")},[`${e}-submenu, ${e}-submenu-inline`]:{transition:[`border-color ${l} ${p}`,`background ${l} ${p}`,`padding ${g} ${p}`].join(",")},[`${e}-submenu ${e}-sub`]:{cursor:"initial",transition:[`background ${l} ${p}`,`padding ${l} ${p}`].join(",")},[`${e}-title-content`]:{transition:`color ${l}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${n}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${e}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:i.padding}},[`${e}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${e}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:z,borderStyle:d,borderWidth:0,borderTopWidth:R,marginBlock:R,padding:0,"&-dashed":{borderStyle:"dashed"}}}),te(i)),{[`${e}-item-group`]:{[`${e}-item-group-list`]:{margin:0,padding:0,[`${e}-item, ${e}-submenu-title`]:{paddingInline:`${(0,h.bf)(i.calc(s).mul(2).equal())} ${(0,h.bf)(m)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:A,borderRadius:T,boxShadow:"none",transformOrigin:"0 0",[`&${e}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${e}`]:Object.assign(Object.assign(Object.assign({borderRadius:T},te(i)),he(i)),{[`${e}-item, ${e}-submenu > ${e}-submenu-title`]:{borderRadius:H},[`${e}-submenu-title::after`]:{transition:`transform ${l} ${p}`}})},"\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:i.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:i.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:i.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:i.paddingXS}}}),he(i)),{[`&-inline-collapsed ${e}-submenu-arrow,
&-inline ${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,h.bf)(t)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,h.bf)(i.calc(t).mul(-1).equal())})`}},[`${e}-submenu-open${e}-submenu-inline > ${e}-submenu-title > ${e}-submenu-arrow`]:{transform:`translateY(${(0,h.bf)(i.calc(x).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,h.bf)(i.calc(t).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,h.bf)(t)})`}}})},{[`${n}-layout-header`]:{[e]:{lineHeight:"inherit"}}}]},ae=i=>{var n,e,s;const{colorPrimary:l,colorError:g,colorTextDisabled:p,colorErrorBg:v,colorText:m,colorTextDescription:z,colorBgContainer:R,colorFillAlter:A,colorFillContent:T,lineWidth:H,lineWidthBold:x,controlItemBgActive:t,colorBgTextHover:d,controlHeightLG:a,lineHeight:u,colorBgElevated:$,marginXXS:f,padding:c,fontSize:S,controlHeightSM:X,fontSizeLG:F,colorTextLightSolid:C,colorErrorHover:O}=i,M=(n=i.activeBarWidth)!==null&&n!==void 0?n:0,W=(e=i.activeBarBorderWidth)!==null&&e!==void 0?e:H,J=(s=i.itemMarginInline)!==null&&s!==void 0?s:i.marginXXS,I=new Fe.t(C).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:i.zIndexPopupBase+50,radiusItem:i.borderRadiusLG,itemBorderRadius:i.borderRadiusLG,radiusSubMenuItem:i.borderRadiusSM,subMenuItemBorderRadius:i.borderRadiusSM,colorItemText:m,itemColor:m,colorItemTextHover:m,itemHoverColor:m,colorItemTextHoverHorizontal:l,horizontalItemHoverColor:l,colorGroupTitle:z,groupTitleColor:z,colorItemTextSelected:l,itemSelectedColor:l,subMenuItemSelectedColor:l,colorItemTextSelectedHorizontal:l,horizontalItemSelectedColor:l,colorItemBg:R,itemBg:R,colorItemBgHover:d,itemHoverBg:d,colorItemBgActive:T,itemActiveBg:t,colorSubItemBg:A,subMenuItemBg:A,colorItemBgSelected:t,itemSelectedBg:t,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:M,colorActiveBarHeight:x,activeBarHeight:x,colorActiveBarBorderSize:H,activeBarBorderWidth:W,colorItemTextDisabled:p,itemDisabledColor:p,colorDangerItemText:g,dangerItemColor:g,colorDangerItemTextHover:g,dangerItemHoverColor:g,colorDangerItemTextSelected:g,dangerItemSelectedColor:g,colorDangerItemBgActive:v,dangerItemActiveBg:v,colorDangerItemBgSelected:v,dangerItemSelectedBg:v,itemMarginInline:J,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:a,groupTitleLineHeight:u,collapsedWidth:a*2,popupBg:$,itemMarginBlock:f,itemPaddingInline:c,horizontalLineHeight:`${a*1.15}px`,iconSize:S,iconMarginInlineEnd:X-S,collapsedIconSize:F,groupTitleFontSize:S,darkItemDisabledColor:new Fe.t(C).setA(.25).toRgbString(),darkItemColor:I,darkDangerItemColor:g,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:C,darkItemSelectedBg:l,darkDangerItemSelectedBg:g,darkItemHoverBg:"transparent",darkGroupTitleColor:I,darkItemHoverColor:C,darkDangerItemHoverColor:O,darkDangerItemSelectedColor:C,darkDangerItemActiveBg:g,itemWidth:M?`calc(100% + ${W}px)`:`calc(100% - ${J*2}px)`}};var ne=(i,n=i,e=!0)=>(0,b.I$)("Menu",l=>{const{colorBgElevated:g,controlHeightLG:p,fontSize:v,darkItemColor:m,darkDangerItemColor:z,darkItemBg:R,darkSubMenuItemBg:A,darkItemSelectedColor:T,darkItemSelectedBg:H,darkDangerItemSelectedBg:x,darkItemHoverBg:t,darkGroupTitleColor:d,darkItemHoverColor:a,darkItemDisabledColor:u,darkDangerItemHoverColor:$,darkDangerItemSelectedColor:f,darkDangerItemActiveBg:c,popupBg:S,darkPopupBg:X}=l,F=l.calc(v).div(7).mul(5).equal(),C=(0,D.IX)(l,{menuArrowSize:F,menuHorizontalHeight:l.calc(p).mul(1.15).equal(),menuArrowOffset:l.calc(F).mul(.25).equal(),menuSubMenuBg:g,calc:l.calc,popupBg:S}),O=(0,D.IX)(C,{itemColor:m,itemHoverColor:a,groupTitleColor:d,itemSelectedColor:T,subMenuItemSelectedColor:T,itemBg:R,popupBg:X,subMenuItemBg:A,itemActiveBg:"transparent",itemSelectedBg:H,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:t,itemDisabledColor:u,dangerItemColor:z,dangerItemHoverColor:$,dangerItemSelectedColor:f,dangerItemActiveBg:c,dangerItemSelectedBg:x,menuSubMenuBg:A,horizontalItemSelectedColor:T,horizontalItemSelectedBg:H});return[K(C),V(C),Ae(C),Te(C,"light"),Te(O,"dark"),ze(C),(0,Qe.Z)(C),(0,Je.oN)(C,"slide-up"),(0,Je.oN)(C,"slide-down"),(0,Pe._y)(C,"zoom-big")]},ae,{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:e,unitless:{groupTitleLineHeight:!0}})(i,n),Ge=r(87263),re=i=>{var n;const{popupClassName:e,icon:s,title:l,theme:g}=i,p=o.useContext(k),{prefixCls:v,inlineCollapsed:m,theme:z}=p,R=(0,G.Xl)();let A;if(!s)A=m&&!R.length&&l&&typeof l=="string"?o.createElement("div",{className:`${v}-inline-collapsed-noicon`},l.charAt(0)):o.createElement("span",{className:`${v}-title-content`},l);else{const x=o.isValidElement(l)&&l.type==="span";A=o.createElement(o.Fragment,null,(0,y.Tm)(s,{className:N()(o.isValidElement(s)?(n=s.props)===null||n===void 0?void 0:n.className:void 0,`${v}-item-icon`)}),x?l:o.createElement("span",{className:`${v}-title-content`},l))}const T=o.useMemo(()=>Object.assign(Object.assign({},p),{firstLevel:!1}),[p]),[H]=(0,Ge.Cn)("Menu");return o.createElement(k.Provider,{value:T},o.createElement(G.Wd,Object.assign({},(0,w.Z)(i,["icon"]),{title:A,popupClassName:N()(v,e,`${v}-${g||z}`),popupStyle:Object.assign({zIndex:H},i.popupStyle)})))},se=function(i,n){var e={};for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&n.indexOf(s)<0&&(e[s]=i[s]);if(i!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,s=Object.getOwnPropertySymbols(i);l<s.length;l++)n.indexOf(s[l])<0&&Object.prototype.propertyIsEnumerable.call(i,s[l])&&(e[s[l]]=i[s[l]]);return e};function Ne(i){return i===null||i===!1}const ke={item:L,submenu:re,divider:ue};var qe=(0,o.forwardRef)((i,n)=>{var e;const s=o.useContext(ee.Z),l=s||{},{getPrefixCls:g,getPopupContainer:p,direction:v,menu:m}=o.useContext(B.E_),z=g(),{prefixCls:R,className:A,style:T,theme:H="light",expandIcon:x,_internalDisableMenuItemTitleTooltip:t,inlineCollapsed:d,siderCollapsed:a,rootClassName:u,mode:$,selectable:f,onClick:c,overflowedIndicatorPopupClassName:S}=i,X=se(i,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),F=(0,w.Z)(X,["collapsedWidth"]);(e=l.validator)===null||e===void 0||e.call(l,{mode:$});const C=(0,j.Z)((...pe)=>{var q;c==null||c.apply(void 0,pe),(q=l.onClick)===null||q===void 0||q.call(l)}),O=l.mode||$,M=f!=null?f:l.selectable,W=d!=null?d:a,J={horizontal:{motionName:`${z}-slide-up`},inline:(0,E.Z)(z),other:{motionName:`${z}-zoom-big`}},I=g("menu",R||l.prefixCls),xe=(0,le.Z)(I),[Oe,Le,We]=ne(I,xe,!s),Ye=N()(`${I}-${H}`,m==null?void 0:m.className,A),de=o.useMemo(()=>{var pe,q;if(typeof x=="function"||Ne(x))return x||null;if(typeof l.expandIcon=="function"||Ne(l.expandIcon))return l.expandIcon||null;if(typeof(m==null?void 0:m.expandIcon)=="function"||Ne(m==null?void 0:m.expandIcon))return(m==null?void 0:m.expandIcon)||null;const Ee=(pe=x!=null?x:l==null?void 0:l.expandIcon)!==null&&pe!==void 0?pe:m==null?void 0:m.expandIcon;return(0,y.Tm)(Ee,{className:N()(`${I}-submenu-expand-icon`,o.isValidElement(Ee)?(q=Ee.props)===null||q===void 0?void 0:q.className:void 0)})},[x,l==null?void 0:l.expandIcon,m==null?void 0:m.expandIcon,I]),Ze=o.useMemo(()=>({prefixCls:I,inlineCollapsed:W||!1,direction:v,firstLevel:!0,theme:H,mode:O,disableMenuItemTitleTooltip:t}),[I,W,v,t,H]);return Oe(o.createElement(ee.Z.Provider,{value:null},o.createElement(k.Provider,{value:Ze},o.createElement(G.ZP,Object.assign({getPopupContainer:p,overflowedIndicator:o.createElement(ye.Z,null),overflowedIndicatorPopupClassName:N()(I,`${I}-${H}`,S),mode:O,selectable:M,onClick:C},F,{inlineCollapsed:W,style:Object.assign(Object.assign({},m==null?void 0:m.style),T),className:Ye,prefixCls:I,direction:v,defaultMotions:J,expandIcon:de,ref:n,rootClassName:N()(u,Le,l.rootClassName,We,xe),_internalComponents:ke})))))});const Ie=(0,o.forwardRef)((i,n)=>{const e=(0,o.useRef)(null),s=o.useContext(ve.D);return(0,o.useImperativeHandle)(n,()=>({menu:e.current,focus:l=>{var g;(g=e.current)===null||g===void 0||g.focus(l)}})),o.createElement(qe,Object.assign({ref:e},i,s))});Ie.Item=L,Ie.SubMenu=re,Ie.Divider=ue,Ie.ItemGroup=G.BW;var Q=Ie},78957:function(ot,ie,r){r.d(ie,{Z:function(){return ue}});var o=r(67294),G=r(93967),ve=r.n(G),ye=r(50344);function U(P){return["small","middle","large"].includes(P)}function N(P){return P?typeof P=="number"&&!Number.isNaN(P):!1}var j=r(53124),w=r(4173);const E=o.createContext({latestIndex:0}),y=E.Provider;var le=({className:P,index:_,children:Z,split:L,style:ee})=>{const{latestIndex:h}=o.useContext(E);return Z==null?null:o.createElement(o.Fragment,null,o.createElement("div",{className:P,style:ee},Z),_<h&&L&&o.createElement("span",{className:`${P}-split`},L))},fe=r(51916),k=function(P,_){var Z={};for(var L in P)Object.prototype.hasOwnProperty.call(P,L)&&_.indexOf(L)<0&&(Z[L]=P[L]);if(P!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,L=Object.getOwnPropertySymbols(P);ee<L.length;ee++)_.indexOf(L[ee])<0&&Object.prototype.propertyIsEnumerable.call(P,L[ee])&&(Z[L[ee]]=P[L[ee]]);return Z};const Re=o.forwardRef((P,_)=>{var Z;const{getPrefixCls:L,direction:ee,size:h,className:Fe,style:be,classNames:Qe,styles:Je}=(0,j.dj)("space"),{size:Pe=h!=null?h:"small",align:b,className:D,rootClassName:me,children:V,direction:Y="horizontal",prefixCls:ze,split:Se,style:De,wrap:Te=!1,classNames:ge,styles:$e}=P,Ae=k(P,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[te,he]=Array.isArray(Pe)?Pe:[Pe,Pe],K=U(he),ae=U(te),ne=N(he),Ge=N(te),Ue=(0,ye.Z)(V,{keepEmpty:!0}),re=b===void 0&&Y==="horizontal"?"center":b,se=L("space",ze),[Ne,ke,nt]=(0,fe.Z)(se),qe=ve()(se,Fe,ke,`${se}-${Y}`,{[`${se}-rtl`]:ee==="rtl",[`${se}-align-${re}`]:re,[`${se}-gap-row-${he}`]:K,[`${se}-gap-col-${te}`]:ae},D,me,nt),Ie=ve()(`${se}-item`,(Z=ge==null?void 0:ge.item)!==null&&Z!==void 0?Z:Qe.item);let Q=0;const i=Ue.map((s,l)=>{var g;s!=null&&(Q=l);const p=(s==null?void 0:s.key)||`${Ie}-${l}`;return o.createElement(le,{className:Ie,key:p,index:l,split:Se,style:(g=$e==null?void 0:$e.item)!==null&&g!==void 0?g:Je.item},s)}),n=o.useMemo(()=>({latestIndex:Q}),[Q]);if(Ue.length===0)return null;const e={};return Te&&(e.flexWrap="wrap"),!ae&&Ge&&(e.columnGap=te),!K&&ne&&(e.rowGap=he),Ne(o.createElement("div",Object.assign({ref:_,className:qe,style:Object.assign(Object.assign(Object.assign({},e),be),De)},Ae),o.createElement(y,{value:n},i)))});Re.Compact=w.ZP;var ue=Re}}]);