You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
101 KiB

5 months ago
"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[51],{49867:function(Cn,It,x){x.d(It,{N:function(){return o}});const o=Ze=>({color:Ze.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${Ze.motionDurationSlow}`,"&:focus, &:hover":{color:Ze.colorLinkHover},"&:active":{color:Ze.colorLinkActive}})},84164:function(Cn,It,x){x.d(It,{Z:function(){return Ze}});var o=x(67294);function Ze(_,ie,Ve){const Oe=o.useRef({});function lt(at){if(!Oe.current||Oe.current.data!==_||Oe.current.childrenColumnName!==ie||Oe.current.getRowKey!==Ve){let Pe=function(Se){Se.forEach((it,Gt)=>{const Dt=Ve(it,Gt);ft.set(Dt,it),it&&typeof it=="object"&&ie in it&&Pe(it[ie]||[])})};const ft=new Map;Pe(_),Oe.current={data:_,childrenColumnName:ie,kvMap:ft,getRowKey:Ve}}return Oe.current.kvMap.get(at)}return[lt]}},72051:function(Cn,It,x){x.d(It,{Z:function(){return ri}});var o=x(67294),Ze={},_="rc-table-internal-hook",ie=x(97685),Ve=x(66680),Oe=x(8410),lt=x(91881),at=x(73935);function ft(e){var t=o.createContext(void 0),n=function(l){var a=l.value,s=l.children,i=o.useRef(a);i.current=a;var c=o.useState(function(){return{getValue:function(){return i.current},listeners:new Set}}),d=(0,ie.Z)(c,1),p=d[0];return(0,Oe.Z)(function(){(0,at.unstable_batchedUpdates)(function(){p.listeners.forEach(function(u){u(a)})})},[a]),o.createElement(t.Provider,{value:p},s)};return{Context:t,Provider:n,defaultValue:e}}function Pe(e,t){var n=(0,Ve.Z)(typeof t=="function"?t:function(u){if(t===void 0)return u;if(!Array.isArray(t))return u[t];var m={};return t.forEach(function(f){m[f]=u[f]}),m}),r=o.useContext(e==null?void 0:e.Context),l=r||{},a=l.listeners,s=l.getValue,i=o.useRef();i.current=n(r?s():e==null?void 0:e.defaultValue);var c=o.useState({}),d=(0,ie.Z)(c,2),p=d[1];return(0,Oe.Z)(function(){if(!r)return;function u(m){var f=n(m);(0,lt.Z)(i.current,f,!0)||p({})}return a.add(u),function(){a.delete(u)}},[r]),i.current}var Se=x(87462),it=x(42550);function Gt(){var e=o.createContext(null);function t(){return o.useContext(e)}function n(l,a){var s=(0,it.Yr)(l),i=function(d,p){var u=s?{ref:p}:{},m=o.useRef(0),f=o.useRef(d),v=t();return v!==null?o.createElement(l,(0,Se.Z)({},d,u)):((!a||a(f.current,d))&&(m.current+=1),f.current=d,o.createElement(e.Provider,{value:m.current},o.createElement(l,(0,Se.Z)({},d,u))))};return s?o.forwardRef(i):i}function r(l,a){var s=(0,it.Yr)(l),i=function(d,p){var u=s?{ref:p}:{};return t(),o.createElement(l,(0,Se.Z)({},d,u))};return s?o.memo(o.forwardRef(i),a):o.memo(i,a)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var Dt=Gt(),yr=Dt.makeImmutable,br=Dt.responseImmutable,Cr=Dt.useImmutableMark,Yt=Gt(),Sn=Yt.makeImmutable,xt=Yt.responseImmutable,wn=Yt.useImmutableMark,An=ft(),Qe=An;function Sr(e,t){var n=React.useRef(0);n.current+=1;var r=React.useRef(e),l=[];Object.keys(e||{}).map(function(s){var i;(e==null?void 0:e[s])!==((i=r.current)===null||i===void 0?void 0:i[s])&&l.push(s)}),r.current=e;var a=React.useRef([]);return l.length&&(a.current=l),React.useDebugValue(n.current),React.useDebugValue(a.current.join(", ")),t&&console.log("".concat(t,":"),n.current,a.current),n.current}var wr=null,Er=null,Tt=x(71002),H=x(1413),ne=x(4942),En=x(93967),re=x.n(En),Rn=x(56982),$n=x(88306),Wn=x(80334),In=o.createContext({renderWithProps:!1}),Jt=In,Tn="RC_TABLE_KEY";function fn(e){return e==null?[]:Array.isArray(e)?e:[e]}function Qt(e){var t=[],n={};return e.forEach(function(r){for(var l=r||{},a=l.key,s=l.dataIndex,i=a||fn(s).join("-")||Tn;n[i];)i="".concat(i,"_next");n[i]=!0,t.push(i)}),t}function jt(e){return e!=null}function kn(e){return e&&(0,Tt.Z)(e)==="object"&&!Array.isArray(e)&&!o.isValidElement(e)}function Vn(e,t,n,r,l,a){var s=o.useContext(Jt),i=wn(),c=(0,Rn.Z)(function(){if(jt(r))return[r];var d=t==null||t===""?[]:Array.isArray(t)?t:[t],p=(0,$n.Z)(e,d),u=p,m=void 0;if(l){var f=l(p,e,n);kn(f)?(u=f.children,m=f.props,s.renderWithProps=!0):u=f}return[u,m]},[i,e,r,t,l,n],function(d,p){if(a){var u=(0,ie.Z)(d,2),m=u[1],f=(0,ie.Z)(p,2),v=f[1];return a(v,m)}return s.renderWithP
> table > tbody > tr > th,
> table > tbody > tr > td
`]:{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,A.bf)(c(m).mul(-1).equal())}
${(0,A.bf)(c(c(f).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:d,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:d,borderTop:d,[`
> ${t}-content,
> ${t}-header,
> ${t}-body,
> ${t}-summary
`]:{"> table":{[`
> thead > tr > th,
> thead > tr > td,
> tbody > tr > th,
> tbody > tr > td,
> tfoot > tr > th,
> tfoot > tr > td
`]:{borderInlineEnd:d},"> thead":{"> tr:not(:last-child) > th":{borderBottom:d},"> tr > th::before":{backgroundColor:"transparent !important"}},[`
> thead > tr,
> tbody > tr,
> tfoot > tr
`]:{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:d}},[`
> tbody > tr > th,
> tbody > tr > td
`]:{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,A.bf)(c(s).mul(-1).equal())} ${(0,A.bf)(c(c(i).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:d,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[`
> tr${t}-expanded-row,
> tr${t}-placeholder
`]:{["> th, > td"]:{borderInlineEnd:0}}}}}},p("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),p("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:d,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,A.bf)(n)} 0 ${(0,A.bf)(n)} ${a}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:d}}}},Ha=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},Kn.vS),{wordBreak:"keep-all",[`
&${t}-cell-fix-left-last,
&${t}-cell-fix-right-first
`]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Fa=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,[`
&:hover > th,
&:hover > td,
`]:{background:e.colorBgContainer}}}}},Ma=x(49867),Ka=e=>{const{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:l,paddingXS:a,lineType:s,tableBorderColor:i,tableExpandIconBg:c,tableExpandColumnWidth:d,borderRadius:p,tablePaddingVertical:u,tablePaddingHorizontal:m,tableExpandedRowBg:f,paddingXXS:v,expandIconMarginTop:y,expandIconSize:g,expandIconHalfInner:b,expandIconScale:C,calc:h}=e,E=`${(0,A.bf)(l)} ${s} ${i}`,S=h(v).sub(l).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:d},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},(0,Ma.N)(e)),{position:"relative",float:"left",boxSizing:"border-box",width:g,height:g,padding:0,color:"inherit",lineHeight:(0,A.bf)(g),background:c,border:E,borderRadius:p,transform:`scale(${C})`,transition:`all ${r}`,userSelect:"none",["&:focus, &:hover, &:active"]:{borderColor:"currentcolor"},["&::before, &::after"]:{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:b,insetInlineEnd:S,insetInlineStart:S,height:l},"&::after":{top:S,bottom:S,insetInlineStart:b,width:l,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:y,marginInlineEnd:a},[`tr${t}-expanded-row`]:{"&, &:hover":{["> th, > td"]:{background:f}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${(0,A.bf)(h(u).mul(-1).equal())} ${(0,A.bf)(h(m).mul(-1).equal())}`,padding:`${(0,A.bf)(u)} ${(0,A.bf)(m)}`}}}},za=e=>{const{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:l,tableFilterDropdownSearchWidth:a,paddingXXS:s,paddingXS:i,colorText:c,lineWidth:d,lineType:p,tableBorderColor:u,headerIconColor:m,fontSizeSM:f,tablePaddingHorizontal:v,borderRadius:y,motionDurationSlow:g,colorTextDescription:b,colorPrimary:C,tableHeaderFilterActiveBg:h,colorTextDisabled:E,tableFilterDropdownBg:S,tableFilterDropdownHeight:P,controlItemBgHover:$,controlItemBgActive:L,boxShadowSecondary:k,filterDropdownMenuBg:D,calc:W}=e,B=`${n}-dropdown`,Z=`${t}-filter-dropdown`,I=`${n}-tree`,F=`${(0,A.bf)(d)} ${p} ${u}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:W(s).mul(-1).equal(),marginInline:`${(0,A.bf)(s)} ${(0,A.bf)(W(v).div(2).mul(-1).equal())}`,padding:`0 ${(0,A.bf)(s)}`,color:m,fontSize:f,borderRadius:y,cursor:"pointer",transition:`all ${g}`,"&:hover":{color:b,background:h},"&.active":{color:C}}}},{[`${n}-dropdown`]:{[Z]:Object.assign(Object.assign({},(0,Kn.Wf)(e)),{minWidth:l,backgroundColor:S,borderRadius:y,boxShadow:k,overflow:"hidden",[`${B}-menu`]:{maxHeight:P,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:D,"&:empty::after":{display:"block",padding:`${(0,A.bf)(i)} 0`,color:E,fontSize:f,textAlign:"center",content:'"Not Found"'}},[`${Z}-tree`]:{paddingBlock:`${(0,A.bf)(i)} 0`,paddingInline:i,[I]:{padding:0},[`${I}-treenode ${I}-node-content-wrapper:hover`]:{backgroundColor:$},[`${I}-treenode-checkbox-checked ${I}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:L}}},[`${Z}-search`]:{padding:i,borderBottom:F,"&-input":{input:{minWidth:a},[r]:{color:E}}},[`${Z}-checkall`]:{width:"100%",marginBottom:s,marginInlineStart:s},[`${Z}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,A.bf)(W(i).sub(d).equal())} ${(0,A.bf)(i)}`,overflow:"hidden",borderTop:F}})}},{[`${n}-dropdown ${Z}, ${Z}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:i,color:c},["> ul"]:{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},La=e=>{cons
${t}-cell-fix-left,
${t}-cell-fix-right
`]:{position:"sticky !important",zIndex:a,background:s},[`
${t}-cell-fix-left-first::after,
${t}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:c(n).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${l}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[`
${t}-cell-fix-right-first::after,
${t}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:c(n).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${l}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:c(i).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${l}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${d}`},[`
${t}-cell-fix-left-first::after,
${t}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${d}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${d}`},[`
${t}-cell-fix-right-first::after,
${t}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${d}`}},[`${t}-fixed-column-gapped`]:{[`
${t}-cell-fix-left-first::after,
${t}-cell-fix-left-last::after,
${t}-cell-fix-right-first::after,
${t}-cell-fix-right-last::after
`]:{boxShadow:"none"}}}}},Da=e=>{const{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${(0,A.bf)(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},ja=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${(0,A.bf)(n)} ${(0,A.bf)(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${(0,A.bf)(n)} ${(0,A.bf)(n)}`}}}}},Aa=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},Wa=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:l,padding:a,paddingXS:s,headerIconColor:i,headerIconHoverColor:c,tableSelectionColumnWidth:d,tableSelectedRowBg:p,tableSelectedRowHoverBg:u,tableRowHoverBg:m,tablePaddingHorizontal:f,calc:v}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:d,[`&${t}-selection-col-with-dropdown`]:{width:v(d).add(l).add(v(a).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:v(d).add(v(s).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:v(d).add(l).add(v(a).div(4)).add(v(s).mul(2)).equal()}},[`
table tr th${t}-selection-column,
table tr td${t}-selection-column,
${t}-selection-column
`]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:e.zIndexTableFixed+1},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:(0,A.bf)(v(f).div(4).equal()),[r]:{color:i,fontSize:l,verticalAlign:"baseline","&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:p,"&-row-hover":{background:u}}},[`> ${t}-cell-row-hover`]:{background:m}}}}}},Va=e=>{const{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,l=(a,s,i,c)=>({[`${t}${t}-${a}`]:{fontSize:c,[`
${t}-title,
${t}-footer,
${t}-cell,
${t}-thead > tr > th,
${t}-tbody > tr > th,
${t}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${(0,A.bf)(s)} ${(0,A.bf)(i)}`},[`${t}-filter-trigger`]:{marginInlineEnd:(0,A.bf)(r(i).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${(0,A.bf)(r(s).mul(-1).equal())} ${(0,A.bf)(r(i).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:(0,A.bf)(r(s).mul(-1).equal()),marginInline:`${(0,A.bf)(r(n).sub(i).equal())} ${(0,A.bf)(r(i).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:(0,A.bf)(r(i).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},l("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),l("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},Xa=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:l,headerIconHoverColor:a}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[`
&${t}-cell-fix-left:hover,
&${t}-cell-fix-right:hover
`]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${t}-column-sorter`]:{marginInlineStart:n,color:l,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:a}}}},Ua=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:l,tableScrollThumbSize:a,tableScrollBg:s,zIndexTableSticky:i,stickyScrollBarBorderRadius:c,lineWidth:d,lineType:p,tableBorderColor:u}=e,m=`${(0,A.bf)(d)} ${p} ${u}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:i,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,A.bf)(a)} !important`,zIndex:i,display:"flex",alignItems:"center",background:s,borderTop:m,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:a,backgroundColor:r,borderRadius:c,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:l}}}}}}},ao=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r,calc:l}=e,a=`${(0,A.bf)(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:a}}},[`div${t}-summary`]:{boxShadow:`0 ${(0,A.bf)(l(n).mul(-1).equal())} 0 ${r}`}}}},Ga=e=>{const{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:l,tableBorderColor:a,calc:s}=e,i=`${(0,A.bf)(r)} ${l} ${a}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-row:not(tr)`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${t}-cell`]:{borderBottom:i,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,A.bf)(r)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:i,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:i,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:s(r).mul(-1).equal(),borderInlineStart:i}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:i,borderBottom:i}}}}}};const Ya=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:l,tableExpandColumnWidth:a,lineWidth:s,lineType:i,tableBorderColor:c,tableFontSize:d,tableBg:p,tableRadius:u,tableHeaderTextColor:m,motionDurationMid:f,tableHeaderBg:v,tableHeaderCellSplitColor:y,tableFooterTextColor:g,tableFooterBg:b,calc:C}=e,h=`${(0,A.bf)(s)} ${i} ${c}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Kn.dF)()),{[t]:Object.assign(Object.assign({},(0,Kn.Wf)(e)),{fontSize:d,background:p,borderRadius:`${(0,A.bf)(u)} ${(0,A.bf)(u)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,A.bf)(u)} ${(0,A.bf)(u)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${t}-cell,
${t}-thead > tr > th,
${t}-tbody > tr > th,
${t}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${(0,A.bf)(r)} ${(0,A.bf)(l)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${(0,A.bf)(r)} ${(0,A.bf)(l)}`},[`${t}-thead`]:{[`
> tr > th,
> tr > td
`]:{position:"relative",color:m,fontWeight:n,textAlign:"start",background:v,borderBottom:h,transition:`background ${f} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:y,transform:"translateY(-50%)",transition:`background-color ${f}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{["> th, > td"]:{transition:`background ${f}, border-color ${f}`,borderBottom:h,[`
> ${t}-wrapper:only-child,
> ${t}-expanded-row-fixed > ${t}-wrapper:only-child
`]:{[t]:{marginBlock:(0,A.bf)(C(r).mul(-1).equal()),marginInline:`${(0,A.bf)(C(a).sub(l).equal())}
${(0,A.bf)(C(l).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:m,fontWeight:n,textAlign:"start",background:v,borderBottom:h,transition:`background ${f} ease`}}},[`${t}-footer`]:{padding:`${(0,A.bf)(r)} ${(0,A.bf)(l)}`,color:g,background:b}})}},Ja=e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:l,colorFillContent:a,controlItemBgActive:s,controlItemBgActiveHover:i,padding:c,paddingSM:d,paddingXS:p,colorBorderSecondary:u,borderRadiusLG:m,controlHeight:f,colorTextPlaceholder:v,fontSize:y,fontSizeSM:g,lineHeight:b,lineWidth:C,colorIcon:h,colorIconHover:E,opacityLoading:S,controlInteractiveSize:P}=e,$=new yn.C(l).onBackground(n).toHexShortString(),L=new yn.C(a).onBackground(n).toHexShortString(),k=new yn.C(t).onBackground(n).toHexShortString(),D=new yn.C(h),W=new yn.C(E),B=P/2-C,Z=B*2+C*3;return{headerBg:k,headerColor:r,headerSortActiveBg:$,headerSortHoverBg:L,bodySortBg:k,rowHoverBg:k,rowSelectedBg:s,rowSelectedHoverBg:i,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:d,cellPaddingInlineMD:p,cellPaddingBlockSM:p,cellPaddingInlineSM:p,borderColor:u,headerBorderRadius:m,footerBg:k,footerColor:r,cellFontSize:y,cellFontSizeMD:y,cellFontSizeSM:y,headerSplitColor:u,fixedHeaderSortActiveBg:$,headerFilterHoverBg:a,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:f,stickyScrollBarBg:v,stickyScrollBarBorderRadius:100,expandIconMarginTop:(y*b-C*3)/2-Math.ceil((g*1.4-C*3)/2),headerIconColor:D.clone().setAlpha(D.getAlpha()*S).toRgbString(),headerIconHoverColor:W.clone().setAlpha(W.getAlpha()*S).toRgbString(),expandIconHalfInner:B,expandIconSize:Z,expandIconScale:P/Z}};var Qa=(0,Za.I$)("Table",e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:l,headerBg:a,headerColor:s,headerSortActiveBg:i,headerSortHoverBg:c,bodySortBg:d,rowHoverBg:p,rowSelectedBg:u,rowSelectedHoverBg:m,rowExpandedBg:f,cellPaddingBlock:v,cellPaddingInline:y,cellPaddingBlockMD:g,cellPaddingInlineMD:b,cellPaddingBlockSM:C,cellPaddingInlineSM:h,borderColor:E,footerBg:S,footerColor:P,headerBorderRadius:$,cellFontSize:L,cellFontSizeMD:k,cellFontSizeSM:D,headerSplitColor:W,fixedHeaderSortActiveBg:B,headerFilterHoverBg:Z,filterDropdownBg:I,expandIconBg:F,selectionColumnWidth:z,stickyScrollBarBg:w,calc:R}=e,T=2,M=(0,Pa.TS)(e,{tableFontSize:L,tableBg:r,tableRadius:$,tablePaddingVertical:v,tablePaddingHorizontal:y,tablePaddingVerticalMiddle:g,tablePaddingHorizontalMiddle:b,tablePaddingVerticalSmall:C,tablePaddingHorizontalSmall:h,tableBorderColor:E,tableHeaderTextColor:s,tableHeaderBg:a,tableFooterTextColor:P,tableFooterBg:S,tableHeaderCellSplitColor:W,tableHeaderSortBg:i,tableHeaderSortHoverBg:c,tableBodySortBg:d,tableFixedHeaderSortActiveBg:B,tableHeaderFilterActiveBg:Z,tableFilterDropdownBg:I,tableRowHoverBg:p,tableSelectedRowBg:u,tableSelectedRowHoverBg:m,zIndexTableFixed:T,zIndexTableSticky:T+1,tableFontSizeMiddle:k,tableFontSizeSmall:D,tableSelectionColumnWidth:z,tableExpandIconBg:F,tableExpandColumnWidth:R(l).add(R(e.padding).mul(2)).equal(),tableExpandedRowBg:f,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:w,tableScrollThumbBgHover:t,tableScrollBg:n});return[Ya(M),Da(M),ao(M),Xa(M),za(M),Ba(M),ja(M),Ka(M),ao(M),Fa(M),Wa(M),La(M),Ua(M),Ha(M),Va(M),Aa(M),Ga(M)]},Ja,{unitless:{expandIconScale:!0}});const qa=[],_a=(e,t)=>{var n,r;const{prefixCls:l,className:a,rootClassName:s,style:i,size:c,bordered:d,dropdownPrefixCls:p,dataSource:u,pagination:m,rowSelection:f,rowKey:v="key",rowClassName:y,columns:g,children:b,childrenColumnName:C,onChange:h,getPopupContainer:E,loading:S,expandIcon:P,expandable:$,expandedRowRender:L,expandIconColumnIndex:k,indentSize:D,scroll:W,sortDirections:B,locale:Z,showSorterTooltip:I={target:"full-header"},virtual:F}=e,z=(0,qn.ln)("Table"),w=o.useMemo(()=>g||Gn(b),[g,b]),R=o.useMemo(()=>w.some(X=>X.responsive),[w]),T=(0,