1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1350],{57096:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"}},20054:function(e,t,n){var a;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;let o=(a=n(32615))&&a.__esModule?a:{default:a};t.default=o,e.exports=o},32615:function(e,t,n){var a=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(10434)),r=a(n(67294)),l=o(n(57096)),c=o(n(92074)),u=r.forwardRef(function(e,t){return r.createElement(c.default,(0,i.default)({},e,{ref:t,icon:l.default}))});t.default=u},42698:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=()=>null},1286:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={inkBar:!0,tabPane:!1}){let n;return(n=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof t?t:{})).tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},o),{motionName:(0,a.getTransitionName)(e,"switch")})),n};var a=n(53683);let o={motionAppear:!1,motionEnter:!0,motionLeave:!0}},47397:function(e,t,n){var a=n(64836).default,o=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(e)return e.map(e=>{var t;let n=null!==(t=e.destroyOnHidden)&&void 0!==t?t:e.destroyInactiveTabPane;return Object.assign(Object.assign({},e),{destroyInactiveTabPane:n})});let n=(0,r.default)(t).map(e=>{if(i.isValidElement(e)){let{key:t,props:n}=e,a=n||{},{tab:o}=a,i=__rest(a,["tab"]),r=Object.assign(Object.assign({key:String(t)},i),{label:o});return r}return null});return n.filter(e=>e)};var i=o(n(67294)),r=a(n(45598));n(13594);var __rest=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n}},1350:function(e,t,n){var a=n(64836).default,o=n(75263).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(67294)),r=a(n(40753)),l=a(n(26937)),c=a(n(20054)),u=a(n(93967)),d=a(n(86334));n(13594);var s=n(31929),f=a(n(14893)),v=a(n(65693)),p=a(n(1286)),b=a(n(47397)),g=a(n(48980)),m=a(n(42698)),__rest=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&0>t.indexOf(a)&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,a=Object.getOwnPropertySymbols(e);o<a.length;o++)0>t.indexOf(a[o])&&Object.prototype.propertyIsEnumerable.call(e,a[o])&&(n[a[o]]=e[a[o]]);return n};let Tabs=e=>{var t,n,a,o,m,h,$,y,k,_,S;let x;let{type:w,className:C,rootClassName:T,size:E,onEdit:P,hideAdd:R,centered:M,addIcon:Z,removeIcon:O,moreIcon:I,more:L,popupClassName:z,children:D,items:N,animated:B,style:j,indicatorSize:H,indicator:A,destroyInactiveTabPane:W,destroyOnHidden:G}=e,X=__rest(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator","destroyInactiveTabPane","destroyOnHidden"]),{prefixCls:K}=X,{direction:q,tabs:F,getPrefixCls:U,getPopupContainer:V}=i.useContext(s.ConfigContext),Y=U("tabs",K),J=(0,f.default)(Y),[Q,ee,et]=(0,g.default)(Y,J);"editable-card"===w&&(x={onEdit:(e,{key:t,event:n})=>{null==P||P("add"===e?n:t,e)},removeIcon:null!==(t=null!=O?O:null==F?void 0:F.removeIcon)&&void 0!==t?t:i.createElement(r.default,null),addIcon:(null!=Z?Z:null==F?void 0:F.addIcon)||i.createElement(c.default,null),showAdd:!0!==R});let en=U(),ea=(0,v.default)(E),eo=(0,b.default)(N,D),ei=(0,p.default)(Y,B),er=Object.assign(Object.assign({},null==F?void 0:F.style),j),el={align:null!==(n=null==A?void 0:A.align)&&void 0!==n?n:null===(a=null==F?void 0:F.indicator)||void 0===a?void 0:a.align,size:null!==($=null!==(m=null!==(o=null==A?void 0:A.size)&&void 0!==o?o:H)&&void 0!==m?m:null===(h=null==F?void 0:F.indicator)||void 0===h?void 0:h.size)&&void 0!==$?$:null==F?void 0:F.indicatorSize};return Q(i.createElement(d.default,Object.assign({direction:q,getPopupContainer:V},X,{items:eo,className:(0,u.default)({[`${Y}-${ea}`]:ea,[`${Y}-card`]:["card","editable-card"].includes(w),[`${Y}-editable-card`]:"editable-card"===w,[`${Y}-centered`]:M},null==F?void 0:F.className,C,T,ee,et,J),popupClassName:(0,u.default)(z,ee,et,J),style:er,editable:x,more:Object.assign({icon:null!==(S=null!==(_=null!==(k=null===(y=null==F?void 0:F.more)||void 0===y?void 0:y.icon)&&void 0!==k?k:null==F?void 0:F.moreIcon)&&void 0!==_?_:I)&&void 0!==S?S:i.createElement(l.default,null),transitionName:`${en}-slide-up`},L),prefixCls:Y,animated:ei,indicator:el,destroyInactiveTabPane:null!=G?G:W})))};Tabs.TabPane=m.default,t.default=Tabs},48980:function(e,t,n){var a=n(64836).default;
1Object.defineProperty(t,"__esModule",{value:!0}),t.prepareComponentToken=t.default=void 0;var o=n(25703),i=n(98078),r=n(3184),l=a(n(3703));let genCardStyle=e=>{let{componentCls:t,tabsCardPadding:n,cardBg:a,cardGutter:r,colorBorderSecondary:l,itemSelectedColor:c}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:a,border:`${(0,o.unit)(e.lineWidth)} ${e.lineType} ${l}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:c,background:e.colorBgContainer},[`${t}-tab-focus`]:Object.assign({},(0,i.genFocusOutline)(e,-3)),[`${t}-ink-bar`]:{visibility:"hidden"},[`& ${t}-tab${t}-tab-focus ${t}-tab-btn`]:{outline:"none"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,o.unit)(r)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,o.unit)(e.borderRadiusLG)} ${(0,o.unit)(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,o.unit)(e.borderRadiusLG)} ${(0,o.unit)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,o.unit)(r)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,o.unit)(e.borderRadiusLG)} 0 0 ${(0,o.unit)(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,o.unit)(e.borderRadiusLG)} ${(0,o.unit)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},genDropdownStyle=e=>{let{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:a}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,i.resetComponent)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${(0,o.unit)(a)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},i.textEllipsis),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,o.unit)(e.paddingXXS)} ${(0,o.unit)(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorIcon,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},genPositionStyle=e=>{let{componentCls:t,margin:n,colorBorderSecondary:a,horizontalMargin:i,verticalItemPadding:r,verticalItemMargin:l,calc:c}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:i,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,o.unit)(e.lineWidth)} ${e.lineType} ${a}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, 2 right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, 3 > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:c(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:r,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:l},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight}
3,"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:(0,o.unit)(c(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,o.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:c(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,o.unit)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},genSizeStyle=e=>{let{componentCls:t,cardPaddingSM:n,cardPaddingLG:a,cardHeightSM:i,cardHeightLG:r,horizontalItemPaddingSM:l,horizontalItemPaddingLG:c}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:l,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:c,fontSize:e.titleFontSizeLG,lineHeight:e.lineHeightLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n},[`${t}-nav-add`]:{minWidth:i,minHeight:i}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,o.unit)(e.borderRadius)} ${(0,o.unit)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,o.unit)(e.borderRadius)} ${(0,o.unit)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,o.unit)(e.borderRadius)} ${(0,o.unit)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,o.unit)(e.borderRadius)} 0 0 ${(0,o.unit)(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a},[`${t}-nav-add`]:{minWidth:r,minHeight:r}}}}}},genTabStyle=e=>{let{componentCls:t,itemActiveColor:n,itemHoverColor:a,iconCls:o,tabsHorizontalItemMargin:r,horizontalItemPadding:l,itemSelectedColor:c,itemColor:u}=e,d=`${t}-tab`;return{[d]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:l,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:u,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:n}},"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${d}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":Object.assign({flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorIcon,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},(0,i.genFocusStyle)(e)),"&:hover":{color:a},[`&${d}-active ${d}-btn`]:{color:c,textShadow:e.tabsActiveTextShadow},[`&${d}-focus ${d}-btn`]:Object.assign({},(0,i.genFocusOutline)(e)),[`&${d}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${d}-disabled ${d}-btn, &${d}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${d}-remove ${o}`]:{margin:0},[`${o}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${d} + ${d}`]:{margin:{_skip_check_:!0,value:r}}}},genRtlStyle=e=>{let{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:a,cardGutter:i,calc:r}=e,l=`${t}-rtl`;return{[l]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[a]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,o.unit)(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,o.unit)(e.marginXS)},marginLeft:{_skip_check_:!0,value:(0,o.unit)(r(e.marginXXS).mul(-1).equal())},[a]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:i},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},genTabsStyle=e=>{let{componentCls:t,tabsCardPadding:n,cardHeight:a,cardGutter:r,itemHoverColor:l,itemActiveColor:c,colorBorderSecondary:u}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,i.resetComponent)(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-nav-wrap`]:{position:"relative",display:"flex",flex:"auto",alignSelf:"stretch",overflow:"hidden",
3whiteSpace:"nowrap",transform:"translate(0)","&::before, &::after":{position:"absolute",zIndex:1,opacity:0,transition:`opacity ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:a,minHeight:a,marginLeft:{_skip_check_:!0,value:r},background:"transparent",border:`${(0,o.unit)(e.lineWidth)} ${e.lineType} ${u}`,borderRadius:`${(0,o.unit)(e.borderRadiusLG)} ${(0,o.unit)(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:l},"&:active, &:focus:not(:focus-visible)":{color:c}},(0,i.genFocusStyle)(e,-3))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),genTabStyle(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:Object.assign(Object.assign({},(0,i.genFocusStyle)(e)),{"&-hidden":{display:"none"}})}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping']) > ${t}-nav-list`]:{margin:"auto"}}}}}},prepareComponentToken=e=>{let{cardHeight:t,cardHeightSM:n,cardHeightLG:a,controlHeight:o,c
3ontrolHeightLG:i}=e,r=t||i,l=n||o,c=a||i+8;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:r,cardHeightSM:l,cardHeightLG:c,cardPadding:`${(r-e.fontHeight)/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${(l-e.fontHeight)/2-e.lineWidth}px ${e.paddingXS}px`,cardPaddingLG:`${(c-e.fontHeightLG)/2-e.lineWidth}px ${e.padding}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}};t.prepareComponentToken=prepareComponentToken,t.default=(0,r.genStyleHooks)("Tabs",e=>{let t=(0,r.mergeToken)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,o.unit)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,o.unit)(e.horizontalItemGutter)}`});return[genSizeStyle(t),genRtlStyle(t),genPositionStyle(t),genDropdownStyle(t),genCardStyle(t),genTabsStyle(t),(0,l.default)(t)]},prepareComponentToken)},3703:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(42836);t.default=e=>{let{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0}
3,"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[(0,a.initSlideMotion)(e,"slide-up"),(0,a.initSlideMotion)(e,"slide-down")]]}},86334:function(e,t,n){n.r(t),n.d(t,{default:function(){return N}});var a=n(87462),o=n(4942),i=n(1413),r=n(97685),l=n(71002),c=n(45987),u=n(93967),d=n.n(u),s=n(21770),f=n(31131),v=n(67294),p=(0,v.createContext)(null),b=n(74902),g=n(48555),m=n(66680),h=n(42550),$=n(75164),hooks_useIndicator=function(e){var t=e.activeTabOffset,n=e.horizontal,a=e.rtl,o=e.indicator,i=void 0===o?{}:o,l=i.size,c=i.align,u=void 0===c?"center":c,d=(0,v.useState)(),s=(0,r.Z)(d,2),f=s[0],p=s[1],b=(0,v.useRef)(),g=v.useCallback(function(e){return"function"==typeof l?l(e):"number"==typeof l?l:e},[l]);function cleanInkBarRaf(){$.Z.cancel(b.current)}return(0,v.useEffect)(function(){var e={};if(t){if(n){e.width=g(t.width);var o=a?"right":"left";"start"===u&&(e[o]=t[o]),"center"===u&&(e[o]=t[o]+t.width/2,e.transform=a?"translateX(50%)":"translateX(-50%)"),"end"===u&&(e[o]=t[o]+t.width,e.transform="translateX(-100%)")}else e.height=g(t.height),"start"===u&&(e.top=t.top),"center"===u&&(e.top=t.top+t.height/2,e.transform="translateY(-50%)"),"end"===u&&(e.top=t.top+t.height,e.transform="translateY(-100%)")}return cleanInkBarRaf(),b.current=(0,$.Z)(function(){f&&e&&Object.keys(e).every(function(t){var n=e[t],a=f[t];return"number"==typeof n&&"number"==typeof a?Math.round(n)===Math.round(a):n===a})||p(e)}),cleanInkBarRaf},[JSON.stringify(t),n,a,u,g]),{style:f}},y={width:0,height:0,left:0,top:0};function useSyncState(e,t){var n=v.useRef(e),a=v.useState({}),o=(0,r.Z)(a,2)[1];return[n.current,function(e){var a="function"==typeof e?e(n.current):e;a!==n.current&&t(a,n.current),n.current=a,o({})}]}var k=n(8410);function useUpdate(e){var t=(0,v.useState)(0),n=(0,r.Z)(t,2),a=n[0],o=n[1],i=(0,v.useRef)(0),l=(0,v.useRef)();return l.current=e,(0,k.o)(function(){var e;null===(e=l.current)||void 0===e||e.call(l)},[a]),function(){i.current===a&&(i.current+=1,o(i.current))}}var _={width:0,height:0,left:0,top:0,right:0};function stringify(e){var t;return e instanceof Map?(t={},e.forEach(function(e,n){t[n]=e})):t=e,JSON.stringify(t)}function genDataNodeKey(e){return String(e).replace(/"/g,"TABS_DQ")}function getRemovable(e,t,n,a){return!!n&&!a&&!1!==e&&(void 0!==e||!1!==t&&null!==t)}var S=v.forwardRef(function(e,t){var n=e.prefixCls,a=e.editable,o=e.locale,i=e.style;return a&&!1!==a.showAdd?v.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(null==o?void 0:o.addAriaLabel)||"Add tab",onClick:function(e){a.onEdit("add",{event:e})}},a.addIcon||"+"):null}),x=v.forwardRef(function(e,t){var n,a=e.position,o=e.prefixCls,i=e.extra;if(!i)return null;var r={};return"object"!==(0,l.Z)(i)||v.isValidElement(i)?r.right=i:r=i,"right"===a&&(n=r.right),"left"===a&&(n=r.left),n?v.createElement("div",{className:"".concat(o,"-extra-content"),ref:t},n):null}),w=n(29171),C=n(72512),T=n(15105),E=v.forwardRef(function(e,t){var n=e.prefixCls,i=e.id,l=e.tabs,c=e.locale,u=e.mobile,s=e.more,f=void 0===s?{}:s,p=e.style,b=e.className,g=e.editable,m=e.tabBarGutter,h=e.rtl,$=e.removeAriaLabel,y=e.onTabClick,k=e.getPopupContainer,_=e.popupClassName,x=(0,v.useState)(!1),E=(0,r.Z)(x,2),P=E[0],R=E[1],M=(0,v.useState)(null),Z=(0,r.Z)(M,2),O=Z[0],I=Z[1],L=f.icon,z=void 0===L?"More":L,D="".concat(i,"-more-popup"),N="".concat(n,"-dropdown"),B=null!==O?"".concat(D,"-").concat(O):null,j=null==c?void 0:c.dropdownAriaLabel,H=v.createElement(C.default,{onClick:function(e){y(e.key,e.domEvent),R(!1)},prefixCls:"".concat(N,"-menu"),id:D,tabIndex:-1,role:"listbox","aria-activedescendant":B,selectedKeys:[O],"aria-label":void 0!==j?j:"expanded dropdown"},l.map(function(e){var t=e.closable,n=e.disabled,a=e.closeIcon,o=e.key,r=e.label,l=getRemovable(t,a,g,n);return v.createElement(C.MenuItem,{key:o,id:"".concat(D,"-").concat(o),role:"option","aria-controls":i&&"".concat(i,"-panel-").concat(o),disabled:n},v.createElement("span",null,r),l&&v.createElement("button",{type:"button","aria-label":$||"remove",tabIndex:0,className:"".concat(N,"-menu-item-remove"),onClick:function(e){e.stopPropagation(),e.preventDefault(),e.stopPropagation(),g.onEdit("remove",{key:o,event:e})}},a||g.removeIcon||"\xd7"))}));function selectOffset(e){for(var t=l.filter(function(e){return!e.disabled}),n=t.findIndex(function(e){return e.key===O})||0,a=t.length,o=0;o<a;o+=1){var i=t[n=(n+e+a)%a];if(!i.disabled){I(i.key);return}}}(0,v.useEffect)(function(){var e=document.getElementById(B);e&&e.scrollIntoView&&e.scrollIntoView(!1)},[O]),(0,v.useEffect)(function(){P||I(null)},[P]);var A=(0,o.Z)({},h?"marginRight":"marginLeft",m);l.length||(A.visibility="hidden",A.order=1);var W=d()((0,o.Z)({},"".concat(N,"-rtl"),h)),G=u?null:v.createElement(w.default,(0,a.Z)({prefixCls:N,overlay:H,visible:!!l.length&&P,onVisibleChange:R,overlayClassName:d()(W,_),mouseEnterDelay:.1,mouseLeaveDelay:.1,getPopupContainer:k},f),v.createElement("button",{type:"button",className:"".concat(n,"-nav-more"),style:A,"aria-haspopup":"listbox","aria-controls":D,id:"".concat(i,"-more"),"aria-expanded":P,onKeyDown:function(e){var t=e.which;if(!P){[T.Z.DOWN,T.Z.SPACE,T.Z.ENTER].includes(t)&&(R(!0),e.preventDefault());return}switch(t){case T.Z.UP:selectOffset(-1),e.preventDefault();break;case T.Z.DOWN:selectOffset(1),e.preventDefault();break;case T.Z.ESC:R(!1);break;case T.Z.SPACE:case T.Z.ENTER:null!==O&&y(O,e)}}},z));return v.createElement("div",{className:d()("".concat(n,"-nav-operations"),b),style:p,ref:t},G,v.createElement(S,{prefixCls:n,locale:c,editable:g}))}),P=v.memo(E,function(e,t){return t.tabMoving}),TabNavList_TabNode=function(e){var t=e.prefixCls,n=e.id,a=e.active,i=e.focus,r=e.tab,l=r.key,c=r.label,u=r.disabled,s=r.closeIcon,f=r.icon,p=e.closable,b=e.renderWrapper,g=e.removeAriaLabel,m=e.editable,h=e.onClick,$=e.onFocus,y=e.onBlur,k=e.onKeyDown,_=e.onMouseDown,S=e.onMouseUp,x=e.style,w=e.tabCount,C=e.currentPosition,T="".concat(t,"-tab"),E=getRemovable(p,s,m,u);function onInternalClick(e){u||h(e)}var P=v.useMemo(function(){return f&&"string"==typeof c?v.createElement("span",null,c):c},[c,f]),R=v.useRef(null);v.useEffect(function(){i&&R.current&&R.current.focus()},[i]);
3var M=v.createElement("div",{key:l,"data-node-key":genDataNodeKey(l),className:d()(T,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(T,"-with-remove"),E),"".concat(T,"-active"),a),"".concat(T,"-disabled"),u),"".concat(T,"-focus"),i)),style:x,onClick:onInternalClick},v.createElement("div",{ref:R,role:"tab","aria-selected":a,id:n&&"".concat(n,"-tab-").concat(l),className:"".concat(T,"-btn"),"aria-controls":n&&"".concat(n,"-panel-").concat(l),"aria-disabled":u,tabIndex:u?null:a?0:-1,onClick:function(e){e.stopPropagation(),onInternalClick(e)},onKeyDown:k,onMouseDown:_,onMouseUp:S,onFocus:$,onBlur:y},i&&v.createElement("div",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"Tab ".concat(C," of ").concat(w)),f&&v.createElement("span",{className:"".concat(T,"-icon")},f),c&&P),E&&v.createElement("button",{type:"button",role:"tab","aria-label":g||"remove",tabIndex:a?0:-1,className:"".concat(T,"-remove"),onClick:function(e){e.stopPropagation(),e.preventDefault(),e.stopPropagation(),m.onEdit("remove",{key:l,event:e})}},s||m.removeIcon||"\xd7"));return b?b(M):M},getTabSize=function(e,t){var n=e.offsetWidth,a=e.offsetHeight,o=e.offsetTop,i=e.offsetLeft,r=e.getBoundingClientRect(),l=r.width,c=r.height,u=r.left,d=r.top;return 1>Math.abs(l-n)?[l,c,u-t.left,d-t.top]:[n,a,i,o]},getSize=function(e){var t=e.current||{},n=t.offsetWidth,a=void 0===n?0:n,o=t.offsetHeight;if(e.current){var i=e.current.getBoundingClientRect(),r=i.width,l=i.height;if(1>Math.abs(r-a))return[r,l]}return[a,void 0===o?0:o]},getUnitValue=function(e,t){return e[t?0:1]},R=v.forwardRef(function(e,t){var n,l,c,u,s,f,$,k,w,C,T,E,R,M,Z,O,I,L,z,D,N,B,j,H,A,W,G,X,K,q,F,U,V,Y,J,Q,ee,et,en,ea=e.className,eo=e.style,ei=e.id,er=e.animated,el=e.activeKey,ec=e.rtl,eu=e.extra,ed=e.editable,es=e.locale,ef=e.tabPosition,ev=e.tabBarGutter,ep=e.children,eb=e.onTabClick,eg=e.onTabScroll,em=e.indicator,eh=v.useContext(p),e$=eh.prefixCls,ey=eh.tabs,ek=(0,v.useRef)(null),e_=(0,v.useRef)(null),eS=(0,v.useRef)(null),ex=(0,v.useRef)(null),ew=(0,v.useRef)(null),eC=(0,v.useRef)(null),eT=(0,v.useRef)(null),eE="top"===ef||"bottom"===ef,eP=useSyncState(0,function(e,t){eE&&eg&&eg({direction:e>t?"left":"right"})}),eR=(0,r.Z)(eP,2),eM=eR[0],eZ=eR[1],eO=useSyncState(0,function(e,t){!eE&&eg&&eg({direction:e>t?"top":"bottom"})}),eI=(0,r.Z)(eO,2),eL=eI[0],ez=eI[1],eD=(0,v.useState)([0,0]),eN=(0,r.Z)(eD,2),eB=eN[0],ej=eN[1],eH=(0,v.useState)([0,0]),eA=(0,r.Z)(eH,2),eW=eA[0],eG=eA[1],eX=(0,v.useState)([0,0]),eK=(0,r.Z)(eX,2),eq=eK[0],eF=eK[1],eU=(0,v.useState)([0,0]),eV=(0,r.Z)(eU,2),eY=eV[0],eJ=eV[1],eQ=(n=new Map,l=(0,v.useRef)([]),c=(0,v.useState)({}),u=(0,r.Z)(c,2)[1],s=(0,v.useRef)("function"==typeof n?n():n),f=useUpdate(function(){var e=s.current;l.current.forEach(function(t){e=t(e)}),l.current=[],s.current=e,u({})}),[s.current,function(e){l.current.push(e),f()}]),e0=(0,r.Z)(eQ,2),e1=e0[0],e2=e0[1],e8=($=eW[0],(0,v.useMemo)(function(){for(var e=new Map,t=e1.get(null===(o=ey[0])||void 0===o?void 0:o.key)||y,n=t.left+t.width,a=0;a<ey.length;a+=1){var o,r,l=ey[a].key,c=e1.get(l);c||(c=e1.get(null===(r=ey[a-1])||void 0===r?void 0:r.key)||y);var u=e.get(l)||(0,i.Z)({},c);u.right=n-u.left-u.width,e.set(l,u)}return e},[ey.map(function(e){return e.key}).join("_"),e1,$])),e6=getUnitValue(eB,eE),e4=getUnitValue(eW,eE),e3=getUnitValue(eq,eE),e9=getUnitValue(eY,eE),e7=Math.floor(e6)<Math.floor(e4+e3),e5=e7?e6-e9:e6-e3,te="".concat(e$,"-nav-operations-hidden"),tt=0,tn=0;function alignInRange(e){return e<tt?tt:e>tn?tn:e}eE&&ec?(tt=0,tn=Math.max(0,e4-e5)):(tt=Math.min(0,e5-e4),tn=0);var ta=(0,v.useRef)(null),to=(0,v.useState)(),ti=(0,r.Z)(to,2),tr=ti[0],tl=ti[1];function doLockAnimation(){tl(Date.now())}function clearTouchMoving(){ta.current&&clearTimeout(ta.current)}k=function(e,t){function doMove(e,t){e(function(e){return alignInRange(e+t)})}return!!e7&&(eE?doMove(eZ,e):doMove(ez,t),clearTouchMoving(),doLockAnimation(),!0)},w=(0,v.useState)(),T=(C=(0,r.Z)(w,2))[0],E=C[1],R=(0,v.useState)(0),Z=(M=(0,r.Z)(R,2))[0],O=M[1],I=(0,v.useState)(0),z=(L=(0,r.Z)(I,2))[0],D=L[1],N=(0,v.useState)(),j=(B=(0,r.Z)(N,2))[0],H=B[1],A=(0,v.useRef)(),W=(0,v.useRef)(),(G=(0,v.useRef)(null)).current={onTouchStart:function(e){var t=e.touches[0];E({x:t.screenX,y:t.screenY}),window.clearInterval(A.current)},onTouchMove:function(e){if(T){var t=e.touches[0],n=t.screenX,a=t.screenY;E({x:n,y:a});var o=n-T.x,i=a-T.y;k(o,i);var r=Date.now();O(r),D(r-Z),H({x:o,y:i})}},onTouchEnd:function(){if(T&&(E(null),H(null),j)){var e=j.x/z,t=j.y/z;if(!(.1>Math.max(Math.abs(e),Math.abs(t)))){var n=e,a=t;A.current=window.setInterval(function(){if(.01>Math.abs(n)&&.01>
3Math.abs(a)){window.clearInterval(A.current);return}n*=.9046104802746175,a*=.9046104802746175,k(20*n,20*a)},20)}}},onWheel:function(e){var t=e.deltaX,n=e.deltaY,a=0,o=Math.abs(t),i=Math.abs(n);o===i?a="x"===W.current?t:n:o>i?(a=t,W.current="x"):(a=n,W.current="y"),k(-a,-a)&&e.preventDefault()}},v.useEffect(function(){function onProxyTouchMove(e){G.current.onTouchMove(e)}function onProxyTouchEnd(e){G.current.onTouchEnd(e)}return document.addEventListener("touchmove",onProxyTouchMove,{passive:!1}),document.addEventListener("touchend",onProxyTouchEnd,{passive:!0}),ex.current.addEventListener("touchstart",function(e){G.current.onTouchStart(e)},{passive:!0}),ex.current.addEventListener("wheel",function(e){G.current.onWheel(e)},{passive:!1}),function(){document.removeEventListener("touchmove",onProxyTouchMove),document.removeEventListener("touchend",onProxyTouchEnd)}},[]),(0,v.useEffect)(function(){return clearTouchMoving(),tr&&(ta.current=setTimeout(function(){tl(0)},100)),clearTouchMoving},[tr]);var tc=(X=eE?eM:eL,V=(K=(0,i.Z)((0,i.Z)({},e),{},{tabs:ey})).tabs,Y=K.tabPosition,J=K.rtl,["top","bottom"].includes(Y)?(q="width",F=J?"right":"left",U=Math.abs(X)):(q="height",F="top",U=-X),(0,v.useMemo)(function(){if(!V.length)return[0,0];for(var e=V.length,t=e,n=0;n<e;n+=1){var a=e8.get(V[n].key)||_;if(Math.floor(a[F]+a[q])>Math.floor(U+e5)){t=n-1;break}}for(var o=0,i=e-1;i>=0;i-=1)if((e8.get(V[i].key)||_)[F]<U){o=i+1;break}return o>=t?[0,0]:[o,t]},[e8,e5,e4,e3,e9,U,Y,V.map(function(e){return e.key}).join("_"),J])),tu=(0,r.Z)(tc,2),td=tu[0],ts=tu[1],tf=(0,m.Z)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:el,t=e8.get(e)||{width:0,height:0,left:0,right:0,top:0};if(eE){var n=eM;ec?t.right<eM?n=t.right:t.right+t.width>eM+e5&&(n=t.right+t.width-e5):t.left<-eM?n=-t.left:t.left+t.width>-eM+e5&&(n=-(t.left+t.width-e5)),ez(0),eZ(alignInRange(n))}else{var a=eL;t.top<-eL?a=-t.top:t.top+t.height>-eL+e5&&(a=-(t.top+t.height-e5)),eZ(0),ez(alignInRange(a))}}),tv=(0,v.useState)(),tp=(0,r.Z)(tv,2),tb=tp[0],tg=tp[1],tm=(0,v.useState)(!1),th=(0,r.Z)(tm,2),t$=th[0],ty=th[1],tk=ey.filter(function(e){return!e.disabled}).map(function(e){return e.key}),onOffset=function(e){var t=tk.indexOf(tb||el),n=tk.length;tg(tk[(t+e+n)%n])},handleKeyDown=function(e){var t=e.code,n=ec&&eE,a=tk[0],o=tk[tk.length-1];switch(t){case"ArrowLeft":eE&&onOffset(n?1:-1);break;case"ArrowRight":eE&&onOffset(n?-1:1);break;case"ArrowUp":e.preventDefault(),eE||onOffset(-1);break;case"ArrowDown":e.preventDefault(),eE||onOffset(1);break;case"Home":e.preventDefault(),tg(a);break;case"End":e.preventDefault(),tg(o);break;case"Enter":case"Space":e.preventDefault(),eb(null!=tb?tb:el,e);break;case"Backspace":case"Delete":var i=tk.indexOf(tb),r=ey.find(function(e){return e.key===tb});getRemovable(null==r?void 0:r.closable,null==r?void 0:r.closeIcon,ed,null==r?void 0:r.disabled)&&(e.preventDefault(),e.stopPropagation(),ed.onEdit("remove",{key:tb,event:e}),i===tk.length-1?onOffset(-1):onOffset(1))}},t_={};eE?t_[ec?"marginRight":"marginLeft"]=ev:t_.marginTop=ev;var tS=ey.map(function(e,t){var n=e.key;return v.createElement(TabNavList_TabNode,{id:ei,prefixCls:e$,key:n,tab:e,style:0===t?void 0:t_,closable:e.closable,editable:ed,active:n===el,focus:n===tb,renderWrapper:ep,removeAriaLabel:null==es?void 0:es.removeAriaLabel,tabCount:tk.length,currentPosition:t+1,onClick:function(e){eb(n,e)},onKeyDown:handleKeyDown,onFocus:function(){t$||tg(n),tf(n),doLockAnimation(),ex.current&&(ec||(ex.current.scrollLeft=0),ex.current.scrollTop=0)},onBlur:function(){tg(void 0)},onMouseDown:function(){ty(!0)},onMouseUp:function(){ty(!1)}})}),updateTabSizes=function(){return e2(function(){var e,t=new Map,n=null===(e=ew.current)||void 0===e?void 0:e.getBoundingClientRect();
3return ey.forEach(function(e){var a,o=e.key,i=null===(a=ew.current)||void 0===a?void 0:a.querySelector('[data-node-key="'.concat(genDataNodeKey(o),'"]'));if(i){var l=getTabSize(i,n),c=(0,r.Z)(l,4),u=c[0],d=c[1],s=c[2],f=c[3];t.set(o,{width:u,height:d,left:s,top:f})}}),t})};(0,v.useEffect)(function(){updateTabSizes()},[ey.map(function(e){return e.key}).join("_")]);var tx=useUpdate(function(){var e=getSize(ek),t=getSize(e_),n=getSize(eS);ej([e[0]-t[0]-n[0],e[1]-t[1]-n[1]]);var a=getSize(eT);eF(a),eJ(getSize(eC));var o=getSize(ew);eG([o[0]-a[0],o[1]-a[1]]),updateTabSizes()}),tw=ey.slice(0,td),tC=ey.slice(ts+1),tT=[].concat((0,b.Z)(tw),(0,b.Z)(tC)),tE=e8.get(el),tP=hooks_useIndicator({activeTabOffset:tE,horizontal:eE,indicator:em,rtl:ec}).style;(0,v.useEffect)(function(){tf()},[el,tt,tn,stringify(tE),stringify(e8),eE]),(0,v.useEffect)(function(){tx()},[ec]);var tR=!!tT.length,tM="".concat(e$,"-nav-wrap");return eE?ec?(ee=eM>0,Q=eM!==tn):(Q=eM<0,ee=eM!==tt):(et=eL<0,en=eL!==tt),v.createElement(g.default,{onResize:tx},v.createElement("div",{ref:(0,h.x1)(t,ek),role:"tablist","aria-orientation":eE?"horizontal":"vertical",className:d()("".concat(e$,"-nav"),ea),style:eo,onKeyDown:function(){doLockAnimation()}},v.createElement(x,{ref:e_,position:"left",extra:eu,prefixCls:e$}),v.createElement(g.default,{onResize:tx},v.createElement("div",{className:d()(tM,(0,o.Z)((0,o.Z)((0,o.Z)((0,o.Z)({},"".concat(tM,"-ping-left"),Q),"".concat(tM,"-ping-right"),ee),"".concat(tM,"-ping-top"),et),"".concat(tM,"-ping-bottom"),en)),ref:ex},v.createElement(g.default,{onResize:tx},v.createElement("div",{ref:ew,className:"".concat(e$,"-nav-list"),style:{transform:"translate(".concat(eM,"px, ").concat(eL,"px)"),transition:tr?"none":void 0}},tS,v.createElement(S,{ref:eT,prefixCls:e$,locale:es,editable:ed,style:(0,i.Z)((0,i.Z)({},0===tS.length?void 0:t_),{},{visibility:tR?"hidden":null})}),v.createElement("div",{className:d()("".concat(e$,"-ink-bar"),(0,o.Z)({},"".concat(e$,"-ink-bar-animated"),er.inkBar)),style:tP}))))),v.createElement(P,(0,a.Z)({},e,{removeAriaLabel:null==es?void 0:es.removeAriaLabel,ref:eC,prefixCls:e$,tabs:tT,className:!tR&&te,tabMoving:!!tr})),v.createElement(x,{ref:eS,position:"right",extra:eu,prefixCls:e$})))}),M=v.forwardRef(function(e,t){var n=e.prefixCls,a=e.className,o=e.style,i=e.id,r=e.active,l=e.tabKey,c=e.children;return v.createElement("div",{id:i&&"".concat(i,"-panel-").concat(l),role:"tabpanel",tabIndex:r?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(l),"aria-hidden":!r,style:o,className:d()(n,r&&"".concat(n,"-active"),a),ref:t},c)}),Z=["renderTabBar"],O=["label","key"],Wrapper=function(e){var t=e.renderTabBar,n=(0,c.Z)(e,Z),o=v.useContext(p).tabs;return t?t((0,i.Z)((0,i.Z)({},n),{},{panes:o.map(function(e){var t=e.label,n=e.key,o=(0,c.Z)(e,O);return v.createElement(M,(0,a.Z)({tab:t,key:n,tabKey:n},o))})}),R):v.createElement(R,n)},I=n(29372),L=["key","forceRender","style","className","destroyInactiveTabPane"],es_TabPanelList=function(e){var t=e.id,n=e.activeKey,r=e.animated,l=e.tabPosition,u=e.destroyInactiveTabPane,s=v.useContext(p),f=s.prefixCls,b=s.tabs,g=r.tabPane,m="".concat(f,"-tabpane");return v.createElement("div",{className:d()("".concat(f,"-content-holder"))},v.createElement("div",{className:d()("".concat(f,"-content"),"".concat(f,"-content-").concat(l),(0,o.Z)({},"".concat(f,"-content-animated"),g))},b.map(function(e){var o=e.key,l=e.forceRender,s=e.style,f=e.className,p=e.destroyInactiveTabPane,b=(0,c.Z)(e,L),h=o===n;return v.createElement(I.default,(0,a.Z)({key:o,visible:h,forceRender:l,removeOnLeave:!!(u||p),leavedClassName:"".concat(m,"-hidden")},r.tabPaneMotion),function(e,n){var r=e.style,l=e.className;return v.createElement(M,(0,a.Z)({},b,{prefixCls:m,id:t,tabKey:o,animated:g,active:h,style:(0,i.Z)((0,i.Z)({},s),r),className:d()(f,l),ref:n}))})})))};n(80334);var z=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],D=0,N=v.forwardRef(function(e,t){var n=e.id,u=e.prefixCls,b=void 0===u?"rc-tabs":u,g=e.className,m=e.items,h=e.direction,$=e.activeKey,y=e.defaultActiveKey,k=e.editable,_=e.animated,S=e.tabPosition,x=void 0===S?"top":S,w=e.tabBarGutter,C=e.tabBarStyle,T=e.tabBarExtraContent,E=e.locale,P=e.more,R=e.destroyInactiveTabPane,M=e.renderTabBar,Z=e.onChange,O=e.onTabClick,I=e.onTabScroll,L=e.getPopupContainer,N=e.popupClassName,B=e.indicator,j=(0,c.Z)(e,z),H=v.useMemo(function(){return(m||[]).filter(function(e){return e&&"object"===(0,l.Z)(e)&&"key"in e})},[m]),A="rtl"===h,W=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{inkBar:!0,tabPane:!1};return(e=!1===t?{inkBar:!1,tabPane:!1}:!0===t?{inkBar:!0,tabPane:!1}:(0,i.Z)({inkBar:!0},"object"===(0,l.Z)(t)?t:{})).tabPaneMotion&&void 0===e.tabPane&&(e.tabPane=!0),!e.tabPaneMotion&&e.tabPane&&(e.tabPane=!1),e}(_),G=(0,v.useState)(!1),X=(0,r.Z)(G,2),K=X[0],q=X[1];(0,v.useEffect)(function(){q((0,f.Z)())},[]);var F=(0,s.Z)(function(){var e;return null===(e=H[0])||void 0===e?void 0:e.key},{value:$,defaultValue:y}),U=(0,r.Z)(F,2),V=U[0],Y=U[1],J=(0,v.useState)(function(){return H.findIndex(function(e){return e.key===V})}),Q=(0,r.Z)(J,2),ee=Q[0],et=Q[1];(0,v.useEffect)(function(){var e,t=H.findIndex(function(e){return e.key===V});-1===t&&(t=Math.max(0,Math.min(ee,H.length-1)),Y(null===(e=H[t])||void 0===e?void 0:e.key)),et(t)},[H.map(function(e){return e.key}).join("_"),V,ee]);var en=(0,s.Z)(null,{value:n}),ea=(0,r.Z)(en,2),eo=ea[0],ei=ea[1];(0,v.useEffect)(function(){n||(ei("rc-tabs-".concat(D)),D+=1)},[]);var er={id:eo,activeKey:V,animated:W,tabPosition:x,rtl:A,mobile:K},el=(0,i.Z)((0,i.Z)({},er),{},{editable:k,locale:E,more:P,tabBarGutter:w,onTabClick:function(e,t){null==O||O(e,t);var n=e!==V;Y(e),n&&(null==Z||Z(e))},onTabScroll:I,extra:T,style:C,panes:null,getPopupContainer:L,popupClassName:N,indicator:B});return v.createElement(p.Provider,{value:{tabs:H,prefixCls:b}},v.createElement("div",(0,a.Z)({ref:t,id:n,className:d()(b,"".concat(b,"-").concat(x),(0,o.Z)((0,o.Z)((0,o.Z)({}
3,"".concat(b,"-mobile"),K),"".concat(b,"-editable"),k),"".concat(b,"-rtl"),A),g)},j),v.createElement(Wrapper,(0,a.Z)({},el,{renderTabBar:M})),v.createElement(es_TabPanelList,(0,a.Z)({destroyInactiveTabPane:R},er,{animated:W}))))})}}]);
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.