(this["webpackJsonpsimpro-web"]=this["webpackJsonpsimpro-web"]||[]).push([[8],{579:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r=n(2),o=r.isValidElement;function i(e,t,n){return o(e)?r.cloneElement(e,"function"===typeof n?n(e.props||{}):n):t}function a(e,t){return i(e,e,t)}},599:function(e,t){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(t),l=0;l1&&(j.motionAppear=!1);var C=j.onVisibleChanged;return j.onVisibleChanged=function(e){return b.current||e||y(!0),null===C||void 0===C?void 0:C(e)},O?null:u.createElement(k,{mode:"inline",locked:!b.current},u.createElement(de.b,Object(r.a)({visible:g},j,{forceRender:f,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),(function(e){var n=e.className,r=e.style;return u.createElement(re,{id:t,className:n,style:r},a)})))}var pe=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],be=["active"],me=function(e){var t,n=e.style,a=e.className,s=e.title,d=e.eventKey,v=(e.warnKey,e.disabled),p=e.internalPopupClose,b=e.children,h=e.itemIcon,O=e.expandIcon,y=e.popupClassName,g=e.popupOffset,j=e.onClick,C=e.onMouseEnter,E=e.onMouseLeave,w=e.onTitleClick,M=e.onTitleMouseEnter,R=e.onTitleMouseLeave,K=Object(l.a)(e,pe),T=z(d),A=u.useContext(x),V=A.prefixCls,_=A.mode,W=A.openKeys,H=A.disabled,q=A.overflowDisabled,U=A.activeKey,B=A.selectedKeys,G=A.itemIcon,J=A.expandIcon,X=A.onItemClick,Y=A.onOpenChange,Q=A.onActive,Z=u.useContext(F)._internalRenderSubMenuItem,ee=u.useContext(D).isSubPathKey,te=L(),ne="".concat(V,"-submenu"),oe=H||v,ie=u.useRef(),ae=u.useRef();var ce=h||G,le=O||J,ue=W.includes(d),se=!q&&ue,de=ee(B,d),me=N(d,oe,M,R),he=me.active,Oe=Object(l.a)(me,be),ye=u.useState(!1),ge=Object(c.a)(ye,2),je=ge[0],Ce=ge[1],Ee=function(e){oe||Ce(e)},we=u.useMemo((function(){return he||"inline"!==_&&(je||ee([U],d))}),[_,he,U,je,d,ee]),xe=I(te.length),ke=$((function(e){null===j||void 0===j||j(S(e)),X(e)})),Ne=T&&"".concat(T,"-popup"),Me=u.createElement("div",Object(r.a)({role:"menuitem",style:xe,className:"".concat(ne,"-title"),tabIndex:oe?null:-1,ref:ie,title:"string"===typeof s?s:null,"data-menu-id":q&&T?null:T,"aria-expanded":se,"aria-haspopup":!0,"aria-controls":Ne,"aria-disabled":oe,onClick:function(e){oe||(null===w||void 0===w||w({key:d,domEvent:e}),"inline"===_&&Y(d,!ue))},onFocus:function(){Q(d)}},Oe),s,u.createElement(P,{icon:"horizontal"!==_?le:null,props:Object(i.a)(Object(i.a)({},e),{},{isOpen:se,isSubMenu:!0})},u.createElement("i",{className:"".concat(ne,"-arrow")}))),Se=u.useRef(_);if("inline"!==_&&(Se.current=te.length>1?"vertical":_),!q){var Pe=Se.current;Me=u.createElement(fe,{mode:Pe,prefixCls:ne,visible:!p&&se&&"inline"!==_,popupClassName:y,popupOffset:g,popup:u.createElement(k,{mode:"horizontal"===Pe?"vertical":Pe},u.createElement(re,{id:Ne,ref:ae},b)),disabled:oe,onVisibleChange:function(e){"inline"!==_&&Y(d,e)}},Me)}var Ie=u.createElement(m.a.Item,Object(r.a)({role:"none"},K,{component:"li",style:n,className:f()(ne,"".concat(ne,"-").concat(_),a,(t={},Object(o.a)(t,"".concat(ne,"-open"),se),Object(o.a)(t,"".concat(ne,"-active"),we),Object(o.a)(t,"".concat(ne,"-selected"),de),Object(o.a)(t,"".concat(ne,"-disabled"),oe),t)),onMouseEnter:function(e){Ee(!0),null===C||void 0===C||C({key:d,domEvent:e})},onMouseLeave:function(e){Ee(!1),null===E||void 0===E||E({key:d,domEvent:e})}}),Me,!q&&u.createElement(ve,{id:Ne,open:se,keyPath:te},b));return Z&&(Ie=Z(Ie,e,{selected:de,active:we,open:se,disabled:oe})),u.createElement(k,{onItemClick:ke,mode:"horizontal"===_?"vertical":_,itemIcon:ce,expandIcon:le},Ie)};function he(e){var t,n=e.eventKey,r=e.children,o=L(n),i=Q(r,o),a=T();return u.useEffect((function(){if(a)return a.registerPath(n,o),function(){a.unregisterPath(n,o)}}),[o]),t=a?i:u.createElement(me,e,i),u.createElement(A.Provider,{value:o},t)}var Oe=n(724),ye=j.a.LEFT,ge=j.a.RIGHT,je=j.a.UP,Ce=j.a.DOWN,Ee=j.a.ENTER,we=j.a.ESC,xe=j.a.HOME,ke=j.a.END,Ne=[je,Ce,ye,ge];function Me(e,t){return Object(Oe.a)(e,!0).filter((function(e){return t.has(e)}))}function Se(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=Me(e,t),i=o.length,a=o.findIndex((function(e){return n===e}));return r<0?-1===a?a=i-1:a-=1:r>0&&(a+=1),o[a=(a+i)%i]}function Pe(e,t,n,r,i,a,c,l,s,f){var d=u.useRef(),v=u.useRef();v.current=t;var p=function(){ie.a.cancel(d.current)};return u.useEffect((function(){return function(){p()}}),[]),function(u){var b=u.which;if([].concat(Ne,[Ee,we,xe,ke]).includes(b)){var m,h,O,y=function(){return m=new Set,h=new Map,O=new Map,a().forEach((function(e){var t=document.querySelector("[data-menu-id='".concat(_(r,e),"']"));t&&(m.add(t),O.set(t,e),h.set(e,t))})),m};y();var g=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(h.get(t),m),j=O.get(g),C=function(e,t,n,r){var i,a,c,l;if("inline"===e&&r===Ee)return{inlineTrigger:!0};var u=(i={},Object(o.a)(i,je,"prev"),Object(o.a)(i,Ce,"next"),i),s=(a={},Object(o.a)(a,ye,n?"next":"prev"),Object(o.a)(a,ge,n?"prev":"next"),Object(o.a)(a,Ce,"children"),Object(o.a)(a,Ee,"children"),a),f=(c={},Object(o.a)(c,je,"prev"),Object(o.a)(c,Ce,"next"),Object(o.a)(c,Ee,"children"),Object(o.a)(c,we,"parent"),Object(o.a)(c,ye,n?"children":"parent"),Object(o.a)(c,ge,n?"parent":"children"),c);switch(null===(l={inline:u,horizontal:s,vertical:f,inlineSub:u,horizontalSub:f,verticalSub:f}["".concat(e).concat(t?"":"Sub")])||void 0===l?void 0:l[r]){case"prev":return{offset:-1,sibling:!0};case"next":return{offset:1,sibling:!0};case"parent":return{offset:-1,sibling:!1};case"children":return{offset:1,sibling:!1};default:return null}}(e,1===c(j,!0).length,n,b);if(!C&&b!==xe&&b!==ke)return;(Ne.includes(b)||[xe,ke].includes(b))&&u.preventDefault();var E=function(e){if(e){var t=e,n=e.querySelector("a");(null===n||void 0===n?void 0:n.getAttribute("href"))&&(t=n);var r=O.get(e);l(r),p(),d.current=Object(ie.a)((function(){v.current===r&&t.focus()}))}};if([xe,ke].includes(b)||C.sibling||!g){var w,x,k=Me(w=g&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(g):i.current,m);x=b===xe?k[0]:b===ke?k[k.length-1]:Se(w,m,g,C.offset),E(x)}else if(C.inlineTrigger)s(j);else if(C.offset>0)s(j,!0),p(),d.current=Object(ie.a)((function(){y();var e=g.getAttribute("aria-controls"),t=Se(document.getElementById(e),m);E(t)}),5);else if(C.offset<0){var N=c(j,!0),M=N[N.length-2],S=h.get(M);s(M,!1),E(S)}}null===f||void 0===f||f(u)}}var Ie=Math.random().toFixed(5).toString().slice(2),Re=0;var Ke="__RC_UTIL_PATH_SPLIT__",Te=function(e){return e.join(Ke)};function Ae(){var e=u.useState({}),t=Object(c.a)(e,2)[1],n=Object(u.useRef)(new Map),r=Object(u.useRef)(new Map),o=u.useState([]),i=Object(c.a)(o,2),l=i[0],s=i[1],f=Object(u.useRef)(0),d=Object(u.useRef)(!1),v=Object(u.useCallback)((function(e,o){var i=Te(o);r.current.set(i,e),n.current.set(e,i),f.current+=1;var a,c=f.current;a=function(){c===f.current&&(d.current||t({}))},Promise.resolve().then(a)}),[]),p=Object(u.useCallback)((function(e,t){var o=Te(t);r.current.delete(o),n.current.delete(e)}),[]),b=Object(u.useCallback)((function(e){s(e)}),[]),m=Object(u.useCallback)((function(e,t){var r=n.current.get(e)||"",o=r.split(Ke);return t&&l.includes(o[0])&&o.unshift("rc-menu-more"),o}),[l]),h=Object(u.useCallback)((function(e,t){return e.some((function(e){return m(e,!0).includes(t)}))}),[m]),O=Object(u.useCallback)((function(e){var t="".concat(n.current.get(e)).concat(Ke),o=new Set;return Object(a.a)(r.current.keys()).forEach((function(e){e.startsWith(t)&&o.add(r.current.get(e))})),o}),[]);return u.useEffect((function(){return function(){d.current=!0}}),[]),{registerPath:v,unregisterPath:p,refreshOverflowKeys:b,isSubPathKey:h,getKeyPath:m,getKeys:function(){var e=Object(a.a)(n.current.keys());return l.length&&e.push("rc-menu-more"),e},getSubPathKeys:O}}var Le=["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"],De=[],Ve=["className","title","eventKey","children"],_e=["children"],ze=function(e){var t=e.className,n=e.title,o=(e.eventKey,e.children),i=Object(l.a)(e,Ve),a=u.useContext(x).prefixCls,c="".concat(a,"-item-group");return u.createElement("li",Object(r.a)({},i,{onClick:function(e){return e.stopPropagation()},className:f()(c,t)}),u.createElement("div",{className:"".concat(c,"-title"),title:"string"===typeof n?n:void 0},n),u.createElement("ul",{className:"".concat(c,"-list")},o))};function Fe(e){var t=e.children,n=Object(l.a)(e,_e),r=Q(t,L(n.eventKey));return T()?r:u.createElement(ze,Object(C.a)(n,["warnKey"]),r)}function We(e){var t=e.className,n=e.style,r=u.useContext(x).prefixCls;return T()?null:u.createElement("li",{className:f()("".concat(r,"-item-divider"),t),style:n})}var He=L,qe=u.forwardRef((function(e,t){var n,s,d=e.prefixCls,b=void 0===d?"rc-menu":d,h=e.rootClassName,O=e.style,y=e.className,g=e.tabIndex,j=void 0===g?0:g,C=e.items,E=e.children,w=e.direction,x=e.id,N=e.mode,M=void 0===N?"vertical":N,P=e.inlineCollapsed,I=e.disabled,R=e.disabledOverflow,T=e.subMenuOpenDelay,A=void 0===T?.1:T,L=e.subMenuCloseDelay,z=void 0===L?.1:L,W=e.forceSubMenuRender,H=e.defaultOpenKeys,q=e.openKeys,U=e.activeKey,B=e.defaultActiveFirst,J=e.selectable,X=void 0===J||J,Y=e.multiple,Q=void 0!==Y&&Y,ee=e.defaultSelectedKeys,te=e.selectedKeys,ne=e.onSelect,re=e.onDeselect,oe=e.inlineIndent,ie=void 0===oe?24:oe,ae=e.motion,ce=e.defaultMotions,le=e.triggerSubMenuAction,ue=void 0===le?"hover":le,se=e.builtinPlacements,fe=e.itemIcon,de=e.expandIcon,ve=e.overflowedIndicator,pe=void 0===ve?"...":ve,be=e.overflowedIndicatorPopupClassName,me=e.getPopupContainer,Oe=e.onClick,ye=e.onOpenChange,ge=e.onKeyDown,je=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),Ce=e._internalRenderSubMenuItem,Ee=Object(l.a)(e,Le),we=u.useMemo((function(){return Z(E,C,De)}),[E,C]),xe=u.useState(!1),ke=Object(c.a)(xe,2),Ne=ke[0],Me=ke[1],Se=u.useRef(),Ke=function(e){var t=Object(p.a)(e,{value:e}),n=Object(c.a)(t,2),r=n[0],o=n[1];return u.useEffect((function(){Re+=1;var e="".concat(Ie,"-").concat(Re);o("rc-menu-uuid-".concat(e))}),[]),r}(x),Te="rtl"===w;var Ve=u.useMemo((function(){return"inline"!==M&&"vertical"!==M||!P?[M,!1]:["vertical",P]}),[M,P]),_e=Object(c.a)(Ve,2),ze=_e[0],Fe=_e[1],We=u.useState(0),He=Object(c.a)(We,2),qe=He[0],Ue=He[1],Be=qe>=we.length-1||"horizontal"!==ze||R,Ge=Object(p.a)(H,{value:q,postState:function(e){return e||De}}),Je=Object(c.a)(Ge,2),Xe=Je[0],Ye=Je[1],Qe=function(e){Ye(e),null===ye||void 0===ye||ye(e)},Ze=u.useState(Xe),$e=Object(c.a)(Ze,2),et=$e[0],tt=$e[1],nt="inline"===ze,rt=u.useRef(!1);u.useEffect((function(){nt&&tt(Xe)}),[Xe]),u.useEffect((function(){rt.current?nt?Ye(et):Qe(De):rt.current=!0}),[nt]);var ot=Ae(),it=ot.registerPath,at=ot.unregisterPath,ct=ot.refreshOverflowKeys,lt=ot.isSubPathKey,ut=ot.getKeyPath,st=ot.getKeys,ft=ot.getSubPathKeys,dt=u.useMemo((function(){return{registerPath:it,unregisterPath:at}}),[it,at]),vt=u.useMemo((function(){return{isSubPathKey:lt}}),[lt]);u.useEffect((function(){ct(Be?De:we.slice(qe+1).map((function(e){return e.key})))}),[qe,Be]);var pt=Object(p.a)(U||B&&(null===(n=we[0])||void 0===n?void 0:n.key),{value:U}),bt=Object(c.a)(pt,2),mt=bt[0],ht=bt[1],Ot=$((function(e){ht(e)})),yt=$((function(){ht(void 0)}));Object(u.useImperativeHandle)(t,(function(){return{list:Se.current,focus:function(e){var t,n,r,o,i=null!==mt&&void 0!==mt?mt:null===(t=we.find((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key;i&&(null===(n=Se.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(_(Ke,i),"']")))||void 0===r||null===(o=r.focus)||void 0===o||o.call(r,e))}}}));var gt=Object(p.a)(ee||[],{value:te,postState:function(e){return Array.isArray(e)?e:null===e||void 0===e?De:[e]}}),jt=Object(c.a)(gt,2),Ct=jt[0],Et=jt[1],wt=$((function(e){null===Oe||void 0===Oe||Oe(S(e)),function(e){if(X){var t,n=e.key,r=Ct.includes(n);t=Q?r?Ct.filter((function(e){return e!==n})):[].concat(Object(a.a)(Ct),[n]):[n],Et(t);var o=Object(i.a)(Object(i.a)({},e),{},{selectedKeys:t});r?null===re||void 0===re||re(o):null===ne||void 0===ne||ne(o)}!Q&&Xe.length&&"inline"!==ze&&Qe(De)}(e)})),xt=$((function(e,t){var n=Xe.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==ze){var r=ft(e);n=n.filter((function(e){return!r.has(e)}))}v()(Xe,n)||Qe(n)})),kt=$(me),Nt=Pe(ze,mt,Te,Ke,Se,st,ut,ht,(function(e,t){var n=null!==t&&void 0!==t?t:!Xe.includes(e);xt(e,n)}),ge);u.useEffect((function(){Me(!0)}),[]);var Mt=u.useMemo((function(){return{_internalRenderMenuItem:je,_internalRenderSubMenuItem:Ce}}),[je,Ce]),St="horizontal"!==ze||R?we:we.map((function(e,t){return u.createElement(k,{key:e.key,overflowDisabled:t>qe},e)})),Pt=u.createElement(m.a,Object(r.a)({id:x,ref:Se,prefixCls:"".concat(b,"-overflow"),component:"ul",itemComponent:G,className:f()(b,"".concat(b,"-root"),"".concat(b,"-").concat(ze),y,(s={},Object(o.a)(s,"".concat(b,"-inline-collapsed"),Fe),Object(o.a)(s,"".concat(b,"-rtl"),Te),s),h),dir:w,style:O,role:"menu",tabIndex:j,data:St,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?we.slice(-t):null;return u.createElement(he,{eventKey:"rc-menu-more",title:pe,disabled:Be,internalPopupClose:0===t,popupClassName:be},n)},maxCount:"horizontal"!==ze||R?m.a.INVALIDATE:m.a.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){Ue(e)},onKeyDown:Nt},Ee));return u.createElement(F.Provider,{value:Mt},u.createElement(V.Provider,{value:Ke},u.createElement(k,{prefixCls:b,rootClassName:h,mode:ze,openKeys:Xe,rtl:Te,disabled:I,motion:Ne?ae:null,defaultMotions:Ne?ce:null,activeKey:mt,onActive:Ot,onInactive:yt,selectedKeys:Ct,inlineIndent:ie,subMenuOpenDelay:A,subMenuCloseDelay:z,forceSubMenuRender:W,builtinPlacements:se,triggerSubMenuAction:ue,getPopupContainer:kt,itemIcon:fe,expandIcon:de,onItemClick:wt,onOpenChange:xt},u.createElement(D.Provider,{value:vt},Pt),u.createElement("div",{style:{display:"none"},"aria-hidden":!0},u.createElement(K.Provider,{value:dt},we)))))}));qe.Item=G,qe.SubMenu=he,qe.ItemGroup=Fe,qe.Divider=We;t.g=qe},641:function(e,t,n){"use strict";var r=n(23),o=n(572),i=n(573),a=n(584),c=n(574),l=n(575),u=n(785),s=n(591),f=n(2),d=n(774),v=n(583),p=0,b={};function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=p++,r=t;function o(){(r-=1)<=0?(e(),delete b[n]):b[n]=Object(v.a)(o)}return b[n]=Object(v.a)(o),n}m.cancel=function(e){void 0!==e&&(v.a.cancel(b[e]),delete b[e])},m.ids=b;var h,O=n(579);function y(e){return!e||null===e.offsetParent||e.hidden}function g(e){var t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(t&&t[1]&&t[2]&&t[3])||!(t[1]===t[2]&&t[2]===t[3])}var j=function(e){Object(c.a)(n,e);var t=Object(l.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).containerRef=f.createRef(),e.animationStart=!1,e.destroyed=!1,e.onClick=function(t,n){var r,o,i=e.props,c=i.insertExtraNode;if(!(i.disabled||!t||y(t)||t.className.indexOf("-leave")>=0)){e.extraNode=document.createElement("div");var l=Object(a.a)(e).extraNode,s=e.context.getPrefixCls;l.className="".concat(s(""),"-click-animating-node");var f=e.getAttributeName();if(t.setAttribute(f,"true"),n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&g(n)&&!/rgba\((?:\d*, ){3}0\)/.test(n)&&"transparent"!==n){l.style.borderColor=n;var d=(null===(r=t.getRootNode)||void 0===r?void 0:r.call(t))||t.ownerDocument,v=d instanceof Document?d.body:null!==(o=d.firstChild)&&void 0!==o?o:d;h=Object(u.a)("\n [".concat(s(""),"-click-animating-without-extra-node='true']::after, .").concat(s(""),"-click-animating-node {\n --antd-wave-shadow-color: ").concat(n,";\n }"),"antd-wave",{csp:e.csp,attachTo:v})}c&&t.appendChild(l),["transition","animation"].forEach((function(n){t.addEventListener("".concat(n,"start"),e.onTransitionStart),t.addEventListener("".concat(n,"end"),e.onTransitionEnd)}))}},e.onTransitionStart=function(t){if(!e.destroyed){var n=e.containerRef.current;t&&t.target===n&&!e.animationStart&&e.resetEffect(n)}},e.onTransitionEnd=function(t){t&&"fadeEffect"===t.animationName&&e.resetEffect(t.target)},e.bindAnimationEvent=function(t){if(t&&t.getAttribute&&!t.getAttribute("disabled")&&!(t.className.indexOf("disabled")>=0)){var n=function(n){if("INPUT"!==n.target.tagName&&!y(n.target)){e.resetEffect(t);var r=getComputedStyle(t).getPropertyValue("border-top-color")||getComputedStyle(t).getPropertyValue("border-color")||getComputedStyle(t).getPropertyValue("background-color");e.clickWaveTimeoutId=window.setTimeout((function(){return e.onClick(t,r)}),0),m.cancel(e.animationStartId),e.animationStart=!0,e.animationStartId=m((function(){e.animationStart=!1}),10)}};return t.addEventListener("click",n,!0),{cancel:function(){t.removeEventListener("click",n,!0)}}}},e.renderWave=function(t){var n=t.csp,r=e.props.children;if(e.csp=n,!f.isValidElement(r))return r;var o=e.containerRef;return Object(s.c)(r)&&(o=Object(s.a)(r.ref,e.containerRef)),Object(O.a)(r,{ref:o})},e}return Object(i.a)(n,[{key:"componentDidMount",value:function(){this.destroyed=!1;var e=this.containerRef.current;e&&1===e.nodeType&&(this.instance=this.bindAnimationEvent(e))}},{key:"componentWillUnmount",value:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroyed=!0}},{key:"getAttributeName",value:function(){var e=this.context.getPrefixCls,t=this.props.insertExtraNode;return"".concat(e(""),t?"-click-animating":"-click-animating-without-extra-node")}},{key:"resetEffect",value:function(e){var t=this;if(e&&e!==this.extraNode&&e instanceof Element){var n=this.props.insertExtraNode,r=this.getAttributeName();e.setAttribute(r,"false"),h&&(h.innerHTML=""),n&&this.extraNode&&e.contains(this.extraNode)&&e.removeChild(this.extraNode),["transition","animation"].forEach((function(n){e.removeEventListener("".concat(n,"start"),t.onTransitionStart),e.removeEventListener("".concat(n,"end"),t.onTransitionEnd)}))}}},{key:"render",value:function(){return f.createElement(d.a,null,this.renderWave)}}]),n}(f.Component);j.contextType=d.b;var C=Object(f.forwardRef)((function(e,t){return f.createElement(j,Object(r.a)({ref:t},e))}));t.a=C},689:function(e,t,n){"use strict";var r=n(561),o=n(2),i={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=n(564),c=function(e,t){return o.createElement(a.a,Object(r.a)(Object(r.a)({},e),{},{ref:t,icon:i}))};c.displayName="EllipsisOutlined";t.a=o.forwardRef(c)},724:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(570),o=n(723);function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Object(o.a)(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),i=e.getAttribute("tabindex"),a=Number(i),c=null;return i&&!Number.isNaN(a)?c=a:r&&null===c&&(c=0),r&&e.disabled&&(c=null),null!==c&&(c>=0||t&&c<0)}return!1}function a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Object(r.a)(e.querySelectorAll("*")).filter((function(e){return i(e,t)}));return i(e,t)&&n.unshift(e),n}},762:function(e,t,n){"use strict";var r=n(563),o=n(561),i=n(565),a=n(568),c=n(2),l=n(607),u=n(562),s=n.n(u),f={adjustX:1,adjustY:1},d=[0,0],v={topLeft:{points:["bl","tl"],overflow:f,offset:[0,-4],targetOffset:d},topCenter:{points:["bc","tc"],overflow:f,offset:[0,-4],targetOffset:d},topRight:{points:["br","tr"],overflow:f,offset:[0,-4],targetOffset:d},bottomLeft:{points:["tl","bl"],overflow:f,offset:[0,4],targetOffset:d},bottomCenter:{points:["tc","bc"],overflow:f,offset:[0,4],targetOffset:d},bottomRight:{points:["tr","br"],overflow:f,offset:[0,4],targetOffset:d}},p=n(578),b=n(583),m=n(724),h=p.a.ESC,O=p.a.TAB;var y=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus"];function g(e,t){var n=e.arrow,u=void 0!==n&&n,f=e.prefixCls,d=void 0===f?"rc-dropdown":f,p=e.transitionName,g=e.animation,j=e.align,C=e.placement,E=void 0===C?"bottomLeft":C,w=e.placements,x=void 0===w?v:w,k=e.getPopupContainer,N=e.showAction,M=e.hideAction,S=e.overlayClassName,P=e.overlayStyle,I=e.visible,R=e.trigger,K=void 0===R?["hover"]:R,T=e.autoFocus,A=Object(a.a)(e,y),L=c.useState(),D=Object(i.a)(L,2),V=D[0],_=D[1],z="visible"in e?I:V,F=c.useRef(null);c.useImperativeHandle(t,(function(){return F.current})),function(e){var t=e.visible,n=e.setTriggerVisible,r=e.triggerRef,o=e.onVisibleChange,i=e.autoFocus,a=c.useRef(!1),l=function(){var e,i,a,c;t&&r.current&&(null===(e=r.current)||void 0===e||null===(i=e.triggerRef)||void 0===i||null===(a=i.current)||void 0===a||null===(c=a.focus)||void 0===c||c.call(a),n(!1),"function"===typeof o&&o(!1))},u=function(){var e,t,n,o,i=Object(m.a)(null===(e=r.current)||void 0===e||null===(t=e.popupRef)||void 0===t||null===(n=t.current)||void 0===n||null===(o=n.getElement)||void 0===o?void 0:o.call(n))[0];return!!(null===i||void 0===i?void 0:i.focus)&&(i.focus(),a.current=!0,!0)},s=function(e){switch(e.keyCode){case h:l();break;case O:var t=!1;a.current||(t=u()),t?e.preventDefault():l()}};c.useEffect((function(){return t?(window.addEventListener("keydown",s),i&&Object(b.a)(u,3),function(){window.removeEventListener("keydown",s),a.current=!1}):function(){a.current=!1}}),[t])}({visible:z,setTriggerVisible:_,triggerRef:F,onVisibleChange:e.onVisibleChange,autoFocus:T});var W=function(){var t=function(){var t=e.overlay;return"function"===typeof t?t():t}();return c.createElement(c.Fragment,null,u&&c.createElement("div",{className:"".concat(d,"-arrow")}),t)},H=M;return H||-1===K.indexOf("contextMenu")||(H=["click"]),c.createElement(l.a,Object(o.a)(Object(o.a)({builtinPlacements:x},A),{},{prefixCls:d,ref:F,popupClassName:s()(S,Object(r.a)({},"".concat(d,"-show-arrow"),u)),popupStyle:P,action:K,showAction:N,hideAction:H||[],popupPlacement:E,popupAlign:j,popupTransitionName:p,popupAnimation:g,popupVisible:z,stretch:function(){var t=e.minOverlayWidthMatchTrigger,n=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?t:!n}()?"minWidth":"",popup:"function"===typeof e.overlay?W:W(),onPopupVisibleChange:function(t){var n=e.onVisibleChange;_(t),"function"===typeof n&&n(t)},onPopupClick:function(t){var n=e.onOverlayClick;_(!1),n&&n(t)},getPopupContainer:k}),function(){var t=e.children,n=t.props?t.props:{},r=s()(n.className,function(){var t=e.openClassName;return void 0!==t?t:"".concat(d,"-open")}());return z&&t?c.cloneElement(t,{className:r}):t}())}var j=c.forwardRef(g);t.a=j}}]);