0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.226.88.18


Current Path : /var/www/college/static/js/
Upload File :
Current File : /var/www/college/static/js/284.027a50cd.chunk.js

"use strict";(self.webpackChunkcollege_portal_app=self.webpackChunkcollege_portal_app||[]).push([[284],{32513:(e,t,o)=>{o.d(t,{A:()=>B});var n=o(65043),c=o(98139),a=o.n(c),r=o(79688),i=o(12366),l=o(37489),d=o(35296),s=o(78440),u=o(78887),m=o(11250);const p=n.createContext(null);var g=o(23134),b=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var c=0;for(n=Object.getOwnPropertySymbols(e);c<n.length;c++)t.indexOf(n[c])<0&&Object.prototype.propertyIsEnumerable.call(e,n[c])&&(o[n[c]]=e[n[c]])}return o};const v=(e,t)=>{var o;const{prefixCls:c,className:v,rootClassName:h,children:f,indeterminate:C=!1,style:I,onMouseEnter:S,onMouseLeave:x,skipGroup:y=!1,disabled:B}=e,k=b(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:O,direction:w,checkbox:A}=n.useContext(d.QO),z=n.useContext(p),{isFormItemInput:j}=n.useContext(m.$W),E=n.useContext(s.A),H=null!==(o=(null===z||void 0===z?void 0:z.disabled)||B)&&void 0!==o?o:E,T=n.useRef(k.value);n.useEffect((()=>{null===z||void 0===z||z.registerValue(k.value)}),[]),n.useEffect((()=>{if(!y)return k.value!==T.current&&(null===z||void 0===z||z.cancelValue(T.current),null===z||void 0===z||z.registerValue(k.value),T.current=k.value),()=>null===z||void 0===z?void 0:z.cancelValue(k.value)}),[k.value]);const D=O("checkbox",c),M=(0,u.A)(D),[N,P,R]=(0,g.Ay)(D,M),W=Object.assign({},k);z&&!y&&(W.onChange=function(){k.onChange&&k.onChange.apply(k,arguments),z.toggleOption&&z.toggleOption({label:f,value:k.value})},W.name=z.name,W.checked=z.value.includes(k.value));const L=a()("".concat(D,"-wrapper"),{["".concat(D,"-rtl")]:"rtl"===w,["".concat(D,"-wrapper-checked")]:W.checked,["".concat(D,"-wrapper-disabled")]:H,["".concat(D,"-wrapper-in-form-item")]:j},null===A||void 0===A?void 0:A.className,v,h,R,M,P),q=a()({["".concat(D,"-indeterminate")]:C},l.D,P),X=C?"mixed":void 0;return N(n.createElement(i.A,{component:"Checkbox",disabled:H},n.createElement("label",{className:L,style:Object.assign(Object.assign({},null===A||void 0===A?void 0:A.style),I),onMouseEnter:S,onMouseLeave:x},n.createElement(r.A,Object.assign({"aria-checked":X},W,{prefixCls:D,className:q,disabled:H,ref:t})),void 0!==f&&n.createElement("span",null,f))))};const h=n.forwardRef(v);var f=o(60436),C=o(18574),I=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var c=0;for(n=Object.getOwnPropertySymbols(e);c<n.length;c++)t.indexOf(n[c])<0&&Object.prototype.propertyIsEnumerable.call(e,n[c])&&(o[n[c]]=e[n[c]])}return o};const S=n.forwardRef(((e,t)=>{const{defaultValue:o,children:c,options:r=[],prefixCls:i,className:l,rootClassName:s,style:m,onChange:b}=e,v=I(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:S,direction:x}=n.useContext(d.QO),[y,B]=n.useState(v.value||o||[]),[k,O]=n.useState([]);n.useEffect((()=>{"value"in v&&B(v.value||[])}),[v.value]);const w=n.useMemo((()=>r.map((e=>"string"===typeof e||"number"===typeof e?{label:e,value:e}:e))),[r]),A=S("checkbox",i),z="".concat(A,"-group"),j=(0,u.A)(A),[E,H,T]=(0,g.Ay)(A,j),D=(0,C.A)(v,["value","disabled"]),M=r.length?w.map((e=>n.createElement(h,{prefixCls:A,key:e.value.toString(),disabled:"disabled"in e?e.disabled:v.disabled,value:e.value,checked:y.includes(e.value),onChange:e.onChange,className:"".concat(z,"-item"),style:e.style,title:e.title,id:e.id,required:e.required},e.label))):c,N={toggleOption:e=>{const t=y.indexOf(e.value),o=(0,f.A)(y);-1===t?o.push(e.value):o.splice(t,1),"value"in v||B(o),null===b||void 0===b||b(o.filter((e=>k.includes(e))).sort(((e,t)=>w.findIndex((t=>t.value===e))-w.findIndex((e=>e.value===t)))))},value:y,disabled:v.disabled,name:v.name,registerValue:e=>{O((t=>[].concat((0,f.A)(t),[e])))},cancelValue:e=>{O((t=>t.filter((t=>t!==e))))}},P=a()(z,{["".concat(z,"-rtl")]:"rtl"===x},l,s,T,j,H);return E(n.createElement("div",Object.assign({className:P,style:m},D,{ref:t}),n.createElement(p.Provider,{value:N},M)))})),x=S,y=h;y.Group=x,y.__ANT_CHECKBOX=!0;const B=y},23134:(e,t,o)=>{o.d(t,{Ay:()=>d,gd:()=>l});var n=o(36647),c=o(94414),a=o(78365),r=o(66712);const i=e=>{const{checkboxCls:t}=e,o="".concat(t,"-wrapper");return[{["".concat(t,"-group")]:Object.assign(Object.assign({},(0,c.dF)(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,["> ".concat(e.antCls,"-row")]:{flex:1}}),[o]:Object.assign(Object.assign({},(0,c.dF)(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},["& + ".concat(o)]:{marginInlineStart:0},["&".concat(o,"-in-form-item")]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},(0,c.dF)(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",["".concat(t,"-input")]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,["&:focus-visible + ".concat(t,"-inner")]:Object.assign({},(0,c.jk)(e))},["".concat(t,"-inner")]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:"".concat((0,n.zA)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:"all ".concat(e.motionDurationSlow),"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:"".concat((0,n.zA)(e.lineWidthBold)," solid ").concat(e.colorWhite),borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:"all ".concat(e.motionDurationFast," ").concat(e.motionEaseInBack,", opacity ").concat(e.motionDurationFast)}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{["\n        ".concat(o,":not(").concat(o,"-disabled),\n        ").concat(t,":not(").concat(t,"-disabled)\n      ")]:{["&:hover ".concat(t,"-inner")]:{borderColor:e.colorPrimary}},["".concat(o,":not(").concat(o,"-disabled)")]:{["&:hover ".concat(t,"-checked:not(").concat(t,"-disabled) ").concat(t,"-inner")]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},["&:hover ".concat(t,"-checked:not(").concat(t,"-disabled):after")]:{borderColor:e.colorPrimaryHover}}},{["".concat(t,"-checked")]:{["".concat(t,"-inner")]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:"all ".concat(e.motionDurationMid," ").concat(e.motionEaseOutBack," ").concat(e.motionDurationFast)}}},["\n        ".concat(o,"-checked:not(").concat(o,"-disabled),\n        ").concat(t,"-checked:not(").concat(t,"-disabled)\n      ")]:{["&:hover ".concat(t,"-inner")]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{["".concat(t,"-inner")]:{backgroundColor:e.colorBgContainer,borderColor:e.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{["".concat(o,"-disabled")]:{cursor:"not-allowed"},["".concat(t,"-disabled")]:{["&, ".concat(t,"-input")]:{cursor:"not-allowed",pointerEvents:"none"},["".concat(t,"-inner")]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},["&".concat(t,"-indeterminate ").concat(t,"-inner::after")]:{background:e.colorTextDisabled}}}]};function l(e,t){const o=(0,a.h1)(t,{checkboxCls:".".concat(e),checkboxSize:t.controlInteractiveSize});return[i(o)]}const d=(0,r.OF)("Checkbox",((e,t)=>{let{prefixCls:o}=t;return[l(o,e)]}))},2405:(e,t,o)=>{o.d(t,{A:()=>l,h:()=>d});var n=o(65043),c=o(87483),a=o(45132),r=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var c=0;for(n=Object.getOwnPropertySymbols(e);c<n.length;c++)t.indexOf(n[c])<0&&Object.prototype.propertyIsEnumerable.call(e,n[c])&&(o[n[c]]=e[n[c]])}return o};const i=n.createContext(null),l=n.forwardRef(((e,t)=>{const{children:o}=e,l=r(e,["children"]),d=n.useContext(i),s=n.useMemo((()=>Object.assign(Object.assign({},d),l)),[d,l.prefixCls,l.mode,l.selectable,l.rootClassName]),u=(0,c.H3)(o),m=(0,c.xK)(t,u?o.ref:null);return n.createElement(i.Provider,{value:s},n.createElement(a.K6,null,u?n.cloneElement(o,{ref:m}):o))})),d=i},84084:(e,t,o)=>{o.d(t,{A:()=>Q});var n=o(65043),c=o(80244),a=o(98139),r=o.n(a);const i=n.createContext({});(()=>{let e=0})();var l=o(84235),d=o(87483),s=o(18574),u=o(83290),m=o(12701),p=o(35296),g=o(78887),b=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var c=0;for(n=Object.getOwnPropertySymbols(e);c<n.length;c++)t.indexOf(n[c])<0&&Object.prototype.propertyIsEnumerable.call(e,n[c])&&(o[n[c]]=e[n[c]])}return o};const v=e=>{const{prefixCls:t,className:o,dashed:a}=e,i=b(e,["prefixCls","className","dashed"]),{getPrefixCls:l}=n.useContext(p.QO),d=l("menu",t),s=r()({["".concat(d,"-item-divider-dashed")]:!!a},o);return n.createElement(c.cG,Object.assign({className:s},i))},h=(0,n.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var f=o(62149),C=o(96651);const I=e=>{var t;const{className:o,children:a,icon:l,title:d,danger:u}=e,{prefixCls:p,firstLevel:g,direction:b,disableMenuItemTitleTooltip:v,inlineCollapsed:I}=n.useContext(h),{siderCollapsed:S}=n.useContext(i);let x=d;"undefined"===typeof d?x=g?a:"":!1===d&&(x="");const y={title:x};S||I||(y.title=null,y.open=!1);const B=(0,f.A)(a).length;let k=n.createElement(c.q7,Object.assign({},(0,s.A)(e,["title","icon","danger"]),{className:r()({["".concat(p,"-item-danger")]:u,["".concat(p,"-item-only-child")]:1===(l?B+1:B)},o),title:"string"===typeof d?d:void 0}),(0,m.Ob)(l,{className:r()(n.isValidElement(l)?null===(t=l.props)||void 0===t?void 0:t.className:"","".concat(p,"-item-icon"))}),(e=>{const t=n.createElement("span",{className:"".concat(p,"-title-content")},a);return(!l||n.isValidElement(a)&&"span"===a.type)&&a&&e&&g&&"string"===typeof a?n.createElement("div",{className:"".concat(p,"-inline-collapsed-noicon")},a.charAt(0)):t})(I));return v||(k=n.createElement(C.A,Object.assign({},y,{placement:"rtl"===b?"left":"right",overlayClassName:"".concat(p,"-inline-collapsed-tooltip")}),k)),k};var S=o(2405),x=o(36647),y=o(50097),B=o(94414),k=o(37770),O=o(24760),w=o(85814),A=o(66712),z=o(78365);const j=e=>{const{componentCls:t,motionDurationSlow:o,horizontalLineHeight:n,colorSplit:c,lineWidth:a,lineType:r,itemPaddingInline:i}=e;return{["".concat(t,"-horizontal")]:{lineHeight:n,border:0,borderBottom:"".concat((0,x.zA)(a)," ").concat(r," ").concat(c),boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},["".concat(t,"-item, ").concat(t,"-submenu")]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:i},["> ".concat(t,"-item:hover,\n        > ").concat(t,"-item-active,\n        > ").concat(t,"-submenu ").concat(t,"-submenu-title:hover")]:{backgroundColor:"transparent"},["".concat(t,"-item, ").concat(t,"-submenu-title")]:{transition:["border-color ".concat(o),"background ".concat(o)].join(",")},["".concat(t,"-submenu-arrow")]:{display:"none"}}}},E=e=>{let{componentCls:t,menuArrowOffset:o,calc:n}=e;return{["".concat(t,"-rtl")]:{direction:"rtl"},["".concat(t,"-submenu-rtl")]:{transformOrigin:"100% 0"},["".concat(t,"-rtl").concat(t,"-vertical,\n    ").concat(t,"-submenu-rtl ").concat(t,"-vertical")]:{["".concat(t,"-submenu-arrow")]:{"&::before":{transform:"rotate(-45deg) translateY(".concat((0,x.zA)(n(o).mul(-1).equal()),")")},"&::after":{transform:"rotate(45deg) translateY(".concat((0,x.zA)(o),")")}}}}},H=e=>Object.assign({},(0,B.jk)(e)),T=(e,t)=>{const{componentCls:o,itemColor:n,itemSelectedColor:c,groupTitleColor:a,itemBg:r,subMenuItemBg:i,itemSelectedBg:l,activeBarHeight:d,activeBarWidth:s,activeBarBorderWidth:u,motionDurationSlow:m,motionEaseInOut:p,motionEaseOut:g,itemPaddingInline:b,motionDurationMid:v,itemHoverColor:h,lineType:f,colorSplit:C,itemDisabledColor:I,dangerItemColor:S,dangerItemHoverColor:y,dangerItemSelectedColor:B,dangerItemActiveBg:k,dangerItemSelectedBg:O,popupBg:w,itemHoverBg:A,itemActiveBg:z,menuSubMenuBg:j,horizontalItemSelectedColor:E,horizontalItemSelectedBg:T,horizontalItemBorderRadius:D,horizontalItemHoverBg:M}=e;return{["".concat(o,"-").concat(t,", ").concat(o,"-").concat(t," > ").concat(o)]:{color:n,background:r,["&".concat(o,"-root:focus-visible")]:Object.assign({},H(e)),["".concat(o,"-item-group-title")]:{color:a},["".concat(o,"-submenu-selected")]:{["> ".concat(o,"-submenu-title")]:{color:c}},["".concat(o,"-item, ").concat(o,"-submenu-title")]:{color:n,["&:not(".concat(o,"-item-disabled):focus-visible")]:Object.assign({},H(e))},["".concat(o,"-item-disabled, ").concat(o,"-submenu-disabled")]:{color:"".concat(I," !important")},["".concat(o,"-item:not(").concat(o,"-item-selected):not(").concat(o,"-submenu-selected)")]:{["&:hover, > ".concat(o,"-submenu-title:hover")]:{color:h}},["&:not(".concat(o,"-horizontal)")]:{["".concat(o,"-item:not(").concat(o,"-item-selected)")]:{"&:hover":{backgroundColor:A},"&:active":{backgroundColor:z}},["".concat(o,"-submenu-title")]:{"&:hover":{backgroundColor:A},"&:active":{backgroundColor:z}}},["".concat(o,"-item-danger")]:{color:S,["&".concat(o,"-item:hover")]:{["&:not(".concat(o,"-item-selected):not(").concat(o,"-submenu-selected)")]:{color:y}},["&".concat(o,"-item:active")]:{background:k}},["".concat(o,"-item a")]:{"&, &:hover":{color:"inherit"}},["".concat(o,"-item-selected")]:{color:c,["&".concat(o,"-item-danger")]:{color:B},"a, a:hover":{color:"inherit"}},["& ".concat(o,"-item-selected")]:{backgroundColor:l,["&".concat(o,"-item-danger")]:{backgroundColor:O}},["&".concat(o,"-submenu > ").concat(o)]:{backgroundColor:j},["&".concat(o,"-popup > ").concat(o)]:{backgroundColor:w},["&".concat(o,"-submenu-popup > ").concat(o)]:{backgroundColor:w},["&".concat(o,"-horizontal")]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{["> ".concat(o,"-item, > ").concat(o,"-submenu")]:{top:u,marginTop:e.calc(u).mul(-1).equal(),marginBottom:0,borderRadius:D,"&::after":{position:"absolute",insetInline:b,bottom:0,borderBottom:"".concat((0,x.zA)(d)," solid transparent"),transition:"border-color ".concat(m," ").concat(p),content:'""'},"&:hover, &-active, &-open":{background:M,"&::after":{borderBottomWidth:d,borderBottomColor:E}},"&-selected":{color:E,backgroundColor:T,"&:hover":{backgroundColor:T},"&::after":{borderBottomWidth:d,borderBottomColor:E}}}}),["&".concat(o,"-root")]:{["&".concat(o,"-inline, &").concat(o,"-vertical")]:{borderInlineEnd:"".concat((0,x.zA)(u)," ").concat(f," ").concat(C)}},["&".concat(o,"-inline")]:{["".concat(o,"-sub").concat(o,"-inline")]:{background:i},["".concat(o,"-item")]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:"".concat((0,x.zA)(s)," solid ").concat(c),transform:"scaleY(0.0001)",opacity:0,transition:["transform ".concat(v," ").concat(g),"opacity ".concat(v," ").concat(g)].join(","),content:'""'},["&".concat(o,"-item-danger")]:{"&::after":{borderInlineEndColor:B}}},["".concat(o,"-selected, ").concat(o,"-item-selected")]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:["transform ".concat(v," ").concat(p),"opacity ".concat(v," ").concat(p)].join(",")}}}}}},D=e=>{const{componentCls:t,itemHeight:o,itemMarginInline:n,padding:c,menuArrowSize:a,marginXS:r,itemMarginBlock:i,itemWidth:l}=e,d=e.calc(a).add(c).add(r).equal();return{["".concat(t,"-item")]:{position:"relative",overflow:"hidden"},["".concat(t,"-item, ").concat(t,"-submenu-title")]:{height:o,lineHeight:(0,x.zA)(o),paddingInline:c,overflow:"hidden",textOverflow:"ellipsis",marginInline:n,marginBlock:i,width:l},["> ".concat(t,"-item,\n            > ").concat(t,"-submenu > ").concat(t,"-submenu-title")]:{height:o,lineHeight:(0,x.zA)(o)},["".concat(t,"-item-group-list ").concat(t,"-submenu-title,\n            ").concat(t,"-submenu-title")]:{paddingInlineEnd:d}}},M=e=>{const{componentCls:t,iconCls:o,itemHeight:n,colorTextLightSolid:c,dropdownWidth:a,controlHeightLG:r,motionDurationMid:i,motionEaseOut:l,paddingXL:d,itemMarginInline:s,fontSizeLG:u,motionDurationSlow:m,paddingXS:p,boxShadowSecondary:g,collapsedWidth:b,collapsedIconSize:v}=e,h={height:n,lineHeight:(0,x.zA)(n),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({["&".concat(t,"-root")]:{boxShadow:"none"}},D(e))},["".concat(t,"-submenu-popup")]:{["".concat(t,"-vertical")]:Object.assign(Object.assign({},D(e)),{boxShadow:g})}},{["".concat(t,"-submenu-popup ").concat(t,"-vertical").concat(t,"-sub")]:{minWidth:a,maxHeight:"calc(100vh - ".concat((0,x.zA)(e.calc(r).mul(2.5).equal()),")"),padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{["".concat(t,"-inline")]:{width:"100%",["&".concat(t,"-root")]:{["".concat(t,"-item, ").concat(t,"-submenu-title")]:{display:"flex",alignItems:"center",transition:["border-color ".concat(m),"background ".concat(m),"padding ".concat(i," ").concat(l),"padding-inline calc(50% - ".concat((0,x.zA)(e.calc(u).div(2).equal())," - ").concat((0,x.zA)(s),")")].join(","),["> ".concat(t,"-title-content")]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},["".concat(t,"-sub").concat(t,"-inline")]:{padding:0,border:0,borderRadius:0,boxShadow:"none",["& > ".concat(t,"-submenu > ").concat(t,"-submenu-title")]:h,["& ".concat(t,"-item-group-title")]:{paddingInlineStart:d}},["".concat(t,"-item")]:h}},{["".concat(t,"-inline-collapsed")]:{width:b,["&".concat(t,"-root")]:{["".concat(t,"-item, ").concat(t,"-submenu ").concat(t,"-submenu-title")]:{["> ".concat(t,"-inline-collapsed-noicon")]:{fontSize:u,textAlign:"center"}}},["> ".concat(t,"-item,\n          > ").concat(t,"-item-group > ").concat(t,"-item-group-list > ").concat(t,"-item,\n          > ").concat(t,"-item-group > ").concat(t,"-item-group-list > ").concat(t,"-submenu > ").concat(t,"-submenu-title,\n          > ").concat(t,"-submenu > ").concat(t,"-submenu-title")]:{insetInlineStart:0,paddingInline:"calc(50% - ".concat((0,x.zA)(e.calc(u).div(2).equal())," - ").concat((0,x.zA)(s),")"),textOverflow:"clip",["\n            ".concat(t,"-submenu-arrow,\n            ").concat(t,"-submenu-expand-icon\n          ")]:{opacity:0},["".concat(t,"-item-icon, ").concat(o)]:{margin:0,fontSize:v,lineHeight:(0,x.zA)(n),"+ span":{display:"inline-block",opacity:0}}},["".concat(t,"-item-icon, ").concat(o)]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",["".concat(t,"-item-icon, ").concat(o)]:{display:"none"},"a, a:hover":{color:c}},["".concat(t,"-item-group-title")]:Object.assign(Object.assign({},B.L9),{paddingInline:p})}}]},N=e=>{const{componentCls:t,motionDurationSlow:o,motionDurationMid:n,motionEaseInOut:c,motionEaseOut:a,iconCls:r,iconSize:i,iconMarginInlineEnd:l}=e;return{["".concat(t,"-item, ").concat(t,"-submenu-title")]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:["border-color ".concat(o),"background ".concat(o),"padding ".concat(o," ").concat(c)].join(","),["".concat(t,"-item-icon, ").concat(r)]:{minWidth:i,fontSize:i,transition:["font-size ".concat(n," ").concat(a),"margin ".concat(o," ").concat(c),"color ".concat(o)].join(","),"+ span":{marginInlineStart:l,opacity:1,transition:["opacity ".concat(o," ").concat(c),"margin ".concat(o),"color ".concat(o)].join(",")}},["".concat(t,"-item-icon")]:Object.assign({},(0,B.Nk)()),["&".concat(t,"-item-only-child")]:{["> ".concat(r,", > ").concat(t,"-item-icon")]:{marginInlineEnd:0}}},["".concat(t,"-item-disabled, ").concat(t,"-submenu-disabled")]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},["> ".concat(t,"-submenu-title")]:{color:"inherit !important",cursor:"not-allowed"}}}},P=e=>{const{componentCls:t,motionDurationSlow:o,motionEaseInOut:n,borderRadius:c,menuArrowSize:a,menuArrowOffset:r}=e;return{["".concat(t,"-submenu")]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:a,color:"currentcolor",transform:"translateY(-50%)",transition:"transform ".concat(o," ").concat(n,", opacity ").concat(o)},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(a).mul(.6).equal(),height:e.calc(a).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:c,transition:["background ".concat(o," ").concat(n),"transform ".concat(o," ").concat(n),"top ".concat(o," ").concat(n),"color ".concat(o," ").concat(n)].join(","),content:'""'},"&::before":{transform:"rotate(45deg) translateY(".concat((0,x.zA)(e.calc(r).mul(-1).equal()),")")},"&::after":{transform:"rotate(-45deg) translateY(".concat((0,x.zA)(r),")")}}}}},R=e=>{const{antCls:t,componentCls:o,fontSize:n,motionDurationSlow:c,motionDurationMid:a,motionEaseInOut:r,paddingXS:i,padding:l,colorSplit:d,lineWidth:s,zIndexPopup:u,borderRadiusLG:m,subMenuItemBorderRadius:p,menuArrowSize:g,menuArrowOffset:b,lineType:v,groupTitleLineHeight:h,groupTitleFontSize:f}=e;return[{"":{["".concat(o)]:Object.assign(Object.assign({},(0,B.t6)()),{"&-hidden":{display:"none"}})},["".concat(o,"-submenu-hidden")]:{display:"none"}},{[o]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,B.dF)(e)),(0,B.t6)()),{marginBottom:0,paddingInlineStart:0,fontSize:n,lineHeight:0,listStyle:"none",outline:"none",transition:"width ".concat(c," cubic-bezier(0.2, 0, 0, 1) 0s"),"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",["".concat(o,"-item")]:{flex:"none"}},["".concat(o,"-item, ").concat(o,"-submenu, ").concat(o,"-submenu-title")]:{borderRadius:e.itemBorderRadius},["".concat(o,"-item-group-title")]:{padding:"".concat((0,x.zA)(i)," ").concat((0,x.zA)(l)),fontSize:f,lineHeight:h,transition:"all ".concat(c)},["&-horizontal ".concat(o,"-submenu")]:{transition:["border-color ".concat(c," ").concat(r),"background ".concat(c," ").concat(r)].join(",")},["".concat(o,"-submenu, ").concat(o,"-submenu-inline")]:{transition:["border-color ".concat(c," ").concat(r),"background ".concat(c," ").concat(r),"padding ".concat(a," ").concat(r)].join(",")},["".concat(o,"-submenu ").concat(o,"-sub")]:{cursor:"initial",transition:["background ".concat(c," ").concat(r),"padding ".concat(c," ").concat(r)].join(",")},["".concat(o,"-title-content")]:{transition:"color ".concat(c),["> ".concat(t,"-typography-ellipsis-single-line")]:{display:"inline",verticalAlign:"unset"}},["".concat(o,"-item a")]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},["".concat(o,"-item-divider")]:{overflow:"hidden",lineHeight:0,borderColor:d,borderStyle:v,borderWidth:0,borderTopWidth:s,marginBlock:s,padding:0,"&-dashed":{borderStyle:"dashed"}}}),N(e)),{["".concat(o,"-item-group")]:{["".concat(o,"-item-group-list")]:{margin:0,padding:0,["".concat(o,"-item, ").concat(o,"-submenu-title")]:{paddingInline:"".concat((0,x.zA)(e.calc(n).mul(2).equal())," ").concat((0,x.zA)(l))}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:u,borderRadius:m,boxShadow:"none",transformOrigin:"0 0",["&".concat(o,"-submenu")]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},["> ".concat(o)]:Object.assign(Object.assign(Object.assign({borderRadius:m},N(e)),P(e)),{["".concat(o,"-item, ").concat(o,"-submenu > ").concat(o,"-submenu-title")]:{borderRadius:p},["".concat(o,"-submenu-title::after")]:{transition:"transform ".concat(c," ").concat(r)}})},"\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:e.paddingXS},"\n          &-placement-rightTop,\n          &-placement-rightBottom\n          ":{paddingInlineStart:e.paddingXS},"\n          &-placement-topRight,\n          &-placement-topLeft\n          ":{paddingBottom:e.paddingXS},"\n          &-placement-bottomRight,\n          &-placement-bottomLeft\n          ":{paddingTop:e.paddingXS}}}),P(e)),{["&-inline-collapsed ".concat(o,"-submenu-arrow,\n        &-inline ").concat(o,"-submenu-arrow")]:{"&::before":{transform:"rotate(-45deg) translateX(".concat((0,x.zA)(b),")")},"&::after":{transform:"rotate(45deg) translateX(".concat((0,x.zA)(e.calc(b).mul(-1).equal()),")")}},["".concat(o,"-submenu-open").concat(o,"-submenu-inline > ").concat(o,"-submenu-title > ").concat(o,"-submenu-arrow")]:{transform:"translateY(".concat((0,x.zA)(e.calc(g).mul(.2).mul(-1).equal()),")"),"&::after":{transform:"rotate(-45deg) translateX(".concat((0,x.zA)(e.calc(b).mul(-1).equal()),")")},"&::before":{transform:"rotate(45deg) translateX(".concat((0,x.zA)(b),")")}}})},{["".concat(t,"-layout-header")]:{[o]:{lineHeight:"inherit"}}}]},W=e=>{var t,o,n;const{colorPrimary:c,colorError:a,colorTextDisabled:r,colorErrorBg:i,colorText:l,colorTextDescription:d,colorBgContainer:s,colorFillAlter:u,colorFillContent:m,lineWidth:p,lineWidthBold:g,controlItemBgActive:b,colorBgTextHover:v,controlHeightLG:h,lineHeight:f,colorBgElevated:C,marginXXS:I,padding:S,fontSize:x,controlHeightSM:B,fontSizeLG:k,colorTextLightSolid:O,colorErrorHover:w}=e,A=null!==(t=e.activeBarWidth)&&void 0!==t?t:0,z=null!==(o=e.activeBarBorderWidth)&&void 0!==o?o:p,j=null!==(n=e.itemMarginInline)&&void 0!==n?n:e.marginXXS,E=new y.q(O).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:l,itemColor:l,colorItemTextHover:l,itemHoverColor:l,colorItemTextHoverHorizontal:c,horizontalItemHoverColor:c,colorGroupTitle:d,groupTitleColor:d,colorItemTextSelected:c,itemSelectedColor:c,colorItemTextSelectedHorizontal:c,horizontalItemSelectedColor:c,colorItemBg:s,itemBg:s,colorItemBgHover:v,itemHoverBg:v,colorItemBgActive:m,itemActiveBg:b,colorSubItemBg:u,subMenuItemBg:u,colorItemBgSelected:b,itemSelectedBg:b,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:A,colorActiveBarHeight:g,activeBarHeight:g,colorActiveBarBorderSize:p,activeBarBorderWidth:z,colorItemTextDisabled:r,itemDisabledColor:r,colorDangerItemText:a,dangerItemColor:a,colorDangerItemTextHover:a,dangerItemHoverColor:a,colorDangerItemTextSelected:a,dangerItemSelectedColor:a,colorDangerItemBgActive:i,dangerItemActiveBg:i,colorDangerItemBgSelected:i,dangerItemSelectedBg:i,itemMarginInline:j,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:h,groupTitleLineHeight:f,collapsedWidth:2*h,popupBg:C,itemMarginBlock:I,itemPaddingInline:S,horizontalLineHeight:"".concat(1.15*h,"px"),iconSize:x,iconMarginInlineEnd:B-x,collapsedIconSize:k,groupTitleFontSize:x,darkItemDisabledColor:new y.q(O).setAlpha(.25).toRgbString(),darkItemColor:E,darkDangerItemColor:a,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:O,darkItemSelectedBg:c,darkDangerItemSelectedBg:a,darkItemHoverBg:"transparent",darkGroupTitleColor:E,darkItemHoverColor:O,darkDangerItemHoverColor:w,darkDangerItemSelectedColor:O,darkDangerItemActiveBg:a,itemWidth:A?"calc(100% + ".concat(z,"px)"):"calc(100% - ".concat(2*j,"px)")}},L=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return(0,A.OF)("Menu",(e=>{const{colorBgElevated:t,controlHeightLG:o,fontSize:n,darkItemColor:c,darkDangerItemColor:a,darkItemBg:r,darkSubMenuItemBg:i,darkItemSelectedColor:l,darkItemSelectedBg:d,darkDangerItemSelectedBg:s,darkItemHoverBg:u,darkGroupTitleColor:m,darkItemHoverColor:p,darkItemDisabledColor:g,darkDangerItemHoverColor:b,darkDangerItemSelectedColor:v,darkDangerItemActiveBg:h,popupBg:f,darkPopupBg:C}=e,I=e.calc(n).div(7).mul(5).equal(),S=(0,z.h1)(e,{menuArrowSize:I,menuHorizontalHeight:e.calc(o).mul(1.15).equal(),menuArrowOffset:e.calc(I).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:f}),x=(0,z.h1)(S,{itemColor:c,itemHoverColor:p,groupTitleColor:m,itemSelectedColor:l,itemBg:r,popupBg:C,subMenuItemBg:i,itemActiveBg:"transparent",itemSelectedBg:d,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:u,itemDisabledColor:g,dangerItemColor:a,dangerItemHoverColor:b,dangerItemSelectedColor:v,dangerItemActiveBg:h,dangerItemSelectedBg:s,menuSubMenuBg:i,horizontalItemSelectedColor:l,horizontalItemSelectedBg:d});return[R(S),j(S),M(S),T(S,"light"),T(x,"dark"),E(S),(0,k.A)(S),(0,O._j)(S,"slide-up"),(0,O._j)(S,"slide-down"),(0,w.aB)(S,"zoom-big")]}),W,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:o,unitless:{groupTitleLineHeight:!0}})(e,t)};var q=o(64980);const X=e=>{var t;const{popupClassName:o,icon:a,title:i,theme:l}=e,d=n.useContext(h),{prefixCls:u,inlineCollapsed:p,theme:g}=d,b=(0,c.Wj)();let v;if(a){const e=n.isValidElement(i)&&"span"===i.type;v=n.createElement(n.Fragment,null,(0,m.Ob)(a,{className:r()(n.isValidElement(a)?null===(t=a.props)||void 0===t?void 0:t.className:"","".concat(u,"-item-icon"))}),e?i:n.createElement("span",{className:"".concat(u,"-title-content")},i))}else v=p&&!b.length&&i&&"string"===typeof i?n.createElement("div",{className:"".concat(u,"-inline-collapsed-noicon")},i.charAt(0)):n.createElement("span",{className:"".concat(u,"-title-content")},i);const f=n.useMemo((()=>Object.assign(Object.assign({},d),{firstLevel:!1})),[d]),[C]=(0,q.YK)("Menu");return n.createElement(h.Provider,{value:f},n.createElement(c.g8,Object.assign({},(0,s.A)(e,["icon"]),{title:v,popupClassName:r()(u,o,"".concat(u,"-").concat(l||g)),popupStyle:{zIndex:C}})))};var G=function(e,t){var o={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(o[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var c=0;for(n=Object.getOwnPropertySymbols(e);c<n.length;c++)t.indexOf(n[c])<0&&Object.prototype.propertyIsEnumerable.call(e,n[c])&&(o[n[c]]=e[n[c]])}return o};function F(e){return null===e||!1===e}const V={item:I,submenu:X,divider:v},_=(0,n.forwardRef)(((e,t)=>{var o;const a=n.useContext(S.h),i=a||{},{getPrefixCls:b,getPopupContainer:v,direction:f,menu:C}=n.useContext(p.QO),I=b(),{prefixCls:x,className:y,style:B,theme:k="light",expandIcon:O,_internalDisableMenuItemTitleTooltip:w,inlineCollapsed:A,siderCollapsed:z,rootClassName:j,mode:E,selectable:H,onClick:T,overflowedIndicatorPopupClassName:D}=e,M=G(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),N=(0,s.A)(M,["collapsedWidth"]);null===(o=i.validator)||void 0===o||o.call(i,{mode:E});const P=(0,d._q)((function(){var e;null===T||void 0===T||T.apply(void 0,arguments),null===(e=i.onClick)||void 0===e||e.call(i)})),R=i.mode||E,W=null!==H&&void 0!==H?H:i.selectable,q=n.useMemo((()=>void 0!==z?z:A),[A,z]),X={horizontal:{motionName:"".concat(I,"-slide-up")},inline:(0,u.A)(I),other:{motionName:"".concat(I,"-zoom-big")}},_=b("menu",x||i.prefixCls),Y=(0,g.A)(_),[K,Q,$]=L(_,Y,!a),J=r()("".concat(_,"-").concat(k),null===C||void 0===C?void 0:C.className,y),U=n.useMemo((()=>{var e,t;if("function"===typeof O||F(O))return O||null;if("function"===typeof i.expandIcon||F(i.expandIcon))return i.expandIcon||null;if("function"===typeof(null===C||void 0===C?void 0:C.expandIcon)||F(null===C||void 0===C?void 0:C.expandIcon))return(null===C||void 0===C?void 0:C.expandIcon)||null;const o=null!==(e=null!==O&&void 0!==O?O:null===i||void 0===i?void 0:i.expandIcon)&&void 0!==e?e:null===C||void 0===C?void 0:C.expandIcon;return(0,m.Ob)(o,{className:r()("".concat(_,"-submenu-expand-icon"),n.isValidElement(o)?null===(t=o.props)||void 0===t?void 0:t.className:void 0)})}),[O,null===i||void 0===i?void 0:i.expandIcon,null===C||void 0===C?void 0:C.expandIcon,_]),Z=n.useMemo((()=>({prefixCls:_,inlineCollapsed:q||!1,direction:f,firstLevel:!0,theme:k,mode:R,disableMenuItemTitleTooltip:w})),[_,q,f,w,k]);return K(n.createElement(S.h.Provider,{value:null},n.createElement(h.Provider,{value:Z},n.createElement(c.Ay,Object.assign({getPopupContainer:v,overflowedIndicator:n.createElement(l.A,null),overflowedIndicatorPopupClassName:r()(_,"".concat(_,"-").concat(k),D),mode:R,selectable:W,onClick:P},N,{inlineCollapsed:q,style:Object.assign(Object.assign({},null===C||void 0===C?void 0:C.style),B),className:J,prefixCls:_,direction:f,defaultMotions:X,expandIcon:U,ref:t,rootClassName:r()(j,Q,i.rootClassName,$,Y),_internalComponents:V})))))})),Y=_,K=(0,n.forwardRef)(((e,t)=>{const o=(0,n.useRef)(null),c=n.useContext(i);return(0,n.useImperativeHandle)(t,(()=>({menu:o.current,focus:e=>{var t;null===(t=o.current)||void 0===t||t.focus(e)}}))),n.createElement(Y,Object.assign({ref:o},e,c))}));K.Item=I,K.SubMenu=X,K.Divider=v,K.ItemGroup=c.te;const Q=K},37770:(e,t,o)=>{o.d(t,{A:()=>n});const n=e=>({[e.componentCls]:{["".concat(e.antCls,"-motion-collapse-legacy")]:{overflow:"hidden","&-active":{transition:"height ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut,",\n        opacity ").concat(e.motionDurationMid," ").concat(e.motionEaseInOut," !important")}},["".concat(e.antCls,"-motion-collapse")]:{overflow:"hidden",transition:"height ".concat(e.motionDurationMid," ").concat(e.motionEaseInOut,",\n        opacity ").concat(e.motionDurationMid," ").concat(e.motionEaseInOut," !important")}}})},79688:(e,t,o)=>{o.d(t,{A:()=>p});var n=o(58168),c=o(89379),a=o(64467),r=o(5544),i=o(53986),l=o(98139),d=o.n(l),s=o(28678),u=o(65043),m=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"];const p=(0,u.forwardRef)((function(e,t){var o=e.prefixCls,l=void 0===o?"rc-checkbox":o,p=e.className,g=e.style,b=e.checked,v=e.disabled,h=e.defaultChecked,f=void 0!==h&&h,C=e.type,I=void 0===C?"checkbox":C,S=e.title,x=e.onChange,y=(0,i.A)(e,m),B=(0,u.useRef)(null),k=(0,u.useRef)(null),O=(0,s.A)(f,{value:b}),w=(0,r.A)(O,2),A=w[0],z=w[1];(0,u.useImperativeHandle)(t,(function(){return{focus:function(e){var t;null===(t=B.current)||void 0===t||t.focus(e)},blur:function(){var e;null===(e=B.current)||void 0===e||e.blur()},input:B.current,nativeElement:k.current}}));var j=d()(l,p,(0,a.A)((0,a.A)({},"".concat(l,"-checked"),A),"".concat(l,"-disabled"),v));return u.createElement("span",{className:j,title:S,style:g,ref:k},u.createElement("input",(0,n.A)({},y,{className:"".concat(l,"-input"),ref:B,onChange:function(t){v||("checked"in e||z(t.target.checked),null===x||void 0===x||x({target:(0,c.A)((0,c.A)({},e),{},{type:I,checked:t.target.checked}),stopPropagation:function(){t.stopPropagation()},preventDefault:function(){t.preventDefault()},nativeEvent:t.nativeEvent}))},disabled:v,checked:!!A,type:I})),u.createElement("span",{className:"".concat(l,"-inner")}))}))}}]);
//# sourceMappingURL=284.027a50cd.chunk.js.map