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.
19 lines
76 KiB
19 lines
76 KiB
"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3006],{25877:function(Je,q,s){s.d(q,{Z:function(){return w}});var u=s(87462),c=s(67294),C={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"},A=C,p=s(74643),E=function(e,$){return c.createElement(p.Z,(0,u.Z)({},e,{ref:$,icon:A}))},w=c.forwardRef(E)},22751:function(Je,q,s){s.d(q,{Z:function(){return w}});var u=s(87462),c=s(67294),C={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"},A=C,p=s(74643),E=function(e,$){return c.createElement(p.Z,(0,u.Z)({},e,{ref:$,icon:A}))},w=c.forwardRef(E)},91034:function(Je,q,s){s.d(q,{Z:function(){return w}});var u=s(87462),c=s(67294),C={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"},A=C,p=s(74643),E=function(e,$){return c.createElement(p.Z,(0,u.Z)({},e,{ref:$,icon:A}))},w=c.forwardRef(E)},13403:function(Je,q,s){s.r(q),s.d(q,{default:function(){return k}});var u=s(67294),c={flex_box_center:"flex_box_center___usTTt",flex_space_between:"flex_space_between___pQ1uH",flex_box_vertical_center:"flex_box_vertical_center___jvY_p",flex_box_center_end:"flex_box_center_end___mLLAC",flex_box_column:"flex_box_column___B1SWi",wrap:"wrap___Ga64a",left:"left___MLf1O",menu:"menu___FpsmH",home:"home___iI7sm",info:"info___P474B",right:"right___Ttby6"},C=s(68508),A=s(35973),p=s(70583),E=s(33170),w="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABQCAYAAACpv3NFAAAAAXNSR0IArs4c6QAABmRJREFUeF7tXHtQVHUU/s7dBw9lAUGBJR18QE7YmJWZaYpZo9Vio0jamFpj4jhaVpaNr4Zeko42aY2OmI7o+BpDA8WGGpOmfDXjKx1TVNQUFFQUebN772nuMiqLwMBy7zJLv/vXAuecPeebc77vt3sPl1DnYmYyJpybrBDGg/EECJ3BLNW18brXRAoYN0A4LjG2OtKj04iI79VB916Yx53vY7crqQAP9LoiW5QwHTQZDNNqtvc8qbo5ATAmnhsqy5wNsE+LYnmtMVUbDDTCsT36dwpOvBB4R5ZzAe7itfW4lTgVBRkMMSSNzV3ICn/uVgwvdyKJPiVKyD0K5n5eXot76RMdI0o4WwpGR/cieLkXoYxozNn7kuDl5biVvgBAdIAYAcEBggTdos924iRUQKiAUAGhAkIF2gmhu1WGUAGhAkIFhAoIFXCLPtuJU5uqwBdvhCCogwGz1hVBUdoG0TYBwNdMSHs3HInPBTirzjpShvHfXEN5leen0eMAhAcZkDE3Ev17+aKkXIZdBkItBhzLq4JtUT6u3ZY92goeBaBvlA92zbPikRAT8q7XwLaoADUOxp4FkYixmnH1lh2vfpWPk5drPAaCxwCIf7oDNn8QgQ6+Ev44XYExSwpwq7R28IM7Stg5x4ohsf4orVTw+tICZB+v8AgIHgFg9qhgLJ4YCkkibMgpwdRVhbA7XOszGYF1M8IxYYgFssyY+UMRVv9SojsIugJgNACrksIw5cVAMDPmb76Fr3cUN1nUZ+NDsDAxxGmzNKMYczbc1BUE3QBQ2/rHj6wY9rg/KqoVTFpxHTsOlbkUM6yPn/PnfacqXX4/Kc6CNdPDYDIS0g+WYuKK66iq0UchdAEgOsKE3fMiEW01o6DYgVEp+TiaV+1SZNJLgfh+au0d+ZlripD6q2u7x/Xxw445Vuc54XBuJUalFODGXe0VQnMA1MTTP7YiuGOttMWnFDhBuHdJErBscmfMsgW7ALJ8923MTrvhciDqHWlG1vxIdA8z4WJhrUKcyddWITQFYMpwC1Ym1bbuT4fL8Obya6ioftC6AX4Stn4YgZef7NDgXP98tNx5IFKV4N7V2WJA5lwrBsT44U657FSPnHoj0xqS0AwAi7+EMyuiEB5sxJKdxZi76Sa4zthGdTE6x+Kxrk1v4Zy+Uu08EF0qetA16slx43vhSBgYgP3/VOL5BVdaU7OLr2YAqFHV011sVzPW77vr8iaDevti5yeRzhNfc66bd2WMXpyP/WeqXMznjumEtXtLUFSiHRdoCkBDxU0eZsHqaWEwm+4vpDUHA9TYGdNWFyKtHpjNcm6BkW4AEAEpE0IxZ3SnFqTzsGlD49SqgPWcdQHA34ew6f0IvPaMNps3GX+VYcK3roSqFQi6AHBsWTf0jfLVKkdnnBOXqtBv9r+axlSD6QKAkh6jeaJqQCkhV/O4HgdAURiORkhc/eygfmBq7GoXAKzbW4J3VhY2WOPaGWF4+4VAAYDogEYQECPQHkhQcIAgwf+BCpRu6tWolG3IuYsZa4oa/PvKpC6YONTSqG/AhPPecRDSPEsdA+pyEtQxX81DCwDEioxYkRErMvrcctGcrvQJKEhQkKAgQUGCggT14VfviCpUQKiAUAGhAkIFPM7XROoGxUECzgAcwUB/MLp7PA+9bo42WAjhMkHaJUmc2Tc4OudIKtnr2pkTzsU6CDZmJR6gZ8HcvHWSVqKmowwSg/gIEWUaDJxp3/boiebmGjDpakhFWeUrTIqNQSPA3PgNw+YGbcROYwCoGsS/EVGGr9F3V8XWbgWtzA9PJbHpRHHeEEWRbUywgbnxr5zdeDOiMblVrXyA0k0iyiJCZqifJbtwY3i5G3k028WccLG3A/Z4BmwABrVqVAg16mN0DoF5QLMzUA0JZwmUKUmGzAWxPQ4kJ1Ob/L+HJfFKp3K5ciQDKiAjAQ5qUR2go2Qce2G4rMhZTXYBkQzmg+o8m4yGjOptPbVf1WhZ5g9ZxyWz8c9T5wcrrMQzO7uj6TUVIlkCjXauYxjG5toUhVMBRNyPTCgHKFsCZ/qbA7JKt1j1XdtuJQD13X3GXYixO1QS5XgwD1YfmfagNiqRgOlyesyW+/soycksffn3haEM7kGgvKhIPnD+u2jXDWeNk/RUuKC3LgaVlspxzHJPkuhi146mPZfWd3duYf4HFXjVlDenBVgAAAAASUVORK5CYII=",j=(pe,ee,ce)=>new Promise((me,G)=>{var he=Ce=>{try{Ze(ce.next(Ce))}catch(_e){G(_e)}},we=Ce=>{try{Ze(ce.throw(Ce))}catch(_e){G(_e)}},Ze=Ce=>Ce.done?me(Ce.value):Promise.resolve(Ce.value).then(he,we);Ze((ce=ce.apply(pe,ee)).next())});const{SubMenu:e}=C.default,$=({user:pe,globalSetting:ee,engineering:ce,dispatch:me})=>{const G=(0,A.useLocation)(),[he,we]=u.useState(["1","2","3","4"]),[Ze,Ce]=u.useState([]),{showMenu:_e,matrixVerify:Z}=ce;(0,u.useEffect)(()=>{(G==null?void 0:G.pathname)==="/engineering"&&A.history.replace("/engineering/navigation"),document.title="\u5DE5\u7A0B\u8BA4\u8BC1"},[G==null?void 0:G.pathname]),(0,u.useEffect)(()=>{document.title="\u5DE5\u7A0B\u8BA4\u8BC1"}),(0,u.useEffect)(()=>{const{filterOpenKeys:I,filterSelectedKeys:F}=B();console.log(B()),Ce(F)},[G==null?void 0:G.pathname]),(0,u.useEffect)(()=>{function I(){return j(this,null,function*(){const F=yield(0,E.ZP)("/api/ec_major_schools/1/ec_years/has_logged.json",{method:"get",params:{tab_module_type:"engineering"}});console.log(F),F!=null&&F.un_purchased&&me({type:"globalSetting/setActionTabs",payload:{key:"\u91C7\u8D2D\u63D0\u793A"}})})}I()},[]);const b=[{title:"\u4E13\u4E1A\u8BBE\u7F6E",key:"1",icon:u.createElement("i",{className:"iconfont icon-zhuanyeshezhi"}),children:[{title:"\u57F9\u517B\u65B9\u6848",key:"/engineering/training/program",icon:u.createElement("i",{className:"iconfont icon-peiyangfangan font14"})},{title:"\u57F9\u517B\u76EE\u6807",key:"/engineering/training/objectives",icon:u.createElement("i",{className:"iconfont icon-peiyangmubiao font14"})},{title:"\u6559\u5E08\u4FE1\u606F",key:"/engineering/teacherList",icon:u.createElement("i",{className:"iconfont icon-jiaoshiliebiao font14"})},{title:"\u5B66\u751F\u4FE1\u606F",key:"/engineering/studentList",icon:u.createElement("i",{className:"iconfont icon-xueshengliebiao font14"})}]},{title:"\u6BD5\u4E1A\u8981\u6C42",key:"2",icon:u.createElement("i",{className:"iconfont icon-biyeyaoqiu"}),children:[{title:"\u6BD5\u4E1A\u6307\u6807",key:"/engineering/graduated/index",icon:u.createElement("i",{className:"iconfont icon-biyezhibiao font14"})},{title:"\u6BD5\u4E1A\u77E9\u9635",key:"/engineering/graduated/matrix",icon:u.createElement("i",{className:"iconfont icon-biyejuzhen font14"})}]},{title:"\u8BFE\u7A0B\u4F53\u7CFB",key:"3",icon:u.createElement("i",{className:"iconfont icon-kechengtixi"}),children:[{title:"\u8BFE\u7A0B\u5217\u8868",key:"/engineering/course/list",icon:u.createElement("i",{className:"iconfont icon-kechengliebiao font14"})},{title:"\u8BFE\u7A0B\u8BBE\u7F6E",key:"/engineering/course/setting",icon:u.createElement("i",{className:"iconfont icon-kechengshezhi font14"})},{title:"\u8BFE\u7A0B\u77E9\u9635",key:"/engineering/course/matrix",icon:u.createElement("i",{className:"iconfont icon-kechengjuzhen font14"})}]},{title:"\u8FBE\u6210\u8BC4\u4EF7",key:"4",icon:u.createElement("i",{className:"iconfont icon-dachengpinggu"}),children:[{title:"\u8BFE\u7A0B\u8BC4\u4EF7",key:"/engineering/evaluate/course",icon:u.createElement("i",{className:"iconfont icon-kechengpingjia font14"})},{title:"\u6307\u6807\u8BC4\u4EF7",key:"/engineering/evaluate/norm",icon:u.createElement("i",{className:"iconfont icon-zhibiaopingjia font14"})},{title:"\u6587\u6863\u751F\u6210",key:"/engineering/evaluate/document",icon:u.createElement("i",{className:"iconfont icon-wendangshengcheng font14"})}]}],B=()=>{var I;const F=G==null?void 0:G.pathname;let ne=[],Oe=[];for(let be=0;be<b.length;be++)if((I=b[be].children)!=null&&I.length){for(let Me=0;Me<b[be].children.length;Me++)if(F.includes(b[be].children[Me].key))return ne=[b[be].key],Oe=[b[be].children[Me].key],{filterOpenKeys:ne,filterSelectedKeys:Oe}}return{filterOpenKeys:ne,filterSelectedKeys:Oe}},P=I=>{console.log(he,I,44),we(I)},x=I=>{var F;const ne=()=>{A.history.push(I)};Z!=null&&Z.key?(0,p.t)(ne,`\u6BD5\u4E1A\u8981\u6C42\u6307\u6807\u70B9\u5B58\u5728\u6CA1\u6709\u5173\u8054${((F=Z==null?void 0:Z.params)==null?void 0:F.tab)==="1"?"\u57F9\u517B\u76EE\u6807":"\u901A\u7528\u6807\u51C6"}\uFF0C\u786E\u5B9A\u662F\u5426\u79BB\u5F00\u5F53\u524D\u9875\u9762\uFF1F`):ne()};return u.createElement("div",{className:c.wrap},_e&&(G==null?void 0:G.pathname)!=="/exam"&&u.createElement("div",{className:c.left},u.createElement("aside",{onClick:()=>x("/engineering/navigation"),className:c.home},u.createElement("div",{className:"mr15"},u.createElement("img",{width:32,src:w})),u.createElement("div",{className:c.info},u.createElement("div",null,"\u8BA4\u8BC1\u5BFC\u822A"),u.createElement("div",null,"CERTIFICATION"))),u.createElement(C.default,{mode:"inline",selectedKeys:Ze,openKeys:he,onOpenChange:P,inlineIndent:15,className:c.menu,expandIcon:I=>I.isOpen?u.createElement("span",{style:{visibility:"hidden"},className:"icon-xiala3 custom-icon"}):u.createElement("span",{style:{visibility:"hidden"},className:"icon-xiala2 custom-icon"})},b.map(I=>{var F;if(!I.isMenu)return u.createElement(e,{key:I.key,icon:I.icon,title:I.title},I.children&&((F=I.children)==null?void 0:F.map(ne=>u.createElement(C.default.Item,{key:ne.key},u.createElement("aside",{onClick:()=>x(ne.key)},u.createElement("span",{className:"mr15"},ne==null?void 0:ne.icon),ne.title)))))}))),u.createElement("div",{className:c.right},u.createElement(A.Outlet,null)))};var k=(0,A.connect)(({globalSetting:pe,user:ee,engineering:ce})=>({user:ee,globalSetting:pe,engineering:ce}))($)},71322:function(Je,q,s){s.d(q,{D:function(){return Ze},Z:function(){return Z}});var u=s(87462),c=s(67294),C={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"},A=C,p=s(74643),E=function(B,P){return c.createElement(p.Z,(0,u.Z)({},B,{ref:P,icon:A}))},w=c.forwardRef(E),j=s(22751),e=s(91034),$=s(94184),k=s.n($),pe=s(10366),ce=b=>!isNaN(parseFloat(b))&&isFinite(b),me=s(53124),G=s(84321),he=function(b,B){var P={};for(var x in b)Object.prototype.hasOwnProperty.call(b,x)&&B.indexOf(x)<0&&(P[x]=b[x]);if(b!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,x=Object.getOwnPropertySymbols(b);I<x.length;I++)B.indexOf(x[I])<0&&Object.prototype.propertyIsEnumerable.call(b,x[I])&&(P[x[I]]=b[x[I]]);return P};const we={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},Ze=c.createContext({}),Ce=(()=>{let b=0;return function(){let B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return b+=1,`${B}${b}`}})();var Z=c.forwardRef((b,B)=>{const{prefixCls:P,className:x,trigger:I,children:F,defaultCollapsed:ne=!1,theme:Oe="dark",style:be={},collapsible:Me=!1,reverseArrow:Ae=!1,width:Vt=200,collapsedWidth:lt=80,zeroWidthTriggerStyle:wt,breakpoint:De,onCollapse:He,onBreakpoint:ot}=b,xt=he(b,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:st}=(0,c.useContext)(G.Gs),[je,$t]=(0,c.useState)("collapsed"in b?b.collapsed:ne),[pt,ut]=(0,c.useState)(!1);(0,c.useEffect)(()=>{"collapsed"in b&&$t(b.collapsed)},[b.collapsed]);const un=(Y,v)=>{"collapsed"in b||$t(Y),He==null||He(Y,v)},Ot=(0,c.useRef)();Ot.current=Y=>{ut(Y.matches),ot==null||ot(Y.matches),je!==Y.matches&&un(Y.matches,"responsive")},(0,c.useEffect)(()=>{function Y(i){return Ot.current(i)}let v;if(typeof window!="undefined"){const{matchMedia:i}=window;if(i&&De&&De in we){v=i(`(max-width: ${we[De]})`);try{v.addEventListener("change",Y)}catch(r){v.addListener(Y)}Y(v)}}return()=>{try{v==null||v.removeEventListener("change",Y)}catch(i){v==null||v.removeListener(Y)}}},[De]),(0,c.useEffect)(()=>{const Y=Ce("ant-sider-");return st.addSider(Y),()=>st.removeSider(Y)},[]);const Zt=()=>{un(!je,"clickTrigger")},{getPrefixCls:Cn}=(0,c.useContext)(me.E_),cn=()=>{const Y=Cn("layout-sider",P),v=(0,pe.Z)(xt,["collapsed"]),i=je?lt:Vt,r=ce(i)?`${i}px`:String(i),f=parseFloat(String(lt||0))===0?c.createElement("span",{onClick:Zt,className:k()(`${Y}-zero-width-trigger`,`${Y}-zero-width-trigger-${Ae?"right":"left"}`),style:wt},I||c.createElement(w,null)):null,M={expanded:Ae?c.createElement(e.Z,null):c.createElement(j.Z,null),collapsed:Ae?c.createElement(j.Z,null):c.createElement(e.Z,null)}[je?"collapsed":"expanded"],R=I!==null?f||c.createElement("div",{className:`${Y}-trigger`,onClick:Zt,style:{width:r}},I||M):null,K=Object.assign(Object.assign({},be),{flex:`0 0 ${r}`,maxWidth:r,minWidth:r,width:r}),X=k()(Y,`${Y}-${Oe}`,{[`${Y}-collapsed`]:!!je,[`${Y}-has-trigger`]:Me&&I!==null&&!f,[`${Y}-below`]:!!pt,[`${Y}-zero-width`]:parseFloat(r)===0},x);return c.createElement("aside",Object.assign({className:X},v,{style:K,ref:B}),c.createElement("div",{className:`${Y}-children`},F),Me||pt&&f?R:null)},Mt=c.useMemo(()=>({siderCollapsed:je}),[je]);return c.createElement(Ze.Provider,{value:Mt},cn())})},84321:function(Je,q,s){s.d(q,{VY:function(){return Ce},$_:function(){return Ze},h4:function(){return we},Gs:function(){return ee},ZP:function(){return _e}});var u=s(74902),c=s(94184),C=s.n(c),A=s(10366),p=s(67294),E=s(53124),w=s(67968),e=Z=>{const{componentCls:b,bodyBg:B,lightSiderBg:P,lightTriggerBg:x,lightTriggerColor:I}=Z;return{[`${b}-sider-light`]:{background:P,[`${b}-sider-trigger`]:{color:I,background:x},[`${b}-sider-zero-width-trigger`]:{color:I,background:x,border:`1px solid ${B}`,borderInlineStart:0}}}};const $=Z=>{const{antCls:b,componentCls:B,colorText:P,triggerColor:x,footerBg:I,triggerBg:F,headerHeight:ne,headerPadding:Oe,headerColor:be,footerPadding:Me,triggerHeight:Ae,zeroTriggerHeight:Vt,zeroTriggerWidth:lt,motionDurationMid:wt,motionDurationSlow:De,fontSize:He,borderRadius:ot,bodyBg:xt,headerBg:st,siderBg:je}=Z;return{[B]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:xt,"&, *":{boxSizing:"border-box"},[`&${B}-has-sider`]:{flexDirection:"row",[`> ${B}, > ${B}-content`]:{width:0}},[`${B}-header, &${B}-footer`]:{flex:"0 0 auto"},[`${B}-sider`]:{position:"relative",minWidth:0,background:je,transition:`all ${wt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${b}-menu${b}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Ae},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Ae,color:x,lineHeight:`${Ae}px`,textAlign:"center",background:F,cursor:"pointer",transition:`all ${wt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:ne,insetInlineEnd:-lt,zIndex:1,width:lt,height:Vt,color:x,fontSize:Z.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:je,borderStartStartRadius:0,borderStartEndRadius:ot,borderEndEndRadius:ot,borderEndStartRadius:0,cursor:"pointer",transition:`background ${De} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${De}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-lt,borderStartStartRadius:ot,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ot}}}}},e(Z)),{"&-rtl":{direction:"rtl"}}),[`${B}-header`]:{height:ne,padding:Oe,color:be,lineHeight:`${ne}px`,background:st,[`${b}-menu`]:{lineHeight:"inherit"}},[`${B}-footer`]:{padding:Me,color:P,fontSize:He,background:I},[`${B}-content`]:{flex:"auto",minHeight:0}}};var k=(0,w.Z)("Layout",Z=>[$(Z)],Z=>{const{colorBgLayout:b,controlHeight:B,controlHeightLG:P,colorText:x,controlHeightSM:I,marginXXS:F,colorTextLightSolid:ne,colorBgContainer:Oe}=Z,be=P*1.25;return{colorBgHeader:"#001529",colorBgBody:b,colorBgTrigger:"#002140",bodyBg:b,headerBg:"#001529",headerHeight:B*2,headerPadding:`0 ${be}px`,headerColor:x,footerPadding:`${I}px ${be}px`,footerBg:b,siderBg:"#001529",triggerHeight:P+F*2,triggerBg:"#002140",triggerColor:ne,zeroTriggerWidth:P,zeroTriggerHeight:P,lightSiderBg:Oe,lightTriggerBg:Oe,lightTriggerColor:x}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),pe=function(Z,b){var B={};for(var P in Z)Object.prototype.hasOwnProperty.call(Z,P)&&b.indexOf(P)<0&&(B[P]=Z[P]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,P=Object.getOwnPropertySymbols(Z);x<P.length;x++)b.indexOf(P[x])<0&&Object.prototype.propertyIsEnumerable.call(Z,P[x])&&(B[P[x]]=Z[P[x]]);return B};const ee=p.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ce(Z){let{suffixCls:b,tagName:B,displayName:P}=Z;return x=>p.forwardRef((F,ne)=>p.createElement(x,Object.assign({ref:ne,suffixCls:b,tagName:B},F)))}const me=p.forwardRef((Z,b)=>{const{prefixCls:B,suffixCls:P,className:x,tagName:I}=Z,F=pe(Z,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:ne}=p.useContext(E.E_),Oe=ne("layout",B),[be,Me]=k(Oe),Ae=P?`${Oe}-${P}`:Oe;return be(p.createElement(I,Object.assign({className:C()(B||Ae,x,Me),ref:b},F)))}),G=p.forwardRef((Z,b)=>{const{direction:B}=p.useContext(E.E_),[P,x]=p.useState([]),{prefixCls:I,className:F,rootClassName:ne,children:Oe,hasSider:be,tagName:Me,style:Ae}=Z,Vt=pe(Z,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),lt=(0,A.Z)(Vt,["suffixCls"]),{getPrefixCls:wt,layout:De}=p.useContext(E.E_),He=wt("layout",I),[ot,xt]=k(He),st=C()(He,{[`${He}-has-sider`]:typeof be=="boolean"?be:P.length>0,[`${He}-rtl`]:B==="rtl"},De==null?void 0:De.className,F,ne,xt),je=p.useMemo(()=>({siderHook:{addSider:$t=>{x(pt=>[].concat((0,u.Z)(pt),[$t]))},removeSider:$t=>{x(pt=>pt.filter(ut=>ut!==$t))}}}),[]);return ot(p.createElement(ee.Provider,{value:je},p.createElement(Me,Object.assign({ref:b,className:st,style:Object.assign(Object.assign({},De==null?void 0:De.style),Ae)},lt),Oe)))}),he=ce({tagName:"div",displayName:"Layout"})(G),we=ce({suffixCls:"header",tagName:"header",displayName:"Header"})(me),Ze=ce({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(me),Ce=ce({suffixCls:"content",tagName:"main",displayName:"Content"})(me);var _e=he},76529:function(Je,q,s){s.d(q,{J:function(){return E}});var u=s(67294),c=s(4173),C=s(60276),A=function(w,j){var e={};for(var $ in w)Object.prototype.hasOwnProperty.call(w,$)&&j.indexOf($)<0&&(e[$]=w[$]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var k=0,$=Object.getOwnPropertySymbols(w);k<$.length;k++)j.indexOf($[k])<0&&Object.prototype.propertyIsEnumerable.call(w,$[k])&&(e[$[k]]=w[$[k]]);return e};const p=u.createContext(null),E=u.forwardRef((w,j)=>{const{children:e}=w,$=A(w,["children"]),k=u.useContext(p),pe=u.useMemo(()=>Object.assign(Object.assign({},k),$),[k,$.prefixCls,$.mode,$.selectable]);return u.createElement(p.Provider,{value:pe},u.createElement(c.BR,null,(0,C.supportNodeRef)(e)?u.cloneElement(e,{ref:j}):e))});q.Z=p},68508:function(Je,q,s){s.d(q,{default:function(){return Y}});var u=s(78595),c=s(67294),C=s(71322),A=s(94184),p=s.n(A),E=s(53124),w=function(v,i){var r={};for(var f in v)Object.prototype.hasOwnProperty.call(v,f)&&i.indexOf(f)<0&&(r[f]=v[f]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,f=Object.getOwnPropertySymbols(v);g<f.length;g++)i.indexOf(f[g])<0&&Object.prototype.propertyIsEnumerable.call(v,f[g])&&(r[f[g]]=v[f[g]]);return r},e=v=>{const{prefixCls:i,className:r,dashed:f}=v,g=w(v,["prefixCls","className","dashed"]),{getPrefixCls:h}=c.useContext(E.E_),M=h("menu",i),R=p()({[`${M}-item-divider-dashed`]:!!f},r);return c.createElement(u.iz,Object.assign({className:R},g))},$=s(37419),k=s(10366),pe=s(83062),ee=s(96159),me=(0,c.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),he=v=>{var i;const{className:r,children:f,icon:g,title:h,danger:M}=v,{prefixCls:R,firstLevel:K,direction:X,disableMenuItemTitleTooltip:de,inlineCollapsed:le}=c.useContext(me),Be=ke=>{const Fe=c.createElement("span",{className:`${R}-title-content`},f);return(!g||(0,ee.l$)(f)&&f.type==="span")&&f&&ke&&K&&typeof f=="string"?c.createElement("div",{className:`${R}-inline-collapsed-noicon`},f.charAt(0)):Fe},{siderCollapsed:Ie}=c.useContext(C.D);let re=h;typeof h=="undefined"?re=K?f:"":h===!1&&(re="");const Q={title:re};!Ie&&!le&&(Q.title=null,Q.open=!1);const Re=(0,$.Z)(f).length;let ye=c.createElement(u.ck,Object.assign({},(0,k.Z)(v,["title","icon","danger"]),{className:p()({[`${R}-item-danger`]:M,[`${R}-item-only-child`]:(g?Re+1:Re)===1},r),title:typeof h=="string"?h:void 0}),(0,ee.Tm)(g,{className:p()((0,ee.l$)(g)?(i=g.props)===null||i===void 0?void 0:i.className:"",`${R}-item-icon`)}),Be(le));return de||(ye=c.createElement(pe.Z,Object.assign({},Q,{placement:X==="rtl"?"left":"right",overlayClassName:`${R}-inline-collapsed-tooltip`}),ye)),ye},Ze=v=>{var i;const{popupClassName:r,icon:f,title:g,theme:h}=v,M=c.useContext(me),{prefixCls:R,inlineCollapsed:K,theme:X}=M,de=(0,u.Xl)();let le;if(!f)le=K&&!de.length&&g&&typeof g=="string"?c.createElement("div",{className:`${R}-inline-collapsed-noicon`},g.charAt(0)):c.createElement("span",{className:`${R}-title-content`},g);else{const Ie=(0,ee.l$)(g)&&g.type==="span";le=c.createElement(c.Fragment,null,(0,ee.Tm)(f,{className:p()((0,ee.l$)(f)?(i=f.props)===null||i===void 0?void 0:i.className:"",`${R}-item-icon`)}),Ie?g:c.createElement("span",{className:`${R}-title-content`},g))}const Be=c.useMemo(()=>Object.assign(Object.assign({},M),{firstLevel:!1}),[M]);return c.createElement(me.Provider,{value:Be},c.createElement(u.Wd,Object.assign({},(0,k.Z)(v,["icon"]),{title:le,popupClassName:p()(R,r,`${R}-${h||X}`)})))},Ce=s(25877),_e=s(60276),Z=s(33603),b=s(76529),B=function(v,i){var r={};for(var f in v)Object.prototype.hasOwnProperty.call(v,f)&&i.indexOf(f)<0&&(r[f]=v[f]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,f=Object.getOwnPropertySymbols(v);g<f.length;g++)i.indexOf(f[g])<0&&Object.prototype.propertyIsEnumerable.call(v,f[g])&&(r[f[g]]=v[f[g]]);return r};function P(v){return(v||[]).map((i,r)=>{if(i&&typeof i=="object"){const f=i,{label:g,children:h,key:M,type:R}=f,K=B(f,["label","children","key","type"]),X=M!=null?M:`tmp-${r}`;return h||R==="group"?R==="group"?c.createElement(u.BW,Object.assign({key:X},K,{title:g}),P(h)):c.createElement(Ze,Object.assign({key:X},K,{title:g}),P(h)):R==="divider"?c.createElement(e,Object.assign({key:X},K)):c.createElement(he,Object.assign({key:X},K),g)}return null}).filter(i=>i)}function x(v){return c.useMemo(()=>v&&P(v),[v])}var I=s(84780),F=s(14747),ne=s(33507),Oe=s(67771),be=s(50438),Me=s(67968),Ae=s(45503),lt=v=>{const{componentCls:i,motionDurationSlow:r,horizontalLineHeight:f,colorSplit:g,lineWidth:h,lineType:M,itemPaddingInline:R}=v;return{[`${i}-horizontal`]:{lineHeight:f,border:0,borderBottom:`${h}px ${M} ${g}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${i}-item, ${i}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:R},[`> ${i}-item:hover,
|
|
> ${i}-item-active,
|
|
> ${i}-submenu ${i}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${i}-item, ${i}-submenu-title`]:{transition:[`border-color ${r}`,`background ${r}`].join(",")},[`${i}-submenu-arrow`]:{display:"none"}}}},De=v=>{let{componentCls:i,menuArrowOffset:r}=v;return{[`${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(-${r})`},"&::after":{transform:`rotate(45deg) translateY(${r})`}}}}};const He=v=>Object.assign({},(0,F.oN)(v));var xt=(v,i)=>{const{componentCls:r,itemColor:f,itemSelectedColor:g,groupTitleColor:h,itemBg:M,subMenuItemBg:R,itemSelectedBg:K,activeBarHeight:X,activeBarWidth:de,activeBarBorderWidth:le,motionDurationSlow:Be,motionEaseInOut:Ie,motionEaseOut:re,itemPaddingInline:Q,motionDurationMid:Re,itemHoverColor:ye,lineType:ke,colorSplit:Fe,itemDisabledColor:Yt,dangerItemColor:Xt,dangerItemHoverColor:ht,dangerItemSelectedColor:ct,dangerItemActiveBg:Se,dangerItemSelectedBg:Xe,itemHoverBg:Rt,itemActiveBg:dt,menuSubMenuBg:Gt,horizontalItemSelectedColor:Qt,horizontalItemSelectedBg:bt,horizontalItemBorderRadius:Dt,horizontalItemHoverBg:Jt,popupBg:In}=v;return{[`${r}-${i}, ${r}-${i} > ${r}`]:{color:f,background:M,[`&${r}-root:focus-visible`]:Object.assign({},He(v)),[`${r}-item-group-title`]:{color:h},[`${r}-submenu-selected`]:{[`> ${r}-submenu-title`]:{color:g}},[`${r}-item-disabled, ${r}-submenu-disabled`]:{color:`${Yt} !important`},[`${r}-item:not(${r}-item-selected):not(${r}-submenu-selected)`]:{[`&:hover, > ${r}-submenu-title:hover`]:{color:ye}},[`&:not(${r}-horizontal)`]:{[`${r}-item:not(${r}-item-selected)`]:{"&:hover":{backgroundColor:Rt},"&:active":{backgroundColor:dt}},[`${r}-submenu-title`]:{"&:hover":{backgroundColor:Rt},"&:active":{backgroundColor:dt}}},[`${r}-item-danger`]:{color:Xt,[`&${r}-item:hover`]:{[`&:not(${r}-item-selected):not(${r}-submenu-selected)`]:{color:ht}},[`&${r}-item:active`]:{background:Se}},[`${r}-item a`]:{"&, &:hover":{color:"inherit"}},[`${r}-item-selected`]:{color:g,[`&${r}-item-danger`]:{color:ct},"a, a:hover":{color:"inherit"}},[`& ${r}-item-selected`]:{backgroundColor:K,[`&${r}-item-danger`]:{backgroundColor:Xe}},[`${r}-item, ${r}-submenu-title`]:{[`&:not(${r}-item-disabled):focus-visible`]:Object.assign({},He(v))},[`&${r}-submenu > ${r}`]:{backgroundColor:Gt},[`&${r}-popup > ${r}`]:{backgroundColor:In},[`&${r}-horizontal`]:Object.assign(Object.assign({},i==="dark"?{borderBottom:0}:{}),{[`> ${r}-item, > ${r}-submenu`]:{top:le,marginTop:-le,marginBottom:0,borderRadius:Dt,"&::after":{position:"absolute",insetInline:Q,bottom:0,borderBottom:`${X}px solid transparent`,transition:`border-color ${Be} ${Ie}`,content:'""'},"&:hover, &-active, &-open":{background:Jt,"&::after":{borderBottomWidth:X,borderBottomColor:Qt}},"&-selected":{color:Qt,backgroundColor:bt,"&:hover":{backgroundColor:bt},"&::after":{borderBottomWidth:X,borderBottomColor:Qt}}}}),[`&${r}-root`]:{[`&${r}-inline, &${r}-vertical`]:{borderInlineEnd:`${le}px ${ke} ${Fe}`}},[`&${r}-inline`]:{[`${r}-sub${r}-inline`]:{background:R},[`${r}-item, ${r}-submenu-title`]:le&&de?{width:`calc(100% + ${le}px)`}:{},[`${r}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${de}px solid ${g}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Re} ${re}`,`opacity ${Re} ${re}`].join(","),content:'""'},[`&${r}-item-danger`]:{"&::after":{borderInlineEndColor:ct}}},[`${r}-selected, ${r}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Re} ${Ie}`,`opacity ${Re} ${Ie}`].join(",")}}}}}};const st=v=>{const{componentCls:i,itemHeight:r,itemMarginInline:f,padding:g,menuArrowSize:h,marginXS:M,itemMarginBlock:R}=v,K=g+h+M;return{[`${i}-item`]:{position:"relative",overflow:"hidden"},[`${i}-item, ${i}-submenu-title`]:{height:r,lineHeight:`${r}px`,paddingInline:g,overflow:"hidden",textOverflow:"ellipsis",marginInline:f,marginBlock:R,width:`calc(100% - ${f*2}px)`},[`> ${i}-item,
|
|
> ${i}-submenu > ${i}-submenu-title`]:{height:r,lineHeight:`${r}px`},[`${i}-item-group-list ${i}-submenu-title,
|
|
${i}-submenu-title`]:{paddingInlineEnd:K}}};var $t=v=>{const{componentCls:i,iconCls:r,itemHeight:f,colorTextLightSolid:g,dropdownWidth:h,controlHeightLG:M,motionDurationMid:R,motionEaseOut:K,paddingXL:X,itemMarginInline:de,fontSizeLG:le,motionDurationSlow:Be,paddingXS:Ie,boxShadowSecondary:re,collapsedWidth:Q,collapsedIconSize:Re}=v,ye={height:f,lineHeight:`${f}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[i]:{"&-inline, &-vertical":Object.assign({[`&${i}-root`]:{boxShadow:"none"}},st(v))},[`${i}-submenu-popup`]:{[`${i}-vertical`]:Object.assign(Object.assign({},st(v)),{boxShadow:re})}},{[`${i}-submenu-popup ${i}-vertical${i}-sub`]:{minWidth:h,maxHeight:`calc(100vh - ${M*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${i}-inline`]:{width:"100%",[`&${i}-root`]:{[`${i}-item, ${i}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Be}`,`background ${Be}`,`padding ${R} ${K}`].join(","),[`> ${i}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${i}-sub${i}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${i}-submenu > ${i}-submenu-title`]:ye,[`& ${i}-item-group-title`]:{paddingInlineStart:X}},[`${i}-item`]:ye}},{[`${i}-inline-collapsed`]:{width:Q,[`&${i}-root`]:{[`${i}-item, ${i}-submenu ${i}-submenu-title`]:{[`> ${i}-inline-collapsed-noicon`]:{fontSize:le,textAlign:"center"}}},[`> ${i}-item,
|
|
> ${i}-item-group > ${i}-item-group-list > ${i}-item,
|
|
> ${i}-item-group > ${i}-item-group-list > ${i}-submenu > ${i}-submenu-title,
|
|
> ${i}-submenu > ${i}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${le/2}px - ${de}px)`,textOverflow:"clip",[`
|
|
${i}-submenu-arrow,
|
|
${i}-submenu-expand-icon
|
|
`]:{opacity:0},[`${i}-item-icon, ${r}`]:{margin:0,fontSize:Re,lineHeight:`${f}px`,"+ span":{display:"inline-block",opacity:0}}},[`${i}-item-icon, ${r}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${i}-item-icon, ${r}`]:{display:"none"},"a, a:hover":{color:g}},[`${i}-item-group-title`]:Object.assign(Object.assign({},F.vS),{paddingInline:Ie})}}]};const pt=v=>{const{componentCls:i,motionDurationSlow:r,motionDurationMid:f,motionEaseInOut:g,motionEaseOut:h,iconCls:M,iconSize:R,iconMarginInlineEnd:K}=v;return{[`${i}-item, ${i}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${r}`,`background ${r}`,`padding ${r} ${g}`].join(","),[`${i}-item-icon, ${M}`]:{minWidth:R,fontSize:R,transition:[`font-size ${f} ${h}`,`margin ${r} ${g}`,`color ${r}`].join(","),"+ span":{marginInlineStart:K,opacity:1,transition:[`opacity ${r} ${g}`,`margin ${r}`,`color ${r}`].join(",")}},[`${i}-item-icon`]:Object.assign({},(0,F.Ro)()),[`&${i}-item-only-child`]:{[`> ${M}, > ${i}-item-icon`]:{marginInlineEnd:0}}},[`${i}-item-disabled, ${i}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${i}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},ut=v=>{const{componentCls:i,motionDurationSlow:r,motionEaseInOut:f,borderRadius:g,menuArrowSize:h,menuArrowOffset:M}=v;return{[`${i}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:v.margin,width:h,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${r} ${f}, opacity ${r}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:h*.6,height:h*.15,backgroundColor:"currentcolor",borderRadius:g,transition:[`background ${r} ${f}`,`transform ${r} ${f}`,`top ${r} ${f}`,`color ${r} ${f}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${M})`},"&::after":{transform:`rotate(-45deg) translateY(${M})`}}}}},un=v=>{const{antCls:i,componentCls:r,fontSize:f,motionDurationSlow:g,motionDurationMid:h,motionEaseInOut:M,paddingXS:R,padding:K,colorSplit:X,lineWidth:de,zIndexPopup:le,borderRadiusLG:Be,subMenuItemBorderRadius:Ie,menuArrowSize:re,menuArrowOffset:Q,lineType:Re,menuPanelMaskInset:ye,groupTitleLineHeight:ke,groupTitleFontSize:Fe}=v;return[{"":{[`${r}`]:Object.assign(Object.assign({},(0,F.dF)()),{"&-hidden":{display:"none"}})},[`${r}-submenu-hidden`]:{display:"none"}},{[r]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,F.Wf)(v)),(0,F.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:f,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${g} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${r}-item`]:{flex:"none"}},[`${r}-item, ${r}-submenu, ${r}-submenu-title`]:{borderRadius:v.itemBorderRadius},[`${r}-item-group-title`]:{padding:`${R}px ${K}px`,fontSize:Fe,lineHeight:ke,transition:`all ${g}`},[`&-horizontal ${r}-submenu`]:{transition:[`border-color ${g} ${M}`,`background ${g} ${M}`].join(",")},[`${r}-submenu, ${r}-submenu-inline`]:{transition:[`border-color ${g} ${M}`,`background ${g} ${M}`,`padding ${h} ${M}`].join(",")},[`${r}-submenu ${r}-sub`]:{cursor:"initial",transition:[`background ${g} ${M}`,`padding ${g} ${M}`].join(",")},[`${r}-title-content`]:{transition:`color ${g}`},[`${r}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${r}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:X,borderStyle:Re,borderWidth:0,borderTopWidth:de,marginBlock:de,padding:0,"&-dashed":{borderStyle:"dashed"}}}),pt(v)),{[`${r}-item-group`]:{[`${r}-item-group-list`]:{margin:0,padding:0,[`${r}-item, ${r}-submenu-title`]:{paddingInline:`${f*2}px ${K}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:le,borderRadius:Be,boxShadow:"none",transformOrigin:"0 0",[`&${r}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ye}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ye},"\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},[`> ${r}`]:Object.assign(Object.assign(Object.assign({borderRadius:Be},pt(v)),ut(v)),{[`${r}-item, ${r}-submenu > ${r}-submenu-title`]:{borderRadius:Ie},[`${r}-submenu-title::after`]:{transition:`transform ${g} ${M}`}})}}),ut(v)),{[`&-inline-collapsed ${r}-submenu-arrow,
|
|
&-inline ${r}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Q})`},"&::after":{transform:`rotate(45deg) translateX(-${Q})`}},[`${r}-submenu-open${r}-submenu-inline > ${r}-submenu-title > ${r}-submenu-arrow`]:{transform:`translateY(-${re*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Q})`},"&::before":{transform:`rotate(45deg) translateX(${Q})`}}})},{[`${i}-layout-header`]:{[r]:{lineHeight:"inherit"}}}]};var Ot=(v,i)=>(0,Me.Z)("Menu",f=>{if(i===!1)return[];const{colorBgElevated:g,colorPrimary:h,colorTextLightSolid:M,controlHeightLG:R,fontSize:K,darkItemColor:X,darkDangerItemColor:de,darkItemBg:le,darkSubMenuItemBg:Be,darkItemSelectedColor:Ie,darkItemSelectedBg:re,darkDangerItemSelectedBg:Q,darkItemHoverBg:Re,darkGroupTitleColor:ye,darkItemHoverColor:ke,darkItemDisabledColor:Fe,darkDangerItemHoverColor:Yt,darkDangerItemSelectedColor:Xt,darkDangerItemActiveBg:ht}=f,ct=K/7*5,Se=(0,Ae.TS)(f,{menuArrowSize:ct,menuHorizontalHeight:R*1.15,menuArrowOffset:`${ct*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:g}),Xe=(0,Ae.TS)(Se,{itemColor:X,itemHoverColor:ke,groupTitleColor:ye,itemSelectedColor:Ie,itemBg:le,popupBg:le,subMenuItemBg:Be,itemActiveBg:"transparent",itemSelectedBg:re,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Re,itemDisabledColor:Fe,dangerItemColor:de,dangerItemHoverColor:Yt,dangerItemSelectedColor:Xt,dangerItemActiveBg:ht,dangerItemSelectedBg:Q,menuSubMenuBg:Be,horizontalItemSelectedColor:M,horizontalItemSelectedBg:h});return[un(Se),lt(Se),$t(Se),xt(Se,"light"),xt(Xe,"dark"),De(Se),(0,ne.Z)(Se),(0,Oe.oN)(Se,"slide-up"),(0,Oe.oN)(Se,"slide-down"),(0,be._y)(Se,"zoom-big")]},f=>{const{colorPrimary:g,colorError:h,colorTextDisabled:M,colorErrorBg:R,colorText:K,colorTextDescription:X,colorBgContainer:de,colorFillAlter:le,colorFillContent:Be,lineWidth:Ie,lineWidthBold:re,controlItemBgActive:Q,colorBgTextHover:Re,controlHeightLG:ye,lineHeight:ke,colorBgElevated:Fe,marginXXS:Yt,padding:Xt,fontSize:ht,controlHeightSM:ct,fontSizeLG:Se,colorTextLightSolid:Xe,colorErrorHover:Rt}=f,dt=new I.C(Xe).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:f.zIndexPopupBase+50,radiusItem:f.borderRadiusLG,itemBorderRadius:f.borderRadiusLG,radiusSubMenuItem:f.borderRadiusSM,subMenuItemBorderRadius:f.borderRadiusSM,colorItemText:K,itemColor:K,colorItemTextHover:K,itemHoverColor:K,colorItemTextHoverHorizontal:g,horizontalItemHoverColor:g,colorGroupTitle:X,groupTitleColor:X,colorItemTextSelected:g,itemSelectedColor:g,colorItemTextSelectedHorizontal:g,horizontalItemSelectedColor:g,colorItemBg:de,itemBg:de,colorItemBgHover:Re,itemHoverBg:Re,colorItemBgActive:Be,itemActiveBg:Q,colorSubItemBg:le,subMenuItemBg:le,colorItemBgSelected:Q,itemSelectedBg:Q,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:re,activeBarHeight:re,colorActiveBarBorderSize:Ie,activeBarBorderWidth:Ie,colorItemTextDisabled:M,itemDisabledColor:M,colorDangerItemText:h,dangerItemColor:h,colorDangerItemTextHover:h,dangerItemHoverColor:h,colorDangerItemTextSelected:h,dangerItemSelectedColor:h,colorDangerItemBgActive:R,dangerItemActiveBg:R,colorDangerItemBgSelected:R,dangerItemSelectedBg:R,itemMarginInline:f.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ye,groupTitleLineHeight:ke,collapsedWidth:ye*2,popupBg:Fe,itemMarginBlock:Yt,itemPaddingInline:Xt,horizontalLineHeight:`${ye*1.15}px`,iconSize:ht,iconMarginInlineEnd:ct-ht,collapsedIconSize:Se,groupTitleFontSize:ht,darkItemDisabledColor:new I.C(Xe).setAlpha(.25).toRgbString(),darkItemColor:dt,darkDangerItemColor:h,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Xe,darkItemSelectedBg:g,darkDangerItemSelectedBg:h,darkItemHoverBg:"transparent",darkGroupTitleColor:dt,darkItemHoverColor:Xe,darkDangerItemHoverColor:Rt,darkDangerItemSelectedColor:Xe,darkDangerItemActiveBg:h}},{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),Zt=function(v,i){var r={};for(var f in v)Object.prototype.hasOwnProperty.call(v,f)&&i.indexOf(f)<0&&(r[f]=v[f]);if(v!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,f=Object.getOwnPropertySymbols(v);g<f.length;g++)i.indexOf(f[g])<0&&Object.prototype.propertyIsEnumerable.call(v,f[g])&&(r[f[g]]=v[f[g]]);return r},cn=(0,c.forwardRef)((v,i)=>{var r,f;const g=c.useContext(b.Z),h=g||{},{getPrefixCls:M,getPopupContainer:R,direction:K,menu:X}=c.useContext(E.E_),de=M(),{prefixCls:le,className:Be,style:Ie,theme:re="light",expandIcon:Q,_internalDisableMenuItemTitleTooltip:Re,inlineCollapsed:ye,siderCollapsed:ke,items:Fe,children:Yt,rootClassName:Xt,mode:ht,selectable:ct,onClick:Se,overflowedIndicatorPopupClassName:Xe}=v,Rt=Zt(v,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),dt=(0,k.Z)(Rt,["collapsedWidth"]),Gt=x(Fe)||Yt;(r=h.validator)===null||r===void 0||r.call(h,{mode:ht});const Qt=(0,_e.useEvent)(function(){var yt;Se==null||Se.apply(void 0,arguments),(yt=h.onClick)===null||yt===void 0||yt.call(h)}),bt=h.mode||ht,Dt=ct!=null?ct:h.selectable,Jt=c.useMemo(()=>ke!==void 0?ke:ye,[ye,ke]),In={horizontal:{motionName:`${de}-slide-up`},inline:(0,Z.Z)(de),other:{motionName:`${de}-zoom-big`}},Bt=M("menu",le||h.prefixCls),[zn,An]=Ot(Bt,!g),Nn=p()(`${Bt}-${re}`,X==null?void 0:X.className,Be);let on;if(typeof Q=="function")on=Q;else if(Q===null||Q===!1)on=null;else if(h.expandIcon===null||h.expandIcon===!1)on=null;else{const yt=Q!=null?Q:h.expandIcon;on=(0,ee.Tm)(yt,{className:p()(`${Bt}-submenu-expand-icon`,(0,ee.l$)(yt)?(f=yt.props)===null||f===void 0?void 0:f.className:"")})}const Hn=c.useMemo(()=>({prefixCls:Bt,inlineCollapsed:Jt||!1,direction:K,firstLevel:!0,theme:re,mode:bt,disableMenuItemTitleTooltip:Re}),[Bt,Jt,K,Re,re]);return zn(c.createElement(b.Z.Provider,{value:null},c.createElement(me.Provider,{value:Hn},c.createElement(u.ZP,Object.assign({getPopupContainer:R,overflowedIndicator:c.createElement(Ce.Z,null),overflowedIndicatorPopupClassName:p()(Bt,`${Bt}-${re}`,Xe),mode:bt,selectable:Dt,onClick:Qt},dt,{inlineCollapsed:Jt,style:Object.assign(Object.assign({},X==null?void 0:X.style),Ie),className:Nn,prefixCls:Bt,direction:K,defaultMotions:In,expandIcon:on,ref:i,rootClassName:p()(Xt,An)}),Gt))))});const Mt=(0,c.forwardRef)((v,i)=>{const r=(0,c.useRef)(null),f=c.useContext(C.D);return(0,c.useImperativeHandle)(i,()=>({menu:r.current,focus:g=>{var h;(h=r.current)===null||h===void 0||h.focus(g)}})),c.createElement(cn,Object.assign({ref:r},v,f))});Mt.Item=he,Mt.SubMenu=Ze,Mt.Divider=e,Mt.ItemGroup=u.BW;var Y=Mt},33507:function(Je,q){const s=u=>({[u.componentCls]:{[`${u.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${u.motionDurationMid} ${u.motionEaseInOut},
|
|
opacity ${u.motionDurationMid} ${u.motionEaseInOut} !important`}},[`${u.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${u.motionDurationMid} ${u.motionEaseInOut},
|
|
opacity ${u.motionDurationMid} ${u.motionEaseInOut} !important`}}});q.Z=s},67771:function(Je,q,s){s.d(q,{Qt:function(){return p},Uw:function(){return A},fJ:function(){return C},ly:function(){return E},oN:function(){return pe}});var u=s(45930),c=s(93590);const C=new u.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),A=new u.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),p=new u.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),E=new u.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),w=new u.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),j=new u.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),e=new u.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),$=new u.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),k={"slide-up":{inKeyframes:C,outKeyframes:A},"slide-down":{inKeyframes:p,outKeyframes:E},"slide-left":{inKeyframes:w,outKeyframes:j},"slide-right":{inKeyframes:e,outKeyframes:$}},pe=(ee,ce)=>{const{antCls:me}=ee,G=`${me}-${ce}`,{inKeyframes:he,outKeyframes:we}=k[ce];return[(0,c.R)(G,he,we,ee.motionDurationMid),{[`
|
|
${G}-enter,
|
|
${G}-appear
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:ee.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${G}-leave`]:{animationTimingFunction:ee.motionEaseInQuint}}]}},78595:function(Je,q,s){s.d(q,{iz:function(){return Wn},ck:function(){return En},BW:function(){return Fn},sN:function(){return En},Wd:function(){return Zn},ZP:function(){return Xr},Xl:function(){return de}});var u=s(87462),c=s(4942),C=s(1413),A=s(74902),p=s(97685),E=s(45987),w=s(94184),j=s.n(w),e=s(67294),$=s(48555);function k(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var pe=k()?e.useLayoutEffect:e.useEffect,ee=function(n,a){var l=e.useRef(!0);pe(function(){return n(l.current)},a),pe(function(){return l.current=!1,function(){l.current=!0}},[])},ce=function(n,a){ee(function(l){if(!l)return n()},a)},me=ee,G=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],he=void 0;function we(t,n){var a=t.prefixCls,l=t.invalidate,o=t.item,m=t.renderItem,d=t.responsive,y=t.responsiveDisabled,O=t.registerSize,S=t.itemKey,U=t.className,L=t.style,oe=t.children,ie=t.display,T=t.order,te=t.component,ae=te===void 0?"div":te,se=(0,E.Z)(t,G),z=d&&!ie;function W(_){O(S,_)}e.useEffect(function(){return function(){W(null)}},[]);var D=m&&o!==he?m(o):oe,V;l||(V={opacity:z?0:1,height:z?0:he,overflowY:z?"hidden":he,order:d?T:he,pointerEvents:z?"none":he,position:z?"absolute":he});var J={};z&&(J["aria-hidden"]=!0);var ve=e.createElement(ae,(0,u.Z)({className:j()(!l&&a,U),style:(0,C.Z)((0,C.Z)({},V),L)},J,se,{ref:n}),D);return d&&(ve=e.createElement($.Z,{onResize:function(Ue){var fe=Ue.offsetWidth;W(fe)},disabled:y},ve)),ve}var Ze=e.forwardRef(we);Ze.displayName="Item";var Ce=Ze;function _e(t){var n=e.useRef();n.current=t;var a=e.useCallback(function(){for(var l,o=arguments.length,m=new Array(o),d=0;d<o;d++)m[d]=arguments[d];return(l=n.current)===null||l===void 0?void 0:l.call.apply(l,[n].concat(m))},[]);return a}var Z=s(73935),b=function(n){return+setTimeout(n,16)},B=function(n){return clearTimeout(n)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(b=function(n){return window.requestAnimationFrame(n)},B=function(n){return window.cancelAnimationFrame(n)});var P=0,x=new Map;function I(t){x.delete(t)}var F=function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;P+=1;var l=P;function o(m){if(m===0)I(l),n();else{var d=b(function(){o(m-1)});x.set(l,d)}}return o(a),l};F.cancel=function(t){var n=x.get(t);return I(n),B(n)};var ne=F;function Oe(t){if(typeof MessageChannel=="undefined")ne(t);else{var n=new MessageChannel;n.port1.onmessage=function(){return t()},n.port2.postMessage(void 0)}}function be(){var t=e.useRef(null),n=function(l){t.current||(t.current=[],Oe(function(){(0,Z.unstable_batchedUpdates)(function(){t.current.forEach(function(o){o()}),t.current=null})})),t.current.push(l)};return n}function Me(t,n){var a=e.useState(n),l=(0,p.Z)(a,2),o=l[0],m=l[1],d=_e(function(y){t(function(){m(y)})});return[o,d]}var Ae=e.createContext(null),Vt=["component"],lt=["className"],wt=["className"],De=function(n,a){var l=e.useContext(Ae);if(!l){var o=n.component,m=o===void 0?"div":o,d=(0,E.Z)(n,Vt);return e.createElement(m,(0,u.Z)({},d,{ref:a}))}var y=l.className,O=(0,E.Z)(l,lt),S=n.className,U=(0,E.Z)(n,wt);return e.createElement(Ae.Provider,{value:null},e.createElement(Ce,(0,u.Z)({ref:a,className:j()(y,S)},O,U)))},He=e.forwardRef(De);He.displayName="RawItem";var ot=He,xt=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],st="responsive",je="invalidate";function $t(t){return"+ ".concat(t.length," ...")}function pt(t,n){var a=t.prefixCls,l=a===void 0?"rc-overflow":a,o=t.data,m=o===void 0?[]:o,d=t.renderItem,y=t.renderRawItem,O=t.itemKey,S=t.itemWidth,U=S===void 0?10:S,L=t.ssr,oe=t.style,ie=t.className,T=t.maxCount,te=t.renderRest,ae=t.renderRawRest,se=t.suffix,z=t.component,W=z===void 0?"div":z,D=t.itemComponent,V=t.onVisibleChange,J=(0,E.Z)(t,xt),ve=L==="full",_=be(),Ue=Me(_,null),fe=(0,p.Z)(Ue,2),Ve=fe[0],Le=fe[1],Ee=Ve||0,Ge=Me(_,new Map),xe=(0,p.Z)(Ge,2),Te=xe[0],Ne=xe[1],Ct=Me(_,0),Tt=(0,p.Z)(Ct,2),Pt=Tt[0],Kt=Tt[1],Lt=Me(_,0),It=(0,p.Z)(Lt,2),ft=It[0],zt=It[1],Ye=Me(_,0),Qe=(0,p.Z)(Ye,2),St=Qe[0],Ht=Qe[1],jt=(0,e.useState)(null),Ke=(0,p.Z)(jt,2),qe=Ke[0],Et=Ke[1],fn=(0,e.useState)(null),kt=(0,p.Z)(fn,2),mt=kt[0],$n=kt[1],Ft=e.useMemo(function(){return mt===null&&ve?Number.MAX_SAFE_INTEGER:mt||0},[mt,Ve]),On=(0,e.useState)(!1),_t=(0,p.Z)(On,2),mn=_t[0],vn=_t[1],et="".concat(l,"-item"),gn=Math.max(Pt,ft),Wt=T===st,tt=m.length&&Wt,pn=T===je,qt=tt||typeof T=="number"&&m.length>T,it=(0,e.useMemo)(function(){var N=m;return tt?Ve===null&&ve?N=m:N=m.slice(0,Math.min(m.length,Ee/U)):typeof T=="number"&&(N=m.slice(0,T)),N},[m,U,Ve,T,tt]),Ut=(0,e.useMemo)(function(){return tt?m.slice(Ft+1):m.slice(it.length)},[m,it,tt,Ft]),At=(0,e.useCallback)(function(N,H){var Pe;return typeof O=="function"?O(N):(Pe=O&&(N==null?void 0:N[O]))!==null&&Pe!==void 0?Pe:H},[O]),en=(0,e.useCallback)(d||function(N){return N},[d]);function ze(N,H,Pe){mt===N&&(H===void 0||H===qe)||($n(N),Pe||(vn(N<m.length-1),V==null||V(N)),H!==void 0&&Et(H))}function tn(N,H){Le(H.clientWidth)}function Nt(N,H){Ne(function(Pe){var gt=new Map(Pe);return H===null?gt.delete(N):gt.set(N,H),gt})}function vt(N,H){zt(H),Kt(ft)}function nt(N,H){Ht(H)}function Mn(N){return Te.get(At(it[N],N))}me(function(){if(Ee&&typeof gn=="number"&&it){var N=St,H=it.length,Pe=H-1;if(!H){ze(0,null);return}for(var gt=0;gt<H;gt+=1){var rn=Mn(gt);if(ve&&(rn=rn||0),rn===void 0){ze(gt-1,void 0,!0);break}if(N+=rn,Pe===0&&N<=Ee||gt===Pe-1&&N+Mn(Pe)<=Ee){ze(Pe,null);break}else if(N+gn>Ee){ze(gt-1,N-rn-St+ft);break}}se&&Mn(0)+St>Ee&&Et(null)}},[Ee,Te,ft,St,At,it]);var Dn=mn&&!!Ut.length,hn={};qe!==null&&tt&&(hn={position:"absolute",left:qe,top:0});var an={prefixCls:et,responsive:tt,component:D,invalidate:pn},Tn=y?function(N,H){var Pe=At(N,H);return e.createElement(Ae.Provider,{key:Pe,value:(0,C.Z)((0,C.Z)({},an),{},{order:H,item:N,itemKey:Pe,registerSize:Nt,display:H<=Ft})},y(N,H))}:function(N,H){var Pe=At(N,H);return e.createElement(Ce,(0,u.Z)({},an,{order:H,key:Pe,item:N,renderItem:en,itemKey:Pe,registerSize:Nt,display:H<=Ft}))},nn,bn={order:Dn?Ft:Number.MAX_SAFE_INTEGER,className:"".concat(et,"-rest"),registerSize:vt,display:Dn};if(ae)ae&&(nn=e.createElement(Ae.Provider,{value:(0,C.Z)((0,C.Z)({},an),bn)},ae(Ut)));else{var yn=te||$t;nn=e.createElement(Ce,(0,u.Z)({},an,bn),typeof yn=="function"?yn(Ut):yn)}var Rn=e.createElement(W,(0,u.Z)({className:j()(!pn&&l,ie),style:oe,ref:n},J),it.map(Tn),qt?nn:null,se&&e.createElement(Ce,(0,u.Z)({},an,{responsive:Wt,responsiveDisabled:!tt,order:Ft,className:"".concat(et,"-suffix"),registerSize:nt,display:!0,style:hn}),se));return Wt&&(Rn=e.createElement($.Z,{onResize:tn,disabled:!tt},Rn)),Rn}var ut=e.forwardRef(pt);ut.displayName="Overflow",ut.Item=ot,ut.RESPONSIVE=st,ut.INVALIDATE=je;var un=ut,Ot=un,Zt=s(21770),Cn=s(80334),cn=s(91881),Mt=e.createContext(null);function Y(t,n){return t===void 0?null:"".concat(t,"-").concat(n)}function v(t){var n=e.useContext(Mt);return Y(n,t)}var i=s(56982),r=["children","locked"],f=e.createContext(null);function g(t,n){var a=(0,C.Z)({},t);return Object.keys(n).forEach(function(l){var o=n[l];o!==void 0&&(a[l]=o)}),a}function h(t){var n=t.children,a=t.locked,l=(0,E.Z)(t,r),o=e.useContext(f),m=(0,i.Z)(function(){return g(o,l)},[o,l],function(d,y){return!a&&(d[0]!==y[0]||!(0,cn.Z)(d[1],y[1],!0))});return e.createElement(f.Provider,{value:m},n)}var M=[],R=e.createContext(null);function K(){return e.useContext(R)}var X=e.createContext(M);function de(t){var n=e.useContext(X);return e.useMemo(function(){return t!==void 0?[].concat((0,A.Z)(n),[t]):n},[n,t])}var le=e.createContext(null),Be=e.createContext({}),Ie=Be,re=s(15105),Q=s(75164),Re=function(t){if(!t)return!1;if(t instanceof Element){if(t.offsetParent)return!0;if(t.getBBox){var n=t.getBBox(),a=n.width,l=n.height;if(a||l)return!0}if(t.getBoundingClientRect){var o=t.getBoundingClientRect(),m=o.width,d=o.height;if(m||d)return!0}}return!1};function ye(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Re(t)){var a=t.nodeName.toLowerCase(),l=["input","select","textarea","button"].includes(a)||t.isContentEditable||a==="a"&&!!t.getAttribute("href"),o=t.getAttribute("tabindex"),m=Number(o),d=null;return o&&!Number.isNaN(m)?d=m:l&&d===null&&(d=0),l&&t.disabled&&(d=null),d!==null&&(d>=0||n&&d<0)}return!1}function ke(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=(0,A.Z)(t.querySelectorAll("*")).filter(function(l){return ye(l,n)});return ye(t,n)&&a.unshift(t),a}var Fe=null;function Yt(){Fe=document.activeElement}function Xt(){Fe=null}function ht(){if(Fe)try{Fe.focus()}catch(t){}}function ct(t,n){if(n.keyCode===9){var a=ke(t),l=a[n.shiftKey?0:a.length-1],o=l===document.activeElement||t===document.activeElement;if(o){var m=a[n.shiftKey?a.length-1:0];m.focus(),n.preventDefault()}}}var Se=re.Z.LEFT,Xe=re.Z.RIGHT,Rt=re.Z.UP,dt=re.Z.DOWN,Gt=re.Z.ENTER,Qt=re.Z.ESC,bt=re.Z.HOME,Dt=re.Z.END,Jt=[Rt,dt,Se,Xe];function In(t,n,a,l){var o,m,d,y,O="prev",S="next",U="children",L="parent";if(t==="inline"&&l===Gt)return{inlineTrigger:!0};var oe=(o={},(0,c.Z)(o,Rt,O),(0,c.Z)(o,dt,S),o),ie=(m={},(0,c.Z)(m,Se,a?S:O),(0,c.Z)(m,Xe,a?O:S),(0,c.Z)(m,dt,U),(0,c.Z)(m,Gt,U),m),T=(d={},(0,c.Z)(d,Rt,O),(0,c.Z)(d,dt,S),(0,c.Z)(d,Gt,U),(0,c.Z)(d,Qt,L),(0,c.Z)(d,Se,a?U:L),(0,c.Z)(d,Xe,a?L:U),d),te={inline:oe,horizontal:ie,vertical:T,inlineSub:oe,horizontalSub:T,verticalSub:T},ae=(y=te["".concat(t).concat(n?"":"Sub")])===null||y===void 0?void 0:y[l];switch(ae){case O:return{offset:-1,sibling:!0};case S:return{offset:1,sibling:!0};case L:return{offset:-1,sibling:!1};case U:return{offset:1,sibling:!1};default:return null}}function Bt(t){for(var n=t;n;){if(n.getAttribute("data-menu-list"))return n;n=n.parentElement}return null}function zn(t,n){for(var a=t||document.activeElement;a;){if(n.has(a))return a;a=a.parentElement}return null}function An(t,n){var a=ke(t,!0);return a.filter(function(l){return n.has(l)})}function Nn(t,n,a){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!t)return null;var o=An(t,n),m=o.length,d=o.findIndex(function(y){return a===y});return l<0?d===-1?d=m-1:d-=1:l>0&&(d+=1),d=(d+m)%m,o[d]}function on(t,n,a,l,o,m,d,y,O,S){var U=e.useRef(),L=e.useRef();L.current=n;var oe=function(){Q.Z.cancel(U.current)};return e.useEffect(function(){return function(){oe()}},[]),function(ie){var T=ie.which;if([].concat(Jt,[Gt,Qt,bt,Dt]).includes(T)){var te,ae,se,z=function(){te=new Set,ae=new Map,se=new Map;var xe=m();return xe.forEach(function(Te){var Ne=document.querySelector("[data-menu-id='".concat(Y(l,Te),"']"));Ne&&(te.add(Ne),se.set(Ne,Te),ae.set(Te,Ne))}),te};z();var W=ae.get(n),D=zn(W,te),V=se.get(D),J=In(t,d(V,!0).length===1,a,T);if(!J&&T!==bt&&T!==Dt)return;(Jt.includes(T)||[bt,Dt].includes(T))&&ie.preventDefault();var ve=function(xe){if(xe){var Te=xe,Ne=xe.querySelector("a");Ne!=null&&Ne.getAttribute("href")&&(Te=Ne);var Ct=se.get(xe);y(Ct),oe(),U.current=(0,Q.Z)(function(){L.current===Ct&&Te.focus()})}};if([bt,Dt].includes(T)||J.sibling||!D){var _;!D||t==="inline"?_=o.current:_=Bt(D);var Ue,fe=An(_,te);T===bt?Ue=fe[0]:T===Dt?Ue=fe[fe.length-1]:Ue=Nn(_,te,D,J.offset),ve(Ue)}else if(J.inlineTrigger)O(V);else if(J.offset>0)O(V,!0),oe(),U.current=(0,Q.Z)(function(){z();var Ge=D.getAttribute("aria-controls"),xe=document.getElementById(Ge),Te=Nn(xe,te);ve(Te)},5);else if(J.offset<0){var Ve=d(V,!0),Le=Ve[Ve.length-2],Ee=ae.get(Le);O(Le,!1),ve(Ee)}}S==null||S(ie)}}function Hn(t){Promise.resolve().then(t)}var yt="__RC_UTIL_PATH_SPLIT__",Xn=function(n){return n.join(yt)},cr=function(n){return n.split(yt)},jn="rc-menu-more";function dr(){var t=e.useState({}),n=(0,p.Z)(t,2),a=n[1],l=(0,e.useRef)(new Map),o=(0,e.useRef)(new Map),m=e.useState([]),d=(0,p.Z)(m,2),y=d[0],O=d[1],S=(0,e.useRef)(0),U=(0,e.useRef)(!1),L=function(){U.current||a({})},oe=(0,e.useCallback)(function(W,D){var V=Xn(D);o.current.set(V,W),l.current.set(W,V),S.current+=1;var J=S.current;Hn(function(){J===S.current&&L()})},[]),ie=(0,e.useCallback)(function(W,D){var V=Xn(D);o.current.delete(V),l.current.delete(W)},[]),T=(0,e.useCallback)(function(W){O(W)},[]),te=(0,e.useCallback)(function(W,D){var V=l.current.get(W)||"",J=cr(V);return D&&y.includes(J[0])&&J.unshift(jn),J},[y]),ae=(0,e.useCallback)(function(W,D){return W.some(function(V){var J=te(V,!0);return J.includes(D)})},[te]),se=function(){var D=(0,A.Z)(l.current.keys());return y.length&&D.push(jn),D},z=(0,e.useCallback)(function(W){var D="".concat(l.current.get(W)).concat(yt),V=new Set;return(0,A.Z)(o.current.keys()).forEach(function(J){J.startsWith(D)&&V.add(o.current.get(J))}),V},[]);return e.useEffect(function(){return function(){U.current=!0}},[]),{registerPath:oe,unregisterPath:ie,refreshOverflowKeys:T,isSubPathKey:ae,getKeyPath:te,getKeys:se,getSubPathKeys:z}}function Sn(t){var n=e.useRef(t);n.current=t;var a=e.useCallback(function(){for(var l,o=arguments.length,m=new Array(o),d=0;d<o;d++)m[d]=arguments[d];return(l=n.current)===null||l===void 0?void 0:l.call.apply(l,[n].concat(m))},[]);return t?a:void 0}var fr=Math.random().toFixed(5).toString().slice(2),Gn=0;function mr(t){var n=(0,Zt.Z)(t,{value:t}),a=(0,p.Z)(n,2),l=a[0],o=a[1];return e.useEffect(function(){Gn+=1;var m="".concat(fr,"-").concat(Gn);o("rc-menu-uuid-".concat(m))},[]),l}var vr=s(15671),gr=s(43144),pr=s(60136),hr=s(51630),Qn=s(98423),br=s(42550);function Jn(t,n,a,l){var o=e.useContext(f),m=o.activeKey,d=o.onActive,y=o.onInactive,O={active:m===t};return n||(O.onMouseEnter=function(S){a==null||a({key:t,domEvent:S}),d(t)},O.onMouseLeave=function(S){l==null||l({key:t,domEvent:S}),y(t)}),O}function _n(t){var n=e.useContext(f),a=n.mode,l=n.rtl,o=n.inlineIndent;if(a!=="inline")return null;var m=t;return l?{paddingRight:m*o}:{paddingLeft:m*o}}function qn(t){var n=t.icon,a=t.props,l=t.children,o;return n===null||n===!1?null:(typeof n=="function"?o=e.createElement(n,(0,C.Z)({},a)):typeof n!="boolean"&&(o=n),o||l||null)}var yr=["item"];function wn(t){var n=t.item,a=(0,E.Z)(t,yr);return Object.defineProperty(a,"item",{get:function(){return(0,Cn.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),n}}),a}var Cr=["title","attribute","elementRef"],Ir=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Sr=["active"],Er=function(t){(0,pr.Z)(a,t);var n=(0,hr.Z)(a);function a(){return(0,vr.Z)(this,a),n.apply(this,arguments)}return(0,gr.Z)(a,[{key:"render",value:function(){var o=this.props,m=o.title,d=o.attribute,y=o.elementRef,O=(0,E.Z)(o,Cr),S=(0,Qn.Z)(O,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,Cn.ZP)(!d,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),e.createElement(Ot.Item,(0,u.Z)({},d,{title:typeof m=="string"?m:void 0},S,{ref:y}))}}]),a}(e.Component),xr=e.forwardRef(function(t,n){var a,l=t.style,o=t.className,m=t.eventKey,d=t.warnKey,y=t.disabled,O=t.itemIcon,S=t.children,U=t.role,L=t.onMouseEnter,oe=t.onMouseLeave,ie=t.onClick,T=t.onKeyDown,te=t.onFocus,ae=(0,E.Z)(t,Ir),se=v(m),z=e.useContext(f),W=z.prefixCls,D=z.onItemClick,V=z.disabled,J=z.overflowDisabled,ve=z.itemIcon,_=z.selectedKeys,Ue=z.onActive,fe=e.useContext(Ie),Ve=fe._internalRenderMenuItem,Le="".concat(W,"-item"),Ee=e.useRef(),Ge=e.useRef(),xe=V||y,Te=(0,br.x1)(n,Ge),Ne=de(m),Ct=function(Ke){return{key:m,keyPath:(0,A.Z)(Ne).reverse(),item:Ee.current,domEvent:Ke}},Tt=O||ve,Pt=Jn(m,xe,L,oe),Kt=Pt.active,Lt=(0,E.Z)(Pt,Sr),It=_.includes(m),ft=_n(Ne.length),zt=function(Ke){if(!xe){var qe=Ct(Ke);ie==null||ie(wn(qe)),D(qe)}},Ye=function(Ke){if(T==null||T(Ke),Ke.which===re.Z.ENTER){var qe=Ct(Ke);ie==null||ie(wn(qe)),D(qe)}},Qe=function(Ke){Ue(m),te==null||te(Ke)},St={};t.role==="option"&&(St["aria-selected"]=It);var Ht=e.createElement(Er,(0,u.Z)({ref:Ee,elementRef:Te,role:U===null?"none":U||"menuitem",tabIndex:y?null:-1,"data-menu-id":J&&se?null:se},ae,Lt,St,{component:"li","aria-disabled":y,style:(0,C.Z)((0,C.Z)({},ft),l),className:j()(Le,(a={},(0,c.Z)(a,"".concat(Le,"-active"),Kt),(0,c.Z)(a,"".concat(Le,"-selected"),It),(0,c.Z)(a,"".concat(Le,"-disabled"),xe),a),o),onClick:zt,onKeyDown:Ye,onFocus:Qe}),S,e.createElement(qn,{props:(0,C.Z)((0,C.Z)({},t),{},{isSelected:It}),icon:Tt}));return Ve&&(Ht=Ve(Ht,t,{selected:It})),Ht});function $r(t,n){var a=t.eventKey,l=K(),o=de(a);return e.useEffect(function(){if(l)return l.registerPath(a,o),function(){l.unregisterPath(a,o)}},[o]),l?null:e.createElement(xr,(0,u.Z)({},t,{ref:n}))}var En=e.forwardRef($r),Or=["className","children"],Mr=function(n,a){var l=n.className,o=n.children,m=(0,E.Z)(n,Or),d=e.useContext(f),y=d.prefixCls,O=d.mode,S=d.rtl;return e.createElement("ul",(0,u.Z)({className:j()(y,S&&"".concat(y,"-rtl"),"".concat(y,"-sub"),"".concat(y,"-").concat(O==="inline"?"inline":"vertical"),l),role:"menu"},m,{"data-menu-list":!0,ref:a}),o)},er=e.forwardRef(Mr);er.displayName="SubMenuList";var tr=er,Rr=s(50344);function kn(t,n){return(0,Rr.Z)(t).map(function(a,l){if(e.isValidElement(a)){var o,m,d=a.key,y=(o=(m=a.props)===null||m===void 0?void 0:m.eventKey)!==null&&o!==void 0?o:d,O=y==null;O&&(y="tmp_key-".concat([].concat((0,A.Z)(n),[l]).join("-")));var S={key:y,eventKey:y};return e.cloneElement(a,S)}return a})}var Br=s(62709),We={adjustX:1,adjustY:1},Pr={topLeft:{points:["bl","tl"],overflow:We},topRight:{points:["br","tr"],overflow:We},bottomLeft:{points:["tl","bl"],overflow:We},bottomRight:{points:["tr","br"],overflow:We},leftTop:{points:["tr","tl"],overflow:We},leftBottom:{points:["br","bl"],overflow:We},rightTop:{points:["tl","tr"],overflow:We},rightBottom:{points:["bl","br"],overflow:We}},Ar={topLeft:{points:["bl","tl"],overflow:We},topRight:{points:["br","tr"],overflow:We},bottomLeft:{points:["tl","bl"],overflow:We},bottomRight:{points:["tr","br"],overflow:We},rightTop:{points:["tr","tl"],overflow:We},rightBottom:{points:["br","bl"],overflow:We},leftTop:{points:["tl","tr"],overflow:We},leftBottom:{points:["bl","br"],overflow:We}},yo=null;function nr(t,n,a){if(n)return n;if(a)return a[t]||a.other}var Nr={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function wr(t){var n=t.prefixCls,a=t.visible,l=t.children,o=t.popup,m=t.popupStyle,d=t.popupClassName,y=t.popupOffset,O=t.disabled,S=t.mode,U=t.onVisibleChange,L=e.useContext(f),oe=L.getPopupContainer,ie=L.rtl,T=L.subMenuOpenDelay,te=L.subMenuCloseDelay,ae=L.builtinPlacements,se=L.triggerSubMenuAction,z=L.forceSubMenuRender,W=L.rootClassName,D=L.motion,V=L.defaultMotions,J=e.useState(!1),ve=(0,p.Z)(J,2),_=ve[0],Ue=ve[1],fe=ie?(0,C.Z)((0,C.Z)({},Ar),ae):(0,C.Z)((0,C.Z)({},Pr),ae),Ve=Nr[S],Le=nr(S,D,V),Ee=e.useRef(Le);S!=="inline"&&(Ee.current=Le);var Ge=(0,C.Z)((0,C.Z)({},Ee.current),{},{leavedClassName:"".concat(n,"-hidden"),removeOnLeave:!1,motionAppear:!0}),xe=e.useRef();return e.useEffect(function(){return xe.current=(0,Q.Z)(function(){Ue(a)}),function(){Q.Z.cancel(xe.current)}},[a]),e.createElement(Br.Z,{prefixCls:n,popupClassName:j()("".concat(n,"-popup"),(0,c.Z)({},"".concat(n,"-rtl"),ie),d,W),stretch:S==="horizontal"?"minWidth":null,getPopupContainer:oe,builtinPlacements:fe,popupPlacement:Ve,popupVisible:_,popup:o,popupStyle:m,popupAlign:y&&{offset:y},action:O?[]:[se],mouseEnterDelay:T,mouseLeaveDelay:te,onPopupVisibleChange:U,forceRender:z,popupMotion:Ge,fresh:!0},l)}var Zr=s(62874);function Dr(t){var n=t.id,a=t.open,l=t.keyPath,o=t.children,m="inline",d=e.useContext(f),y=d.prefixCls,O=d.forceSubMenuRender,S=d.motion,U=d.defaultMotions,L=d.mode,oe=e.useRef(!1);oe.current=L===m;var ie=e.useState(!oe.current),T=(0,p.Z)(ie,2),te=T[0],ae=T[1],se=oe.current?a:!1;e.useEffect(function(){oe.current&&ae(!1)},[L]);var z=(0,C.Z)({},nr(m,S,U));l.length>1&&(z.motionAppear=!1);var W=z.onVisibleChanged;return z.onVisibleChanged=function(D){return!oe.current&&!D&&ae(!0),W==null?void 0:W(D)},te?null:e.createElement(h,{mode:m,locked:!oe.current},e.createElement(Zr.Z,(0,u.Z)({visible:se},z,{forceRender:O,removeOnLeave:!1,leavedClassName:"".concat(y,"-hidden")}),function(D){var V=D.className,J=D.style;return e.createElement(tr,{id:n,className:V,style:J},o)}))}var Tr=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Kr=["active"],Lr=function(n){var a,l=n.style,o=n.className,m=n.title,d=n.eventKey,y=n.warnKey,O=n.disabled,S=n.internalPopupClose,U=n.children,L=n.itemIcon,oe=n.expandIcon,ie=n.popupClassName,T=n.popupOffset,te=n.popupStyle,ae=n.onClick,se=n.onMouseEnter,z=n.onMouseLeave,W=n.onTitleClick,D=n.onTitleMouseEnter,V=n.onTitleMouseLeave,J=(0,E.Z)(n,Tr),ve=v(d),_=e.useContext(f),Ue=_.prefixCls,fe=_.mode,Ve=_.openKeys,Le=_.disabled,Ee=_.overflowDisabled,Ge=_.activeKey,xe=_.selectedKeys,Te=_.itemIcon,Ne=_.expandIcon,Ct=_.onItemClick,Tt=_.onOpenChange,Pt=_.onActive,Kt=e.useContext(Ie),Lt=Kt._internalRenderSubMenuItem,It=e.useContext(le),ft=It.isSubPathKey,zt=de(),Ye="".concat(Ue,"-submenu"),Qe=Le||O,St=e.useRef(),Ht=e.useRef(),jt=L!=null?L:Te,Ke=oe!=null?oe:Ne,qe=Ve.includes(d),Et=!Ee&&qe,fn=ft(xe,d),kt=Jn(d,Qe,D,V),mt=kt.active,$n=(0,E.Z)(kt,Kr),Ft=e.useState(!1),On=(0,p.Z)(Ft,2),_t=On[0],mn=On[1],vn=function(nt){Qe||mn(nt)},et=function(nt){vn(!0),se==null||se({key:d,domEvent:nt})},gn=function(nt){vn(!1),z==null||z({key:d,domEvent:nt})},Wt=e.useMemo(function(){return mt||(fe!=="inline"?_t||ft([Ge],d):!1)},[fe,mt,Ge,_t,d,ft]),tt=_n(zt.length),pn=function(nt){Qe||(W==null||W({key:d,domEvent:nt}),fe==="inline"&&Tt(d,!qe))},qt=Sn(function(vt){ae==null||ae(wn(vt)),Ct(vt)}),it=function(nt){fe!=="inline"&&Tt(d,nt)},Ut=function(){Pt(d)},At=ve&&"".concat(ve,"-popup"),en=e.createElement("div",(0,u.Z)({role:"menuitem",style:tt,className:"".concat(Ye,"-title"),tabIndex:Qe?null:-1,ref:St,title:typeof m=="string"?m:null,"data-menu-id":Ee&&ve?null:ve,"aria-expanded":Et,"aria-haspopup":!0,"aria-controls":At,"aria-disabled":Qe,onClick:pn,onFocus:Ut},$n),m,e.createElement(qn,{icon:fe!=="horizontal"?Ke:void 0,props:(0,C.Z)((0,C.Z)({},n),{},{isOpen:Et,isSubMenu:!0})},e.createElement("i",{className:"".concat(Ye,"-arrow")}))),ze=e.useRef(fe);if(fe!=="inline"&&zt.length>1?ze.current="vertical":ze.current=fe,!Ee){var tn=ze.current;en=e.createElement(wr,{mode:tn,prefixCls:Ye,visible:!S&&Et&&fe!=="inline",popupClassName:ie,popupOffset:T,popupStyle:te,popup:e.createElement(h,{mode:tn==="horizontal"?"vertical":tn},e.createElement(tr,{id:At,ref:Ht},U)),disabled:Qe,onVisibleChange:it},en)}var Nt=e.createElement(Ot.Item,(0,u.Z)({role:"none"},J,{component:"li",style:l,className:j()(Ye,"".concat(Ye,"-").concat(fe),o,(a={},(0,c.Z)(a,"".concat(Ye,"-open"),Et),(0,c.Z)(a,"".concat(Ye,"-active"),Wt),(0,c.Z)(a,"".concat(Ye,"-selected"),fn),(0,c.Z)(a,"".concat(Ye,"-disabled"),Qe),a)),onMouseEnter:et,onMouseLeave:gn}),en,!Ee&&e.createElement(Dr,{id:At,open:Et,keyPath:zt},U));return Lt&&(Nt=Lt(Nt,n,{selected:fn,active:Wt,open:Et,disabled:Qe})),e.createElement(h,{onItemClick:qt,mode:fe==="horizontal"?"vertical":fe,itemIcon:jt,expandIcon:Ke},Nt)};function Zn(t){var n=t.eventKey,a=t.children,l=de(n),o=kn(a,l),m=K();e.useEffect(function(){if(m)return m.registerPath(n,l),function(){m.unregisterPath(n,l)}},[l]);var d;return m?d=o:d=e.createElement(Lr,t,o),e.createElement(X.Provider,{value:l},d)}var zr=s(71002),Hr=["className","title","eventKey","children"],jr=["children"],kr=function(n){var a=n.className,l=n.title,o=n.eventKey,m=n.children,d=(0,E.Z)(n,Hr),y=e.useContext(f),O=y.prefixCls,S="".concat(O,"-item-group");return e.createElement("li",(0,u.Z)({role:"presentation"},d,{onClick:function(L){return L.stopPropagation()},className:j()(S,a)}),e.createElement("div",{role:"presentation",className:"".concat(S,"-title"),title:typeof l=="string"?l:void 0},l),e.createElement("ul",{role:"group",className:"".concat(S,"-list")},m))};function Fn(t){var n=t.children,a=(0,E.Z)(t,jr),l=de(a.eventKey),o=kn(n,l),m=K();return m?o:e.createElement(kr,(0,Qn.Z)(a,["warnKey"]),o)}function Wn(t){var n=t.className,a=t.style,l=e.useContext(f),o=l.prefixCls,m=K();return m?null:e.createElement("li",{role:"separator",className:j()("".concat(o,"-item-divider"),n),style:a})}var Fr=["label","children","key","type"];function Un(t){return(t||[]).map(function(n,a){if(n&&(0,zr.Z)(n)==="object"){var l=n,o=l.label,m=l.children,d=l.key,y=l.type,O=(0,E.Z)(l,Fr),S=d!=null?d:"tmp-".concat(a);return m||y==="group"?y==="group"?e.createElement(Fn,(0,u.Z)({key:S},O,{title:o}),Un(m)):e.createElement(Zn,(0,u.Z)({key:S},O,{title:o}),Un(m)):y==="divider"?e.createElement(Wn,(0,u.Z)({key:S},O)):e.createElement(En,(0,u.Z)({key:S},O),o)}return null}).filter(function(n){return n})}function Wr(t,n,a){var l=t;return n&&(l=Un(n)),kn(l,a)}var Ur=["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"],dn=[],Vr=e.forwardRef(function(t,n){var a,l,o=t,m=o.prefixCls,d=m===void 0?"rc-menu":m,y=o.rootClassName,O=o.style,S=o.className,U=o.tabIndex,L=U===void 0?0:U,oe=o.items,ie=o.children,T=o.direction,te=o.id,ae=o.mode,se=ae===void 0?"vertical":ae,z=o.inlineCollapsed,W=o.disabled,D=o.disabledOverflow,V=o.subMenuOpenDelay,J=V===void 0?.1:V,ve=o.subMenuCloseDelay,_=ve===void 0?.1:ve,Ue=o.forceSubMenuRender,fe=o.defaultOpenKeys,Ve=o.openKeys,Le=o.activeKey,Ee=o.defaultActiveFirst,Ge=o.selectable,xe=Ge===void 0?!0:Ge,Te=o.multiple,Ne=Te===void 0?!1:Te,Ct=o.defaultSelectedKeys,Tt=o.selectedKeys,Pt=o.onSelect,Kt=o.onDeselect,Lt=o.inlineIndent,It=Lt===void 0?24:Lt,ft=o.motion,zt=o.defaultMotions,Ye=o.triggerSubMenuAction,Qe=Ye===void 0?"hover":Ye,St=o.builtinPlacements,Ht=o.itemIcon,jt=o.expandIcon,Ke=o.overflowedIndicator,qe=Ke===void 0?"...":Ke,Et=o.overflowedIndicatorPopupClassName,fn=o.getPopupContainer,kt=o.onClick,mt=o.onOpenChange,$n=o.onKeyDown,Ft=o.openAnimation,On=o.openTransitionName,_t=o._internalRenderMenuItem,mn=o._internalRenderSubMenuItem,vn=(0,E.Z)(o,Ur),et=e.useMemo(function(){return Wr(ie,oe,dn)},[ie,oe]),gn=e.useState(!1),Wt=(0,p.Z)(gn,2),tt=Wt[0],pn=Wt[1],qt=e.useRef(),it=mr(te),Ut=T==="rtl",At=(0,Zt.Z)(fe,{value:Ve,postState:function(ue){return ue||dn}}),en=(0,p.Z)(At,2),ze=en[0],tn=en[1],Nt=function(ue){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function rt(){tn(ue),mt==null||mt(ue)}ge?(0,Z.flushSync)(rt):rt()},vt=e.useState(ze),nt=(0,p.Z)(vt,2),Mn=nt[0],Dn=nt[1],hn=e.useRef(!1),an=e.useMemo(function(){return(se==="inline"||se==="vertical")&&z?["vertical",z]:[se,!1]},[se,z]),Tn=(0,p.Z)(an,2),nn=Tn[0],bn=Tn[1],yn=nn==="inline",Rn=e.useState(nn),N=(0,p.Z)(Rn,2),H=N[0],Pe=N[1],gt=e.useState(bn),rn=(0,p.Z)(gt,2),Gr=rn[0],Qr=rn[1];e.useEffect(function(){Pe(nn),Qr(bn),hn.current&&(yn?tn(Mn):Nt(dn))},[nn,bn]);var Jr=e.useState(0),rr=(0,p.Z)(Jr,2),Kn=rr[0],_r=rr[1],Vn=Kn>=et.length-1||H!=="horizontal"||D;e.useEffect(function(){yn&&Dn(ze)},[ze]),e.useEffect(function(){return hn.current=!0,function(){hn.current=!1}},[]);var ln=dr(),or=ln.registerPath,ir=ln.unregisterPath,qr=ln.refreshOverflowKeys,ar=ln.isSubPathKey,eo=ln.getKeyPath,to=ln.getKeys,no=ln.getSubPathKeys,ro=e.useMemo(function(){return{registerPath:or,unregisterPath:ir}},[or,ir]),oo=e.useMemo(function(){return{isSubPathKey:ar}},[ar]);e.useEffect(function(){qr(Vn?dn:et.slice(Kn+1).map(function($e){return $e.key}))},[Kn,Vn]);var io=(0,Zt.Z)(Le||Ee&&((a=et[0])===null||a===void 0?void 0:a.key),{value:Le}),lr=(0,p.Z)(io,2),Bn=lr[0],Yn=lr[1],ao=Sn(function($e){Yn($e)}),lo=Sn(function(){Yn(void 0)});(0,e.useImperativeHandle)(n,function(){return{list:qt.current,focus:function(ue){var ge,rt=Bn!=null?Bn:(ge=et.find(function(bo){return!bo.props.disabled}))===null||ge===void 0?void 0:ge.key;if(rt){var at,sn,Pn;(at=qt.current)===null||at===void 0||(sn=at.querySelector("li[data-menu-id='".concat(Y(it,rt),"']")))===null||sn===void 0||(Pn=sn.focus)===null||Pn===void 0||Pn.call(sn,ue)}}}});var so=(0,Zt.Z)(Ct||[],{value:Tt,postState:function(ue){return Array.isArray(ue)?ue:ue==null?dn:[ue]}}),sr=(0,p.Z)(so,2),Ln=sr[0],uo=sr[1],co=function(ue){if(xe){var ge=ue.key,rt=Ln.includes(ge),at;Ne?rt?at=Ln.filter(function(Pn){return Pn!==ge}):at=[].concat((0,A.Z)(Ln),[ge]):at=[ge],uo(at);var sn=(0,C.Z)((0,C.Z)({},ue),{},{selectedKeys:at});rt?Kt==null||Kt(sn):Pt==null||Pt(sn)}!Ne&&ze.length&&H!=="inline"&&Nt(dn)},fo=Sn(function($e){kt==null||kt(wn($e)),co($e)}),ur=Sn(function($e,ue){var ge=ze.filter(function(at){return at!==$e});if(ue)ge.push($e);else if(H!=="inline"){var rt=no($e);ge=ge.filter(function(at){return!rt.has(at)})}(0,cn.Z)(ze,ge,!0)||Nt(ge,!0)}),mo=function(ue,ge){var rt=ge!=null?ge:!ze.includes(ue);ur(ue,rt)},vo=on(H,Bn,Ut,it,qt,to,eo,Yn,mo,$n);e.useEffect(function(){pn(!0)},[]);var go=e.useMemo(function(){return{_internalRenderMenuItem:_t,_internalRenderSubMenuItem:mn}},[_t,mn]),po=H!=="horizontal"||D?et:et.map(function($e,ue){return e.createElement(h,{key:$e.key,overflowDisabled:ue>Kn},$e)}),ho=e.createElement(Ot,(0,u.Z)({id:te,ref:qt,prefixCls:"".concat(d,"-overflow"),component:"ul",itemComponent:En,className:j()(d,"".concat(d,"-root"),"".concat(d,"-").concat(H),S,(l={},(0,c.Z)(l,"".concat(d,"-inline-collapsed"),Gr),(0,c.Z)(l,"".concat(d,"-rtl"),Ut),l),y),dir:T,style:O,role:"menu",tabIndex:L,data:po,renderRawItem:function(ue){return ue},renderRawRest:function(ue){var ge=ue.length,rt=ge?et.slice(-ge):null;return e.createElement(Zn,{eventKey:jn,title:qe,disabled:Vn,internalPopupClose:ge===0,popupClassName:Et},rt)},maxCount:H!=="horizontal"||D?Ot.INVALIDATE:Ot.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(ue){_r(ue)},onKeyDown:vo},vn));return e.createElement(Ie.Provider,{value:go},e.createElement(Mt.Provider,{value:it},e.createElement(h,{prefixCls:d,rootClassName:y,mode:H,openKeys:ze,rtl:Ut,disabled:W,motion:tt?ft:null,defaultMotions:tt?zt:null,activeKey:Bn,onActive:ao,onInactive:lo,selectedKeys:Ln,inlineIndent:It,subMenuOpenDelay:J,subMenuCloseDelay:_,forceSubMenuRender:Ue,builtinPlacements:St,triggerSubMenuAction:Qe,getPopupContainer:fn,itemIcon:Ht,expandIcon:jt,onItemClick:fo,onOpenChange:ur},e.createElement(le.Provider,{value:oo},ho),e.createElement("div",{style:{display:"none"},"aria-hidden":!0},e.createElement(R.Provider,{value:ro},et)))))}),Yr=Vr,xn=Yr;xn.Item=En,xn.SubMenu=Zn,xn.ItemGroup=Fn,xn.Divider=Wn;var Xr=xn},66680:function(Je,q,s){s.d(q,{Z:function(){return c}});var u=s(67294);function c(C){var A=u.useRef();A.current=C;var p=u.useCallback(function(){for(var E,w=arguments.length,j=new Array(w),e=0;e<w;e++)j[e]=arguments[e];return(E=A.current)===null||E===void 0?void 0:E.call.apply(E,[A].concat(j))},[]);return p}},21770:function(Je,q,s){s.d(q,{Z:function(){return E}});var u=s(97685),c=s(66680),C=s(8410),A=s(63896);function p(w){return w!==void 0}function E(w,j){var e=j||{},$=e.defaultValue,k=e.value,pe=e.onChange,ee=e.postState,ce=(0,A.Z)(function(){return p(k)?k:p($)?typeof $=="function"?$():$:typeof w=="function"?w():w}),me=(0,u.Z)(ce,2),G=me[0],he=me[1],we=k!==void 0?k:G,Ze=ee?ee(we):we,Ce=(0,c.Z)(pe),_e=(0,A.Z)([we]),Z=(0,u.Z)(_e,2),b=Z[0],B=Z[1];(0,C.o)(function(){var x=b[0];G!==x&&Ce(G,x)},[b]),(0,C.o)(function(){p(k)||he(k)},[k]);var P=(0,c.Z)(function(x,I){he(x,I),B([we],I)});return[Ze,P]}},91881:function(Je,q,s){var u=s(71002),c=s(80334);function C(A,p){var E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,w=new Set;function j(e,$){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,pe=w.has(e);if((0,c.ZP)(!pe,"Warning: There may be circular references"),pe)return!1;if(e===$)return!0;if(E&&k>1)return!1;w.add(e);var ee=k+1;if(Array.isArray(e)){if(!Array.isArray($)||e.length!==$.length)return!1;for(var ce=0;ce<e.length;ce++)if(!j(e[ce],$[ce],ee))return!1;return!0}if(e&&$&&(0,u.Z)(e)==="object"&&(0,u.Z)($)==="object"){var me=Object.keys(e);return me.length!==Object.keys($).length?!1:me.every(function(G){return j(e[G],$[G],ee)})}return!1}return j(A,p)}q.Z=C},98423:function(Je,q,s){s.d(q,{Z:function(){return c}});var u=s(1413);function c(C,A){var p=(0,u.Z)({},C);return Array.isArray(A)&&A.forEach(function(E){delete p[E]}),p}}}]);
|