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.
NewEduCoderBuild/p__Engineering__index.8417f...

2 lines
73 KiB

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3006],{65030:function(jn,kt,s){s.d(kt,{Z:function(){return rn}});var m=s(33885),h=s(42978),N=s(75931),ge=s(43403),Z=s(92310),ae=s.n(Z),yt=s(29301),Te=s(76846),we=s(96452),Me=s(6089),le=s(80402),ee=s(34280),t=s(49658),g=s(59301),Lt=s(54476),Jt=s(77900),bt=s(8654);function tn(r){var C=r.prefixCls,a=r.align,E=r.arrow,R=r.arrowPos,I=E||{},z=I.className,B=I.content,$=R.x,G=$===void 0?0:$,Ne=R.y,H=Ne===void 0?0:Ne,ye=g.useRef();if(!a||!a.points)return null;var K={position:"absolute"};if(a.autoArrow!==!1){var Ze=a.points[0],Ye=a.points[1],Oe=Ze[0],it=Ze[1],_e=Ye[0],ve=Ye[1];Oe===_e||!["t","b"].includes(Oe)?K.top=H:Oe==="t"?K.top=0:K.bottom=0,it===ve||!["l","r"].includes(it)?K.left=G:it==="l"?K.left=0:K.right=0}return g.createElement("div",{ref:ye,className:ae()("".concat(C,"-arrow"),z),style:K},B)}function rt(r){var C=r.prefixCls,a=r.open,E=r.zIndex,R=r.mask,I=r.motion;return R?g.createElement(Jt.default,(0,Lt.Z)({},I,{motionAppear:!0,visible:a,removeOnLeave:!0}),function(z){var B=z.className;return g.createElement("div",{style:{zIndex:E},className:ae()("".concat(C,"-mask"),B)})}):null}var w=g.memo(function(r){var C=r.children;return C},function(r,C){return C.cache}),Pe=w,at=g.forwardRef(function(r,C){var a=r.popup,E=r.className,R=r.prefixCls,I=r.style,z=r.target,B=r.onVisibleChanged,$=r.open,G=r.keepDom,Ne=r.fresh,H=r.onClick,ye=r.mask,K=r.arrow,Ze=r.arrowPos,Ye=r.align,Oe=r.motion,it=r.maskMotion,_e=r.forceRender,ve=r.getPopupContainer,Xe=r.autoDestroy,Ae=r.portal,F=r.zIndex,Yt=r.onMouseEnter,Dt=r.onMouseLeave,_t=r.onPointerEnter,vn=r.onPointerDownCapture,dn=r.ready,zt=r.offsetX,an=r.offsetY,Xt=r.offsetR,qt=r.offsetB,be=r.onAlign,ot=r.onPrepare,ie=r.stretch,Tt=r.targetWidth,qe=r.targetHeight,Et=typeof a=="function"?a():a,Q=$||G,mn=(ve==null?void 0:ve.length)>0,De=g.useState(!ve||!mn),hn=(0,h.Z)(De,2),Bt=hn[0],In=hn[1];if((0,ee.Z)(function(){!Bt&&mn&&z&&In(!0)},[Bt,mn,z]),!Bt)return null;var Ft="auto",dt={left:"-1000vw",top:"-1000vh",right:Ft,bottom:Ft};if(dn||!$){var mt,gn=Ye.points,yn=Ye.dynamicInset||((mt=Ye._experimental)===null||mt===void 0?void 0:mt.dynamicInset),lt=yn&&gn[0][1]==="r",pt=yn&&gn[0][0]==="b";lt?(dt.right=Xt,dt.left=Ft):(dt.left=zt,dt.right=Ft),pt?(dt.bottom=qt,dt.top=Ft):(dt.top=an,dt.bottom=Ft)}var et={};return ie&&(ie.includes("height")&&qe?et.height=qe:ie.includes("minHeight")&&qe&&(et.minHeight=qe),ie.includes("width")&&Tt?et.width=Tt:ie.includes("minWidth")&&Tt&&(et.minWidth=Tt)),$||(et.pointerEvents="none"),g.createElement(Ae,{open:_e||Q,getContainer:ve&&function(){return ve(z)},autoDestroy:Xe},g.createElement(rt,{prefixCls:R,open:$,zIndex:F,mask:ye,motion:it}),g.createElement(yt.Z,{onResize:be,disabled:!$},function(on){return g.createElement(Jt.default,(0,Lt.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:_e,leavedClassName:"".concat(R,"-hidden")},Oe,{onAppearPrepare:ot,onEnterPrepare:ot,visible:$,onVisibleChanged:function(bn){var st;Oe==null||(st=Oe.onVisibleChanged)===null||st===void 0||st.call(Oe,bn),B(bn)}}),function(Mt,bn){var st=Mt.className,Rn=Mt.style,Wt=ae()(R,st,E);return g.createElement("div",{ref:(0,bt.sQ)(on,C,bn),className:Wt,style:(0,m.Z)((0,m.Z)((0,m.Z)((0,m.Z)({"--arrow-x":"".concat(Ze.x||0,"px"),"--arrow-y":"".concat(Ze.y||0,"px")},dt),et),Rn),{},{boxSizing:"border-box",zIndex:F},I),onMouseEnter:Yt,onMouseLeave:Dt,onPointerEnter:_t,onClick:H,onPointerDownCapture:vn},K&&g.createElement(tn,{prefixCls:R,arrow:K,arrowPos:Ze,align:Ye}),g.createElement(Pe,{cache:!$&&!Ne},Et))})}))}),ct=at,At=g.forwardRef(function(r,C){var a=r.children,E=r.getTriggerDOMNode,R=(0,bt.Yr)(a),I=g.useCallback(function(B){(0,bt.mH)(C,E?E(B):B)},[E]),z=(0,bt.x1)(I,(0,bt.C4)(a));return R?g.cloneElement(a,{ref:z}):a}),ne=At,xe=g.createContext(null),se=xe;function Ct(r){return r?Array.isArray(r)?r:[r]:[]}function Ge(r,C,a,E){return g.useMemo(function(){var R=Ct(a!=null?a:C),I=Ct(E!=null?E:C),z=new Set(R),B=new Set(I);return r&&(z.has("hover")&&(z.delete("hover"),z.add("click")),B.has("hover")&&(B.delete("hover"),B.add("click"))),[z,B]},[r,C,a,E])}var c=s(29194);function l(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],a=arguments.length>2?arguments[2]:void 0;return a?r[0]===C[0]:r[0]===C[0]&&r[1]===C[1]}function v(r,C,a,E){for(var R=a.points,I=Object.keys(r),z=0;z<I.length;z+=1){var B,$=I[z];if(l((B=r[$])===null||B===void 0?void 0:B.points,R,E))return"".concat(C,"-placement-").concat($)}return""}function d(r,C,a,E){return C||(a?{motionName:"".concat(r,"-").concat(a)}:E?{motionName:E}:null)}function M(r){return r.ownerDocument.defaultView}function O(r){for(var C=[],a=r==null?void 0:r.parentElement,E=["hidden","scroll","clip","auto"];a;){var R=M(a).getComputedStyle(a),I=R.overflowX,z=R.overflowY,B=R.overflow;[I,z,B].some(function($){return E.includes($)})&&C.push(a),a=a.parentElement}return C}function b(r){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(r)?C:r}function U(r){return b(parseFloat(r),0)}function ue(r,C){var a=(0,m.Z)({},r);return(C||[]).forEach(function(E){if(!(E instanceof HTMLBodyElement||E instanceof HTMLHtmlElement)){var R=M(E).getComputedStyle(E),I=R.overflow,z=R.overflowClipMargin,B=R.borderTopWidth,$=R.borderBottomWidth,G=R.borderLeftWidth,Ne=R.borderRightWidth,H=E.getBoundingClientRect(),ye=E.offsetHeight,K=E.clientHeight,Ze=E.offsetWidth,Ye=E.clientWidth,Oe=U(B),it=U($),_e=U(G),ve=U(Ne),Xe=b(Math.round(H.width/Ze*1e3)/1e3),Ae=b(Math.round(H.height/ye*1e3)/1e3),F=(Ze-Ye-_e-ve)*Xe,Yt=(ye-K-Oe-it)*Ae,Dt=Oe*Ae,_t=it*Ae,vn=_e*Xe,dn=ve*Xe,zt=0,an=0;if(I==="clip"){var Xt=U(z);zt=Xt*Xe,an=Xt*Ae}var qt=H.x+vn-zt,be=H.y+Dt-an,ot=qt+H.width+2*zt-vn-dn-F,ie=be+H.height+2*an-Dt-_t-Yt;a.left=Math.max(a.left,qt),a.top=Math.max(a.top,be),a.right=Math.min(a.right,ot),a.bottom=Math.min(a.bottom,ie)}}),a}function j(r){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,a="".concat(C),E=a.match(/^(.*)\%$/);return E?r*(parseFloat(E[1])/100):parseFloat(a)}function te(r,C){var a=C||[],E=(0,h.Z)(a,2),R=E[0],I=E[1];return[j(r.width,R),j(r.height,I)]}function oe(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[r[0],r[1]]}function Re(r,C){var a=C[0],E=C[1],R,I;return a==="t"?I=r.y:a==="b"?I=r.y+r.height:I=r.y+r.height/2,E==="l"?R=r.x:E==="r"?R=r.x+r.width:R=r.x+r.width/2,{x:R,y:I}}function Ie(r,C){var a={t:"b",b:"t",l:"r",r:"l"};return r.map(function(E,R){return R===C?a[E]||"c":E}).join("")}function Qe(r,C,a,E,R,I,z){var B=g.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:R[E]||{}}),$=(0,h.Z)(B,2),G=$[0],Ne=$[1],H=g.useRef(0),ye=g.useMemo(function(){return C?O(C):[]},[C]),K=g.useRef({}),Ze=function(){K.current={}};r||Ze();var Ye=(0,Me.Z)(function(){if(C&&a&&r){let gt=function(Nt,un){var Tn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ht,Un=Q.x+Nt,qn=Q.y+un,tr=Un+pt,Yn=qn+lt,nr=Math.max(Un,Tn.left),p=Math.max(qn,Tn.top),x=Math.min(tr,Tn.right),Ee=Math.min(Yn,Tn.bottom);return Math.max(0,(x-nr)*(Ee-p))},Ke=function(){nt=Q.y+T,ut=nt+lt,Rt=Q.x+P,Be=Rt+pt};var _e,ve,Xe,Ae,F=C,Yt=F.ownerDocument,Dt=M(F),_t=Dt.getComputedStyle(F),vn=_t.position,dn=F.style.left,zt=F.style.top,an=F.style.right,Xt=F.style.bottom,qt=F.style.overflow,be=(0,m.Z)((0,m.Z)({},R[E]),I),ot=Yt.createElement("div");(_e=F.parentElement)===null||_e===void 0||_e.appendChild(ot),ot.style.left="".concat(F.offsetLeft,"px"),ot.style.top="".concat(F.offsetTop,"px"),ot.style.position=vn,ot.style.height="".concat(F.offsetHeight,"px"),ot.style.width="".concat(F.offsetWidth,"px"),F.style.left="0",F.style.top="0",F.style.right="auto",F.style.bottom="auto",F.style.overflow="hidden";var ie;if(Array.isArray(a))ie={x:a[0],y:a[1],width:0,height:0};else{var Tt,qe,Et=a.getBoundingClientRect();Et.x=(Tt=Et.x)!==null&&Tt!==void 0?Tt:Et.left,Et.y=(qe=Et.y)!==null&&qe!==void 0?qe:Et.top,ie={x:Et.x,y:Et.y,width:Et.width,height:Et.height}}var Q=F.getBoundingClientRect(),mn=Dt.getComputedStyle(F),De=mn.height,hn=mn.width;Q.x=(ve=Q.x)!==null&&ve!==void 0?ve:Q.left,Q.y=(Xe=Q.y)!==null&&Xe!==void 0?Xe:Q.top;var Bt=Yt.documentElement,In=Bt.clientWidth,Ft=Bt.clientHeight,dt=Bt.scrollWidth,mt=Bt.scrollHeight,gn=Bt.scrollTop,yn=Bt.scrollLeft,lt=Q.height,pt=Q.width,et=ie.height,on=ie.width,Mt={left:0,top:0,right:In,bottom:Ft},bn={left:-yn,top:-gn,right:dt-yn,bottom:mt-gn},st=be.htmlRegion,Rn="visible",Wt="visibleFirst";st!=="scroll"&&st!==Wt&&(st=Rn);var ln=st===Wt,Nn=ue(bn,ye),de=ue(Mt,ye),Ht=st===Rn?de:Nn,We=ln?de:Ht;F.style.left="auto",F.style.top="auto",F.style.right="0",F.style.bottom="0";var Kn=F.getBoundingClientRect();F.style.left=dn,F.style.top=zt,F.style.right=an,F.style.bottom=Xt,F.style.overflow=qt,(Ae=F.parentElement)===null||Ae===void 0||Ae.removeChild(ot);var tt=b(Math.round(pt/parseFloat(hn)*1e3)/1e3),Cn=b(Math.round(lt/parseFloat(De)*1e3)/1e3);if(tt===0||Cn===0||(0,Te.Sh)(a)&&!(0,c.Z)(a))return;var Vn=be.offset,D=be.targetOffset,J=te(Q,Vn),e=(0,h.Z)(J,2),n=e[0],o=e[1],i=te(ie,D),u=(0,h.Z)(i,2),f=u[0],y=u[1];ie.x-=f,ie.y-=y;var S=be.points||[],_=(0,h.Z)(S,2),A=_[0],me=_[1],k=oe(me),L=oe(A),W=Re(ie,k),re=Re(Q,L),X=(0,m.Z)({},be),P=W.x-re.x+n,T=W.y-re.y+o,ce=gt(P,T),Y=gt(P,T,de),V=Re(ie,["t","l"]),he=Re(Q,["t","l"]),q=Re(ie,["b","r"]),fe=Re(Q,["b","r"]),Ve=be.overflow||{},Se=Ve.adjustX,St=Ve.adjustY,ze=Ve.shiftX,$e=Ve.shiftY,wt=function(un){return typeof un=="boolean"?un:un>=0},nt,ut,Rt,Be;Ke();var Vt=wt(St),Ce=L[0]===k[0];if(Vt&&L[0]==="t"&&(ut>We.bottom||K.current.bt)){var Zt=T;Ce?Zt-=lt-et:Zt=V.y-fe.y-o;var En=gt(P,Zt),pn=gt(P,Zt,de);En>ce||En===ce&&(!ln||pn>=Y)?(K.current.bt=!0,T=Zt,o=-o,X.points=[Ie(L,0),Ie(k,0)]):K.current.bt=!1}if(Vt&&L[0]==="b"&&(nt<We.top||K.current.tb)){var Ut=T;Ce?Ut+=lt-et:Ut=q.y-he.y-o;var Mn=gt(P,Ut),ht=gt(P,Ut,de);Mn>ce||Mn===ce&&(!ln||ht>=Y)?(K.current.tb=!0,T=Ut,o=-o,X.points=[Ie(L,0),Ie(k,0)]):K.current.tb=!1}var Kt=wt(Se),Zn=L[1]===k[1];if(Kt&&L[1]==="l"&&(Be>We.right||K.current.rl)){var jt=P;Zn?jt-=pt-on:jt=V.x-fe.x-n;var Gt=gt(jt,T),He=gt(jt,T,de);Gt>ce||Gt===ce&&(!ln||He>=Y)?(K.current.rl=!0,P=jt,n=-n,X.points=[Ie(L,1),Ie(k,1)]):K.current.rl=!1}if(Kt&&L[1]==="r"&&(Rt<We.left||K.current.lr)){var Pt=P;Zn?Pt+=pt-on:Pt=q.x-he.x-n;var Qt=gt(Pt,T),Pn=gt(Pt,T,de);Qt>ce||Qt===ce&&(!ln||Pn>=Y)?(K.current.lr=!0,P=Pt,n=-n,X.points=[Ie(L,1),Ie(k,1)]):K.current.lr=!1}Ke();var xt=ze===!0?0:ze;typeof xt=="number"&&(Rt<de.left&&(P-=Rt-de.left-n,ie.x+on<de.left+xt&&(P+=ie.x-de.left+on-xt)),Be>de.right&&(P-=Be-de.right-n,ie.x>de.right-xt&&(P+=ie.x-de.right+xt)));var $t=$e===!0?0:$e;typeof $t=="number"&&(nt<de.top&&(T-=nt-de.top-o,ie.y+et<de.top+$t&&(T+=ie.y-de.top+et-$t)),ut>de.bottom&&(T-=ut-de.bottom-o,ie.y>de.bottom-$t&&(T+=ie.y-de.bottom+$t)));var Sn=Q.x+P,xn=Sn+pt,kn=Q.y+T,Ln=kn+lt,On=ie.x,An=On+on,$n=ie.y,Gn=$n+et,zn=Math.max(Sn,On),en=Math.min(xn,An),Qn=(zn+en)/2,Jn=Qn-Sn,Bn=Math.max(kn,$n),Hn=Math.min(Ln,Gn),Fn=(Bn+Hn)/2,Dn=Fn-kn;z==null||z(C,X);var It=Kn.right-Q.x-(P+Q.width),sn=Kn.bottom-Q.y-(T+Q.height);tt===1&&(P=Math.round(P),It=Math.round(It)),Cn===1&&(T=Math.round(T),sn=Math.round(sn));var Wn={ready:!0,offsetX:P/tt,offsetY:T/Cn,offsetR:It/tt,offsetB:sn/Cn,arrowX:Jn/tt,arrowY:Dn/Cn,scaleX:tt,scaleY:Cn,align:X};Ne(Wn)}}),Oe=function(){H.current+=1;var ve=H.current;Promise.resolve().then(function(){H.current===ve&&Ye()})},it=function(){Ne(function(ve){return(0,m.Z)((0,m.Z)({},ve),{},{ready:!1})})};return(0,ee.Z)(it,[E]),(0,ee.Z)(function(){r||it()},[r]),[G.ready,G.offsetX,G.offsetY,G.offsetR,G.offsetB,G.arrowX,G.arrowY,G.scaleX,G.scaleY,G.align,Oe]}var ft=s(94480);function Ot(r,C,a,E,R){(0,ee.Z)(function(){if(r&&C&&a){let H=function(){E(),R()};var I=C,z=a,B=O(I),$=O(z),G=M(z),Ne=new Set([G].concat((0,ft.Z)(B),(0,ft.Z)($)));return Ne.forEach(function(ye){ye.addEventListener("scroll",H,{passive:!0})}),G.addEventListener("resize",H,{passive:!0}),E(),function(){Ne.forEach(function(ye){ye.removeEventListener("scroll",H),G.removeEventListener("resize",H)})}}},[r,C,a])}var Fe=s(48736);function Je(r,C,a,E,R,I,z,B){var $=g.useRef(r);$.current=r;var G=g.useRef(!1);g.useEffect(function(){if(C&&E&&(!R||I)){var H=function(){G.current=!1},ye=function(Xe){var Ae;$.current&&!z(((Ae=Xe.composedPath)===null||Ae===void 0||(Ae=Ae.call(Xe))===null||Ae===void 0?void 0:Ae[0])||Xe.target)&&!G.current&&B(!1)},K=M(E);K.addEventListener("pointerdown",H,!0),K.addEventListener("mousedown",ye,!0),K.addEventListener("contextmenu",ye,!0);var Ze=(0,we.A)(a);if(Ze&&(Ze.addEventListener("mousedown",ye,!0),Ze.addEventListener("contextmenu",ye,!0)),0)var Ye,Oe,it,_e;return function(){K.removeEventListener("pointerdown",H,!0),K.removeEventListener("mousedown",ye,!0),K.removeEventListener("contextmenu",ye,!0),Ze&&(Ze.removeEventListener("mousedown",ye,!0),Ze.removeEventListener("contextmenu",ye,!0))}}},[C,a,E,R,I]);function Ne(){G.current=!0}return Ne}var nn=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function vt(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ge.Z,C=g.forwardRef(function(a,E){var R=a.prefixCls,I=R===void 0?"rc-trigger-popup":R,z=a.children,B=a.action,$=B===void 0?"hover":B,G=a.showAction,Ne=a.hideAction,H=a.popupVisible,ye=a.defaultPopupVisible,K=a.onPopupVisibleChange,Ze=a.afterPopupVisibleChange,Ye=a.mouseEnterDelay,Oe=a.mouseLeaveDelay,it=Oe===void 0?.1:Oe,_e=a.focusDelay,ve=a.blurDelay,Xe=a.mask,Ae=a.maskClosable,F=Ae===void 0?!0:Ae,Yt=a.getPopupContainer,Dt=a.forceRender,_t=a.autoDestroy,vn=a.destroyPopupOnHide,dn=a.popup,zt=a.popupClassName,an=a.popupStyle,Xt=a.popupPlacement,qt=a.builtinPlacements,be=qt===void 0?{}:qt,ot=a.popupAlign,ie=a.zIndex,Tt=a.stretch,qe=a.getPopupClassNameFromAlign,Et=a.fresh,Q=a.alignPoint,mn=a.onPopupClick,De=a.onPopupAlign,hn=a.arrow,Bt=a.popupMotion,In=a.maskMotion,Ft=a.popupTransitionName,dt=a.popupAnimation,mt=a.maskTransitionName,gn=a.maskAnimation,yn=a.className,lt=a.getTriggerDOMNode,pt=(0,N.Z)(a,nn),et=_t||vn||!1,on=g.useState(!1),Mt=(0,h.Z)(on,2),bn=Mt[0],st=Mt[1];(0,ee.Z)(function(){st((0,t.Z)())},[]);var Rn=g.useRef({}),Wt=g.useContext(se),ln=g.useMemo(function(){return{registerSubPopup:function(x,Ee){Rn.current[x]=Ee,Wt==null||Wt.registerSubPopup(x,Ee)}}},[Wt]),Nn=(0,le.Z)(),de=g.useState(null),Ht=(0,h.Z)(de,2),We=Ht[0],Kn=Ht[1],tt=g.useRef(null),Cn=(0,Me.Z)(function(p){tt.current=p,(0,Te.Sh)(p)&&We!==p&&Kn(p),Wt==null||Wt.registerSubPopup(Nn,p)}),Vn=g.useState(null),D=(0,h.Z)(Vn,2),J=D[0],e=D[1],n=g.useRef(null),o=(0,Me.Z)(function(p){(0,Te.Sh)(p)&&J!==p&&(e(p),n.current=p)}),i=g.Children.only(z),u=(i==null?void 0:i.props)||{},f={},y=(0,Me.Z)(function(p){var x,Ee,Ue=J;return(Ue==null?void 0:Ue.contains(p))||((x=(0,we.A)(Ue))===null||x===void 0?void 0:x.host)===p||p===Ue||(We==null?void 0:We.contains(p))||((Ee=(0,we.A)(We))===null||Ee===void 0?void 0:Ee.host)===p||p===We||Object.values(Rn.current).some(function(ke){return(ke==null?void 0:ke.contains(p))||p===ke})}),S=d(I,Bt,dt,Ft),_=d(I,In,gn,mt),A=g.useState(ye||!1),me=(0,h.Z)(A,2),k=me[0],L=me[1],W=H!=null?H:k,re=(0,Me.Z)(function(p){H===void 0&&L(p)});(0,ee.Z)(function(){L(H||!1)},[H]);var X=g.useRef(W);X.current=W;var P=g.useRef([]);P.current=[];var T=(0,Me.Z)(function(p){var x;re(p),((x=P.current[P.current.length-1])!==null&&x!==void 0?x:W)!==p&&(P.current.push(p),K==null||K(p))}),ce=g.useRef(),Y=function(){clearTimeout(ce.current)},V=function(x){var Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Y(),Ee===0?T(x):ce.current=setTimeout(function(){T(x)},Ee*1e3)};g.useEffect(function(){return Y},[]);var he=g.useState(!1),q=(0,h.Z)(he,2),fe=q[0],Ve=q[1];(0,ee.Z)(function(p){(!p||W)&&Ve(!0)},[W]);var Se=g.useState(null),St=(0,h.Z)(Se,2),ze=St[0],$e=St[1],wt=g.useState(null),nt=(0,h.Z)(wt,2),ut=nt[0],Rt=nt[1],Be=function(x){Rt([x.clientX,x.clientY])},Vt=Qe(W,We,Q&&ut!==null?ut:J,Xt,be,ot,De),Ce=(0,h.Z)(Vt,11),Zt=Ce[0],En=Ce[1],pn=Ce[2],Ut=Ce[3],Mn=Ce[4],ht=Ce[5],Kt=Ce[6],Zn=Ce[7],jt=Ce[8],Gt=Ce[9],He=Ce[10],Pt=Ge(bn,$,G,Ne),Qt=(0,h.Z)(Pt,2),Pn=Qt[0],xt=Qt[1],$t=Pn.has("click"),Sn=xt.has("click")||xt.has("contextMenu"),xn=(0,Me.Z)(function(){fe||He()}),kn=function(){X.current&&Q&&Sn&&V(!1)};Ot(W,J,We,xn,kn),(0,ee.Z)(function(){xn()},[ut,Xt]),(0,ee.Z)(function(){W&&!(be!=null&&be[Xt])&&xn()},[JSON.stringify(ot)]);var Ln=g.useMemo(function(){var p=v(be,I,Gt,Q);return ae()(p,qe==null?void 0:qe(Gt))},[Gt,qe,be,I,Q]);g.useImperativeHandle(E,function(){return{nativeElement:n.current,popupElement:tt.current,forceAlign:xn}});var On=g.useState(0),An=(0,h.Z)(On,2),$n=An[0],Gn=An[1],zn=g.useState(0),en=(0,h.Z)(zn,2),Qn=en[0],Jn=en[1],Bn=function(){if(Tt&&J){var x=J.getBoundingClientRect();Gn(x.width),Jn(x.height)}},Hn=function(){Bn(),xn()},Fn=function(x){Ve(!1),He(),Ze==null||Ze(x)},Dn=function(){return new Promise(function(x){Bn(),$e(function(){return x})})};(0,ee.Z)(function(){ze&&(He(),ze(),$e(null))},[ze]);function It(p,x,Ee,Ue){f[p]=function(ke){var _n;Ue==null||Ue(ke),V(x,Ee);for(var wn=arguments.length,ir=new Array(wn>1?wn-1:0),er=1;er<wn;er++)ir[er-1]=arguments[er];(_n=u[p])===null||_n===void 0||_n.call.apply(_n,[u,ke].concat(ir))}}($t||Sn)&&(f.onClick=function(p){var x;X.current&&Sn?V(!1):!X.current&&$t&&(Be(p),V(!0));for(var Ee=arguments.length,Ue=new Array(Ee>1?Ee-1:0),ke=1;ke<Ee;ke++)Ue[ke-1]=arguments[ke];(x=u.onClick)===null||x===void 0||x.call.apply(x,[u,p].concat(Ue))});var sn=Je(W,Sn,J,We,Xe,F,y,V),Wn=Pn.has("hover"),gt=xt.has("hover"),Ke,Nt;Wn&&(It("onMouseEnter",!0,Ye,function(p){Be(p)}),It("onPointerEnter",!0,Ye,function(p){Be(p)}),Ke=function(x){(W||fe)&&We!==null&&We!==void 0&&We.contains(x.target)&&V(!0,Ye)},Q&&(f.onMouseMove=function(p){var x;(x=u.onMouseMove)===null||x===void 0||x.call(u,p)})),gt&&(It("onMouseLeave",!1,it),It("onPointerLeave",!1,it),Nt=function(){V(!1,it)}),Pn.has("focus")&&It("onFocus",!0,_e),xt.has("focus")&&It("onBlur",!1,ve),Pn.has("contextMenu")&&(f.onContextMenu=function(p){var x;X.current&&xt.has("contextMenu")?V(!1):(Be(p),V(!0)),p.preventDefault();for(var Ee=arguments.length,Ue=new Array(Ee>1?Ee-1:0),ke=1;ke<Ee;ke++)Ue[ke-1]=arguments[ke];(x=u.onContextMenu)===null||x===void 0||x.call.apply(x,[u,p].concat(Ue))}),yn&&(f.className=ae()(u.className,yn));var un=g.useRef(!1);un.current||(un.current=Dt||W||fe);var Tn=(0,m.Z)((0,m.Z)({},u),f),Un={},qn=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];qn.forEach(function(p){pt[p]&&(Un[p]=function(){for(var x,Ee=arguments.length,Ue=new Array(Ee),ke=0;ke<Ee;ke++)Ue[ke]=arguments[ke];(x=Tn[p])===null||x===void 0||x.call.apply(x,[Tn].concat(Ue)),pt[p].apply(pt,Ue)})});var tr=g.cloneElement(i,(0,m.Z)((0,m.Z)({},Tn),Un)),Yn={x:ht,y:Kt},nr=hn?(0,m.Z)({},hn!==!0?hn:{}):null;return g.createElement(g.Fragment,null,g.createElement(yt.Z,{disabled:!W,ref:o,onResize:Hn},g.createElement(ne,{getTriggerDOMNode:lt},tr)),un.current&&g.createElement(se.Provider,{value:ln},g.createElement(ct,{portal:r,ref:Cn,prefixCls:I,popup:dn,className:ae()(zt,Ln),style:an,target:J,onMouseEnter:Ke,onMouseLeave:Nt,onPointerEnter:Ke,zIndex:ie,open:W,keepDom:fe,fresh:Et,onClick:mn,onPointerDownCapture:sn,mask:Xe,motion:S,maskMotion:_,onVisibleChanged:Fn,onPrepare:Dn,forceRender:Dt,autoDestroy:et,getPopupContainer:Yt,align:Gt,arrow:nr,arrowPos:Yn,ready:Zt,offsetX:En,offsetY:pn,offsetR:Ut,offsetB:Mn,onAlign:xn,stretch:Tt,targetWidth:$n/Zn,targetHeight:Qn/jt})))});return C}var rn=vt(ge.Z)},45385:function(jn,kt,s){s.r(kt),s.d(kt,{default:function(){return Me}});var m=s(59301),h={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"},N=s(93041),ge=s(58106),Z=s(97158),ae=s(97013),yt="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=";const{SubMenu:Te}=N.default,we=({user:le,globalSetting:ee,engineering:t})=>{const g=(0,ge.useLocation)(),[Lt,Jt]=m.useState(["1","2","3","4"]),[bt,tn]=m.useState([]),{showMenu:rt,matrixVerify:w}=t;(0,m.useEffect)(()=>{(g==null?void 0:g.pathname)==="/engineering"&&ge.history.replace("/engineering/navigation"),document.title="\u5DE5\u7A0B\u8BA4\u8BC1"},[g==null?void 0:g.pathname]),(0,m.useEffect)(()=>{document.title="\u5DE5\u7A0B\u8BA4\u8BC1"}),(0,m.useEffect)(()=>{const{filterOpenKeys:ne,filterSelectedKeys:xe}=at();console.log(at()),tn(xe)},[g==null?void 0:g.pathname]),(0,m.useEffect)(()=>{(0,ae.ZP)("/api/ec_major_schools/1/ec_years/has_logged.json",{method:"get"})},[]);const Pe=[{title:"\u4E13\u4E1A\u8BBE\u7F6E",key:"1",icon:m.createElement("i",{className:"iconfont icon-zhuanyeshezhi"}),children:[{title:"\u57F9\u517B\u65B9\u6848",key:"/engineering/training/program",icon:m.createElement("i",{className:"iconfont icon-peiyangfangan font14"})},{title:"\u57F9\u517B\u76EE\u6807",key:"/engineering/training/objectives",icon:m.createElement("i",{className:"iconfont icon-peiyangmubiao font14"})},{title:"\u6559\u5E08\u4FE1\u606F",key:"/engineering/teacherList",icon:m.createElement("i",{className:"iconfont icon-jiaoshiliebiao font14"})},{title:"\u5B66\u751F\u4FE1\u606F",key:"/engineering/studentList",icon:m.createElement("i",{className:"iconfont icon-xueshengliebiao font14"})}]},{title:"\u6BD5\u4E1A\u8981\u6C42",key:"2",icon:m.createElement("i",{className:"iconfont icon-biyeyaoqiu"}),children:[{title:"\u6BD5\u4E1A\u6307\u6807",key:"/engineering/graduated/index",icon:m.createElement("i",{className:"iconfont icon-biyezhibiao font14"})},{title:"\u6BD5\u4E1A\u77E9\u9635",key:"/engineering/graduated/matrix",icon:m.createElement("i",{className:"iconfont icon-biyejuzhen font14"})}]},{title:"\u8BFE\u7A0B\u4F53\u7CFB",key:"3",icon:m.createElement("i",{className:"iconfont icon-kechengtixi"}),children:[{title:"\u8BFE\u7A0B\u5217\u8868",key:"/engineering/course/list",icon:m.createElement("i",{className:"iconfont icon-kechengliebiao font14"})},{title:"\u8BFE\u7A0B\u8BBE\u7F6E",key:"/engineering/course/setting",icon:m.createElement("i",{className:"iconfont icon-kechengshezhi font14"})},{title:"\u8BFE\u7A0B\u77E9\u9635",key:"/engineering/course/matrix",icon:m.createElement("i",{className:"iconfont icon-kechengjuzhen font14"})}]},{title:"\u8FBE\u6210\u8BC4\u4EF7",key:"4",icon:m.createElement("i",{className:"iconfont icon-dachengpinggu"}),children:[{title:"\u8BFE\u7A0B\u8BC4\u4EF7",key:"/engineering/evaluate/course",icon:m.createElement("i",{className:"iconfont icon-kechengpingjia font14"})},{title:"\u6307\u6807\u8BC4\u4EF7",key:"/engineering/evaluate/norm",icon:m.createElement("i",{className:"iconfont icon-zhibiaopingjia font14"})},{title:"\u6587\u6863\u751F\u6210",key:"/engineering/evaluate/document",icon:m.createElement("i",{className:"iconfont icon-wendangshengcheng font14"})}]}],at=()=>{var ne;const xe=g==null?void 0:g.pathname;let se=[],Ct=[];for(let Ge=0;Ge<Pe.length;Ge++)if((ne=Pe[Ge].children)!=null&&ne.length){for(let c=0;c<Pe[Ge].children.length;c++)if(xe.includes(Pe[Ge].children[c].key))return se=[Pe[Ge].key],Ct=[Pe[Ge].children[c].key],{filterOpenKeys:se,filterSelectedKeys:Ct}}return{filterOpenKeys:se,filterSelectedKeys:Ct}},ct=ne=>{console.log(Lt,ne,44),Jt(ne)},At=ne=>{var xe;const se=()=>{ge.history.push(ne)};w!=null&&w.key?(0,Z.t)(se,`\u6BD5\u4E1A\u8981\u6C42\u6307\u6807\u70B9\u5B58\u5728\u6CA1\u6709\u5173\u8054${((xe=w==null?void 0:w.params)==null?void 0:xe.tab)==="1"?"\u57F9\u517B\u76EE\u6807":"\u901A\u7528\u6807\u51C6"}\uFF0C\u786E\u5B9A\u662F\u5426\u79BB\u5F00\u5F53\u524D\u9875\u9762\uFF1F`):se()};return m.createElement("div",{className:h.wrap},rt&&(g==null?void 0:g.pathname)!=="/exam"&&m.createElement("div",{className:h.left},m.createElement("aside",{onClick:()=>At("/engineering/navigation"),className:h.home},m.createElement("div",{className:"mr15"},m.createElement("img",{width:32,src:yt})),m.createElement("div",{className:h.info},m.createElement("div",null,"\u8BA4\u8BC1\u5BFC\u822A"),m.createElement("div",null,"CERTIFICATION"))),m.createElement(N.default,{mode:"inline",selectedKeys:bt,openKeys:Lt,onOpenChange:ct,inlineIndent:15,className:h.menu,expandIcon:ne=>ne.isOpen?m.createElement("span",{style:{visibility:"hidden"},className:"icon-xiala3 custom-icon"}):m.createElement("span",{style:{visibility:"hidden"},className:"icon-xiala2 custom-icon"})},Pe.map(ne=>{var xe;if(!ne.isMenu)return m.createElement(Te,{key:ne.key,icon:ne.icon,title:ne.title},ne.children&&((xe=ne.children)==null?void 0:xe.map(se=>m.createElement(N.default.Item,{key:se.key},m.createElement("aside",{onClick:()=>At(se.key)},m.createElement("span",{className:"mr15"},se==null?void 0:se.icon),se.title)))))}))),m.createElement("div",{className:h.right},m.createElement(ge.Outlet,null)))};var Me=(0,ge.connect)(({globalSetting:le,user:ee,engineering:t})=>({user:ee,globalSetting:le,engineering:t}))(we)},28321:function(jn,kt,s){s.d(kt,{iz:function(){return st},ck:function(){return be},BW:function(){return Nn},sN:function(){return be},Wd:function(){return Mt},ZP:function(){return J},Xl:function(){return se}});var m=s(54476),h=s(20068),N=s(33885),ge=s(94480),Z=s(42978),ae=s(75931),yt=s(92310),Te=s.n(yt),we=s(11780),Me=s(18929),le=s(13697),ee=s(48736),t=s(59301),g=s(4676),Lt=t.createContext(null);function Jt(e,n){return e===void 0?null:"".concat(e,"-").concat(n)}function bt(e){var n=t.useContext(Lt);return Jt(n,e)}var tn=s(80547),rt=["children","locked"],w=t.createContext(null);function Pe(e,n){var o=(0,N.Z)({},e);return Object.keys(n).forEach(function(i){var u=n[i];u!==void 0&&(o[i]=u)}),o}function at(e){var n=e.children,o=e.locked,i=(0,ae.Z)(e,rt),u=t.useContext(w),f=(0,tn.Z)(function(){return Pe(u,i)},[u,i],function(y,S){return!o&&(y[0]!==S[0]||!(0,le.Z)(y[1],S[1],!0))});return t.createElement(w.Provider,{value:f},n)}var ct=[],At=t.createContext(null);function ne(){return t.useContext(At)}var xe=t.createContext(ct);function se(e){var n=t.useContext(xe);return t.useMemo(function(){return e!==void 0?[].concat((0,ge.Z)(n),[e]):n},[n,e])}var Ct=t.createContext(null),Ge=t.createContext({}),c=Ge,l=s(29194);function v(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,l.Z)(e)){var o=e.nodeName.toLowerCase(),i=["input","select","textarea","button"].includes(o)||e.isContentEditable||o==="a"&&!!e.getAttribute("href"),u=e.getAttribute("tabindex"),f=Number(u),y=null;return u&&!Number.isNaN(f)?y=f:i&&y===null&&(y=0),i&&e.disabled&&(y=null),y!==null&&(y>=0||n&&y<0)}return!1}function d(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,o=(0,ge.Z)(e.querySelectorAll("*")).filter(function(i){return v(i,n)});return v(e,n)&&o.unshift(e),o}var M=null;function O(){M=document.activeElement}function b(){M=null}function U(){if(M)try{M.focus()}catch(e){}}function ue(e,n){if(n.keyCode===9){var o=d(e),i=o[n.shiftKey?0:o.length-1],u=i===document.activeElement||e===document.activeElement;if(u){var f=o[n.shiftKey?o.length-1:0];f.focus(),n.preventDefault()}}}var j=s(10228),te=s(16089),oe=j.Z.LEFT,Re=j.Z.RIGHT,Ie=j.Z.UP,Qe=j.Z.DOWN,ft=j.Z.ENTER,Ot=j.Z.ESC,Fe=j.Z.HOME,Je=j.Z.END,nn=[Ie,Qe,oe,Re];function vt(e,n,o,i){var u,f="prev",y="next",S="children",_="parent";if(e==="inline"&&i===ft)return{inlineTrigger:!0};var A=(0,h.Z)((0,h.Z)({},Ie,f),Qe,y),me=(0,h.Z)((0,h.Z)((0,h.Z)((0,h.Z)({},oe,o?y:f),Re,o?f:y),Qe,S),ft,S),k=(0,h.Z)((0,h.Z)((0,h.Z)((0,h.Z)((0,h.Z)((0,h.Z)({},Ie,f),Qe,y),ft,S),Ot,_),oe,o?S:_),Re,o?_:S),L={inline:A,horizontal:me,vertical:k,inlineSub:A,horizontalSub:k,verticalSub:k},W=(u=L["".concat(e).concat(n?"":"Sub")])===null||u===void 0?void 0:u[i];switch(W){case f:return{offset:-1,sibling:!0};case y:return{offset:1,sibling:!0};case _:return{offset:-1,sibling:!1};case S:return{offset:1,sibling:!1};default:return null}}function rn(e){for(var n=e;n;){if(n.getAttribute("data-menu-list"))return n;n=n.parentElement}return null}function r(e,n){for(var o=e||document.activeElement;o;){if(n.has(o))return o;o=o.parentElement}return null}function C(e,n){var o=d(e,!0);return o.filter(function(i){return n.has(i)})}function a(e,n,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var u=C(e,n),f=u.length,y=u.findIndex(function(S){return o===S});return i<0?y===-1?y=f-1:y-=1:i>0&&(y+=1),y=(y+f)%f,u[y]}var E=function(n,o){var i=new Set,u=new Map,f=new Map;return n.forEach(function(y){var S=document.querySelector("[data-menu-id='".concat(Jt(o,y),"']"));S&&(i.add(S),f.set(S,y),u.set(y,S))}),{elements:i,key2element:u,element2key:f}};function R(e,n,o,i,u,f,y,S,_,A){var me=t.useRef(),k=t.useRef();k.current=n;var L=function(){te.Z.cancel(me.current)};return t.useEffect(function(){return function(){L()}},[]),function(W){var re=W.which;if([].concat(nn,[ft,Ot,Fe,Je]).includes(re)){var X=f(),P=E(X,i),T=P,ce=T.elements,Y=T.key2element,V=T.element2key,he=Y.get(n),q=r(he,ce),fe=V.get(q),Ve=vt(e,y(fe,!0).length===1,o,re);if(!Ve&&re!==Fe&&re!==Je)return;(nn.includes(re)||[Fe,Je].includes(re))&&W.preventDefault();var Se=function(Be){if(Be){var Vt=Be,Ce=Be.querySelector("a");Ce!=null&&Ce.getAttribute("href")&&(Vt=Ce);var Zt=V.get(Be);S(Zt),L(),me.current=(0,te.Z)(function(){k.current===Zt&&Vt.focus()})}};if([Fe,Je].includes(re)||Ve.sibling||!q){var St;!q||e==="inline"?St=u.current:St=rn(q);var ze,$e=C(St,ce);re===Fe?ze=$e[0]:re===Je?ze=$e[$e.length-1]:ze=a(St,ce,q,Ve.offset),Se(ze)}else if(Ve.inlineTrigger)_(fe);else if(Ve.offset>0)_(fe,!0),L(),me.current=(0,te.Z)(function(){P=E(X,i);var Rt=q.getAttribute("aria-controls"),Be=document.getElementById(Rt),Vt=a(Be,P.elements);Se(Vt)},5);else if(Ve.offset<0){var wt=y(fe,!0),nt=wt[wt.length-2],ut=Y.get(nt);_(nt,!1),Se(ut)}}A==null||A(W)}}function I(e){Promise.resolve().then(e)}var z="__RC_UTIL_PATH_SPLIT__",B=function(n){return n.join(z)},$=function(n){return n.split(z)},G="rc-menu-more";function Ne(){var e=t.useState({}),n=(0,Z.Z)(e,2),o=n[1],i=(0,t.useRef)(new Map),u=(0,t.useRef)(new Map),f=t.useState([]),y=(0,Z.Z)(f,2),S=y[0],_=y[1],A=(0,t.useRef)(0),me=(0,t.useRef)(!1),k=function(){me.current||o({})},L=(0,t.useCallback)(function(Y,V){var he=B(V);u.current.set(he,Y),i.current.set(Y,he),A.current+=1;var q=A.current;I(function(){q===A.current&&k()})},[]),W=(0,t.useCallback)(function(Y,V){var he=B(V);u.current.delete(he),i.current.delete(Y)},[]),re=(0,t.useCallback)(function(Y){_(Y)},[]),X=(0,t.useCallback)(function(Y,V){var he=i.current.get(Y)||"",q=$(he);return V&&S.includes(q[0])&&q.unshift(G),q},[S]),P=(0,t.useCallback)(function(Y,V){return Y.filter(function(he){return he!==void 0}).some(function(he){var q=X(he,!0);return q.includes(V)})},[X]),T=function(){var V=(0,ge.Z)(i.current.keys());return S.length&&V.push(G),V},ce=(0,t.useCallback)(function(Y){var V="".concat(i.current.get(Y)).concat(z),he=new Set;return(0,ge.Z)(u.current.keys()).forEach(function(q){q.startsWith(V)&&he.add(u.current.get(q))}),he},[]);return t.useEffect(function(){return function(){me.current=!0}},[]),{registerPath:L,unregisterPath:W,refreshOverflowKeys:re,isSubPathKey:P,getKeyPath:X,getKeys:T,getSubPathKeys:ce}}function H(e){var n=t.useRef(e);n.current=e;var o=t.useCallback(function(){for(var i,u=arguments.length,f=new Array(u),y=0;y<u;y++)f[y]=arguments[y];return(i=n.current)===null||i===void 0?void 0:i.call.apply(i,[n].concat(f))},[]);return e?o:void 0}var ye=Math.random().toFixed(5).toString().slice(2),K=0;function Ze(e){var n=(0,Me.Z)(e,{value:e}),o=(0,Z.Z)(n,2),i=o[0],u=o[1];return t.useEffect(function(){K+=1;var f="".concat(ye,"-").concat(K);u("rc-menu-uuid-".concat(f))},[]),i}var Ye=s(67732),Oe=s(83652),it=s(42403),_e=s(158),ve=s(2738),Xe=s(8654);function Ae(e,n,o,i){var u=t.useContext(w),f=u.activeKey,y=u.onActive,S=u.onInactive,_={active:f===e};return n||(_.onMouseEnter=function(A){o==null||o({key:e,domEvent:A}),y(e)},_.onMouseLeave=function(A){i==null||i({key:e,domEvent:A}),S(e)}),_}function F(e){var n=t.useContext(w),o=n.mode,i=n.rtl,u=n.inlineIndent;if(o!=="inline")return null;var f=e;return i?{paddingRight:f*u}:{paddingLeft:f*u}}function Yt(e){var n=e.icon,o=e.props,i=e.children,u;return n===null||n===!1?null:(typeof n=="function"?u=t.createElement(n,(0,N.Z)({},o)):typeof n!="boolean"&&(u=n),u||i||null)}var Dt=["item"];function _t(e){var n=e.item,o=(0,ae.Z)(e,Dt);return Object.defineProperty(o,"item",{get:function(){return(0,ee.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),n}}),o}var vn=["title","attribute","elementRef"],dn=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],zt=["active"],an=function(e){(0,it.Z)(o,e);var n=(0,_e.Z)(o);function o(){return(0,Ye.Z)(this,o),n.apply(this,arguments)}return(0,Oe.Z)(o,[{key:"render",value:function(){var u=this.props,f=u.title,y=u.attribute,S=u.elementRef,_=(0,ae.Z)(u,vn),A=(0,ve.Z)(_,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,ee.ZP)(!y,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),t.createElement(we.Z.Item,(0,m.Z)({},y,{title:typeof f=="string"?f:void 0},A,{ref:S}))}}]),o}(t.Component),Xt=t.forwardRef(function(e,n){var o=e.style,i=e.className,u=e.eventKey,f=e.warnKey,y=e.disabled,S=e.itemIcon,_=e.children,A=e.role,me=e.onMouseEnter,k=e.onMouseLeave,L=e.onClick,W=e.onKeyDown,re=e.onFocus,X=(0,ae.Z)(e,dn),P=bt(u),T=t.useContext(w),ce=T.prefixCls,Y=T.onItemClick,V=T.disabled,he=T.overflowDisabled,q=T.itemIcon,fe=T.selectedKeys,Ve=T.onActive,Se=t.useContext(c),St=Se._internalRenderMenuItem,ze="".concat(ce,"-item"),$e=t.useRef(),wt=t.useRef(),nt=V||y,ut=(0,Xe.x1)(n,wt),Rt=se(u),Be=function(He){return{key:u,keyPath:(0,ge.Z)(Rt).reverse(),item:$e.current,domEvent:He}},Vt=S||q,Ce=Ae(u,nt,me,k),Zt=Ce.active,En=(0,ae.Z)(Ce,zt),pn=fe.includes(u),Ut=F(Rt.length),Mn=function(He){if(!nt){var Pt=Be(He);L==null||L(_t(Pt)),Y(Pt)}},ht=function(He){if(W==null||W(He),He.which===j.Z.ENTER){var Pt=Be(He);L==null||L(_t(Pt)),Y(Pt)}},Kt=function(He){Ve(u),re==null||re(He)},Zn={};e.role==="option"&&(Zn["aria-selected"]=pn);var jt=t.createElement(an,(0,m.Z)({ref:$e,elementRef:ut,role:A===null?"none":A||"menuitem",tabIndex:y?null:-1,"data-menu-id":he&&P?null:P},(0,ve.Z)(X,["extra"]),En,Zn,{component:"li","aria-disabled":y,style:(0,N.Z)((0,N.Z)({},Ut),o),className:Te()(ze,(0,h.Z)((0,h.Z)((0,h.Z)({},"".concat(ze,"-active"),Zt),"".concat(ze,"-selected"),pn),"".concat(ze,"-disabled"),nt),i),onClick:Mn,onKeyDown:ht,onFocus:Kt}),_,t.createElement(Yt,{props:(0,N.Z)((0,N.Z)({},e),{},{isSelected:pn}),icon:Vt}));return St&&(jt=St(jt,e,{selected:pn})),jt});function qt(e,n){var o=e.eventKey,i=ne(),u=se(o);return t.useEffect(function(){if(i)return i.registerPath(o,u),function(){i.unregisterPath(o,u)}},[u]),i?null:t.createElement(Xt,(0,m.Z)({},e,{ref:n}))}var be=t.forwardRef(qt),ot=["className","children"],ie=function(n,o){var i=n.className,u=n.children,f=(0,ae.Z)(n,ot),y=t.useContext(w),S=y.prefixCls,_=y.mode,A=y.rtl;return t.createElement("ul",(0,m.Z)({className:Te()(S,A&&"".concat(S,"-rtl"),"".concat(S,"-sub"),"".concat(S,"-").concat(_==="inline"?"inline":"vertical"),i),role:"menu"},f,{"data-menu-list":!0,ref:o}),u)},Tt=t.forwardRef(ie);Tt.displayName="SubMenuList";var qe=Tt,Et=s(11592);function Q(e,n){return(0,Et.Z)(e).map(function(o,i){if(t.isValidElement(o)){var u,f,y=o.key,S=(u=(f=o.props)===null||f===void 0?void 0:f.eventKey)!==null&&u!==void 0?u:y,_=S==null;_&&(S="tmp_key-".concat([].concat((0,ge.Z)(n),[i]).join("-")));var A={key:S,eventKey:S};return t.cloneElement(o,A)}return o})}var mn=s(65030),De={adjustX:1,adjustY:1},hn={topLeft:{points:["bl","tl"],overflow:De},topRight:{points:["br","tr"],overflow:De},bottomLeft:{points:["tl","bl"],overflow:De},bottomRight:{points:["tr","br"],overflow:De},leftTop:{points:["tr","tl"],overflow:De},leftBottom:{points:["br","bl"],overflow:De},rightTop:{points:["tl","tr"],overflow:De},rightBottom:{points:["bl","br"],overflow:De}},Bt={topLeft:{points:["bl","tl"],overflow:De},topRight:{points:["br","tr"],overflow:De},bottomLeft:{points:["tl","bl"],overflow:De},bottomRight:{points:["tr","br"],overflow:De},rightTop:{points:["tr","tl"],overflow:De},rightBottom:{points:["br","bl"],overflow:De},leftTop:{points:["tl","tr"],overflow:De},leftBottom:{points:["bl","br"],overflow:De}},In=null;function Ft(e,n,o){if(n)return n;if(o)return o[e]||o.other}var dt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function mt(e){var n=e.prefixCls,o=e.visible,i=e.children,u=e.popup,f=e.popupStyle,y=e.popupClassName,S=e.popupOffset,_=e.disabled,A=e.mode,me=e.onVisibleChange,k=t.useContext(w),L=k.getPopupContainer,W=k.rtl,re=k.subMenuOpenDelay,X=k.subMenuCloseDelay,P=k.builtinPlacements,T=k.triggerSubMenuAction,ce=k.forceSubMenuRender,Y=k.rootClassName,V=k.motion,he=k.defaultMotions,q=t.useState(!1),fe=(0,Z.Z)(q,2),Ve=fe[0],Se=fe[1],St=W?(0,N.Z)((0,N.Z)({},Bt),P):(0,N.Z)((0,N.Z)({},hn),P),ze=dt[A],$e=Ft(A,V,he),wt=t.useRef($e);A!=="inline"&&(wt.current=$e);var nt=(0,N.Z)((0,N.Z)({},wt.current),{},{leavedClassName:"".concat(n,"-hidden"),removeOnLeave:!1,motionAppear:!0}),ut=t.useRef();return t.useEffect(function(){return ut.current=(0,te.Z)(function(){Se(o)}),function(){te.Z.cancel(ut.current)}},[o]),t.createElement(mn.Z,{prefixCls:n,popupClassName:Te()("".concat(n,"-popup"),(0,h.Z)({},"".concat(n,"-rtl"),W),y,Y),stretch:A==="horizontal"?"minWidth":null,getPopupContainer:L,builtinPlacements:St,popupPlacement:ze,popupVisible:Ve,popup:u,popupStyle:f,popupAlign:S&&{offset:S},action:_?[]:[T],mouseEnterDelay:re,mouseLeaveDelay:X,onPopupVisibleChange:me,forceRender:ce,popupMotion:nt,fresh:!0},i)}var gn=s(77900);function yn(e){var n=e.id,o=e.open,i=e.keyPath,u=e.children,f="inline",y=t.useContext(w),S=y.prefixCls,_=y.forceSubMenuRender,A=y.motion,me=y.defaultMotions,k=y.mode,L=t.useRef(!1);L.current=k===f;var W=t.useState(!L.current),re=(0,Z.Z)(W,2),X=re[0],P=re[1],T=L.current?o:!1;t.useEffect(function(){L.current&&P(!1)},[k]);var ce=(0,N.Z)({},Ft(f,A,me));i.length>1&&(ce.motionAppear=!1);var Y=ce.onVisibleChanged;return ce.onVisibleChanged=function(V){return!L.current&&!V&&P(!0),Y==null?void 0:Y(V)},X?null:t.createElement(at,{mode:f,locked:!L.current},t.createElement(gn.default,(0,m.Z)({visible:T},ce,{forceRender:_,removeOnLeave:!1,leavedClassName:"".concat(S,"-hidden")}),function(V){var he=V.className,q=V.style;return t.createElement(qe,{id:n,className:he,style:q},u)}))}var lt=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],pt=["active"],et=t.forwardRef(function(e,n){var o=e.style,i=e.className,u=e.title,f=e.eventKey,y=e.warnKey,S=e.disabled,_=e.internalPopupClose,A=e.children,me=e.itemIcon,k=e.expandIcon,L=e.popupClassName,W=e.popupOffset,re=e.popupStyle,X=e.onClick,P=e.onMouseEnter,T=e.onMouseLeave,ce=e.onTitleClick,Y=e.onTitleMouseEnter,V=e.onTitleMouseLeave,he=(0,ae.Z)(e,lt),q=bt(f),fe=t.useContext(w),Ve=fe.prefixCls,Se=fe.mode,St=fe.openKeys,ze=fe.disabled,$e=fe.overflowDisabled,wt=fe.activeKey,nt=fe.selectedKeys,ut=fe.itemIcon,Rt=fe.expandIcon,Be=fe.onItemClick,Vt=fe.onOpenChange,Ce=fe.onActive,Zt=t.useContext(c),En=Zt._internalRenderSubMenuItem,pn=t.useContext(Ct),Ut=pn.isSubPathKey,Mn=se(),ht="".concat(Ve,"-submenu"),Kt=ze||S,Zn=t.useRef(),jt=t.useRef(),Gt=me!=null?me:ut,He=k!=null?k:Rt,Pt=St.includes(f),Qt=!$e&&Pt,Pn=Ut(nt,f),xt=Ae(f,Kt,Y,V),$t=xt.active,Sn=(0,ae.Z)(xt,pt),xn=t.useState(!1),kn=(0,Z.Z)(xn,2),Ln=kn[0],On=kn[1],An=function(Nt){Kt||On(Nt)},$n=function(Nt){An(!0),P==null||P({key:f,domEvent:Nt})},Gn=function(Nt){An(!1),T==null||T({key:f,domEvent:Nt})},zn=t.useMemo(function(){return $t||(Se!=="inline"?Ln||Ut([wt],f):!1)},[Se,$t,wt,Ln,f,Ut]),en=F(Mn.length),Qn=function(Nt){Kt||(ce==null||ce({key:f,domEvent:Nt}),Se==="inline"&&Vt(f,!Pt))},Jn=H(function(Ke){X==null||X(_t(Ke)),Be(Ke)}),Bn=function(Nt){Se!=="inline"&&Vt(f,Nt)},Hn=function(){Ce(f)},Fn=q&&"".concat(q,"-popup"),Dn=t.useMemo(function(){return t.createElement(Yt,{icon:Se!=="horizontal"?He:void 0,props:(0,N.Z)((0,N.Z)({},e),{},{isOpen:Qt,isSubMenu:!0})},t.createElement("i",{className:"".concat(ht,"-arrow")}))},[Se,He,e,Qt,ht]),It=t.createElement("div",(0,m.Z)({role:"menuitem",style:en,className:"".concat(ht,"-title"),tabIndex:Kt?null:-1,ref:Zn,title:typeof u=="string"?u:null,"data-menu-id":$e&&q?null:q,"aria-expanded":Qt,"aria-haspopup":!0,"aria-controls":Fn,"aria-disabled":Kt,onClick:Qn,onFocus:Hn},Sn),u,Dn),sn=t.useRef(Se);if(Se!=="inline"&&Mn.length>1?sn.current="vertical":sn.current=Se,!$e){var Wn=sn.current;It=t.createElement(mt,{mode:Wn,prefixCls:ht,visible:!_&&Qt&&Se!=="inline",popupClassName:L,popupOffset:W,popupStyle:re,popup:t.createElement(at,{mode:Wn==="horizontal"?"vertical":Wn},t.createElement(qe,{id:Fn,ref:jt},A)),disabled:Kt,onVisibleChange:Bn},It)}var gt=t.createElement(we.Z.Item,(0,m.Z)({ref:n,role:"none"},he,{component:"li",style:o,className:Te()(ht,"".concat(ht,"-").concat(Se),i,(0,h.Z)((0,h.Z)((0,h.Z)((0,h.Z)({},"".concat(ht,"-open"),Qt),"".concat(ht,"-active"),zn),"".concat(ht,"-selected"),Pn),"".concat(ht,"-disabled"),Kt)),onMouseEnter:$n,onMouseLeave:Gn}),It,!$e&&t.createElement(yn,{id:Fn,open:Qt,keyPath:Mn},A));return En&&(gt=En(gt,e,{selected:Pn,active:zn,open:Qt,disabled:Kt})),t.createElement(at,{onItemClick:Jn,mode:Se==="horizontal"?"vertical":Se,itemIcon:Gt,expandIcon:He},gt)}),on=t.forwardRef(function(e,n){var o=e.eventKey,i=e.children,u=se(o),f=Q(i,u),y=ne();t.useEffect(function(){if(y)return y.registerPath(o,u),function(){y.unregisterPath(o,u)}},[u]);var S;return y?S=f:S=t.createElement(et,(0,m.Z)({ref:n},e),f),t.createElement(xe.Provider,{value:u},S)}),Mt=on,bn=s(76190);function st(e){var n=e.className,o=e.style,i=t.useContext(w),u=i.prefixCls,f=ne();return f?null:t.createElement("li",{role:"separator",className:Te()("".concat(u,"-item-divider"),n),style:o})}var Rn=["className","title","eventKey","children"],Wt=t.forwardRef(function(e,n){var o=e.className,i=e.title,u=e.eventKey,f=e.children,y=(0,ae.Z)(e,Rn),S=t.useContext(w),_=S.prefixCls,A="".concat(_,"-item-group");return t.createElement("li",(0,m.Z)({ref:n,role:"presentation"},y,{onClick:function(k){return k.stopPropagation()},className:Te()(A,o)}),t.createElement("div",{role:"presentation",className:"".concat(A,"-title"),title:typeof i=="string"?i:void 0},i),t.createElement("ul",{role:"group",className:"".concat(A,"-list")},f))}),ln=t.forwardRef(function(e,n){var o=e.eventKey,i=e.children,u=se(o),f=Q(i,u),y=ne();return y?f:t.createElement(Wt,(0,m.Z)({ref:n},(0,ve.Z)(e,["warnKey"])),f)}),Nn=ln,de=["label","children","key","type","extra"];function Ht(e,n,o){var i=n.item,u=n.group,f=n.submenu,y=n.divider;return(e||[]).map(function(S,_){if(S&&(0,bn.Z)(S)==="object"){var A=S,me=A.label,k=A.children,L=A.key,W=A.type,re=A.extra,X=(0,ae.Z)(A,de),P=L!=null?L:"tmp-".concat(_);return k||W==="group"?W==="group"?t.createElement(u,(0,m.Z)({key:P},X,{title:me}),Ht(k,n,o)):t.createElement(f,(0,m.Z)({key:P},X,{title:me}),Ht(k,n,o)):W==="divider"?t.createElement(y,(0,m.Z)({key:P},X)):t.createElement(i,(0,m.Z)({key:P},X,{extra:re}),me,(!!re||re===0)&&t.createElement("span",{className:"".concat(o,"-item-extra")},re))}return null}).filter(function(S){return S})}function We(e,n,o,i,u){var f=e,y=(0,N.Z)({divider:st,item:be,group:Nn,submenu:Mt},i);return n&&(f=Ht(n,y,u)),Q(f,o)}var Kn=["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","_internalComponents"],tt=[],Cn=t.forwardRef(function(e,n){var o,i=e,u=i.prefixCls,f=u===void 0?"rc-menu":u,y=i.rootClassName,S=i.style,_=i.className,A=i.tabIndex,me=A===void 0?0:A,k=i.items,L=i.children,W=i.direction,re=i.id,X=i.mode,P=X===void 0?"vertical":X,T=i.inlineCollapsed,ce=i.disabled,Y=i.disabledOverflow,V=i.subMenuOpenDelay,he=V===void 0?.1:V,q=i.subMenuCloseDelay,fe=q===void 0?.1:q,Ve=i.forceSubMenuRender,Se=i.defaultOpenKeys,St=i.openKeys,ze=i.activeKey,$e=i.defaultActiveFirst,wt=i.selectable,nt=wt===void 0?!0:wt,ut=i.multiple,Rt=ut===void 0?!1:ut,Be=i.defaultSelectedKeys,Vt=i.selectedKeys,Ce=i.onSelect,Zt=i.onDeselect,En=i.inlineIndent,pn=En===void 0?24:En,Ut=i.motion,Mn=i.defaultMotions,ht=i.triggerSubMenuAction,Kt=ht===void 0?"hover":ht,Zn=i.builtinPlacements,jt=i.itemIcon,Gt=i.expandIcon,He=i.overflowedIndicator,Pt=He===void 0?"...":He,Qt=i.overflowedIndicatorPopupClassName,Pn=i.getPopupContainer,xt=i.onClick,$t=i.onOpenChange,Sn=i.onKeyDown,xn=i.openAnimation,kn=i.openTransitionName,Ln=i._internalRenderMenuItem,On=i._internalRenderSubMenuItem,An=i._internalComponents,$n=(0,ae.Z)(i,Kn),Gn=t.useMemo(function(){return[We(L,k,tt,An,f),We(L,k,tt,{},f)]},[L,k,An]),zn=(0,Z.Z)(Gn,2),en=zn[0],Qn=zn[1],Jn=t.useState(!1),Bn=(0,Z.Z)(Jn,2),Hn=Bn[0],Fn=Bn[1],Dn=t.useRef(),It=Ze(re),sn=W==="rtl",Wn=(0,Me.Z)(Se,{value:St,postState:function(pe){return pe||tt}}),gt=(0,Z.Z)(Wn,2),Ke=gt[0],Nt=gt[1],un=function(pe){var Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function cn(){Nt(pe),$t==null||$t(pe)}Le?(0,g.flushSync)(cn):cn()},Tn=t.useState(Ke),Un=(0,Z.Z)(Tn,2),qn=Un[0],tr=Un[1],Yn=t.useRef(!1),nr=t.useMemo(function(){return(P==="inline"||P==="vertical")&&T?["vertical",T]:[P,!1]},[P,T]),p=(0,Z.Z)(nr,2),x=p[0],Ee=p[1],Ue=x==="inline",ke=t.useState(x),_n=(0,Z.Z)(ke,2),wn=_n[0],ir=_n[1],er=t.useState(Ee),dr=(0,Z.Z)(er,2),wr=dr[0],Rr=dr[1];t.useEffect(function(){ir(x),Rr(Ee),Yn.current&&(Ue?Nt(qn):un(tt))},[x,Ee]);var Zr=t.useState(0),mr=(0,Z.Z)(Zr,2),or=mr[0],Pr=mr[1],ur=or>=en.length-1||wn!=="horizontal"||Y;t.useEffect(function(){Ue&&tr(Ke)},[Ke]),t.useEffect(function(){return Yn.current=!0,function(){Yn.current=!1}},[]);var Xn=Ne(),hr=Xn.registerPath,gr=Xn.unregisterPath,xr=Xn.refreshOverflowKeys,yr=Xn.isSubPathKey,Ir=Xn.getKeyPath,br=Xn.getKeys,Nr=Xn.getSubPathKeys,Ar=t.useMemo(function(){return{registerPath:hr,unregisterPath:gr}},[hr,gr]),Dr=t.useMemo(function(){return{isSubPathKey:yr}},[yr]);t.useEffect(function(){xr(ur?tt:en.slice(or+1).map(function(je){return je.key}))},[or,ur]);var Tr=(0,Me.Z)(ze||$e&&((o=en[0])===null||o===void 0?void 0:o.key),{value:ze}),Cr=(0,Z.Z)(Tr,2),rr=Cr[0],cr=Cr[1],Kr=H(function(je){cr(je)}),kr=H(function(){cr(void 0)});(0,t.useImperativeHandle)(n,function(){return{list:Dn.current,focus:function(pe){var Le,cn=br(),fn=E(cn,It),sr=fn.elements,fr=fn.key2element,Ur=fn.element2key,Mr=C(Dn.current,sr),Sr=rr!=null?rr:Mr[0]?Ur.get(Mr[0]):(Le=en.find(function(jr){return!jr.props.disabled}))===null||Le===void 0?void 0:Le.key,ar=fr.get(Sr);if(Sr&&ar){var vr;ar==null||(vr=ar.focus)===null||vr===void 0||vr.call(ar,pe)}}}});var Lr=(0,Me.Z)(Be||[],{value:Vt,postState:function(pe){return Array.isArray(pe)?pe:pe==null?tt:[pe]}}),Er=(0,Z.Z)(Lr,2),lr=Er[0],Or=Er[1],zr=function(pe){if(nt){var Le=pe.key,cn=lr.includes(Le),fn;Rt?cn?fn=lr.filter(function(fr){return fr!==Le}):fn=[].concat((0,ge.Z)(lr),[Le]):fn=[Le],Or(fn);var sr=(0,N.Z)((0,N.Z)({},pe),{},{selectedKeys:fn});cn?Zt==null||Zt(sr):Ce==null||Ce(sr)}!Rt&&Ke.length&&wn!=="inline"&&un(tt)},Br=H(function(je){xt==null||xt(_t(je)),zr(je)}),pr=H(function(je,pe){var Le=Ke.filter(function(fn){return fn!==je});if(pe)Le.push(je);else if(wn!=="inline"){var cn=Nr(je);Le=Le.filter(function(fn){return!cn.has(fn)})}(0,le.Z)(Ke,Le,!0)||un(Le,!0)}),Fr=function(pe,Le){var cn=Le!=null?Le:!Ke.includes(pe);pr(pe,cn)},Wr=R(wn,rr,sn,It,Dn,br,Ir,cr,Fr,Sn);t.useEffect(function(){Fn(!0)},[]);var Vr=t.useMemo(function(){return{_internalRenderMenuItem:Ln,_internalRenderSubMenuItem:On}},[Ln,On]),$r=wn!=="horizontal"||Y?en:en.map(function(je,pe){return t.createElement(at,{key:je.key,overflowDisabled:pe>or},je)}),Hr=t.createElement(we.Z,(0,m.Z)({id:re,ref:Dn,prefixCls:"".concat(f,"-overflow"),component:"ul",itemComponent:be,className:Te()(f,"".concat(f,"-root"),"".concat(f,"-").concat(wn),_,(0,h.Z)((0,h.Z)({},"".concat(f,"-inline-collapsed"),wr),"".concat(f,"-rtl"),sn),y),dir:W,style:S,role:"menu",tabIndex:me,data:$r,renderRawItem:function(pe){return pe},renderRawRest:function(pe){var Le=pe.length,cn=Le?en.slice(-Le):null;return t.createElement(Mt,{eventKey:G,title:Pt,disabled:ur,internalPopupClose:Le===0,popupClassName:Qt},cn)},maxCount:wn!=="horizontal"||Y?we.Z.INVALIDATE:we.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(pe){Pr(pe)},onKeyDown:Wr},$n));return t.createElement(c.Provider,{value:Vr},t.createElement(Lt.Provider,{value:It},t.createElement(at,{prefixCls:f,rootClassName:y,mode:wn,openKeys:Ke,rtl:sn,disabled:ce,motion:Hn?Ut:null,defaultMotions:Hn?Mn:null,activeKey:rr,onActive:Kr,onInactive:kr,selectedKeys:lr,inlineIndent:pn,subMenuOpenDelay:he,subMenuCloseDelay:fe,forceSubMenuRender:Ve,builtinPlacements:Zn,triggerSubMenuAction:Kt,getPopupContainer:Pn,itemIcon:jt,expandIcon:Gt,onItemClick:Br,onOpenChange:pr},t.createElement(Ct.Provider,{value:Dr},Hr),t.createElement("div",{style:{display:"none"},"aria-hidden":!0},t.createElement(At.Provider,{value:Ar},Qn)))))}),Vn=Cn,D=Vn;D.Item=be,D.SubMenu=Mt,D.ItemGroup=Nn,D.Divider=st;var J=D},11780:function(jn,kt,s){s.d(kt,{Z:function(){return O}});var m=s(54476),h=s(33885),N=s(42978),ge=s(75931),Z=s(59301),ae=s(92310),yt=s.n(ae),Te=s(29301),we=s(34280),Me=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],le=void 0;function ee(b,U){var ue=b.prefixCls,j=b.invalidate,te=b.item,oe=b.renderItem,Re=b.responsive,Ie=b.responsiveDisabled,Qe=b.registerSize,ft=b.itemKey,Ot=b.className,Fe=b.style,Je=b.children,nn=b.display,vt=b.order,rn=b.component,r=rn===void 0?"div":rn,C=(0,ge.Z)(b,Me),a=Re&&!nn;function E($){Qe(ft,$)}Z.useEffect(function(){return function(){E(null)}},[]);var R=oe&&te!==le?oe(te,{index:vt}):Je,I;j||(I={opacity:a?0:1,height:a?0:le,overflowY:a?"hidden":le,order:Re?vt:le,pointerEvents:a?"none":le,position:a?"absolute":le});var z={};a&&(z["aria-hidden"]=!0);var B=Z.createElement(r,(0,m.Z)({className:yt()(!j&&ue,Ot),style:(0,h.Z)((0,h.Z)({},I),Fe)},z,C,{ref:U}),R);return Re&&(B=Z.createElement(Te.Z,{onResize:function(G){var Ne=G.offsetWidth;E(Ne)},disabled:Ie},B)),B}var t=Z.forwardRef(ee);t.displayName="Item";var g=t,Lt=s(6089),Jt=s(4676),bt=s(16089);function tn(b){if(typeof MessageChannel=="undefined")(0,bt.Z)(b);else{var U=new MessageChannel;U.port1.onmessage=function(){return b()},U.port2.postMessage(void 0)}}function rt(){var b=Z.useRef(null),U=function(j){b.current||(b.current=[],tn(function(){(0,Jt.unstable_batchedUpdates)(function(){b.current.forEach(function(te){te()}),b.current=null})})),b.current.push(j)};return U}function w(b,U){var ue=Z.useState(U),j=(0,N.Z)(ue,2),te=j[0],oe=j[1],Re=(0,Lt.Z)(function(Ie){b(function(){oe(Ie)})});return[te,Re]}var Pe=Z.createContext(null),at=["component"],ct=["className"],At=["className"],ne=function(U,ue){var j=Z.useContext(Pe);if(!j){var te=U.component,oe=te===void 0?"div":te,Re=(0,ge.Z)(U,at);return Z.createElement(oe,(0,m.Z)({},Re,{ref:ue}))}var Ie=j.className,Qe=(0,ge.Z)(j,ct),ft=U.className,Ot=(0,ge.Z)(U,At);return Z.createElement(Pe.Provider,{value:null},Z.createElement(g,(0,m.Z)({ref:ue,className:yt()(Ie,ft)},Qe,Ot)))},xe=Z.forwardRef(ne);xe.displayName="RawItem";var se=xe,Ct=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Ge="responsive",c="invalidate";function l(b){return"+ ".concat(b.length," ...")}function v(b,U){var ue=b.prefixCls,j=ue===void 0?"rc-overflow":ue,te=b.data,oe=te===void 0?[]:te,Re=b.renderItem,Ie=b.renderRawItem,Qe=b.itemKey,ft=b.itemWidth,Ot=ft===void 0?10:ft,Fe=b.ssr,Je=b.style,nn=b.className,vt=b.maxCount,rn=b.renderRest,r=b.renderRawRest,C=b.suffix,a=b.component,E=a===void 0?"div":a,R=b.itemComponent,I=b.onVisibleChange,z=(0,ge.Z)(b,Ct),B=Fe==="full",$=rt(),G=w($,null),Ne=(0,N.Z)(G,2),H=Ne[0],ye=Ne[1],K=H||0,Ze=w($,new Map),Ye=(0,N.Z)(Ze,2),Oe=Ye[0],it=Ye[1],_e=w($,0),ve=(0,N.Z)(_e,2),Xe=ve[0],Ae=ve[1],F=w($,0),Yt=(0,N.Z)(F,2),Dt=Yt[0],_t=Yt[1],vn=w($,0),dn=(0,N.Z)(vn,2),zt=dn[0],an=dn[1],Xt=(0,Z.useState)(null),qt=(0,N.Z)(Xt,2),be=qt[0],ot=qt[1],ie=(0,Z.useState)(null),Tt=(0,N.Z)(ie,2),qe=Tt[0],Et=Tt[1],Q=Z.useMemo(function(){return qe===null&&B?Number.MAX_SAFE_INTEGER:qe||0},[qe,H]),mn=(0,Z.useState)(!1),De=(0,N.Z)(mn,2),hn=De[0],Bt=De[1],In="".concat(j,"-item"),Ft=Math.max(Xe,Dt),dt=vt===Ge,mt=oe.length&&dt,gn=vt===c,yn=mt||typeof vt=="number"&&oe.length>vt,lt=(0,Z.useMemo)(function(){var D=oe;return mt?H===null&&B?D=oe:D=oe.slice(0,Math.min(oe.length,K/Ot)):typeof vt=="number"&&(D=oe.slice(0,vt)),D},[oe,Ot,H,vt,mt]),pt=(0,Z.useMemo)(function(){return mt?oe.slice(Q+1):oe.slice(lt.length)},[oe,lt,mt,Q]),et=(0,Z.useCallback)(function(D,J){var e;return typeof Qe=="function"?Qe(D):(e=Qe&&(D==null?void 0:D[Qe]))!==null&&e!==void 0?e:J},[Qe]),on=(0,Z.useCallback)(Re||function(D){return D},[Re]);function Mt(D,J,e){qe===D&&(J===void 0||J===be)||(Et(D),e||(Bt(D<oe.length-1),I==null||I(D)),J!==void 0&&ot(J))}function bn(D,J){ye(J.clientWidth)}function st(D,J){it(function(e){var n=new Map(e);return J===null?n.delete(D):n.set(D,J),n})}function Rn(D,J){_t(J),Ae(Dt)}function Wt(D,J){an(J)}function ln(D){return Oe.get(et(lt[D],D))}(0,we.Z)(function(){if(K&&typeof Ft=="number"&&lt){var D=zt,J=lt.length,e=J-1;if(!J){Mt(0,null);return}for(var n=0;n<J;n+=1){var o=ln(n);if(B&&(o=o||0),o===void 0){Mt(n-1,void 0,!0);break}if(D+=o,e===0&&D<=K||n===e-1&&D+ln(e)<=K){Mt(e,null);break}else if(D+Ft>K){Mt(n-1,D-o-zt+Dt);break}}C&&ln(0)+zt>K&&ot(null)}},[K,Oe,Dt,zt,et,lt]);var Nn=hn&&!!pt.length,de={};be!==null&&mt&&(de={position:"absolute",left:be,top:0});var Ht={prefixCls:In,responsive:mt,component:R,invalidate:gn},We=Ie?function(D,J){var e=et(D,J);return Z.createElement(Pe.Provider,{key:e,value:(0,h.Z)((0,h.Z)({},Ht),{},{order:J,item:D,itemKey:e,registerSize:st,display:J<=Q})},Ie(D,J))}:function(D,J){var e=et(D,J);return Z.createElement(g,(0,m.Z)({},Ht,{order:J,key:e,item:D,renderItem:on,itemKey:e,registerSize:st,display:J<=Q}))},Kn={order:Nn?Q:Number.MAX_SAFE_INTEGER,className:"".concat(In,"-rest"),registerSize:Rn,display:Nn},tt=rn||l,Cn=r?Z.createElement(Pe.Provider,{value:(0,h.Z)((0,h.Z)({},Ht),Kn)},r(pt)):Z.createElement(g,(0,m.Z)({},Ht,Kn),typeof tt=="function"?tt(pt):tt),Vn=Z.createElement(E,(0,m.Z)({className:yt()(!gn&&j,nn),style:Je,ref:U},z),lt.map(We),yn?Cn:null,C&&Z.createElement(g,(0,m.Z)({},Ht,{responsive:dt,responsiveDisabled:!mt,order:Q,className:"".concat(In,"-suffix"),registerSize:Wt,display:!0,style:de}),C));return dt?Z.createElement(Te.Z,{onResize:bn,disabled:!mt},Vn):Vn}var d=Z.forwardRef(v);d.displayName="Overflow",d.Item=se,d.RESPONSIVE=Ge,d.INVALIDATE=c;var M=d,O=M},29301:function(jn,kt,s){s.d(kt,{Z:function(){return c}});var m=s(54476),h=s(59301),N=s(11592),ge=s(48736),Z=s(33885),ae=s(76190),yt=s(76846),Te=s(8654),we=h.createContext(null);function Me(l){var v=l.children,d=l.onBatchResize,M=h.useRef(0),O=h.useRef([]),b=h.useContext(we),U=h.useCallback(function(ue,j,te){M.current+=1;var oe=M.current;O.current.push({size:ue,element:j,data:te}),Promise.resolve().then(function(){oe===M.current&&(d==null||d(O.current),O.current=[])}),b==null||b(ue,j,te)},[d,b]);return h.createElement(we.Provider,{value:U},v)}var le=s(76374),ee=new Map;function t(l){l.forEach(function(v){var d,M=v.target;(d=ee.get(M))===null||d===void 0||d.forEach(function(O){return O(M)})})}var g=new le.Z(t),Lt=null,Jt=null;function bt(l,v){ee.has(l)||(ee.set(l,new Set),g.observe(l)),ee.get(l).add(v)}function tn(l,v){ee.has(l)&&(ee.get(l).delete(v),ee.get(l).size||(g.unobserve(l),ee.delete(l)))}var rt=s(67732),w=s(83652),Pe=s(42403),at=s(158),ct=function(l){(0,Pe.Z)(d,l);var v=(0,at.Z)(d);function d(){return(0,rt.Z)(this,d),v.apply(this,arguments)}return(0,w.Z)(d,[{key:"render",value:function(){return this.props.children}}]),d}(h.Component);function At(l,v){var d=l.children,M=l.disabled,O=h.useRef(null),b=h.useRef(null),U=h.useContext(we),ue=typeof d=="function",j=ue?d(O):d,te=h.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),oe=!ue&&h.isValidElement(j)&&(0,Te.Yr)(j),Re=oe?(0,Te.C4)(j):null,Ie=(0,Te.x1)(Re,O),Qe=function(){var Je;return(0,yt.ZP)(O.current)||(O.current&&(0,ae.Z)(O.current)==="object"?(0,yt.ZP)((Je=O.current)===null||Je===void 0?void 0:Je.nativeElement):null)||(0,yt.ZP)(b.current)};h.useImperativeHandle(v,function(){return Qe()});var ft=h.useRef(l);ft.current=l;var Ot=h.useCallback(function(Fe){var Je=ft.current,nn=Je.onResize,vt=Je.data,rn=Fe.getBoundingClientRect(),r=rn.width,C=rn.height,a=Fe.offsetWidth,E=Fe.offsetHeight,R=Math.floor(r),I=Math.floor(C);if(te.current.width!==R||te.current.height!==I||te.current.offsetWidth!==a||te.current.offsetHeight!==E){var z={width:R,height:I,offsetWidth:a,offsetHeight:E};te.current=z;var B=a===Math.round(r)?r:a,$=E===Math.round(C)?C:E,G=(0,Z.Z)((0,Z.Z)({},z),{},{offsetWidth:B,offsetHeight:$});U==null||U(G,Fe,vt),nn&&Promise.resolve().then(function(){nn(G,Fe)})}},[]);return h.useEffect(function(){var Fe=Qe();return Fe&&!M&&bt(Fe,Ot),function(){return tn(Fe,Ot)}},[O.current,M]),h.createElement(ct,{ref:b},oe?h.cloneElement(j,{ref:Ie}):j)}var ne=h.forwardRef(At),xe=ne,se="rc-observer-key";function Ct(l,v){var d=l.children,M=typeof d=="function"?[d]:(0,N.Z)(d);return M.map(function(O,b){var U=(O==null?void 0:O.key)||"".concat(se,"-").concat(b);return h.createElement(xe,(0,m.Z)({},l,{key:U,ref:b===0?v:void 0}),O)})}var Ge=h.forwardRef(Ct);Ge.Collection=Me;var c=Ge},29125:function(jn,kt,s){s.d(kt,{G:function(){return ge},Z:function(){return tn}});var m=s(92310),h=s.n(m),N=s(59301);function ge(rt){var w=rt.children,Pe=rt.prefixCls,at=rt.id,ct=rt.overlayInnerStyle,At=rt.bodyClassName,ne=rt.className,xe=rt.style;return N.createElement("div",{className:h()("".concat(Pe,"-content"),ne),style:xe},N.createElement("div",{className:h()("".concat(Pe,"-inner"),At),id:at,role:"tooltip",style:ct},typeof w=="function"?w():w))}var Z=s(54476),ae=s(33885),yt=s(75931),Te=s(65030),we={shiftX:64,adjustY:1},Me={adjustX:1,shiftY:!0},le=[0,0],ee={left:{points:["cr","cl"],overflow:Me,offset:[-4,0],targetOffset:le},right:{points:["cl","cr"],overflow:Me,offset:[4,0],targetOffset:le},top:{points:["bc","tc"],overflow:we,offset:[0,-4],targetOffset:le},bottom:{points:["tc","bc"],overflow:we,offset:[0,4],targetOffset:le},topLeft:{points:["bl","tl"],overflow:we,offset:[0,-4],targetOffset:le},leftTop:{points:["tr","tl"],overflow:Me,offset:[-4,0],targetOffset:le},topRight:{points:["br","tr"],overflow:we,offset:[0,-4],targetOffset:le},rightTop:{points:["tl","tr"],overflow:Me,offset:[4,0],targetOffset:le},bottomRight:{points:["tr","br"],overflow:we,offset:[0,4],targetOffset:le},rightBottom:{points:["bl","br"],overflow:Me,offset:[4,0],targetOffset:le},bottomLeft:{points:["tl","bl"],overflow:we,offset:[0,4],targetOffset:le},leftBottom:{points:["br","bl"],overflow:Me,offset:[-4,0],targetOffset:le}},t=null,g=s(80402),Lt=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],Jt=function(w,Pe){var at=w.overlayClassName,ct=w.trigger,At=ct===void 0?["hover"]:ct,ne=w.mouseEnterDelay,xe=ne===void 0?0:ne,se=w.mouseLeaveDelay,Ct=se===void 0?.1:se,Ge=w.overlayStyle,c=w.prefixCls,l=c===void 0?"rc-tooltip":c,v=w.children,d=w.onVisibleChange,M=w.afterVisibleChange,O=w.transitionName,b=w.animation,U=w.motion,ue=w.placement,j=ue===void 0?"right":ue,te=w.align,oe=te===void 0?{}:te,Re=w.destroyTooltipOnHide,Ie=Re===void 0?!1:Re,Qe=w.defaultVisible,ft=w.getTooltipContainer,Ot=w.overlayInnerStyle,Fe=w.arrowContent,Je=w.overlay,nn=w.id,vt=w.showArrow,rn=vt===void 0?!0:vt,r=w.classNames,C=w.styles,a=(0,yt.Z)(w,Lt),E=(0,g.Z)(nn),R=(0,N.useRef)(null);(0,N.useImperativeHandle)(Pe,function(){return R.current});var I=(0,ae.Z)({},a);"visible"in w&&(I.popupVisible=w.visible);var z=function(){return N.createElement(ge,{key:"content",prefixCls:l,id:E,bodyClassName:r==null?void 0:r.body,overlayInnerStyle:(0,ae.Z)((0,ae.Z)({},Ot),C==null?void 0:C.body)},Je)},B=function(){var G=N.Children.only(v),Ne=(G==null?void 0:G.props)||{},H=(0,ae.Z)((0,ae.Z)({},Ne),{},{"aria-describedby":Je?E:null});return N.cloneElement(v,H)};return N.createElement(Te.Z,(0,Z.Z)({popupClassName:h()(at,r==null?void 0:r.root),prefixCls:l,popup:z,action:At,builtinPlacements:ee,popupPlacement:j,ref:R,popupAlign:oe,getPopupContainer:ft,onPopupVisibleChange:d,afterPopupVisibleChange:M,popupTransitionName:O,popupAnimation:b,popupMotion:U,defaultPopupVisible:Qe,autoDestroy:Ie,mouseLeaveDelay:Ct,popupStyle:(0,ae.Z)((0,ae.Z)({},Ge),C==null?void 0:C.root),mouseEnterDelay:xe,arrow:rn},I),B())},bt=(0,N.forwardRef)(Jt),tn=bt},49658:function(jn,kt){kt.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var s=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(s)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(s==null?void 0:s.substr(0,4))}},76374:function(jn,kt,s){var m=function(){if(typeof Map!="undefined")return Map;function c(l,v){var d=-1;return l.some(function(M,O){return M[0]===v?(d=O,!0):!1}),d}return function(){function l(){this.__entries__=[]}return Object.defineProperty(l.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),l.prototype.get=function(v){var d=c(this.__entries__,v),M=this.__entries__[d];return M&&M[1]},l.prototype.set=function(v,d){var M=c(this.__entries__,v);~M?this.__entries__[M][1]=d:this.__entries__.push([v,d])},l.prototype.delete=function(v){var d=this.__entries__,M=c(d,v);~M&&d.splice(M,1)},l.prototype.has=function(v){return!!~c(this.__entries__,v)},l.prototype.clear=function(){this.__entries__.splice(0)},l.prototype.forEach=function(v,d){d===void 0&&(d=null);for(var M=0,O=this.__entries__;M<O.length;M++){var b=O[M];v.call(d,b[1],b[0])}},l}()}(),h=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,N=function(){return typeof s.g!="undefined"&&s.g.Math===Math?s.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),ge=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(N):function(c){return setTimeout(function(){return c(Date.now())},1e3/60)}}(),Z=2;function ae(c,l){var v=!1,d=!1,M=0;function O(){v&&(v=!1,c()),d&&U()}function b(){ge(O)}function U(){var ue=Date.now();if(v){if(ue-M<Z)return;d=!0}else v=!0,d=!1,setTimeout(b,l);M=ue}return U}var yt=20,Te=["top","right","bottom","left","width","height","size","weight"],we=typeof MutationObserver!="undefined",Me=function(){function c(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=ae(this.refresh.bind(this),yt)}return c.prototype.addObserver=function(l){~this.observers_.indexOf(l)||this.observers_.push(l),this.connected_||this.connect_()},c.prototype.removeObserver=function(l){var v=this.observers_,d=v.indexOf(l);~d&&v.splice(d,1),!v.length&&this.connected_&&this.disconnect_()},c.prototype.refresh=function(){var l=this.updateObservers_();l&&this.refresh()},c.prototype.updateObservers_=function(){var l=this.observers_.filter(function(v){return v.gatherActive(),v.hasActive()});return l.forEach(function(v){return v.broadcastActive()}),l.length>0},c.prototype.connect_=function(){!h||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),we?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},c.prototype.disconnect_=function(){!h||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},c.prototype.onTransitionEnd_=function(l){var v=l.propertyName,d=v===void 0?"":v,M=Te.some(function(O){return!!~d.indexOf(O)});M&&this.refresh()},c.getInstance=function(){return this.instance_||(this.instance_=new c),this.instance_},c.instance_=null,c}(),le=function(c,l){for(var v=0,d=Object.keys(l);v<d.length;v++){var M=d[v];Object.defineProperty(c,M,{value:l[M],enumerable:!1,writable:!1,configurable:!0})}return c},ee=function(c){var l=c&&c.ownerDocument&&c.ownerDocument.defaultView;return l||N},t=ct(0,0,0,0);function g(c){return parseFloat(c)||0}function Lt(c){for(var l=[],v=1;v<arguments.length;v++)l[v-1]=arguments[v];return l.reduce(function(d,M){var O=c["border-"+M+"-width"];return d+g(O)},0)}function Jt(c){for(var l=["top","right","bottom","left"],v={},d=0,M=l;d<M.length;d++){var O=M[d],b=c["padding-"+O];v[O]=g(b)}return v}function bt(c){var l=c.getBBox();return ct(0,0,l.width,l.height)}function tn(c){var l=c.clientWidth,v=c.clientHeight;if(!l&&!v)return t;var d=ee(c).getComputedStyle(c),M=Jt(d),O=M.left+M.right,b=M.top+M.bottom,U=g(d.width),ue=g(d.height);if(d.boxSizing==="border-box"&&(Math.round(U+O)!==l&&(U-=Lt(d,"left","right")+O),Math.round(ue+b)!==v&&(ue-=Lt(d,"top","bottom")+b)),!w(c)){var j=Math.round(U+O)-l,te=Math.round(ue+b)-v;Math.abs(j)!==1&&(U-=j),Math.abs(te)!==1&&(ue-=te)}return ct(M.left,M.top,U,ue)}var rt=function(){return typeof SVGGraphicsElement!="undefined"?function(c){return c instanceof ee(c).SVGGraphicsElement}:function(c){return c instanceof ee(c).SVGElement&&typeof c.getBBox=="function"}}();function w(c){return c===ee(c).document.documentElement}function Pe(c){return h?rt(c)?bt(c):tn(c):t}function at(c){var l=c.x,v=c.y,d=c.width,M=c.height,O=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,b=Object.create(O.prototype);return le(b,{x:l,y:v,width:d,height:M,top:v,right:l+d,bottom:M+v,left:l}),b}function ct(c,l,v,d){return{x:c,y:l,width:v,height:d}}var At=function(){function c(l){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=ct(0,0,0,0),this.target=l}return c.prototype.isActive=function(){var l=Pe(this.target);return this.contentRect_=l,l.width!==this.broadcastWidth||l.height!==this.broadcastHeight},c.prototype.broadcastRect=function(){var l=this.contentRect_;return this.broadcastWidth=l.width,this.broadcastHeight=l.height,l},c}(),ne=function(){function c(l,v){var d=at(v);le(this,{target:l,contentRect:d})}return c}(),xe=function(){function c(l,v,d){if(this.activeObservations_=[],this.observations_=new m,typeof l!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=l,this.controller_=v,this.callbackCtx_=d}return c.prototype.observe=function(l){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(l instanceof ee(l).Element))throw new TypeError('parameter 1 is not of type "Element".');var v=this.observations_;v.has(l)||(v.set(l,new At(l)),this.controller_.addObserver(this),this.controller_.refresh())}},c.prototype.unobserve=function(l){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(l instanceof ee(l).Element))throw new TypeError('parameter 1 is not of type "Element".');var v=this.observations_;v.has(l)&&(v.delete(l),v.size||this.controller_.removeObserver(this))}},c.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},c.prototype.gatherActive=function(){var l=this;this.clearActive(),this.observations_.forEach(function(v){v.isActive()&&l.activeObservations_.push(v)})},c.prototype.broadcastActive=function(){if(this.hasActive()){var l=this.callbackCtx_,v=this.activeObservations_.map(function(d){return new ne(d.target,d.broadcastRect())});this.callback_.call(l,v,l),this.clearActive()}},c.prototype.clearActive=function(){this.activeObservations_.splice(0)},c.prototype.hasActive=function(){return this.activeObservations_.length>0},c}(),se=typeof WeakMap!="undefined"?new WeakMap:new m,Ct=function(){function c(l){if(!(this instanceof c))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var v=Me.getInstance(),d=new xe(l,v,this);se.set(this,d)}return c}();["observe","unobserve","disconnect"].forEach(function(c){Ct.prototype[c]=function(){var l;return(l=se.get(this))[c].apply(l,arguments)}});var Ge=function(){return typeof N.ResizeObserver!="undefined"?N.ResizeObserver:Ct}();kt.Z=Ge}}]);