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__User__Detail__Videos__Su...

39 lines
136 KiB

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9891],{84105:function(rt,oe,t){t.d(oe,{Z:function(){return I}});var u=t(96663),i=t(59301),N={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},k=N,g=t(7657),D=function(z,U){return i.createElement(g.Z,(0,u.Z)({},z,{ref:U,icon:k}))},Z=i.forwardRef(D),I=Z},18785:function(rt,oe,t){t.d(oe,{Z:function(){return I}});var u=t(96663),i=t(59301),N={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"},k=N,g=t(7657),D=function(z,U){return i.createElement(g.Z,(0,u.Z)({},z,{ref:U,icon:k}))},Z=i.forwardRef(D),I=Z},33853:function(rt,oe,t){t.d(oe,{Z:function(){return I}});var u=t(96663),i=t(59301),N={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},k=N,g=t(7657),D=function(z,U){return i.createElement(g.Z,(0,u.Z)({},z,{ref:U,icon:k}))},Z=i.forwardRef(D),I=Z},38819:function(rt,oe,t){t.d(oe,{Z:function(){return I}});var u=t(96663),i=t(59301),N={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},k=N,g=t(7657),D=function(z,U){return i.createElement(g.Z,(0,u.Z)({},z,{ref:U,icon:k}))},Z=i.forwardRef(D),I=Z},35593:function(rt,oe,t){t.d(oe,{Z:function(){return Ke}});var u=t(44127),i=t(72071),N=t(6620),k=t(43403),g=t(92310),D=t.n(g),Z=t(29301),I=t(76846),L=t(96452),z=t(6089),U=t(80402),x=t(34280),o=t(49658),b=t(59301),te=t(96663),ie=t(77900),ve=t(8654);function w(n){var a=n.prefixCls,e=n.align,s=n.arrow,m=n.arrowPos,S=s||{},P=S.className,T=S.content,j=m.x,X=j===void 0?0:j,F=m.y,_=F===void 0?0:F,pe=b.useRef();if(!e||!e.points)return null;var re={position:"absolute"};if(e.autoArrow!==!1){var be=e.points[0],ue=e.points[1],se=be[0],de=be[1],we=ue[0],Oe=ue[1];se===we||!["t","b"].includes(se)?re.top=_:se==="t"?re.top=0:re.bottom=0,de===Oe||!["l","r"].includes(de)?re.left=X:de==="l"?re.left=0:re.right=0}return b.createElement("div",{ref:pe,className:D()("".concat(a,"-arrow"),P),style:re},T)}function W(n){var a=n.prefixCls,e=n.open,s=n.zIndex,m=n.mask,S=n.motion;return m?b.createElement(ie.default,(0,te.Z)({},S,{motionAppear:!0,visible:e,removeOnLeave:!0}),function(P){var T=P.className;return b.createElement("div",{style:{zIndex:s},className:D()("".concat(a,"-mask"),T)})}):null}var me=b.memo(function(n){var a=n.children;return a},function(n,a){return a.cache}),Ne=me,J=b.forwardRef(function(n,a){var e=n.popup,s=n.className,m=n.prefixCls,S=n.style,P=n.target,T=n.onVisibleChanged,j=n.open,X=n.keepDom,F=n.fresh,_=n.onClick,pe=n.mask,re=n.arrow,be=n.arrowPos,ue=n.align,se=n.motion,de=n.maskMotion,we=n.forceRender,Oe=n.getPopupContainer,Y=n.autoDestroy,nt=n.portal,_e=n.zIndex,Je=n.onMouseEnter,De=n.onMouseLeave,dt=n.onPointerEnter,ct=n.ready,ft=n.offsetX,At=n.offsetY,St=n.offsetR,Le=n.offsetB,We=n.onAlign,ze=n.onPrepare,mt=n.stretch,Re=n.targetWidth,It=n.targetHeight,ot=typeof e=="function"?e():e,Ot=j||X,Tt=(Oe==null?void 0:Oe.length)>0,ut=b.useState(!Oe||!Tt),jt=(0,i.Z)(ut,2),mn=jt[0],On=jt[1];if((0,x.Z)(function(){!mn&&Tt&&P&&On(!0)},[mn,Tt,P]),!mn)return null;var Ft="auto",ht={left:"-1000vw",top:"-1000vh",right:Ft,bottom:Ft};if(ct||!j){var pt,_t=ue.points,on=ue.dynamicInset||((pt=ue._experimental)===null||pt===void 0?void 0:pt.dynamicInset),Gt=on&&_t[0][1]==="r",xn=on&&_t[0][0]==="b";Gt?(ht.right=St,ht.left=Ft):(ht.left=ft,ht.right=Ft),xn?(ht.bottom=Le,ht.top=Ft):(ht.top=At,ht.bottom=Ft)}var xt={};return mt&&(mt.includes("height")&&It?xt.height=It:mt.includes("minHeight")&&It&&(xt.minHeight=It),mt.includes("width")&&Re?xt.width=Re:mt.includes("minWidth")&&Re&&(xt.minWidth=Re)),j||(xt.pointerEvents="none"),b.createElement(nt,{open:we||Ot,getContainer:Oe&&function(){return Oe(P)},autoDestroy:Y},b.createElement(W,{prefixCls:m,open:j,zIndex:_e,mask:pe,motion:de}),b.createElement(Z.Z,{onResize:We,disabled:!j},function(vn){return b.createElement(ie.default,(0,te.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:we,leavedClassName:"".concat(m,"-hidden")},se,{onAppearPrepare:ze,onEnterPrepare:ze,visible:j,onVisibleChanged:function(kt){var an;se==null||(an=se.onVisibleChanged)===null||an===void 0||an.call(se,kt),T(kt)}}),function(Jt,kt){var an=Jt.className,qe=Jt.style,gn=D()(m,an,s);return b.createElement("div",{ref:(0,ve.sQ)(vn,a,kt),className:gn,style:(0,u.Z)((0,u.Z)((0,u.Z)((0,u.Z)({"--arrow-x":"".concat(be.x||0,"px"),"--arrow-y":"".concat(be.y||0,"px")},ht),xt),qe),{},{boxSizing:"border-box",zIndex:_e},S),onMouseEnter:Je,onMouseLeave:De,onPointerEnter:dt,onClick:_},re&&b.createElement(w,{prefixCls:m,arrow:re,arrowPos:be,align:ue}),b.createElement(Ne,{cache:!j&&!F},ot))})}))}),ge=J,H=b.forwardRef(function(n,a){var e=n.children,s=n.getTriggerDOMNode,m=(0,ve.Yr)(e),S=b.useCallback(function(T){(0,ve.mH)(a,s?s(T):T)},[s]),P=(0,ve.x1)(S,e.ref);return m?b.cloneElement(e,{ref:P}):e}),M=H,q=b.createContext(null),Q=q;function ce(n){return n?Array.isArray(n)?n:[n]:[]}function A(n,a,e,s){return b.useMemo(function(){var m=ce(e!=null?e:a),S=ce(s!=null?s:a),P=new Set(m),T=new Set(S);return n&&(P.has("hover")&&(P.delete("hover"),P.add("click")),T.has("hover")&&(T.delete("hover"),T.add("click"))),[P,T]},[n,a,e,s])}var v=t(29194);function d(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],e=arguments.length>2?arguments[2]:void 0;return e?n[0]===a[0]:n[0]===a[0]&&n[1]===a[1]}function p(n,a,e,s){for(var m=e.points,S=Object.keys(n),P=0;P<S.length;P+=1){var T,j=S[P];if(d((T=n[j])===null||T===void 0?void 0:T.points,m,s))return"".concat(a,"-placement-").concat(j)}return""}function r(n,a,e,s){return a||(e?{motionName:"".concat(n,"-").concat(e)}:s?{motionName:s}:null)}function h(n){return n.ownerDocument.defaultView}function O(n){for(var a=[],e=n==null?void 0:n.parentElement,s=["hidden","scroll","clip","auto"];e;){var m=h(e).getComputedStyle(e),S=m.overflowX,P=m.overflowY,T=m.overflow;[S,P,T].some(function(j){return s.includes(j)})&&a.push(e),e=e.parentElement}return a}function l(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(n)?a:n}function C(n){return l(parseFloat(n),0)}function G(n,a){var e=(0,u.Z)({},n);return(a||[]).forEach(function(s){if(!(s instanceof HTMLBodyElement||s instanceof HTMLHtmlElement)){var m=h(s).getComputedStyle(s),S=m.overflow,P=m.overflowClipMargin,T=m.borderTopWidth,j=m.borderBottomWidth,X=m.borderLeftWidth,F=m.borderRightWidth,_=s.getBoundingClientRect(),pe=s.offsetHeight,re=s.clientHeight,be=s.offsetWidth,ue=s.clientWidth,se=C(T),de=C(j),we=C(X),Oe=C(F),Y=l(Math.round(_.width/be*1e3)/1e3),nt=l(Math.round(_.height/pe*1e3)/1e3),_e=(be-ue-we-Oe)*Y,Je=(pe-re-se-de)*nt,De=se*nt,dt=de*nt,ct=we*Y,ft=Oe*Y,At=0,St=0;if(S==="clip"){var Le=C(P);At=Le*Y,St=Le*nt}var We=_.x+ct-At,ze=_.y+De-St,mt=We+_.width+2*At-ct-ft-_e,Re=ze+_.height+2*St-De-dt-Je;e.left=Math.max(e.left,We),e.top=Math.max(e.top,ze),e.right=Math.min(e.right,mt),e.bottom=Math.min(e.bottom,Re)}}),e}function K(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,e="".concat(a),s=e.match(/^(.*)\%$/);return s?n*(parseFloat(s[1])/100):parseFloat(e)}function V(n,a){var e=a||[],s=(0,i.Z)(e,2),m=s[0],S=s[1];return[K(n.width,m),K(n.height,S)]}function ne(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[n[0],n[1]]}function Ce(n,a){var e=a[0],s=a[1],m,S;return e==="t"?S=n.y:e==="b"?S=n.y+n.height:S=n.y+n.height/2,s==="l"?m=n.x:s==="r"?m=n.x+n.width:m=n.x+n.width/2,{x:m,y:S}}function le(n,a){var e={t:"b",b:"t",l:"r",r:"l"};return n.map(function(s,m){return m===a?e[s]||"c":s}).join("")}function $e(n,a,e,s,m,S,P){var T=b.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:m[s]||{}}),j=(0,i.Z)(T,2),X=j[0],F=j[1],_=b.useRef(0),pe=b.useMemo(function(){return a?O(a):[]},[a]),re=b.useRef({}),be=function(){re.current={}};n||be();var ue=(0,z.Z)(function(){if(a&&e&&n){let Wt=function(Pt,dn){var fn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:gn,Xt=ot.x+Pt,Vt=ot.y+dn,Un=Xt+pt,Yn=Vt+ht,Xn=Math.max(Xt,fn.left),qn=Math.max(Vt,fn.top),Qn=Math.min(Un,fn.right),Vn=Math.min(Yn,fn.bottom);return Math.max(0,(Qn-Xn)*(Vn-qn))},Pn=function(){Et=ot.y+ae,vt=Et+ht,yt=ot.x+Ee,Dt=yt+pt};var we,Oe,Y=a,nt=Y.ownerDocument,_e=h(Y),Je=_e.getComputedStyle(Y),De=Je.width,dt=Je.height,ct=Je.position,ft=Y.style.left,At=Y.style.top,St=Y.style.right,Le=Y.style.bottom,We=Y.style.overflow,ze=(0,u.Z)((0,u.Z)({},m[s]),S),mt=nt.createElement("div");(we=Y.parentElement)===null||we===void 0||we.appendChild(mt),mt.style.left="".concat(Y.offsetLeft,"px"),mt.style.top="".concat(Y.offsetTop,"px"),mt.style.position=ct,mt.style.height="".concat(Y.offsetHeight,"px"),mt.style.width="".concat(Y.offsetWidth,"px"),Y.style.left="0",Y.style.top="0",Y.style.right="auto",Y.style.bottom="auto",Y.style.overflow="hidden";var Re;if(Array.isArray(e))Re={x:e[0],y:e[1],width:0,height:0};else{var It=e.getBoundingClientRect();Re={x:It.x,y:It.y,width:It.width,height:It.height}}var ot=Y.getBoundingClientRect(),Ot=nt.documentElement,Tt=Ot.clientWidth,ut=Ot.clientHeight,jt=Ot.scrollWidth,mn=Ot.scrollHeight,On=Ot.scrollTop,Ft=Ot.scrollLeft,ht=ot.height,pt=ot.width,_t=Re.height,on=Re.width,Gt={left:0,top:0,right:Tt,bottom:ut},xn={left:-Ft,top:-On,right:jt-Ft,bottom:mn-On},xt=ze.htmlRegion,vn="visible",Jt="visibleFirst";xt!=="scroll"&&xt!==Jt&&(xt=vn);var kt=xt===Jt,an=G(xn,pe),qe=G(Gt,pe),gn=xt===vn?qe:an,Zt=kt?qe:gn;Y.style.left="auto",Y.style.top="auto",Y.style.right="0",Y.style.bottom="0";var An=Y.getBoundingClientRect();Y.style.left=ft,Y.style.top=At,Y.style.right=St,Y.style.bottom=Le,Y.style.overflow=We,(Oe=Y.parentElement)===null||Oe===void 0||Oe.removeChild(mt);var ln=l(Math.round(pt/parseFloat(De)*1e3)/1e3),qt=l(Math.round(ht/parseFloat(dt)*1e3)/1e3);if(ln===0||qt===0||(0,I.Sh)(e)&&!(0,v.Z)(e))return;var jn=ze.offset,bt=ze.targetOffset,Tn=V(ot,jn),Hn=(0,i.Z)(Tn,2),Bt=Hn[0],ye=Hn[1],c=V(Re,bt),f=(0,i.Z)(c,2),$=f[0],E=f[1];Re.x-=$,Re.y-=E;var y=ze.points||[],B=(0,i.Z)(y,2),R=B[0],he=B[1],xe=ne(he),fe=ne(R),Ge=Ce(Re,xe),Te=Ce(ot,fe),Ve=(0,u.Z)({},ze),Ee=Ge.x-Te.x+Bt,ae=Ge.y-Te.y+ye,Ye=Wt(Ee,ae),Xe=Wt(Ee,ae,qe),at=Ce(Re,["t","l"]),Fe=Ce(ot,["t","l"]),je=Ce(Re,["b","r"]),Be=Ce(ot,["b","r"]),Ze=ze.overflow||{},et=Ze.adjustX,wt=Ze.adjustY,Qe=Ze.shiftX,Ut=Ze.shiftY,lt=function(dn){return typeof dn=="boolean"?dn:dn>=0},Et,vt,yt,Dt;Pn();var Ht=lt(wt),en=fe[0]===xe[0];if(Ht&&fe[0]==="t"&&(vt>Zt.bottom||re.current.bt)){var Mt=ae;en?Mt-=ht-_t:Mt=at.y-Be.y-ye;var Lt=Wt(Ee,Mt),tn=Wt(Ee,Mt,qe);Lt>Ye||Lt===Ye&&(!kt||tn>=Xe)?(re.current.bt=!0,ae=Mt,ye=-ye,Ve.points=[le(fe,0),le(xe,0)]):re.current.bt=!1}if(Ht&&fe[0]==="b"&&(Et<Zt.top||re.current.tb)){var it=ae;en?it+=ht-_t:it=je.y-Fe.y-ye;var yn=Wt(Ee,it),In=Wt(Ee,it,qe);yn>Ye||yn===Ye&&(!kt||In>=Xe)?(re.current.tb=!0,ae=it,ye=-ye,Ve.points=[le(fe,0),le(xe,0)]):re.current.tb=!1}var hn=lt(et),Cn=fe[1]===xe[1];if(hn&&fe[1]==="l"&&(Dt>Zt.right||re.current.rl)){var nn=Ee;Cn?nn-=pt-on:nn=at.x-Be.x-Bt;var zt=Wt(nn,ae),Yt=Wt(nn,ae,qe);zt>Ye||zt===Ye&&(!kt||Yt>=Xe)?(re.current.rl=!0,Ee=nn,Bt=-Bt,Ve.points=[le(fe,1),le(xe,1)]):re.current.rl=!1}if(hn&&fe[1]==="r"&&(yt<Zt.left||re.current.lr)){var sn=Ee;Cn?sn+=pt-on:sn=je.x-Fe.x-Bt;var $n=Wt(sn,ae),cn=Wt(sn,ae,qe);$n>Ye||$n===Ye&&(!kt||cn>=Xe)?(re.current.lr=!0,Ee=sn,Bt=-Bt,Ve.points=[le(fe,1),le(xe,1)]):re.current.lr=!1}Pn();var gt=Qe===!0?0:Qe;typeof gt=="number"&&(yt<qe.left&&(Ee-=yt-qe.left-Bt,Re.x+on<qe.left+gt&&(Ee+=Re.x-qe.left+on-gt)),Dt>qe.right&&(Ee-=Dt-qe.right-Bt,Re.x>qe.right-gt&&(Ee+=Re.x-qe.right+gt)));var Kt=Ut===!0?0:Ut;typeof Kt=="number"&&(Et<qe.top&&(ae-=Et-qe.top-ye,Re.y+_t<qe.top+Kt&&(ae+=Re.y-qe.top+_t-Kt)),vt>qe.bottom&&(ae-=vt-qe.bottom-ye,Re.y>qe.bottom-Kt&&(ae+=Re.y-qe.bottom+Kt)));var rn=ot.x+Ee,wn=rn+pt,Qt=ot.y+ae,Sn=Qt+ht,En=Re.x,Mn=En+on,Kn=Re.y,Zn=Kn+_t,Wn=Math.max(rn,En),Bn=Math.min(wn,Mn),un=(Wn+Bn)/2,Fn=un-rn,Dn=Math.max(Qt,Kn),Ln=Math.min(Sn,Zn),kn=(Dn+Ln)/2,Rn=kn-Qt;P==null||P(a,Ve);var Nn=An.right-ot.x-(Ee+ot.width),zn=An.bottom-ot.y-(ae+ot.height);F({ready:!0,offsetX:Ee/ln,offsetY:ae/qt,offsetR:Nn/ln,offsetB:zn/qt,arrowX:Fn/ln,arrowY:Rn/qt,scaleX:ln,scaleY:qt,align:Ve})}}),se=function(){_.current+=1;var Oe=_.current;Promise.resolve().then(function(){_.current===Oe&&ue()})},de=function(){F(function(Oe){return(0,u.Z)((0,u.Z)({},Oe),{},{ready:!1})})};return(0,x.Z)(de,[s]),(0,x.Z)(function(){n||de()},[n]),[X.ready,X.offsetX,X.offsetY,X.offsetR,X.offsetB,X.arrowX,X.arrowY,X.scaleX,X.scaleY,X.align,se]}var Pe=t(19127);function ke(n,a,e,s,m){(0,x.Z)(function(){if(n&&a&&e){let _=function(){s(),m()};var S=a,P=e,T=O(S),j=O(P),X=h(P),F=new Set([X].concat((0,Pe.Z)(T),(0,Pe.Z)(j)));return F.forEach(function(pe){pe.addEventListener("scroll",_,{passive:!0})}),X.addEventListener("resize",_,{passive:!0}),s(),function(){F.forEach(function(pe){pe.removeEventListener("scroll",_),X.removeEventListener("resize",_)})}}},[n,a,e])}var Me=t(48736),Ie=t(16089);function He(n,a,e,s,m,S,P,T){var j=b.useRef(n),X=b.useRef(!1);j.current!==n&&(X.current=!0,j.current=n),b.useEffect(function(){var F=(0,Ie.Z)(function(){X.current=!1});return function(){Ie.Z.cancel(F)}},[n]),b.useEffect(function(){if(a&&s&&(!m||S)){var F=function(){var ct=!1,ft=function(Le){var We=Le.target;ct=P(We)},At=function(Le){var We=Le.target;!X.current&&j.current&&!ct&&!P(We)&&T(!1)};return[ft,At]},_=F(),pe=(0,i.Z)(_,2),re=pe[0],be=pe[1],ue=F(),se=(0,i.Z)(ue,2),de=se[0],we=se[1],Oe=h(s);Oe.addEventListener("mousedown",re,!0),Oe.addEventListener("click",be,!0),Oe.addEventListener("contextmenu",be,!0);var Y=(0,L.A)(e);if(Y&&(Y.addEventListener("mousedown",de,!0),Y.addEventListener("click",we,!0),Y.addEventListener("contextmenu",we,!0)),0)var nt,_e,Je,De;return function(){Oe.removeEventListener("mousedown",re,!0),Oe.removeEventListener("click",be,!0),Oe.removeEventListener("contextmenu",be,!0),Y&&(Y.removeEventListener("mousedown",de,!0),Y.removeEventListener("click",we,!0),Y.removeEventListener("contextmenu",we,!0))}}},[a,e,s,m,S])}var Ae=["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 Ue(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:k.Z,a=b.forwardRef(function(e,s){var m=e.prefixCls,S=m===void 0?"rc-trigger-popup":m,P=e.children,T=e.action,j=T===void 0?"hover":T,X=e.showAction,F=e.hideAction,_=e.popupVisible,pe=e.defaultPopupVisible,re=e.onPopupVisibleChange,be=e.afterPopupVisibleChange,ue=e.mouseEnterDelay,se=e.mouseLeaveDelay,de=se===void 0?.1:se,we=e.focusDelay,Oe=e.blurDelay,Y=e.mask,nt=e.maskClosable,_e=nt===void 0?!0:nt,Je=e.getPopupContainer,De=e.forceRender,dt=e.autoDestroy,ct=e.destroyPopupOnHide,ft=e.popup,At=e.popupClassName,St=e.popupStyle,Le=e.popupPlacement,We=e.builtinPlacements,ze=We===void 0?{}:We,mt=e.popupAlign,Re=e.zIndex,It=e.stretch,ot=e.getPopupClassNameFromAlign,Ot=e.fresh,Tt=e.alignPoint,ut=e.onPopupClick,jt=e.onPopupAlign,mn=e.arrow,On=e.popupMotion,Ft=e.maskMotion,ht=e.popupTransitionName,pt=e.popupAnimation,_t=e.maskTransitionName,on=e.maskAnimation,Gt=e.className,xn=e.getTriggerDOMNode,xt=(0,N.Z)(e,Ae),vn=dt||ct||!1,Jt=b.useState(!1),kt=(0,i.Z)(Jt,2),an=kt[0],qe=kt[1];(0,x.Z)(function(){qe((0,o.Z)())},[]);var gn=b.useRef({}),Zt=b.useContext(Q),An=b.useMemo(function(){return{registerSubPopup:function(Se,Ct){gn.current[Se]=Ct,Zt==null||Zt.registerSubPopup(Se,Ct)}}},[Zt]),ln=(0,U.Z)(),qt=b.useState(null),jn=(0,i.Z)(qt,2),bt=jn[0],Tn=jn[1],Hn=(0,z.Z)(function(ee){(0,I.Sh)(ee)&&bt!==ee&&Tn(ee),Zt==null||Zt.registerSubPopup(ln,ee)}),Bt=b.useState(null),ye=(0,i.Z)(Bt,2),c=ye[0],f=ye[1],$=b.useRef(null),E=(0,z.Z)(function(ee){(0,I.Sh)(ee)&&c!==ee&&(f(ee),$.current=ee)}),y=b.Children.only(P),B=(y==null?void 0:y.props)||{},R={},he=(0,z.Z)(function(ee){var Se,Ct,Rt=c;return(Rt==null?void 0:Rt.contains(ee))||((Se=(0,L.A)(Rt))===null||Se===void 0?void 0:Se.host)===ee||ee===Rt||(bt==null?void 0:bt.contains(ee))||((Ct=(0,L.A)(bt))===null||Ct===void 0?void 0:Ct.host)===ee||ee===bt||Object.values(gn.current).some(function(tt){return(tt==null?void 0:tt.contains(ee))||ee===tt})}),xe=r(S,On,pt,ht),fe=r(S,Ft,on,_t),Ge=b.useState(pe||!1),Te=(0,i.Z)(Ge,2),Ve=Te[0],Ee=Te[1],ae=_!=null?_:Ve,Ye=(0,z.Z)(function(ee){_===void 0&&Ee(ee)});(0,x.Z)(function(){Ee(_||!1)},[_]);var Xe=b.useRef(ae);Xe.current=ae;var at=b.useRef([]);at.current=[];var Fe=(0,z.Z)(function(ee){var Se;Ye(ee),((Se=at.current[at.current.length-1])!==null&&Se!==void 0?Se:ae)!==ee&&(at.current.push(ee),re==null||re(ee))}),je=b.useRef(),Be=function(){clearTimeout(je.current)},Ze=function(Se){var Ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Be(),Ct===0?Fe(Se):je.current=setTimeout(function(){Fe(Se)},Ct*1e3)};b.useEffect(function(){return Be},[]);var et=b.useState(!1),wt=(0,i.Z)(et,2),Qe=wt[0],Ut=wt[1];(0,x.Z)(function(ee){(!ee||ae)&&Ut(!0)},[ae]);var lt=b.useState(null),Et=(0,i.Z)(lt,2),vt=Et[0],yt=Et[1],Dt=b.useState([0,0]),Ht=(0,i.Z)(Dt,2),en=Ht[0],Mt=Ht[1],Lt=function(Se){Mt([Se.clientX,Se.clientY])},tn=$e(ae,bt,Tt?en:c,Le,ze,mt,jt),it=(0,i.Z)(tn,11),yn=it[0],In=it[1],hn=it[2],Cn=it[3],nn=it[4],zt=it[5],Yt=it[6],sn=it[7],$n=it[8],cn=it[9],gt=it[10],Kt=A(an,j,X,F),rn=(0,i.Z)(Kt,2),wn=rn[0],Qt=rn[1],Sn=wn.has("click"),En=Qt.has("click")||Qt.has("contextMenu"),Mn=(0,z.Z)(function(){Qe||gt()}),Kn=function(){Xe.current&&Tt&&En&&Ze(!1)};ke(ae,c,bt,Mn,Kn),(0,x.Z)(function(){Mn()},[en,Le]),(0,x.Z)(function(){ae&&!(ze!=null&&ze[Le])&&Mn()},[JSON.stringify(mt)]);var Zn=b.useMemo(function(){var ee=p(ze,S,cn,Tt);return D()(ee,ot==null?void 0:ot(cn))},[cn,ot,ze,S,Tt]);b.useImperativeHandle(s,function(){return{nativeElement:$.current,forceAlign:Mn}});var Wn=b.useState(0),Bn=(0,i.Z)(Wn,2),un=Bn[0],Fn=Bn[1],Dn=b.useState(0),Ln=(0,i.Z)(Dn,2),kn=Ln[0],Rn=Ln[1],Nn=function(){if(It&&c){var Se=c.getBoundingClientRect();Fn(Se.width),Rn(Se.height)}},zn=function(){Nn(),Mn()},Wt=function(Se){Ut(!1),gt(),be==null||be(Se)},Pn=function(){return new Promise(function(Se){Nn(),yt(function(){return Se})})};(0,x.Z)(function(){vt&&(gt(),vt(),yt(null))},[vt]);function Pt(ee,Se,Ct,Rt){R[ee]=function(tt){var _n;Rt==null||Rt(tt),Ze(Se,Ct);for(var er=arguments.length,tr=new Array(er>1?er-1:0),Jn=1;Jn<er;Jn++)tr[Jn-1]=arguments[Jn];(_n=B[ee])===null||_n===void 0||_n.call.apply(_n,[B,tt].concat(tr))}}(Sn||En)&&(R.onClick=function(ee){var Se;Xe.current&&En?Ze(!1):!Xe.current&&Sn&&(Lt(ee),Ze(!0));for(var Ct=arguments.length,Rt=new Array(Ct>1?Ct-1:0),tt=1;tt<Ct;tt++)Rt[tt-1]=arguments[tt];(Se=B.onClick)===null||Se===void 0||Se.call.apply(Se,[B,ee].concat(Rt))}),He(ae,En,c,bt,Y,_e,he,Ze);var dn=wn.has("hover"),fn=Qt.has("hover"),Xt,Vt;dn&&(Pt("onMouseEnter",!0,ue,function(ee){Lt(ee)}),Pt("onPointerEnter",!0,ue,function(ee){Lt(ee)}),Xt=function(Se){(ae||Qe)&&bt!==null&&bt!==void 0&&bt.contains(Se.target)&&Ze(!0,ue)},Tt&&(R.onMouseMove=function(ee){var Se;(Se=B.onMouseMove)===null||Se===void 0||Se.call(B,ee)})),fn&&(Pt("onMouseLeave",!1,de),Pt("onPointerLeave",!1,de),Vt=function(){Ze(!1,de)}),wn.has("focus")&&Pt("onFocus",!0,we),Qt.has("focus")&&Pt("onBlur",!1,Oe),wn.has("contextMenu")&&(R.onContextMenu=function(ee){var Se;Xe.current&&Qt.has("contextMenu")?Ze(!1):(Lt(ee),Ze(!0)),ee.preventDefault();for(var Ct=arguments.length,Rt=new Array(Ct>1?Ct-1:0),tt=1;tt<Ct;tt++)Rt[tt-1]=arguments[tt];(Se=B.onContextMenu)===null||Se===void 0||Se.call.apply(Se,[B,ee].concat(Rt))}),Gt&&(R.className=D()(B.className,Gt));var Un=(0,u.Z)((0,u.Z)({},B),R),Yn={},Xn=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Xn.forEach(function(ee){xt[ee]&&(Yn[ee]=function(){for(var Se,Ct=arguments.length,Rt=new Array(Ct),tt=0;tt<Ct;tt++)Rt[tt]=arguments[tt];(Se=Un[ee])===null||Se===void 0||Se.call.apply(Se,[Un].concat(Rt)),xt[ee].apply(xt,Rt)})});var qn=b.cloneElement(y,(0,u.Z)((0,u.Z)({},Un),Yn)),Qn={x:zt,y:Yt},Vn=mn?(0,u.Z)({},mn!==!0?mn:{}):null;return b.createElement(b.Fragment,null,b.createElement(Z.Z,{disabled:!ae,ref:E,onResize:zn},b.createElement(M,{getTriggerDOMNode:xn},qn)),b.createElement(Q.Provider,{value:An},b.createElement(ge,{portal:n,ref:Hn,prefixCls:S,popup:ft,className:D()(At,Zn),style:St,target:c,onMouseEnter:Xt,onMouseLeave:Vt,onPointerEnter:Xt,zIndex:Re,open:ae,keepDom:Qe,fresh:Ot,onClick:ut,mask:Y,motion:xe,maskMotion:fe,onVisibleChanged:Wt,onPrepare:Pn,forceRender:De,autoDestroy:vn,getPopupContainer:Je,align:cn,arrow:Vn,arrowPos:Qn,ready:yn,offsetX:In,offsetY:hn,offsetR:Cn,offsetB:nn,onAlign:Mn,stretch:It,targetWidth:un/sn,targetHeight:kn/$n})))});return a}var Ke=Ue(k.Z)},34111:function(rt,oe,t){t.r(oe),t.d(oe,{default:function(){return U}});var u=t(59301),i=t(89070),N=t(66104),k="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAABgBAMAAAAnVGd6AAAAHlBMVEVHcExNrf9Prf9Osf9Mrf9Nrf9guP9Orf9Orv9MrP8FsCMcAAAACXRSTlMA7kQqy58Jgljrf+twAAABc0lEQVRYw+2ZoW7DMBCGb0lXjxeFNWgayyNMmlZpbKCaVBZNA8VjZpEKhjs1wG/b2Gky5LvofjTpjvvTV/dqn/8SERX7Kijq/LqlVA9vQVmXLq5fH4K6+nYAfAWgdgPggAD6YQcCVB2tMMAzPWGA37QFfUOKKtNSik3wTqq6j61AsQkbHaCM7Ujxg5Cy0loDGMAABjCAAnD8xgBFFV4gQB0vEQBQxAtoCwDq8S5XA5IAYpAEgD0YBTZ6QBI4N2pARmA5ICOwGJATWAzICTCA9U+3QIAB1OHSygJ5QFmNU7AgkAek+a0VBfKAu2kQ5wXygDQ/3xQYgTzgOL8FWAHmW/CzAifAANykwApwnTgpsAIc4KbAC7C/hVGBF2AB7u9RstHdTH5+oDY6gJMFhPPAiwICwIkC0onkJQEJ4CQB8Uz0goAIGBQ+sAnl8WRTmgEMYIB/BYCjMDiMg+NAOJCEI1E4lIVjYTyYhqNxOJwn+kT+HrgC4ZxMj7df2qIAAAAASUVORK5CYII=",g={bg:"bg___Sszik",main:"main___r6u0A",uploadTop:"uploadTop____ZjJ2",imgWrap:"imgWrap___y7VD_",defaultImg:"defaultImg____vm6F",congrats:"congrats___m2BFJ",tip:"tip___HM2s0",see:"see___HjVVs",continue:"continue___ctqgb"},D=Object.getOwnPropertySymbols,Z=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable,L=(x,o)=>{var b={};for(var te in x)Z.call(x,te)&&o.indexOf(te)<0&&(b[te]=x[te]);if(x!=null&&D)for(var te of D(x))o.indexOf(te)<0&&I.call(x,te)&&(b[te]=x[te]);return b};const z=x=>{var o=x,{userDetail:b,globalSetting:te,loading:ie,dispatch:ve}=o,w=L(o,["userDetail","globalSetting","loading","dispatch"]);const W=(0,i.useParams)(),[me,Ne]=(0,u.useState)();return(0,u.useEffect)(()=>{Ne(W==null?void 0:W.username)},[]),u.createElement("section",{className:g.bg},u.createElement(N.Z,{className:"mb10 mt10",separator:">"},u.createElement(N.Z.Item,{href:`/users/${me}/videos`},"\u89C6\u9891"),u.createElement(N.Z.Item,null,"\u4E0A\u4F20")),u.createElement("div",{className:"mt5"},u.createElement("h2",null,"\u4E0A\u4F20\u89C6\u9891")),u.createElement("div",{className:g.main},u.createElement("div",{className:g.uploadTop},u.createElement("div",{className:g.imgWrap},u.createElement("img",{className:g.defaultImg,src:k}))),u.createElement("div",{className:g.congrats},"\u606D\u559C\uFF01"),u.createElement("div",{className:"font16"},"\u63D0\u4EA4\u6210\u529F"),u.createElement("div",{className:g.tip},"\u5E73\u53F0\u6B63\u5728\u5BA1\u6838\u60A8\u7684\u7533\u8BF7\uFF0C\u5BA1\u6838\u7ED3\u679C\u5C06\u4EE5\u5E73\u53F0\u6D88\u606F\u7684\u5F62\u5F0F\u901A\u77E5\u60A8"),u.createElement("div",null,u.createElement("a",{className:g.see,href:`/users/${me}/videos`},"\u67E5\u770B\u5DF2\u4E0A\u4F20\u89C6\u9891"),u.createElement("a",{className:g.continue,href:`/users/${me}/videos/upload`},"\u7EE7\u7EED\u4E0A\u4F20"))))};var U=(0,i.connect)(({userDetail:x,loading:o,globalSetting:b})=>({userDetail:x,globalSetting:b,loading:o.models.index}))(z)},36785:function(rt,oe,t){t.d(oe,{o2:function(){return g},yT:function(){return D}});var u=t(19127),i=t(33166);const N=i.i.map(Z=>`${Z}-inverse`),k=["success","processing","error","default","warning"];function g(Z){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,u.Z)(N),(0,u.Z)(i.i)).includes(Z):i.i.includes(Z)}function D(Z){return k.includes(Z)}},79676:function(rt,oe,t){t.d(oe,{Z:function(){return D}});var u=t(19447);function i(Z,I,L,z){if(z===!1)return{adjustX:!1,adjustY:!1};const U=z&&typeof z=="object"?z:{},x={};switch(Z){case"top":case"bottom":x.shiftX=I.dropdownArrowOffset*2+L;break;case"left":case"right":x.shiftY=I.dropdownArrowOffsetVertical*2+L;break}const o=Object.assign(Object.assign({},x),U);return o.shiftX||(o.adjustX=!0),o.shiftY||(o.adjustY=!0),o}const N={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},k={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},g=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function D(Z){const{arrowWidth:I,autoAdjustOverflow:L,arrowPointAtCenter:z,offset:U,borderRadius:x,visibleFirst:o}=Z,b=I/2,te={};return Object.keys(N).forEach(ie=>{const ve=z&&k[ie]||N[ie],w=Object.assign(Object.assign({},ve),{offset:[0,0]});switch(te[ie]=w,g.has(ie)&&(w.autoArrow=!1),ie){case"top":case"topLeft":case"topRight":w.offset[1]=-b-U;break;case"bottom":case"bottomLeft":case"bottomRight":w.offset[1]=b+U;break;case"left":case"leftTop":case"leftBottom":w.offset[0]=-b-U;break;case"right":case"rightTop":case"rightBottom":w.offset[0]=b+U;break}const W=(0,u.fS)({contentRadius:x,limitVerticalRadius:!0});if(z)switch(ie){case"topLeft":case"bottomLeft":w.offset[0]=-W.dropdownArrowOffset-b;break;case"topRight":case"bottomRight":w.offset[0]=W.dropdownArrowOffset+b;break;case"leftTop":case"rightTop":w.offset[1]=-W.dropdownArrowOffset-b;break;case"leftBottom":case"rightBottom":w.offset[1]=W.dropdownArrowOffset+b;break}w.overflow=i(ie,W,I,L),o&&(w.htmlRegion="visibleFirst")}),te}},66104:function(rt,oe,t){t.d(oe,{Z:function(){return p}});var u=t(92310),i=t.n(u),N=t(11592),k=t(26112),g=t(59301),D=t(92343),Z=t(36355),I=t(84105),L=t(91857);const z=r=>{let{children:h}=r;const{getPrefixCls:O}=g.useContext(Z.E_),l=O("breadcrumb");return g.createElement("li",{className:`${l}-separator`,"aria-hidden":"true"},h===""?h:h||"/")};z.__ANT_BREADCRUMB_SEPARATOR=!0;var U=z,x=function(r,h){var O={};for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&h.indexOf(l)<0&&(O[l]=r[l]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,l=Object.getOwnPropertySymbols(r);C<l.length;C++)h.indexOf(l[C])<0&&Object.prototype.propertyIsEnumerable.call(r,l[C])&&(O[l[C]]=r[l[C]]);return O};function o(r,h){if(r.title===void 0||r.title===null)return null;const O=Object.keys(h).join("|");return typeof r.title=="object"?r.title:String(r.title).replace(new RegExp(`:(${O})`,"g"),(l,C)=>h[C]||l)}function b(r,h,O,l){if(O==null)return null;const{className:C,onClick:G}=h,K=x(h,["className","onClick"]),V=Object.assign(Object.assign({},(0,k.Z)(K,{data:!0,aria:!0})),{onClick:G});return l!==void 0?g.createElement("a",Object.assign({},V,{className:i()(`${r}-link`,C),href:l}),O):g.createElement("span",Object.assign({},V,{className:i()(`${r}-link`,C)}),O)}function te(r,h){return(l,C,G,K,V)=>{if(h)return h(l,C,G,K);const ne=o(l,C);return b(r,l,ne,V)}}var ie=function(r,h){var O={};for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&h.indexOf(l)<0&&(O[l]=r[l]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,l=Object.getOwnPropertySymbols(r);C<l.length;C++)h.indexOf(l[C])<0&&Object.prototype.propertyIsEnumerable.call(r,l[C])&&(O[l[C]]=r[l[C]]);return O};const ve=r=>{const{prefixCls:h,separator:O="/",children:l,menu:C,overlay:G,dropdownProps:K,href:V}=r,Ce=(le=>{if(C||G){const $e=Object.assign({},K);if(C){const Pe=C||{},{items:ke}=Pe,Me=ie(Pe,["items"]);$e.menu=Object.assign(Object.assign({},Me),{items:ke==null?void 0:ke.map((Ie,He)=>{var{key:Ae,title:Ue,label:Ke,path:n}=Ie,a=ie(Ie,["key","title","label","path"]);let e=Ke!=null?Ke:Ue;return n&&(e=g.createElement("a",{href:`${V}${n}`},e)),Object.assign(Object.assign({},a),{key:Ae!=null?Ae:He,label:e})})})}else G&&($e.overlay=G);return g.createElement(L.Z,Object.assign({placement:"bottom"},$e),g.createElement("span",{className:`${h}-overlay-link`},le,g.createElement(I.Z,null)))}return le})(l);return Ce!=null?g.createElement(g.Fragment,null,g.createElement("li",null,Ce),O&&g.createElement(U,null,O)):null},w=r=>{const{prefixCls:h,children:O,href:l}=r,C=ie(r,["prefixCls","children","href"]),{getPrefixCls:G}=g.useContext(Z.E_),K=G("breadcrumb",h);return g.createElement(ve,Object.assign({},C,{prefixCls:K}),b(K,C,O,l))};w.__ANT_BREADCRUMB_ITEM=!0;var W=w,me=t(17313),Ne=t(83116),J=t(37613);const ge=r=>{const{componentCls:h,iconCls:O}=r;return{[h]:Object.assign(Object.assign({},(0,me.Wf)(r)),{color:r.itemColor,fontSize:r.fontSize,[O]:{fontSize:r.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:r.linkColor,transition:`color ${r.motionDurationMid}`,padding:`0 ${r.paddingXXS}px`,borderRadius:r.borderRadiusSM,height:r.lineHeight*r.fontSize,display:"inline-block",marginInline:-r.marginXXS,"&:hover":{color:r.linkHoverColor,backgroundColor:r.colorBgTextHover}},(0,me.Qy)(r)),"li:last-child":{color:r.lastItemColor},[`${h}-separator`]:{marginInline:r.separatorMargin,color:r.separatorColor},[`${h}-link`]:{[`
> ${O} + span,
> ${O} + a
`]:{marginInlineStart:r.marginXXS}},[`${h}-overlay-link`]:{borderRadius:r.borderRadiusSM,height:r.lineHeight*r.fontSize,display:"inline-block",padding:`0 ${r.paddingXXS}px`,marginInline:-r.marginXXS,[`> ${O}`]:{marginInlineStart:r.marginXXS,fontSize:r.fontSizeIcon},"&:hover":{color:r.linkHoverColor,backgroundColor:r.colorBgTextHover,a:{color:r.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${r.componentCls}-rtl`]:{direction:"rtl"}})}};var H=(0,Ne.Z)("Breadcrumb",r=>{const h=(0,J.TS)(r,{});return[ge(h)]},r=>({itemColor:r.colorTextDescription,lastItemColor:r.colorText,iconFontSize:r.fontSize,linkColor:r.colorTextDescription,linkHoverColor:r.colorText,separatorColor:r.colorTextDescription,separatorMargin:r.marginXS})),M=function(r,h){var O={};for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&h.indexOf(l)<0&&(O[l]=r[l]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,l=Object.getOwnPropertySymbols(r);C<l.length;C++)h.indexOf(l[C])<0&&Object.prototype.propertyIsEnumerable.call(r,l[C])&&(O[l[C]]=r[l[C]]);return O};function q(r){const{breadcrumbName:h,children:O}=r,l=M(r,["breadcrumbName","children"]),C=Object.assign({title:h},l);return O&&(C.menu={items:O.map(G=>{var{breadcrumbName:K}=G,V=M(G,["breadcrumbName"]);return Object.assign(Object.assign({},V),{title:K})})}),C}function Q(r,h){return(0,g.useMemo)(()=>r||(h?h.map(q):null),[r,h])}var ce=function(r,h){var O={};for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&h.indexOf(l)<0&&(O[l]=r[l]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var C=0,l=Object.getOwnPropertySymbols(r);C<l.length;C++)h.indexOf(l[C])<0&&Object.prototype.propertyIsEnumerable.call(r,l[C])&&(O[l[C]]=r[l[C]]);return O};const A=(r,h)=>{if(h===void 0)return h;let O=(h||"").replace(/^\//,"");return Object.keys(r).forEach(l=>{O=O.replace(`:${l}`,r[l])}),O},v=r=>{const{prefixCls:h,separator:O="/",style:l,className:C,rootClassName:G,routes:K,items:V,children:ne,itemRender:Ce,params:le={}}=r,$e=ce(r,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Pe,direction:ke,breadcrumb:Me}=g.useContext(Z.E_);let Ie;const He=Pe("breadcrumb",h),[Ae,Ue]=H(He),Ke=Q(V,K),n=te(He,Ce);if(Ke&&Ke.length>0){const s=[],m=V||K;Ie=Ke.map((S,P)=>{const{path:T,key:j,type:X,menu:F,overlay:_,onClick:pe,className:re,separator:be,dropdownProps:ue}=S,se=A(le,T);se!==void 0&&s.push(se);const de=j!=null?j:P;if(X==="separator")return g.createElement(U,{key:de},be);const we={},Oe=P===Ke.length-1;F?we.menu=F:_&&(we.overlay=_);let{href:Y}=S;return s.length&&se!==void 0&&(Y=`#/${s.join("/")}`),g.createElement(ve,Object.assign({key:de},we,(0,k.Z)(S,{data:!0,aria:!0}),{className:re,dropdownProps:ue,href:Y,separator:Oe?"":O,onClick:pe,prefixCls:He}),n(S,le,m,s,Y))})}else if(ne){const s=(0,N.Z)(ne).length;Ie=(0,N.Z)(ne).map((m,S)=>{if(!m)return m;const P=S===s-1;return(0,D.Tm)(m,{separator:P?"":O,key:S})})}const a=i()(He,Me==null?void 0:Me.className,{[`${He}-rtl`]:ke==="rtl"},C,G,Ue),e=Object.assign(Object.assign({},Me==null?void 0:Me.style),l);return Ae(g.createElement("nav",Object.assign({className:a,style:e},$e),g.createElement("ol",null,Ie)))};v.Item=W,v.Separator=U;var d=v,p=d},91857:function(rt,oe,t){var u=t(59301),i=t(38819),N=t(92310),k=t.n(N),g=t(31561),D=t(70425),Z=t(18929),I=t(2738),L=t(79676),z=t(53487),U=t(92343),x=t(36355),o=t(20834),b=t(40875),te=t(88088),ie=t(47211);const ve=null,w=J=>{const{menu:ge,arrow:H,prefixCls:M,children:q,trigger:Q,disabled:ce,dropdownRender:A,getPopupContainer:v,overlayClassName:d,rootClassName:p,open:r,onOpenChange:h,visible:O,onVisibleChange:l,mouseEnterDelay:C=.15,mouseLeaveDelay:G=.1,autoAdjustOverflow:K=!0,placement:V="",overlay:ne,transitionName:Ce}=J,{getPopupContainer:le,getPrefixCls:$e,direction:Pe}=u.useContext(x.E_),ke=u.useMemo(()=>{const F=$e();return Ce!==void 0?Ce:V.includes("top")?`${F}-slide-down`:`${F}-slide-up`},[$e,V,Ce]),Me=u.useMemo(()=>V?V.includes("Center")?V.slice(0,V.indexOf("Center")):V:Pe==="rtl"?"bottomRight":"bottomLeft",[V,Pe]),Ie=$e("dropdown",M),[He,Ae]=(0,ie.Z)(Ie),[,Ue]=(0,te.Z)(),Ke=u.Children.only(q),n=(0,U.Tm)(Ke,{className:k()(`${Ie}-trigger`,{[`${Ie}-rtl`]:Pe==="rtl"},Ke.props.className),disabled:ce}),a=ce?[]:Q;let e;a&&a.includes("contextMenu")&&(e=!0);const[s,m]=(0,Z.Z)(!1,{value:r!=null?r:O}),S=(0,D.useEvent)(F=>{h==null||h(F),l==null||l(F),m(F)}),P=k()(d,p,Ae,{[`${Ie}-rtl`]:Pe==="rtl"}),T=(0,L.Z)({arrowPointAtCenter:typeof H=="object"&&H.pointAtCenter,autoAdjustOverflow:K,offset:Ue.marginXXS,arrowWidth:H?Ue.sizePopupArrow:0,borderRadius:Ue.borderRadius}),j=u.useCallback(()=>{m(!1)},[]),X=()=>{let F;return ge!=null&&ge.items?F=u.createElement(o.default,Object.assign({},ge)):typeof ne=="function"?F=ne():F=ne,A&&(F=A(F)),F=u.Children.only(typeof F=="string"?u.createElement("span",null,F):F),u.createElement(b.J,{prefixCls:`${Ie}-menu`,expandIcon:u.createElement("span",{className:`${Ie}-menu-submenu-arrow`},u.createElement(i.Z,{className:`${Ie}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:j,validator:_=>{let{mode:pe}=_}},F)};return He(u.createElement(g.Z,Object.assign({alignPoint:e},(0,I.Z)(J,["rootClassName"]),{mouseEnterDelay:C,mouseLeaveDelay:G,visible:s,builtinPlacements:T,arrow:!!H,overlayClassName:P,prefixCls:Ie,getPopupContainer:v||le,transitionName:ke,trigger:a,overlay:X,placement:Me,onVisibleChange:S}),n))};function W(J){return Object.assign(Object.assign({},J),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const me=(0,z.Z)(w,"dropdown",J=>J,W),Ne=J=>u.createElement(me,Object.assign({},J),u.createElement("span",null));w._InternalPanelDoNotUseOrYouWillBeFired=Ne,oe.Z=w},47211:function(rt,oe,t){t.d(oe,{Z:function(){return U}});var u=t(17313),i=t(13826),N=t(92899),k=t(29878),g=t(19447),D=t(83116),Z=t(37613),L=x=>{const{componentCls:o,menuCls:b,colorError:te,colorTextLightSolid:ie}=x,ve=`${b}-item`;return{[`${o}, ${o}-menu-submenu`]:{[`${b} ${ve}`]:{[`&${ve}-danger:not(${ve}-disabled)`]:{color:te,"&:hover":{color:ie,backgroundColor:te}}}}}};const z=x=>{const{componentCls:o,menuCls:b,zIndexPopup:te,dropdownArrowDistance:ie,sizePopupArrow:ve,antCls:w,iconCls:W,motionDurationMid:me,dropdownPaddingVertical:Ne,fontSize:J,dropdownEdgeChildPadding:ge,colorTextDisabled:H,fontSizeIcon:M,controlPaddingHorizontal:q,colorBgElevated:Q}=x;return[{[o]:Object.assign(Object.assign({},(0,u.Wf)(x)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:te,display:"block","&::before":{position:"absolute",insetBlock:-ie+ve/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${w}-btn`]:{[`& > ${W}-down, & > ${w}-btn-icon > ${W}-down`]:{fontSize:M}},[`${o}-wrap`]:{position:"relative",[`${w}-btn > ${W}-down`]:{fontSize:M},[`${W}-down::before`]:{transition:`transform ${me}`}},[`${o}-wrap-open`]:{[`${W}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${w}-slide-down-enter${w}-slide-down-enter-active${o}-placement-bottomLeft,
&${w}-slide-down-appear${w}-slide-down-appear-active${o}-placement-bottomLeft,
&${w}-slide-down-enter${w}-slide-down-enter-active${o}-placement-bottom,
&${w}-slide-down-appear${w}-slide-down-appear-active${o}-placement-bottom,
&${w}-slide-down-enter${w}-slide-down-enter-active${o}-placement-bottomRight,
&${w}-slide-down-appear${w}-slide-down-appear-active${o}-placement-bottomRight`]:{animationName:i.fJ},[`&${w}-slide-up-enter${w}-slide-up-enter-active${o}-placement-topLeft,
&${w}-slide-up-appear${w}-slide-up-appear-active${o}-placement-topLeft,
&${w}-slide-up-enter${w}-slide-up-enter-active${o}-placement-top,
&${w}-slide-up-appear${w}-slide-up-appear-active${o}-placement-top,
&${w}-slide-up-enter${w}-slide-up-enter-active${o}-placement-topRight,
&${w}-slide-up-appear${w}-slide-up-appear-active${o}-placement-topRight`]:{animationName:i.Qt},[`&${w}-slide-down-leave${w}-slide-down-leave-active${o}-placement-bottomLeft,
&${w}-slide-down-leave${w}-slide-down-leave-active${o}-placement-bottom,
&${w}-slide-down-leave${w}-slide-down-leave-active${o}-placement-bottomRight`]:{animationName:i.Uw},[`&${w}-slide-up-leave${w}-slide-up-leave-active${o}-placement-topLeft,
&${w}-slide-up-leave${w}-slide-up-leave-active${o}-placement-top,
&${w}-slide-up-leave${w}-slide-up-leave-active${o}-placement-topRight`]:{animationName:i.ly}})},(0,g.ZP)(x,{colorBg:Q,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${o} ${b}`]:{position:"relative",margin:0},[`${b}-submenu-popup`]:{position:"absolute",zIndex:te,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${o}, ${o}-menu-submenu`]:{[b]:Object.assign(Object.assign({padding:ge,listStyleType:"none",backgroundColor:Q,backgroundClip:"padding-box",borderRadius:x.borderRadiusLG,outline:"none",boxShadow:x.boxShadowSecondary},(0,u.Qy)(x)),{[`${b}-item-group-title`]:{padding:`${Ne}px ${q}px`,color:x.colorTextDescription,transition:`all ${me}`},[`${b}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${b}-item-icon`]:{minWidth:J,marginInlineEnd:x.marginXS,fontSize:x.fontSizeSM},[`${b}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${me}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${b}-item, ${b}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${Ne}px ${q}px`,color:x.colorText,fontWeight:"normal",fontSize:J,lineHeight:x.lineHeight,cursor:"pointer",transition:`all ${me}`,borderRadius:x.borderRadiusSM,"&:hover, &-active":{backgroundColor:x.controlItemBgHover}},(0,u.Qy)(x)),{"&-selected":{color:x.colorPrimary,backgroundColor:x.controlItemBgActive,"&:hover, &-active":{backgroundColor:x.controlItemBgActiveHover}},"&-disabled":{color:H,cursor:"not-allowed","&:hover":{color:H,backgroundColor:Q,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${x.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:x.colorSplit},[`${o}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:x.paddingXS,[`${o}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:x.colorTextDescription,fontSize:M,fontStyle:"normal"}}}),[`${b}-item-group-list`]:{margin:`0 ${x.marginXS}px`,padding:0,listStyle:"none"},[`${b}-submenu-title`]:{paddingInlineEnd:q+x.fontSizeSM},[`${b}-submenu-vertical`]:{position:"relative"},[`${b}-submenu${b}-submenu-disabled ${o}-menu-submenu-title`]:{[`&, ${o}-menu-submenu-arrow-icon`]:{color:H,backgroundColor:Q,cursor:"not-allowed"}},[`${b}-submenu-selected ${o}-menu-submenu-title`]:{color:x.colorPrimary}})}},[(0,i.oN)(x,"slide-up"),(0,i.oN)(x,"slide-down"),(0,N.Fm)(x,"move-up"),(0,N.Fm)(x,"move-down"),(0,k._y)(x,"zoom-big")]]};var U=(0,D.Z)("Dropdown",(x,o)=>{let{rootPrefixCls:b}=o;const{marginXXS:te,sizePopupArrow:ie,controlHeight:ve,fontSize:w,lineHeight:W,paddingXXS:me,componentCls:Ne,borderRadiusLG:J}=x,ge=(ve-w*W)/2,{dropdownArrowOffset:H}=(0,g.fS)({contentRadius:J}),M=(0,Z.TS)(x,{menuCls:`${Ne}-menu`,rootPrefixCls:b,dropdownArrowDistance:ie/2+te,dropdownArrowOffset:H,dropdownPaddingVertical:ge,dropdownEdgeChildPadding:me});return[z(M),L(M)]},x=>({zIndexPopup:x.zIndexPopupBase+50}))},45818:function(rt,oe,t){t.d(oe,{D:function(){return me},Z:function(){return ge}});var u=t(96663),i=t(59301),N={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},k=N,g=t(7657),D=function(M,q){return i.createElement(g.Z,(0,u.Z)({},M,{ref:q,icon:k}))},Z=i.forwardRef(D),I=Z,L=t(33853),z=t(38819),U=t(92310),x=t.n(U),o=t(2738),te=H=>!isNaN(parseFloat(H))&&isFinite(H),ie=t(36355),ve=t(84966),w=function(H,M){var q={};for(var Q in H)Object.prototype.hasOwnProperty.call(H,Q)&&M.indexOf(Q)<0&&(q[Q]=H[Q]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,Q=Object.getOwnPropertySymbols(H);ce<Q.length;ce++)M.indexOf(Q[ce])<0&&Object.prototype.propertyIsEnumerable.call(H,Q[ce])&&(q[Q[ce]]=H[Q[ce]]);return q};const W={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},me=i.createContext({}),Ne=(()=>{let H=0;return function(){let M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return H+=1,`${M}${H}`}})();var ge=i.forwardRef((H,M)=>{const{prefixCls:q,className:Q,trigger:ce,children:A,defaultCollapsed:v=!1,theme:d="dark",style:p={},collapsible:r=!1,reverseArrow:h=!1,width:O=200,collapsedWidth:l=80,zeroWidthTriggerStyle:C,breakpoint:G,onCollapse:K,onBreakpoint:V}=H,ne=w(H,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Ce}=(0,i.useContext)(ve.Gs),[le,$e]=(0,i.useState)("collapsed"in H?H.collapsed:v),[Pe,ke]=(0,i.useState)(!1);(0,i.useEffect)(()=>{"collapsed"in H&&$e(H.collapsed)},[H.collapsed]);const Me=(n,a)=>{"collapsed"in H||$e(n),K==null||K(n,a)},Ie=(0,i.useRef)();Ie.current=n=>{ke(n.matches),V==null||V(n.matches),le!==n.matches&&Me(n.matches,"responsive")},(0,i.useEffect)(()=>{function n(e){return Ie.current(e)}let a;if(typeof window!="undefined"){const{matchMedia:e}=window;if(e&&G&&G in W){a=e(`(max-width: ${W[G]})`);try{a.addEventListener("change",n)}catch(s){a.addListener(n)}n(a)}}return()=>{try{a==null||a.removeEventListener("change",n)}catch(e){a==null||a.removeListener(n)}}},[G]),(0,i.useEffect)(()=>{const n=Ne("ant-sider-");return Ce.addSider(n),()=>Ce.removeSider(n)},[]);const He=()=>{Me(!le,"clickTrigger")},{getPrefixCls:Ae}=(0,i.useContext)(ie.E_),Ue=()=>{const n=Ae("layout-sider",q),a=(0,o.Z)(ne,["collapsed"]),e=le?l:O,s=te(e)?`${e}px`:String(e),m=parseFloat(String(l||0))===0?i.createElement("span",{onClick:He,className:x()(`${n}-zero-width-trigger`,`${n}-zero-width-trigger-${h?"right":"left"}`),style:C},ce||i.createElement(I,null)):null,T={expanded:h?i.createElement(z.Z,null):i.createElement(L.Z,null),collapsed:h?i.createElement(L.Z,null):i.createElement(z.Z,null)}[le?"collapsed":"expanded"],j=ce!==null?m||i.createElement("div",{className:`${n}-trigger`,onClick:He,style:{width:s}},ce||T):null,X=Object.assign(Object.assign({},p),{flex:`0 0 ${s}`,maxWidth:s,minWidth:s,width:s}),F=x()(n,`${n}-${d}`,{[`${n}-collapsed`]:!!le,[`${n}-has-trigger`]:r&&ce!==null&&!m,[`${n}-below`]:!!Pe,[`${n}-zero-width`]:parseFloat(s)===0},Q);return i.createElement("aside",Object.assign({className:F},a,{style:X,ref:M}),i.createElement("div",{className:`${n}-children`},A),r||Pe&&m?j:null)},Ke=i.useMemo(()=>({siderCollapsed:le}),[le]);return i.createElement(me.Provider,{value:Ke},Ue())})},84966:function(rt,oe,t){t.d(oe,{VY:function(){return me},$_:function(){return W},h4:function(){return w},Gs:function(){return o},ZP:function(){return Ne}});var u=t(19127),i=t(92310),N=t.n(i),k=t(2738),g=t(59301),D=t(36355),Z=t(83116),L=J=>{const{componentCls:ge,bodyBg:H,lightSiderBg:M,lightTriggerBg:q,lightTriggerColor:Q}=J;return{[`${ge}-sider-light`]:{background:M,[`${ge}-sider-trigger`]:{color:Q,background:q},[`${ge}-sider-zero-width-trigger`]:{color:Q,background:q,border:`1px solid ${H}`,borderInlineStart:0}}}};const z=J=>{const{antCls:ge,componentCls:H,colorText:M,triggerColor:q,footerBg:Q,triggerBg:ce,headerHeight:A,headerPadding:v,headerColor:d,footerPadding:p,triggerHeight:r,zeroTriggerHeight:h,zeroTriggerWidth:O,motionDurationMid:l,motionDurationSlow:C,fontSize:G,borderRadius:K,bodyBg:V,headerBg:ne,siderBg:Ce}=J;return{[H]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:V,"&, *":{boxSizing:"border-box"},[`&${H}-has-sider`]:{flexDirection:"row",[`> ${H}, > ${H}-content`]:{width:0}},[`${H}-header, &${H}-footer`]:{flex:"0 0 auto"},[`${H}-sider`]:{position:"relative",minWidth:0,background:Ce,transition:`all ${l}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ge}-menu${ge}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:r},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:r,color:q,lineHeight:`${r}px`,textAlign:"center",background:ce,cursor:"pointer",transition:`all ${l}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:A,insetInlineEnd:-O,zIndex:1,width:O,height:h,color:q,fontSize:J.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ce,borderStartStartRadius:0,borderStartEndRadius:K,borderEndEndRadius:K,borderEndStartRadius:0,cursor:"pointer",transition:`background ${C} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${C}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-O,borderStartStartRadius:K,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:K}}}}},L(J)),{"&-rtl":{direction:"rtl"}}),[`${H}-header`]:{height:A,padding:v,color:d,lineHeight:`${A}px`,background:ne,[`${ge}-menu`]:{lineHeight:"inherit"}},[`${H}-footer`]:{padding:p,color:M,fontSize:G,background:Q},[`${H}-content`]:{flex:"auto",minHeight:0}}};var U=(0,Z.Z)("Layout",J=>[z(J)],J=>{const{colorBgLayout:ge,controlHeight:H,controlHeightLG:M,colorText:q,controlHeightSM:Q,marginXXS:ce,colorTextLightSolid:A,colorBgContainer:v}=J,d=M*1.25;return{colorBgHeader:"#001529",colorBgBody:ge,colorBgTrigger:"#002140",bodyBg:ge,headerBg:"#001529",headerHeight:H*2,headerPadding:`0 ${d}px`,headerColor:q,footerPadding:`${Q}px ${d}px`,footerBg:ge,siderBg:"#001529",triggerHeight:M+ce*2,triggerBg:"#002140",triggerColor:A,zeroTriggerWidth:M,zeroTriggerHeight:M,lightSiderBg:v,lightTriggerBg:v,lightTriggerColor:q}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),x=function(J,ge){var H={};for(var M in J)Object.prototype.hasOwnProperty.call(J,M)&&ge.indexOf(M)<0&&(H[M]=J[M]);if(J!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,M=Object.getOwnPropertySymbols(J);q<M.length;q++)ge.indexOf(M[q])<0&&Object.prototype.propertyIsEnumerable.call(J,M[q])&&(H[M[q]]=J[M[q]]);return H};const o=g.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function b(J){let{suffixCls:ge,tagName:H,displayName:M}=J;return q=>g.forwardRef((ce,A)=>g.createElement(q,Object.assign({ref:A,suffixCls:ge,tagName:H},ce)))}const te=g.forwardRef((J,ge)=>{const{prefixCls:H,suffixCls:M,className:q,tagName:Q}=J,ce=x(J,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:A}=g.useContext(D.E_),v=A("layout",H),[d,p]=U(v),r=M?`${v}-${M}`:v;return d(g.createElement(Q,Object.assign({className:N()(H||r,q,p),ref:ge},ce)))}),ie=g.forwardRef((J,ge)=>{const{direction:H}=g.useContext(D.E_),[M,q]=g.useState([]),{prefixCls:Q,className:ce,rootClassName:A,children:v,hasSider:d,tagName:p,style:r}=J,h=x(J,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),O=(0,k.Z)(h,["suffixCls"]),{getPrefixCls:l,layout:C}=g.useContext(D.E_),G=l("layout",Q),[K,V]=U(G),ne=N()(G,{[`${G}-has-sider`]:typeof d=="boolean"?d:M.length>0,[`${G}-rtl`]:H==="rtl"},C==null?void 0:C.className,ce,A,V),Ce=g.useMemo(()=>({siderHook:{addSider:le=>{q($e=>[].concat((0,u.Z)($e),[le]))},removeSider:le=>{q($e=>$e.filter(Pe=>Pe!==le))}}}),[]);return K(g.createElement(o.Provider,{value:Ce},g.createElement(p,Object.assign({ref:ge,className:ne,style:Object.assign(Object.assign({},C==null?void 0:C.style),r)},O),v)))}),ve=b({tagName:"div",displayName:"Layout"})(ie),w=b({suffixCls:"header",tagName:"header",displayName:"Header"})(te),W=b({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(te),me=b({suffixCls:"content",tagName:"main",displayName:"Content"})(te);var Ne=ve},40875:function(rt,oe,t){t.d(oe,{J:function(){return D}});var u=t(59301),i=t(33234),N=t(70425),k=function(Z,I){var L={};for(var z in Z)Object.prototype.hasOwnProperty.call(Z,z)&&I.indexOf(z)<0&&(L[z]=Z[z]);if(Z!=null&&typeof Object.getOwnPropertySymbols=="function")for(var U=0,z=Object.getOwnPropertySymbols(Z);U<z.length;U++)I.indexOf(z[U])<0&&Object.prototype.propertyIsEnumerable.call(Z,z[U])&&(L[z[U]]=Z[z[U]]);return L};const g=u.createContext(null),D=u.forwardRef((Z,I)=>{const{children:L}=Z,z=k(Z,["children"]),U=u.useContext(g),x=u.useMemo(()=>Object.assign(Object.assign({},U),z),[U,z.prefixCls,z.mode,z.selectable]);return u.createElement(g.Provider,{value:x},u.createElement(i.BR,null,(0,N.supportNodeRef)(L)?u.cloneElement(L,{ref:I}):L))});oe.Z=g},20834:function(rt,oe,t){t.d(oe,{default:function(){return Ke}});var u=t(15285),i=t(59301),N=t(45818),k=t(92310),g=t.n(k),D=t(36355),Z=function(n,a){var e={};for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&a.indexOf(s)<0&&(e[s]=n[s]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,s=Object.getOwnPropertySymbols(n);m<s.length;m++)a.indexOf(s[m])<0&&Object.prototype.propertyIsEnumerable.call(n,s[m])&&(e[s[m]]=n[s[m]]);return e},L=n=>{const{prefixCls:a,className:e,dashed:s}=n,m=Z(n,["prefixCls","className","dashed"]),{getPrefixCls:S}=i.useContext(D.E_),P=S("menu",a),T=g()({[`${P}-item-divider-dashed`]:!!s},e);return i.createElement(u.iz,Object.assign({className:T},m))},z=t(11592),U=t(2738),x=t(6848),o=t(92343),te=(0,i.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),ve=n=>{var a;const{className:e,children:s,icon:m,title:S,danger:P}=n,{prefixCls:T,firstLevel:j,direction:X,disableMenuItemTitleTooltip:F,inlineCollapsed:_}=i.useContext(te),pe=we=>{const Oe=i.createElement("span",{className:`${T}-title-content`},s);return(!m||(0,o.l$)(s)&&s.type==="span")&&s&&we&&j&&typeof s=="string"?i.createElement("div",{className:`${T}-inline-collapsed-noicon`},s.charAt(0)):Oe},{siderCollapsed:re}=i.useContext(N.D);let be=S;typeof S=="undefined"?be=j?s:"":S===!1&&(be="");const ue={title:be};!re&&!_&&(ue.title=null,ue.open=!1);const se=(0,z.Z)(s).length;let de=i.createElement(u.ck,Object.assign({},(0,U.Z)(n,["title","icon","danger"]),{className:g()({[`${T}-item-danger`]:P,[`${T}-item-only-child`]:(m?se+1:se)===1},e),title:typeof S=="string"?S:void 0}),(0,o.Tm)(m,{className:g()((0,o.l$)(m)?(a=m.props)===null||a===void 0?void 0:a.className:"",`${T}-item-icon`)}),pe(_));return F||(de=i.createElement(x.Z,Object.assign({},ue,{placement:X==="rtl"?"left":"right",overlayClassName:`${T}-inline-collapsed-tooltip`}),de)),de},W=n=>{var a;const{popupClassName:e,icon:s,title:m,theme:S}=n,P=i.useContext(te),{prefixCls:T,inlineCollapsed:j,theme:X}=P,F=(0,u.Xl)();let _;if(!s)_=j&&!F.length&&m&&typeof m=="string"?i.createElement("div",{className:`${T}-inline-collapsed-noicon`},m.charAt(0)):i.createElement("span",{className:`${T}-title-content`},m);else{const re=(0,o.l$)(m)&&m.type==="span";_=i.createElement(i.Fragment,null,(0,o.Tm)(s,{className:g()((0,o.l$)(s)?(a=s.props)===null||a===void 0?void 0:a.className:"",`${T}-item-icon`)}),re?m:i.createElement("span",{className:`${T}-title-content`},m))}const pe=i.useMemo(()=>Object.assign(Object.assign({},P),{firstLevel:!1}),[P]);return i.createElement(te.Provider,{value:pe},i.createElement(u.Wd,Object.assign({},(0,U.Z)(n,["icon"]),{title:_,popupClassName:g()(T,e,`${T}-${S||X}`)})))},me=t(18785),Ne=t(70425),J=t(62892),ge=t(40875),H=function(n,a){var e={};for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&a.indexOf(s)<0&&(e[s]=n[s]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,s=Object.getOwnPropertySymbols(n);m<s.length;m++)a.indexOf(s[m])<0&&Object.prototype.propertyIsEnumerable.call(n,s[m])&&(e[s[m]]=n[s[m]]);return e};function M(n){return(n||[]).map((a,e)=>{if(a&&typeof a=="object"){const s=a,{label:m,children:S,key:P,type:T}=s,j=H(s,["label","children","key","type"]),X=P!=null?P:`tmp-${e}`;return S||T==="group"?T==="group"?i.createElement(u.BW,Object.assign({key:X},j,{title:m}),M(S)):i.createElement(W,Object.assign({key:X},j,{title:m}),M(S)):T==="divider"?i.createElement(L,Object.assign({key:X},j)):i.createElement(ve,Object.assign({key:X},j),m)}return null}).filter(a=>a)}function q(n){return i.useMemo(()=>n&&M(n),[n])}var Q=t(64993),ce=t(17313),A=t(8378),v=t(13826),d=t(29878),p=t(83116),r=t(37613),O=n=>{const{componentCls:a,motionDurationSlow:e,horizontalLineHeight:s,colorSplit:m,lineWidth:S,lineType:P,itemPaddingInline:T}=n;return{[`${a}-horizontal`]:{lineHeight:s,border:0,borderBottom:`${S}px ${P} ${m}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${a}-item, ${a}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:T},[`> ${a}-item:hover,
> ${a}-item-active,
> ${a}-submenu ${a}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${a}-item, ${a}-submenu-title`]:{transition:[`border-color ${e}`,`background ${e}`].join(",")},[`${a}-submenu-arrow`]:{display:"none"}}}},C=n=>{let{componentCls:a,menuArrowOffset:e}=n;return{[`${a}-rtl`]:{direction:"rtl"},[`${a}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${a}-rtl${a}-vertical,
${a}-submenu-rtl ${a}-vertical`]:{[`${a}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${e})`},"&::after":{transform:`rotate(45deg) translateY(${e})`}}}}};const G=n=>Object.assign({},(0,ce.oN)(n));var V=(n,a)=>{const{componentCls:e,itemColor:s,itemSelectedColor:m,groupTitleColor:S,itemBg:P,subMenuItemBg:T,itemSelectedBg:j,activeBarHeight:X,activeBarWidth:F,activeBarBorderWidth:_,motionDurationSlow:pe,motionEaseInOut:re,motionEaseOut:be,itemPaddingInline:ue,motionDurationMid:se,itemHoverColor:de,lineType:we,colorSplit:Oe,itemDisabledColor:Y,dangerItemColor:nt,dangerItemHoverColor:_e,dangerItemSelectedColor:Je,dangerItemActiveBg:De,dangerItemSelectedBg:dt,itemHoverBg:ct,itemActiveBg:ft,menuSubMenuBg:At,horizontalItemSelectedColor:St,horizontalItemSelectedBg:Le,horizontalItemBorderRadius:We,horizontalItemHoverBg:ze,popupBg:mt}=n;return{[`${e}-${a}, ${e}-${a} > ${e}`]:{color:s,background:P,[`&${e}-root:focus-visible`]:Object.assign({},G(n)),[`${e}-item-group-title`]:{color:S},[`${e}-submenu-selected`]:{[`> ${e}-submenu-title`]:{color:m}},[`${e}-item-disabled, ${e}-submenu-disabled`]:{color:`${Y} !important`},[`${e}-item:not(${e}-item-selected):not(${e}-submenu-selected)`]:{[`&:hover, > ${e}-submenu-title:hover`]:{color:de}},[`&:not(${e}-horizontal)`]:{[`${e}-item:not(${e}-item-selected)`]:{"&:hover":{backgroundColor:ct},"&:active":{backgroundColor:ft}},[`${e}-submenu-title`]:{"&:hover":{backgroundColor:ct},"&:active":{backgroundColor:ft}}},[`${e}-item-danger`]:{color:nt,[`&${e}-item:hover`]:{[`&:not(${e}-item-selected):not(${e}-submenu-selected)`]:{color:_e}},[`&${e}-item:active`]:{background:De}},[`${e}-item a`]:{"&, &:hover":{color:"inherit"}},[`${e}-item-selected`]:{color:m,[`&${e}-item-danger`]:{color:Je},"a, a:hover":{color:"inherit"}},[`& ${e}-item-selected`]:{backgroundColor:j,[`&${e}-item-danger`]:{backgroundColor:dt}},[`${e}-item, ${e}-submenu-title`]:{[`&:not(${e}-item-disabled):focus-visible`]:Object.assign({},G(n))},[`&${e}-submenu > ${e}`]:{backgroundColor:At},[`&${e}-popup > ${e}`]:{backgroundColor:mt},[`&${e}-horizontal`]:Object.assign(Object.assign({},a==="dark"?{borderBottom:0}:{}),{[`> ${e}-item, > ${e}-submenu`]:{top:_,marginTop:-_,marginBottom:0,borderRadius:We,"&::after":{position:"absolute",insetInline:ue,bottom:0,borderBottom:`${X}px solid transparent`,transition:`border-color ${pe} ${re}`,content:'""'},"&:hover, &-active, &-open":{background:ze,"&::after":{borderBottomWidth:X,borderBottomColor:St}},"&-selected":{color:St,backgroundColor:Le,"&:hover":{backgroundColor:Le},"&::after":{borderBottomWidth:X,borderBottomColor:St}}}}),[`&${e}-root`]:{[`&${e}-inline, &${e}-vertical`]:{borderInlineEnd:`${_}px ${we} ${Oe}`}},[`&${e}-inline`]:{[`${e}-sub${e}-inline`]:{background:T},[`${e}-item, ${e}-submenu-title`]:_&&F?{width:`calc(100% + ${_}px)`}:{},[`${e}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${F}px solid ${m}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${se} ${be}`,`opacity ${se} ${be}`].join(","),content:'""'},[`&${e}-item-danger`]:{"&::after":{borderInlineEndColor:Je}}},[`${e}-selected, ${e}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${se} ${re}`,`opacity ${se} ${re}`].join(",")}}}}}};const ne=n=>{const{componentCls:a,itemHeight:e,itemMarginInline:s,padding:m,menuArrowSize:S,marginXS:P,itemMarginBlock:T}=n,j=m+S+P;return{[`${a}-item`]:{position:"relative",overflow:"hidden"},[`${a}-item, ${a}-submenu-title`]:{height:e,lineHeight:`${e}px`,paddingInline:m,overflow:"hidden",textOverflow:"ellipsis",marginInline:s,marginBlock:T,width:`calc(100% - ${s*2}px)`},[`> ${a}-item,
> ${a}-submenu > ${a}-submenu-title`]:{height:e,lineHeight:`${e}px`},[`${a}-item-group-list ${a}-submenu-title,
${a}-submenu-title`]:{paddingInlineEnd:j}}};var le=n=>{const{componentCls:a,iconCls:e,itemHeight:s,colorTextLightSolid:m,dropdownWidth:S,controlHeightLG:P,motionDurationMid:T,motionEaseOut:j,paddingXL:X,itemMarginInline:F,fontSizeLG:_,motionDurationSlow:pe,paddingXS:re,boxShadowSecondary:be,collapsedWidth:ue,collapsedIconSize:se}=n,de={height:s,lineHeight:`${s}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[a]:{"&-inline, &-vertical":Object.assign({[`&${a}-root`]:{boxShadow:"none"}},ne(n))},[`${a}-submenu-popup`]:{[`${a}-vertical`]:Object.assign(Object.assign({},ne(n)),{boxShadow:be})}},{[`${a}-submenu-popup ${a}-vertical${a}-sub`]:{minWidth:S,maxHeight:`calc(100vh - ${P*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${a}-inline`]:{width:"100%",[`&${a}-root`]:{[`${a}-item, ${a}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${pe}`,`background ${pe}`,`padding ${T} ${j}`].join(","),[`> ${a}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${a}-sub${a}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${a}-submenu > ${a}-submenu-title`]:de,[`& ${a}-item-group-title`]:{paddingInlineStart:X}},[`${a}-item`]:de}},{[`${a}-inline-collapsed`]:{width:ue,[`&${a}-root`]:{[`${a}-item, ${a}-submenu ${a}-submenu-title`]:{[`> ${a}-inline-collapsed-noicon`]:{fontSize:_,textAlign:"center"}}},[`> ${a}-item,
> ${a}-item-group > ${a}-item-group-list > ${a}-item,
> ${a}-item-group > ${a}-item-group-list > ${a}-submenu > ${a}-submenu-title,
> ${a}-submenu > ${a}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${_/2}px - ${F}px)`,textOverflow:"clip",[`
${a}-submenu-arrow,
${a}-submenu-expand-icon
`]:{opacity:0},[`${a}-item-icon, ${e}`]:{margin:0,fontSize:se,lineHeight:`${s}px`,"+ span":{display:"inline-block",opacity:0}}},[`${a}-item-icon, ${e}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${a}-item-icon, ${e}`]:{display:"none"},"a, a:hover":{color:m}},[`${a}-item-group-title`]:Object.assign(Object.assign({},ce.vS),{paddingInline:re})}}]};const $e=n=>{const{componentCls:a,motionDurationSlow:e,motionDurationMid:s,motionEaseInOut:m,motionEaseOut:S,iconCls:P,iconSize:T,iconMarginInlineEnd:j}=n;return{[`${a}-item, ${a}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${e}`,`background ${e}`,`padding ${e} ${m}`].join(","),[`${a}-item-icon, ${P}`]:{minWidth:T,fontSize:T,transition:[`font-size ${s} ${S}`,`margin ${e} ${m}`,`color ${e}`].join(","),"+ span":{marginInlineStart:j,opacity:1,transition:[`opacity ${e} ${m}`,`margin ${e}`,`color ${e}`].join(",")}},[`${a}-item-icon`]:Object.assign({},(0,ce.Ro)()),[`&${a}-item-only-child`]:{[`> ${P}, > ${a}-item-icon`]:{marginInlineEnd:0}}},[`${a}-item-disabled, ${a}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${a}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Pe=n=>{const{componentCls:a,motionDurationSlow:e,motionEaseInOut:s,borderRadius:m,menuArrowSize:S,menuArrowOffset:P}=n;return{[`${a}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:n.margin,width:S,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${e} ${s}, opacity ${e}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:S*.6,height:S*.15,backgroundColor:"currentcolor",borderRadius:m,transition:[`background ${e} ${s}`,`transform ${e} ${s}`,`top ${e} ${s}`,`color ${e} ${s}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${P})`},"&::after":{transform:`rotate(-45deg) translateY(${P})`}}}}},ke=n=>{const{antCls:a,componentCls:e,fontSize:s,motionDurationSlow:m,motionDurationMid:S,motionEaseInOut:P,paddingXS:T,padding:j,colorSplit:X,lineWidth:F,zIndexPopup:_,borderRadiusLG:pe,subMenuItemBorderRadius:re,menuArrowSize:be,menuArrowOffset:ue,lineType:se,menuPanelMaskInset:de,groupTitleLineHeight:we,groupTitleFontSize:Oe}=n;return[{"":{[`${e}`]:Object.assign(Object.assign({},(0,ce.dF)()),{"&-hidden":{display:"none"}})},[`${e}-submenu-hidden`]:{display:"none"}},{[e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ce.Wf)(n)),(0,ce.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:s,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${m} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${e}-item`]:{flex:"none"}},[`${e}-item, ${e}-submenu, ${e}-submenu-title`]:{borderRadius:n.itemBorderRadius},[`${e}-item-group-title`]:{padding:`${T}px ${j}px`,fontSize:Oe,lineHeight:we,transition:`all ${m}`},[`&-horizontal ${e}-submenu`]:{transition:[`border-color ${m} ${P}`,`background ${m} ${P}`].join(",")},[`${e}-submenu, ${e}-submenu-inline`]:{transition:[`border-color ${m} ${P}`,`background ${m} ${P}`,`padding ${S} ${P}`].join(",")},[`${e}-submenu ${e}-sub`]:{cursor:"initial",transition:[`background ${m} ${P}`,`padding ${m} ${P}`].join(",")},[`${e}-title-content`]:{transition:`color ${m}`},[`${e}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${e}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:X,borderStyle:se,borderWidth:0,borderTopWidth:F,marginBlock:F,padding:0,"&-dashed":{borderStyle:"dashed"}}}),$e(n)),{[`${e}-item-group`]:{[`${e}-item-group-list`]:{margin:0,padding:0,[`${e}-item, ${e}-submenu-title`]:{paddingInline:`${s*2}px ${j}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:_,borderRadius:pe,boxShadow:"none",transformOrigin:"0 0",[`&${e}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${de}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:de},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:n.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:n.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:n.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:n.paddingXS},[`> ${e}`]:Object.assign(Object.assign(Object.assign({borderRadius:pe},$e(n)),Pe(n)),{[`${e}-item, ${e}-submenu > ${e}-submenu-title`]:{borderRadius:re},[`${e}-submenu-title::after`]:{transition:`transform ${m} ${P}`}})}}),Pe(n)),{[`&-inline-collapsed ${e}-submenu-arrow,
&-inline ${e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${ue})`},"&::after":{transform:`rotate(45deg) translateX(-${ue})`}},[`${e}-submenu-open${e}-submenu-inline > ${e}-submenu-title > ${e}-submenu-arrow`]:{transform:`translateY(-${be*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${ue})`},"&::before":{transform:`rotate(45deg) translateX(${ue})`}}})},{[`${a}-layout-header`]:{[e]:{lineHeight:"inherit"}}}]};var Me=(n,a)=>(0,p.Z)("Menu",s=>{if(a===!1)return[];const{colorBgElevated:m,colorPrimary:S,colorTextLightSolid:P,controlHeightLG:T,fontSize:j,darkItemColor:X,darkDangerItemColor:F,darkItemBg:_,darkSubMenuItemBg:pe,darkItemSelectedColor:re,darkItemSelectedBg:be,darkDangerItemSelectedBg:ue,darkItemHoverBg:se,darkGroupTitleColor:de,darkItemHoverColor:we,darkItemDisabledColor:Oe,darkDangerItemHoverColor:Y,darkDangerItemSelectedColor:nt,darkDangerItemActiveBg:_e}=s,Je=j/7*5,De=(0,r.TS)(s,{menuArrowSize:Je,menuHorizontalHeight:T*1.15,menuArrowOffset:`${Je*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:m}),dt=(0,r.TS)(De,{itemColor:X,itemHoverColor:we,groupTitleColor:de,itemSelectedColor:re,itemBg:_,popupBg:_,subMenuItemBg:pe,itemActiveBg:"transparent",itemSelectedBg:be,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:se,itemDisabledColor:Oe,dangerItemColor:F,dangerItemHoverColor:Y,dangerItemSelectedColor:nt,dangerItemActiveBg:_e,dangerItemSelectedBg:ue,menuSubMenuBg:pe,horizontalItemSelectedColor:P,horizontalItemSelectedBg:S});return[ke(De),O(De),le(De),V(De,"light"),V(dt,"dark"),C(De),(0,A.Z)(De),(0,v.oN)(De,"slide-up"),(0,v.oN)(De,"slide-down"),(0,d._y)(De,"zoom-big")]},s=>{const{colorPrimary:m,colorError:S,colorTextDisabled:P,colorErrorBg:T,colorText:j,colorTextDescription:X,colorBgContainer:F,colorFillAlter:_,colorFillContent:pe,lineWidth:re,lineWidthBold:be,controlItemBgActive:ue,colorBgTextHover:se,controlHeightLG:de,lineHeight:we,colorBgElevated:Oe,marginXXS:Y,padding:nt,fontSize:_e,controlHeightSM:Je,fontSizeLG:De,colorTextLightSolid:dt,colorErrorHover:ct}=s,ft=new Q.C(dt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:s.zIndexPopupBase+50,radiusItem:s.borderRadiusLG,itemBorderRadius:s.borderRadiusLG,radiusSubMenuItem:s.borderRadiusSM,subMenuItemBorderRadius:s.borderRadiusSM,colorItemText:j,itemColor:j,colorItemTextHover:j,itemHoverColor:j,colorItemTextHoverHorizontal:m,horizontalItemHoverColor:m,colorGroupTitle:X,groupTitleColor:X,colorItemTextSelected:m,itemSelectedColor:m,colorItemTextSelectedHorizontal:m,horizontalItemSelectedColor:m,colorItemBg:F,itemBg:F,colorItemBgHover:se,itemHoverBg:se,colorItemBgActive:pe,itemActiveBg:ue,colorSubItemBg:_,subMenuItemBg:_,colorItemBgSelected:ue,itemSelectedBg:ue,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:be,activeBarHeight:be,colorActiveBarBorderSize:re,activeBarBorderWidth:re,colorItemTextDisabled:P,itemDisabledColor:P,colorDangerItemText:S,dangerItemColor:S,colorDangerItemTextHover:S,dangerItemHoverColor:S,colorDangerItemTextSelected:S,dangerItemSelectedColor:S,colorDangerItemBgActive:T,dangerItemActiveBg:T,colorDangerItemBgSelected:T,dangerItemSelectedBg:T,itemMarginInline:s.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:de,groupTitleLineHeight:we,collapsedWidth:de*2,popupBg:Oe,itemMarginBlock:Y,itemPaddingInline:nt,horizontalLineHeight:`${de*1.15}px`,iconSize:_e,iconMarginInlineEnd:Je-_e,collapsedIconSize:De,groupTitleFontSize:_e,darkItemDisabledColor:new Q.C(dt).setAlpha(.25).toRgbString(),darkItemColor:ft,darkDangerItemColor:S,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:dt,darkItemSelectedBg:m,darkDangerItemSelectedBg:S,darkItemHoverBg:"transparent",darkGroupTitleColor:ft,darkItemHoverColor:dt,darkDangerItemHoverColor:ct,darkDangerItemSelectedColor:dt,darkDangerItemActiveBg:S}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(n),Ie=function(n,a){var e={};for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&a.indexOf(s)<0&&(e[s]=n[s]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,s=Object.getOwnPropertySymbols(n);m<s.length;m++)a.indexOf(s[m])<0&&Object.prototype.propertyIsEnumerable.call(n,s[m])&&(e[s[m]]=n[s[m]]);return e},Ae=(0,i.forwardRef)((n,a)=>{var e,s;const m=i.useContext(ge.Z),S=m||{},{getPrefixCls:P,getPopupContainer:T,direction:j,menu:X}=i.useContext(D.E_),F=P(),{prefixCls:_,className:pe,style:re,theme:be="light",expandIcon:ue,_internalDisableMenuItemTitleTooltip:se,inlineCollapsed:de,siderCollapsed:we,items:Oe,children:Y,rootClassName:nt,mode:_e,selectable:Je,onClick:De,overflowedIndicatorPopupClassName:dt}=n,ct=Ie(n,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),ft=(0,U.Z)(ct,["collapsedWidth"]),At=q(Oe)||Y;(e=S.validator)===null||e===void 0||e.call(S,{mode:_e});const St=(0,Ne.useEvent)(function(){var jt;De==null||De.apply(void 0,arguments),(jt=S.onClick)===null||jt===void 0||jt.call(S)}),Le=S.mode||_e,We=Je!=null?Je:S.selectable,ze=i.useMemo(()=>we!==void 0?we:de,[de,we]),mt={horizontal:{motionName:`${F}-slide-up`},inline:(0,J.Z)(F),other:{motionName:`${F}-zoom-big`}},Re=P("menu",_||S.prefixCls),[It,ot]=Me(Re,!m),Ot=g()(`${Re}-${be}`,X==null?void 0:X.className,pe);let Tt;if(typeof ue=="function")Tt=ue;else if(ue===null||ue===!1)Tt=null;else if(S.expandIcon===null||S.expandIcon===!1)Tt=null;else{const jt=ue!=null?ue:S.expandIcon;Tt=(0,o.Tm)(jt,{className:g()(`${Re}-submenu-expand-icon`,(0,o.l$)(jt)?(s=jt.props)===null||s===void 0?void 0:s.className:"")})}const ut=i.useMemo(()=>({prefixCls:Re,inlineCollapsed:ze||!1,direction:j,firstLevel:!0,theme:be,mode:Le,disableMenuItemTitleTooltip:se}),[Re,ze,j,se,be]);return It(i.createElement(ge.Z.Provider,{value:null},i.createElement(te.Provider,{value:ut},i.createElement(u.ZP,Object.assign({getPopupContainer:T,overflowedIndicator:i.createElement(me.Z,null),overflowedIndicatorPopupClassName:g()(Re,`${Re}-${be}`,dt),mode:Le,selectable:We,onClick:St},ft,{inlineCollapsed:ze,style:Object.assign(Object.assign({},X==null?void 0:X.style),re),className:Ot,prefixCls:Re,direction:j,defaultMotions:mt,expandIcon:Tt,ref:a,rootClassName:g()(nt,ot)}),At))))});const Ue=(0,i.forwardRef)((n,a)=>{const e=(0,i.useRef)(null),s=i.useContext(N.D);return(0,i.useImperativeHandle)(a,()=>({menu:e.current,focus:m=>{var S;(S=e.current)===null||S===void 0||S.focus(m)}})),i.createElement(Ae,Object.assign({ref:e},n,s))});Ue.Item=ve,Ue.SubMenu=W,Ue.Divider=L,Ue.ItemGroup=u.BW;var Ke=Ue},8378:function(rt,oe){const t=u=>({[u.componentCls]:{[`${u.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${u.motionDurationMid} ${u.motionEaseInOut},
opacity ${u.motionDurationMid} ${u.motionEaseInOut} !important`}},[`${u.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${u.motionDurationMid} ${u.motionEaseInOut},
opacity ${u.motionDurationMid} ${u.motionEaseInOut} !important`}}});oe.Z=t},92899:function(rt,oe,t){t.d(oe,{Fm:function(){return x}});var u=t(93083),i=t(95406);const N=new u.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),k=new u.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),g=new u.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),D=new u.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Z=new u.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),I=new u.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),L=new u.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),z=new u.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),U={"move-up":{inKeyframes:L,outKeyframes:z},"move-down":{inKeyframes:N,outKeyframes:k},"move-left":{inKeyframes:g,outKeyframes:D},"move-right":{inKeyframes:Z,outKeyframes:I}},x=(o,b)=>{const{antCls:te}=o,ie=`${te}-${b}`,{inKeyframes:ve,outKeyframes:w}=U[b];return[(0,i.R)(ie,ve,w,o.motionDurationMid),{[`
${ie}-enter,
${ie}-appear
`]:{opacity:0,animationTimingFunction:o.motionEaseOutCirc},[`${ie}-leave`]:{animationTimingFunction:o.motionEaseInOutCirc}}]}},13826:function(rt,oe,t){t.d(oe,{Qt:function(){return g},Uw:function(){return k},fJ:function(){return N},ly:function(){return D},oN:function(){return x}});var u=t(93083),i=t(95406);const N=new u.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),k=new u.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),g=new u.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),D=new u.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),Z=new u.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),I=new u.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),L=new u.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),z=new u.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),U={"slide-up":{inKeyframes:N,outKeyframes:k},"slide-down":{inKeyframes:g,outKeyframes:D},"slide-left":{inKeyframes:Z,outKeyframes:I},"slide-right":{inKeyframes:L,outKeyframes:z}},x=(o,b)=>{const{antCls:te}=o,ie=`${te}-${b}`,{inKeyframes:ve,outKeyframes:w}=U[b];return[(0,i.R)(ie,ve,w,o.motionDurationMid),{[`
${ie}-enter,
${ie}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:o.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${ie}-leave`]:{animationTimingFunction:o.motionEaseInQuint}}]}},19447:function(rt,oe,t){t.d(oe,{ZP:function(){return g},fS:function(){return N},qN:function(){return i}});var u=t(47585);const i=8;function N(D){const Z=i,{contentRadius:I,limitVerticalRadius:L}=D,z=I>12?I+2:12;return{dropdownArrowOffset:z,dropdownArrowOffsetVertical:L?Z:z}}function k(D,Z){return D?Z:{}}function g(D,Z){const{componentCls:I,sizePopupArrow:L,borderRadiusXS:z,borderRadiusOuter:U,boxShadowPopoverArrow:x}=D,{colorBg:o,contentRadius:b=D.borderRadiusLG,limitVerticalRadius:te,arrowDistance:ie=0,arrowPlacement:ve={left:!0,right:!0,top:!0,bottom:!0}}=Z,{dropdownArrowOffsetVertical:w,dropdownArrowOffset:W}=N({contentRadius:b,limitVerticalRadius:te});return{[I]:Object.assign(Object.assign(Object.assign(Object.assign({[`${I}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,u.r)(L,z,U,o,x)),{"&:before":{background:o}})]},k(!!ve.top,{[[`&-placement-top ${I}-arrow`,`&-placement-topLeft ${I}-arrow`,`&-placement-topRight ${I}-arrow`].join(",")]:{bottom:ie,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${I}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${I}-arrow`]:{left:{_skip_check_:!0,value:W}},[`&-placement-topRight ${I}-arrow`]:{right:{_skip_check_:!0,value:W}}})),k(!!ve.bottom,{[[`&-placement-bottom ${I}-arrow`,`&-placement-bottomLeft ${I}-arrow`,`&-placement-bottomRight ${I}-arrow`].join(",")]:{top:ie,transform:"translateY(-100%)"},[`&-placement-bottom ${I}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${I}-arrow`]:{left:{_skip_check_:!0,value:W}},[`&-placement-bottomRight ${I}-arrow`]:{right:{_skip_check_:!0,value:W}}})),k(!!ve.left,{[[`&-placement-left ${I}-arrow`,`&-placement-leftTop ${I}-arrow`,`&-placement-leftBottom ${I}-arrow`].join(",")]:{right:{_skip_check_:!0,value:ie},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${I}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${I}-arrow`]:{top:w},[`&-placement-leftBottom ${I}-arrow`]:{bottom:w}})),k(!!ve.right,{[[`&-placement-right ${I}-arrow`,`&-placement-rightTop ${I}-arrow`,`&-placement-rightBottom ${I}-arrow`].join(",")]:{left:{_skip_check_:!0,value:ie},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${I}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${I}-arrow`]:{top:w},[`&-placement-rightBottom ${I}-arrow`]:{bottom:w}}))}}},47585:function(rt,oe,t){t.d(oe,{r:function(){return u}});const u=(i,N,k,g,D)=>{const Z=i/2,I=0,L=Z,z=k*1/Math.sqrt(2),U=Z-k*(1-1/Math.sqrt(2)),x=Z-N*(1/Math.sqrt(2)),o=k*(Math.sqrt(2)-1)+N*(1/Math.sqrt(2)),b=2*Z-x,te=o,ie=2*Z-z,ve=U,w=2*Z-I,W=L,me=Z*Math.sqrt(2)+k*(Math.sqrt(2)-2),Ne=k*(Math.sqrt(2)-1);return{pointerEvents:"none",width:i,height:i,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:i,height:i/2,background:g,clipPath:{_multi_value_:!0,value:[`polygon(${Ne}px 100%, 50% ${Ne}px, ${2*Z-Ne}px 100%, ${Ne}px 100%)`,`path('M ${I} ${L} A ${k} ${k} 0 0 0 ${z} ${U} L ${x} ${o} A ${N} ${N} 0 0 1 ${b} ${te} L ${ie} ${ve} A ${k} ${k} 0 0 0 ${w} ${W} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:me,height:me,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${N}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:D,zIndex:0,background:"transparent"}}}},33166:function(rt,oe,t){t.d(oe,{i:function(){return u}});const u=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},45157:function(rt,oe,t){t.d(oe,{Z:function(){return i}});var u=t(33166);function i(N,k){return u.i.reduce((g,D)=>{const Z=N[`${D}1`],I=N[`${D}3`],L=N[`${D}6`],z=N[`${D}7`];return Object.assign(Object.assign({},g),k(D,{lightColor:Z,lightBorderColor:I,darkColor:L,textColor:z}))},{})}},6848:function(rt,oe,t){t.d(oe,{Z:function(){return ce}});var u=t(59301),i=t(92310),N=t.n(i),k=t(55477),g=t(18929),D=t(62892),Z=t(79676),I=t(92343),L=t(36355),z=t(33234),U=t(88088),x=t(17313),o=t(29878),b=t(19447),te=t(45157),ie=t(37613),ve=t(83116);const w=A=>{const{componentCls:v,tooltipMaxWidth:d,tooltipColor:p,tooltipBg:r,tooltipBorderRadius:h,zIndexPopup:O,controlHeight:l,boxShadowSecondary:C,paddingSM:G,paddingXS:K,tooltipRadiusOuter:V}=A;return[{[v]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,x.Wf)(A)),{position:"absolute",zIndex:O,display:"block",width:"max-content",maxWidth:d,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":r,[`${v}-inner`]:{minWidth:l,minHeight:l,padding:`${G/2}px ${K}px`,color:p,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:r,borderRadius:h,boxShadow:C,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${v}-inner`]:{borderRadius:Math.min(h,b.qN)}},[`${v}-content`]:{position:"relative"}}),(0,te.Z)(A,(ne,Ce)=>{let{darkColor:le}=Ce;return{[`&${v}-${ne}`]:{[`${v}-inner`]:{backgroundColor:le},[`${v}-arrow`]:{"--antd-arrow-background-color":le}}}})),{"&-rtl":{direction:"rtl"}})},(0,b.ZP)((0,ie.TS)(A,{borderRadiusOuter:V}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:h,limitVerticalRadius:!0}),{[`${v}-pure`]:{position:"relative",maxWidth:"none",margin:A.sizePopupArrow}}]};var W=(A,v)=>(0,ve.Z)("Tooltip",p=>{if(v===!1)return[];const{borderRadius:r,colorTextLightSolid:h,colorBgDefault:O,borderRadiusOuter:l}=p,C=(0,ie.TS)(p,{tooltipMaxWidth:250,tooltipColor:h,tooltipBorderRadius:r,tooltipBg:O,tooltipRadiusOuter:l>4?4:l});return[w(C),(0,o._y)(p,"zoom-big-fast")]},p=>{let{zIndexPopupBase:r,colorBgSpotlight:h}=p;return{zIndexPopup:r+70,colorBgDefault:h}},{resetStyle:!1})(A),me=t(36785);function Ne(A,v){const d=(0,me.o2)(v),p=N()({[`${A}-${v}`]:v&&d}),r={},h={};return v&&!d&&(r.background=v,h["--antd-arrow-background-color"]=v),{className:p,overlayStyle:r,arrowStyle:h}}var ge=A=>{const{prefixCls:v,className:d,placement:p="top",title:r,color:h,overlayInnerStyle:O}=A,{getPrefixCls:l}=u.useContext(L.E_),C=l("tooltip",v),[G,K]=W(C,!0),V=Ne(C,h),ne=V.arrowStyle,Ce=Object.assign(Object.assign({},O),V.overlayStyle),le=N()(K,C,`${C}-pure`,`${C}-placement-${p}`,d,V.className);return G(u.createElement("div",{className:le,style:ne},u.createElement("div",{className:`${C}-arrow`}),u.createElement(k.G,Object.assign({},A,{className:K,prefixCls:C,overlayInnerStyle:Ce}),r)))},H=function(A,v){var d={};for(var p in A)Object.prototype.hasOwnProperty.call(A,p)&&v.indexOf(p)<0&&(d[p]=A[p]);if(A!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,p=Object.getOwnPropertySymbols(A);r<p.length;r++)v.indexOf(p[r])<0&&Object.prototype.propertyIsEnumerable.call(A,p[r])&&(d[p[r]]=A[p[r]]);return d};const M=(A,v)=>{const d={},p=Object.assign({},A);return v.forEach(r=>{A&&r in A&&(d[r]=A[r],delete p[r])}),{picked:d,omitted:p}};function q(A,v){const d=A.type;if((d.__ANT_BUTTON===!0||A.type==="button")&&A.props.disabled||d.__ANT_SWITCH===!0&&(A.props.disabled||A.props.loading)||d.__ANT_RADIO===!0&&A.props.disabled){const{picked:p,omitted:r}=M(A.props.style,["position","left","right","top","bottom","float","display","zIndex"]),h=Object.assign(Object.assign({display:"inline-block"},p),{cursor:"not-allowed",width:A.props.block?"100%":void 0}),O=Object.assign(Object.assign({},r),{pointerEvents:"none"}),l=(0,I.Tm)(A,{style:O,className:null});return u.createElement("span",{style:h,className:N()(A.props.className,`${v}-disabled-compatible-wrapper`)},l)}return A}const Q=u.forwardRef((A,v)=>{var d,p;const{prefixCls:r,openClassName:h,getTooltipContainer:O,overlayClassName:l,color:C,overlayInnerStyle:G,children:K,afterOpenChange:V,afterVisibleChange:ne,destroyTooltipOnHide:Ce,arrow:le=!0,title:$e,overlay:Pe,builtinPlacements:ke,arrowPointAtCenter:Me=!1,autoAdjustOverflow:Ie=!0}=A,He=!!le,[,Ae]=(0,U.Z)(),{getPopupContainer:Ue,getPrefixCls:Ke,direction:n}=u.useContext(L.E_),a=u.useRef(null),e=()=>{var Le;(Le=a.current)===null||Le===void 0||Le.forceAlign()};u.useImperativeHandle(v,()=>({forceAlign:e,forcePopupAlign:()=>{e()}}));const[s,m]=(0,g.Z)(!1,{value:(d=A.open)!==null&&d!==void 0?d:A.visible,defaultValue:(p=A.defaultOpen)!==null&&p!==void 0?p:A.defaultVisible}),S=!$e&&!Pe&&$e!==0,P=Le=>{var We,ze;m(S?!1:Le),S||((We=A.onOpenChange)===null||We===void 0||We.call(A,Le),(ze=A.onVisibleChange)===null||ze===void 0||ze.call(A,Le))},T=u.useMemo(()=>{var Le,We;let ze=Me;return typeof le=="object"&&(ze=(We=(Le=le.pointAtCenter)!==null&&Le!==void 0?Le:le.arrowPointAtCenter)!==null&&We!==void 0?We:Me),ke||(0,Z.Z)({arrowPointAtCenter:ze,autoAdjustOverflow:Ie,arrowWidth:He?Ae.sizePopupArrow:0,borderRadius:Ae.borderRadius,offset:Ae.marginXXS,visibleFirst:!0})},[Me,le,ke,Ae]),j=u.useMemo(()=>$e===0?$e:Pe||$e||"",[Pe,$e]),X=u.createElement(z.BR,null,typeof j=="function"?j():j),{getPopupContainer:F,placement:_="top",mouseEnterDelay:pe=.1,mouseLeaveDelay:re=.1,overlayStyle:be,rootClassName:ue}=A,se=H(A,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),de=Ke("tooltip",r),we=Ke(),Oe=A["data-popover-inject"];let Y=s;!("open"in A)&&!("visible"in A)&&S&&(Y=!1);const nt=q((0,I.l$)(K)&&!(0,I.M2)(K)?K:u.createElement("span",null,K),de),_e=nt.props,Je=!_e.className||typeof _e.className=="string"?N()(_e.className,h||`${de}-open`):_e.className,[De,dt]=W(de,!Oe),ct=Ne(de,C),ft=ct.arrowStyle,At=Object.assign(Object.assign({},G),ct.overlayStyle),St=N()(l,{[`${de}-rtl`]:n==="rtl"},ct.className,ue,dt);return De(u.createElement(k.Z,Object.assign({},se,{showArrow:He,placement:_,mouseEnterDelay:pe,mouseLeaveDelay:re,prefixCls:de,overlayClassName:St,overlayStyle:Object.assign(Object.assign({},ft),be),getTooltipContainer:F||O||Ue,ref:a,builtinPlacements:T,overlay:X,visible:Y,onVisibleChange:P,afterVisibleChange:V!=null?V:ne,overlayInnerStyle:At,arrowContent:u.createElement("span",{className:`${de}-arrow-content`}),motion:{motionName:(0,D.m)(we,"zoom-big-fast",A.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!Ce}),Y?(0,I.Tm)(nt,{className:Je}):nt))});Q._InternalPanelDoNotUseOrYouWillBeFired=ge;var ce=Q},31561:function(rt,oe,t){t.d(oe,{Z:function(){return H}});var u=t(96663),i=t(90493),N=t(72071),k=t(6620),g=t(35593),D=t(92310),Z=t.n(D),I=t(8654),L=t(59301),z=t(10228),U=t(16089),x=z.Z.ESC,o=z.Z.TAB;function b(M){var q=M.visible,Q=M.triggerRef,ce=M.onVisibleChange,A=M.autoFocus,v=M.overlayRef,d=L.useRef(!1),p=function(){if(q){var l,C;(l=Q.current)===null||l===void 0||(C=l.focus)===null||C===void 0||C.call(l),ce==null||ce(!1)}},r=function(){var l;return(l=v.current)!==null&&l!==void 0&&l.focus?(v.current.focus(),d.current=!0,!0):!1},h=function(l){switch(l.keyCode){case x:p();break;case o:{var C=!1;d.current||(C=r()),C?l.preventDefault():p();break}}};L.useEffect(function(){return q?(window.addEventListener("keydown",h),A&&(0,U.Z)(r,3),function(){window.removeEventListener("keydown",h),d.current=!1}):function(){d.current=!1}},[q])}var te=(0,L.forwardRef)(function(M,q){var Q=M.overlay,ce=M.arrow,A=M.prefixCls,v=(0,L.useMemo)(function(){var p;return typeof Q=="function"?p=Q():p=Q,p},[Q]),d=(0,I.sQ)(q,v==null?void 0:v.ref);return L.createElement(L.Fragment,null,ce&&L.createElement("div",{className:"".concat(A,"-arrow")}),L.cloneElement(v,{ref:(0,I.Yr)(v)?d:void 0}))}),ie=te,ve={adjustX:1,adjustY:1},w=[0,0],W={topLeft:{points:["bl","tl"],overflow:ve,offset:[0,-4],targetOffset:w},top:{points:["bc","tc"],overflow:ve,offset:[0,-4],targetOffset:w},topRight:{points:["br","tr"],overflow:ve,offset:[0,-4],targetOffset:w},bottomLeft:{points:["tl","bl"],overflow:ve,offset:[0,4],targetOffset:w},bottom:{points:["tc","bc"],overflow:ve,offset:[0,4],targetOffset:w},bottomRight:{points:["tr","br"],overflow:ve,offset:[0,4],targetOffset:w}},me=W,Ne=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function J(M,q){var Q,ce=M.arrow,A=ce===void 0?!1:ce,v=M.prefixCls,d=v===void 0?"rc-dropdown":v,p=M.transitionName,r=M.animation,h=M.align,O=M.placement,l=O===void 0?"bottomLeft":O,C=M.placements,G=C===void 0?me:C,K=M.getPopupContainer,V=M.showAction,ne=M.hideAction,Ce=M.overlayClassName,le=M.overlayStyle,$e=M.visible,Pe=M.trigger,ke=Pe===void 0?["hover"]:Pe,Me=M.autoFocus,Ie=M.overlay,He=M.children,Ae=M.onVisibleChange,Ue=(0,k.Z)(M,Ne),Ke=L.useState(),n=(0,N.Z)(Ke,2),a=n[0],e=n[1],s="visible"in M?$e:a,m=L.useRef(null),S=L.useRef(null),P=L.useRef(null);L.useImperativeHandle(q,function(){return m.current});var T=function(se){e(se),Ae==null||Ae(se)};b({visible:s,triggerRef:P,onVisibleChange:T,autoFocus:Me,overlayRef:S});var j=function(se){var de=M.onOverlayClick;e(!1),de&&de(se)},X=function(){return L.createElement(ie,{ref:S,overlay:Ie,prefixCls:d,arrow:A})},F=function(){return typeof Ie=="function"?X:X()},_=function(){var se=M.minOverlayWidthMatchTrigger,de=M.alignPoint;return"minOverlayWidthMatchTrigger"in M?se:!de},pe=function(){var se=M.openClassName;return se!==void 0?se:"".concat(d,"-open")},re=L.cloneElement(He,{className:Z()((Q=He.props)===null||Q===void 0?void 0:Q.className,s&&pe()),ref:(0,I.Yr)(He)?(0,I.sQ)(P,He.ref):void 0}),be=ne;return!be&&ke.indexOf("contextMenu")!==-1&&(be=["click"]),L.createElement(g.Z,(0,u.Z)({builtinPlacements:G},Ue,{prefixCls:d,ref:m,popupClassName:Z()(Ce,(0,i.Z)({},"".concat(d,"-show-arrow"),A)),popupStyle:le,action:ke,showAction:V,hideAction:be,popupPlacement:l,popupAlign:h,popupTransitionName:p,popupAnimation:r,popupVisible:s,stretch:_()?"minWidth":"",popup:F(),onPopupVisibleChange:T,onPopupClick:j,getPopupContainer:K}),re)}var ge=L.forwardRef(J),H=ge},15285:function(rt,oe,t){t.d(oe,{iz:function(){return Zt},ck:function(){return We},BW:function(){return gn},sN:function(){return We},Wd:function(){return vn},ZP:function(){return ye},Xl:function(){return Q}});var u=t(96663),i=t(90493),N=t(44127),k=t(19127),g=t(72071),D=t(6620),Z=t(92310),I=t.n(Z),L=t(11780),z=t(18929),U=t(13697),x=t(48736),o=t(59301),b=t(4676),te=o.createContext(null);function ie(c,f){return c===void 0?null:"".concat(c,"-").concat(f)}function ve(c){var f=o.useContext(te);return ie(f,c)}var w=t(80547),W=["children","locked"],me=o.createContext(null);function Ne(c,f){var $=(0,N.Z)({},c);return Object.keys(f).forEach(function(E){var y=f[E];y!==void 0&&($[E]=y)}),$}function J(c){var f=c.children,$=c.locked,E=(0,D.Z)(c,W),y=o.useContext(me),B=(0,w.Z)(function(){return Ne(y,E)},[y,E],function(R,he){return!$&&(R[0]!==he[0]||!(0,U.Z)(R[1],he[1],!0))});return o.createElement(me.Provider,{value:B},f)}var ge=[],H=o.createContext(null);function M(){return o.useContext(H)}var q=o.createContext(ge);function Q(c){var f=o.useContext(q);return o.useMemo(function(){return c!==void 0?[].concat((0,k.Z)(f),[c]):f},[f,c])}var ce=o.createContext(null),A=o.createContext({}),v=A,d=t(29194);function p(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,d.Z)(c)){var $=c.nodeName.toLowerCase(),E=["input","select","textarea","button"].includes($)||c.isContentEditable||$==="a"&&!!c.getAttribute("href"),y=c.getAttribute("tabindex"),B=Number(y),R=null;return y&&!Number.isNaN(B)?R=B:E&&R===null&&(R=0),E&&c.disabled&&(R=null),R!==null&&(R>=0||f&&R<0)}return!1}function r(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,$=(0,k.Z)(c.querySelectorAll("*")).filter(function(E){return p(E,f)});return p(c,f)&&$.unshift(c),$}var h=null;function O(){h=document.activeElement}function l(){h=null}function C(){if(h)try{h.focus()}catch(c){}}function G(c,f){if(f.keyCode===9){var $=r(c),E=$[f.shiftKey?0:$.length-1],y=E===document.activeElement||c===document.activeElement;if(y){var B=$[f.shiftKey?$.length-1:0];B.focus(),f.preventDefault()}}}var K=t(10228),V=t(16089),ne=K.Z.LEFT,Ce=K.Z.RIGHT,le=K.Z.UP,$e=K.Z.DOWN,Pe=K.Z.ENTER,ke=K.Z.ESC,Me=K.Z.HOME,Ie=K.Z.END,He=[le,$e,ne,Ce];function Ae(c,f,$,E){var y,B,R,he,xe="prev",fe="next",Ge="children",Te="parent";if(c==="inline"&&E===Pe)return{inlineTrigger:!0};var Ve=(y={},(0,i.Z)(y,le,xe),(0,i.Z)(y,$e,fe),y),Ee=(B={},(0,i.Z)(B,ne,$?fe:xe),(0,i.Z)(B,Ce,$?xe:fe),(0,i.Z)(B,$e,Ge),(0,i.Z)(B,Pe,Ge),B),ae=(R={},(0,i.Z)(R,le,xe),(0,i.Z)(R,$e,fe),(0,i.Z)(R,Pe,Ge),(0,i.Z)(R,ke,Te),(0,i.Z)(R,ne,$?Ge:Te),(0,i.Z)(R,Ce,$?Te:Ge),R),Ye={inline:Ve,horizontal:Ee,vertical:ae,inlineSub:Ve,horizontalSub:ae,verticalSub:ae},Xe=(he=Ye["".concat(c).concat(f?"":"Sub")])===null||he===void 0?void 0:he[E];switch(Xe){case xe:return{offset:-1,sibling:!0};case fe:return{offset:1,sibling:!0};case Te:return{offset:-1,sibling:!1};case Ge:return{offset:1,sibling:!1};default:return null}}function Ue(c){for(var f=c;f;){if(f.getAttribute("data-menu-list"))return f;f=f.parentElement}return null}function Ke(c,f){for(var $=c||document.activeElement;$;){if(f.has($))return $;$=$.parentElement}return null}function n(c,f){var $=r(c,!0);return $.filter(function(E){return f.has(E)})}function a(c,f,$){var E=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!c)return null;var y=n(c,f),B=y.length,R=y.findIndex(function(he){return $===he});return E<0?R===-1?R=B-1:R-=1:E>0&&(R+=1),R=(R+B)%B,y[R]}var e=function(f,$){var E=new Set,y=new Map,B=new Map;return f.forEach(function(R){var he=document.querySelector("[data-menu-id='".concat(ie($,R),"']"));he&&(E.add(he),B.set(he,R),y.set(R,he))}),{elements:E,key2element:y,element2key:B}};function s(c,f,$,E,y,B,R,he,xe,fe){var Ge=o.useRef(),Te=o.useRef();Te.current=f;var Ve=function(){V.Z.cancel(Ge.current)};return o.useEffect(function(){return function(){Ve()}},[]),function(Ee){var ae=Ee.which;if([].concat(He,[Pe,ke,Me,Ie]).includes(ae)){var Ye=B(),Xe=e(Ye,E),at=Xe,Fe=at.elements,je=at.key2element,Be=at.element2key,Ze=je.get(f),et=Ke(Ze,Fe),wt=Be.get(et),Qe=Ae(c,R(wt,!0).length===1,$,ae);if(!Qe&&ae!==Me&&ae!==Ie)return;(He.includes(ae)||[Me,Ie].includes(ae))&&Ee.preventDefault();var Ut=function(Mt){if(Mt){var Lt=Mt,tn=Mt.querySelector("a");tn!=null&&tn.getAttribute("href")&&(Lt=tn);var it=Be.get(Mt);he(it),Ve(),Ge.current=(0,V.Z)(function(){Te.current===it&&Lt.focus()})}};if([Me,Ie].includes(ae)||Qe.sibling||!et){var lt;!et||c==="inline"?lt=y.current:lt=Ue(et);var Et,vt=n(lt,Fe);ae===Me?Et=vt[0]:ae===Ie?Et=vt[vt.length-1]:Et=a(lt,Fe,et,Qe.offset),Ut(Et)}else if(Qe.inlineTrigger)xe(wt);else if(Qe.offset>0)xe(wt,!0),Ve(),Ge.current=(0,V.Z)(function(){Xe=e(Ye,E);var en=et.getAttribute("aria-controls"),Mt=document.getElementById(en),Lt=a(Mt,Xe.elements);Ut(Lt)},5);else if(Qe.offset<0){var yt=R(wt,!0),Dt=yt[yt.length-2],Ht=je.get(Dt);xe(Dt,!1),Ut(Ht)}}fe==null||fe(Ee)}}function m(c){Promise.resolve().then(c)}var S="__RC_UTIL_PATH_SPLIT__",P=function(f){return f.join(S)},T=function(f){return f.split(S)},j="rc-menu-more";function X(){var c=o.useState({}),f=(0,g.Z)(c,2),$=f[1],E=(0,o.useRef)(new Map),y=(0,o.useRef)(new Map),B=o.useState([]),R=(0,g.Z)(B,2),he=R[0],xe=R[1],fe=(0,o.useRef)(0),Ge=(0,o.useRef)(!1),Te=function(){Ge.current||$({})},Ve=(0,o.useCallback)(function(je,Be){var Ze=P(Be);y.current.set(Ze,je),E.current.set(je,Ze),fe.current+=1;var et=fe.current;m(function(){et===fe.current&&Te()})},[]),Ee=(0,o.useCallback)(function(je,Be){var Ze=P(Be);y.current.delete(Ze),E.current.delete(je)},[]),ae=(0,o.useCallback)(function(je){xe(je)},[]),Ye=(0,o.useCallback)(function(je,Be){var Ze=E.current.get(je)||"",et=T(Ze);return Be&&he.includes(et[0])&&et.unshift(j),et},[he]),Xe=(0,o.useCallback)(function(je,Be){return je.some(function(Ze){var et=Ye(Ze,!0);return et.includes(Be)})},[Ye]),at=function(){var Be=(0,k.Z)(E.current.keys());return he.length&&Be.push(j),Be},Fe=(0,o.useCallback)(function(je){var Be="".concat(E.current.get(je)).concat(S),Ze=new Set;return(0,k.Z)(y.current.keys()).forEach(function(et){et.startsWith(Be)&&Ze.add(y.current.get(et))}),Ze},[]);return o.useEffect(function(){return function(){Ge.current=!0}},[]),{registerPath:Ve,unregisterPath:Ee,refreshOverflowKeys:ae,isSubPathKey:Xe,getKeyPath:Ye,getKeys:at,getSubPathKeys:Fe}}function F(c){var f=o.useRef(c);f.current=c;var $=o.useCallback(function(){for(var E,y=arguments.length,B=new Array(y),R=0;R<y;R++)B[R]=arguments[R];return(E=f.current)===null||E===void 0?void 0:E.call.apply(E,[f].concat(B))},[]);return c?$:void 0}var _=Math.random().toFixed(5).toString().slice(2),pe=0;function re(c){var f=(0,z.Z)(c,{value:c}),$=(0,g.Z)(f,2),E=$[0],y=$[1];return o.useEffect(function(){pe+=1;var B="".concat(_,"-").concat(pe);y("rc-menu-uuid-".concat(B))},[]),E}var be=t(52884),ue=t(95727),se=t(65711),de=t(85745),we=t(2738),Oe=t(8654);function Y(c,f,$,E){var y=o.useContext(me),B=y.activeKey,R=y.onActive,he=y.onInactive,xe={active:B===c};return f||(xe.onMouseEnter=function(fe){$==null||$({key:c,domEvent:fe}),R(c)},xe.onMouseLeave=function(fe){E==null||E({key:c,domEvent:fe}),he(c)}),xe}function nt(c){var f=o.useContext(me),$=f.mode,E=f.rtl,y=f.inlineIndent;if($!=="inline")return null;var B=c;return E?{paddingRight:B*y}:{paddingLeft:B*y}}function _e(c){var f=c.icon,$=c.props,E=c.children,y;return f===null||f===!1?null:(typeof f=="function"?y=o.createElement(f,(0,N.Z)({},$)):typeof f!="boolean"&&(y=f),y||E||null)}var Je=["item"];function De(c){var f=c.item,$=(0,D.Z)(c,Je);return Object.defineProperty($,"item",{get:function(){return(0,x.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),f}}),$}var dt=["title","attribute","elementRef"],ct=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],ft=["active"],At=function(c){(0,se.Z)($,c);var f=(0,de.Z)($);function $(){return(0,be.Z)(this,$),f.apply(this,arguments)}return(0,ue.Z)($,[{key:"render",value:function(){var y=this.props,B=y.title,R=y.attribute,he=y.elementRef,xe=(0,D.Z)(y,dt),fe=(0,we.Z)(xe,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,x.ZP)(!R,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),o.createElement(L.Z.Item,(0,u.Z)({},R,{title:typeof B=="string"?B:void 0},fe,{ref:he}))}}]),$}(o.Component),St=o.forwardRef(function(c,f){var $,E=c.style,y=c.className,B=c.eventKey,R=c.warnKey,he=c.disabled,xe=c.itemIcon,fe=c.children,Ge=c.role,Te=c.onMouseEnter,Ve=c.onMouseLeave,Ee=c.onClick,ae=c.onKeyDown,Ye=c.onFocus,Xe=(0,D.Z)(c,ct),at=ve(B),Fe=o.useContext(me),je=Fe.prefixCls,Be=Fe.onItemClick,Ze=Fe.disabled,et=Fe.overflowDisabled,wt=Fe.itemIcon,Qe=Fe.selectedKeys,Ut=Fe.onActive,lt=o.useContext(v),Et=lt._internalRenderMenuItem,vt="".concat(je,"-item"),yt=o.useRef(),Dt=o.useRef(),Ht=Ze||he,en=(0,Oe.x1)(f,Dt),Mt=Q(B),Lt=function(gt){return{key:B,keyPath:(0,k.Z)(Mt).reverse(),item:yt.current,domEvent:gt}},tn=xe||wt,it=Y(B,Ht,Te,Ve),yn=it.active,In=(0,D.Z)(it,ft),hn=Qe.includes(B),Cn=nt(Mt.length),nn=function(gt){if(!Ht){var Kt=Lt(gt);Ee==null||Ee(De(Kt)),Be(Kt)}},zt=function(gt){if(ae==null||ae(gt),gt.which===K.Z.ENTER){var Kt=Lt(gt);Ee==null||Ee(De(Kt)),Be(Kt)}},Yt=function(gt){Ut(B),Ye==null||Ye(gt)},sn={};c.role==="option"&&(sn["aria-selected"]=hn);var $n=o.createElement(At,(0,u.Z)({ref:yt,elementRef:en,role:Ge===null?"none":Ge||"menuitem",tabIndex:he?null:-1,"data-menu-id":et&&at?null:at},Xe,In,sn,{component:"li","aria-disabled":he,style:(0,N.Z)((0,N.Z)({},Cn),E),className:I()(vt,($={},(0,i.Z)($,"".concat(vt,"-active"),yn),(0,i.Z)($,"".concat(vt,"-selected"),hn),(0,i.Z)($,"".concat(vt,"-disabled"),Ht),$),y),onClick:nn,onKeyDown:zt,onFocus:Yt}),fe,o.createElement(_e,{props:(0,N.Z)((0,N.Z)({},c),{},{isSelected:hn}),icon:tn}));return Et&&($n=Et($n,c,{selected:hn})),$n});function Le(c,f){var $=c.eventKey,E=M(),y=Q($);return o.useEffect(function(){if(E)return E.registerPath($,y),function(){E.unregisterPath($,y)}},[y]),E?null:o.createElement(St,(0,u.Z)({},c,{ref:f}))}var We=o.forwardRef(Le),ze=["className","children"],mt=function(f,$){var E=f.className,y=f.children,B=(0,D.Z)(f,ze),R=o.useContext(me),he=R.prefixCls,xe=R.mode,fe=R.rtl;return o.createElement("ul",(0,u.Z)({className:I()(he,fe&&"".concat(he,"-rtl"),"".concat(he,"-sub"),"".concat(he,"-").concat(xe==="inline"?"inline":"vertical"),E),role:"menu"},B,{"data-menu-list":!0,ref:$}),y)},Re=o.forwardRef(mt);Re.displayName="SubMenuList";var It=Re,ot=t(11592);function Ot(c,f){return(0,ot.Z)(c).map(function($,E){if(o.isValidElement($)){var y,B,R=$.key,he=(y=(B=$.props)===null||B===void 0?void 0:B.eventKey)!==null&&y!==void 0?y:R,xe=he==null;xe&&(he="tmp_key-".concat([].concat((0,k.Z)(f),[E]).join("-")));var fe={key:he,eventKey:he};return o.cloneElement($,fe)}return $})}var Tt=t(35593),ut={adjustX:1,adjustY:1},jt={topLeft:{points:["bl","tl"],overflow:ut},topRight:{points:["br","tr"],overflow:ut},bottomLeft:{points:["tl","bl"],overflow:ut},bottomRight:{points:["tr","br"],overflow:ut},leftTop:{points:["tr","tl"],overflow:ut},leftBottom:{points:["br","bl"],overflow:ut},rightTop:{points:["tl","tr"],overflow:ut},rightBottom:{points:["bl","br"],overflow:ut}},mn={topLeft:{points:["bl","tl"],overflow:ut},topRight:{points:["br","tr"],overflow:ut},bottomLeft:{points:["tl","bl"],overflow:ut},bottomRight:{points:["tr","br"],overflow:ut},rightTop:{points:["tr","tl"],overflow:ut},rightBottom:{points:["br","bl"],overflow:ut},leftTop:{points:["tl","tr"],overflow:ut},leftBottom:{points:["bl","br"],overflow:ut}},On=null;function Ft(c,f,$){if(f)return f;if($)return $[c]||$.other}var ht={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function pt(c){var f=c.prefixCls,$=c.visible,E=c.children,y=c.popup,B=c.popupStyle,R=c.popupClassName,he=c.popupOffset,xe=c.disabled,fe=c.mode,Ge=c.onVisibleChange,Te=o.useContext(me),Ve=Te.getPopupContainer,Ee=Te.rtl,ae=Te.subMenuOpenDelay,Ye=Te.subMenuCloseDelay,Xe=Te.builtinPlacements,at=Te.triggerSubMenuAction,Fe=Te.forceSubMenuRender,je=Te.rootClassName,Be=Te.motion,Ze=Te.defaultMotions,et=o.useState(!1),wt=(0,g.Z)(et,2),Qe=wt[0],Ut=wt[1],lt=Ee?(0,N.Z)((0,N.Z)({},mn),Xe):(0,N.Z)((0,N.Z)({},jt),Xe),Et=ht[fe],vt=Ft(fe,Be,Ze),yt=o.useRef(vt);fe!=="inline"&&(yt.current=vt);var Dt=(0,N.Z)((0,N.Z)({},yt.current),{},{leavedClassName:"".concat(f,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Ht=o.useRef();return o.useEffect(function(){return Ht.current=(0,V.Z)(function(){Ut($)}),function(){V.Z.cancel(Ht.current)}},[$]),o.createElement(Tt.Z,{prefixCls:f,popupClassName:I()("".concat(f,"-popup"),(0,i.Z)({},"".concat(f,"-rtl"),Ee),R,je),stretch:fe==="horizontal"?"minWidth":null,getPopupContainer:Ve,builtinPlacements:lt,popupPlacement:Et,popupVisible:Qe,popup:y,popupStyle:B,popupAlign:he&&{offset:he},action:xe?[]:[at],mouseEnterDelay:ae,mouseLeaveDelay:Ye,onPopupVisibleChange:Ge,forceRender:Fe,popupMotion:Dt,fresh:!0},E)}var _t=t(77900);function on(c){var f=c.id,$=c.open,E=c.keyPath,y=c.children,B="inline",R=o.useContext(me),he=R.prefixCls,xe=R.forceSubMenuRender,fe=R.motion,Ge=R.defaultMotions,Te=R.mode,Ve=o.useRef(!1);Ve.current=Te===B;var Ee=o.useState(!Ve.current),ae=(0,g.Z)(Ee,2),Ye=ae[0],Xe=ae[1],at=Ve.current?$:!1;o.useEffect(function(){Ve.current&&Xe(!1)},[Te]);var Fe=(0,N.Z)({},Ft(B,fe,Ge));E.length>1&&(Fe.motionAppear=!1);var je=Fe.onVisibleChanged;return Fe.onVisibleChanged=function(Be){return!Ve.current&&!Be&&Xe(!0),je==null?void 0:je(Be)},Ye?null:o.createElement(J,{mode:B,locked:!Ve.current},o.createElement(_t.default,(0,u.Z)({visible:at},Fe,{forceRender:xe,removeOnLeave:!1,leavedClassName:"".concat(he,"-hidden")}),function(Be){var Ze=Be.className,et=Be.style;return o.createElement(It,{id:f,className:Ze,style:et},y)}))}var Gt=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],xn=["active"],xt=function(f){var $,E=f.style,y=f.className,B=f.title,R=f.eventKey,he=f.warnKey,xe=f.disabled,fe=f.internalPopupClose,Ge=f.children,Te=f.itemIcon,Ve=f.expandIcon,Ee=f.popupClassName,ae=f.popupOffset,Ye=f.popupStyle,Xe=f.onClick,at=f.onMouseEnter,Fe=f.onMouseLeave,je=f.onTitleClick,Be=f.onTitleMouseEnter,Ze=f.onTitleMouseLeave,et=(0,D.Z)(f,Gt),wt=ve(R),Qe=o.useContext(me),Ut=Qe.prefixCls,lt=Qe.mode,Et=Qe.openKeys,vt=Qe.disabled,yt=Qe.overflowDisabled,Dt=Qe.activeKey,Ht=Qe.selectedKeys,en=Qe.itemIcon,Mt=Qe.expandIcon,Lt=Qe.onItemClick,tn=Qe.onOpenChange,it=Qe.onActive,yn=o.useContext(v),In=yn._internalRenderSubMenuItem,hn=o.useContext(ce),Cn=hn.isSubPathKey,nn=Q(),zt="".concat(Ut,"-submenu"),Yt=vt||xe,sn=o.useRef(),$n=o.useRef(),cn=Te!=null?Te:en,gt=Ve!=null?Ve:Mt,Kt=Et.includes(R),rn=!yt&&Kt,wn=Cn(Ht,R),Qt=Y(R,Yt,Be,Ze),Sn=Qt.active,En=(0,D.Z)(Qt,xn),Mn=o.useState(!1),Kn=(0,g.Z)(Mn,2),Zn=Kn[0],Wn=Kn[1],Bn=function(Vt){Yt||Wn(Vt)},un=function(Vt){Bn(!0),at==null||at({key:R,domEvent:Vt})},Fn=function(Vt){Bn(!1),Fe==null||Fe({key:R,domEvent:Vt})},Dn=o.useMemo(function(){return Sn||(lt!=="inline"?Zn||Cn([Dt],R):!1)},[lt,Sn,Dt,Zn,R,Cn]),Ln=nt(nn.length),kn=function(Vt){Yt||(je==null||je({key:R,domEvent:Vt}),lt==="inline"&&tn(R,!Kt))},Rn=F(function(Xt){Xe==null||Xe(De(Xt)),Lt(Xt)}),Nn=function(Vt){lt!=="inline"&&tn(R,Vt)},zn=function(){it(R)},Wt=wt&&"".concat(wt,"-popup"),Pn=o.createElement("div",(0,u.Z)({role:"menuitem",style:Ln,className:"".concat(zt,"-title"),tabIndex:Yt?null:-1,ref:sn,title:typeof B=="string"?B:null,"data-menu-id":yt&&wt?null:wt,"aria-expanded":rn,"aria-haspopup":!0,"aria-controls":Wt,"aria-disabled":Yt,onClick:kn,onFocus:zn},En),B,o.createElement(_e,{icon:lt!=="horizontal"?gt:void 0,props:(0,N.Z)((0,N.Z)({},f),{},{isOpen:rn,isSubMenu:!0})},o.createElement("i",{className:"".concat(zt,"-arrow")}))),Pt=o.useRef(lt);if(lt!=="inline"&&nn.length>1?Pt.current="vertical":Pt.current=lt,!yt){var dn=Pt.current;Pn=o.createElement(pt,{mode:dn,prefixCls:zt,visible:!fe&&rn&&lt!=="inline",popupClassName:Ee,popupOffset:ae,popupStyle:Ye,popup:o.createElement(J,{mode:dn==="horizontal"?"vertical":dn},o.createElement(It,{id:Wt,ref:$n},Ge)),disabled:Yt,onVisibleChange:Nn},Pn)}var fn=o.createElement(L.Z.Item,(0,u.Z)({role:"none"},et,{component:"li",style:E,className:I()(zt,"".concat(zt,"-").concat(lt),y,($={},(0,i.Z)($,"".concat(zt,"-open"),rn),(0,i.Z)($,"".concat(zt,"-active"),Dn),(0,i.Z)($,"".concat(zt,"-selected"),wn),(0,i.Z)($,"".concat(zt,"-disabled"),Yt),$)),onMouseEnter:un,onMouseLeave:Fn}),Pn,!yt&&o.createElement(on,{id:Wt,open:rn,keyPath:nn},Ge));return In&&(fn=In(fn,f,{selected:wn,active:Dn,open:rn,disabled:Yt})),o.createElement(J,{onItemClick:Rn,mode:lt==="horizontal"?"vertical":lt,itemIcon:cn,expandIcon:gt},fn)};function vn(c){var f=c.eventKey,$=c.children,E=Q(f),y=Ot($,E),B=M();o.useEffect(function(){if(B)return B.registerPath(f,E),function(){B.unregisterPath(f,E)}},[E]);var R;return B?R=y:R=o.createElement(xt,c,y),o.createElement(q.Provider,{value:E},R)}var Jt=t(20135),kt=["className","title","eventKey","children"],an=["children"],qe=function(f){var $=f.className,E=f.title,y=f.eventKey,B=f.children,R=(0,D.Z)(f,kt),he=o.useContext(me),xe=he.prefixCls,fe="".concat(xe,"-item-group");return o.createElement("li",(0,u.Z)({role:"presentation"},R,{onClick:function(Te){return Te.stopPropagation()},className:I()(fe,$)}),o.createElement("div",{role:"presentation",className:"".concat(fe,"-title"),title:typeof E=="string"?E:void 0},E),o.createElement("ul",{role:"group",className:"".concat(fe,"-list")},B))};function gn(c){var f=c.children,$=(0,D.Z)(c,an),E=Q($.eventKey),y=Ot(f,E),B=M();return B?y:o.createElement(qe,(0,we.Z)($,["warnKey"]),y)}function Zt(c){var f=c.className,$=c.style,E=o.useContext(me),y=E.prefixCls,B=M();return B?null:o.createElement("li",{role:"separator",className:I()("".concat(y,"-item-divider"),f),style:$})}var An=["label","children","key","type"];function ln(c){return(c||[]).map(function(f,$){if(f&&(0,Jt.Z)(f)==="object"){var E=f,y=E.label,B=E.children,R=E.key,he=E.type,xe=(0,D.Z)(E,An),fe=R!=null?R:"tmp-".concat($);return B||he==="group"?he==="group"?o.createElement(gn,(0,u.Z)({key:fe},xe,{title:y}),ln(B)):o.createElement(vn,(0,u.Z)({key:fe},xe,{title:y}),ln(B)):he==="divider"?o.createElement(Zt,(0,u.Z)({key:fe},xe)):o.createElement(We,(0,u.Z)({key:fe},xe),y)}return null}).filter(function(f){return f})}function qt(c,f,$){var E=c;return f&&(E=ln(f)),Ot(E,$)}var jn=["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"],bt=[],Tn=o.forwardRef(function(c,f){var $,E,y=c,B=y.prefixCls,R=B===void 0?"rc-menu":B,he=y.rootClassName,xe=y.style,fe=y.className,Ge=y.tabIndex,Te=Ge===void 0?0:Ge,Ve=y.items,Ee=y.children,ae=y.direction,Ye=y.id,Xe=y.mode,at=Xe===void 0?"vertical":Xe,Fe=y.inlineCollapsed,je=y.disabled,Be=y.disabledOverflow,Ze=y.subMenuOpenDelay,et=Ze===void 0?.1:Ze,wt=y.subMenuCloseDelay,Qe=wt===void 0?.1:wt,Ut=y.forceSubMenuRender,lt=y.defaultOpenKeys,Et=y.openKeys,vt=y.activeKey,yt=y.defaultActiveFirst,Dt=y.selectable,Ht=Dt===void 0?!0:Dt,en=y.multiple,Mt=en===void 0?!1:en,Lt=y.defaultSelectedKeys,tn=y.selectedKeys,it=y.onSelect,yn=y.onDeselect,In=y.inlineIndent,hn=In===void 0?24:In,Cn=y.motion,nn=y.defaultMotions,zt=y.triggerSubMenuAction,Yt=zt===void 0?"hover":zt,sn=y.builtinPlacements,$n=y.itemIcon,cn=y.expandIcon,gt=y.overflowedIndicator,Kt=gt===void 0?"...":gt,rn=y.overflowedIndicatorPopupClassName,wn=y.getPopupContainer,Qt=y.onClick,Sn=y.onOpenChange,En=y.onKeyDown,Mn=y.openAnimation,Kn=y.openTransitionName,Zn=y._internalRenderMenuItem,Wn=y._internalRenderSubMenuItem,Bn=(0,D.Z)(y,jn),un=o.useMemo(function(){return qt(Ee,Ve,bt)},[Ee,Ve]),Fn=o.useState(!1),Dn=(0,g.Z)(Fn,2),Ln=Dn[0],kn=Dn[1],Rn=o.useRef(),Nn=re(Ye),zn=ae==="rtl",Wt=(0,z.Z)(lt,{value:Et,postState:function(st){return st||bt}}),Pn=(0,g.Z)(Wt,2),Pt=Pn[0],dn=Pn[1],fn=function(st){var $t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function pn(){dn(st),Sn==null||Sn(st)}$t?(0,b.flushSync)(pn):pn()},Xt=o.useState(Pt),Vt=(0,g.Z)(Xt,2),Un=Vt[0],Yn=Vt[1],Xn=o.useRef(!1),qn=o.useMemo(function(){return(at==="inline"||at==="vertical")&&Fe?["vertical",Fe]:[at,!1]},[at,Fe]),Qn=(0,g.Z)(qn,2),Vn=Qn[0],ee=Qn[1],Se=Vn==="inline",Ct=o.useState(Vn),Rt=(0,g.Z)(Ct,2),tt=Rt[0],_n=Rt[1],er=o.useState(ee),tr=(0,g.Z)(er,2),Jn=tr[0],$r=tr[1];o.useEffect(function(){_n(Vn),$r(ee),Xn.current&&(Se?dn(Un):fn(bt))},[Vn,ee]);var Sr=o.useState(0),dr=(0,g.Z)(Sr,2),or=dr[0],Or=dr[1],lr=or>=un.length-1||tt!=="horizontal"||Be;o.useEffect(function(){Se&&Yn(Pt)},[Pt]),o.useEffect(function(){return Xn.current=!0,function(){Xn.current=!1}},[]);var Gn=X(),fr=Gn.registerPath,mr=Gn.unregisterPath,xr=Gn.refreshOverflowKeys,vr=Gn.isSubPathKey,Ir=Gn.getKeyPath,gr=Gn.getKeys,wr=Gn.getSubPathKeys,Er=o.useMemo(function(){return{registerPath:fr,unregisterPath:mr}},[fr,mr]),Mr=o.useMemo(function(){return{isSubPathKey:vr}},[vr]);o.useEffect(function(){xr(lr?bt:un.slice(or+1).map(function(Nt){return Nt.key}))},[or,lr]);var Pr=(0,z.Z)(vt||yt&&(($=un[0])===null||$===void 0?void 0:$.key),{value:vt}),hr=(0,g.Z)(Pr,2),nr=hr[0],sr=hr[1],Rr=F(function(Nt){sr(Nt)}),Nr=F(function(){sr(void 0)});(0,o.useImperativeHandle)(f,function(){return{list:Rn.current,focus:function(st){var $t,pn=gr(),bn=e(pn,Nn),ir=bn.elements,cr=bn.key2element,Kr=bn.element2key,yr=n(Rn.current,ir),Cr=nr!=null?nr:yr[0]?Kr.get(yr[0]):($t=un.find(function(Wr){return!Wr.props.disabled}))===null||$t===void 0?void 0:$t.key,rr=cr.get(Cr);if(Cr&&rr){var ur;rr==null||(ur=rr.focus)===null||ur===void 0||ur.call(rr,st)}}}});var Ar=(0,z.Z)(Lt||[],{value:tn,postState:function(st){return Array.isArray(st)?st:st==null?bt:[st]}}),pr=(0,g.Z)(Ar,2),ar=pr[0],Tr=pr[1],Zr=function(st){if(Ht){var $t=st.key,pn=ar.includes($t),bn;Mt?pn?bn=ar.filter(function(cr){return cr!==$t}):bn=[].concat((0,k.Z)(ar),[$t]):bn=[$t],Tr(bn);var ir=(0,N.Z)((0,N.Z)({},st),{},{selectedKeys:bn});pn?yn==null||yn(ir):it==null||it(ir)}!Mt&&Pt.length&&tt!=="inline"&&fn(bt)},Br=F(function(Nt){Qt==null||Qt(De(Nt)),Zr(Nt)}),br=F(function(Nt,st){var $t=Pt.filter(function(bn){return bn!==Nt});if(st)$t.push(Nt);else if(tt!=="inline"){var pn=wr(Nt);$t=$t.filter(function(bn){return!pn.has(bn)})}(0,U.Z)(Pt,$t,!0)||fn($t,!0)}),Dr=function(st,$t){var pn=$t!=null?$t:!Pt.includes(st);br(st,pn)},Lr=s(tt,nr,zn,Nn,Rn,gr,Ir,sr,Dr,En);o.useEffect(function(){kn(!0)},[]);var zr=o.useMemo(function(){return{_internalRenderMenuItem:Zn,_internalRenderSubMenuItem:Wn}},[Zn,Wn]),jr=tt!=="horizontal"||Be?un:un.map(function(Nt,st){return o.createElement(J,{key:Nt.key,overflowDisabled:st>or},Nt)}),Hr=o.createElement(L.Z,(0,u.Z)({id:Ye,ref:Rn,prefixCls:"".concat(R,"-overflow"),component:"ul",itemComponent:We,className:I()(R,"".concat(R,"-root"),"".concat(R,"-").concat(tt),fe,(E={},(0,i.Z)(E,"".concat(R,"-inline-collapsed"),Jn),(0,i.Z)(E,"".concat(R,"-rtl"),zn),E),he),dir:ae,style:xe,role:"menu",tabIndex:Te,data:jr,renderRawItem:function(st){return st},renderRawRest:function(st){var $t=st.length,pn=$t?un.slice(-$t):null;return o.createElement(vn,{eventKey:j,title:Kt,disabled:lr,internalPopupClose:$t===0,popupClassName:rn},pn)},maxCount:tt!=="horizontal"||Be?L.Z.INVALIDATE:L.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(st){Or(st)},onKeyDown:Lr},Bn));return o.createElement(v.Provider,{value:zr},o.createElement(te.Provider,{value:Nn},o.createElement(J,{prefixCls:R,rootClassName:he,mode:tt,openKeys:Pt,rtl:zn,disabled:je,motion:Ln?Cn:null,defaultMotions:Ln?nn:null,activeKey:nr,onActive:Rr,onInactive:Nr,selectedKeys:ar,inlineIndent:hn,subMenuOpenDelay:et,subMenuCloseDelay:Qe,forceSubMenuRender:Ut,builtinPlacements:sn,triggerSubMenuAction:Yt,getPopupContainer:wn,itemIcon:$n,expandIcon:cn,onItemClick:Br,onOpenChange:br},o.createElement(ce.Provider,{value:Mr},Hr),o.createElement("div",{style:{display:"none"},"aria-hidden":!0},o.createElement(H.Provider,{value:Er},un)))))}),Hn=Tn,Bt=Hn;Bt.Item=We,Bt.SubMenu=vn,Bt.ItemGroup=gn,Bt.Divider=Zt;var ye=Bt},11780:function(rt,oe,t){t.d(oe,{Z:function(){return O}});var u=t(96663),i=t(44127),N=t(72071),k=t(6620),g=t(59301),D=t(92310),Z=t.n(D),I=t(29301),L=t(34280),z=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],U=void 0;function x(l,C){var G=l.prefixCls,K=l.invalidate,V=l.item,ne=l.renderItem,Ce=l.responsive,le=l.responsiveDisabled,$e=l.registerSize,Pe=l.itemKey,ke=l.className,Me=l.style,Ie=l.children,He=l.display,Ae=l.order,Ue=l.component,Ke=Ue===void 0?"div":Ue,n=(0,k.Z)(l,z),a=Ce&&!He;function e(T){$e(Pe,T)}g.useEffect(function(){return function(){e(null)}},[]);var s=ne&&V!==U?ne(V,{index:Ae}):Ie,m;K||(m={opacity:a?0:1,height:a?0:U,overflowY:a?"hidden":U,order:Ce?Ae:U,pointerEvents:a?"none":U,position:a?"absolute":U});var S={};a&&(S["aria-hidden"]=!0);var P=g.createElement(Ke,(0,u.Z)({className:Z()(!K&&G,ke),style:(0,i.Z)((0,i.Z)({},m),Me)},S,n,{ref:C}),s);return Ce&&(P=g.createElement(I.Z,{onResize:function(j){var X=j.offsetWidth;e(X)},disabled:le},P)),P}var o=g.forwardRef(x);o.displayName="Item";var b=o,te=t(6089),ie=t(4676),ve=t(16089);function w(l){if(typeof MessageChannel=="undefined")(0,ve.Z)(l);else{var C=new MessageChannel;C.port1.onmessage=function(){return l()},C.port2.postMessage(void 0)}}function W(){var l=g.useRef(null),C=function(K){l.current||(l.current=[],w(function(){(0,ie.unstable_batchedUpdates)(function(){l.current.forEach(function(V){V()}),l.current=null})})),l.current.push(K)};return C}function me(l,C){var G=g.useState(C),K=(0,N.Z)(G,2),V=K[0],ne=K[1],Ce=(0,te.Z)(function(le){l(function(){ne(le)})});return[V,Ce]}var Ne=g.createContext(null),J=["component"],ge=["className"],H=["className"],M=function(C,G){var K=g.useContext(Ne);if(!K){var V=C.component,ne=V===void 0?"div":V,Ce=(0,k.Z)(C,J);return g.createElement(ne,(0,u.Z)({},Ce,{ref:G}))}var le=K.className,$e=(0,k.Z)(K,ge),Pe=C.className,ke=(0,k.Z)(C,H);return g.createElement(Ne.Provider,{value:null},g.createElement(b,(0,u.Z)({ref:G,className:Z()(le,Pe)},$e,ke)))},q=g.forwardRef(M);q.displayName="RawItem";var Q=q,ce=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],A="responsive",v="invalidate";function d(l){return"+ ".concat(l.length," ...")}function p(l,C){var G=l.prefixCls,K=G===void 0?"rc-overflow":G,V=l.data,ne=V===void 0?[]:V,Ce=l.renderItem,le=l.renderRawItem,$e=l.itemKey,Pe=l.itemWidth,ke=Pe===void 0?10:Pe,Me=l.ssr,Ie=l.style,He=l.className,Ae=l.maxCount,Ue=l.renderRest,Ke=l.renderRawRest,n=l.suffix,a=l.component,e=a===void 0?"div":a,s=l.itemComponent,m=l.onVisibleChange,S=(0,k.Z)(l,ce),P=Me==="full",T=W(),j=me(T,null),X=(0,N.Z)(j,2),F=X[0],_=X[1],pe=F||0,re=me(T,new Map),be=(0,N.Z)(re,2),ue=be[0],se=be[1],de=me(T,0),we=(0,N.Z)(de,2),Oe=we[0],Y=we[1],nt=me(T,0),_e=(0,N.Z)(nt,2),Je=_e[0],De=_e[1],dt=me(T,0),ct=(0,N.Z)(dt,2),ft=ct[0],At=ct[1],St=(0,g.useState)(null),Le=(0,N.Z)(St,2),We=Le[0],ze=Le[1],mt=(0,g.useState)(null),Re=(0,N.Z)(mt,2),It=Re[0],ot=Re[1],Ot=g.useMemo(function(){return It===null&&P?Number.MAX_SAFE_INTEGER:It||0},[It,F]),Tt=(0,g.useState)(!1),ut=(0,N.Z)(Tt,2),jt=ut[0],mn=ut[1],On="".concat(K,"-item"),Ft=Math.max(Oe,Je),ht=Ae===A,pt=ne.length&&ht,_t=Ae===v,on=pt||typeof Ae=="number"&&ne.length>Ae,Gt=(0,g.useMemo)(function(){var ye=ne;return pt?F===null&&P?ye=ne:ye=ne.slice(0,Math.min(ne.length,pe/ke)):typeof Ae=="number"&&(ye=ne.slice(0,Ae)),ye},[ne,ke,F,Ae,pt]),xn=(0,g.useMemo)(function(){return pt?ne.slice(Ot+1):ne.slice(Gt.length)},[ne,Gt,pt,Ot]),xt=(0,g.useCallback)(function(ye,c){var f;return typeof $e=="function"?$e(ye):(f=$e&&(ye==null?void 0:ye[$e]))!==null&&f!==void 0?f:c},[$e]),vn=(0,g.useCallback)(Ce||function(ye){return ye},[Ce]);function Jt(ye,c,f){It===ye&&(c===void 0||c===We)||(ot(ye),f||(mn(ye<ne.length-1),m==null||m(ye)),c!==void 0&&ze(c))}function kt(ye,c){_(c.clientWidth)}function an(ye,c){se(function(f){var $=new Map(f);return c===null?$.delete(ye):$.set(ye,c),$})}function qe(ye,c){De(c),Y(Je)}function gn(ye,c){At(c)}function Zt(ye){return ue.get(xt(Gt[ye],ye))}(0,L.Z)(function(){if(pe&&typeof Ft=="number"&&Gt){var ye=ft,c=Gt.length,f=c-1;if(!c){Jt(0,null);return}for(var $=0;$<c;$+=1){var E=Zt($);if(P&&(E=E||0),E===void 0){Jt($-1,void 0,!0);break}if(ye+=E,f===0&&ye<=pe||$===f-1&&ye+Zt(f)<=pe){Jt(f,null);break}else if(ye+Ft>pe){Jt($-1,ye-E-ft+Je);break}}n&&Zt(0)+ft>pe&&ze(null)}},[pe,ue,Je,ft,xt,Gt]);var An=jt&&!!xn.length,ln={};We!==null&&pt&&(ln={position:"absolute",left:We,top:0});var qt={prefixCls:On,responsive:pt,component:s,invalidate:_t},jn=le?function(ye,c){var f=xt(ye,c);return g.createElement(Ne.Provider,{key:f,value:(0,i.Z)((0,i.Z)({},qt),{},{order:c,item:ye,itemKey:f,registerSize:an,display:c<=Ot})},le(ye,c))}:function(ye,c){var f=xt(ye,c);return g.createElement(b,(0,u.Z)({},qt,{order:c,key:f,item:ye,renderItem:vn,itemKey:f,registerSize:an,display:c<=Ot}))},bt={order:An?Ot:Number.MAX_SAFE_INTEGER,className:"".concat(On,"-rest"),registerSize:qe,display:An},Tn=Ue||d,Hn=Ke?g.createElement(Ne.Provider,{value:(0,i.Z)((0,i.Z)({},qt),bt)},Ke(xn)):g.createElement(b,(0,u.Z)({},qt,bt),typeof Tn=="function"?Tn(xn):Tn),Bt=g.createElement(e,(0,u.Z)({className:Z()(!_t&&K,He),style:Ie,ref:C},S),Gt.map(jn),on?Hn:null,n&&g.createElement(b,(0,u.Z)({},qt,{responsive:ht,responsiveDisabled:!pt,order:Ot,className:"".concat(On,"-suffix"),registerSize:gn,display:!0,style:ln}),n));return ht?g.createElement(I.Z,{onResize:kt,disabled:!pt},Bt):Bt}var r=g.forwardRef(p);r.displayName="Overflow",r.Item=Q,r.RESPONSIVE=A,r.INVALIDATE=v;var h=r,O=h},29301:function(rt,oe,t){t.d(oe,{Z:function(){return v}});var u=t(96663),i=t(59301),N=t(11592),k=t(48736),g=t(44127),D=t(20135),Z=t(76846),I=t(8654),L=i.createContext(null);function z(d){var p=d.children,r=d.onBatchResize,h=i.useRef(0),O=i.useRef([]),l=i.useContext(L),C=i.useCallback(function(G,K,V){h.current+=1;var ne=h.current;O.current.push({size:G,element:K,data:V}),Promise.resolve().then(function(){ne===h.current&&(r==null||r(O.current),O.current=[])}),l==null||l(G,K,V)},[r,l]);return i.createElement(L.Provider,{value:C},p)}var U=t(76374),x=new Map;function o(d){d.forEach(function(p){var r,h=p.target;(r=x.get(h))===null||r===void 0||r.forEach(function(O){return O(h)})})}var b=new U.Z(o),te=null,ie=null;function ve(d,p){x.has(d)||(x.set(d,new Set),b.observe(d)),x.get(d).add(p)}function w(d,p){x.has(d)&&(x.get(d).delete(p),x.get(d).size||(b.unobserve(d),x.delete(d)))}var W=t(52884),me=t(95727),Ne=t(65711),J=t(85745),ge=function(d){(0,Ne.Z)(r,d);var p=(0,J.Z)(r);function r(){return(0,W.Z)(this,r),p.apply(this,arguments)}return(0,me.Z)(r,[{key:"render",value:function(){return this.props.children}}]),r}(i.Component);function H(d,p){var r=d.children,h=d.disabled,O=i.useRef(null),l=i.useRef(null),C=i.useContext(L),G=typeof r=="function",K=G?r(O):r,V=i.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),ne=!G&&i.isValidElement(K)&&(0,I.Yr)(K),Ce=ne?(0,I.C4)(K):null,le=(0,I.x1)(Ce,O),$e=function(){var Ie;return(0,Z.ZP)(O.current)||(O.current&&(0,D.Z)(O.current)==="object"?(0,Z.ZP)((Ie=O.current)===null||Ie===void 0?void 0:Ie.nativeElement):null)||(0,Z.ZP)(l.current)};i.useImperativeHandle(p,function(){return $e()});var Pe=i.useRef(d);Pe.current=d;var ke=i.useCallback(function(Me){var Ie=Pe.current,He=Ie.onResize,Ae=Ie.data,Ue=Me.getBoundingClientRect(),Ke=Ue.width,n=Ue.height,a=Me.offsetWidth,e=Me.offsetHeight,s=Math.floor(Ke),m=Math.floor(n);if(V.current.width!==s||V.current.height!==m||V.current.offsetWidth!==a||V.current.offsetHeight!==e){var S={width:s,height:m,offsetWidth:a,offsetHeight:e};V.current=S;var P=a===Math.round(Ke)?Ke:a,T=e===Math.round(n)?n:e,j=(0,g.Z)((0,g.Z)({},S),{},{offsetWidth:P,offsetHeight:T});C==null||C(j,Me,Ae),He&&Promise.resolve().then(function(){He(j,Me)})}},[]);return i.useEffect(function(){var Me=$e();return Me&&!h&&ve(Me,ke),function(){return w(Me,ke)}},[O.current,h]),i.createElement(ge,{ref:l},ne?i.cloneElement(K,{ref:le}):K)}var M=i.forwardRef(H),q=M,Q="rc-observer-key";function ce(d,p){var r=d.children,h=typeof r=="function"?[r]:(0,N.Z)(r);return h.map(function(O,l){var C=(O==null?void 0:O.key)||"".concat(Q,"-").concat(l);return i.createElement(q,(0,u.Z)({},d,{key:C,ref:l===0?p:void 0}),O)})}var A=i.forwardRef(ce);A.Collection=z;var v=A},55477:function(rt,oe,t){t.d(oe,{G:function(){return o},Z:function(){return ve}});var u=t(96663),i=t(44127),N=t(6620),k=t(35593),g=t(59301),D={shiftX:64,adjustY:1},Z={adjustX:1,shiftY:!0},I=[0,0],L={left:{points:["cr","cl"],overflow:Z,offset:[-4,0],targetOffset:I},right:{points:["cl","cr"],overflow:Z,offset:[4,0],targetOffset:I},top:{points:["bc","tc"],overflow:D,offset:[0,-4],targetOffset:I},bottom:{points:["tc","bc"],overflow:D,offset:[0,4],targetOffset:I},topLeft:{points:["bl","tl"],overflow:D,offset:[0,-4],targetOffset:I},leftTop:{points:["tr","tl"],overflow:Z,offset:[-4,0],targetOffset:I},topRight:{points:["br","tr"],overflow:D,offset:[0,-4],targetOffset:I},rightTop:{points:["tl","tr"],overflow:Z,offset:[4,0],targetOffset:I},bottomRight:{points:["tr","br"],overflow:D,offset:[0,4],targetOffset:I},rightBottom:{points:["bl","br"],overflow:Z,offset:[4,0],targetOffset:I},bottomLeft:{points:["tl","bl"],overflow:D,offset:[0,4],targetOffset:I},leftBottom:{points:["br","bl"],overflow:Z,offset:[-4,0],targetOffset:I}},z=null,U=t(92310),x=t.n(U);function o(w){var W=w.children,me=w.prefixCls,Ne=w.id,J=w.overlayInnerStyle,ge=w.className,H=w.style;return g.createElement("div",{className:x()("".concat(me,"-content"),ge),style:H},g.createElement("div",{className:"".concat(me,"-inner"),id:Ne,role:"tooltip",style:J},typeof W=="function"?W():W))}var b=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],te=function(W,me){var Ne=W.overlayClassName,J=W.trigger,ge=J===void 0?["hover"]:J,H=W.mouseEnterDelay,M=H===void 0?0:H,q=W.mouseLeaveDelay,Q=q===void 0?.1:q,ce=W.overlayStyle,A=W.prefixCls,v=A===void 0?"rc-tooltip":A,d=W.children,p=W.onVisibleChange,r=W.afterVisibleChange,h=W.transitionName,O=W.animation,l=W.motion,C=W.placement,G=C===void 0?"right":C,K=W.align,V=K===void 0?{}:K,ne=W.destroyTooltipOnHide,Ce=ne===void 0?!1:ne,le=W.defaultVisible,$e=W.getTooltipContainer,Pe=W.overlayInnerStyle,ke=W.arrowContent,Me=W.overlay,Ie=W.id,He=W.showArrow,Ae=He===void 0?!0:He,Ue=(0,N.Z)(W,b),Ke=(0,g.useRef)(null);(0,g.useImperativeHandle)(me,function(){return Ke.current});var n=(0,i.Z)({},Ue);"visible"in W&&(n.popupVisible=W.visible);var a=function(){return g.createElement(o,{key:"content",prefixCls:v,id:Ie,overlayInnerStyle:Pe},Me)};return g.createElement(k.Z,(0,u.Z)({popupClassName:Ne,prefixCls:v,popup:a,action:ge,builtinPlacements:L,popupPlacement:G,ref:Ke,popupAlign:V,getPopupContainer:$e,onPopupVisibleChange:p,afterPopupVisibleChange:r,popupTransitionName:h,popupAnimation:O,popupMotion:l,defaultPopupVisible:le,autoDestroy:Ce,mouseLeaveDelay:Q,popupStyle:ce,mouseEnterDelay:M,arrow:Ae},n),d)},ie=(0,g.forwardRef)(te),ve=ie},49658:function(rt,oe){oe.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var t=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(t)||/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(t==null?void 0:t.substr(0,4))}},76374:function(rt,oe,t){var u=function(){if(typeof Map!="undefined")return Map;function v(d,p){var r=-1;return d.some(function(h,O){return h[0]===p?(r=O,!0):!1}),r}return function(){function d(){this.__entries__=[]}return Object.defineProperty(d.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),d.prototype.get=function(p){var r=v(this.__entries__,p),h=this.__entries__[r];return h&&h[1]},d.prototype.set=function(p,r){var h=v(this.__entries__,p);~h?this.__entries__[h][1]=r:this.__entries__.push([p,r])},d.prototype.delete=function(p){var r=this.__entries__,h=v(r,p);~h&&r.splice(h,1)},d.prototype.has=function(p){return!!~v(this.__entries__,p)},d.prototype.clear=function(){this.__entries__.splice(0)},d.prototype.forEach=function(p,r){r===void 0&&(r=null);for(var h=0,O=this.__entries__;h<O.length;h++){var l=O[h];p.call(r,l[1],l[0])}},d}()}(),i=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,N=function(){return typeof t.g!="undefined"&&t.g.Math===Math?t.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),k=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(N):function(v){return setTimeout(function(){return v(Date.now())},1e3/60)}}(),g=2;function D(v,d){var p=!1,r=!1,h=0;function O(){p&&(p=!1,v()),r&&C()}function l(){k(O)}function C(){var G=Date.now();if(p){if(G-h<g)return;r=!0}else p=!0,r=!1,setTimeout(l,d);h=G}return C}var Z=20,I=["top","right","bottom","left","width","height","size","weight"],L=typeof MutationObserver!="undefined",z=function(){function v(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=D(this.refresh.bind(this),Z)}return v.prototype.addObserver=function(d){~this.observers_.indexOf(d)||this.observers_.push(d),this.connected_||this.connect_()},v.prototype.removeObserver=function(d){var p=this.observers_,r=p.indexOf(d);~r&&p.splice(r,1),!p.length&&this.connected_&&this.disconnect_()},v.prototype.refresh=function(){var d=this.updateObservers_();d&&this.refresh()},v.prototype.updateObservers_=function(){var d=this.observers_.filter(function(p){return p.gatherActive(),p.hasActive()});return d.forEach(function(p){return p.broadcastActive()}),d.length>0},v.prototype.connect_=function(){!i||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),L?(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)},v.prototype.disconnect_=function(){!i||!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)},v.prototype.onTransitionEnd_=function(d){var p=d.propertyName,r=p===void 0?"":p,h=I.some(function(O){return!!~r.indexOf(O)});h&&this.refresh()},v.getInstance=function(){return this.instance_||(this.instance_=new v),this.instance_},v.instance_=null,v}(),U=function(v,d){for(var p=0,r=Object.keys(d);p<r.length;p++){var h=r[p];Object.defineProperty(v,h,{value:d[h],enumerable:!1,writable:!1,configurable:!0})}return v},x=function(v){var d=v&&v.ownerDocument&&v.ownerDocument.defaultView;return d||N},o=ge(0,0,0,0);function b(v){return parseFloat(v)||0}function te(v){for(var d=[],p=1;p<arguments.length;p++)d[p-1]=arguments[p];return d.reduce(function(r,h){var O=v["border-"+h+"-width"];return r+b(O)},0)}function ie(v){for(var d=["top","right","bottom","left"],p={},r=0,h=d;r<h.length;r++){var O=h[r],l=v["padding-"+O];p[O]=b(l)}return p}function ve(v){var d=v.getBBox();return ge(0,0,d.width,d.height)}function w(v){var d=v.clientWidth,p=v.clientHeight;if(!d&&!p)return o;var r=x(v).getComputedStyle(v),h=ie(r),O=h.left+h.right,l=h.top+h.bottom,C=b(r.width),G=b(r.height);if(r.boxSizing==="border-box"&&(Math.round(C+O)!==d&&(C-=te(r,"left","right")+O),Math.round(G+l)!==p&&(G-=te(r,"top","bottom")+l)),!me(v)){var K=Math.round(C+O)-d,V=Math.round(G+l)-p;Math.abs(K)!==1&&(C-=K),Math.abs(V)!==1&&(G-=V)}return ge(h.left,h.top,C,G)}var W=function(){return typeof SVGGraphicsElement!="undefined"?function(v){return v instanceof x(v).SVGGraphicsElement}:function(v){return v instanceof x(v).SVGElement&&typeof v.getBBox=="function"}}();function me(v){return v===x(v).document.documentElement}function Ne(v){return i?W(v)?ve(v):w(v):o}function J(v){var d=v.x,p=v.y,r=v.width,h=v.height,O=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,l=Object.create(O.prototype);return U(l,{x:d,y:p,width:r,height:h,top:p,right:d+r,bottom:h+p,left:d}),l}function ge(v,d,p,r){return{x:v,y:d,width:p,height:r}}var H=function(){function v(d){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=ge(0,0,0,0),this.target=d}return v.prototype.isActive=function(){var d=Ne(this.target);return this.contentRect_=d,d.width!==this.broadcastWidth||d.height!==this.broadcastHeight},v.prototype.broadcastRect=function(){var d=this.contentRect_;return this.broadcastWidth=d.width,this.broadcastHeight=d.height,d},v}(),M=function(){function v(d,p){var r=J(p);U(this,{target:d,contentRect:r})}return v}(),q=function(){function v(d,p,r){if(this.activeObservations_=[],this.observations_=new u,typeof d!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=d,this.controller_=p,this.callbackCtx_=r}return v.prototype.observe=function(d){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(d instanceof x(d).Element))throw new TypeError('parameter 1 is not of type "Element".');var p=this.observations_;p.has(d)||(p.set(d,new H(d)),this.controller_.addObserver(this),this.controller_.refresh())}},v.prototype.unobserve=function(d){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(d instanceof x(d).Element))throw new TypeError('parameter 1 is not of type "Element".');var p=this.observations_;p.has(d)&&(p.delete(d),p.size||this.controller_.removeObserver(this))}},v.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},v.prototype.gatherActive=function(){var d=this;this.clearActive(),this.observations_.forEach(function(p){p.isActive()&&d.activeObservations_.push(p)})},v.prototype.broadcastActive=function(){if(this.hasActive()){var d=this.callbackCtx_,p=this.activeObservations_.map(function(r){return new M(r.target,r.broadcastRect())});this.callback_.call(d,p,d),this.clearActive()}},v.prototype.clearActive=function(){this.activeObservations_.splice(0)},v.prototype.hasActive=function(){return this.activeObservations_.length>0},v}(),Q=typeof WeakMap!="undefined"?new WeakMap:new u,ce=function(){function v(d){if(!(this instanceof v))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var p=z.getInstance(),r=new q(d,p,this);Q.set(this,r)}return v}();["observe","unobserve","disconnect"].forEach(function(v){ce.prototype[v]=function(){var d;return(d=Q.get(this))[v].apply(d,arguments)}});var A=function(){return typeof N.ResizeObserver!="undefined"?N.ResizeObserver:ce}();oe.Z=A}}]);