1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[166],{19690:function(t,e,n){n.d(e,{Z:function(){return o}});var a=n(67294);function o(){let[,t]=a.useReducer(t=>t+1,0);return t}},55320:function(t,e,n){n.d(e,{Z:function(){return tR}});var a=n(97937),o=n(89705),c=n(1413),r=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},l=n(42135),s=function(t,e){return r.createElement(l.Z,(0,c.Z)((0,c.Z)({},t),{},{ref:e,icon:i}))};s.displayName="PlusOutlined";var d=r.forwardRef(s),u=n(94184),p=n.n(u),f=n(87462),v=n(4942),b=n(97685),m=n(71002),h=n(45987),g=n(31131),y=n(21770),k=n(62874),x=(0,r.createContext)(null),w=r.forwardRef(function(t,e){var n=t.prefixCls,a=t.className,o=t.style,c=t.id,i=t.active,l=t.tabKey,s=t.children;return r.createElement("div",{id:c&&"".concat(c,"-panel-").concat(l),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":c&&"".concat(c,"-tab-").concat(l),"aria-hidden":!i,style:o,className:p()(n,i&&"".concat(n,"-active"),a),ref:e},s)}),_=["key","forceRender","style","className"];function S(t){var e=t.id,n=t.activeKey,a=t.animated,o=t.tabPosition,i=t.destroyInactiveTabPane,l=r.useContext(x),s=l.prefixCls,d=l.tabs,u=a.tabPane,b="".concat(s,"-tabpane");return r.createElement("div",{className:p()("".concat(s,"-content-holder"))},r.createElement("div",{className:p()("".concat(s,"-content"),"".concat(s,"-content-").concat(o),(0,v.Z)({},"".concat(s,"-content-animated"),u))},d.map(function(t){var o=t.key,l=t.forceRender,s=t.style,d=t.className,v=(0,h.Z)(t,_),m=o===n;return r.createElement(k.Z,(0,f.Z)({key:o,visible:m,forceRender:l,removeOnLeave:!!i,leavedClassName:"".concat(b,"-hidden")},a.tabPaneMotion),function(t,n){var a=t.style,i=t.className;return r.createElement(w,(0,f.Z)({},v,{prefixCls:b,id:e,tabKey:o,animated:u,active:m,style:(0,c.Z)((0,c.Z)({},s),a),className:p()(d,i),ref:n}))})})))}var C=n(74902),E=n(48555),Z=n(66680),R=n(75164),T=n(42550),P={width:0,height:0,left:0,top:0};function N(t,e){var n=r.useRef(t),a=r.useState({}),o=(0,b.Z)(a,2)[1];return[n.current,function(t){var a="function"==typeof t?t(n.current):t;a!==n.current&&e(a,n.current),n.current=a,o({})}]}var L=n(8410);function O(t){var e=(0,r.useState)(0),n=(0,b.Z)(e,2),a=n[0],o=n[1],c=(0,r.useRef)(0),i=(0,r.useRef)();return i.current=t,(0,L.o)(function(){var t;null===(t=i.current)||void 0===t||t.call(i)},[a]),function(){c.current===a&&(c.current+=1,o(c.current))}}var I={width:0,height:0,left:0,top:0,right:0};function B(t){var e;return t instanceof Map?(e={},t.forEach(function(t,n){e[n]=t})):e=t,JSON.stringify(e)}function D(t){return String(t).replace(/"/g,"TABS_DQ")}var M=r.forwardRef(function(t,e){var n=t.prefixCls,a=t.editable,o=t.locale,c=t.style;return a&&!1!==a.showAdd?r.createElement("button",{ref:e,type:"button",className:"".concat(n,"-nav-add"),style:c,"aria-label":(null==o?void 0:o.addAriaLabel)||"Add tab",onClick:function(t){a.onEdit("add",{event:t})}},a.addIcon||"+"):null}),A=r.forwardRef(function(t,e){var n,a=t.position,o=t.prefixCls,c=t.extra;if(!c)return null;var i={};return"object"!==(0,m.Z)(c)||r.isValidElement(c)?i.right=c:i=c,"right"===a&&(n=i.right),"left"===a&&(n=i.left),n?r.createElement("div",{className:"".concat(o,"-extra-content"),ref:e},n):null}),j=n(81263),W={adjustX:1,adjustY:1},z=[0,0],X={topLeft:{points:["bl","tl"],overflow:W,offset:[0,-4],targetOffset:z},topCenter:{points:["bc","tc"],overflow:W,offset:[0,-4],targetOffset:z},topRight:{points:["br","tr"],overflow:W,offset:[0,-4],targetOffset:z},bottomLeft:{points:["tl","bl"],overflow:W,offset:[0,4],targetOffset:z},bottomCenter:{points:["tc","bc"],overflow:W,offset:[0,4],targetOffset:z},bottomRight:{points:["tr","br"],overflow:W,offset:[0,4],targetOffset:z}},G=n(15105),H=n(88603),V=G.Z.ESC,K=G.Z.TAB,q=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoF
1ocus"],F=r.forwardRef(function(t,e){var n,a,o,i,l,s,d,u,f,m,g,y,k,x,w,_,S=t.arrow,C=void 0!==S&&S,E=t.prefixCls,Z=void 0===E?"rc-dropdown":E,T=t.transitionName,P=t.animation,N=t.align,L=t.placement,O=t.placements,I=t.getPopupContainer,B=t.showAction,D=t.hideAction,M=t.overlayClassName,A=t.overlayStyle,W=t.visible,z=t.trigger,G=void 0===z?["hover"]:z,F=t.autoFocus,Y=(0,h.Z)(t,q),Q=r.useState(),J=(0,b.Z)(Q,2),U=J[0],$=J[1],tt="visible"in t?W:U,te=r.useRef(null);r.useImperativeHandle(e,function(){return te.current}),o=(a={visible:tt,setTriggerVisible:$,triggerRef:te,onVisibleChange:t.onVisibleChange,autoFocus:F}).visible,i=a.setTriggerVisible,l=a.triggerRef,s=a.onVisibleChange,d=a.autoFocus,u=r.useRef(!1),f=function(){if(o&&l.current){var t,e,n,a;null===(t=l.current)||void 0===t||null===(e=t.triggerRef)||void 0===e||null===(n=e.current)||void 0===n||null===(a=n.focus)||void 0===a||a.call(n),i(!1),"function"==typeof s&&s(!1)}},m=function(){var t,e,n,a,o=(0,H.tS)(null===(t=l.current)||void 0===t?void 0:null===(e=t.popupRef)||void 0===e?void 0:null===(n=e.current)||void 0===n?void 0:null===(a=n.getElement)||void 0===a?void 0:a.call(n))[0];return null!=o&&!!o.focus&&(o.focus(),u.current=!0,!0)},g=function(t){switch(t.keyCode){case V:f();break;case K:var e=!1;u.current||(e=m()),e?t.preventDefault():f()}},r.useEffect(function(){return o?(window.addEventListener("keydown",g),d&&(0,R.Z)(m,3),function(){window.removeEventListener("keydown",g),u.current=!1}):function(){u.current=!1}},[o]);var tn=function(){var e=t.overlay;return"function"==typeof e?e():e},ta=function(){var t=tn();return r.createElement(r.Fragment,null,C&&r.createElement("div",{className:"".concat(Z,"-arrow")}),t)},to=D;return to||-1===G.indexOf("contextMenu")||(to=["click"]),r.createElement(j.Z,(0,c.Z)((0,c.Z)({builtinPlacements:void 0===O?X:O},Y),{},{prefixCls:Z,ref:te,popupClassName:p()(M,(0,v.Z)({},"".concat(Z,"-show-arrow"),C)),popupStyle:A,action:G,showAction:B,hideAction:to||[],popupPlacement:void 0===L?"bottomLeft":L,popupAlign:N,popupTransitionName:T,popupAnimation:P,popupVisible:tt,stretch:(y=t.minOverlayWidthMatchTrigger,k=t.alignPoint,"minOverlayWidthMatchTrigger"in t?y:!k)?"minWidth":"",popup:"function"==typeof t.overlay?ta:ta(),onPopupVisibleChange:function(e){var n=t.onVisibleChange;$(e),"function"==typeof n&&n(e)},onPopupClick:function(e){var n=t.onOverlayClick;$(!1),n&&n(e)},getPopupContainer:I}),(w=(x=t.children).props?x.props:{},_=p()(w.className,void 0!==(n=t.openClassName)?n:"".concat(Z,"-open")),tt&&x?r.cloneElement(x,{className:_}):x))}),Y=n(97868),Q=r.memo(r.forwardRef(function(t,e){var n=t.prefixCls,a=t.id,o=t.tabs,c=t.locale,i=t.mobile,l=t.moreIcon,s=t.moreTransitionName,d=t.style,u=t.className,f=t.editable,m=t.tabBarGutter,h=t.rtl,g=t.removeAriaLabel,y=t.onTabClick,k=t.getPopupContainer,x=t.popupClassName,w=(0,r.useState)(!1),_=(0,b.Z)(w,2),S=_[0],C=_[1],E=(0,r.useState)(null),Z=(0,b.Z)(E,2),R=Z[0],T=Z[1],P="".concat(a,"-more-popup"),N="".concat(n,"-dropdown"),L=null!==R?"".concat(P,"-").concat(R):null,O=null==c?void 0:c.dropdownAriaLabel,I=r.createElement(Y.ZP,{onClick:function(t){y(t.key,t.domEvent),C(!1)},prefixCls:"".concat(N,"-menu"),id:P,tabIndex:-1,role:"listbox","aria-activedescendant":L,selectedKeys:[R],"aria-label":void 0!==O?O:"expanded dropdown"},o.map(function(t){var e=f&&!1!==t.closable&&!t.disabled;return r.createElement(Y.sN,{key:t.key,id:"".concat(P,"-").concat(t.key),role:"option","aria-controls":a&&"".concat(a,"-panel-").concat(t.key),disabled:t.disabled},r.createElement("span",null,t.label),e&&r.createElement("button",{type:"button","aria-label":g||"remove",tabIndex:0,className:"".concat(N,"-menu-item-remove"),onClick:function(e){var n;e.stopPropagation(),n=t.key,e.preventDefault(),e.stopPropagation(),f.onEdit("remove",{key:n,event:e})}},t.closeIcon||f.removeIcon||"\xd7"))}));function B(t){for(var e=o.filter(function(t){return!t.disabled}),n=e.findIndex(function(t){return t.key===R})||0,a=e.length,c=0;c<a;c+=1){var r=e[n=(n+t+a)%a];if(!r.disabled){T(r.key);return}}}(0,r.useEffect)(function(){var t=document.getElementById(L);t&&t.scrollIntoView&&t.scrollIntoView(!1)},[R]),(0,r.useEffect)(function(){S||T(null)},[S]);var D=(0,v.Z)({},h?"marginRight":"marginLeft",m);o.length||(D.visibility="hidden",D.order=1);var A=p()((0,v.Z)({},"".concat(N,"-rtl"),h)),j=i?null:r.createElement(F,{prefixCls:N,overlay:I,trigger:["hover"],visible:!!o.length&&S,transitionName:s,onVisibleChange:C,overlayClassName:p()(A,x),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:k},r.createElement("button",{type:"button",className:"".concat(n,"-nav-more"),style:D,tabIndex:-1,"aria-hidden":"true","aria-haspopup":"listbox","aria-controls":P,
1id:"".concat(a,"-more"),"aria-expanded":S,onKeyDown:function(t){var e=t.which;if(!S){[G.Z.DOWN,G.Z.SPACE,G.Z.ENTER].includes(e)&&(C(!0),t.preventDefault());return}switch(e){case G.Z.UP:B(-1),t.preventDefault();break;case G.Z.DOWN:B(1),t.preventDefault();break;case G.Z.ESC:C(!1);break;case G.Z.SPACE:case G.Z.ENTER:null!==R&&y(R,t)}}},void 0===l?"More":l));return r.createElement("div",{className:p()("".concat(n,"-nav-operations"),u),style:d,ref:e},j,r.createElement(M,{prefixCls:n,locale:c,editable:f}))}),function(t,e){return e.tabMoving}),J=function(t){var e,n=t.prefixCls,a=t.id,o=t.active,c=t.tab,i=c.key,l=c.label,s=c.disabled,d=c.closeIcon,u=t.closable,f=t.renderWrapper,b=t.removeAriaLabel,m=t.editable,h=t.onClick,g=t.onFocus,y=t.style,k="".concat(n,"-tab"),x=m&&!1!==u&&!s;function w(t){s||h(t)}var _=r.createElement("div",{key:i,"data-node-key":D(i),className:p()(k,(e={},(0,v.Z)(e,"".concat(k,"-with-remove"),x),(0,v.Z)(e,"".concat(k,"-active"),o),(0,v.Z)(e,"".concat(k,"-disabled"),s),e)),style:y,onClick:w},r.createElement("div",{role:"tab","aria-selected":o,id:a&&"".concat(a,"-tab-").concat(i),className:"".concat(k,"-btn"),"aria-controls":a&&"".concat(a,"-panel-").concat(i),"aria-disabled":s,tabIndex:s?null:0,onClick:function(t){t.stopPropagation(),w(t)},onKeyDown:function(t){[G.Z.SPACE,G.Z.ENTER].includes(t.which)&&(t.preventDefault(),w(t))},onFocus:g},l),x&&r.createElement("button",{type:"button","aria-label":b||"remove",tabIndex:0,className:"".concat(k,"-remove"),onClick:function(t){t.stopPropagation(),t.preventDefault(),t.stopPropagation(),m.onEdit("remove",{key:i,event:t})}},d||m.removeIcon||"\xd7"));return f?f(_):_},U=function(t){var e=t.current||{},n=e.offsetWidth,a=e.offsetHeight;return[void 0===n?0:n,void 0===a?0:a]},$=function(t,e){return t[e?0:1]},tt=r.forwardRef(function(t,e){var n,a,o,i,l,s,d,u,m,h,g,y,k,w,_,S,L,j,W,z,X,G,H,V,K,q,F,Y,tt,te,tn,ta,to,tc,tr,ti,tl,ts,td,tu,tp=r.useContext(x),tf=tp.prefixCls,tv=tp.tabs,tb=t.className,tm=t.style,th=t.id,tg=t.animated,ty=t.activeKey,tk=t.rtl,tx=t.extra,tw=t.editable,t_=t.locale,tS=t.tabPosition,tC=t.tabBarGutter,tE=t.children,tZ=t.onTabClick,tR=t.onTabScroll,tT=(0,r.useRef)(),tP=(0,r.useRef)(),tN=(0,r.useRef)(),tL=(0,r.useRef)(),tO=(0,r.useRef)(),tI=(0,r.useRef)(),tB=(0,r.useRef)(),tD="top"===tS||"bottom"===tS,tM=N(0,function(t,e){tD&&tR&&tR({direction:t>
1e?"left":"right"})}),tA=(0,b.Z)(tM,2),tj=tA[0],tW=tA[1],tz=N(0,function(t,e){!tD&&tR&&tR({direction:t>e?"top":"bottom"})}),tX=(0,b.Z)(tz,2),tG=tX[0],tH=tX[1],tV=(0,r.useState)([0,0]),tK=(0,b.Z)(tV,2),tq=tK[0],tF=tK[1],tY=(0,r.useState)([0,0]),tQ=(0,b.Z)(tY,2),tJ=tQ[0],tU=tQ[1],t$=(0,r.useState)([0,0]),t0=(0,b.Z)(t$,2),t1=t0[0],t2=t0[1],t8=(0,r.useState)([0,0]),t4=(0,b.Z)(t8,2),t6=t4[0],t7=t4[1],t9=(n=new Map,a=(0,r.useRef)([]),o=(0,r.useState)({}),i=(0,b.Z)(o,2)[1],l=(0,r.useRef)("function"==typeof n?n():n),s=O(function(){var t=l.current;a.current.forEach(function(e){t=e(t)}),a.current=[],l.current=t,i({})}),[l.current,function(t){a.current.push(t),s()}]),t5=(0,b.Z)(t9,2),t3=t5[0],et=t5[1],ee=(d=tJ[0],(0,r.useMemo)(function(){for(var t=new Map,e=t3.get(null===(o=tv[0])||void 0===o?void 0:o.key)||P,n=e.left+e.width,a=0;a<tv.length;a+=1){var o,r,i=tv[a].key,l=t3.get(i);l||(l=t3.get(null===(r=tv[a-1])||void 0===r?void 0:r.key)||P);var s=t.get(i)||(0,c.Z)({},l);s.right=n-s.left-s.width,t.set(i,s)}return t},[tv.map(function(t){return t.key}).join("_"),t3,d])),en=$(tq,tD),ea=$(tJ,tD),eo=$(t1,tD),ec=$(t6,tD),er=en<ea+eo,ei=er?en-ec:en-eo,el=0,es=0;function ed(t){return t<el?el:t>es?es:t}tD&&tk?(el=0,es=Math.max(0,ea-ei)):(el=Math.min(0,ei-ea),es=0);var eu=(0,r.useRef)(),ep=(0,r.useState)(),ef=(0,b.Z)(ep,2),ev=ef[0],eb=ef[1];function em(){eb(Date.now())}function eh(){window.clearTimeout(eu.current)}u=function(t,e){function n(t,e){t(function(t){return ed(t+e)})}return!!er&&(tD?n(tW,t):n(tH,e),eh(),em(),!0)},m=(0,r.useState)(),g=(h=(0,b.Z)(m,2))[0],y=h[1],k=(0,r.useState)(0),_=(w=(0,b.Z)(k,2))[0],S=w[1],L=(0,r.useState)(0),W=(j=(0,b.Z)(L,2))[0],z=j[1],X=(0,r.useState)(),H=(G=(0,b.Z)(X,2))[0],V=G[1],K=(0,r.useRef)(),q=(0,r.useRef)(),(F=(0,r.useRef)(null)).current={onTouchStart:function(t){var e=t.touches[0];y({x:e.screenX,y:e.screenY}),window.clearInterval(K.current)},onTouchMove:function(t){if(g){t.preventDefault();var e=t.touches[0],n=e.screenX,a=e.screenY;y({x:n,y:a});var o=n-g.x,c=a-g.y;u(o,c);var r=Date.now();S(r),z(r-_),V({x:o,y:c})}},onTouchEnd:function(){if(g&&(y(null),V(null),H)){var t=H.x/W,e=H.y/W;if(!(.1>Math.max(Math.abs(t),Math.abs(e)))){var n=t,a=e;K.current=window.setInterval(function(){if(.01>Math.abs(n)&&.01>Math.abs(a)){window.clearInterval(K.current);return}u(20*(n*=.9046104802746175),20*(a*=.9046104802746175))},20)}}},onWheel:function(t){var e=t.deltaX,n=t.deltaY,a=0,o=Math.abs(e),c=Math.abs(n);o===c?a="x"===q.current?e:n:o>c?(a=e,q.current="x"):(a=n,q.current="y"),u(-a,-a)&&t.preventDefault()}},r.useEffect(function(){function t(t){F.current.onTouchMove(t)}function e(t){F.current.onTouchEnd(t)}return document.addEventListener("touchmove",t,{passive:!1}),document.addEventListener("touchend",e,{passive:!1}),tL.current.addEventListener("touchstart",function(t){F.current.onTouchStart(t)},{passive:!1}),tL.current.addEventListener("wheel",function(t){F.current.onWheel(t)}),function(){document.removeEventListener("touchmove",t),document.removeEventListener("touchend",e)}},[]),(0,r.useEffect)(function(){return eh(),ev&&(eu.current=window.setTimeout(function(){eb(0)},100)),eh},[ev]);var eg=(Y=tD?tj:tG,to=(tt=(0,c.Z)((0,c.Z)({},t),{},{tabs:tv})).tabs,tc=tt.tabPosition,tr=tt.rtl,["top","bottom"].includes(tc)?(te="width",tn=tr?"right":"left",ta=Math.abs(Y)):(te="height",tn="top",ta=-Y),(0,r.useMemo)(function(){if(!to.length)return[0,0];for(var t=to.length,e=t,n=0;n<t;n+=1){var a=ee.get(to[n].key)||I;if(a[tn]+a[te]>ta+ei){e=n-1;break}}for(var o=0,c=t-1;c>=0;c-=1)if((ee.get(to[c].key)||I)[tn]<ta){o=c+1;break}return[o,e]},[ee,ei,ea,eo,ec,ta,tc,to.map(function(t){return t.key}).join("_"),tr])),ey=(0,b.Z)(eg,2),ek=ey[0],ex=ey[1],ew=(0,Z.Z)(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ty,e=ee.get(t)||{width:0,height:0,left:0,right:0,top:0};if(tD){var n=tj;tk?e.right<tj?n=e.right:e.right+e.width>tj+ei&&(n=e.right+e.width-ei):e.left<-tj?n=-e.left:e.left+e.width>-tj+ei&&(n=-(e.left+e.width-ei)),tH(0),tW(ed(n))}else{var a=tG;e.top<-tG?a=-e.top:e.top+e.height>-tG+ei&&(a=-(e.top+e.height-ei)),tW(0),tH(ed(a))}}),e_={};"top"===tS||"bottom"===tS?e_[tk?"marginRight":"marginLeft"]=tC:e_.marginTop=tC;var eS=tv.map(function(t,e){var n=t.key;return r.createElement(J,{id:th,prefixCls:tf,key:n,tab:t,style:0===e?void 0:e_,closable:t.closable,editable:tw,active:n===ty,renderWrapper:tE,removeAriaLabel:null==t_?void 0:t_.removeAriaLabel,onClick:function(t){tZ(n,t)}
1,onFocus:function(){ew(n),em(),tL.current&&(tk||(tL.current.scrollLeft=0),tL.current.scrollTop=0)}})}),eC=function(){return et(function(){var t=new Map;return tv.forEach(function(e){var n,a=e.key,o=null===(n=tO.current)||void 0===n?void 0:n.querySelector('[data-node-key="'.concat(D(a),'"]'));o&&t.set(a,{width:o.offsetWidth,height:o.offsetHeight,left:o.offsetLeft,top:o.offsetTop})}),t})};(0,r.useEffect)(function(){eC()},[tv.map(function(t){return t.key}).join("_")]);var eE=O(function(){var t=U(tT),e=U(tP),n=U(tN);tF([t[0]-e[0]-n[0],t[1]-e[1]-n[1]]);var a=U(tB);t2(a),t7(U(tI));var o=U(tO);tU([o[0]-a[0],o[1]-a[1]]),eC()}),eZ=tv.slice(0,ek),eR=tv.slice(ex+1),eT=[].concat((0,C.Z)(eZ),(0,C.Z)(eR)),eP=(0,r.useState)(),eN=(0,b.Z)(eP,2),eL=eN[0],eO=eN[1],eI=ee.get(ty),eB=(0,r.useRef)();function eD(){R.Z.cancel(eB.current)}(0,r.useEffect)(function(){var t={};return eI&&(tD?(tk?t.right=eI.right:t.left=eI.left,t.width=eI.width):(t.top=eI.top,t.height=eI.height)),eD(),eB.current=(0,R.Z)(function(){eO(t)}),eD},[eI,tD,tk]),(0,r.useEffect)(function(){ew()},[ty,el,es,B(eI),B(ee),tD]),(0,r.useEffect)(function(){eE()},[tk]);var eM=!!eT.length,eA="".concat(tf,"-nav-wrap");return tD?tk?(ts=tj>0,tl=tj!==es):(tl=tj<0,ts=tj!==el):(td=tG<0,tu=tG!==el),r.createElement(E.default,{onResize:eE},r.createElement("div",{ref:(0,T.x1)(e,tT),role:"tablist",className:p()("".concat(tf,"-nav"),tb),style:tm,onKeyDown:function(){em()}},r.createElement(A,{ref:tP,position:"left",extra:tx,prefixCls:tf}),r.createElement("div",{className:p()(eA,(ti={},(0,v.Z)(ti,"".concat(eA,"-ping-left"),tl),(0,v.Z)(ti,"".concat(eA,"-ping-right"),ts),(0,v.Z)(ti,"".concat(eA,"-ping-top"),td),(0,v.Z)(ti,"".concat(eA,"-ping-bottom"),tu),ti)),ref:tL},r.createElement(E.default,{onResize:eE},r.createElement("div",{ref:tO,className:"".concat(tf,"-nav-list"),style:{transform:"translate(".concat(tj,"px, ").concat(tG,"px)"),transition:ev?"none":void 0}},eS,r.createElement(M,{ref:tB,prefixCls:tf,locale:t_,editable:tw,style:(0,c.Z)((0,c.Z)({},0===eS.length?void 0:e_),{},{visibility:eM?"hidden":null})}),r.createElement("div",{className:p()("".concat(tf,"-ink-bar"),(0,v.Z)({},"".concat(tf,"-ink-bar-animated"),tg.inkBar)),style:eL})))),r.createElement(Q,(0,f.Z)({},t,{removeAriaLabel:null==t_?void 0:t_.removeAriaLabel,ref:tI,prefixCls:tf,tabs:eT,className:!eM&&"".concat(tf,"-nav-operations-hidden"),tabMoving:!!ev})),r.createElement(A,{ref:tN,position:"right",extra:tx,prefixCls:tf})))}),te=["renderTabBar"],tn=["label","key"];function ta(t){var e=t.renderTabBar,n=(0,h.Z)(t,te),a=r.useContext(x).tabs;return e?e((0,c.Z)((0,c.Z)({},n),{},{panes:a.map(function(t){var e=t.label,n=t.key,a=(0,h.Z)(t,tn);return r.createElement(w,(0,f.Z)({tab:e,key:n,tabKey:n},a))})}),tt):r.createElement(tt,n)}n(80334);var to=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","moreIcon","moreTransitionName","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName"],tc=0,tr=r.forwardRef(function(t,e){var n,a,o=t.id,i=t.prefixCls,l=void 0===i?"rc-tabs":i,s=t.className,d=t.items,u=t.direction,k=t.activeKey,w=t.defaultActiveKey,_=t.editable,C=t.animated,E=t.tabPosition,Z=void 0===E?"top":E,R=t.tabBarGutter,T=t.tabBarStyle,P=t.tabBarExtraContent,N=t.locale,L=t.moreIcon,O=t.moreTransitionName,I=t.destroyInactiveTabPane,B=t.renderTabBar,D=t.onChange,M=t.onTabClick,A=t.onTabScroll,j=t.getPopupContainer,W=t.popupClassName,z=(0,h.Z)(t,to),X=r.useMemo(function(){return(d||[]).filter(function(t){return t&&"object"===(0,m.Z)(t)&&"key"in t})},[d]),G="rtl"===u,H=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(t=!1===e?{inkBar:!1,tabPane:!1}:!0===e?{inkBar:!0,tabPane:!1}:(0,c.Z)({inkBar:!0},"object"===(0,m.Z)(e)?e:{})).tabPaneMotion&&void 0===t.tabPane&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}(C),V=(0,r.useState)(!1),K=(0,b.Z)(V,2),q=K[0],F=K[1];(0,r.useEffect)(function(){F((0,g.Z)())},[]);var Y=(0,y.Z)(function(){var t;return null===(t=X[0])||void 0===t?void 0:t.key},{value:k,defaultValue:w}),Q=(0,b.Z)(Y,2),J=Q[0],U=Q[1],$=(0,r.useState)(function(){return X.findIndex(function(t){return t.key===J})}),tt=(0,b.Z)($,2),te=tt[0],tn=tt[1];(0,r.useEffect)(function(){var t,e=X.findIndex(function(t){return t.key===J});-1===e&&(e=Math.max(0,Math.min(te,X.length-1)),U(null===(t=X[e])||void 0===t?void 0:t.key)),tn(e)},[X.map(function(t){return t.key}).join("_"),J,te]);var tr=(0,y.Z)(null,{value:o}),ti=(0,b.Z)(tr,2),tl=ti[0],ts=ti[1];(0,r.useEffect)(function(){o||(ts("rc-tabs-".concat(tc)),tc+=1)},[]);var td={id:tl,activeKey:J,animated:H,tabPosition:Z,rtl:G,mobile:q},tu=(0,c.Z)((0,c.Z)({},td),{},{editable:_,locale:N,moreIcon:L,moreTransitionName:O,tabBarGutter:R,onTabClick:function(t,e){null==M||M(t,e),U(t),t!==J&&(null==D||D(t))},onTabScroll:A,extra:P,style:T,panes:null,getPopupContainer:j,popupClassName:W});return r.createElement(x.Provider,{value:{tabs:X,prefixCls:l}},r.createElement("div",(0,f.Z)({ref:e,id:o,className:p()(l,"".concat(l,"-").concat(Z),(n={},(0,v.Z)(n,"".concat(l,"-mobile"),q),(0,v.Z)(n,"".concat(l,"-editable"),_),(0,v.Z)(n,"".concat(l,"-rtl"),G),n),s)},z),a,r.createElement(ta,(0,f.Z)({},tu,{renderTabBar:B})),r.createElement(S,(0,f.Z)({destroyInactiveTabPane:I},td,{animated:H}))))}),ti=n(61481),tl=n(35853),ts=n(1156);let td={motionAppear:!1,motionEnter:!0,motionLeave:!0};var tu=n(50344),tp=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);o<a.length;o++)0>e.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n},tf=n(94617),tv=n(30337),tb=n(24193),tm=n(39764);let th=t=>{let{componentCls:e,motionDurationSlow:n}=t;return[{[e]:{["".concat(e,"-switch")]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0}
1,"&-active":{opacity:1,transition:"opacity ".concat(n)}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:"opacity ".concat(n)}}}}},[(0,tm.oN)(t,"slide-up"),(0,tm.oN)(t,"slide-down")]]},tg=t=>{let{componentCls:e,tabsCardHorizontalPadding:n,tabsCardHeadBackground:a,tabsCardGutter:o,colorSplit:c}=t;return{["".concat(e,"-card")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{margin:0,padding:n,background:a,border:"".concat(t.lineWidth,"px ").concat(t.lineType," ").concat(c),transition:"all ".concat(t.motionDurationSlow," ").concat(t.motionEaseInOut)},["".concat(e,"-tab-active")]:{color:t.colorPrimary,background:t.colorBgContainer},["".concat(e,"-ink-bar")]:{visibility:"hidden"}},["&".concat(e,"-top, &").concat(e,"-bottom")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab + ").concat(e,"-tab")]:{marginLeft:{_skip_check_:!0,value:"".concat(o,"px")}}}},["&".concat(e,"-top")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{borderRadius:"".concat(t.borderRadiusLG,"px ").concat(t.borderRadiusLG,"px 0 0")},["".concat(e,"-tab-active")]:{borderBottomColor:t.colorBgContainer}}},["&".concat(e,"-bottom")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{borderRadius:"0 0 ".concat(t.borderRadiusLG,"px ").concat(t.borderRadiusLG,"px")},["".concat(e,"-tab-active")]:{borderTopColor:t.colorBgContainer}}},["&".concat(e,"-left, &").concat(e,"-right")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab + ").concat(e,"-tab")]:{marginTop:"".concat(o,"px")}}},["&".concat(e,"-left")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{borderRadius:{_skip_check_:!0,value:"".concat(t.borderRadiusLG,"px 0 0 ").concat(t.borderRadiusLG,"px")}},["".concat(e,"-tab-active")]:{borderRightColor:{_skip_check_:!0,value:t.colorBg
1Container}}}},["&".concat(e,"-right")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab")]:{borderRadius:{_skip_check_:!0,value:"0 ".concat(t.borderRadiusLG,"px ").concat(t.borderRadiusLG,"px 0")}},["".concat(e,"-tab-active")]:{borderLeftColor:{_skip_check_:!0,value:t.colorBgContainer}}}}}}},ty=t=>{let{componentCls:e,tabsHoverColor:n,dropdownEdgeChildVerticalPadding:a}=t;return{["".concat(e,"-dropdown")]:Object.assign(Object.assign({},(0,tb.Wf)(t)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:t.zIndexPopup,display:"block","&-hidden":{display:"none"},["".concat(e,"-dropdown-menu")]:{maxHeight:t.tabsDropdownHeight,margin:0,padding:"".concat(a,"px 0"),overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:t.colorBgContainer,backgroundClip:"padding-box",borderRadius:t.borderRadiusLG,outline:"none",boxShadow:t.boxShadowSecondary,"&-item":Object.assign(Object.assign({},tb.vS),{display:"flex",alignItems:"center",minWidth:t.tabsDropdownWidth,margin:0,padding:"".concat(t.paddingXXS,"px ").concat(t.paddingSM,"px"),color:t.colorText,fontWeight:"normal",fontSize:t.fontSize,lineHeight:t.lineHeight,cursor:"pointer",transition:"all ".concat(t.motionDurationSlow),"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:t.marginSM},color:t.colorTextDescription,fontSize:t.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:t.controlItemBgHover},"&-disabled":{"&, &:hover":{color:t.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},tk=t=>{let{componentCls:e,margin:n,colorSplit:a}=t;return{["".concat(e,"-top, ").concat(e,"-bottom")]:{flexDirection:"column",["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{margin:"0 0 ".concat(n,"px 0"),"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:"".concat(t.lineWidth,"px ").concat(t.lineType," ").concat(a),content:"''"},["".concat(e,"-ink-bar")]:{height:t.lineWidthBold,"&-animated":{transition:"width ".concat(t.motionDurationSlow,", left ").concat(t.motionDurationSlow,",\n right ").concat(t.motionDurationSlow)}},["".concat(e,"-nav-wrap")]:{"&::before, &::after":{top:0,bottom:0,width:t.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:t.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:t.boxShadowTabsOverflowRight},["&".concat(e,"-nav-wrap-ping-left::before")]:{opacity:1},["&".concat(e,"-nav-wrap-ping-right::after")]:{opacity:1}}}},["".concat(e,"-top")]:{["> ".concat(e,"-nav,\n > div > ").concat(e,"-nav")]:{"&::before":{bottom:0},["".concat(e,"-ink-bar")]:{bottom:0}}},["".concat(e,"-bottom")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{order:1,marginTop:"".concat(n,"px"),marginBottom:0,"&::before":{top:0},["".concat(e,"-ink-bar")]:{top:0}},["> ".concat(e,"-content-holder, > div > ").concat(e,"-content-holder")]:{order:0}},["".concat(e,"-left, ").concat(e,"-right")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{flexDirection:"column",minWidth:1.25*t.controlHeight,["".concat(e,"-tab")]:{padding:"".concat(t.paddingXS,"px ").concat(t.paddingLG,"px"),textAlign:"center"},["".concat(e,"-tab + ").concat(e,"-tab")]:{margin:"".concat(t.margin,"px 0 0 0")},["".concat(e,"-nav-wrap")]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:t.controlHeight}
1,"&::before":{top:0,boxShadow:t.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:t.boxShadowTabsOverflowBottom},["&".concat(e,"-nav-wrap-ping-top::before")]:{opacity:1},["&".concat(e,"-nav-wrap-ping-bottom::after")]:{opacity:1}},["".concat(e,"-ink-bar")]:{width:t.lineWidthBold,"&-animated":{transition:"height ".concat(t.motionDurationSlow,", top ").concat(t.motionDurationSlow)}},["".concat(e,"-nav-list, ").concat(e,"-nav-operations")]:{flex:"1 0 auto",flexDirection:"column"}}},["".concat(e,"-left")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-ink-bar")]:{right:{_skip_check_:!0,value:0}}},["> ".concat(e,"-content-holder, > div > ").concat(e,"-content-holder")]:{marginLeft:{_skip_check_:!0,value:"-".concat(t.lineWidth,"px")},borderLeft:{_skip_check_:!0,value:"".concat(t.lineWidth,"px ").concat(t.lineType," ").concat(t.colorBorder)},["> ".concat(e,"-content > ").concat(e,"-tabpane")]:{paddingLeft:{_skip_check_:!0,value:t.paddingLG}}}},["".concat(e,"-right")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{order:1,["".concat(e,"-ink-bar")]:{left:{_skip_check_:!0,value:0}}},["> ".concat(e,"-content-holder, > div > ").concat(e,"-content-holder")]:{order:0,marginRight:{_skip_check_:!0,value:-t.lineWidth},borderRight:{_skip_check_:!0,value:"".concat(t.lineWidth,"px ").concat(t.lineType," ").concat(t.colorBorder)},["> ".concat(e,"-content > ").concat(e,"-tabpane")]:{paddingRight:{_skip_check_:!0,value:t.paddingLG}}}}}},tx=t=>{let{componentCls:e,padding:n}=t;return{[e]:{"&-small":{["> ".concat(e,"-nav")]:{["".concat(e,"-tab")]:{padding:"".concat(t.paddingXS,"px 0"),fontSize:t.fontSize}}},"&-large":{["> ".concat(e,"-nav")]:{["".concat(e,"-tab")]:{padding:"".concat(n,"px 0"),fontSize:t.fontSizeLG}}}},["".concat(e,"-card")]:{["&".concat(e,"-small")]:{["> ".concat(e,"-nav")]:{["".concat(e,"-tab")]:{padding:"".concat(1.5*t.paddingXXS,"px ").concat(n,"px")}},["&".concat(e,"-bottom")]:{["> ".concat(e,"-nav ").concat(e,"-tab")]:{borderRadius:"0 0 ".concat(t.borderRadius,"px ").concat(t.borderRadius,"px")}},["&".concat(e,"-top")]:{["> ".concat(e,"-nav ").concat(e,"-tab")]:{borderRadius:"".concat(t.borderRadius,"px ").concat(t.borderRadius,"px 0 0")}},["&".concat(e,"-right")]:{["> ".concat(e,"-nav ").concat(e,"-tab")]:{borderRadius:{_skip_check_:!0,value:"0 ".concat(t.borderRadius,"px ").concat(t.borderRadius,"px 0")}}},["&".concat(e,"-left")]:{["> ".concat(e,"-nav ").concat(e,"-tab")]:{borderRadius:{_skip_check_:!0,value:"".concat(t.borderRadius,"px 0 0 ").concat(t.borderRadius,"px")}}}},["&".concat(e,"-large")]:{["> ".concat(e,"-nav")]:{["".concat(e,"-tab")]:{padding:"".concat(t.paddingXS,"px ").concat(n,"px ").concat(1.5*t.paddingXXS,"px")}}}}}},tw=t=>{let{componentCls:e,tabsActiveColor:n,tabsHoverColor:a,iconCls:o,tabsHorizontalGutter:c}=t,r="".concat(e,"-tab");return{[r]:{position:"relative",display:"inline-flex",alignItems:"center",padding:"".concat(t.paddingSM,"px 0"),fontSize:"".concat(t.fontSize,"px"),background:"transparent",border:0,outline:"none",cursor:"pointer","&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,tb.Qy)(t)),"&-btn":{outline:"none",transition:"all 0.3s"},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:-t.marginXXS},marginLeft:{_skip_check_:!0,value:t.marginXS},color:t.colorTextDescription,fontSize:t.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:"all ".concat(t.motionDurationSlow),"&:hover":{color:t.colorTextHeading}},"&:hover":{color:a},["&".concat(r,"-active ").concat(r,"-btn")]:{color:t.colorPrimary,textShadow:t.tabsActiveTextShadow},["&".concat(r,"-disabled")]:{color:t.colorTextDisabled,cursor:"not-allowed"},["&".concat(r,"-disabled ").concat(r,"-btn, &").concat(r,"-disabled ").concat(e,"-remove")]:{"&:focus, &:active":{color:t.colorTextDisabled}},["& ".concat(r,"-remove ").concat(o)]:{margin:0},[o]:{marginRight:{_skip_check_:!0,value:t.marginSM}}},["".concat(r," + ").concat(r)]:{margin:{_skip_check_:!0,value:"0 0 0 ".concat(c,"px")}}}},t_=t=>{let{componentCls:e,tabsHorizontalGutter:n,iconCls:a,tabsCardGutter:o}=t;return{["".concat(e,"-rtl")]:{direction:"rtl",["".concat(e,"-nav")]:{["".concat(e,"-tab")]:{margin:{_skip_check_:!0,value:"0 0 0 ".concat(n,"px")},["".concat(e,"-tab:last-of-type")]:{marginLeft:{_skip_check_:!0,value:0}},[a]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:"".concat(t.marginSM,"px")}},["".concat(e,"-tab-remove")]:{marginRight:{_skip_check_:!0,value:"".concat(t.marginXS,"px")}
1,marginLeft:{_skip_check_:!0,value:"-".concat(t.marginXXS,"px")},[a]:{margin:0}}}},["&".concat(e,"-left")]:{["> ".concat(e,"-nav")]:{order:1},["> ".concat(e,"-content-holder")]:{order:0}},["&".concat(e,"-right")]:{["> ".concat(e,"-nav")]:{order:0},["> ".concat(e,"-content-holder")]:{order:1}},["&".concat(e,"-card").concat(e,"-top, &").concat(e,"-card").concat(e,"-bottom")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-tab + ").concat(e,"-tab")]:{marginRight:{_skip_check_:!0,value:"".concat(o,"px")},marginLeft:{_skip_check_:!0,value:0}}}}},["".concat(e,"-dropdown-rtl")]:{direction:"rtl"},["".concat(e,"-menu-item")]:{["".concat(e,"-dropdown-rtl")]:{textAlign:{_skip_check_:!0,value:"right"}}}}},tS=t=>{let{componentCls:e,tabsCardHorizontalPadding:n,tabsCardHeight:a,tabsCardGutter:o,tabsHoverColor:c,tabsActiveColor:r,colorSplit:i}=t;return{[e]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,tb.Wf)(t)),{display:"flex",["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{position:"relative",display:"flex",flex:"none",alignItems:"center",["".concat(e,"-nav-wrap")]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:"opacity ".concat(t.motionDurationSlow),content:"''",pointerEvents:"none"}},["".concat(e,"-nav-list")]:{position:"relative",display:"flex",transition:"opacity ".concat(t.motionDurationSlow)},["".concat(e,"-nav-operations")]:{display:"flex",alignSelf:"stretch"},["".concat(e,"-nav-operations-hidden")]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},["".concat(e,"-nav-more")]:{position:"relative",padding:n,background:"transparent",border:0,color:t.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:t.controlHeightLG/8,transform:"translateY(100%)",content:"''"}},["".concat(e,"-nav-add")]:Object.assign({minWidth:"".concat(a,"px"),marginLeft:{_skip_check_:!0,value:"".concat(o,"px")},padding:"0 ".concat(t.paddingXS,"px"),background:"transparent",border:"".concat(t.lineWidth,"px ").concat(t.lineType," ").concat(i),borderRadius:"".concat(t.borderRadiusLG,"px ").concat(t.borderRadiusLG,"px 0 0"),outline:"none",cursor:"pointer",color:t.colorText,transition:"all ".concat(t.motionDurationSlow," ").concat(t.motionEaseInOut),"&:hover":{color:c},"&:active, &:focus:not(:focus-visible)":{color:r}},(0,tb.Qy)(t))},["".concat(e,"-extra-content")]:{flex:"none"},["".concat(e,"-ink-bar")]:{position:"absolute",background:t.colorPrimary,pointerEvents:"none"}}),tw(t)),{["".concat(e,"-content")]:{position:"relative",width:"100%"},["".concat(e,"-content-holder")]:{flex:"auto",minWidth:0,minHeight:0},["".concat(e,"-tabpane")]:{outline:"none","&-hidden":{display:"none"}}}),["".concat(e,"-centered")]:{["> ".concat(e,"-nav, > div > ").concat(e,"-nav")]:{["".concat(e,"-nav-wrap")]:{["&:not([class*='".concat(e,"-nav-wrap-ping'])")]:{justifyContent:"center"}}}}}};var tC=(0,tf.Z)("Tabs",t=>{let e=t.controlHeightLG,n=(0,tv.TS)(t,{tabsHoverColor:t.colorPrimaryHover,tabsActiveColor:t.colorPrimaryActive,tabsCardHorizontalPadding:"".concat((e-Math.round(t.fontSize*t.lineHeight))/2-t.lineWidth,"px ").concat(t.padding,"px"),tabsCardHeight:e,tabsCardGutter:t.marginXXS/2,tabsHorizontalGutter:32,tabsCardHeadBackground:t.colorFillAlter,dropdownEdgeChildVerticalPadding:t.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120});return[tx(n),t_(n),tk(n),ty(n),tg(n),tS(n),th(n)]},t=>({zIndexPopup:t.zIndexPopupBase+50})),tE=function(t,e){var n={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&0>e.indexOf(a)&&(n[a]=t[a]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(t);o<a.length;o++)0>e.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(t,a[o])&&(n[a[o]]=t[a[o]]);return n};function tZ(t){let e;var{type:n,className:c,rootClassName:i,size:l,onEdit:s,hideAdd:u,centered:f,addIcon:v,popupClassName:b,children:m,items:h,animated:g}=t,y=tE(t,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","popupClassName","children","items","animated"]);let{prefixCls:k,moreIcon:x=r.createElement(o.Z,null)}=y,{direction:w,getPrefixCls:_,getPopupContainer:S}=r.useContext(ti.E_),C=_("tabs",k),[E,Z]=tC(C);"editable-card"===n&&(e={onEdit:(t,e)=>{let{key:n,event:a}=e;null==s||s("add"===t?a:n,t)},removeIcon:r.createElement(a.Z,null),addIcon:v||r.createElement(d,null),showAdd:!0!==u});let R=_(),T=function(t,e){if(t)return t;let n=(0,tu.Z)(e).map(t=>{if(r.isValidElement(t)){let{key:e,props:n}=t,a=n||{},{tab:o}=a,c=tp(a,["tab"]),i=Object.assign(Object.assign({key:String(e)},c),{label:o});return i}return null});return n.filter(t=>t)}(h,m),P=function(t){let e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return(e=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{})).tabPane&&(e.tabPaneMotion=Object.assign(Object.assign({},td),{motionName:(0,ts.mL)(t,"switch")})),e}(C,g),N=r.useContext(tl.Z),L=void 0!==l?l:N;return E(r.createElement(tr,Object.assign({direction:w,getPopupContainer:S,moreTransitionName:"".concat(R,"-slide-up")},y,{items:T,className:p()({["".concat(C,"-").concat(L)]:L,["".concat(C,"-card")]:["card","editable-card"].includes(n),["".concat(C,"-editable-card")]:"editable-card"===n,["".concat(C,"-ce
1ntered")]:f},c,i,Z),popupClassName:p()(b,Z),editable:e,moreIcon:x,prefixCls:C,animated:P})))}tZ.TabPane=()=>null;var tR=tZ}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.