(self.webpackChunk=self.webpackChunk||[]).push([[5650],{84105:function(ht,$e,r){"use strict";r.d($e,{Z:function(){return B}});var o=r(60499),E=r(59301),v={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"},fe=v,L=r(7657),D=function(M,ce){return E.createElement(L.Z,(0,o.Z)({},M,{ref:ce,icon:fe}))},S=E.forwardRef(D),B=S},18785:function(ht,$e,r){"use strict";r.d($e,{Z:function(){return B}});var o=r(60499),E=r(59301),v={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"},fe=v,L=r(7657),D=function(M,ce){return E.createElement(L.Z,(0,o.Z)({},M,{ref:ce,icon:fe}))},S=E.forwardRef(D),B=S},73331:function(ht,$e,r){"use strict";r.d($e,{Z:function(){return B}});var o=r(60499),E=r(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},fe=v,L=r(7657),D=function(M,ce){return E.createElement(L.Z,(0,o.Z)({},M,{ref:ce,icon:fe}))},S=E.forwardRef(D),B=S},15277:function(ht,$e,r){"use strict";r.d($e,{Z:function(){return B}});var o=r(60499),E=r(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},fe=v,L=r(7657),D=function(M,ce){return E.createElement(L.Z,(0,o.Z)({},M,{ref:ce,icon:fe}))},S=E.forwardRef(D),B=S},33853:function(ht,$e,r){"use strict";r.d($e,{Z:function(){return B}});var o=r(60499),E=r(59301),v={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"},fe=v,L=r(7657),D=function(M,ce){return E.createElement(L.Z,(0,o.Z)({},M,{ref:ce,icon:fe}))},S=E.forwardRef(D),B=S},47472:function(ht,$e,r){"use strict";r.d($e,{Z:function(){return B}});var o=r(60499),E=r(59301),v={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},fe=v,L=r(7657),D=function(M,ce){return E.createElement(L.Z,(0,o.Z)({},M,{ref:ce,icon:fe}))},S=E.forwardRef(D),B=S},68196:function(ht,$e,r){"use strict";r.d($e,{Z:function(){return xe}});var o=r(85899),E=r(72190),v=r(42244),fe=r(43403),L=r(92310),D=r.n(L),S=r(29301),B=r(76846),K=r(96452),M=r(6089),ce=r(80402),ge=r(34280),h=r(49658),F=r(59301),Ke=r(60499),Ve=r(77900),Ue=r(8654);function Ie(y){var w=y.prefixCls,m=y.align,k=y.arrow,x=y.arrowPos,p=k||{},l=p.className,Z=p.content,O=x.x,Q=O===void 0?0:O,le=x.y,ue=le===void 0?0:le,ne=F.useRef();if(!m||!m.points)return null;var he={position:"absolute"};if(m.autoArrow!==!1){var Se=m.points[0],Ae=m.points[1],ie=Se[0],Te=Se[1],ze=Ae[0],Me=Ae[1];ie===ze||!["t","b"].includes(ie)?he.top=ue:ie==="t"?he.top=0:he.bottom=0,Te===Me||!["l","r"].includes(Te)?he.left=Q:Te==="l"?he.left=0:he.right=0}return F.createElement("div",{ref:ne,className:D()("".concat(w,"-arrow"),l),style:he},Z)}function u(y){var w=y.prefixCls,m=y.open,k=y.zIndex,x=y.mask,p=y.motion;return x?F.createElement(Ve.default,(0,Ke.Z)({},p,{motionAppear:!0,visible:m,removeOnLeave:!0}),function(l){var Z=l.className;return F.createElement("div",{style:{zIndex:k},className:D()("".concat(w,"-mask"),Z)})}):null}var J=F.memo(function(y){var w=y.children;return w},function(y,w){return w.cache}),d=J,c=F.forwardRef(function(y,w){var m=y.popup,k=y.className,x=y.prefixCls,p=y.style,l=y.target,Z=y.onVisibleChanged,O=y.open,Q=y.keepDom,le=y.fresh,ue=y.onClick,ne=y.mask,he=y.arrow,Se=y.arrowPos,Ae=y.align,ie=y.motion,Te=y.maskMotion,ze=y.forceRender,Me=y.getPopupContainer,ye=y.autoDestroy,Ee=y.portal,be=y.zIndex,_e=y.onMouseEnter,Ye=y.onMouseLeave,Oe=y.onPointerEnter,Le=y.onPointerDownCapture,gt=y.ready,He=y.offsetX,Pe=y.offsetY,et=y.offsetR,ft=y.offsetB,Xe=y.onAlign,rt=y.onPrepare,Fe=y.stretch,tt=y.targetWidth,it=y.targetHeight,vt=typeof m=="function"?m():m,Ze=O||Q,lt=(Me==null?void 0:Me.length)>0,Ge=F.useState(!Me||!lt),wt=(0,E.Z)(Ge,2),nt=wt[0],Ct=wt[1];if((0,ge.Z)(function(){!nt&<&&l&&Ct(!0)},[nt,lt,l]),!nt)return null;var Dt="auto",Lt={left:"-1000vw",top:"-1000vh",right:Dt,bottom:Dt};if(gt||!O){var _t,qt=Ae.points,yt=Ae.dynamicInset||((_t=Ae._experimental)===null||_t===void 0?void 0:_t.dynamicInset),It=yt&&qt[0][1]==="r",$t=yt&&qt[0][0]==="b";It?(Lt.right=et,Lt.left=Dt):(Lt.left=He,Lt.right=Dt),$t?(Lt.bottom=ft,Lt.top=Dt):(Lt.top=Pe,Lt.bottom=Dt)}var ct={};return Fe&&(Fe.includes("height")&&it?ct.height=it:Fe.includes("minHeight")&&it&&(ct.minHeight=it),Fe.includes("width")&&tt?ct.width=tt:Fe.includes("minWidth")&&tt&&(ct.minWidth=tt)),O||(ct.pointerEvents="none"),F.createElement(Ee,{open:ze||Ze,getContainer:Me&&function(){return Me(l)},autoDestroy:ye},F.createElement(u,{prefixCls:x,open:O,zIndex:be,mask:ne,motion:Te}),F.createElement(S.Z,{onResize:Xe,disabled:!O},function(mt){return F.createElement(Ve.default,(0,Ke.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:ze,leavedClassName:"".concat(x,"-hidden")},ie,{onAppearPrepare:rt,onEnterPrepare:rt,visible:O,onVisibleChanged:function(Rt){var Vt;ie==null||(Vt=ie.onVisibleChanged)===null||Vt===void 0||Vt.call(ie,Rt),Z(Rt)}}),function(jt,Rt){var Vt=jt.className,un=jt.style,en=D()(x,Vt,k);return F.createElement("div",{ref:(0,Ue.sQ)(mt,w,Rt),className:en,style:(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({"--arrow-x":"".concat(Se.x||0,"px"),"--arrow-y":"".concat(Se.y||0,"px")},Lt),ct),un),{},{boxSizing:"border-box",zIndex:be},p),onMouseEnter:_e,onMouseLeave:Ye,onPointerEnter:Oe,onClick:ue,onPointerDownCapture:Le},he&&F.createElement(Ie,{prefixCls:x,arrow:he,arrowPos:Se,align:Ae}),F.createElement(d,{cache:!O&&!le},vt))})}))}),$=c,T=F.forwardRef(function(y,w){var m=y.children,k=y.getTriggerDOMNode,x=(0,Ue.Yr)(m),p=F.useCallback(function(Z){(0,Ue.mH)(w,k?k(Z):Z)},[k]),l=(0,Ue.x1)(p,(0,Ue.C4)(m));return x?F.cloneElement(m,{ref:l}):m}),f=T,Ce=F.createContext(null),se=Ce;function me(y){return y?Array.isArray(y)?y:[y]:[]}function We(y,w,m,k){return F.useMemo(function(){var x=me(m!=null?m:w),p=me(k!=null?k:w),l=new Set(x),Z=new Set(p);return y&&(l.has("hover")&&(l.delete("hover"),l.add("click")),Z.has("hover")&&(Z.delete("hover"),Z.add("click"))),[l,Z]},[y,w,m,k])}var j=r(29194);function R(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],m=arguments.length>2?arguments[2]:void 0;return m?y[0]===w[0]:y[0]===w[0]&&y[1]===w[1]}function V(y,w,m,k){for(var x=m.points,p=Object.keys(y),l=0;l
1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(y)?w:y}function N(y){return b(parseFloat(y),0)}function z(y,w){var m=(0,o.Z)({},y);return(w||[]).forEach(function(k){if(!(k instanceof HTMLBodyElement||k instanceof HTMLHtmlElement)){var x=I(k).getComputedStyle(k),p=x.overflow,l=x.overflowClipMargin,Z=x.borderTopWidth,O=x.borderBottomWidth,Q=x.borderLeftWidth,le=x.borderRightWidth,ue=k.getBoundingClientRect(),ne=k.offsetHeight,he=k.clientHeight,Se=k.offsetWidth,Ae=k.clientWidth,ie=N(Z),Te=N(O),ze=N(Q),Me=N(le),ye=b(Math.round(ue.width/Se*1e3)/1e3),Ee=b(Math.round(ue.height/ne*1e3)/1e3),be=(Se-Ae-ze-Me)*ye,_e=(ne-he-ie-Te)*Ee,Ye=ie*Ee,Oe=Te*Ee,Le=ze*ye,gt=Me*ye,He=0,Pe=0;if(p==="clip"){var et=N(l);He=et*ye,Pe=et*Ee}var ft=ue.x+Le-He,Xe=ue.y+Ye-Pe,rt=ft+ue.width+2*He-Le-gt-be,Fe=Xe+ue.height+2*Pe-Ye-Oe-_e;m.left=Math.max(m.left,ft),m.top=Math.max(m.top,Xe),m.right=Math.min(m.right,rt),m.bottom=Math.min(m.bottom,Fe)}}),m}function G(y){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,m="".concat(w),k=m.match(/^(.*)\%$/);return k?y*(parseFloat(k[1])/100):parseFloat(m)}function ve(y,w){var m=w||[],k=(0,E.Z)(m,2),x=k[0],p=k[1];return[G(y.width,x),G(y.height,p)]}function we(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[y[0],y[1]]}function U(y,w){var m=w[0],k=w[1],x,p;return m==="t"?p=y.y:m==="b"?p=y.y+y.height:p=y.y+y.height/2,k==="l"?x=y.x:k==="r"?x=y.x+y.width:x=y.x+y.width/2,{x,y:p}}function q(y,w){var m={t:"b",b:"t",l:"r",r:"l"};return y.map(function(k,x){return x===w?m[k]||"c":k}).join("")}function Y(y,w,m,k,x,p,l){var Z=F.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:x[k]||{}}),O=(0,E.Z)(Z,2),Q=O[0],le=O[1],ue=F.useRef(0),ne=F.useMemo(function(){return w?C(w):[]},[w]),he=F.useRef({}),Se=function(){he.current={}};y||Se();var Ae=(0,M.Z)(function(){if(w&&m&&y){let nn=function(ln,En){var zn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:xn,Xn=Ze.x+ln,qn=Ze.y+En,tr=Xn+$t,Jn=qn+It,nr=Math.max(Xn,zn.left),ke=Math.max(qn,zn.top),st=Math.min(tr,zn.right),At=Math.min(Jn,zn.bottom);return Math.max(0,(st-nr)*(At-ke))},Ht=function(){Tt=Ze.y+je,Bt=Tt+It,Zt=Ze.x+Ne,Ot=Zt+$t};var ze,Me,ye,Ee,be=w,_e=be.ownerDocument,Ye=I(be),Oe=Ye.getComputedStyle(be),Le=Oe.position,gt=be.style.left,He=be.style.top,Pe=be.style.right,et=be.style.bottom,ft=be.style.overflow,Xe=(0,o.Z)((0,o.Z)({},x[k]),p),rt=_e.createElement("div");(ze=be.parentElement)===null||ze===void 0||ze.appendChild(rt),rt.style.left="".concat(be.offsetLeft,"px"),rt.style.top="".concat(be.offsetTop,"px"),rt.style.position=Le,rt.style.height="".concat(be.offsetHeight,"px"),rt.style.width="".concat(be.offsetWidth,"px"),be.style.left="0",be.style.top="0",be.style.right="auto",be.style.bottom="auto",be.style.overflow="hidden";var Fe;if(Array.isArray(m))Fe={x:m[0],y:m[1],width:0,height:0};else{var tt,it,vt=m.getBoundingClientRect();vt.x=(tt=vt.x)!==null&&tt!==void 0?tt:vt.left,vt.y=(it=vt.y)!==null&&it!==void 0?it:vt.top,Fe={x:vt.x,y:vt.y,width:vt.width,height:vt.height}}var Ze=be.getBoundingClientRect(),lt=Ye.getComputedStyle(be),Ge=lt.height,wt=lt.width;Ze.x=(Me=Ze.x)!==null&&Me!==void 0?Me:Ze.left,Ze.y=(ye=Ze.y)!==null&&ye!==void 0?ye:Ze.top;var nt=_e.documentElement,Ct=nt.clientWidth,Dt=nt.clientHeight,Lt=nt.scrollWidth,_t=nt.scrollHeight,qt=nt.scrollTop,yt=nt.scrollLeft,It=Ze.height,$t=Ze.width,ct=Fe.height,mt=Fe.width,jt={left:0,top:0,right:Ct,bottom:Dt},Rt={left:-yt,top:-qt,right:Lt-yt,bottom:_t-qt},Vt=Xe.htmlRegion,un="visible",en="visibleFirst";Vt!=="scroll"&&Vt!==en&&(Vt=un);var dn=Vt===en,Mn=z(Rt,ne),Mt=z(jt,ne),xn=Vt===un?Mt:Mn,Wt=dn?Mt:xn;be.style.left="auto",be.style.top="auto",be.style.right="0",be.style.bottom="0";var Tn=be.getBoundingClientRect();be.style.left=gt,be.style.top=He,be.style.right=Pe,be.style.bottom=et,be.style.overflow=ft,(Ee=be.parentElement)===null||Ee===void 0||Ee.removeChild(rt);var Ut=b(Math.round($t/parseFloat(wt)*1e3)/1e3),gn=b(Math.round(It/parseFloat(Ge)*1e3)/1e3);if(Ut===0||gn===0||(0,B.Sh)(m)&&!(0,j.Z)(m))return;var Nn=Xe.offset,tn=Xe.targetOffset,fn=ve(Ze,Nn),P=(0,E.Z)(fn,2),ae=P[0],de=P[1],a=ve(Fe,tn),e=(0,E.Z)(a,2),n=e[0],t=e[1];Fe.x-=n,Fe.y-=t;var s=Xe.points||[],i=(0,E.Z)(s,2),g=i[0],W=i[1],ee=we(W),X=we(g),A=U(Fe,ee),H=U(Ze,X),re=(0,o.Z)({},Xe),Ne=A.x-H.x+ae,je=A.y-H.y+de,ot=nn(Ne,je),Je=nn(Ne,je,Mt),qe=U(Fe,["t","l"]),ut=U(Ze,["t","l"]),at=U(Fe,["b","r"]),bt=U(Ze,["b","r"]),xt=Xe.overflow||{},pe=xt.adjustX,dt=xt.adjustY,pt=xt.shiftX,Et=xt.shiftY,Nt=function(En){return typeof En=="boolean"?En:En>=0},Tt,Bt,Zt,Ot;Ht();var Pt=Nt(dt),St=X[0]===ee[0];if(Pt&&X[0]==="t"&&(Bt>Wt.bottom||he.current.bt)){var Xt=je;St?Xt-=It-ct:Xt=qe.y-bt.y-de;var mn=nn(Ne,Xt),vn=nn(Ne,Xt,Mt);mn>ot||mn===ot&&(!dn||vn>=Je)?(he.current.bt=!0,je=Xt,de=-de,re.points=[q(X,0),q(ee,0)]):he.current.bt=!1}if(Pt&&X[0]==="b"&&(Ttot||pn===ot&&(!dn||Gt>=Je)?(he.current.tb=!0,je=rn,de=-de,re.points=[q(X,0),q(ee,0)]):he.current.tb=!1}var kt=Nt(pe),Sn=X[1]===ee[1];if(kt&&X[1]==="l"&&(Ot>Wt.right||he.current.rl)){var cn=Ne;Sn?cn-=$t-mt:cn=qe.x-bt.x-ae;var bn=nn(cn,je),Yt=nn(cn,je,Mt);bn>ot||bn===ot&&(!dn||Yt>=Je)?(he.current.rl=!0,Ne=cn,ae=-ae,re.points=[q(X,1),q(ee,1)]):he.current.rl=!1}if(kt&&X[1]==="r"&&(Ztot||yn===ot&&(!dn||Pn>=Je)?(he.current.lr=!0,Ne=an,ae=-ae,re.points=[q(X,1),q(ee,1)]):he.current.lr=!1}Ht();var on=pt===!0?0:pt;typeof on=="number"&&(ZtMt.right&&(Ne-=Ot-Mt.right-ae,Fe.x>Mt.right-on&&(Ne+=Fe.x-Mt.right+on)));var hn=Et===!0?0:Et;typeof hn=="number"&&(TtMt.bottom&&(je-=Bt-Mt.bottom-de,Fe.y>Mt.bottom-hn&&(je+=Fe.y-Mt.bottom+hn)));var In=Ze.x+Ne,Dn=In+$t,Zn=Ze.y+je,jn=Zn+It,Ln=Fe.x,Bn=Ln+mt,Vn=Fe.y,Gn=Vn+ct,Wn=Math.max(In,Ln),Cn=Math.min(Dn,Bn),Yn=(Wn+Cn)/2,Qn=Yn-In,Hn=Math.max(Zn,Vn),Un=Math.min(jn,Gn),Fn=(Hn+Un)/2,An=Fn-Zn;l==null||l(w,re);var sn=Tn.right-Ze.x-(Ne+Ze.width),wn=Tn.bottom-Ze.y-(je+Ze.height);Ut===1&&(Ne=Math.floor(Ne),sn=Math.floor(sn)),gn===1&&(je=Math.floor(je),wn=Math.floor(wn));var Kn={ready:!0,offsetX:Ne/Ut,offsetY:je/gn,offsetR:sn/Ut,offsetB:wn/gn,arrowX:Qn/Ut,arrowY:An/gn,scaleX:Ut,scaleY:gn,align:re};le(Kn)}}),ie=function(){ue.current+=1;var Me=ue.current;Promise.resolve().then(function(){ue.current===Me&&Ae()})},Te=function(){le(function(Me){return(0,o.Z)((0,o.Z)({},Me),{},{ready:!1})})};return(0,ge.Z)(Te,[k]),(0,ge.Z)(function(){y||Te()},[y]),[Q.ready,Q.offsetX,Q.offsetY,Q.offsetR,Q.offsetB,Q.arrowX,Q.arrowY,Q.scaleX,Q.scaleY,Q.align,ie]}var De=r(77654);function Be(y,w,m,k,x){(0,ge.Z)(function(){if(y&&w&&m){let ue=function(){k(),x()};var p=w,l=m,Z=C(p),O=C(l),Q=I(l),le=new Set([Q].concat((0,De.Z)(Z),(0,De.Z)(O)));return le.forEach(function(ne){ne.addEventListener("scroll",ue,{passive:!0})}),Q.addEventListener("resize",ue,{passive:!0}),k(),function(){le.forEach(function(ne){ne.removeEventListener("scroll",ue),Q.removeEventListener("resize",ue)})}}},[y,w,m])}var Re=r(48736);function oe(y,w,m,k,x,p,l,Z){var O=F.useRef(y);O.current=y;var Q=F.useRef(!1);F.useEffect(function(){if(w&&k&&(!x||p)){var ue=function(){Q.current=!1},ne=function(ye){var Ee;O.current&&!l(((Ee=ye.composedPath)===null||Ee===void 0||(Ee=Ee.call(ye))===null||Ee===void 0?void 0:Ee[0])||ye.target)&&!Q.current&&Z(!1)},he=I(k);he.addEventListener("pointerdown",ue,!0),he.addEventListener("mousedown",ne,!0),he.addEventListener("contextmenu",ne,!0);var Se=(0,K.A)(m);if(Se&&(Se.addEventListener("mousedown",ne,!0),Se.addEventListener("contextmenu",ne,!0)),0)var Ae,ie,Te,ze;return function(){he.removeEventListener("pointerdown",ue,!0),he.removeEventListener("mousedown",ne,!0),he.removeEventListener("contextmenu",ne,!0),Se&&(Se.removeEventListener("mousedown",ne,!0),Se.removeEventListener("contextmenu",ne,!0))}}},[w,m,k,x,p]);function le(){Q.current=!0}return le}var Qe=["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 te(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:fe.Z,w=F.forwardRef(function(m,k){var x=m.prefixCls,p=x===void 0?"rc-trigger-popup":x,l=m.children,Z=m.action,O=Z===void 0?"hover":Z,Q=m.showAction,le=m.hideAction,ue=m.popupVisible,ne=m.defaultPopupVisible,he=m.onPopupVisibleChange,Se=m.afterPopupVisibleChange,Ae=m.mouseEnterDelay,ie=m.mouseLeaveDelay,Te=ie===void 0?.1:ie,ze=m.focusDelay,Me=m.blurDelay,ye=m.mask,Ee=m.maskClosable,be=Ee===void 0?!0:Ee,_e=m.getPopupContainer,Ye=m.forceRender,Oe=m.autoDestroy,Le=m.destroyPopupOnHide,gt=m.popup,He=m.popupClassName,Pe=m.popupStyle,et=m.popupPlacement,ft=m.builtinPlacements,Xe=ft===void 0?{}:ft,rt=m.popupAlign,Fe=m.zIndex,tt=m.stretch,it=m.getPopupClassNameFromAlign,vt=m.fresh,Ze=m.alignPoint,lt=m.onPopupClick,Ge=m.onPopupAlign,wt=m.arrow,nt=m.popupMotion,Ct=m.maskMotion,Dt=m.popupTransitionName,Lt=m.popupAnimation,_t=m.maskTransitionName,qt=m.maskAnimation,yt=m.className,It=m.getTriggerDOMNode,$t=(0,v.Z)(m,Qe),ct=Oe||Le||!1,mt=F.useState(!1),jt=(0,E.Z)(mt,2),Rt=jt[0],Vt=jt[1];(0,ge.Z)(function(){Vt((0,h.Z)())},[]);var un=F.useRef({}),en=F.useContext(se),dn=F.useMemo(function(){return{registerSubPopup:function(st,At){un.current[st]=At,en==null||en.registerSubPopup(st,At)}}},[en]),Mn=(0,ce.Z)(),Mt=F.useState(null),xn=(0,E.Z)(Mt,2),Wt=xn[0],Tn=xn[1],Ut=F.useRef(null),gn=(0,M.Z)(function(ke){Ut.current=ke,(0,B.Sh)(ke)&&Wt!==ke&&Tn(ke),en==null||en.registerSubPopup(Mn,ke)}),Nn=F.useState(null),tn=(0,E.Z)(Nn,2),fn=tn[0],P=tn[1],ae=F.useRef(null),de=(0,M.Z)(function(ke){(0,B.Sh)(ke)&&fn!==ke&&(P(ke),ae.current=ke)}),a=F.Children.only(l),e=(a==null?void 0:a.props)||{},n={},t=(0,M.Z)(function(ke){var st,At,Qt=fn;return(Qt==null?void 0:Qt.contains(ke))||((st=(0,K.A)(Qt))===null||st===void 0?void 0:st.host)===ke||ke===Qt||(Wt==null?void 0:Wt.contains(ke))||((At=(0,K.A)(Wt))===null||At===void 0?void 0:At.host)===ke||ke===Wt||Object.values(un.current).some(function(Ft){return(Ft==null?void 0:Ft.contains(ke))||ke===Ft})}),s=_(p,nt,Lt,Dt),i=_(p,Ct,qt,_t),g=F.useState(ne||!1),W=(0,E.Z)(g,2),ee=W[0],X=W[1],A=ue!=null?ue:ee,H=(0,M.Z)(function(ke){ue===void 0&&X(ke)});(0,ge.Z)(function(){X(ue||!1)},[ue]);var re=F.useRef(A);re.current=A;var Ne=F.useRef([]);Ne.current=[];var je=(0,M.Z)(function(ke){var st;H(ke),((st=Ne.current[Ne.current.length-1])!==null&&st!==void 0?st:A)!==ke&&(Ne.current.push(ke),he==null||he(ke))}),ot=F.useRef(),Je=function(){clearTimeout(ot.current)},qe=function(st){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Je(),At===0?je(st):ot.current=setTimeout(function(){je(st)},At*1e3)};F.useEffect(function(){return Je},[]);var ut=F.useState(!1),at=(0,E.Z)(ut,2),bt=at[0],xt=at[1];(0,ge.Z)(function(ke){(!ke||A)&&xt(!0)},[A]);var pe=F.useState(null),dt=(0,E.Z)(pe,2),pt=dt[0],Et=dt[1],Nt=F.useState(null),Tt=(0,E.Z)(Nt,2),Bt=Tt[0],Zt=Tt[1],Ot=function(st){Zt([st.clientX,st.clientY])},Pt=Y(A,Wt,Ze&&Bt!==null?Bt:fn,et,Xe,rt,Ge),St=(0,E.Z)(Pt,11),Xt=St[0],mn=St[1],vn=St[2],rn=St[3],pn=St[4],Gt=St[5],kt=St[6],Sn=St[7],cn=St[8],bn=St[9],Yt=St[10],an=We(Rt,O,Q,le),yn=(0,E.Z)(an,2),Pn=yn[0],on=yn[1],hn=Pn.has("click"),In=on.has("click")||on.has("contextMenu"),Dn=(0,M.Z)(function(){bt||Yt()}),Zn=function(){re.current&&Ze&&In&&qe(!1)};Be(A,fn,Wt,Dn,Zn),(0,ge.Z)(function(){Dn()},[Bt,et]),(0,ge.Z)(function(){A&&!(Xe!=null&&Xe[et])&&Dn()},[JSON.stringify(rt)]);var jn=F.useMemo(function(){var ke=V(Xe,p,bn,Ze);return D()(ke,it==null?void 0:it(bn))},[bn,it,Xe,p,Ze]);F.useImperativeHandle(k,function(){return{nativeElement:ae.current,popupElement:Ut.current,forceAlign:Dn}});var Ln=F.useState(0),Bn=(0,E.Z)(Ln,2),Vn=Bn[0],Gn=Bn[1],Wn=F.useState(0),Cn=(0,E.Z)(Wn,2),Yn=Cn[0],Qn=Cn[1],Hn=function(){if(tt&&fn){var st=fn.getBoundingClientRect();Gn(st.width),Qn(st.height)}},Un=function(){Hn(),Dn()},Fn=function(st){xt(!1),Yt(),Se==null||Se(st)},An=function(){return new Promise(function(st){Hn(),Et(function(){return st})})};(0,ge.Z)(function(){pt&&(Yt(),pt(),Et(null))},[pt]);function sn(ke,st,At,Qt){n[ke]=function(Ft){var kn;Qt==null||Qt(Ft),qe(st,At);for(var Rn=arguments.length,or=new Array(Rn>1?Rn-1:0),er=1;er1?At-1:0),Ft=1;Ft1?At-1:0),Ft=1;Ft{var d={};for(var c in u)h.call(u,c)&&J.indexOf(c)<0&&(d[c]=u[c]);if(u!=null&&ge)for(var c of ge(u))J.indexOf(c)<0&&F.call(u,c)&&(d[c]=u[c]);return d},Ve=(u,J,d)=>new Promise((c,$)=>{var T=se=>{try{Ce(d.next(se))}catch(me){$(me)}},f=se=>{try{Ce(d.throw(se))}catch(me){$(me)}},Ce=se=>se.done?c(se.value):Promise.resolve(se.value).then(T,f);Ce((d=d.apply(u,J)).next())});const Ue=u=>{var J=u,{globalSetting:d,loading:c,dispatch:$}=J,T=Ke(J,["globalSetting","loading","dispatch"]);const[f,Ce]=(0,o.useState)(),[se,me]=(0,o.useState)(),[We,j]=(0,o.useState)(),[R,V]=(0,o.useState)(""),_=(0,o.useRef)(null),[I,C]=(0,o.useState)(""),{identifier:b,Teannameid:N}=(0,E.useParams)(),[z,G]=(0,o.useState)("");(0,o.useEffect)(()=>{function q(){return Ve(this,null,function*(){var Y,De,Be,Re;Ce(yield $({type:"competitions/getHeader",payload:{identifier:b}}));let oe=yield $({type:"competitions/getTeamDetail",payload:{identifier:b,Teannameid:N}});oe&&(me((Y=oe==null?void 0:oe.data)==null?void 0:Y.name),C(`${(De=M.Z)==null?void 0:De.IMG_SERVER}/${(Be=oe==null?void 0:oe.data)==null?void 0:Be.team_log}`),G((Re=oe==null?void 0:oe.data)==null?void 0:Re.team_log))})}b&&q()},[b]),(0,o.useEffect)(()=>{(0,ce.Dk)("\u5728\u7EBF\u7ADE\u8D5B")});function ve(){j(_.current.getCroppedCanvas().toDataURL())}function we(){return Ve(this,null,function*(){var q,Y;if(!se){D.ZP.info("\u961F\u4F0D\u540D\u4E0D\u80FD\u4E3A\u7A7A");return}let De=yield $({type:"competitions/UpTeam",payload:{identifier:b,Teannameid:N,name:se,image:((Y=(q=_==null?void 0:_.current)==null?void 0:q.getCroppedCanvas())==null?void 0:Y.toDataURL("image/jpeg"))||""}});(De==null?void 0:De.status)===0&&(D.ZP.info("\u4FEE\u6539\u6210\u529F"),E.history.push(`/competitions/${b}/detail/enroll`))})}function U(q){const Y=q.target.files[0];if(Y&&Y.size>2*1024*1024){D.ZP.info("\u4EC5\u652F\u6301\u6587\u4EF6\u5927\u5C0F\u5C0F\u4E8E2M\u7684\u6587\u4EF6");return}var De=new FileReader;De.readAsBinaryString(Y),De.onload=()=>{let Be=btoa(De.result);C(`data:${Y.type};base64,${Be}`)},De.onerror=function(){}}return o.createElement("div",{className:"edu-container minH500"},o.createElement(S.Z,{className:"mt10",separator:">"},o.createElement(S.Z.Item,null,o.createElement(E.Link,{to:"/competitions/index"},"\u5728\u7EBF\u7ADE\u8D5B")),o.createElement(S.Z.Item,null,o.createElement(E.Link,{to:`/competitions/${b}/`},f&&f.name,f&&f.sub_title?"-"+f&&f.sub_title:null)),o.createElement(S.Z.Item,null,o.createElement(E.Link,{to:`/competitions/${b}/detail/enroll`},"\u62A5\u540D")),o.createElement(S.Z.Item,null,"\u7F16\u8F91\u6218\u961F\u4FE1\u606F")),o.createElement("div",{className:v.Selecttext},"\u7F16\u8F91\u6218\u961F"),o.createElement("div",{className:v.Updatecount},o.createElement("span",{style:{fontSize:"14px",color:"#F73737"}},"*"),"\u961F\u540D\uFF1A",o.createElement("p",{style:{marginTop:"15px",marginLeft:"8px",width:"544px"}},o.createElement(B.default,{placeholder:"\u8BF7\u8F93\u5165\u961F\u540D",value:se,maxLength:60,addonAfter:se!=null&&se.length?String(se&&se.length)+"/60":"0/60",onChange:q=>me(q.target.value)})),o.createElement("p",{style:{marginTop:"15px",marginLeft:"8px",width:"544px"}},o.createElement("span",null,"LOGO\uFF1A"),o.createElement("label",{id:"uploadBtn",style:{color:"#4DACFF",cursor:"pointer"}},o.createElement("input",{type:"file",className:"sr-only",id:"inputImage",name:"file",accept:"image/*",onChange:U,style:{display:"none"}}),"\u4E0A\u4F20LOGO"),"\xA0",o.createElement("span",null,"(\u652F\u6301jpg\u3001gif\u3001png\u683C\u5F0F\u7684\u56FE\u7247\uFF0C\u5EFA\u8BAE\u6587\u4EF6\u5C0F\u4E8E2M)")),o.createElement("div",{style:{marginTop:"15px",marginLeft:"8px",display:"flex"}},We?o.createElement("img",{className:v.Spanradius,src:We}):R?o.createElement("img",{className:v.Spanradius}):o.createElement("div",{className:v.Spanradius},se&&se.length>2?se&&se.substring(0,2):se),o.createElement(fe.Z,{style:{width:"320px",height:"320px",marginLeft:"30px",background:"#EEEEEE"},src:I,guides:!1,ref:_,crop:ve}))),o.createElement("div",{style:{marginTop:"15px",marginBottom:"15px"}},o.createElement(K.ZP,{type:"primary",onClick:()=>we()},"\u786E\u5B9A"),o.createElement(K.ZP,{style:{marginLeft:"15px"}},o.createElement(E.Link,{to:`/competitions/${b}/detail/enroll`},"\u53D6\u6D88"))))};var Ie=(0,E.connect)(({loading:u,globalSetting:J})=>({globalSetting:J,loading:u.models.competitions}))(Ue)},29509:function(ht,$e,r){"use strict";r.d($e,{o2:function(){return L},yT:function(){return D}});var o=r(77654),E=r(34998);const v=E.i.map(S=>`${S}-inverse`),fe=["success","processing","error","default","warning"];function L(S){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,o.Z)(v),(0,o.Z)(E.i)).includes(S):E.i.includes(S)}function D(S){return fe.includes(S)}},86013:function(ht,$e,r){"use strict";var o=r(59301),E=r(19248);const v=fe=>{let L;return typeof fe=="object"&&(fe!=null&&fe.clearIcon)?L=fe:fe&&(L={clearIcon:o.createElement(E.Z,null)}),L};$e.Z=v},52838:function(ht,$e,r){"use strict";r.d($e,{Z:function(){return D}});var o=r(37645);function E(S,B,K,M){if(M===!1)return{adjustX:!1,adjustY:!1};const ce=M&&typeof M=="object"?M:{},ge={};switch(S){case"top":case"bottom":ge.shiftX=B.arrowOffsetHorizontal*2+K,ge.shiftY=!0,ge.adjustY=!0;break;case"left":case"right":ge.shiftY=B.arrowOffsetVertical*2+K,ge.shiftX=!0,ge.adjustX=!0;break}const h=Object.assign(Object.assign({},ge),ce);return h.shiftX||(h.adjustX=!0),h.shiftY||(h.adjustY=!0),h}const v={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"]}},fe={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"]}},L=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function D(S){const{arrowWidth:B,autoAdjustOverflow:K,arrowPointAtCenter:M,offset:ce,borderRadius:ge,visibleFirst:h}=S,F=B/2,Ke={};return Object.keys(v).forEach(Ve=>{const Ue=M&&fe[Ve]||v[Ve],Ie=Object.assign(Object.assign({},Ue),{offset:[0,0],dynamicInset:!0});switch(Ke[Ve]=Ie,L.has(Ve)&&(Ie.autoArrow=!1),Ve){case"top":case"topLeft":case"topRight":Ie.offset[1]=-F-ce;break;case"bottom":case"bottomLeft":case"bottomRight":Ie.offset[1]=F+ce;break;case"left":case"leftTop":case"leftBottom":Ie.offset[0]=-F-ce;break;case"right":case"rightTop":case"rightBottom":Ie.offset[0]=F+ce;break}const u=(0,o.wZ)({contentRadius:ge,limitVerticalRadius:!0});if(M)switch(Ve){case"topLeft":case"bottomLeft":Ie.offset[0]=-u.arrowOffsetHorizontal-F;break;case"topRight":case"bottomRight":Ie.offset[0]=u.arrowOffsetHorizontal+F;break;case"leftTop":case"rightTop":Ie.offset[1]=-u.arrowOffsetHorizontal*2+F;break;case"leftBottom":case"rightBottom":Ie.offset[1]=u.arrowOffsetHorizontal*2-F;break}Ie.overflow=E(Ve,u,B,K),h&&(Ie.htmlRegion="visibleFirst")}),Ke}},82855:function(ht,$e,r){"use strict";r.d($e,{F:function(){return L},Z:function(){return fe}});var o=r(92310),E=r.n(o);const v=null;function fe(D,S,B){return E()({[`${D}-status-success`]:S==="success",[`${D}-status-warning`]:S==="warning",[`${D}-status-error`]:S==="error",[`${D}-status-validating`]:S==="validating",[`${D}-has-feedback`]:B})}const L=(D,S)=>S||D},91882:function(ht,$e,r){"use strict";r.d($e,{Z:function(){return I}});var o=r(59301),E=r(92310),v=r.n(E),fe=r(11592),L=r(26112),D=r(22703),S=r(48755),B=r(84105),K=r(19563);const M=C=>{let{children:b}=C;const{getPrefixCls:N}=o.useContext(S.E_),z=N("breadcrumb");return o.createElement("li",{className:`${z}-separator`,"aria-hidden":"true"},b===""?b:b||"/")};M.__ANT_BREADCRUMB_SEPARATOR=!0;var ce=M,ge=function(C,b){var N={};for(var z in C)Object.prototype.hasOwnProperty.call(C,z)&&b.indexOf(z)<0&&(N[z]=C[z]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,z=Object.getOwnPropertySymbols(C);Gb[G]||z)}function F(C,b,N,z){if(N==null)return null;const{className:G,onClick:ve}=b,we=ge(b,["className","onClick"]),U=Object.assign(Object.assign({},(0,L.Z)(we,{data:!0,aria:!0})),{onClick:ve});return z!==void 0?o.createElement("a",Object.assign({},U,{className:v()(`${C}-link`,G),href:z}),N):o.createElement("span",Object.assign({},U,{className:v()(`${C}-link`,G)}),N)}function Ke(C,b){return(z,G,ve,we,U)=>{if(b)return b(z,G,ve,we);const q=h(z,G);return F(C,z,q,U)}}var Ve=function(C,b){var N={};for(var z in C)Object.prototype.hasOwnProperty.call(C,z)&&b.indexOf(z)<0&&(N[z]=C[z]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,z=Object.getOwnPropertySymbols(C);G{const{prefixCls:b,separator:N="/",children:z,menu:G,overlay:ve,dropdownProps:we,href:U}=C,Y=(De=>{if(G||ve){const Be=Object.assign({},we);if(G){const Re=G||{},{items:oe}=Re,Qe=Ve(Re,["items"]);Be.menu=Object.assign(Object.assign({},Qe),{items:oe==null?void 0:oe.map((te,xe)=>{var{key:y,title:w,label:m,path:k}=te,x=Ve(te,["key","title","label","path"]);let p=m!=null?m:w;return k&&(p=o.createElement("a",{href:`${U}${k}`},p)),Object.assign(Object.assign({},x),{key:y!=null?y:xe,label:p})})})}else ve&&(Be.overlay=ve);return o.createElement(K.Z,Object.assign({placement:"bottom"},Be),o.createElement("span",{className:`${b}-overlay-link`},De,o.createElement(B.Z,null)))}return De})(z);return Y!=null?o.createElement(o.Fragment,null,o.createElement("li",null,Y),N&&o.createElement(ce,null,N)):null},Ie=C=>{const{prefixCls:b,children:N,href:z}=C,G=Ve(C,["prefixCls","children","href"]),{getPrefixCls:ve}=o.useContext(S.E_),we=ve("breadcrumb",b);return o.createElement(Ue,Object.assign({},G,{prefixCls:we}),F(we,G,N,z))};Ie.__ANT_BREADCRUMB_ITEM=!0;var u=Ie,J=r(36237),d=r(63356),c=r(16931),$=r(51636);const T=C=>{const{componentCls:b,iconCls:N,calc:z}=C;return{[b]:Object.assign(Object.assign({},(0,d.Wf)(C)),{color:C.itemColor,fontSize:C.fontSize,[N]:{fontSize:C.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:C.linkColor,transition:`color ${C.motionDurationMid}`,padding:`0 ${(0,J.unit)(C.paddingXXS)}`,borderRadius:C.borderRadiusSM,height:C.fontHeight,display:"inline-block",marginInline:z(C.marginXXS).mul(-1).equal(),"&:hover":{color:C.linkHoverColor,backgroundColor:C.colorBgTextHover}},(0,d.Qy)(C)),"li:last-child":{color:C.lastItemColor},[`${b}-separator`]:{marginInline:C.separatorMargin,color:C.separatorColor},[`${b}-link`]:{[`
> ${N} + span,
> ${N} + a
`]:{marginInlineStart:C.marginXXS}},[`${b}-overlay-link`]:{borderRadius:C.borderRadiusSM,height:C.fontHeight,display:"inline-block",padding:`0 ${(0,J.unit)(C.paddingXXS)}`,marginInline:z(C.marginXXS).mul(-1).equal(),[`> ${N}`]:{marginInlineStart:C.marginXXS,fontSize:C.fontSizeIcon},"&:hover":{color:C.linkHoverColor,backgroundColor:C.colorBgTextHover,a:{color:C.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${C.componentCls}-rtl`]:{direction:"rtl"}})}},f=C=>({itemColor:C.colorTextDescription,lastItemColor:C.colorText,iconFontSize:C.fontSize,linkColor:C.colorTextDescription,linkHoverColor:C.colorText,separatorColor:C.colorTextDescription,separatorMargin:C.marginXS});var Ce=(0,c.I$)("Breadcrumb",C=>{const b=(0,$.mergeToken)(C,{});return T(b)},f),se=function(C,b){var N={};for(var z in C)Object.prototype.hasOwnProperty.call(C,z)&&b.indexOf(z)<0&&(N[z]=C[z]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,z=Object.getOwnPropertySymbols(C);G{var{breadcrumbName:we}=ve,U=se(ve,["breadcrumbName"]);return Object.assign(Object.assign({},U),{title:we})})}),G}function We(C,b){return(0,o.useMemo)(()=>C||(b?b.map(me):null),[C,b])}var j=function(C,b){var N={};for(var z in C)Object.prototype.hasOwnProperty.call(C,z)&&b.indexOf(z)<0&&(N[z]=C[z]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,z=Object.getOwnPropertySymbols(C);G{if(b===void 0)return b;let N=(b||"").replace(/^\//,"");return Object.keys(C).forEach(z=>{N=N.replace(`:${z}`,C[z])}),N},V=C=>{const{prefixCls:b,separator:N="/",style:z,className:G,rootClassName:ve,routes:we,items:U,children:q,itemRender:Y,params:De={}}=C,Be=j(C,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Re,direction:oe,breadcrumb:Qe}=o.useContext(S.E_);let te;const xe=Re("breadcrumb",b),[y,w,m]=Ce(xe),k=We(U,we),x=Ke(xe,Y);if(k&&k.length>0){const Z=[],O=U||we;te=k.map((Q,le)=>{const{path:ue,key:ne,type:he,menu:Se,overlay:Ae,onClick:ie,className:Te,separator:ze,dropdownProps:Me}=Q,ye=R(De,ue);ye!==void 0&&Z.push(ye);const Ee=ne!=null?ne:le;if(he==="separator")return o.createElement(ce,{key:Ee},ze);const be={},_e=le===k.length-1;Se?be.menu=Se:Ae&&(be.overlay=Ae);let{href:Ye}=Q;return Z.length&&ye!==void 0&&(Ye=`#/${Z.join("/")}`),o.createElement(Ue,Object.assign({key:Ee},be,(0,L.Z)(Q,{data:!0,aria:!0}),{className:Te,dropdownProps:Me,href:Ye,separator:_e?"":N,onClick:ie,prefixCls:xe}),x(Q,De,O,Z,Ye))})}else if(q){const Z=(0,fe.Z)(q).length;te=(0,fe.Z)(q).map((O,Q)=>{if(!O)return O;const le=Q===Z-1;return(0,D.Tm)(O,{separator:le?"":N,key:Q})})}const p=v()(xe,Qe==null?void 0:Qe.className,{[`${xe}-rtl`]:oe==="rtl"},G,ve,w,m),l=Object.assign(Object.assign({},Qe==null?void 0:Qe.style),z);return y(o.createElement("nav",Object.assign({className:p,style:l},Be),o.createElement("ol",null,te)))};V.Item=u,V.Separator=ce;var _=V,I=_},19563:function(ht,$e,r){"use strict";r.d($e,{Z:function(){return we}});var o=r(59301),E=r(33853),v=r(38819),fe=r(92310),L=r.n(fe),D=r(96478),S=r(6089),B=r(18929),K=r(2738),M=r(75030),ge=U=>typeof U!="object"&&typeof U!="function"||U===null,h=r(52838),F=r(45915),Ke=r(22703),Ve=r(32383),Ue=r(55743),Ie=r(48755),u=r(83397),J=r(93041),d=r(78857),c=r(57700),$=r(36237),T=r(63356),f=r(46e3),Ce=r(93873),se=r(34925),me=r(37645),We=r(36305),j=r(16931),R=r(51636),_=U=>{const{componentCls:q,menuCls:Y,colorError:De,colorTextLightSolid:Be}=U,Re=`${Y}-item`;return{[`${q}, ${q}-menu-submenu`]:{[`${Y} ${Re}`]:{[`&${Re}-danger:not(${Re}-disabled)`]:{color:De,"&:hover":{color:Be,backgroundColor:De}}}}}};const I=U=>{const{componentCls:q,menuCls:Y,zIndexPopup:De,dropdownArrowDistance:Be,sizePopupArrow:Re,antCls:oe,iconCls:Qe,motionDurationMid:te,paddingBlock:xe,fontSize:y,dropdownEdgeChildPadding:w,colorTextDisabled:m,fontSizeIcon:k,controlPaddingHorizontal:x,colorBgElevated:p}=U;return[{[q]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:De,display:"block","&::before":{position:"absolute",insetBlock:U.calc(Re).div(2).sub(Be).equal(),zIndex:-9999,opacity:1e-4,content:'""'},"&-menu-vertical":{maxHeight:"100vh",overflowY:"auto"},[`&-trigger${oe}-btn`]:{[`& > ${Qe}-down, & > ${oe}-btn-icon > ${Qe}-down`]:{fontSize:k}},[`${q}-wrap`]:{position:"relative",[`${oe}-btn > ${Qe}-down`]:{fontSize:k},[`${Qe}-down::before`]:{transition:`transform ${te}`}},[`${q}-wrap-open`]:{[`${Qe}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${oe}-slide-down-enter${oe}-slide-down-enter-active${q}-placement-bottomLeft,
&${oe}-slide-down-appear${oe}-slide-down-appear-active${q}-placement-bottomLeft,
&${oe}-slide-down-enter${oe}-slide-down-enter-active${q}-placement-bottom,
&${oe}-slide-down-appear${oe}-slide-down-appear-active${q}-placement-bottom,
&${oe}-slide-down-enter${oe}-slide-down-enter-active${q}-placement-bottomRight,
&${oe}-slide-down-appear${oe}-slide-down-appear-active${q}-placement-bottomRight`]:{animationName:f.fJ},[`&${oe}-slide-up-enter${oe}-slide-up-enter-active${q}-placement-topLeft,
&${oe}-slide-up-appear${oe}-slide-up-appear-active${q}-placement-topLeft,
&${oe}-slide-up-enter${oe}-slide-up-enter-active${q}-placement-top,
&${oe}-slide-up-appear${oe}-slide-up-appear-active${q}-placement-top,
&${oe}-slide-up-enter${oe}-slide-up-enter-active${q}-placement-topRight,
&${oe}-slide-up-appear${oe}-slide-up-appear-active${q}-placement-topRight`]:{animationName:f.Qt},[`&${oe}-slide-down-leave${oe}-slide-down-leave-active${q}-placement-bottomLeft,
&${oe}-slide-down-leave${oe}-slide-down-leave-active${q}-placement-bottom,
&${oe}-slide-down-leave${oe}-slide-down-leave-active${q}-placement-bottomRight`]:{animationName:f.Uw},[`&${oe}-slide-up-leave${oe}-slide-up-leave-active${q}-placement-topLeft,
&${oe}-slide-up-leave${oe}-slide-up-leave-active${q}-placement-top,
&${oe}-slide-up-leave${oe}-slide-up-leave-active${q}-placement-topRight`]:{animationName:f.ly}}},(0,me.ZP)(U,p,{arrowPlacement:{top:!0,bottom:!0}}),{[`${q} ${Y}`]:{position:"relative",margin:0},[`${Y}-submenu-popup`]:{position:"absolute",zIndex:De,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${q}, ${q}-menu-submenu`]:Object.assign(Object.assign({},(0,T.Wf)(U)),{[Y]:Object.assign(Object.assign({padding:w,listStyleType:"none",backgroundColor:p,backgroundClip:"padding-box",borderRadius:U.borderRadiusLG,outline:"none",boxShadow:U.boxShadowSecondary},(0,T.Qy)(U)),{"&:empty":{padding:0,boxShadow:"none"},[`${Y}-item-group-title`]:{padding:`${(0,$.unit)(xe)} ${(0,$.unit)(x)}`,color:U.colorTextDescription,transition:`all ${te}`},[`${Y}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${Y}-item-icon`]:{minWidth:y,marginInlineEnd:U.marginXS,fontSize:U.fontSizeSM},[`${Y}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${te}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${Y}-item-extra`]:{paddingInlineStart:U.padding,marginInlineStart:"auto",fontSize:U.fontSizeSM,color:U.colorTextDescription}},[`${Y}-item, ${Y}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${(0,$.unit)(xe)} ${(0,$.unit)(x)}`,color:U.colorText,fontWeight:"normal",fontSize:y,lineHeight:U.lineHeight,cursor:"pointer",transition:`all ${te}`,borderRadius:U.borderRadiusSM,"&:hover, &-active":{backgroundColor:U.controlItemBgHover}},(0,T.Qy)(U)),{"&-selected":{color:U.colorPrimary,backgroundColor:U.controlItemBgActive,"&:hover, &-active":{backgroundColor:U.controlItemBgActiveHover}},"&-disabled":{color:m,cursor:"not-allowed","&:hover":{color:m,backgroundColor:p,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,$.unit)(U.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:U.colorSplit},[`${q}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:U.paddingXS,[`${q}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:U.colorTextDescription,fontSize:k,fontStyle:"normal"}}}),[`${Y}-item-group-list`]:{margin:`0 ${(0,$.unit)(U.marginXS)}`,padding:0,listStyle:"none"},[`${Y}-submenu-title`]:{paddingInlineEnd:U.calc(x).add(U.fontSizeSM).equal()},[`${Y}-submenu-vertical`]:{position:"relative"},[`${Y}-submenu${Y}-submenu-disabled ${q}-menu-submenu-title`]:{[`&, ${q}-menu-submenu-arrow-icon`]:{color:m,backgroundColor:p,cursor:"not-allowed"}},[`${Y}-submenu-selected ${q}-menu-submenu-title`]:{color:U.colorPrimary}})})},[(0,f.oN)(U,"slide-up"),(0,f.oN)(U,"slide-down"),(0,Ce.Fm)(U,"move-up"),(0,Ce.Fm)(U,"move-down"),(0,se._y)(U,"zoom-big")]]},C=U=>Object.assign(Object.assign({zIndexPopup:U.zIndexPopupBase+50,paddingBlock:(U.controlHeight-U.fontSize*U.lineHeight)/2},(0,me.wZ)({contentRadius:U.borderRadiusLG,limitVerticalRadius:!0})),(0,We.w)(U));var b=(0,j.I$)("Dropdown",U=>{const{marginXXS:q,sizePopupArrow:Y,paddingXXS:De,componentCls:Be}=U,Re=(0,R.mergeToken)(U,{menuCls:`${Be}-menu`,dropdownArrowDistance:U.calc(Y).div(2).add(q).equal(),dropdownEdgeChildPadding:De});return[I(Re),_(Re)]},C,{resetStyle:!1});const N=null,z=U=>{var q;const{menu:Y,arrow:De,prefixCls:Be,children:Re,trigger:oe,disabled:Qe,dropdownRender:te,getPopupContainer:xe,overlayClassName:y,rootClassName:w,overlayStyle:m,open:k,onOpenChange:x,visible:p,onVisibleChange:l,mouseEnterDelay:Z=.15,mouseLeaveDelay:O=.1,autoAdjustOverflow:Q=!0,placement:le="",overlay:ue,transitionName:ne}=U,{getPopupContainer:he,getPrefixCls:Se,direction:Ae,dropdown:ie}=o.useContext(Ie.E_),Te=(0,Ve.ln)("Dropdown"),ze=o.useMemo(()=>{const Ge=Se();return ne!==void 0?ne:le.includes("top")?`${Ge}-slide-down`:`${Ge}-slide-up`},[Se,le,ne]),Me=o.useMemo(()=>le?le.includes("Center")?le.slice(0,le.indexOf("Center")):le:Ae==="rtl"?"bottomRight":"bottomLeft",[le,Ae]),ye=Se("dropdown",Be),Ee=(0,u.Z)(ye),[be,_e,Ye]=b(ye,Ee),[,Oe]=(0,c.ZP)(),Le=o.Children.only(ge(Re)?o.createElement("span",null,Re):Re),gt=(0,Ke.Tm)(Le,{className:L()(`${ye}-trigger`,{[`${ye}-rtl`]:Ae==="rtl"},Le.props.className),disabled:(q=Le.props.disabled)!==null&&q!==void 0?q:Qe}),He=Qe?[]:oe,Pe=!!(He!=null&&He.includes("contextMenu")),[et,ft]=(0,B.Z)(!1,{value:k!=null?k:p}),Xe=(0,S.Z)(Ge=>{x==null||x(Ge,{source:"trigger"}),l==null||l(Ge),ft(Ge)}),rt=L()(y,w,_e,Ye,Ee,ie==null?void 0:ie.className,{[`${ye}-rtl`]:Ae==="rtl"}),Fe=(0,h.Z)({arrowPointAtCenter:typeof De=="object"&&De.pointAtCenter,autoAdjustOverflow:Q,offset:Oe.marginXXS,arrowWidth:De?Oe.sizePopupArrow:0,borderRadius:Oe.borderRadius}),tt=o.useCallback(()=>{Y!=null&&Y.selectable&&(Y!=null&&Y.multiple)||(x==null||x(!1,{source:"menu"}),ft(!1))},[Y==null?void 0:Y.selectable,Y==null?void 0:Y.multiple]),it=()=>{let Ge;return Y!=null&&Y.items?Ge=o.createElement(J.default,Object.assign({},Y)):typeof ue=="function"?Ge=ue():Ge=ue,te&&(Ge=te(Ge)),Ge=o.Children.only(typeof Ge=="string"?o.createElement("span",null,Ge):Ge),o.createElement(d.J,{prefixCls:`${ye}-menu`,rootClassName:L()(Ye,Ee),expandIcon:o.createElement("span",{className:`${ye}-menu-submenu-arrow`},Ae==="rtl"?o.createElement(E.Z,{className:`${ye}-menu-submenu-arrow-icon`}):o.createElement(v.Z,{className:`${ye}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:tt,validator:wt=>{let{mode:nt}=wt}},Ge)},[vt,Ze]=(0,M.Cn)("Dropdown",m==null?void 0:m.zIndex);let lt=o.createElement(D.Z,Object.assign({alignPoint:Pe},(0,K.Z)(U,["rootClassName"]),{mouseEnterDelay:Z,mouseLeaveDelay:O,visible:et,builtinPlacements:Fe,arrow:!!De,overlayClassName:rt,prefixCls:ye,getPopupContainer:xe||he,transitionName:ze,trigger:He,overlay:it,placement:Me,onVisibleChange:Xe,overlayStyle:Object.assign(Object.assign(Object.assign({},ie==null?void 0:ie.style),m),{zIndex:vt})}),gt);return vt&&(lt=o.createElement(Ue.Z.Provider,{value:Ze},lt)),be(lt)},G=(0,F.Z)(z,"align",void 0,"dropdown",U=>U),ve=U=>o.createElement(G,Object.assign({},U),o.createElement("span",null));z._InternalPanelDoNotUseOrYouWillBeFired=ve;var we=z},24971:function(ht,$e,r){"use strict";var o=r(59301),E=r(56553),v=r(48755);const fe=function(L,D){let S=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var B,K;const{variant:M,[L]:ce}=o.useContext(v.E_),ge=o.useContext(E.pg),h=ce==null?void 0:ce.variant;let F;typeof D!="undefined"?F=D:S===!1?F="borderless":F=(K=(B=ge!=null?ge:h)!==null&&B!==void 0?B:M)!==null&&K!==void 0?K:"outlined";const Ke=v.tr.includes(F);return[F,Ke]};$e.Z=fe},49397:function(ht,$e,r){"use strict";r.d($e,{Z:function(){return d}});var o=r(59301),E=r(92310),v=r.n(E),fe=r(36901),L=r(8654),D=r(62487),S=r(86013),B=r(82855),K=r(48755),M=r(2171),ce=r(83397),ge=r(31756),h=r(56553),F=r(24971),Ke=r(70045),Ve=r(23826),Ue=r(53075);function Ie(c){return!!(c.prefix||c.suffix||c.allowClear||c.showCount)}var u=function(c,$){var T={};for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&$.indexOf(f)<0&&(T[f]=c[f]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,f=Object.getOwnPropertySymbols(c);Ce{const{prefixCls:T,bordered:f=!0,status:Ce,size:se,disabled:me,onBlur:We,onFocus:j,suffix:R,allowClear:V,addonAfter:_,addonBefore:I,className:C,style:b,styles:N,rootClassName:z,onChange:G,classNames:ve,variant:we}=c,U=u(c,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:q,direction:Y,allowClear:De,autoComplete:Be,className:Re,style:oe,classNames:Qe,styles:te}=(0,K.dj)("input"),xe=q("input",T),y=(0,o.useRef)(null),w=(0,ce.Z)(xe),[m,k,x]=(0,Ue.TI)(xe,z),[p]=(0,Ue.ZP)(xe,w),{compactSize:l,compactItemClassnames:Z}=(0,Ke.ri)(xe,Y),O=(0,ge.Z)(Oe=>{var Le;return(Le=se!=null?se:l)!==null&&Le!==void 0?Le:Oe}),Q=o.useContext(M.Z),le=me!=null?me:Q,{status:ue,hasFeedback:ne,feedbackIcon:he}=(0,o.useContext)(h.aM),Se=(0,B.F)(ue,Ce),Ae=Ie(c)||!!ne,ie=(0,o.useRef)(Ae),Te=(0,Ve.Z)(y,!0),ze=Oe=>{Te(),We==null||We(Oe)},Me=Oe=>{Te(),j==null||j(Oe)},ye=Oe=>{Te(),G==null||G(Oe)},Ee=(ne||R)&&o.createElement(o.Fragment,null,R,ne&&he),be=(0,S.Z)(V!=null?V:De),[_e,Ye]=(0,F.Z)("input",we,f);return m(p(o.createElement(fe.default,Object.assign({ref:(0,L.sQ)($,y),prefixCls:xe,autoComplete:Be},U,{disabled:le,onBlur:ze,onFocus:Me,style:Object.assign(Object.assign({},oe),b),styles:Object.assign(Object.assign({},te),N),suffix:Ee,allowClear:be,className:v()(C,z,x,w,Z,Re),onChange:ye,addonBefore:I&&o.createElement(D.Z,{form:!0,space:!0},I),addonAfter:_&&o.createElement(D.Z,{form:!0,space:!0},_),classNames:Object.assign(Object.assign(Object.assign({},ve),Qe),{input:v()({[`${xe}-sm`]:O==="small",[`${xe}-lg`]:O==="large",[`${xe}-rtl`]:Y==="rtl"},ve==null?void 0:ve.input,Qe.input,k),variant:v()({[`${xe}-${_e}`]:Ye},(0,B.Z)(xe,Se)),affixWrapper:v()({[`${xe}-affix-wrapper-sm`]:O==="small",[`${xe}-affix-wrapper-lg`]:O==="large",[`${xe}-affix-wrapper-rtl`]:Y==="rtl"},k),wrapper:v()({[`${xe}-group-rtl`]:Y==="rtl"},k),groupWrapper:v()({[`${xe}-group-wrapper-sm`]:O==="small",[`${xe}-group-wrapper-lg`]:O==="large",[`${xe}-group-wrapper-rtl`]:Y==="rtl",[`${xe}-group-wrapper-${_e}`]:Ye},(0,B.Z)(`${xe}-group-wrapper`,Se,ne),k)})}))))})},79809:function(ht,$e,r){"use strict";r.d($e,{Z:function(){return $}});var o=r(59301),E=r(92310),v=r.n(E),fe=r(22711),L=r(86013),D=r(82855),S=r(48755),B=r(2171),K=r(83397),M=r(31756),ce=r(56553),ge=r(24971),h=r(70045),F=r(30292),Ke=r(53075),Ve=r(16931),Ue=r(51636),Ie=r(64910);const u=T=>{const{componentCls:f,paddingLG:Ce}=T,se=`${f}-textarea`;return{[`textarea${f}`]:{maxWidth:"100%",height:"auto",minHeight:T.controlHeight,lineHeight:T.lineHeight,verticalAlign:"bottom",transition:`all ${T.motionDurationSlow}`,resize:"vertical",[`&${f}-mouse-active`]:{transition:`all ${T.motionDurationSlow}, height 0s, width 0s`}},[`${f}-textarea-affix-wrapper-resize-dirty`]:{width:"auto"},[se]:{position:"relative","&-show-count":{[`> ${f}`]:{height:"100%"},[`${f}-data-count`]:{position:"absolute",bottom:T.calc(T.fontSize).mul(T.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:T.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[`
&-allow-clear > ${f},
&-affix-wrapper${se}-has-feedback ${f}
`]:{paddingInlineEnd:Ce},[`&-affix-wrapper${f}-affix-wrapper`]:{padding:0,[`> textarea${f}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent",minHeight:T.calc(T.controlHeight).sub(T.calc(T.lineWidth).mul(2)).equal(),"&:focus":{boxShadow:"none !important"}},[`${f}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${f}-clear-icon`]:{position:"absolute",insetInlineEnd:T.paddingInline,insetBlockStart:T.paddingXS},[`${se}-suffix`]:{position:"absolute",top:0,insetInlineEnd:T.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${f}-affix-wrapper-sm`]:{[`${f}-suffix`]:{[`${f}-clear-icon`]:{insetInlineEnd:T.paddingInlineSM}}}}}};var J=(0,Ve.I$)(["Input","TextArea"],T=>{const f=(0,Ue.mergeToken)(T,(0,Ie.e)(T));return[u(f)]},Ie.T,{resetFont:!1}),d=function(T,f){var Ce={};for(var se in T)Object.prototype.hasOwnProperty.call(T,se)&&f.indexOf(se)<0&&(Ce[se]=T[se]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var me=0,se=Object.getOwnPropertySymbols(T);me{var Ce;const{prefixCls:se,bordered:me=!0,size:We,disabled:j,status:R,allowClear:V,classNames:_,rootClassName:I,className:C,style:b,styles:N,variant:z,showCount:G,onMouseDown:ve,onResize:we}=T,U=d(T,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant","showCount","onMouseDown","onResize"]),{getPrefixCls:q,direction:Y,allowClear:De,autoComplete:Be,className:Re,style:oe,classNames:Qe,styles:te}=(0,S.dj)("textArea"),xe=o.useContext(B.Z),y=j!=null?j:xe,{status:w,hasFeedback:m,feedbackIcon:k}=o.useContext(ce.aM),x=(0,D.F)(w,R),p=o.useRef(null);o.useImperativeHandle(f,()=>{var Ye;return{resizableTextArea:(Ye=p.current)===null||Ye===void 0?void 0:Ye.resizableTextArea,focus:Oe=>{var Le,gt;(0,F.nH)((gt=(Le=p.current)===null||Le===void 0?void 0:Le.resizableTextArea)===null||gt===void 0?void 0:gt.textArea,Oe)},blur:()=>{var Oe;return(Oe=p.current)===null||Oe===void 0?void 0:Oe.blur()}}});const l=q("input",se),Z=(0,K.Z)(l),[O,Q,le]=(0,Ke.TI)(l,I),[ue]=J(l,Z),{compactSize:ne,compactItemClassnames:he}=(0,h.ri)(l,Y),Se=(0,M.Z)(Ye=>{var Oe;return(Oe=We!=null?We:ne)!==null&&Oe!==void 0?Oe:Ye}),[Ae,ie]=(0,ge.Z)("textArea",z,me),Te=(0,L.Z)(V!=null?V:De),[ze,Me]=o.useState(!1),[ye,Ee]=o.useState(!1),be=Ye=>{Me(!0),ve==null||ve(Ye);const Oe=()=>{Me(!1),document.removeEventListener("mouseup",Oe)};document.addEventListener("mouseup",Oe)},_e=Ye=>{var Oe,Le;if(we==null||we(Ye),ze&&typeof getComputedStyle=="function"){const gt=(Le=(Oe=p.current)===null||Oe===void 0?void 0:Oe.nativeElement)===null||Le===void 0?void 0:Le.querySelector("textarea");gt&&getComputedStyle(gt).resize==="both"&&Ee(!0)}};return O(ue(o.createElement(fe.default,Object.assign({autoComplete:Be},U,{style:Object.assign(Object.assign({},oe),b),styles:Object.assign(Object.assign({},te),N),disabled:y,allowClear:Te,className:v()(le,Z,C,I,he,Re,ye&&`${l}-textarea-affix-wrapper-resize-dirty`),classNames:Object.assign(Object.assign(Object.assign({},_),Qe),{textarea:v()({[`${l}-sm`]:Se==="small",[`${l}-lg`]:Se==="large"},Q,_==null?void 0:_.textarea,Qe.textarea,ze&&`${l}-mouse-active`),variant:v()({[`${l}-${Ae}`]:ie},(0,D.Z)(l,x)),affixWrapper:v()(`${l}-textarea-affix-wrapper`,{[`${l}-affix-wrapper-rtl`]:Y==="rtl",[`${l}-affix-wrapper-sm`]:Se==="small",[`${l}-affix-wrapper-lg`]:Se==="large",[`${l}-textarea-show-count`]:G||((Ce=T.count)===null||Ce===void 0?void 0:Ce.show)},Q)}),prefixCls:l,suffix:m&&o.createElement("span",{className:`${l}-textarea-suffix`},k),showCount:G,ref:p,onResize:_e,onMouseDown:be}))))})},23826:function(ht,$e,r){"use strict";r.d($e,{Z:function(){return E}});var o=r(59301);function E(v,fe){const L=(0,o.useRef)([]),D=()=>{L.current.push(setTimeout(()=>{var S,B,K,M;!((S=v.current)===null||S===void 0)&&S.input&&((B=v.current)===null||B===void 0?void 0:B.input.getAttribute("type"))==="password"&&(!((K=v.current)===null||K===void 0)&&K.input.hasAttribute("value"))&&((M=v.current)===null||M===void 0||M.input.removeAttribute("value"))}))};return(0,o.useEffect)(()=>(fe&&D(),()=>L.current.forEach(S=>{S&&clearTimeout(S)})),[]),D}},37568:function(ht,$e,r){"use strict";r.d($e,{default:function(){return Qe}});var o=r(59301),E=r(92310),v=r.n(E),fe=r(48755),L=r(56553),D=r(53075),B=te=>{const{getPrefixCls:xe,direction:y}=(0,o.useContext)(fe.E_),{prefixCls:w,className:m}=te,k=xe("input-group",w),x=xe("input"),[p,l,Z]=(0,D.ZP)(x),O=v()(k,Z,{[`${k}-lg`]:te.size==="large",[`${k}-sm`]:te.size==="small",[`${k}-compact`]:te.compact,[`${k}-rtl`]:y==="rtl"},l,m),Q=(0,o.useContext)(L.aM),le=(0,o.useMemo)(()=>Object.assign(Object.assign({},Q),{isFormItemInput:!1}),[Q]);return p(o.createElement("span",{className:O,style:te.style,onMouseEnter:te.onMouseEnter,onMouseLeave:te.onMouseLeave,onFocus:te.onFocus,onBlur:te.onBlur},o.createElement(L.aM.Provider,{value:le},te.children)))},K=r(49397),M=r(77654),ce=r(6089),ge=r(26112),h=r(82855),F=r(31756),Ke=r(16931),Ve=r(51636),Ue=r(64910);const Ie=te=>{const{componentCls:xe,paddingXS:y}=te;return{[xe]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:y,"&-rtl":{direction:"rtl"},[`${xe}-input`]:{textAlign:"center",paddingInline:te.paddingXXS},[`&${xe}-sm ${xe}-input`]:{paddingInline:te.calc(te.paddingXXS).div(2).equal()},[`&${xe}-lg ${xe}-input`]:{paddingInline:te.paddingXS}}}};var u=(0,Ke.I$)(["Input","OTP"],te=>{const xe=(0,Ve.mergeToken)(te,(0,Ue.e)(te));return[Ie(xe)]},Ue.T),J=r(16089),d=function(te,xe){var y={};for(var w in te)Object.prototype.hasOwnProperty.call(te,w)&&xe.indexOf(w)<0&&(y[w]=te[w]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,w=Object.getOwnPropertySymbols(te);m{const{value:y,onChange:w,onActiveChange:m,index:k,mask:x}=te,p=d(te,["value","onChange","onActiveChange","index","mask"]),l=y&&typeof x=="string"?x:y,Z=ne=>{w(k,ne.target.value)},O=o.useRef(null);o.useImperativeHandle(xe,()=>O.current);const Q=()=>{(0,J.Z)(()=>{var ne;const he=(ne=O.current)===null||ne===void 0?void 0:ne.input;document.activeElement===he&&he&&he.select()})},le=ne=>{const{key:he,ctrlKey:Se,metaKey:Ae}=ne;he==="ArrowLeft"?m(k-1):he==="ArrowRight"?m(k+1):he==="z"&&(Se||Ae)&&ne.preventDefault(),Q()},ue=ne=>{ne.key==="Backspace"&&!y&&m(k-1),Q()};return o.createElement(K.Z,Object.assign({type:x===!0?"password":"text"},p,{ref:O,value:l,onInput:Z,onFocus:Q,onKeyDown:le,onKeyUp:ue,onMouseDown:Q,onMouseUp:Q}))}),T=function(te,xe){var y={};for(var w in te)Object.prototype.hasOwnProperty.call(te,w)&&xe.indexOf(w)<0&&(y[w]=te[w]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,w=Object.getOwnPropertySymbols(te);m{const{index:xe,prefixCls:y,separator:w}=te,m=typeof w=="function"?w(xe):w;return m?o.createElement("span",{className:`${y}-separator`},m):null};var me=o.forwardRef((te,xe)=>{const{prefixCls:y,length:w=6,size:m,defaultValue:k,value:x,onChange:p,formatter:l,separator:Z,variant:O,disabled:Q,status:le,autoFocus:ue,mask:ne,type:he,onInput:Se,inputMode:Ae}=te,ie=T(te,["prefixCls","length","size","defaultValue","value","onChange","formatter","separator","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:Te,direction:ze}=o.useContext(fe.E_),Me=Te("otp",y),ye=(0,ge.Z)(ie,{aria:!0,data:!0,attr:!0}),[Ee,be,_e]=u(Me),Ye=(0,F.Z)(Ze=>m!=null?m:Ze),Oe=o.useContext(L.aM),Le=(0,h.F)(Oe.status,le),gt=o.useMemo(()=>Object.assign(Object.assign({},Oe),{status:Le,hasFeedback:!1,feedbackIcon:null}),[Oe,Le]),He=o.useRef(null),Pe=o.useRef({});o.useImperativeHandle(xe,()=>({focus:()=>{var Ze;(Ze=Pe.current[0])===null||Ze===void 0||Ze.focus()},blur:()=>{var Ze;for(let lt=0;ltl?l(Ze):Ze,[ft,Xe]=o.useState(()=>f(et(k||"")));o.useEffect(()=>{x!==void 0&&Xe(f(x))},[x]);const rt=(0,ce.Z)(Ze=>{Xe(Ze),Se&&Se(Ze),p&&Ze.length===w&&Ze.every(lt=>lt)&&Ze.some((lt,Ge)=>ft[Ge]!==lt)&&p(Ze.join(""))}),Fe=(0,ce.Z)((Ze,lt)=>{let Ge=(0,M.Z)(ft);for(let nt=0;nt=0&&!Ge[nt];nt-=1)Ge.pop();const wt=et(Ge.map(nt=>nt||" ").join(""));return Ge=f(wt).map((nt,Ct)=>nt===" "&&!Ge[Ct]?Ge[Ct]:nt),Ge}),tt=(Ze,lt)=>{var Ge;const wt=Fe(Ze,lt),nt=Math.min(Ze+lt.length,w-1);nt!==Ze&&wt[Ze]!==void 0&&((Ge=Pe.current[nt])===null||Ge===void 0||Ge.focus()),rt(wt)},it=Ze=>{var lt;(lt=Pe.current[Ze])===null||lt===void 0||lt.focus()},vt={variant:O,disabled:Q,status:Le,mask:ne,type:he,inputMode:Ae};return Ee(o.createElement("div",Object.assign({},ye,{ref:He,className:v()(Me,{[`${Me}-sm`]:Ye==="small",[`${Me}-lg`]:Ye==="large",[`${Me}-rtl`]:ze==="rtl"},_e,be)}),o.createElement(L.aM.Provider,{value:gt},Array.from({length:w}).map((Ze,lt)=>{const Ge=`otp-${lt}`,wt=ft[lt]||"";return o.createElement(o.Fragment,{key:Ge},o.createElement($,Object.assign({ref:nt=>{Pe.current[lt]=nt},index:lt,size:Ye,htmlSize:1,className:`${Me}-input`,onChange:tt,value:wt,onActiveChange:it,autoFocus:lt===0&&ue},vt)),ltte?o.createElement(j.Z,null):o.createElement(We.Z,null),N={click:"onClick",hover:"onMouseOver"};var G=o.forwardRef((te,xe)=>{const{disabled:y,action:w="click",visibilityToggle:m=!0,iconRender:k=b}=te,x=o.useContext(_.Z),p=y!=null?y:x,l=typeof m=="object"&&m.visible!==void 0,[Z,O]=(0,o.useState)(()=>l?m.visible:!1),Q=(0,o.useRef)(null);o.useEffect(()=>{l&&O(m.visible)},[l,m]);const le=(0,I.Z)(Q),ue=()=>{var Ye;if(p)return;Z&&le();const Oe=!Z;O(Oe),typeof m=="object"&&((Ye=m.onVisibleChange)===null||Ye===void 0||Ye.call(m,Oe))},ne=Ye=>{const Oe=N[w]||"",Le=k(Z),gt={[Oe]:ue,className:`${Ye}-icon`,key:"passwordIcon",onMouseDown:He=>{He.preventDefault()},onMouseUp:He=>{He.preventDefault()}};return o.cloneElement(o.isValidElement(Le)?Le:o.createElement("span",null,Le),gt)},{className:he,prefixCls:Se,inputPrefixCls:Ae,size:ie}=te,Te=C(te,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:ze}=o.useContext(fe.E_),Me=ze("input",Ae),ye=ze("input-password",Se),Ee=m&&ne(ye),be=v()(ye,he,{[`${ye}-${ie}`]:!!ie}),_e=Object.assign(Object.assign({},(0,R.Z)(Te,["suffix","iconRender","visibilityToggle"])),{type:Z?"text":"password",className:be,prefixCls:Me,suffix:Ee});return ie&&(_e.size=ie),o.createElement(K.Z,Object.assign({ref:(0,V.sQ)(xe,Q)},_e))}),ve=r(47472),we=r(22703),U=r(7939),q=r(70045),Y=function(te,xe){var y={};for(var w in te)Object.prototype.hasOwnProperty.call(te,w)&&xe.indexOf(w)<0&&(y[w]=te[w]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var m=0,w=Object.getOwnPropertySymbols(te);m{const{prefixCls:y,inputPrefixCls:w,className:m,size:k,suffix:x,enterButton:p=!1,addonAfter:l,loading:Z,disabled:O,onSearch:Q,onChange:le,onCompositionStart:ue,onCompositionEnd:ne}=te,he=Y(te,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:Se,direction:Ae}=o.useContext(fe.E_),ie=o.useRef(!1),Te=Se("input-search",y),ze=Se("input",w),{compactSize:Me}=(0,q.ri)(Te,Ae),ye=(0,F.Z)(tt=>{var it;return(it=k!=null?k:Me)!==null&&it!==void 0?it:tt}),Ee=o.useRef(null),be=tt=>{tt!=null&&tt.target&&tt.type==="click"&&Q&&Q(tt.target.value,tt,{source:"clear"}),le==null||le(tt)},_e=tt=>{var it;document.activeElement===((it=Ee.current)===null||it===void 0?void 0:it.input)&&tt.preventDefault()},Ye=tt=>{var it,vt;Q&&Q((vt=(it=Ee.current)===null||it===void 0?void 0:it.input)===null||vt===void 0?void 0:vt.value,tt,{source:"input"})},Oe=tt=>{ie.current||Z||Ye(tt)},Le=typeof p=="boolean"?o.createElement(ve.Z,null):null,gt=`${Te}-button`;let He;const Pe=p||{},et=Pe.type&&Pe.type.__ANT_BUTTON===!0;et||Pe.type==="button"?He=(0,we.Tm)(Pe,Object.assign({onMouseDown:_e,onClick:tt=>{var it,vt;(vt=(it=Pe==null?void 0:Pe.props)===null||it===void 0?void 0:it.onClick)===null||vt===void 0||vt.call(it,tt),Ye(tt)},key:"enterButton"},et?{className:gt,size:ye}:{})):He=o.createElement(U.ZP,{className:gt,type:p?"primary":void 0,size:ye,disabled:O,key:"enterButton",onMouseDown:_e,onClick:Ye,loading:Z,icon:Le},p),l&&(He=[He,(0,we.Tm)(l,{key:"addonAfter"})]);const ft=v()(Te,{[`${Te}-rtl`]:Ae==="rtl",[`${Te}-${ye}`]:!!ye,[`${Te}-with-button`]:!!p},m),Xe=Object.assign(Object.assign({},he),{className:ft,prefixCls:ze,type:"search"}),rt=tt=>{ie.current=!0,ue==null||ue(tt)},Fe=tt=>{ie.current=!1,ne==null||ne(tt)};return o.createElement(K.Z,Object.assign({ref:(0,V.sQ)(Ee,xe),onPressEnter:Oe},Xe,{size:ye,onCompositionStart:rt,onCompositionEnd:Fe,addonAfter:He,suffix:x,onChange:be,disabled:O}))}),Re=r(79809);const oe=K.Z;oe.Group=B,oe.Search=Be,oe.TextArea=Re.Z,oe.Password=G,oe.OTP=me;var Qe=oe},53075:function(ht,$e,r){"use strict";r.d($e,{TI:function(){return J},ik:function(){return ge},nz:function(){return B},s7:function(){return h},x0:function(){return ce}});var o=r(36237),E=r(63356),v=r(56119),fe=r(16931),L=r(51636),D=r(64910),S=r(39082);const B=d=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:d,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),K=d=>({borderColor:d.activeBorderColor,boxShadow:d.activeShadow,outline:0,backgroundColor:d.activeBg}),M=d=>{const{paddingBlockLG:c,lineHeightLG:$,borderRadiusLG:T,paddingInlineLG:f}=d;return{padding:`${(0,o.unit)(c)} ${(0,o.unit)(f)}`,fontSize:d.inputFontSizeLG,lineHeight:$,borderRadius:T}},ce=d=>({padding:`${(0,o.unit)(d.paddingBlockSM)} ${(0,o.unit)(d.paddingInlineSM)}`,fontSize:d.inputFontSizeSM,borderRadius:d.borderRadiusSM}),ge=d=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${(0,o.unit)(d.paddingBlock)} ${(0,o.unit)(d.paddingInline)}`,color:d.colorText,fontSize:d.inputFontSize,lineHeight:d.lineHeight,borderRadius:d.borderRadius,transition:`all ${d.motionDurationMid}`},B(d.colorTextPlaceholder)),{"&-lg":Object.assign({},M(d)),"&-sm":Object.assign({},ce(d)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),h=d=>{const{componentCls:c,antCls:$}=d;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:d.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${c}, &-lg > ${c}-group-addon`]:Object.assign({},M(d)),[`&-sm ${c}, &-sm > ${c}-group-addon`]:Object.assign({},ce(d)),[`&-lg ${$}-select-single ${$}-select-selector`]:{height:d.controlHeightLG},[`&-sm ${$}-select-single ${$}-select-selector`]:{height:d.controlHeightSM},[`> ${c}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${c}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${(0,o.unit)(d.paddingInline)}`,color:d.colorText,fontWeight:"normal",fontSize:d.inputFontSize,textAlign:"center",borderRadius:d.borderRadius,transition:`all ${d.motionDurationSlow}`,lineHeight:1,[`${$}-select`]:{margin:`${(0,o.unit)(d.calc(d.paddingBlock).add(1).mul(-1).equal())} ${(0,o.unit)(d.calc(d.paddingInline).mul(-1).equal())}`,[`&${$}-select-single:not(${$}-select-customize-input):not(${$}-pagination-size-changer)`]:{[`${$}-select-selector`]:{backgroundColor:"inherit",border:`${(0,o.unit)(d.lineWidth)} ${d.lineType} transparent`,boxShadow:"none"}}},[`${$}-cascader-picker`]:{margin:`-9px ${(0,o.unit)(d.calc(d.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${$}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[c]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${c}-search-with-button &`]:{zIndex:0}}},[`> ${c}:first-child, ${c}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${$}-select ${$}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${c}-affix-wrapper`]:{[`&:not(:first-child) ${c}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${c}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${c}:last-child, ${c}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${$}-select ${$}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${c}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${c}-search &`]:{borderStartStartRadius:d.borderRadius,borderEndStartRadius:d.borderRadius}},[`&:not(:first-child), ${c}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${c}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,E.dF)()),{[`${c}-group-addon, ${c}-group-wrap, > ${c}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:d.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[`
& > ${c}-affix-wrapper,
& > ${c}-number-affix-wrapper,
& > ${$}-picker-range
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:d.calc(d.lineWidth).mul(-1).equal(),borderInlineEndWidth:d.lineWidth},[c]:{float:"none"},[`& > ${$}-select > ${$}-select-selector,
& > ${$}-select-auto-complete ${c},
& > ${$}-cascader-picker ${c},
& > ${c}-group-wrapper ${c}`]:{borderInlineEndWidth:d.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${$}-select-focused`]:{zIndex:1},[`& > ${$}-select > ${$}-select-arrow`]:{zIndex:1},[`& > *:first-child,
& > ${$}-select:first-child > ${$}-select-selector,
& > ${$}-select-auto-complete:first-child ${c},
& > ${$}-cascader-picker:first-child ${c}`]:{borderStartStartRadius:d.borderRadius,borderEndStartRadius:d.borderRadius},[`& > *:last-child,
& > ${$}-select:last-child > ${$}-select-selector,
& > ${$}-cascader-picker:last-child ${c},
& > ${$}-cascader-picker-focused:last-child ${c}`]:{borderInlineEndWidth:d.lineWidth,borderStartEndRadius:d.borderRadius,borderEndEndRadius:d.borderRadius},[`& > ${$}-select-auto-complete ${c}`]:{verticalAlign:"top"},[`${c}-group-wrapper + ${c}-group-wrapper`]:{marginInlineStart:d.calc(d.lineWidth).mul(-1).equal(),[`${c}-affix-wrapper`]:{borderRadius:0}},[`${c}-group-wrapper:not(:last-child)`]:{[`&${c}-search > ${c}-group`]:{[`& > ${c}-group-addon > ${c}-search-button`]:{borderRadius:0},[`& > ${c}`]:{borderStartStartRadius:d.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:d.borderRadius}}}})}},F=d=>{const{componentCls:c,controlHeightSM:$,lineWidth:T,calc:f}=d,se=f($).sub(f(T).mul(2)).sub(16).div(2).equal();return{[c]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,E.Wf)(d)),ge(d)),(0,S.qG)(d)),(0,S.H8)(d)),(0,S.Mu)(d)),(0,S.vc)(d)),{'&[type="color"]':{height:d.controlHeight,[`&${c}-lg`]:{height:d.controlHeightLG},[`&${c}-sm`]:{height:$,paddingTop:se,paddingBottom:se}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{appearance:"none"}})}},Ke=d=>{const{componentCls:c}=d;return{[`${c}-clear-icon`]:{margin:0,padding:0,lineHeight:0,color:d.colorTextQuaternary,fontSize:d.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${d.motionDurationSlow}`,border:"none",outline:"none",backgroundColor:"transparent","&:hover":{color:d.colorTextTertiary},"&:active":{color:d.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${(0,o.unit)(d.inputAffixPadding)}`}}}},Ve=d=>{const{componentCls:c,inputAffixPadding:$,colorTextDescription:T,motionDurationSlow:f,colorIcon:Ce,colorIconHover:se,iconCls:me}=d,We=`${c}-affix-wrapper`,j=`${c}-affix-wrapper-disabled`;return{[We]:Object.assign(Object.assign(Object.assign(Object.assign({},ge(d)),{display:"inline-flex",[`&:not(${c}-disabled):hover`]:{zIndex:1,[`${c}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${c}`]:{padding:0},[`> input${c}, > textarea${c}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[c]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:d.paddingXS}},"&-show-count-suffix":{color:T},"&-show-count-has-suffix":{marginInlineEnd:d.paddingXXS},"&-prefix":{marginInlineEnd:$},"&-suffix":{marginInlineStart:$}}}),Ke(d)),{[`${me}${c}-password-icon`]:{color:Ce,cursor:"pointer",transition:`all ${f}`,"&:hover":{color:se}}}),[`${c}-underlined`]:{borderRadius:0},[j]:{[`${me}${c}-password-icon`]:{color:Ce,cursor:"not-allowed","&:hover":{color:Ce}}}}},Ue=d=>{const{componentCls:c,borderRadiusLG:$,borderRadiusSM:T}=d;return{[`${c}-group`]:Object.assign(Object.assign(Object.assign({},(0,E.Wf)(d)),h(d)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${c}-group-addon`]:{borderRadius:$,fontSize:d.inputFontSizeLG}},"&-sm":{[`${c}-group-addon`]:{borderRadius:T}}},(0,S.ir)(d)),(0,S.S5)(d)),{[`&:not(${c}-compact-first-item):not(${c}-compact-last-item)${c}-compact-item`]:{[`${c}, ${c}-group-addon`]:{borderRadius:0}},[`&:not(${c}-compact-last-item)${c}-compact-first-item`]:{[`${c}, ${c}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${c}-compact-first-item)${c}-compact-last-item`]:{[`${c}, ${c}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&:not(${c}-compact-last-item)${c}-compact-item`]:{[`${c}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${c}-compact-first-item)${c}-compact-item`]:{[`${c}-affix-wrapper`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})})}},Ie=d=>{const{componentCls:c,antCls:$}=d,T=`${c}-search`;return{[T]:{[c]:{"&:hover, &:focus":{[`+ ${c}-group-addon ${T}-button:not(${$}-btn-primary)`]:{borderInlineStartColor:d.colorPrimaryHover}}},[`${c}-affix-wrapper`]:{height:d.controlHeight,borderRadius:0},[`${c}-lg`]:{lineHeight:d.calc(d.lineHeightLG).sub(2e-4).equal()},[`> ${c}-group`]:{[`> ${c}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${T}-button`]:{marginInlineEnd:-1,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${T}-button:not(${$}-btn-primary)`]:{color:d.colorTextDescription,"&:hover":{color:d.colorPrimaryHover},"&:active":{color:d.colorPrimaryActive},[`&${$}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${T}-button`]:{height:d.controlHeight,"&:hover, &:focus":{zIndex:1}},"&-large":{[`${c}-affix-wrapper, ${T}-button`]:{height:d.controlHeightLG}},"&-small":{[`${c}-affix-wrapper, ${T}-button`]:{height:d.controlHeightSM}},"&-rtl":{direction:"rtl"},[`&${c}-compact-item`]:{[`&:not(${c}-compact-last-item)`]:{[`${c}-group-addon`]:{[`${c}-search-button`]:{marginInlineEnd:d.calc(d.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${c}-compact-first-item)`]:{[`${c},${c}-affix-wrapper`]:{borderRadius:0}},[`> ${c}-group-addon ${c}-search-button,
> ${c},
${c}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${c}-affix-wrapper-focused`]:{zIndex:2}}}}},u=d=>{const{componentCls:c}=d;return{[`${c}-out-of-range`]:{[`&, & input, & textarea, ${c}-show-count-suffix, ${c}-data-count`]:{color:d.colorError}}}},J=(0,fe.I$)(["Input","Shared"],d=>{const c=(0,L.mergeToken)(d,(0,D.e)(d));return[F(c),Ve(c)]},D.T,{resetFont:!1});$e.ZP=(0,fe.I$)(["Input","Component"],d=>{const c=(0,L.mergeToken)(d,(0,D.e)(d));return[Ue(c),Ie(c),u(c),(0,v.c)(c)]},D.T,{resetFont:!1})},64910:function(ht,$e,r){"use strict";r.d($e,{T:function(){return v},e:function(){return E}});var o=r(51636);function E(fe){return(0,o.mergeToken)(fe,{inputAffixPadding:fe.paddingXXS})}const v=fe=>{const{controlHeight:L,fontSize:D,lineHeight:S,lineWidth:B,controlHeightSM:K,controlHeightLG:M,fontSizeLG:ce,lineHeightLG:ge,paddingSM:h,controlPaddingHorizontalSM:F,controlPaddingHorizontal:Ke,colorFillAlter:Ve,colorPrimaryHover:Ue,colorPrimary:Ie,controlOutlineWidth:u,controlOutline:J,colorErrorOutline:d,colorWarningOutline:c,colorBgContainer:$,inputFontSize:T,inputFontSizeLG:f,inputFontSizeSM:Ce}=fe,se=T||D,me=Ce||se,We=f||ce,j=Math.round((L-se*S)/2*10)/10-B,R=Math.round((K-me*S)/2*10)/10-B,V=Math.ceil((M-We*ge)/2*10)/10-B;return{paddingBlock:Math.max(j,0),paddingBlockSM:Math.max(R,0),paddingBlockLG:Math.max(V,0),paddingInline:h-B,paddingInlineSM:F-B,paddingInlineLG:Ke-B,addonBg:Ve,activeBorderColor:Ie,hoverBorderColor:Ue,activeShadow:`0 0 0 ${u}px ${J}`,errorActiveShadow:`0 0 0 ${u}px ${d}`,warningActiveShadow:`0 0 0 ${u}px ${c}`,hoverBg:$,activeBg:$,inputFontSize:se,inputFontSizeLG:We,inputFontSizeSM:me}}},39082:function(ht,$e,r){"use strict";r.d($e,{$U:function(){return L},H8:function(){return h},Mu:function(){return M},S5:function(){return Ke},Xy:function(){return fe},ir:function(){return K},qG:function(){return S},vc:function(){return Ie}});var o=r(36237),E=r(51636);const v=u=>({borderColor:u.hoverBorderColor,backgroundColor:u.hoverBg}),fe=u=>({color:u.colorTextDisabled,backgroundColor:u.colorBgContainerDisabled,borderColor:u.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},v((0,E.mergeToken)(u,{hoverBorderColor:u.colorBorder,hoverBg:u.colorBgContainerDisabled})))}),L=(u,J)=>({background:u.colorBgContainer,borderWidth:u.lineWidth,borderStyle:u.lineType,borderColor:J.borderColor,"&:hover":{borderColor:J.hoverBorderColor,backgroundColor:u.hoverBg},"&:focus, &:focus-within":{borderColor:J.activeBorderColor,boxShadow:J.activeShadow,outline:0,backgroundColor:u.activeBg}}),D=(u,J)=>({[`&${u.componentCls}-status-${J.status}:not(${u.componentCls}-disabled)`]:Object.assign(Object.assign({},L(u,J)),{[`${u.componentCls}-prefix, ${u.componentCls}-suffix`]:{color:J.affixColor}}),[`&${u.componentCls}-status-${J.status}${u.componentCls}-disabled`]:{borderColor:J.borderColor}}),S=(u,J)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},L(u,{borderColor:u.colorBorder,hoverBorderColor:u.hoverBorderColor,activeBorderColor:u.activeBorderColor,activeShadow:u.activeShadow})),{[`&${u.componentCls}-disabled, &[disabled]`]:Object.assign({},fe(u))}),D(u,{status:"error",borderColor:u.colorError,hoverBorderColor:u.colorErrorBorderHover,activeBorderColor:u.colorError,activeShadow:u.errorActiveShadow,affixColor:u.colorError})),D(u,{status:"warning",borderColor:u.colorWarning,hoverBorderColor:u.colorWarningBorderHover,activeBorderColor:u.colorWarning,activeShadow:u.warningActiveShadow,affixColor:u.colorWarning})),J)}),B=(u,J)=>({[`&${u.componentCls}-group-wrapper-status-${J.status}`]:{[`${u.componentCls}-group-addon`]:{borderColor:J.addonBorderColor,color:J.addonColor}}}),K=u=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${u.componentCls}-group`]:{"&-addon":{background:u.addonBg,border:`${(0,o.unit)(u.lineWidth)} ${u.lineType} ${u.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},B(u,{status:"error",addonBorderColor:u.colorError,addonColor:u.colorErrorText})),B(u,{status:"warning",addonBorderColor:u.colorWarning,addonColor:u.colorWarningText})),{[`&${u.componentCls}-group-wrapper-disabled`]:{[`${u.componentCls}-group-addon`]:Object.assign({},fe(u))}})}),M=(u,J)=>{const{componentCls:d}=u;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${d}-disabled, &[disabled]`]:{color:u.colorTextDisabled,cursor:"not-allowed"},[`&${d}-status-error`]:{"&, & input, & textarea":{color:u.colorError}},[`&${d}-status-warning`]:{"&, & input, & textarea":{color:u.colorWarning}}},J)}},ce=(u,J)=>{var d;return{background:J.bg,borderWidth:u.lineWidth,borderStyle:u.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:(d=J==null?void 0:J.inputColor)!==null&&d!==void 0?d:"unset"},"&:hover":{background:J.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:J.activeBorderColor,backgroundColor:u.activeBg}}},ge=(u,J)=>({[`&${u.componentCls}-status-${J.status}:not(${u.componentCls}-disabled)`]:Object.assign(Object.assign({},ce(u,J)),{[`${u.componentCls}-prefix, ${u.componentCls}-suffix`]:{color:J.affixColor}})}),h=(u,J)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},ce(u,{bg:u.colorFillTertiary,hoverBg:u.colorFillSecondary,activeBorderColor:u.activeBorderColor})),{[`&${u.componentCls}-disabled, &[disabled]`]:Object.assign({},fe(u))}),ge(u,{status:"error",bg:u.colorErrorBg,hoverBg:u.colorErrorBgHover,activeBorderColor:u.colorError,inputColor:u.colorErrorText,affixColor:u.colorError})),ge(u,{status:"warning",bg:u.colorWarningBg,hoverBg:u.colorWarningBgHover,activeBorderColor:u.colorWarning,inputColor:u.colorWarningText,affixColor:u.colorWarning})),J)}),F=(u,J)=>({[`&${u.componentCls}-group-wrapper-status-${J.status}`]:{[`${u.componentCls}-group-addon`]:{background:J.addonBg,color:J.addonColor}}}),Ke=u=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${u.componentCls}-group`]:{"&-addon":{background:u.colorFillTertiary},[`${u.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${(0,o.unit)(u.lineWidth)} ${u.lineType} ${u.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${(0,o.unit)(u.lineWidth)} ${u.lineType} ${u.colorSplit}`}}}},F(u,{status:"error",addonBg:u.colorErrorBg,addonColor:u.colorErrorText})),F(u,{status:"warning",addonBg:u.colorWarningBg,addonColor:u.colorWarningText})),{[`&${u.componentCls}-group-wrapper-disabled`]:{[`${u.componentCls}-group`]:{"&-addon":{background:u.colorFillTertiary,color:u.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${(0,o.unit)(u.lineWidth)} ${u.lineType} ${u.colorBorder}`,borderTop:`${(0,o.unit)(u.lineWidth)} ${u.lineType} ${u.colorBorder}`,borderBottom:`${(0,o.unit)(u.lineWidth)} ${u.lineType} ${u.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${(0,o.unit)(u.lineWidth)} ${u.lineType} ${u.colorBorder}`,borderTop:`${(0,o.unit)(u.lineWidth)} ${u.lineType} ${u.colorBorder}`,borderBottom:`${(0,o.unit)(u.lineWidth)} ${u.lineType} ${u.colorBorder}`}}}})}),Ve=(u,J)=>({background:u.colorBgContainer,borderWidth:`${(0,o.unit)(u.lineWidth)} 0`,borderStyle:`${u.lineType} none`,borderColor:`transparent transparent ${J.borderColor} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${J.borderColor} transparent`,backgroundColor:u.hoverBg},"&:focus, &:focus-within":{borderColor:`transparent transparent ${J.borderColor} transparent`,outline:0,backgroundColor:u.activeBg}}),Ue=(u,J)=>({[`&${u.componentCls}-status-${J.status}:not(${u.componentCls}-disabled)`]:Object.assign(Object.assign({},Ve(u,J)),{[`${u.componentCls}-prefix, ${u.componentCls}-suffix`]:{color:J.affixColor}}),[`&${u.componentCls}-status-${J.status}${u.componentCls}-disabled`]:{borderColor:`transparent transparent ${J.borderColor} transparent`}}),Ie=(u,J)=>({"&-underlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Ve(u,{borderColor:u.colorBorder,hoverBorderColor:u.hoverBorderColor,activeBorderColor:u.activeBorderColor,activeShadow:u.activeShadow})),{[`&${u.componentCls}-disabled, &[disabled]`]:{color:u.colorTextDisabled,boxShadow:"none",cursor:"not-allowed","&:hover":{borderColor:`transparent transparent ${u.colorBorder} transparent`}},"input[disabled], textarea[disabled]":{cursor:"not-allowed"}}),Ue(u,{status:"error",borderColor:u.colorError,hoverBorderColor:u.colorErrorBorderHover,activeBorderColor:u.colorError,activeShadow:u.errorActiveShadow,affixColor:u.colorError})),Ue(u,{status:"warning",borderColor:u.colorWarning,hoverBorderColor:u.colorWarningBorderHover,activeBorderColor:u.colorWarning,activeShadow:u.warningActiveShadow,affixColor:u.colorWarning})),J)})},24303:function(ht,$e,r){"use strict";r.d($e,{D:function(){return T},Z:function(){return se}});var o=r(59301),E=r(60499),v={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"},fe=v,L=r(7657),D=function(We,j){return o.createElement(L.Z,(0,E.Z)({},We,{ref:j,icon:fe}))},S=o.forwardRef(D),B=S,K=r(33853),M=r(38819),ce=r(92310),ge=r.n(ce),h=r(2738),F=r(48755),Ke=r(6989),Ve=r(36237),Ue=r(48923),Ie=r(16931);const u=me=>{const{componentCls:We,siderBg:j,motionDurationMid:R,motionDurationSlow:V,antCls:_,triggerHeight:I,triggerColor:C,triggerBg:b,headerHeight:N,zeroTriggerWidth:z,zeroTriggerHeight:G,borderRadiusLG:ve,lightSiderBg:we,lightTriggerColor:U,lightTriggerBg:q,bodyBg:Y}=me;return{[We]:{position:"relative",minWidth:0,background:j,transition:`all ${R}, background 0s`,"&-has-trigger":{paddingBottom:I},"&-right":{order:1},[`${We}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${_}-menu${_}-menu-inline-collapsed`]:{width:"auto"}},[`&-zero-width ${We}-children`]:{overflow:"hidden"},[`${We}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:I,color:C,lineHeight:(0,Ve.unit)(I),textAlign:"center",background:b,cursor:"pointer",transition:`all ${R}`},[`${We}-zero-width-trigger`]:{position:"absolute",top:N,insetInlineEnd:me.calc(z).mul(-1).equal(),zIndex:1,width:z,height:G,color:C,fontSize:me.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:j,borderRadius:`0 ${(0,Ve.unit)(ve)} ${(0,Ve.unit)(ve)} 0`,cursor:"pointer",transition:`background ${V} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${V}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:me.calc(z).mul(-1).equal(),borderRadius:`${(0,Ve.unit)(ve)} 0 0 ${(0,Ve.unit)(ve)}`}},"&-light":{background:we,[`${We}-trigger`]:{color:U,background:q},[`${We}-zero-width-trigger`]:{color:U,background:q,border:`1px solid ${Y}`,borderInlineStart:0}}}}};var J=(0,Ie.I$)(["Layout","Sider"],me=>[u(me)],Ue.eh,{deprecatedTokens:Ue.jn}),d=function(me,We){var j={};for(var R in me)Object.prototype.hasOwnProperty.call(me,R)&&We.indexOf(R)<0&&(j[R]=me[R]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var V=0,R=Object.getOwnPropertySymbols(me);V!Number.isNaN(Number.parseFloat(me))&&isFinite(me),T=o.createContext({}),f=(()=>{let me=0;return function(){let We=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return me+=1,`${We}${me}`}})();var se=o.forwardRef((me,We)=>{const{prefixCls:j,className:R,trigger:V,children:_,defaultCollapsed:I=!1,theme:C="dark",style:b={},collapsible:N=!1,reverseArrow:z=!1,width:G=200,collapsedWidth:ve=80,zeroWidthTriggerStyle:we,breakpoint:U,onCollapse:q,onBreakpoint:Y}=me,De=d(me,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Be}=(0,o.useContext)(Ke.V),[Re,oe]=(0,o.useState)("collapsed"in me?me.collapsed:I),[Qe,te]=(0,o.useState)(!1);(0,o.useEffect)(()=>{"collapsed"in me&&oe(me.collapsed)},[me.collapsed]);const xe=(ye,Ee)=>{"collapsed"in me||oe(ye),q==null||q(ye,Ee)},{getPrefixCls:y,direction:w}=(0,o.useContext)(F.E_),m=y("layout-sider",j),[k,x,p]=J(m),l=(0,o.useRef)(null);l.current=ye=>{te(ye.matches),Y==null||Y(ye.matches),Re!==ye.matches&&xe(ye.matches,"responsive")},(0,o.useEffect)(()=>{function ye(be){return l.current(be)}let Ee;if(typeof window!="undefined"){const{matchMedia:be}=window;if(be&&U&&U in c){Ee=be(`screen and (max-width: ${c[U]})`);try{Ee.addEventListener("change",ye)}catch(_e){Ee.addListener(ye)}ye(Ee)}}return()=>{try{Ee==null||Ee.removeEventListener("change",ye)}catch(be){Ee==null||Ee.removeListener(ye)}}},[U]),(0,o.useEffect)(()=>{const ye=f("ant-sider-");return Be.addSider(ye),()=>Be.removeSider(ye)},[]);const Z=()=>{xe(!Re,"clickTrigger")},O=(0,h.Z)(De,["collapsed"]),Q=Re?ve:G,le=$(Q)?`${Q}px`:String(Q),ue=parseFloat(String(ve||0))===0?o.createElement("span",{onClick:Z,className:ge()(`${m}-zero-width-trigger`,`${m}-zero-width-trigger-${z?"right":"left"}`),style:we},V||o.createElement(B,null)):null,ne=w==="rtl"==!z,Ae={expanded:ne?o.createElement(M.Z,null):o.createElement(K.Z,null),collapsed:ne?o.createElement(K.Z,null):o.createElement(M.Z,null)}[Re?"collapsed":"expanded"],ie=V!==null?ue||o.createElement("div",{className:`${m}-trigger`,onClick:Z,style:{width:le}},V||Ae):null,Te=Object.assign(Object.assign({},b),{flex:`0 0 ${le}`,maxWidth:le,minWidth:le,width:le}),ze=ge()(m,`${m}-${C}`,{[`${m}-collapsed`]:!!Re,[`${m}-has-trigger`]:N&&V!==null&&!ue,[`${m}-below`]:!!Qe,[`${m}-zero-width`]:parseFloat(le)===0},R,x,p),Me=o.useMemo(()=>({siderCollapsed:Re}),[Re]);return k(o.createElement(T.Provider,{value:Me},o.createElement("aside",Object.assign({className:ze},O,{style:Te,ref:We}),o.createElement("div",{className:`${m}-children`},_),N||Qe&&ue?ie:null)))})},6989:function(ht,$e,r){"use strict";r.d($e,{V:function(){return E}});var o=r(59301);const E=o.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}})},48923:function(ht,$e,r){"use strict";r.d($e,{eh:function(){return fe},jn:function(){return L}});var o=r(36237),E=r(16931);const v=D=>{const{antCls:S,componentCls:B,colorText:K,footerBg:M,headerHeight:ce,headerPadding:ge,headerColor:h,footerPadding:F,fontSize:Ke,bodyBg:Ve,headerBg:Ue}=D;return{[B]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Ve,"&, *":{boxSizing:"border-box"},[`&${B}-has-sider`]:{flexDirection:"row",[`> ${B}, > ${B}-content`]:{width:0}},[`${B}-header, &${B}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${B}-header`]:{height:ce,padding:ge,color:h,lineHeight:(0,o.unit)(ce),background:Ue,[`${S}-menu`]:{lineHeight:"inherit"}},[`${B}-footer`]:{padding:F,color:K,fontSize:Ke,background:M},[`${B}-content`]:{flex:"auto",color:K,minHeight:0}}},fe=D=>{const{colorBgLayout:S,controlHeight:B,controlHeightLG:K,colorText:M,controlHeightSM:ce,marginXXS:ge,colorTextLightSolid:h,colorBgContainer:F}=D,Ke=K*1.25;return{colorBgHeader:"#001529",colorBgBody:S,colorBgTrigger:"#002140",bodyBg:S,headerBg:"#001529",headerHeight:B*2,headerPadding:`0 ${Ke}px`,headerColor:M,footerPadding:`${ce}px ${Ke}px`,footerBg:S,siderBg:"#001529",triggerHeight:K+ge*2,triggerBg:"#002140",triggerColor:h,zeroTriggerWidth:K,zeroTriggerHeight:K,lightSiderBg:F,lightTriggerBg:F,lightTriggerColor:M}},L=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];$e.ZP=(0,E.I$)("Layout",D=>[v(D)],fe,{deprecatedTokens:L})},78857:function(ht,$e,r){"use strict";r.d($e,{J:function(){return D}});var o=r(59301),E=r(8654),v=r(62487),fe=function(S,B){var K={};for(var M in S)Object.prototype.hasOwnProperty.call(S,M)&&B.indexOf(M)<0&&(K[M]=S[M]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ce=0,M=Object.getOwnPropertySymbols(S);ce{const{children:K}=S,M=fe(S,["children"]),ce=o.useContext(L),ge=o.useMemo(()=>Object.assign(Object.assign({},ce),M),[ce,M.prefixCls,M.mode,M.selectable,M.rootClassName]),h=(0,E.t4)(K),F=(0,E.x1)(B,h?(0,E.C4)(K):null);return o.createElement(L.Provider,{value:ge},o.createElement(v.Z,{space:!0},h?o.cloneElement(K,{ref:F}):K))});$e.Z=L},93041:function(ht,$e,r){"use strict";r.d($e,{default:function(){return k}});var o=r(59301),E=r(28321),v=r(24303),fe=r(18785),L=r(92310),D=r.n(L),S=r(6089),B=r(2738),K=r(86641),M=r(22703),ce=r(48755),ge=r(83397),F=(0,o.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ke=function(x,p){var l={};for(var Z in x)Object.prototype.hasOwnProperty.call(x,Z)&&p.indexOf(Z)<0&&(l[Z]=x[Z]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,Z=Object.getOwnPropertySymbols(x);O{const{prefixCls:p,className:l,dashed:Z}=x,O=Ke(x,["prefixCls","className","dashed"]),{getPrefixCls:Q}=o.useContext(ce.E_),le=Q("menu",p),ue=D()({[`${le}-item-divider-dashed`]:!!Z},l);return o.createElement(E.iz,Object.assign({className:ue},O))},Ie=r(11592),u=r(25399),d=x=>{var p;const{className:l,children:Z,icon:O,title:Q,danger:le,extra:ue}=x,{prefixCls:ne,firstLevel:he,direction:Se,disableMenuItemTitleTooltip:Ae,inlineCollapsed:ie}=o.useContext(F),Te=_e=>{const Ye=Z==null?void 0:Z[0],Oe=o.createElement("span",{className:D()(`${ne}-title-content`,{[`${ne}-title-content-with-extra`]:!!ue||ue===0})},Z);return(!O||o.isValidElement(Z)&&Z.type==="span")&&Z&&_e&&he&&typeof Ye=="string"?o.createElement("div",{className:`${ne}-inline-collapsed-noicon`},Ye.charAt(0)):Oe},{siderCollapsed:ze}=o.useContext(v.D);let Me=Q;typeof Q=="undefined"?Me=he?Z:"":Q===!1&&(Me="");const ye={title:Me};!ze&&!ie&&(ye.title=null,ye.open=!1);const Ee=(0,Ie.Z)(Z).length;let be=o.createElement(E.ck,Object.assign({},(0,B.Z)(x,["title","icon","danger"]),{className:D()({[`${ne}-item-danger`]:le,[`${ne}-item-only-child`]:(O?Ee+1:Ee)===1},l),title:typeof Q=="string"?Q:void 0}),(0,M.Tm)(O,{className:D()(o.isValidElement(O)?(p=O.props)===null||p===void 0?void 0:p.className:"",`${ne}-item-icon`)}),Te(ie));return Ae||(be=o.createElement(u.Z,Object.assign({},ye,{placement:Se==="rtl"?"left":"right",classNames:{root:`${ne}-inline-collapsed-tooltip`}}),be)),be},c=r(78857),$=r(36237),T=r(17835),f=r(63356),Ce=r(34961),se=r(46e3),me=r(34925),We=r(16931),j=r(51636),V=x=>{const{componentCls:p,motionDurationSlow:l,horizontalLineHeight:Z,colorSplit:O,lineWidth:Q,lineType:le,itemPaddingInline:ue}=x;return{[`${p}-horizontal`]:{lineHeight:Z,border:0,borderBottom:`${(0,$.unit)(Q)} ${le} ${O}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${p}-item, ${p}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:ue},[`> ${p}-item:hover,
> ${p}-item-active,
> ${p}-submenu ${p}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${p}-item, ${p}-submenu-title`]:{transition:[`border-color ${l}`,`background ${l}`].join(",")},[`${p}-submenu-arrow`]:{display:"none"}}}},I=x=>{let{componentCls:p,menuArrowOffset:l,calc:Z}=x;return{[`${p}-rtl`]:{direction:"rtl"},[`${p}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${p}-rtl${p}-vertical,
${p}-submenu-rtl ${p}-vertical`]:{[`${p}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,$.unit)(Z(l).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,$.unit)(l)})`}}}}};const C=x=>Object.assign({},(0,f.oN)(x));var N=(x,p)=>{const{componentCls:l,itemColor:Z,itemSelectedColor:O,subMenuItemSelectedColor:Q,groupTitleColor:le,itemBg:ue,subMenuItemBg:ne,itemSelectedBg:he,activeBarHeight:Se,activeBarWidth:Ae,activeBarBorderWidth:ie,motionDurationSlow:Te,motionEaseInOut:ze,motionEaseOut:Me,itemPaddingInline:ye,motionDurationMid:Ee,itemHoverColor:be,lineType:_e,colorSplit:Ye,itemDisabledColor:Oe,dangerItemColor:Le,dangerItemHoverColor:gt,dangerItemSelectedColor:He,dangerItemActiveBg:Pe,dangerItemSelectedBg:et,popupBg:ft,itemHoverBg:Xe,itemActiveBg:rt,menuSubMenuBg:Fe,horizontalItemSelectedColor:tt,horizontalItemSelectedBg:it,horizontalItemBorderRadius:vt,horizontalItemHoverBg:Ze}=x;return{[`${l}-${p}, ${l}-${p} > ${l}`]:{color:Z,background:ue,[`&${l}-root:focus-visible`]:Object.assign({},C(x)),[`${l}-item`]:{"&-group-title, &-extra":{color:le}},[`${l}-submenu-selected > ${l}-submenu-title`]:{color:Q},[`${l}-item, ${l}-submenu-title`]:{color:Z,[`&:not(${l}-item-disabled):focus-visible`]:Object.assign({},C(x))},[`${l}-item-disabled, ${l}-submenu-disabled`]:{color:`${Oe} !important`},[`${l}-item:not(${l}-item-selected):not(${l}-submenu-selected)`]:{[`&:hover, > ${l}-submenu-title:hover`]:{color:be}},[`&:not(${l}-horizontal)`]:{[`${l}-item:not(${l}-item-selected)`]:{"&:hover":{backgroundColor:Xe},"&:active":{backgroundColor:rt}},[`${l}-submenu-title`]:{"&:hover":{backgroundColor:Xe},"&:active":{backgroundColor:rt}}},[`${l}-item-danger`]:{color:Le,[`&${l}-item:hover`]:{[`&:not(${l}-item-selected):not(${l}-submenu-selected)`]:{color:gt}},[`&${l}-item:active`]:{background:Pe}},[`${l}-item a`]:{"&, &:hover":{color:"inherit"}},[`${l}-item-selected`]:{color:O,[`&${l}-item-danger`]:{color:He},"a, a:hover":{color:"inherit"}},[`& ${l}-item-selected`]:{backgroundColor:he,[`&${l}-item-danger`]:{backgroundColor:et}},[`&${l}-submenu > ${l}`]:{backgroundColor:Fe},[`&${l}-popup > ${l}`]:{backgroundColor:ft},[`&${l}-submenu-popup > ${l}`]:{backgroundColor:ft},[`&${l}-horizontal`]:Object.assign(Object.assign({},p==="dark"?{borderBottom:0}:{}),{[`> ${l}-item, > ${l}-submenu`]:{top:ie,marginTop:x.calc(ie).mul(-1).equal(),marginBottom:0,borderRadius:vt,"&::after":{position:"absolute",insetInline:ye,bottom:0,borderBottom:`${(0,$.unit)(Se)} solid transparent`,transition:`border-color ${Te} ${ze}`,content:'""'},"&:hover, &-active, &-open":{background:Ze,"&::after":{borderBottomWidth:Se,borderBottomColor:tt}},"&-selected":{color:tt,backgroundColor:it,"&:hover":{backgroundColor:it},"&::after":{borderBottomWidth:Se,borderBottomColor:tt}}}}),[`&${l}-root`]:{[`&${l}-inline, &${l}-vertical`]:{borderInlineEnd:`${(0,$.unit)(ie)} ${_e} ${Ye}`}},[`&${l}-inline`]:{[`${l}-sub${l}-inline`]:{background:ne},[`${l}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,$.unit)(Ae)} solid ${O}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ee} ${Me}`,`opacity ${Ee} ${Me}`].join(","),content:'""'},[`&${l}-item-danger`]:{"&::after":{borderInlineEndColor:He}}},[`${l}-selected, ${l}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ee} ${ze}`,`opacity ${Ee} ${ze}`].join(",")}}}}}};const z=x=>{const{componentCls:p,itemHeight:l,itemMarginInline:Z,padding:O,menuArrowSize:Q,marginXS:le,itemMarginBlock:ue,itemWidth:ne,itemPaddingInline:he}=x,Se=x.calc(Q).add(O).add(le).equal();return{[`${p}-item`]:{position:"relative",overflow:"hidden"},[`${p}-item, ${p}-submenu-title`]:{height:l,lineHeight:(0,$.unit)(l),paddingInline:he,overflow:"hidden",textOverflow:"ellipsis",marginInline:Z,marginBlock:ue,width:ne},[`> ${p}-item,
> ${p}-submenu > ${p}-submenu-title`]:{height:l,lineHeight:(0,$.unit)(l)},[`${p}-item-group-list ${p}-submenu-title,
${p}-submenu-title`]:{paddingInlineEnd:Se}}};var ve=x=>{const{componentCls:p,iconCls:l,itemHeight:Z,colorTextLightSolid:O,dropdownWidth:Q,controlHeightLG:le,motionEaseOut:ue,paddingXL:ne,itemMarginInline:he,fontSizeLG:Se,motionDurationFast:Ae,motionDurationSlow:ie,paddingXS:Te,boxShadowSecondary:ze,collapsedWidth:Me,collapsedIconSize:ye}=x,Ee={height:Z,lineHeight:(0,$.unit)(Z),listStylePosition:"inside",listStyleType:"disc"};return[{[p]:{"&-inline, &-vertical":Object.assign({[`&${p}-root`]:{boxShadow:"none"}},z(x))},[`${p}-submenu-popup`]:{[`${p}-vertical`]:Object.assign(Object.assign({},z(x)),{boxShadow:ze})}},{[`${p}-submenu-popup ${p}-vertical${p}-sub`]:{minWidth:Q,maxHeight:`calc(100vh - ${(0,$.unit)(x.calc(le).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${p}-inline`]:{width:"100%",[`&${p}-root`]:{[`${p}-item, ${p}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ie}`,`background ${ie}`,`padding ${Ae} ${ue}`].join(","),[`> ${p}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${p}-sub${p}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${p}-submenu > ${p}-submenu-title`]:Ee,[`& ${p}-item-group-title`]:{paddingInlineStart:ne}},[`${p}-item`]:Ee}},{[`${p}-inline-collapsed`]:{width:Me,[`&${p}-root`]:{[`${p}-item, ${p}-submenu ${p}-submenu-title`]:{[`> ${p}-inline-collapsed-noicon`]:{fontSize:Se,textAlign:"center"}}},[`> ${p}-item,
> ${p}-item-group > ${p}-item-group-list > ${p}-item,
> ${p}-item-group > ${p}-item-group-list > ${p}-submenu > ${p}-submenu-title,
> ${p}-submenu > ${p}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,$.unit)(x.calc(ye).div(2).equal())} - ${(0,$.unit)(he)})`,textOverflow:"clip",[`
${p}-submenu-arrow,
${p}-submenu-expand-icon
`]:{opacity:0},[`${p}-item-icon, ${l}`]:{margin:0,fontSize:ye,lineHeight:(0,$.unit)(Z),"+ span":{display:"inline-block",opacity:0}}},[`${p}-item-icon, ${l}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${p}-item-icon, ${l}`]:{display:"none"},"a, a:hover":{color:O}},[`${p}-item-group-title`]:Object.assign(Object.assign({},f.vS),{paddingInline:Te})}}]};const we=x=>{const{componentCls:p,motionDurationSlow:l,motionDurationMid:Z,motionEaseInOut:O,motionEaseOut:Q,iconCls:le,iconSize:ue,iconMarginInlineEnd:ne}=x;return{[`${p}-item, ${p}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${l}`,`background ${l}`,`padding calc(${l} + 0.1s) ${O}`].join(","),[`${p}-item-icon, ${le}`]:{minWidth:ue,fontSize:ue,transition:[`font-size ${Z} ${Q}`,`margin ${l} ${O}`,`color ${l}`].join(","),"+ span":{marginInlineStart:ne,opacity:1,transition:[`opacity ${l} ${O}`,`margin ${l}`,`color ${l}`].join(",")}},[`${p}-item-icon`]:Object.assign({},(0,f.Ro)()),[`&${p}-item-only-child`]:{[`> ${le}, > ${p}-item-icon`]:{marginInlineEnd:0}}},[`${p}-item-disabled, ${p}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important",cursor:"not-allowed",pointerEvents:"none"},[`> ${p}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},U=x=>{const{componentCls:p,motionDurationSlow:l,motionEaseInOut:Z,borderRadius:O,menuArrowSize:Q,menuArrowOffset:le}=x;return{[`${p}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:x.margin,width:Q,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${l} ${Z}, opacity ${l}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:x.calc(Q).mul(.6).equal(),height:x.calc(Q).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:O,transition:[`background ${l} ${Z}`,`transform ${l} ${Z}`,`top ${l} ${Z}`,`color ${l} ${Z}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,$.unit)(x.calc(le).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,$.unit)(le)})`}}}}},q=x=>{const{antCls:p,componentCls:l,fontSize:Z,motionDurationSlow:O,motionDurationMid:Q,motionEaseInOut:le,paddingXS:ue,padding:ne,colorSplit:he,lineWidth:Se,zIndexPopup:Ae,borderRadiusLG:ie,subMenuItemBorderRadius:Te,menuArrowSize:ze,menuArrowOffset:Me,lineType:ye,groupTitleLineHeight:Ee,groupTitleFontSize:be}=x;return[{"":{[l]:Object.assign(Object.assign({},(0,f.dF)()),{"&-hidden":{display:"none"}})},[`${l}-submenu-hidden`]:{display:"none"}},{[l]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,f.Wf)(x)),(0,f.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Z,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${O} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${l}-item`]:{flex:"none"}},[`${l}-item, ${l}-submenu, ${l}-submenu-title`]:{borderRadius:x.itemBorderRadius},[`${l}-item-group-title`]:{padding:`${(0,$.unit)(ue)} ${(0,$.unit)(ne)}`,fontSize:be,lineHeight:Ee,transition:`all ${O}`},[`&-horizontal ${l}-submenu`]:{transition:[`border-color ${O} ${le}`,`background ${O} ${le}`].join(",")},[`${l}-submenu, ${l}-submenu-inline`]:{transition:[`border-color ${O} ${le}`,`background ${O} ${le}`,`padding ${Q} ${le}`].join(",")},[`${l}-submenu ${l}-sub`]:{cursor:"initial",transition:[`background ${O} ${le}`,`padding ${O} ${le}`].join(",")},[`${l}-title-content`]:{transition:`color ${O}`,"&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},[`> ${p}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"},[`${l}-item-extra`]:{marginInlineStart:"auto",paddingInlineStart:x.padding}},[`${l}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${l}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:he,borderStyle:ye,borderWidth:0,borderTopWidth:Se,marginBlock:Se,padding:0,"&-dashed":{borderStyle:"dashed"}}}),we(x)),{[`${l}-item-group`]:{[`${l}-item-group-list`]:{margin:0,padding:0,[`${l}-item, ${l}-submenu-title`]:{paddingInline:`${(0,$.unit)(x.calc(Z).mul(2).equal())} ${(0,$.unit)(ne)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Ae,borderRadius:ie,boxShadow:"none",transformOrigin:"0 0",[`&${l}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${l}`]:Object.assign(Object.assign(Object.assign({borderRadius:ie},we(x)),U(x)),{[`${l}-item, ${l}-submenu > ${l}-submenu-title`]:{borderRadius:Te},[`${l}-submenu-title::after`]:{transition:`transform ${O} ${le}`}})},"\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:x.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:x.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:x.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:x.paddingXS}}}),U(x)),{[`&-inline-collapsed ${l}-submenu-arrow,
&-inline ${l}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,$.unit)(Me)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,$.unit)(x.calc(Me).mul(-1).equal())})`}},[`${l}-submenu-open${l}-submenu-inline > ${l}-submenu-title > ${l}-submenu-arrow`]:{transform:`translateY(${(0,$.unit)(x.calc(ze).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,$.unit)(x.calc(Me).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,$.unit)(Me)})`}}})},{[`${p}-layout-header`]:{[l]:{lineHeight:"inherit"}}}]},Y=x=>{var p,l,Z;const{colorPrimary:O,colorError:Q,colorTextDisabled:le,colorErrorBg:ue,colorText:ne,colorTextDescription:he,colorBgContainer:Se,colorFillAlter:Ae,colorFillContent:ie,lineWidth:Te,lineWidthBold:ze,controlItemBgActive:Me,colorBgTextHover:ye,controlHeightLG:Ee,lineHeight:be,colorBgElevated:_e,marginXXS:Ye,padding:Oe,fontSize:Le,controlHeightSM:gt,fontSizeLG:He,colorTextLightSolid:Pe,colorErrorHover:et}=x,ft=(p=x.activeBarWidth)!==null&&p!==void 0?p:0,Xe=(l=x.activeBarBorderWidth)!==null&&l!==void 0?l:Te,rt=(Z=x.itemMarginInline)!==null&&Z!==void 0?Z:x.marginXXS,Fe=new T.FastColor(Pe).setA(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:x.zIndexPopupBase+50,radiusItem:x.borderRadiusLG,itemBorderRadius:x.borderRadiusLG,radiusSubMenuItem:x.borderRadiusSM,subMenuItemBorderRadius:x.borderRadiusSM,colorItemText:ne,itemColor:ne,colorItemTextHover:ne,itemHoverColor:ne,colorItemTextHoverHorizontal:O,horizontalItemHoverColor:O,colorGroupTitle:he,groupTitleColor:he,colorItemTextSelected:O,itemSelectedColor:O,subMenuItemSelectedColor:O,colorItemTextSelectedHorizontal:O,horizontalItemSelectedColor:O,colorItemBg:Se,itemBg:Se,colorItemBgHover:ye,itemHoverBg:ye,colorItemBgActive:ie,itemActiveBg:Me,colorSubItemBg:Ae,subMenuItemBg:Ae,colorItemBgSelected:Me,itemSelectedBg:Me,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:ft,colorActiveBarHeight:ze,activeBarHeight:ze,colorActiveBarBorderSize:Te,activeBarBorderWidth:Xe,colorItemTextDisabled:le,itemDisabledColor:le,colorDangerItemText:Q,dangerItemColor:Q,colorDangerItemTextHover:Q,dangerItemHoverColor:Q,colorDangerItemTextSelected:Q,dangerItemSelectedColor:Q,colorDangerItemBgActive:ue,dangerItemActiveBg:ue,colorDangerItemBgSelected:ue,dangerItemSelectedBg:ue,itemMarginInline:rt,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Ee,groupTitleLineHeight:be,collapsedWidth:Ee*2,popupBg:_e,itemMarginBlock:Ye,itemPaddingInline:Oe,horizontalLineHeight:`${Ee*1.15}px`,iconSize:Le,iconMarginInlineEnd:gt-Le,collapsedIconSize:He,groupTitleFontSize:Le,darkItemDisabledColor:new T.FastColor(Pe).setA(.25).toRgbString(),darkItemColor:Fe,darkDangerItemColor:Q,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Pe,darkItemSelectedBg:O,darkDangerItemSelectedBg:Q,darkItemHoverBg:"transparent",darkGroupTitleColor:Fe,darkItemHoverColor:Pe,darkDangerItemHoverColor:et,darkDangerItemSelectedColor:Pe,darkDangerItemActiveBg:Q,itemWidth:ft?`calc(100% + ${Xe}px)`:`calc(100% - ${rt*2}px)`}};var De=function(x){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:x,l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return(0,We.I$)("Menu",O=>{const{colorBgElevated:Q,controlHeightLG:le,fontSize:ue,darkItemColor:ne,darkDangerItemColor:he,darkItemBg:Se,darkSubMenuItemBg:Ae,darkItemSelectedColor:ie,darkItemSelectedBg:Te,darkDangerItemSelectedBg:ze,darkItemHoverBg:Me,darkGroupTitleColor:ye,darkItemHoverColor:Ee,darkItemDisabledColor:be,darkDangerItemHoverColor:_e,darkDangerItemSelectedColor:Ye,darkDangerItemActiveBg:Oe,popupBg:Le,darkPopupBg:gt}=O,He=O.calc(ue).div(7).mul(5).equal(),Pe=(0,j.mergeToken)(O,{menuArrowSize:He,menuHorizontalHeight:O.calc(le).mul(1.15).equal(),menuArrowOffset:O.calc(He).mul(.25).equal(),menuSubMenuBg:Q,calc:O.calc,popupBg:Le}),et=(0,j.mergeToken)(Pe,{itemColor:ne,itemHoverColor:Ee,groupTitleColor:ye,itemSelectedColor:ie,subMenuItemSelectedColor:ie,itemBg:Se,popupBg:gt,subMenuItemBg:Ae,itemActiveBg:"transparent",itemSelectedBg:Te,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Me,itemDisabledColor:be,dangerItemColor:he,dangerItemHoverColor:_e,dangerItemSelectedColor:Ye,dangerItemActiveBg:Oe,dangerItemSelectedBg:ze,menuSubMenuBg:Ae,horizontalItemSelectedColor:ie,horizontalItemSelectedBg:Te});return[q(Pe),V(Pe),ve(Pe),N(Pe,"light"),N(et,"dark"),I(Pe),(0,Ce.Z)(Pe),(0,se.oN)(Pe,"slide-up"),(0,se.oN)(Pe,"slide-down"),(0,me._y)(Pe,"zoom-big")]},Y,{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]],injectStyle:l,unitless:{groupTitleLineHeight:!0}})(x,p)},Be=r(75030),oe=x=>{var p;const{popupClassName:l,icon:Z,title:O,theme:Q}=x,le=o.useContext(F),{prefixCls:ue,inlineCollapsed:ne,theme:he}=le,Se=(0,E.Xl)();let Ae;if(!Z)Ae=ne&&!Se.length&&O&&typeof O=="string"?o.createElement("div",{className:`${ue}-inline-collapsed-noicon`},O.charAt(0)):o.createElement("span",{className:`${ue}-title-content`},O);else{const ze=o.isValidElement(O)&&O.type==="span";Ae=o.createElement(o.Fragment,null,(0,M.Tm)(Z,{className:D()(o.isValidElement(Z)?(p=Z.props)===null||p===void 0?void 0:p.className:"",`${ue}-item-icon`)}),ze?O:o.createElement("span",{className:`${ue}-title-content`},O))}const ie=o.useMemo(()=>Object.assign(Object.assign({},le),{firstLevel:!1}),[le]),[Te]=(0,Be.Cn)("Menu");return o.createElement(F.Provider,{value:ie},o.createElement(E.Wd,Object.assign({},(0,B.Z)(x,["icon"]),{title:Ae,popupClassName:D()(ue,l,`${ue}-${Q||he}`),popupStyle:Object.assign({zIndex:Te},x.popupStyle)})))},Qe=function(x,p){var l={};for(var Z in x)Object.prototype.hasOwnProperty.call(x,Z)&&p.indexOf(Z)<0&&(l[Z]=x[Z]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,Z=Object.getOwnPropertySymbols(x);O{var l;const Z=o.useContext(c.Z),O=Z||{},{getPrefixCls:Q,getPopupContainer:le,direction:ue,menu:ne}=o.useContext(ce.E_),he=Q(),{prefixCls:Se,className:Ae,style:ie,theme:Te="light",expandIcon:ze,_internalDisableMenuItemTitleTooltip:Me,inlineCollapsed:ye,siderCollapsed:Ee,rootClassName:be,mode:_e,selectable:Ye,onClick:Oe,overflowedIndicatorPopupClassName:Le}=x,gt=Qe(x,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),He=(0,B.Z)(gt,["collapsedWidth"]);(l=O.validator)===null||l===void 0||l.call(O,{mode:_e});const Pe=(0,S.Z)(function(){var nt;Oe==null||Oe.apply(void 0,arguments),(nt=O.onClick)===null||nt===void 0||nt.call(O)}),et=O.mode||_e,ft=Ye!=null?Ye:O.selectable,Xe=ye!=null?ye:Ee,rt={horizontal:{motionName:`${he}-slide-up`},inline:(0,K.Z)(he),other:{motionName:`${he}-zoom-big`}},Fe=Q("menu",Se||O.prefixCls),tt=(0,ge.Z)(Fe),[it,vt,Ze]=De(Fe,tt,!Z),lt=D()(`${Fe}-${Te}`,ne==null?void 0:ne.className,Ae),Ge=o.useMemo(()=>{var nt,Ct;if(typeof ze=="function"||te(ze))return ze||null;if(typeof O.expandIcon=="function"||te(O.expandIcon))return O.expandIcon||null;if(typeof(ne==null?void 0:ne.expandIcon)=="function"||te(ne==null?void 0:ne.expandIcon))return(ne==null?void 0:ne.expandIcon)||null;const Dt=(nt=ze!=null?ze:O==null?void 0:O.expandIcon)!==null&&nt!==void 0?nt:ne==null?void 0:ne.expandIcon;return(0,M.Tm)(Dt,{className:D()(`${Fe}-submenu-expand-icon`,o.isValidElement(Dt)?(Ct=Dt.props)===null||Ct===void 0?void 0:Ct.className:void 0)})},[ze,O==null?void 0:O.expandIcon,ne==null?void 0:ne.expandIcon,Fe]),wt=o.useMemo(()=>({prefixCls:Fe,inlineCollapsed:Xe||!1,direction:ue,firstLevel:!0,theme:Te,mode:et,disableMenuItemTitleTooltip:Me}),[Fe,Xe,ue,Me,Te]);return it(o.createElement(c.Z.Provider,{value:null},o.createElement(F.Provider,{value:wt},o.createElement(E.ZP,Object.assign({getPopupContainer:le,overflowedIndicator:o.createElement(fe.Z,null),overflowedIndicatorPopupClassName:D()(Fe,`${Fe}-${Te}`,Le),mode:et,selectable:ft,onClick:Pe},He,{inlineCollapsed:Xe,style:Object.assign(Object.assign({},ne==null?void 0:ne.style),ie),className:lt,prefixCls:Fe,direction:ue,defaultMotions:rt,expandIcon:Ge,ref:p,rootClassName:D()(be,vt,O.rootClassName,Ze,tt),_internalComponents:xe})))))});const m=(0,o.forwardRef)((x,p)=>{const l=(0,o.useRef)(null),Z=o.useContext(v.D);return(0,o.useImperativeHandle)(p,()=>({menu:l.current,focus:O=>{var Q;(Q=l.current)===null||Q===void 0||Q.focus(O)}})),o.createElement(w,Object.assign({ref:l},x,Z))});m.Item=d,m.SubMenu=oe,m.Divider=Ue,m.ItemGroup=E.BW;var k=m},93873:function(ht,$e,r){"use strict";r.d($e,{Fm:function(){return ge}});var o=r(36237),E=r(48746);const v=new o.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),fe=new o.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),L=new o.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 o.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),S=new o.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),B=new o.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),K=new o.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),M=new o.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),ce={"move-up":{inKeyframes:K,outKeyframes:M},"move-down":{inKeyframes:v,outKeyframes:fe},"move-left":{inKeyframes:L,outKeyframes:D},"move-right":{inKeyframes:S,outKeyframes:B}},ge=(h,F)=>{const{antCls:Ke}=h,Ve=`${Ke}-${F}`,{inKeyframes:Ue,outKeyframes:Ie}=ce[F];return[(0,E.R)(Ve,Ue,Ie,h.motionDurationMid),{[`
${Ve}-enter,
${Ve}-appear
`]:{opacity:0,animationTimingFunction:h.motionEaseOutCirc},[`${Ve}-leave`]:{animationTimingFunction:h.motionEaseInOutCirc}}]}},46e3:function(ht,$e,r){"use strict";r.d($e,{Qt:function(){return L},Uw:function(){return fe},fJ:function(){return v},ly:function(){return D},oN:function(){return ge}});var o=r(36237),E=r(48746);const v=new o.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),fe=new o.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),L=new o.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),D=new o.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),S=new o.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),B=new o.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),K=new o.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),M=new o.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),ce={"slide-up":{inKeyframes:v,outKeyframes:fe},"slide-down":{inKeyframes:L,outKeyframes:D},"slide-left":{inKeyframes:S,outKeyframes:B},"slide-right":{inKeyframes:K,outKeyframes:M}},ge=(h,F)=>{const{antCls:Ke}=h,Ve=`${Ke}-${F}`,{inKeyframes:Ue,outKeyframes:Ie}=ce[F];return[(0,E.R)(Ve,Ue,Ie,h.motionDurationMid),{[`
${Ve}-enter,
${Ve}-appear
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:h.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${Ve}-leave`]:{animationTimingFunction:h.motionEaseInQuint}}]}},37645:function(ht,$e,r){"use strict";r.d($e,{ZP:function(){return D},qN:function(){return v},wZ:function(){return fe}});var o=r(36237),E=r(36305);const v=8;function fe(S){const{contentRadius:B,limitVerticalRadius:K}=S,M=B>12?B+2:12;return{arrowOffsetHorizontal:M,arrowOffsetVertical:K?v:M}}function L(S,B){return S?B:{}}function D(S,B,K){const{componentCls:M,boxShadowPopoverArrow:ce,arrowOffsetVertical:ge,arrowOffsetHorizontal:h}=S,{arrowDistance:F=0,arrowPlacement:Ke={left:!0,right:!0,top:!0,bottom:!0}}=K||{};return{[M]:Object.assign(Object.assign(Object.assign(Object.assign({[`${M}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,E.W)(S,B,ce)),{"&:before":{background:B}})]},L(!!Ke.top,{[[`&-placement-top > ${M}-arrow`,`&-placement-topLeft > ${M}-arrow`,`&-placement-topRight > ${M}-arrow`].join(",")]:{bottom:F,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${M}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":h,[`> ${M}-arrow`]:{left:{_skip_check_:!0,value:h}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,o.unit)(h)})`,[`> ${M}-arrow`]:{right:{_skip_check_:!0,value:h}}}})),L(!!Ke.bottom,{[[`&-placement-bottom > ${M}-arrow`,`&-placement-bottomLeft > ${M}-arrow`,`&-placement-bottomRight > ${M}-arrow`].join(",")]:{top:F,transform:"translateY(-100%)"},[`&-placement-bottom > ${M}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":h,[`> ${M}-arrow`]:{left:{_skip_check_:!0,value:h}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${(0,o.unit)(h)})`,[`> ${M}-arrow`]:{right:{_skip_check_:!0,value:h}}}})),L(!!Ke.left,{[[`&-placement-left > ${M}-arrow`,`&-placement-leftTop > ${M}-arrow`,`&-placement-leftBottom > ${M}-arrow`].join(",")]:{right:{_skip_check_:!0,value:F},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${M}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${M}-arrow`]:{top:ge},[`&-placement-leftBottom > ${M}-arrow`]:{bottom:ge}})),L(!!Ke.right,{[[`&-placement-right > ${M}-arrow`,`&-placement-rightTop > ${M}-arrow`,`&-placement-rightBottom > ${M}-arrow`].join(",")]:{left:{_skip_check_:!0,value:F},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${M}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${M}-arrow`]:{top:ge},[`&-placement-rightBottom > ${M}-arrow`]:{bottom:ge}}))}}},36305:function(ht,$e,r){"use strict";r.d($e,{W:function(){return v},w:function(){return E}});var o=r(36237);function E(fe){const{sizePopupArrow:L,borderRadiusXS:D,borderRadiusOuter:S}=fe,B=L/2,K=0,M=B,ce=S*1/Math.sqrt(2),ge=B-S*(1-1/Math.sqrt(2)),h=B-D*(1/Math.sqrt(2)),F=S*(Math.sqrt(2)-1)+D*(1/Math.sqrt(2)),Ke=2*B-h,Ve=F,Ue=2*B-ce,Ie=ge,u=2*B-K,J=M,d=B*Math.sqrt(2)+S*(Math.sqrt(2)-2),c=S*(Math.sqrt(2)-1),$=`polygon(${c}px 100%, 50% ${c}px, ${2*B-c}px 100%, ${c}px 100%)`,T=`path('M ${K} ${M} A ${S} ${S} 0 0 0 ${ce} ${ge} L ${h} ${F} A ${D} ${D} 0 0 1 ${Ke} ${Ve} L ${Ue} ${Ie} A ${S} ${S} 0 0 0 ${u} ${J} Z')`;return{arrowShadowWidth:d,arrowPath:T,arrowPolygon:$}}const v=(fe,L,D)=>{const{sizePopupArrow:S,arrowPolygon:B,arrowPath:K,arrowShadowWidth:M,borderRadiusXS:ce,calc:ge}=fe;return{pointerEvents:"none",width:S,height:S,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:S,height:ge(S).div(2).equal(),background:L,clipPath:{_multi_value_:!0,value:[B,K]},content:'""'},"&::after":{content:'""',position:"absolute",width:M,height:M,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${(0,o.unit)(ce)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:D,zIndex:0,background:"transparent"}}}},93427:function(ht,$e,r){"use strict";r.d($e,{Z:function(){return E}});var o=r(34998);function E(v,fe){return o.i.reduce((L,D)=>{const S=v[`${D}1`],B=v[`${D}3`],K=v[`${D}6`],M=v[`${D}7`];return Object.assign(Object.assign({},L),fe(D,{lightColor:S,lightBorderColor:B,darkColor:K,textColor:M}))},{})}},25399:function(ht,$e,r){"use strict";r.d($e,{Z:function(){return _}});var o=r(59301),E=r(92310),v=r.n(E),fe=r(29125),L=r(18929),D=r(62487),S=r(75030),B=r(86641),K=r(52838),M=r(22703),ce=r(32383),ge=r(55743),h=r(57700),F=r(48755),Ke=r(36237),Ve=r(63356),Ue=r(34925),Ie=r(37645),u=r(36305),J=r(93427),d=r(51636),c=r(16931);const $=I=>{const{calc:C,componentCls:b,tooltipMaxWidth:N,tooltipColor:z,tooltipBg:G,tooltipBorderRadius:ve,zIndexPopup:we,controlHeight:U,boxShadowSecondary:q,paddingSM:Y,paddingXS:De,arrowOffsetHorizontal:Be,sizePopupArrow:Re}=I,oe=C(ve).add(Re).add(Be).equal(),Qe=C(ve).mul(2).add(Re).equal();return[{[b]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ve.Wf)(I)),{position:"absolute",zIndex:we,display:"block",width:"max-content",maxWidth:N,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":G,[`${b}-inner`]:{minWidth:Qe,minHeight:U,padding:`${(0,Ke.unit)(I.calc(Y).div(2).equal())} ${(0,Ke.unit)(De)}`,color:z,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:G,borderRadius:ve,boxShadow:q,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:oe},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${b}-inner`]:{borderRadius:I.min(ve,Ie.qN)}},[`${b}-content`]:{position:"relative"}}),(0,J.Z)(I,(te,xe)=>{let{darkColor:y}=xe;return{[`&${b}-${te}`]:{[`${b}-inner`]:{backgroundColor:y},[`${b}-arrow`]:{"--antd-arrow-background-color":y}}}})),{"&-rtl":{direction:"rtl"}})},(0,Ie.ZP)(I,"var(--antd-arrow-background-color)"),{[`${b}-pure`]:{position:"relative",maxWidth:"none",margin:I.sizePopupArrow}}]},T=I=>Object.assign(Object.assign({zIndexPopup:I.zIndexPopupBase+70},(0,Ie.wZ)({contentRadius:I.borderRadius,limitVerticalRadius:!0})),(0,u.w)((0,d.mergeToken)(I,{borderRadiusOuter:Math.min(I.borderRadiusOuter,4)})));var f=function(I){let C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return(0,c.I$)("Tooltip",N=>{const{borderRadius:z,colorTextLightSolid:G,colorBgSpotlight:ve}=N,we=(0,d.mergeToken)(N,{tooltipMaxWidth:250,tooltipColor:G,tooltipBorderRadius:z,tooltipBg:ve});return[$(we),(0,Ue._y)(N,"zoom-big-fast")]},T,{resetStyle:!1,injectStyle:C})(I)},Ce=r(29509);function se(I,C){const b=(0,Ce.o2)(C),N=v()({[`${I}-${C}`]:C&&b}),z={},G={};return C&&!b&&(z.background=C,G["--antd-arrow-background-color"]=C),{className:N,overlayStyle:z,arrowStyle:G}}var We=I=>{const{prefixCls:C,className:b,placement:N="top",title:z,color:G,overlayInnerStyle:ve}=I,{getPrefixCls:we}=o.useContext(F.E_),U=we("tooltip",C),[q,Y,De]=f(U),Be=se(U,G),Re=Be.arrowStyle,oe=Object.assign(Object.assign({},ve),Be.overlayStyle),Qe=v()(Y,De,U,`${U}-pure`,`${U}-placement-${N}`,b,Be.className);return q(o.createElement("div",{className:Qe,style:Re},o.createElement("div",{className:`${U}-arrow`}),o.createElement(fe.G,Object.assign({},I,{className:Y,prefixCls:U,overlayInnerStyle:oe}),z)))},j=function(I,C){var b={};for(var N in I)Object.prototype.hasOwnProperty.call(I,N)&&C.indexOf(N)<0&&(b[N]=I[N]);if(I!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,N=Object.getOwnPropertySymbols(I);z{var b,N;const{prefixCls:z,openClassName:G,getTooltipContainer:ve,color:we,overlayInnerStyle:U,children:q,afterOpenChange:Y,afterVisibleChange:De,destroyTooltipOnHide:Be,arrow:Re=!0,title:oe,overlay:Qe,builtinPlacements:te,arrowPointAtCenter:xe=!1,autoAdjustOverflow:y=!0,motion:w,getPopupContainer:m,placement:k="top",mouseEnterDelay:x=.1,mouseLeaveDelay:p=.1,overlayStyle:l,rootClassName:Z,overlayClassName:O,styles:Q,classNames:le}=I,ue=j(I,["prefixCls","openClassName","getTooltipContainer","color","overlayInnerStyle","children","afterOpenChange","afterVisibleChange","destroyTooltipOnHide","arrow","title","overlay","builtinPlacements","arrowPointAtCenter","autoAdjustOverflow","motion","getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),ne=!!Re,[,he]=(0,h.ZP)(),{getPopupContainer:Se,getPrefixCls:Ae,direction:ie,className:Te,style:ze,classNames:Me,styles:ye}=(0,F.dj)("tooltip"),Ee=(0,ce.ln)("Tooltip"),be=o.useRef(null),_e=()=>{var yt;(yt=be.current)===null||yt===void 0||yt.forceAlign()};o.useImperativeHandle(C,()=>{var yt,It;return{forceAlign:_e,forcePopupAlign:()=>{Ee.deprecated(!1,"forcePopupAlign","forceAlign"),_e()},nativeElement:(yt=be.current)===null||yt===void 0?void 0:yt.nativeElement,popupElement:(It=be.current)===null||It===void 0?void 0:It.popupElement}});const[Ye,Oe]=(0,L.Z)(!1,{value:(b=I.open)!==null&&b!==void 0?b:I.visible,defaultValue:(N=I.defaultOpen)!==null&&N!==void 0?N:I.defaultVisible}),Le=!oe&&!Qe&&oe!==0,gt=yt=>{var It,$t;Oe(Le?!1:yt),Le||((It=I.onOpenChange)===null||It===void 0||It.call(I,yt),($t=I.onVisibleChange)===null||$t===void 0||$t.call(I,yt))},He=o.useMemo(()=>{var yt,It;let $t=xe;return typeof Re=="object"&&($t=(It=(yt=Re.pointAtCenter)!==null&&yt!==void 0?yt:Re.arrowPointAtCenter)!==null&&It!==void 0?It:xe),te||(0,K.Z)({arrowPointAtCenter:$t,autoAdjustOverflow:y,arrowWidth:ne?he.sizePopupArrow:0,borderRadius:he.borderRadius,offset:he.marginXXS,visibleFirst:!0})},[xe,Re,te,he]),Pe=o.useMemo(()=>oe===0?oe:Qe||oe||"",[Qe,oe]),et=o.createElement(D.Z,{space:!0},typeof Pe=="function"?Pe():Pe),ft=Ae("tooltip",z),Xe=Ae(),rt=I["data-popover-inject"];let Fe=Ye;!("open"in I)&&!("visible"in I)&&Le&&(Fe=!1);const tt=o.isValidElement(q)&&!(0,M.M2)(q)?q:o.createElement("span",null,q),it=tt.props,vt=!it.className||typeof it.className=="string"?v()(it.className,G||`${ft}-open`):it.className,[Ze,lt,Ge]=f(ft,!rt),wt=se(ft,we),nt=wt.arrowStyle,Ct=v()(O,{[`${ft}-rtl`]:ie==="rtl"},wt.className,Z,lt,Ge,Te,Me.root,le==null?void 0:le.root),Dt=v()(Me.body,le==null?void 0:le.body),[Lt,_t]=(0,S.Cn)("Tooltip",ue.zIndex),qt=o.createElement(fe.Z,Object.assign({},ue,{zIndex:Lt,showArrow:ne,placement:k,mouseEnterDelay:x,mouseLeaveDelay:p,prefixCls:ft,classNames:{root:Ct,body:Dt},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},nt),ye.root),ze),l),Q==null?void 0:Q.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},ye.body),U),Q==null?void 0:Q.body),wt.overlayStyle)},getTooltipContainer:m||ve||Se,ref:be,builtinPlacements:He,overlay:et,visible:Fe,onVisibleChange:gt,afterVisibleChange:Y!=null?Y:De,arrowContent:o.createElement("span",{className:`${ft}-arrow-content`}),motion:{motionName:(0,B.m)(Xe,"zoom-big-fast",I.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!Be}),Fe?(0,M.Tm)(tt,{className:vt}):tt);return Ze(o.createElement(ge.Z.Provider,{value:_t},qt))});V._InternalPanelDoNotUseOrYouWillBeFired=We;var _=V},21639:function(ht){(function($e,r){ht.exports=r()})(this,function(){"use strict";function $e(a,e){var n=Object.keys(a);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(a);e&&(t=t.filter(function(s){return Object.getOwnPropertyDescriptor(a,s).enumerable})),n.push.apply(n,t)}return n}function r(a){for(var e=1;ea.length)&&(e=a.length);for(var n=0,t=new Array(e);n
',Ae=Number.isNaN||Ke.isNaN;function ie(a){return typeof a=="number"&&!Ae(a)}var Te=function(e){return e>0&&e<1/0};function ze(a){return typeof a=="undefined"}function Me(a){return v(a)==="object"&&a!==null}var ye=Object.prototype.hasOwnProperty;function Ee(a){if(!Me(a))return!1;try{var e=a.constructor,n=e.prototype;return e&&n&&ye.call(n,"isPrototypeOf")}catch(t){return!1}}function be(a){return typeof a=="function"}var _e=Array.prototype.slice;function Ye(a){return Array.from?Array.from(a):_e.call(a)}function Oe(a,e){return a&&be(e)&&(Array.isArray(a)||ie(a.length)?Ye(a).forEach(function(n,t){e.call(a,n,t,a)}):Me(a)&&Object.keys(a).forEach(function(n){e.call(a,a[n],n,a)})),a}var Le=Object.assign||function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),s=1;s0&&t.forEach(function(i){Me(i)&&Object.keys(i).forEach(function(g){e[g]=i[g]})}),e},gt=/\.\d*(?:0|9){12}\d*$/;function He(a){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return gt.test(a)?Math.round(a*e)/e:a}var Pe=/^width|height|left|top|marginLeft|marginTop$/;function et(a,e){var n=a.style;Oe(e,function(t,s){Pe.test(s)&&ie(t)&&(t="".concat(t,"px")),n[s]=t})}function ft(a,e){return a.classList?a.classList.contains(e):a.className.indexOf(e)>-1}function Xe(a,e){if(e){if(ie(a.length)){Oe(a,function(t){Xe(t,e)});return}if(a.classList){a.classList.add(e);return}var n=a.className.trim();n?n.indexOf(e)<0&&(a.className="".concat(n," ").concat(e)):a.className=e}}function rt(a,e){if(e){if(ie(a.length)){Oe(a,function(n){rt(n,e)});return}if(a.classList){a.classList.remove(e);return}a.className.indexOf(e)>=0&&(a.className=a.className.replace(e,""))}}function Fe(a,e,n){if(e){if(ie(a.length)){Oe(a,function(t){Fe(t,e,n)});return}n?Xe(a,e):rt(a,e)}}var tt=/([a-z\d])([A-Z])/g;function it(a){return a.replace(tt,"$1-$2").toLowerCase()}function vt(a,e){return Me(a[e])?a[e]:a.dataset?a.dataset[e]:a.getAttribute("data-".concat(it(e)))}function Ze(a,e,n){Me(n)?a[e]=n:a.dataset?a.dataset[e]=n:a.setAttribute("data-".concat(it(e)),n)}function lt(a,e){if(Me(a[e]))try{delete a[e]}catch(n){a[e]=void 0}else if(a.dataset)try{delete a.dataset[e]}catch(n){a.dataset[e]=void 0}else a.removeAttribute("data-".concat(it(e)))}var Ge=/\s\s*/,wt=function(){var a=!1;if(F){var e=!1,n=function(){},t=Object.defineProperty({},"once",{get:function(){return a=!0,e},set:function(i){e=i}});Ke.addEventListener("test",n,t),Ke.removeEventListener("test",n,t)}return a}();function nt(a,e,n){var t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=n;e.trim().split(Ge).forEach(function(i){if(!wt){var g=a.listeners;g&&g[i]&&g[i][n]&&(s=g[i][n],delete g[i][n],Object.keys(g[i]).length===0&&delete g[i],Object.keys(g).length===0&&delete a.listeners)}a.removeEventListener(i,s,t)})}function Ct(a,e,n){var t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=n;e.trim().split(Ge).forEach(function(i){if(t.once&&!wt){var g=a.listeners,W=g===void 0?{}:g;s=function(){delete W[i][n],a.removeEventListener(i,s,t);for(var X=arguments.length,A=new Array(X),H=0;HMath.abs(n)&&(n=re)})}),n}function mt(a,e){var n=a.pageX,t=a.pageY,s={endX:n,endY:t};return e?s:r({startX:n,startY:t},s)}function jt(a){var e=0,n=0,t=0;return Oe(a,function(s){var i=s.startX,g=s.startY;e+=i,n+=g,t+=1}),e/=t,n/=t,{pageX:e,pageY:n}}function Rt(a){var e=a.aspectRatio,n=a.height,t=a.width,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"contain",i=Te(t),g=Te(n);if(i&&g){var W=n*e;s==="contain"&&W>t||s==="cover"&&W90?{width:ee,height:W}:{width:W,height:ee}}function un(a,e,n,t){var s=e.aspectRatio,i=e.naturalWidth,g=e.naturalHeight,W=e.rotate,ee=W===void 0?0:W,X=e.scaleX,A=X===void 0?1:X,H=e.scaleY,re=H===void 0?1:H,Ne=n.aspectRatio,je=n.naturalWidth,ot=n.naturalHeight,Je=t.fillColor,qe=Je===void 0?"transparent":Je,ut=t.imageSmoothingEnabled,at=ut===void 0?!0:ut,bt=t.imageSmoothingQuality,xt=bt===void 0?"low":bt,pe=t.maxWidth,dt=pe===void 0?1/0:pe,pt=t.maxHeight,Et=pt===void 0?1/0:pt,Nt=t.minWidth,Tt=Nt===void 0?0:Nt,Bt=t.minHeight,Zt=Bt===void 0?0:Bt,Ot=document.createElement("canvas"),Pt=Ot.getContext("2d"),St=Rt({aspectRatio:Ne,width:dt,height:Et}),Xt=Rt({aspectRatio:Ne,width:Tt,height:Zt},"cover"),mn=Math.min(St.width,Math.max(Xt.width,je)),vn=Math.min(St.height,Math.max(Xt.height,ot)),rn=Rt({aspectRatio:s,width:dt,height:Et}),pn=Rt({aspectRatio:s,width:Tt,height:Zt},"cover"),Gt=Math.min(rn.width,Math.max(pn.width,i)),kt=Math.min(rn.height,Math.max(pn.height,g)),Sn=[-Gt/2,-kt/2,Gt,kt];return Ot.width=He(mn),Ot.height=He(vn),Pt.fillStyle=qe,Pt.fillRect(0,0,mn,vn),Pt.save(),Pt.translate(mn/2,vn/2),Pt.rotate(ee*Math.PI/180),Pt.scale(A,re),Pt.imageSmoothingEnabled=at,Pt.imageSmoothingQuality=xt,Pt.drawImage.apply(Pt,[a].concat(B(Sn.map(function(cn){return Math.floor(He(cn))})))),Pt.restore(),Ot}var en=String.fromCharCode;function dn(a,e,n){var t="";n+=e;for(var s=e;s0;)n.push(en.apply(null,Ye(s.subarray(0,t)))),s=s.subarray(t);return"data:".concat(e,";base64,").concat(btoa(n.join("")))}function Wt(a){var e=new DataView(a),n;try{var t,s,i;if(e.getUint8(0)===255&&e.getUint8(1)===216)for(var g=e.byteLength,W=2;W+1=8&&(i=X+H)}}}if(i){var re=e.getUint16(i,t),Ne,je;for(je=0;je=0?i:ue),height:Math.max(t.offsetHeight,g>=0?g:ne)};this.containerData=W,et(s,{width:W.width,height:W.height}),Xe(e,_),rt(s,_)},initCanvas:function(){var e=this.containerData,n=this.imageData,t=this.options.viewMode,s=Math.abs(n.rotate)%180===90,i=s?n.naturalHeight:n.naturalWidth,g=s?n.naturalWidth:n.naturalHeight,W=i/g,ee=e.width,X=e.height;e.height*W>e.width?t===3?ee=e.height*W:X=e.width/W:t===3?X=e.width/W:ee=e.height*W;var A={aspectRatio:W,naturalWidth:i,naturalHeight:g,width:ee,height:X};this.canvasData=A,this.limited=t===1||t===2,this.limitCanvas(!0,!0),A.width=Math.min(Math.max(A.width,A.minWidth),A.maxWidth),A.height=Math.min(Math.max(A.height,A.minHeight),A.maxHeight),A.left=(e.width-A.width)/2,A.top=(e.height-A.height)/2,A.oldLeft=A.left,A.oldTop=A.top,this.initialCanvasData=Le({},A)},limitCanvas:function(e,n){var t=this.options,s=this.containerData,i=this.canvasData,g=this.cropBoxData,W=t.viewMode,ee=i.aspectRatio,X=this.cropped&&g;if(e){var A=Number(t.minCanvasWidth)||0,H=Number(t.minCanvasHeight)||0;W>1?(A=Math.max(A,s.width),H=Math.max(H,s.height),W===3&&(H*ee>A?A=H*ee:H=A/ee)):W>0&&(A?A=Math.max(A,X?g.width:0):H?H=Math.max(H,X?g.height:0):X&&(A=g.width,H=g.height,H*ee>A?A=H*ee:H=A/ee));var re=Rt({aspectRatio:ee,width:A,height:H});A=re.width,H=re.height,i.minWidth=A,i.minHeight=H,i.maxWidth=1/0,i.maxHeight=1/0}if(n)if(W>(X?0:1)){var Ne=s.width-i.width,je=s.height-i.height;i.minLeft=Math.min(0,Ne),i.minTop=Math.min(0,je),i.maxLeft=Math.max(0,Ne),i.maxTop=Math.max(0,je),X&&this.limited&&(i.minLeft=Math.min(g.left,g.left+(g.width-i.width)),i.minTop=Math.min(g.top,g.top+(g.height-i.height)),i.maxLeft=g.left,i.maxTop=g.top,W===2&&(i.width>=s.width&&(i.minLeft=Math.min(0,Ne),i.maxLeft=Math.max(0,Ne)),i.height>=s.height&&(i.minTop=Math.min(0,je),i.maxTop=Math.max(0,je))))}else i.minLeft=-i.width,i.minTop=-i.height,i.maxLeft=s.width,i.maxTop=s.height},renderCanvas:function(e,n){var t=this.canvasData,s=this.imageData;if(n){var i=Vt({width:s.naturalWidth*Math.abs(s.scaleX||1),height:s.naturalHeight*Math.abs(s.scaleY||1),degree:s.rotate||0}),g=i.width,W=i.height,ee=t.width*(g/t.naturalWidth),X=t.height*(W/t.naturalHeight);t.left-=(ee-t.width)/2,t.top-=(X-t.height)/2,t.width=ee,t.height=X,t.aspectRatio=g/W,t.naturalWidth=g,t.naturalHeight=W,this.limitCanvas(!0,!1)}(t.width>t.maxWidth||t.widtht.maxHeight||t.heightn.width?i.height=i.width/t:i.width=i.height*t),this.cropBoxData=i,this.limitCropBox(!0,!0),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),i.width=Math.max(i.minWidth,i.width*s),i.height=Math.max(i.minHeight,i.height*s),i.left=n.left+(n.width-i.width)/2,i.top=n.top+(n.height-i.height)/2,i.oldLeft=i.left,i.oldTop=i.top,this.initialCropBoxData=Le({},i)},limitCropBox:function(e,n){var t=this.options,s=this.containerData,i=this.canvasData,g=this.cropBoxData,W=this.limited,ee=t.aspectRatio;if(e){var X=Number(t.minCropBoxWidth)||0,A=Number(t.minCropBoxHeight)||0,H=W?Math.min(s.width,i.width,i.width+i.left,s.width-i.left):s.width,re=W?Math.min(s.height,i.height,i.height+i.top,s.height-i.top):s.height;X=Math.min(X,s.width),A=Math.min(A,s.height),ee&&(X&&A?A*ee>X?A=X/ee:X=A*ee:X?A=X/ee:A&&(X=A*ee),re*ee>H?re=H/ee:H=re*ee),g.minWidth=Math.min(X,H),g.minHeight=Math.min(A,re),g.maxWidth=H,g.maxHeight=re}n&&(W?(g.minLeft=Math.max(0,i.left),g.minTop=Math.max(0,i.top),g.maxLeft=Math.min(s.width,i.left+i.width)-g.width,g.maxTop=Math.min(s.height,i.top+i.height)-g.height):(g.minLeft=0,g.minTop=0,g.maxLeft=s.width-g.width,g.maxTop=s.height-g.height))},renderCropBox:function(){var e=this.options,n=this.containerData,t=this.cropBoxData;(t.width>t.maxWidth||t.widtht.maxHeight||t.height=n.width&&t.height>=n.height?d:u),et(this.cropBox,Le({width:t.width,height:t.height},$t({translateX:t.left,translateY:t.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),Dt(this.element,q,this.getData())}},gn={initPreview:function(){var e=this.element,n=this.crossOrigin,t=this.options.preview,s=n?this.crossOriginUrl:this.url,i=e.alt||"The image to preview",g=document.createElement("img");if(n&&(g.crossOrigin=n),g.src=s,g.alt=i,this.viewBox.appendChild(g),this.viewBoxImage=g,!!t){var W=t;typeof t=="string"?W=e.ownerDocument.querySelectorAll(t):t.querySelector&&(W=[t]),this.previews=W,Oe(W,function(ee){var X=document.createElement("img");Ze(ee,G,{width:ee.offsetWidth,height:ee.offsetHeight,html:ee.innerHTML}),n&&(X.crossOrigin=n),X.src=s,X.alt=i,X.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',ee.innerHTML="",ee.appendChild(X)})}},resetPreview:function(){Oe(this.previews,function(e){var n=vt(e,G);et(e,{width:n.width,height:n.height}),e.innerHTML=n.html,lt(e,G)})},preview:function(){var e=this.imageData,n=this.canvasData,t=this.cropBoxData,s=t.width,i=t.height,g=e.width,W=e.height,ee=t.left-n.left-e.left,X=t.top-n.top-e.top;!this.cropped||this.disabled||(et(this.viewBoxImage,Le({width:g,height:W},$t(Le({translateX:-ee,translateY:-X},e)))),Oe(this.previews,function(A){var H=vt(A,G),re=H.width,Ne=H.height,je=re,ot=Ne,Je=1;s&&(Je=re/s,ot=i*Je),i&&ot>Ne&&(Je=Ne/i,je=s*Je,ot=Ne),et(A,{width:je,height:ot}),et(A.getElementsByTagName("img")[0],Le({width:g*Je,height:W*Je},$t(Le({translateX:-ee*Je,translateY:-X*Je},e))))}))}},Nn={bind:function(){var e=this.element,n=this.options,t=this.cropper;be(n.cropstart)&&Ct(e,Be,n.cropstart),be(n.cropmove)&&Ct(e,De,n.cropmove),be(n.cropend)&&Ct(e,Y,n.cropend),be(n.crop)&&Ct(e,q,n.crop),be(n.zoom)&&Ct(e,p,n.zoom),Ct(t,xe,this.onCropStart=this.cropStart.bind(this)),n.zoomable&&n.zoomOnWheel&&Ct(t,x,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),n.toggleDragModeOnDblclick&&Ct(t,Re,this.onDblclick=this.dblclick.bind(this)),Ct(e.ownerDocument,y,this.onCropMove=this.cropMove.bind(this)),Ct(e.ownerDocument,w,this.onCropEnd=this.cropEnd.bind(this)),n.responsive&&Ct(window,k,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,n=this.options,t=this.cropper;be(n.cropstart)&&nt(e,Be,n.cropstart),be(n.cropmove)&&nt(e,De,n.cropmove),be(n.cropend)&&nt(e,Y,n.cropend),be(n.crop)&&nt(e,q,n.crop),be(n.zoom)&&nt(e,p,n.zoom),nt(t,xe,this.onCropStart),n.zoomable&&n.zoomOnWheel&&nt(t,x,this.onWheel,{passive:!1,capture:!0}),n.toggleDragModeOnDblclick&&nt(t,Re,this.onDblclick),nt(e.ownerDocument,y,this.onCropMove),nt(e.ownerDocument,w,this.onCropEnd),n.responsive&&nt(window,k,this.onResize)}},tn={resize:function(){if(!this.disabled){var e=this.options,n=this.container,t=this.containerData,s=n.offsetWidth/t.width,i=n.offsetHeight/t.height,g=Math.abs(s-1)>Math.abs(i-1)?s:i;if(g!==1){var W,ee;e.restore&&(W=this.getCanvasData(),ee=this.getCropBoxData()),this.render(),e.restore&&(this.setCanvasData(Oe(W,function(X,A){W[A]=X*g})),this.setCropBoxData(Oe(ee,function(X,A){ee[A]=X*g})))}}},dblclick:function(){this.disabled||this.options.dragMode===U||this.setDragMode(ft(this.dragBox,R)?we:ve)},wheel:function(e){var n=this,t=Number(this.options.wheelZoomRatio)||.1,s=1;this.disabled||(e.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){n.wheeling=!1},50),e.deltaY?s=e.deltaY>0?1:-1:e.wheelDelta?s=-e.wheelDelta/120:e.detail&&(s=e.detail>0?1:-1),this.zoom(-s*t,e)))},cropStart:function(e){var n=e.buttons,t=e.button;if(!(this.disabled||(e.type==="mousedown"||e.type==="pointerdown"&&e.pointerType==="mouse")&&(ie(n)&&n!==1||ie(t)&&t!==0||e.ctrlKey))){var s=this.options,i=this.pointers,g;e.changedTouches?Oe(e.changedTouches,function(W){i[W.identifier]=mt(W)}):i[e.pointerId||0]=mt(e),Object.keys(i).length>1&&s.zoomable&&s.zoomOnTouch?g=c:g=vt(e.target,z),Z.test(g)&&Dt(this.element,Be,{originalEvent:e,action:g})!==!1&&(e.preventDefault(),this.action=g,this.cropping=!1,g===J&&(this.cropping=!0,Xe(this.dragBox,b)))}},cropMove:function(e){var n=this.action;if(!(this.disabled||!n)){var t=this.pointers;e.preventDefault(),Dt(this.element,De,{originalEvent:e,action:n})!==!1&&(e.changedTouches?Oe(e.changedTouches,function(s){Le(t[s.identifier]||{},mt(s,!0))}):Le(t[e.pointerId||0]||{},mt(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var n=this.action,t=this.pointers;e.changedTouches?Oe(e.changedTouches,function(s){delete t[s.identifier]}):delete t[e.pointerId||0],n&&(e.preventDefault(),Object.keys(t).length||(this.action=""),this.cropping&&(this.cropping=!1,Fe(this.dragBox,b,this.cropped&&this.options.modal)),Dt(this.element,Y,{originalEvent:e,action:n}))}}},fn={change:function(e){var n=this.options,t=this.canvasData,s=this.containerData,i=this.cropBoxData,g=this.pointers,W=this.action,ee=n.aspectRatio,X=i.left,A=i.top,H=i.width,re=i.height,Ne=X+H,je=A+re,ot=0,Je=0,qe=s.width,ut=s.height,at=!0,bt;!ee&&e.shiftKey&&(ee=H&&re?H/re:1),this.limited&&(ot=i.minLeft,Je=i.minTop,qe=ot+Math.min(s.width,t.width,t.left+t.width),ut=Je+Math.min(s.height,t.height,t.top+t.height));var xt=g[Object.keys(g)[0]],pe={x:xt.endX-xt.startX,y:xt.endY-xt.startY},dt=function(Et){switch(Et){case $:Ne+pe.x>qe&&(pe.x=qe-Ne);break;case T:X+pe.xut&&(pe.y=ut-je);break}};switch(W){case u:X+=pe.x,A+=pe.y;break;case $:if(pe.x>=0&&(Ne>=qe||ee&&(A<=Je||je>=ut))){at=!1;break}dt($),H+=pe.x,H<0&&(W=T,H=-H,X-=H),ee&&(re=H/ee,A+=(i.height-re)/2);break;case Ce:if(pe.y<=0&&(A<=Je||ee&&(X<=ot||Ne>=qe))){at=!1;break}dt(Ce),re-=pe.y,A+=pe.y,re<0&&(W=f,re=-re,A-=re),ee&&(H=re*ee,X+=(i.width-H)/2);break;case T:if(pe.x<=0&&(X<=ot||ee&&(A<=Je||je>=ut))){at=!1;break}dt(T),H-=pe.x,X+=pe.x,H<0&&(W=$,H=-H,X-=H),ee&&(re=H/ee,A+=(i.height-re)/2);break;case f:if(pe.y>=0&&(je>=ut||ee&&(X<=ot||Ne>=qe))){at=!1;break}dt(f),re+=pe.y,re<0&&(W=Ce,re=-re,A-=re),ee&&(H=re*ee,X+=(i.width-H)/2);break;case se:if(ee){if(pe.y<=0&&(A<=Je||Ne>=qe)){at=!1;break}dt(Ce),re-=pe.y,A+=pe.y,H=re*ee}else dt(Ce),dt($),pe.x>=0?NeJe&&(re-=pe.y,A+=pe.y):(re-=pe.y,A+=pe.y);H<0&&re<0?(W=j,re=-re,H=-H,A-=re,X-=H):H<0?(W=me,H=-H,X-=H):re<0&&(W=We,re=-re,A-=re);break;case me:if(ee){if(pe.y<=0&&(A<=Je||X<=ot)){at=!1;break}dt(Ce),re-=pe.y,A+=pe.y,H=re*ee,X+=i.width-H}else dt(Ce),dt(T),pe.x<=0?X>ot?(H-=pe.x,X+=pe.x):pe.y<=0&&A<=Je&&(at=!1):(H-=pe.x,X+=pe.x),pe.y<=0?A>Je&&(re-=pe.y,A+=pe.y):(re-=pe.y,A+=pe.y);H<0&&re<0?(W=We,re=-re,H=-H,A-=re,X-=H):H<0?(W=se,H=-H,X-=H):re<0&&(W=j,re=-re,A-=re);break;case j:if(ee){if(pe.x<=0&&(X<=ot||je>=ut)){at=!1;break}dt(T),H-=pe.x,X+=pe.x,re=H/ee}else dt(f),dt(T),pe.x<=0?X>ot?(H-=pe.x,X+=pe.x):pe.y>=0&&je>=ut&&(at=!1):(H-=pe.x,X+=pe.x),pe.y>=0?je=0&&(Ne>=qe||je>=ut)){at=!1;break}dt($),H+=pe.x,re=H/ee}else dt(f),dt($),pe.x>=0?Ne=0&&je>=ut&&(at=!1):H+=pe.x,pe.y>=0?je0?W=pe.y>0?We:se:pe.x<0&&(X-=H,W=pe.y>0?j:me),pe.y<0&&(A-=re),this.cropped||(rt(this.cropBox,_),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}at&&(i.width=H,i.height=re,i.left=X,i.top=A,this.action=W,this.renderCropBox()),Oe(g,function(pt){pt.startX=pt.endX,pt.startY=pt.endY})}},P={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&Xe(this.dragBox,b),rt(this.cropBox,_),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=Le({},this.initialImageData),this.canvasData=Le({},this.initialCanvasData),this.cropBoxData=Le({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(Le(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),rt(this.dragBox,b),Xe(this.cropBox,_)),this},replace:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&e&&(this.isImg&&(this.element.src=e),n?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,Oe(this.previews,function(t){t.getElementsByTagName("img")[0].src=e}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,rt(this.cropper,V)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,Xe(this.cropper,V)),this},destroy:function(){var e=this.element;return e[Ie]?(e[Ie]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate(),this):this},move:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,t=this.canvasData,s=t.left,i=t.top;return this.moveTo(ze(e)?e:s+Number(e),ze(n)?n:i+Number(n))},moveTo:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,t=this.canvasData,s=!1;return e=Number(e),n=Number(n),this.ready&&!this.disabled&&this.options.movable&&(ie(e)&&(t.left=e,s=!0),ie(n)&&(t.top=n,s=!0),s&&this.renderCanvas(!0)),this},zoom:function(e,n){var t=this.canvasData;return e=Number(e),e<0?e=1/(1-e):e=1+e,this.zoomTo(t.width*e/t.naturalWidth,null,n)},zoomTo:function(e,n,t){var s=this.options,i=this.canvasData,g=i.width,W=i.height,ee=i.naturalWidth,X=i.naturalHeight;if(e=Number(e),e>=0&&this.ready&&!this.disabled&&s.zoomable){var A=ee*e,H=X*e;if(Dt(this.element,p,{ratio:e,oldRatio:g/ee,originalEvent:t})===!1)return this;if(t){var re=this.pointers,Ne=Lt(this.cropper),je=re&&Object.keys(re).length?jt(re):{pageX:t.pageX,pageY:t.pageY};i.left-=(A-g)*((je.pageX-Ne.left-i.left)/g),i.top-=(H-W)*((je.pageY-Ne.top-i.top)/W)}else Ee(n)&&ie(n.x)&&ie(n.y)?(i.left-=(A-g)*((n.x-i.left)/g),i.top-=(H-W)*((n.y-i.top)/W)):(i.left-=(A-g)/2,i.top-=(H-W)/2);i.width=A,i.height=H,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return e=Number(e),ie(e)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var n=this.imageData.scaleY;return this.scale(e,ie(n)?n:1)},scaleY:function(e){var n=this.imageData.scaleX;return this.scale(ie(n)?n:1,e)},scale:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,t=this.imageData,s=!1;return e=Number(e),n=Number(n),this.ready&&!this.disabled&&this.options.scalable&&(ie(e)&&(t.scaleX=e,s=!0),ie(n)&&(t.scaleY=n,s=!0),s&&this.renderCanvas(!0,!0)),this},getData:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=this.options,t=this.imageData,s=this.canvasData,i=this.cropBoxData,g;if(this.ready&&this.cropped){g={x:i.left-s.left,y:i.top-s.top,width:i.width,height:i.height};var W=t.width/t.naturalWidth;if(Oe(g,function(A,H){g[H]=A/W}),e){var ee=Math.round(g.y+g.height),X=Math.round(g.x+g.width);g.x=Math.round(g.x),g.y=Math.round(g.y),g.width=X-g.x,g.height=ee-g.y}}else g={x:0,y:0,width:0,height:0};return n.rotatable&&(g.rotate=t.rotate||0),n.scalable&&(g.scaleX=t.scaleX||1,g.scaleY=t.scaleY||1),g},setData:function(e){var n=this.options,t=this.imageData,s=this.canvasData,i={};if(this.ready&&!this.disabled&&Ee(e)){var g=!1;n.rotatable&&ie(e.rotate)&&e.rotate!==t.rotate&&(t.rotate=e.rotate,g=!0),n.scalable&&(ie(e.scaleX)&&e.scaleX!==t.scaleX&&(t.scaleX=e.scaleX,g=!0),ie(e.scaleY)&&e.scaleY!==t.scaleY&&(t.scaleY=e.scaleY,g=!0)),g&&this.renderCanvas(!0,!0);var W=t.width/t.naturalWidth;ie(e.x)&&(i.left=e.x*W+s.left),ie(e.y)&&(i.top=e.y*W+s.top),ie(e.width)&&(i.width=e.width*W),ie(e.height)&&(i.height=e.height*W),this.setCropBoxData(i)}return this},getContainerData:function(){return this.ready?Le({},this.containerData):{}},getImageData:function(){return this.sized?Le({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,n={};return this.ready&&Oe(["left","top","width","height","naturalWidth","naturalHeight"],function(t){n[t]=e[t]}),n},setCanvasData:function(e){var n=this.canvasData,t=n.aspectRatio;return this.ready&&!this.disabled&&Ee(e)&&(ie(e.left)&&(n.left=e.left),ie(e.top)&&(n.top=e.top),ie(e.width)?(n.width=e.width,n.height=e.width/t):ie(e.height)&&(n.height=e.height,n.width=e.height*t),this.renderCanvas(!0)),this},getCropBoxData:function(){var e=this.cropBoxData,n;return this.ready&&this.cropped&&(n={left:e.left,top:e.top,width:e.width,height:e.height}),n||{}},setCropBoxData:function(e){var n=this.cropBoxData,t=this.options.aspectRatio,s,i;return this.ready&&this.cropped&&!this.disabled&&Ee(e)&&(ie(e.left)&&(n.left=e.left),ie(e.top)&&(n.top=e.top),ie(e.width)&&e.width!==n.width&&(s=!0,n.width=e.width),ie(e.height)&&e.height!==n.height&&(i=!0,n.height=e.height),t&&(s?n.height=n.width/t:i&&(n.width=n.height*t)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var n=this.canvasData,t=un(this.image,this.imageData,n,e);if(!this.cropped)return t;var s=this.getData(e.rounded),i=s.x,g=s.y,W=s.width,ee=s.height,X=t.width/Math.floor(n.naturalWidth);X!==1&&(i*=X,g*=X,W*=X,ee*=X);var A=W/ee,H=Rt({aspectRatio:A,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),re=Rt({aspectRatio:A,width:e.minWidth||0,height:e.minHeight||0},"cover"),Ne=Rt({aspectRatio:A,width:e.width||(X!==1?t.width:W),height:e.height||(X!==1?t.height:ee)}),je=Ne.width,ot=Ne.height;je=Math.min(H.width,Math.max(re.width,je)),ot=Math.min(H.height,Math.max(re.height,ot));var Je=document.createElement("canvas"),qe=Je.getContext("2d");Je.width=He(je),Je.height=He(ot),qe.fillStyle=e.fillColor||"transparent",qe.fillRect(0,0,je,ot);var ut=e.imageSmoothingEnabled,at=ut===void 0?!0:ut,bt=e.imageSmoothingQuality;qe.imageSmoothingEnabled=at,bt&&(qe.imageSmoothingQuality=bt);var xt=t.width,pe=t.height,dt=i,pt=g,Et,Nt,Tt,Bt,Zt,Ot;dt<=-W||dt>xt?(dt=0,Et=0,Tt=0,Zt=0):dt<=0?(Tt=-dt,dt=0,Et=Math.min(xt,W+dt),Zt=Et):dt<=xt&&(Tt=0,Et=Math.min(W,xt-dt),Zt=Et),Et<=0||pt<=-ee||pt>pe?(pt=0,Nt=0,Bt=0,Ot=0):pt<=0?(Bt=-pt,pt=0,Nt=Math.min(pe,ee+pt),Ot=Nt):pt<=pe&&(Bt=0,Nt=Math.min(ee,pe-pt),Ot=Nt);var Pt=[dt,pt,Et,Nt];if(Zt>0&&Ot>0){var St=je/W;Pt.push(Tt*St,Bt*St,Zt*St,Ot*St)}return qe.drawImage.apply(qe,[t].concat(B(Pt.map(function(Xt){return Math.floor(He(Xt))})))),Je},setAspectRatio:function(e){var n=this.options;return!this.disabled&&!ze(e)&&(n.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var n=this.options,t=this.dragBox,s=this.face;if(this.ready&&!this.disabled){var i=e===ve,g=n.movable&&e===we;e=i||g?e:U,n.dragMode=e,Ze(t,z,e),Fe(t,R,i),Fe(t,N,g),n.cropBoxMovable||(Ze(s,z,e),Fe(s,R,i),Fe(s,N,g))}return this}},ae=Ke.Cropper,de=function(){function a(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(fe(this,a),!e||!le.test(e.tagName))throw new Error("The first argument is required and must be an
or