static.kuangkie.pc.bundle.303e68853048121ce46b.js Maven / Gradle / Ivy
The newest version!
"use strict";(self.webpackChunkaldehyde=self.webpackChunkaldehyde||[]).push([[10],{72985:function(e,t,n){n.d(t,{Z:function(){return k}});var o=n(67294),r=n(7085),i=n(94184),l=n.n(i),a=n(33413),c=n(28979),s=n(53124),d=n(98866),u=n(98675),p=n(1803),g=n(10274),f=n(14747),m=n(11939),b=n(45503);const h=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:o,trackMinWidthSM:r,innerMinMarginSM:i,innerMaxMarginSM:l,handleSizeSM:a,calc:c}=e,s=`${t}-inner`,d=(0,p.bf)(c(a).add(c(o).mul(2)).equal()),u=(0,p.bf)(c(l).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:r,height:n,lineHeight:(0,p.bf)(n),[`${t}-inner`]:{paddingInlineStart:l,paddingInlineEnd:i,[`${s}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${u})`,marginInlineEnd:`calc(100% - ${d} + ${u})`},[`${s}-unchecked`]:{marginTop:c(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:a,height:a},[`${t}-loading-icon`]:{top:c(c(a).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:l,[`${s}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${s}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${u})`,marginInlineEnd:`calc(-100% + ${d} - ${u})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${(0,p.bf)(c(a).add(o).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${s}`]:{[`${s}-unchecked`]:{marginInlineStart:c(e.marginXXS).div(2).equal(),marginInlineEnd:c(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${s}`]:{[`${s}-checked`]:{marginInlineStart:c(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:c(e.marginXXS).div(2).equal()}}}}}}},$=e=>{const{componentCls:t,handleSize:n,calc:o}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:o(o(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},v=e=>{const{componentCls:t,trackPadding:n,handleBg:o,handleShadow:r,handleSize:i,calc:l}=e,a=`${t}-handle`;return{[t]:{[a]:{position:"absolute",top:n,insetInlineStart:n,width:i,height:i,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:o,borderRadius:l(i).div(2).equal(),boxShadow:r,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${a}`]:{insetInlineStart:`calc(100% - ${(0,p.bf)(l(i).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${a}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${a}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},y=e=>{const{componentCls:t,trackHeight:n,trackPadding:o,innerMinMargin:r,innerMaxMargin:i,handleSize:l,calc:a}=e,c=`${t}-inner`,s=(0,p.bf)(a(l).add(a(o).mul(2)).equal()),d=(0,p.bf)(a(i).mul(2).equal());return{[t]:{[c]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:i,paddingInlineEnd:r,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${c}-checked, ${c}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none"},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${s} - ${d})`,marginInlineEnd:`calc(100% - ${s} + ${d})`},[`${c}-unchecked`]:{marginTop:a(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${c}`]:{paddingInlineStart:r,paddingInlineEnd:i,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${s} + ${d})`,marginInlineEnd:`calc(-100% + ${s} - ${d})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:a(o).mul(2).equal(),marginInlineEnd:a(o).mul(-1).mul(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:a(o).mul(-1).mul(2).equal(),marginInlineEnd:a(o).mul(2).equal()}}}}}},S=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:o}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,f.Wf)(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:o,height:n,lineHeight:`${(0,p.bf)(n)}`,verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),(0,f.Qy)(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}};var x=(0,m.I$)("Switch",(e=>{const t=(0,b.TS)(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[S(t),y(t),v(t),$(t),h(t)]}),(e=>{const{fontSize:t,lineHeight:n,controlHeight:o,colorWhite:r}=e,i=t*n,l=o/2,a=i-4,c=l-4;return{trackHeight:i,trackHeightSM:l,trackMinWidth:2*a+8,trackMinWidthSM:2*c+4,trackPadding:2,handleBg:r,handleSize:a,handleSizeSM:c,handleShadow:`0 2px 4px 0 ${new g.C("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:a/2,innerMaxMargin:a+2+4,innerMinMarginSM:c/2,innerMaxMarginSM:c+2+4}})),w=n(21770);const C=o.forwardRef(((e,t)=>{const{prefixCls:n,size:i,disabled:p,loading:g,className:f,rootClassName:m,style:b,checked:h,value:$,defaultChecked:v,defaultValue:y,onChange:S}=e,C=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{let n=[];return(t||[]).forEach((t=>{n.push(t),t&&"object"==typeof t&&e in t&&(n=[].concat((0,i.Z)(n),(0,i.Z)(w(e,t[e]))))})),n};var C=n(2301),k=n(98423),O=n(8158),E=n(44252),I=n(53124),j=n(88258),P=n(35792),z=n(98675),T=n(25378),B=n(40378),M=n(26005),N=n(36646),H=n(87606);function R(e,t){return"key"in e&&void 0!==e.key&&null!==e.key?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t}function D(e,t){return t?`${t}-${e}`:`${e}`}function Z(e,t){return"function"==typeof e?e(t):e}var _=n(99069),L=n(91881),A=n(52517),F=n(63568),W=n(45795),X=n(8505),q=n(76529),K=n(7573),G=n(76570),V=n(4107),U=function(e){let{value:t,onChange:n,filterSearch:r,tablePrefixCls:i,locale:l}=e;return r?o.createElement("div",{className:`${i}-filter-dropdown-search`},o.createElement(V.Z,{prefix:o.createElement(G.Z,null),placeholder:l.filterSearchPlaceholder,onChange:n,value:t,htmlSize:1,className:`${i}-filter-dropdown-search-input`})):null},Q=n(15105);const Y=e=>{const{keyCode:t}=e;t===Q.Z.ENTER&&e.stopPropagation()};var J=o.forwardRef(((e,t)=>o.createElement("div",{className:e.className,onClick:e=>e.stopPropagation(),onKeyDown:Y,ref:t},e.children)));function ee(e){let t=[];return(e||[]).forEach((e=>{let{value:n,children:o}=e;t.push(n),o&&(t=[].concat((0,i.Z)(t),(0,i.Z)(ee(o))))})),t}function te(e,t){return("string"==typeof t||"number"==typeof t)&&(null==t?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()))}function ne(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:l,filterSearch:a}=e;return t.map(((e,t)=>{const c=String(e.value);if(e.children)return{key:c||t,label:e.text,popupClassName:`${n}-dropdown-submenu`,children:ne({filters:e.children,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:l,filterSearch:a})};const s=i?m.Z:h.ZP,d={key:void 0!==e.value?c:t,label:o.createElement(o.Fragment,null,o.createElement(s,{checked:r.includes(c)}),o.createElement("span",null,e.text))};return l.trim()?"function"==typeof a?a(l,e)?d:null:te(l,e.text)?d:null:d}))}function oe(e){return e||[]}var re=function(e){var t,n;const{tablePrefixCls:r,prefixCls:i,column:l,dropdownPrefixCls:a,columnKey:s,filterMultiple:d,filterMode:u="menu",filterSearch:p=!1,filterState:g,triggerFilter:f,locale:h,children:$,getPopupContainer:v,rootClassName:y}=e,{filterDropdownOpen:S,onFilterDropdownOpenChange:x,filterResetToDefaultFilteredValue:w,defaultFilteredValue:C,filterDropdownVisible:k,onFilterDropdownVisibleChange:O}=l,[E,j]=o.useState(!1),P=!(!g||!(null===(t=g.filteredKeys)||void 0===t?void 0:t.length)&&!g.forceFiltered),z=e=>{j(e),null==x||x(e),null==O||O(e)},T=null!==(n=null!=S?S:k)&&void 0!==n?n:E,B=null==g?void 0:g.filteredKeys,[M,N]=(0,A.Z)(oe(B)),H=e=>{let{selectedKeys:t}=e;N(t)},R=(e,t)=>{let{node:n,checked:o}=t;H(d?{selectedKeys:e}:{selectedKeys:o&&n.key?[n.key]:[]})};o.useEffect((()=>{E&&H({selectedKeys:oe(B)})}),[B]);const[D,Z]=o.useState([]),G=e=>{Z(e)},[V,Q]=o.useState(""),Y=e=>{const{value:t}=e.target;Q(t)};o.useEffect((()=>{E||Q("")}),[E]);const re=e=>{const t=e&&e.length?e:null;return null!==t||g&&g.filteredKeys?(0,L.Z)(t,null==g?void 0:g.filteredKeys,!0)?null:void f({column:l,key:s,filteredKeys:t}):null},ie=()=>{z(!1),re(M())},le=function(){let{confirm:e,closeDropdown:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{confirm:!1,closeDropdown:!1};e&&re([]),t&&z(!1),Q(""),N(w?(C||[]).map((e=>String(e))):[])},ae=c()({[`${a}-menu-without-submenu`]:(ce=l.filters||[],!ce.some((e=>{let{children:t}=e;return t})))});var ce;const se=e=>{if(e.target.checked){const e=ee(null==l?void 0:l.filters).map((e=>String(e)));N(e)}else N([])},de=e=>{let{filters:t}=e;return(t||[]).map(((e,t)=>{const n=String(e.value),o={title:e.text,key:void 0!==e.value?n:String(t)};return e.children&&(o.children=de({filters:e.children})),o}))},ue=e=>{var t;return Object.assign(Object.assign({},e),{text:e.title,value:e.key,children:(null===(t=e.children)||void 0===t?void 0:t.map((e=>ue(e))))||[]})};let pe,ge;if("function"==typeof l.filterDropdown)pe=l.filterDropdown({prefixCls:`${a}-custom`,setSelectedKeys:e=>H({selectedKeys:e}),selectedKeys:M(),confirm:function(){let{closeDropdown:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{closeDropdown:!0};e&&z(!1),re(M())},clearFilters:le,filters:l.filters,visible:T,close:()=>{z(!1)}});else if(l.filterDropdown)pe=l.filterDropdown;else{const e=M()||[],t=()=>0===(l.filters||[]).length?o.createElement(W.Z,{image:W.Z.PRESENTED_IMAGE_SIMPLE,description:h.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):"tree"===u?o.createElement(o.Fragment,null,o.createElement(U,{filterSearch:p,value:V,onChange:Y,tablePrefixCls:r,locale:h}),o.createElement("div",{className:`${r}-filter-dropdown-tree`},d?o.createElement(m.Z,{checked:e.length===ee(l.filters).length,indeterminate:e.length>0&&e.length"function"==typeof p?p(V,ue(e)):te(V,e.title):void 0}))):o.createElement(o.Fragment,null,o.createElement(U,{filterSearch:p,value:V,onChange:Y,tablePrefixCls:r,locale:h}),o.createElement(X.Z,{selectable:!0,multiple:d,prefixCls:`${a}-menu`,className:ae,onSelect:H,onDeselect:H,selectedKeys:e,getPopupContainer:v,openKeys:D,onOpenChange:G,items:ne({filters:l.filters||[],filterSearch:p,prefixCls:i,filteredKeys:M(),filterMultiple:d,searchValue:V})})),n=()=>w?(0,L.Z)((C||[]).map((e=>String(e))),e,!0):0===e.length;pe=o.createElement(o.Fragment,null,t(),o.createElement("div",{className:`${i}-dropdown-btns`},o.createElement(F.ZP,{type:"link",size:"small",disabled:n(),onClick:()=>le()},h.filterReset),o.createElement(F.ZP,{type:"primary",size:"small",onClick:ie},h.filterConfirm)))}l.filterDropdown&&(pe=o.createElement(q.J,{selectable:void 0},pe)),ge="function"==typeof l.filterIcon?l.filterIcon(P):l.filterIcon?l.filterIcon:o.createElement(_.Z,null);const{direction:fe}=o.useContext(I.E_);return o.createElement("div",{className:`${i}-column`},o.createElement("span",{className:`${r}-column-title`},$),o.createElement(b.Z,{dropdownRender:()=>o.createElement(J,{className:`${i}-dropdown`},pe),trigger:["click"],open:T,onOpenChange:(e,t)=>{"trigger"===t.source&&(e&&void 0!==B&&N(oe(B)),z(e),e||l.filterDropdown||ie())},getPopupContainer:v,placement:"rtl"===fe?"bottomLeft":"bottomRight",rootClassName:y},o.createElement("span",{role:"button",tabIndex:-1,className:c()(`${i}-trigger`,{active:P}),onClick:e=>{e.stopPropagation()}},ge)))};function ie(e,t,n){let o=[];return(e||[]).forEach(((e,r)=>{var l;const a=D(r,n);if(e.filters||"filterDropdown"in e||"onFilter"in e)if("filteredValue"in e){let t=e.filteredValue;"filterDropdown"in e||(t=null!==(l=null==t?void 0:t.map(String))&&void 0!==l?l:t),o.push({column:e,key:R(e,a),filteredKeys:t,forceFiltered:e.filtered})}else o.push({column:e,key:R(e,a),filteredKeys:t&&e.defaultFilteredValue?e.defaultFilteredValue:void 0,forceFiltered:e.filtered});"children"in e&&(o=[].concat((0,i.Z)(o),(0,i.Z)(ie(e.children,t,a))))})),o}function le(e,t,n,r,i,l,a,c,s){return n.map(((n,d)=>{const u=D(d,c),{filterMultiple:p=!0,filterMode:g,filterSearch:f}=n;let m=n;if(m.filters||m.filterDropdown){const c=R(m,u),d=r.find((e=>{let{key:t}=e;return c===t}));m=Object.assign(Object.assign({},m),{title:r=>o.createElement(re,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:m,columnKey:c,filterState:d,filterMultiple:p,filterMode:g,filterSearch:f,triggerFilter:l,locale:i,getPopupContainer:a,rootClassName:s},Z(n.title,r))})}return"children"in m&&(m=Object.assign(Object.assign({},m),{children:le(e,t,m.children,r,i,l,a,u,s)})),m}))}function ae(e){const t={};return e.forEach((e=>{let{key:n,filteredKeys:o,column:r}=e;const i=n,{filters:l,filterDropdown:a}=r;if(a)t[i]=o||null;else if(Array.isArray(o)){const e=ee(l);t[i]=e.filter((e=>o.includes(String(e))))}else t[i]=null})),t}function ce(e,t){return t.reduce(((e,t)=>{const{column:{onFilter:n,filters:o},filteredKeys:r}=t;return n&&r&&r.length?e.filter((e=>r.some((t=>{const r=ee(o),i=r.findIndex((e=>String(e)===String(t))),l=-1!==i?r[i]:t;return n(l,e)})))):e}),e)}const se=e=>e.flatMap((e=>"children"in e?[e].concat((0,i.Z)(se(e.children||[]))):[e]));var de=function(e){let{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:i,getPopupContainer:l,locale:a,rootClassName:c}=e;(0,f.ln)("Table");const s=o.useMemo((()=>se(r||[])),[r]),[d,u]=o.useState((()=>ie(s,!0))),p=o.useMemo((()=>{const e=ie(s,!1);if(0===e.length)return e;let t=!0,n=!0;if(e.forEach((e=>{let{filteredKeys:o}=e;void 0!==o?t=!1:n=!1})),t){const e=(s||[]).map(((e,t)=>R(e,D(t))));return d.filter((t=>{let{key:n}=t;return e.includes(n)})).map((t=>{const n=s[e.findIndex((e=>e===t.key))];return Object.assign(Object.assign({},t),{column:Object.assign(Object.assign({},t.column),n),forceFiltered:n.filtered})}))}return e}),[s,d]),g=o.useMemo((()=>ae(p)),[p]),m=e=>{const t=p.filter((t=>{let{key:n}=t;return n!==e.key}));t.push(e),u(t),i(ae(t),t)};return[e=>le(t,n,e,p,a,m,l,void 0,c),p,g]},ue=n(38780);const pe=10;var ge=function(e,t,n){const r=n&&"object"==typeof n?n:{},{total:i=0}=r,l=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r({current:"defaultCurrent"in l?l.defaultCurrent:1,pageSize:"defaultPageSize"in l?l.defaultPageSize:pe}))),s=(0,ue.Z)(a,l,{total:i>0?i:e}),d=Math.ceil((i||e)/s.pageSize);s.current>d&&(s.current=d||1);const u=(e,t)=>{c({current:null!=e?e:1,pageSize:t||s.pageSize})};return!1===n?[{},()=>{}]:[Object.assign(Object.assign({},s),{onChange:(e,o)=>{var r;n&&(null===(r=n.onChange)||void 0===r||r.call(n,e,o)),u(e,o),t(e,o||(null==s?void 0:s.pageSize))}}),u]},fe=n(19675),me=n(28612),be=n(53807);const he="ascend",$e="descend";function ve(e){return"object"==typeof e.sorter&&"number"==typeof e.sorter.multiple&&e.sorter.multiple}function ye(e){return"function"==typeof e?e:!(!e||"object"!=typeof e||!e.compare)&&e.compare}function Se(e,t,n){let o=[];function r(e,t){o.push({column:e,key:R(e,t),multiplePriority:ve(e),sortOrder:e.sortOrder})}return(e||[]).forEach(((e,l)=>{const a=D(l,n);e.children?("sortOrder"in e&&r(e,a),o=[].concat((0,i.Z)(o),(0,i.Z)(Se(e.children,t,a)))):e.sorter&&("sortOrder"in e?r(e,a):t&&e.defaultSortOrder&&o.push({column:e,key:R(e,a),multiplePriority:ve(e),sortOrder:e.defaultSortOrder}))})),o}function xe(e,t,n,r,i,l,a,s){return(t||[]).map(((t,d)=>{const u=D(d,s);let p=t;if(p.sorter){const s=p.sortDirections||i,d=void 0===p.showSorterTooltip?a:p.showSorterTooltip,g=R(p,u),f=n.find((e=>{let{key:t}=e;return t===g})),m=f?f.sortOrder:null,b=function(e,t){return t?e[e.indexOf(t)+1]:e[0]}(s,m);let h;if(t.sortIcon)h=t.sortIcon({sortOrder:m});else{const t=s.includes(he)&&o.createElement(me.Z,{className:c()(`${e}-column-sorter-up`,{active:m===he})}),n=s.includes($e)&&o.createElement(fe.Z,{className:c()(`${e}-column-sorter-down`,{active:m===$e})});h=o.createElement("span",{className:c()(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!(!t||!n)})},o.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},t,n))}const{cancelSort:$,triggerAsc:v,triggerDesc:y}=l||{};let S=$;b===$e?S=y:b===he&&(S=v);const x="object"==typeof d?Object.assign({title:S},d):{title:S};p=Object.assign(Object.assign({},p),{className:c()(p.className,{[`${e}-column-sort`]:m}),title:n=>{const r=o.createElement("div",{className:`${e}-column-sorters`},o.createElement("span",{className:`${e}-column-title`},Z(t.title,n)),h);return d?o.createElement(be.Z,Object.assign({},x),r):r},onHeaderCell:n=>{const o=t.onHeaderCell&&t.onHeaderCell(n)||{},i=o.onClick,l=o.onKeyDown;o.onClick=e=>{r({column:t,key:g,sortOrder:b,multiplePriority:ve(t)}),null==i||i(e)},o.onKeyDown=e=>{e.keyCode===Q.Z.ENTER&&(r({column:t,key:g,sortOrder:b,multiplePriority:ve(t)}),null==l||l(e))};const a=function(e,t){const n=Z(e,{});return"[object Object]"===Object.prototype.toString.call(n)?"":n}(t.title),s=null==a?void 0:a.toString();return m?o["aria-sort"]="ascend"===m?"ascending":"descending":o["aria-label"]=s||"",o.className=c()(o.className,`${e}-column-has-sorters`),o.tabIndex=0,t.ellipsis&&(o.title=(null!=a?a:"").toString()),o}})}return"children"in p&&(p=Object.assign(Object.assign({},p),{children:xe(e,p.children,n,r,i,l,a,u)})),p}))}function we(e){const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}}function Ce(e){const t=e.filter((e=>{let{sortOrder:t}=e;return t})).map(we);return 0===t.length&&e.length?Object.assign(Object.assign({},we(e[e.length-1])),{column:void 0}):t.length<=1?t[0]||{}:t}function ke(e,t,n){const o=t.slice().sort(((e,t)=>t.multiplePriority-e.multiplePriority)),r=e.slice(),i=o.filter((e=>{let{column:{sorter:t},sortOrder:n}=e;return ye(t)&&n}));return i.length?r.sort(((e,t)=>{for(let n=0;n{const o=e[n];return o?Object.assign(Object.assign({},e),{[n]:ke(o,t,n)}):e})):r}function Oe(e,t){return e.map((e=>{const n=Object.assign({},e);return n.title=Z(e.title,t),"children"in n&&(n.children=Oe(n.children,t)),n}))}function Ee(e){return[o.useCallback((t=>Oe(t,e)),[e])]}var Ie=(0,r.Q$)(((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:o}=t;return n!==o})),je=(0,r.TN)(((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:o}=t;return n!==o})),Pe=n(1803),ze=n(10274),Te=n(14747),Be=n(11939),Me=n(45503),Ne=e=>{const{componentCls:t,lineWidth:n,lineType:o,tableBorderColor:r,tableHeaderBg:i,tablePaddingVertical:l,tablePaddingHorizontal:a,calc:c}=e,s=`${(0,Pe.bf)(n)} ${o} ${r}`,d=(e,o,r)=>({[`&${t}-${e}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,Pe.bf)(c(o).mul(-1).equal())}\n ${(0,Pe.bf)(c(c(r).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:s,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:s,borderTop:s,[`\n > ${t}-content,\n > ${t}-header,\n > ${t}-body,\n > ${t}-summary\n `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:s},"> thead":{"> tr:not(:last-child) > th":{borderBottom:s},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:s}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${(0,Pe.bf)(c(l).mul(-1).equal())} ${(0,Pe.bf)(c(c(a).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:s,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[`\n > tr${t}-expanded-row,\n > tr${t}-placeholder\n `]:{"> th, > td":{borderInlineEnd:0}}}}}},d("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),d("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:s,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${(0,Pe.bf)(n)} 0 ${(0,Pe.bf)(n)} ${i}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:s}}}},He=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},Te.vS),{wordBreak:"keep-all",[`\n &${t}-cell-fix-left-last,\n &${t}-cell-fix-right-first\n `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Re=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:e.colorBgContainer}}}}},De=n(49867),Ze=e=>{const{componentCls:t,antCls:n,motionDurationSlow:o,lineWidth:r,paddingXS:i,lineType:l,tableBorderColor:a,tableExpandIconBg:c,tableExpandColumnWidth:s,borderRadius:d,tablePaddingVertical:u,tablePaddingHorizontal:p,tableExpandedRowBg:g,paddingXXS:f,expandIconMarginTop:m,expandIconSize:b,expandIconHalfInner:h,expandIconScale:$,calc:v}=e,y=`${(0,Pe.bf)(r)} ${l} ${a}`,S=v(f).sub(r).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:s},[`${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,De.N)(e)),{position:"relative",float:"left",boxSizing:"border-box",width:b,height:b,padding:0,color:"inherit",lineHeight:(0,Pe.bf)(b),background:c,border:y,borderRadius:d,transform:`scale(${$})`,transition:`all ${o}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${o} ease-out`,content:'""'},"&::before":{top:h,insetInlineEnd:S,insetInlineStart:S,height:r},"&::after":{top:S,bottom:S,insetInlineStart:h,width:r,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:m,marginInlineEnd:i},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:g}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${(0,Pe.bf)(v(u).mul(-1).equal())} ${(0,Pe.bf)(v(p).mul(-1).equal())}`,padding:`${(0,Pe.bf)(u)} ${(0,Pe.bf)(p)}`}}}},_e=e=>{const{componentCls:t,antCls:n,iconCls:o,tableFilterDropdownWidth:r,tableFilterDropdownSearchWidth:i,paddingXXS:l,paddingXS:a,colorText:c,lineWidth:s,lineType:d,tableBorderColor:u,headerIconColor:p,fontSizeSM:g,tablePaddingHorizontal:f,borderRadius:m,motionDurationSlow:b,colorTextDescription:h,colorPrimary:$,tableHeaderFilterActiveBg:v,colorTextDisabled:y,tableFilterDropdownBg:S,tableFilterDropdownHeight:x,controlItemBgHover:w,controlItemBgActive:C,boxShadowSecondary:k,filterDropdownMenuBg:O,calc:E}=e,I=`${n}-dropdown`,j=`${t}-filter-dropdown`,P=`${n}-tree`,z=`${(0,Pe.bf)(s)} ${d} ${u}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:E(l).mul(-1).equal(),marginInline:`${(0,Pe.bf)(l)} ${(0,Pe.bf)(E(f).div(2).mul(-1).equal())}`,padding:`0 ${(0,Pe.bf)(l)}`,color:p,fontSize:g,borderRadius:m,cursor:"pointer",transition:`all ${b}`,"&:hover":{color:h,background:v},"&.active":{color:$}}}},{[`${n}-dropdown`]:{[j]:Object.assign(Object.assign({},(0,Te.Wf)(e)),{minWidth:r,backgroundColor:S,borderRadius:m,boxShadow:k,overflow:"hidden",[`${I}-menu`]:{maxHeight:x,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:O,"&:empty::after":{display:"block",padding:`${(0,Pe.bf)(a)} 0`,color:y,fontSize:g,textAlign:"center",content:'"Not Found"'}},[`${j}-tree`]:{paddingBlock:`${(0,Pe.bf)(a)} 0`,paddingInline:a,[P]:{padding:0},[`${P}-treenode ${P}-node-content-wrapper:hover`]:{backgroundColor:w},[`${P}-treenode-checkbox-checked ${P}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:C}}},[`${j}-search`]:{padding:a,borderBottom:z,"&-input":{input:{minWidth:i},[o]:{color:y}}},[`${j}-checkall`]:{width:"100%",marginBottom:l,marginInlineStart:l},[`${j}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${(0,Pe.bf)(E(a).sub(s).equal())} ${(0,Pe.bf)(a)}`,overflow:"hidden",borderTop:z}})}},{[`${n}-dropdown ${j}, ${j}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:a,color:c},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Le=e=>{const{componentCls:t,lineWidth:n,colorSplit:o,motionDurationSlow:r,zIndexTableFixed:i,tableBg:l,zIndexTableSticky:a,calc:c}=e,s=o;return{[`${t}-wrapper`]:{[`\n ${t}-cell-fix-left,\n ${t}-cell-fix-right\n `]:{position:"sticky !important",zIndex:i,background:l},[`\n ${t}-cell-fix-left-first::after,\n ${t}-cell-fix-left-last::after\n `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:c(n).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${r}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[`\n ${t}-cell-fix-right-first::after,\n ${t}-cell-fix-right-last::after\n `]:{position:"absolute",top:0,bottom:c(n).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${r}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:c(a).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${r}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${s}`}},[`\n ${t}-cell-fix-left-first::after,\n ${t}-cell-fix-left-last::after\n `]:{boxShadow:`inset 10px 0 8px -8px ${s}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${s}`}},[`\n ${t}-cell-fix-right-first::after,\n ${t}-cell-fix-right-last::after\n `]:{boxShadow:`inset -10px 0 8px -8px ${s}`}}}}},Ae=e=>{const{componentCls:t,antCls:n,margin:o}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${(0,Pe.bf)(o)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Fe=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${(0,Pe.bf)(n)} ${(0,Pe.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,Pe.bf)(n)} ${(0,Pe.bf)(n)}`}}}}},We=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"}}}}},Xe=e=>{const{componentCls:t,antCls:n,iconCls:o,fontSizeIcon:r,padding:i,paddingXS:l,headerIconColor:a,headerIconHoverColor:c,tableSelectionColumnWidth:s,tableSelectedRowBg:d,tableSelectedRowHoverBg:u,tableRowHoverBg:p,tablePaddingHorizontal:g,calc:f}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:s,[`&${t}-selection-col-with-dropdown`]:{width:f(s).add(r).add(f(i).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:f(s).add(f(l).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:f(s).add(r).add(f(i).div(4)).add(f(l).mul(2)).equal()}},[`\n table tr th${t}-selection-column,\n table tr td${t}-selection-column,\n ${t}-selection-column\n `]:{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,Pe.bf)(f(g).div(4).equal()),[o]:{color:a,fontSize:r,verticalAlign:"baseline","&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:d,"&-row-hover":{background:u}}},[`> ${t}-cell-row-hover`]:{background:p}}}}}},qe=e=>{const{componentCls:t,tableExpandColumnWidth:n,calc:o}=e,r=(e,r,i,l)=>({[`${t}${t}-${e}`]:{fontSize:l,[`\n ${t}-title,\n ${t}-footer,\n ${t}-cell,\n ${t}-thead > tr > th,\n ${t}-tbody > tr > th,\n ${t}-tbody > tr > td,\n tfoot > tr > th,\n tfoot > tr > td\n `]:{padding:`${(0,Pe.bf)(r)} ${(0,Pe.bf)(i)}`},[`${t}-filter-trigger`]:{marginInlineEnd:(0,Pe.bf)(o(i).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${(0,Pe.bf)(o(r).mul(-1).equal())} ${(0,Pe.bf)(o(i).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:(0,Pe.bf)(o(r).mul(-1).equal()),marginInline:`${(0,Pe.bf)(o(n).sub(i).equal())} ${(0,Pe.bf)(o(i).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:(0,Pe.bf)(o(i).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},r("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),r("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},Ke=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:o,headerIconColor:r,headerIconHoverColor:i}=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},[`\n &${t}-cell-fix-left:hover,\n &${t}-cell-fix-right:hover\n `]:{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-sorter`]:{marginInlineStart:n,color:r,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:o,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:i}}}},Ge=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:o,tableScrollThumbBgHover:r,tableScrollThumbSize:i,tableScrollBg:l,zIndexTableSticky:a,stickyScrollBarBorderRadius:c,lineWidth:s,lineType:d,tableBorderColor:u}=e,p=`${(0,Pe.bf)(s)} ${d} ${u}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:a,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${(0,Pe.bf)(i)} !important`,zIndex:a,display:"flex",alignItems:"center",background:l,borderTop:p,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:i,backgroundColor:o,borderRadius:c,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:r}}}}}}},Ve=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:o,calc:r}=e,i=`${(0,Pe.bf)(n)} ${e.lineType} ${o}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:i}}},[`div${t}-summary`]:{boxShadow:`0 ${(0,Pe.bf)(r(n).mul(-1).equal())} 0 ${o}`}}}},Ue=e=>{const{componentCls:t,motionDurationMid:n,lineWidth:o,lineType:r,tableBorderColor:i,calc:l}=e,a=`${(0,Pe.bf)(o)} ${r} ${i}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${t}-cell`]:{borderBottom:a,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${(0,Pe.bf)(o)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:a,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:a,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:l(o).mul(-1).equal(),borderInlineStart:a}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:a,borderBottom:a}}}}}};const Qe=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:o,tablePaddingHorizontal:r,tableExpandColumnWidth:i,lineWidth:l,lineType:a,tableBorderColor:c,tableFontSize:s,tableBg:d,tableRadius:u,tableHeaderTextColor:p,motionDurationMid:g,tableHeaderBg:f,tableHeaderCellSplitColor:m,tableFooterTextColor:b,tableFooterBg:h,calc:$}=e,v=`${(0,Pe.bf)(l)} ${a} ${c}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Te.dF)()),{[t]:Object.assign(Object.assign({},(0,Te.Wf)(e)),{fontSize:s,background:d,borderRadius:`${(0,Pe.bf)(u)} ${(0,Pe.bf)(u)} 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${(0,Pe.bf)(u)} ${(0,Pe.bf)(u)} 0 0`,borderCollapse:"separate",borderSpacing:0},[`\n ${t}-cell,\n ${t}-thead > tr > th,\n ${t}-tbody > tr > th,\n ${t}-tbody > tr > td,\n tfoot > tr > th,\n tfoot > tr > td\n `]:{position:"relative",padding:`${(0,Pe.bf)(o)} ${(0,Pe.bf)(r)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${(0,Pe.bf)(o)} ${(0,Pe.bf)(r)}`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:p,fontWeight:n,textAlign:"start",background:f,borderBottom:v,transition:`background ${g} 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:m,transform:"translateY(-50%)",transition:`background-color ${g}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${g}, border-color ${g}`,borderBottom:v,[`\n > ${t}-wrapper:only-child,\n > ${t}-expanded-row-fixed > ${t}-wrapper:only-child\n `]:{[t]:{marginBlock:(0,Pe.bf)($(o).mul(-1).equal()),marginInline:`${(0,Pe.bf)($(i).sub(r).equal())}\n ${(0,Pe.bf)($(r).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:p,fontWeight:n,textAlign:"start",background:f,borderBottom:v,transition:`background ${g} ease`}}},[`${t}-footer`]:{padding:`${(0,Pe.bf)(o)} ${(0,Pe.bf)(r)}`,color:b,background:h}})}};var Ye=(0,Be.I$)("Table",(e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:o,controlInteractiveSize:r,headerBg:i,headerColor:l,headerSortActiveBg:a,headerSortHoverBg:c,bodySortBg:s,rowHoverBg:d,rowSelectedBg:u,rowSelectedHoverBg:p,rowExpandedBg:g,cellPaddingBlock:f,cellPaddingInline:m,cellPaddingBlockMD:b,cellPaddingInlineMD:h,cellPaddingBlockSM:$,cellPaddingInlineSM:v,borderColor:y,footerBg:S,footerColor:x,headerBorderRadius:w,cellFontSize:C,cellFontSizeMD:k,cellFontSizeSM:O,headerSplitColor:E,fixedHeaderSortActiveBg:I,headerFilterHoverBg:j,filterDropdownBg:P,expandIconBg:z,selectionColumnWidth:T,stickyScrollBarBg:B,calc:M}=e,N=(0,Me.TS)(e,{tableFontSize:C,tableBg:o,tableRadius:w,tablePaddingVertical:f,tablePaddingHorizontal:m,tablePaddingVerticalMiddle:b,tablePaddingHorizontalMiddle:h,tablePaddingVerticalSmall:$,tablePaddingHorizontalSmall:v,tableBorderColor:y,tableHeaderTextColor:l,tableHeaderBg:i,tableFooterTextColor:x,tableFooterBg:S,tableHeaderCellSplitColor:E,tableHeaderSortBg:a,tableHeaderSortHoverBg:c,tableBodySortBg:s,tableFixedHeaderSortActiveBg:I,tableHeaderFilterActiveBg:j,tableFilterDropdownBg:P,tableRowHoverBg:d,tableSelectedRowBg:u,tableSelectedRowHoverBg:p,zIndexTableFixed:2,zIndexTableSticky:3,tableFontSizeMiddle:k,tableFontSizeSmall:O,tableSelectionColumnWidth:T,tableExpandIconBg:z,tableExpandColumnWidth:M(r).add(M(e.padding).mul(2)).equal(),tableExpandedRowBg:g,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:B,tableScrollThumbBgHover:t,tableScrollBg:n});return[Qe(N),Ae(N),Ve(N),Ke(N),_e(N),Ne(N),Fe(N),Ze(N),Ve(N),Re(N),Xe(N),Le(N),Ge(N),He(N),qe(N),We(N),Ue(N)]}),(e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:o,colorFillSecondary:r,colorFillContent:i,controlItemBgActive:l,controlItemBgActiveHover:a,padding:c,paddingSM:s,paddingXS:d,colorBorderSecondary:u,borderRadiusLG:p,controlHeight:g,colorTextPlaceholder:f,fontSize:m,fontSizeSM:b,lineHeight:h,lineWidth:$,colorIcon:v,colorIconHover:y,opacityLoading:S,controlInteractiveSize:x}=e,w=new ze.C(r).onBackground(n).toHexShortString(),C=new ze.C(i).onBackground(n).toHexShortString(),k=new ze.C(t).onBackground(n).toHexShortString(),O=new ze.C(v),E=new ze.C(y),I=x/2-$,j=2*I+3*$;return{headerBg:k,headerColor:o,headerSortActiveBg:w,headerSortHoverBg:C,bodySortBg:k,rowHoverBg:k,rowSelectedBg:l,rowSelectedHoverBg:a,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:s,cellPaddingInlineMD:d,cellPaddingBlockSM:d,cellPaddingInlineSM:d,borderColor:u,headerBorderRadius:p,footerBg:k,footerColor:o,cellFontSize:m,cellFontSizeMD:m,cellFontSizeSM:m,headerSplitColor:u,fixedHeaderSortActiveBg:w,headerFilterHoverBg:i,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:g,stickyScrollBarBg:f,stickyScrollBarBorderRadius:100,expandIconMarginTop:(m*h-3*$)/2-Math.ceil((1.4*b-3*$)/2),headerIconColor:O.clone().setAlpha(O.getAlpha()*S).toRgbString(),headerIconHoverColor:E.clone().setAlpha(E.getAlpha()*S).toRgbString(),expandIconHalfInner:I,expandIconSize:j,expandIconScale:x/j}}),{unitless:{expandIconScale:!0}});const Je=[],et=(e,t)=>{const{prefixCls:n,className:a,rootClassName:R,style:D,size:Z,bordered:_,dropdownPrefixCls:L,dataSource:A,pagination:F,rowSelection:W,rowKey:X="key",rowClassName:q,columns:K,children:G,childrenColumnName:V,onChange:U,getPopupContainer:Q,loading:Y,expandIcon:J,expandable:ee,expandedRowRender:te,expandIconColumnIndex:ne,indentSize:oe,scroll:re,sortDirections:ie,locale:le,showSorterTooltip:ae=!0,virtual:se}=e;(0,f.ln)("Table");const ue=o.useMemo((()=>K||(0,C.L)(G)),[K,G]),fe=o.useMemo((()=>ue.some((e=>e.responsive))),[ue]),me=(0,T.Z)(fe),be=o.useMemo((()=>{const e=new Set(Object.keys(me).filter((e=>me[e])));return ue.filter((t=>!t.responsive||t.responsive.some((t=>e.has(t)))))}),[ue,me]),he=(0,k.Z)(e,["className","style","columns"]),{locale:$e=B.Z,direction:ve,table:ye,renderEmpty:we,getPrefixCls:Oe,getPopupContainer:Pe}=o.useContext(I.E_),ze=(0,z.Z)(Z),Te=Object.assign(Object.assign({},$e.Table),le),Be=A||Je,Me=Oe("table",n),Ne=Oe("dropdown",L),[,He]=(0,H.ZP)(),Re=(0,P.Z)(Me),[De,Ze]=Ye(Me,Re),_e=Object.assign({childrenColumnName:V,expandIconColumnIndex:ne},ee),{childrenColumnName:Le="children"}=_e,Ae=o.useMemo((()=>Be.some((e=>null==e?void 0:e[Le]))?"nest":te||ee&&ee.expandedRowRender?"row":null),[Be]),Fe={body:o.useRef()},We=function(e){return(t,n)=>{const o=t.querySelector(`.${e}-container`);let r=n;if(o){const e=getComputedStyle(o);r=n-parseInt(e.borderLeftWidth,10)-parseInt(e.borderRightWidth,10)}return r}}(Me),Xe=o.useRef(null),qe=o.useRef(null);(0,O.Z)(t,(()=>Object.assign(Object.assign({},qe.current),{nativeElement:Xe.current})));const Ke=o.useMemo((()=>"function"==typeof X?X:e=>null==e?void 0:e[X]),[X]),[Ge]=function(e,t,n){const r=o.useRef({});return[function(o){if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){const i=new Map;function l(e){e.forEach(((e,o)=>{const r=n(e,o);i.set(r,e),e&&"object"==typeof e&&t in e&&l(e[t]||[])}))}l(e),r.current={data:e,childrenColumnName:t,kvMap:i,getRowKey:n}}return r.current.kvMap.get(o)}]}(Be,Le,Ke),Ve={},Ue=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];var o,r,i;const l=Object.assign(Object.assign({},Ve),e);n&&(null===(o=Ve.resetPagination)||void 0===o||o.call(Ve),(null===(r=l.pagination)||void 0===r?void 0:r.current)&&(l.pagination.current=1),F&&F.onChange&&F.onChange(1,null===(i=l.pagination)||void 0===i?void 0:i.pageSize)),re&&!1!==re.scrollToFirstRowOnChange&&Fe.body.current&&(0,E.Z)(0,{getContainer:()=>Fe.body.current}),null==U||U(l.pagination,l.filters,l.sorter,{currentDataSource:ce(ke(Be,l.sorterStates,Le),l.filterStates),action:t})},[Qe,et,tt,nt]=function(e){let{prefixCls:t,mergedColumns:n,onSorterChange:r,sortDirections:l,tableLocale:a,showSorterTooltip:c}=e;const[s,d]=o.useState(Se(n,!0)),u=o.useMemo((()=>{let e=!0;const t=Se(n,!1);if(!t.length)return s;const o=[];function r(t){e?o.push(t):o.push(Object.assign(Object.assign({},t),{sortOrder:null}))}let i=null;return t.forEach((t=>{null===i?(r(t),t.sortOrder&&(!1===t.multiplePriority?e=!1:i=!0)):(i&&!1!==t.multiplePriority||(e=!1),r(t))})),o}),[n,s]),p=o.useMemo((()=>{const e=u.map((e=>{let{column:t,sortOrder:n}=e;return{column:t,order:n}}));return{sortColumns:e,sortColumn:e[0]&&e[0].column,sortOrder:e[0]&&e[0].order}}),[u]);function g(e){let t;t=!1!==e.multiplePriority&&u.length&&!1!==u[0].multiplePriority?[].concat((0,i.Z)(u.filter((t=>{let{key:n}=t;return n!==e.key}))),[e]):[e],d(t),r(Ce(t),t)}return[e=>xe(t,e,u,g,l,a,c),u,p,()=>Ce(u)]}({prefixCls:Me,mergedColumns:be,onSorterChange:(e,t)=>{Ue({sorter:e,sorterStates:t},"sort",!1)},sortDirections:ie||["ascend","descend"],tableLocale:Te,showSorterTooltip:ae}),ot=o.useMemo((()=>ke(Be,et,Le)),[Be,et]);Ve.sorter=nt(),Ve.sorterStates=et;const[rt,it,lt]=de({prefixCls:Me,locale:Te,dropdownPrefixCls:Ne,mergedColumns:be,onFilterChange:(e,t)=>{Ue({filters:e,filterStates:t},"filter",!0)},getPopupContainer:Q||Pe,rootClassName:c()(R,Re)}),at=ce(ot,it);Ve.filters=lt,Ve.filterStates=it;const ct=o.useMemo((()=>{const e={};return Object.keys(lt).forEach((t=>{null!==lt[t]&&(e[t]=lt[t])})),Object.assign(Object.assign({},tt),{filters:e})}),[tt,lt]),[st]=Ee(ct),[dt,ut]=ge(at.length,((e,t)=>{Ue({pagination:Object.assign(Object.assign({},Ve.pagination),{current:e,pageSize:t})},"paginate")}),F);Ve.pagination=!1===F?{}:function(e,t){const n={current:e.current,pageSize:e.pageSize},o=t&&"object"==typeof t?t:{};return Object.keys(o).forEach((t=>{const o=e[t];"function"!=typeof o&&(n[t]=o)})),n}(dt,F),Ve.resetPagination=ut;const pt=o.useMemo((()=>{if(!1===F||!dt.pageSize)return at;const{current:e=1,total:t,pageSize:n=pe}=dt;return at.lengthn?at.slice((e-1)*n,e*n):at:at.slice((e-1)*n,e*n)}),[!!F,at,dt&&dt.current,dt&&dt.pageSize,dt&&dt.total]),[gt,ft]=((e,t)=>{const{preserveSelectedRowKeys:n,selectedRowKeys:a,defaultSelectedRowKeys:C,getCheckboxProps:k,onChange:O,onSelect:E,onSelectAll:I,onSelectInvert:j,onSelectNone:P,onSelectMultiple:z,columnWidth:T,type:B,selections:M,fixed:N,renderCell:H,hideSelectAll:R,checkStrictly:D=!0}=t||{},{prefixCls:Z,data:_,pageData:L,getRecordByKey:A,getRowKey:F,expandType:W,childrenColumnName:X,locale:q,getPopupContainer:K}=e,G=(0,f.ln)("Table"),[V,U]=(0,g.Z)((e=>e)),[Q,Y]=(0,p.Z)(a||C||x,{value:a}),J=o.useRef(new Map),ee=(0,o.useCallback)((e=>{if(n){const t=new Map;e.forEach((e=>{let n=A(e);!n&&J.current.has(e)&&(n=J.current.get(e)),t.set(e,n)})),J.current=t}}),[A,n]);o.useEffect((()=>{ee(Q)}),[Q]);const{keyEntities:te}=(0,o.useMemo)((()=>{if(D)return{keyEntities:null};let e=_;if(n){const t=new Set(_.map(((e,t)=>F(e,t)))),n=Array.from(J.current).reduce(((e,n)=>{let[o,r]=n;return t.has(o)?e:e.concat(r)}),[]);e=[].concat((0,i.Z)(e),(0,i.Z)(n))}return(0,u.I8)(e,{externalGetKey:F,childrenPropName:X})}),[_,F,D,X,n]),ne=(0,o.useMemo)((()=>w(X,L)),[X,L]),oe=(0,o.useMemo)((()=>{const e=new Map;return ne.forEach(((t,n)=>{const o=F(t,n),r=(k?k(t):null)||{};e.set(o,r)})),e}),[ne,F,k]),re=(0,o.useCallback)((e=>{var t;return!!(null===(t=oe.get(F(e)))||void 0===t?void 0:t.disabled)}),[oe,F]),[ie,le]=(0,o.useMemo)((()=>{if(D)return[Q||[],[]];const{checkedKeys:e,halfCheckedKeys:t}=(0,d.S)(Q,!0,te,re);return[e||[],t]}),[Q,D,te,re]),ae=(0,o.useMemo)((()=>{const e="radio"===B?ie.slice(0,1):ie;return new Set(e)}),[ie,B]),ce=(0,o.useMemo)((()=>"radio"===B?new Set:new Set(le)),[le,B]);o.useEffect((()=>{t||Y(x)}),[!!t]);const se=(0,o.useCallback)(((e,t)=>{let o,r;ee(e),n?(o=e,r=e.map((e=>J.current.get(e)))):(o=[],r=[],e.forEach((e=>{const t=A(e);void 0!==t&&(o.push(e),r.push(t))}))),Y(o),null==O||O(o,r,{type:t})}),[Y,A,O,n]),de=(0,o.useCallback)(((e,t,n,o)=>{if(E){const r=n.map((e=>A(e)));E(A(e),t,r,o)}se(n,"single")}),[E,A,se]),ue=(0,o.useMemo)((()=>!M||R?null:(!0===M?[v,y,S]:M).map((e=>e===v?{key:"all",text:q.selectionAll,onSelect(){se(_.map(((e,t)=>F(e,t))).filter((e=>{const t=oe.get(e);return!(null==t?void 0:t.disabled)||ae.has(e)})),"all")}}:e===y?{key:"invert",text:q.selectInvert,onSelect(){const e=new Set(ae);L.forEach(((t,n)=>{const o=F(t,n),r=oe.get(o);(null==r?void 0:r.disabled)||(e.has(o)?e.delete(o):e.add(o))}));const t=Array.from(e);j&&(G.deprecated(!1,"onSelectInvert","onChange"),j(t)),se(t,"invert")}}:e===S?{key:"none",text:q.selectNone,onSelect(){null==P||P(),se(Array.from(ae).filter((e=>{const t=oe.get(e);return null==t?void 0:t.disabled})),"none")}}:e)).map((e=>Object.assign(Object.assign({},e),{onSelect:function(){for(var t,n,o=arguments.length,r=new Array(o),i=0;i{var n;if(!t)return e.filter((e=>e!==$));let a=(0,i.Z)(e);const u=new Set(ae),p=ne.map(F).filter((e=>!oe.get(e).disabled)),g=p.every((e=>u.has(e))),f=p.some((e=>u.has(e))),v=()=>{const e=[];g?p.forEach((t=>{u.delete(t),e.push(t)})):p.forEach((t=>{u.has(t)||(u.add(t),e.push(t))}));const t=Array.from(u);null==I||I(!g,t.map((e=>A(e))),e.map((e=>A(e)))),se(t,"all"),U(null)};let y,S,x;if("radio"!==B){let e;if(ue){const t={getPopupContainer:K,items:ue.map(((e,t)=>{const{key:n,text:o,onSelect:r}=e;return{key:null!=n?n:t,onClick:()=>{null==r||r(p)},label:o}}))};e=o.createElement("div",{className:`${Z}-selection-extra`},o.createElement(b.Z,{menu:t,getPopupContainer:K},o.createElement("span",null,o.createElement(l.Z,null))))}const t=ne.map(((e,t)=>{const n=F(e,t),o=oe.get(n)||{};return Object.assign({checked:u.has(n)},o)})).filter((e=>{let{disabled:t}=e;return t})),n=!!t.length&&t.length===ne.length,r=n&&t.every((e=>{let{checked:t}=e;return t})),i=n&&t.some((e=>{let{checked:t}=e;return t}));S=o.createElement(m.Z,{checked:n?r:!!ne.length&&g,indeterminate:n?!r&&i:!g&&f,onChange:v,disabled:0===ne.length||n,"aria-label":e?"Custom selection":"Select all",skipGroup:!0}),y=!R&&o.createElement("div",{className:`${Z}-selection`},S,e)}if(x="radio"===B?(e,t,n)=>{const r=F(t,n),i=u.has(r);return{node:o.createElement(h.ZP,Object.assign({},oe.get(r),{checked:i,onClick:e=>e.stopPropagation(),onChange:e=>{u.has(r)||de(r,!0,[r],e.nativeEvent)}})),checked:i}}:(e,t,n)=>{var r;const l=F(t,n),a=u.has(l),c=ce.has(l),g=oe.get(l);let f;return f="nest"===W?c:null!==(r=null==g?void 0:g.indeterminate)&&void 0!==r?r:c,{node:o.createElement(m.Z,Object.assign({},g,{indeterminate:f,checked:a,skipGroup:!0,onClick:e=>e.stopPropagation(),onChange:e=>{let{nativeEvent:t}=e;const{shiftKey:n}=t,o=p.findIndex((e=>e===l)),r=ie.some((e=>p.includes(e)));if(n&&D&&r){const e=V(o,p,u),t=Array.from(u);null==z||z(!a,t.map((e=>A(e))),e.map((e=>A(e)))),se(t,"multiple")}else{const e=ie;if(D){const n=a?(0,s._5)(e,l):(0,s.L0)(e,l);de(l,!a,n,t)}else{const n=(0,d.S)([].concat((0,i.Z)(e),[l]),!0,te,re),{checkedKeys:o,halfCheckedKeys:r}=n;let c=o;if(a){const e=new Set(o);e.delete(l),c=(0,d.S)(Array.from(e),{checked:!1,halfCheckedKeys:r},te,re).checkedKeys}de(l,!a,c,t)}}U(a?null:o)}})),checked:a}},!a.includes($))if(0===a.findIndex((e=>{var t;return"EXPAND_COLUMN"===(null===(t=e[r.vP])||void 0===t?void 0:t.columnType)}))){const[e,...t]=a;a=[e,$].concat((0,i.Z)(t))}else a=[$].concat((0,i.Z)(a));const w=a.indexOf($);a=a.filter(((e,t)=>e!==$||t===w));const C=a[w-1],k=a[w+1];let O=N;void 0===O&&(void 0!==(null==k?void 0:k.fixed)?O=k.fixed:void 0!==(null==C?void 0:C.fixed)&&(O=C.fixed)),O&&C&&"EXPAND_COLUMN"===(null===(n=C[r.vP])||void 0===n?void 0:n.columnType)&&void 0===C.fixed&&(C.fixed=O);const E=c()(`${Z}-selection-col`,{[`${Z}-selection-col-with-dropdown`]:M&&"checkbox"===B}),j={fixed:O,width:T,className:`${Z}-selection-column`,title:(null==t?void 0:t.columnTitle)?"function"==typeof t.columnTitle?t.columnTitle(S):t.columnTitle:y,render:(e,t,n)=>{const{node:o,checked:r}=x(e,t,n);return H?H(r,t,n,o):o},onCell:t.onCell,[r.vP]:{className:E}};return a.map((e=>e===$?j:e))}),[F,ne,t,ie,ae,ce,T,ue,W,oe,z,de,re]);return[pe,ae]})({prefixCls:Me,data:at,pageData:pt,getRowKey:Ke,getRecordByKey:Ge,expandType:Ae,childrenColumnName:Le,locale:Te,getPopupContainer:Q||Pe},W);_e.__PARENT_RENDER_ICON__=_e.expandIcon,_e.expandIcon=_e.expandIcon||J||function(e){return function(t){let{prefixCls:n,onExpand:r,record:i,expanded:l,expandable:a}=t;const s=`${n}-row-expand-icon`;return o.createElement("button",{type:"button",onClick:e=>{r(i,e),e.stopPropagation()},className:c()(s,{[`${s}-spaced`]:!a,[`${s}-expanded`]:a&&l,[`${s}-collapsed`]:a&&!l}),"aria-label":l?e.collapse:e.expand,"aria-expanded":l})}}(Te),"nest"===Ae&&void 0===_e.expandIconColumnIndex?_e.expandIconColumnIndex=W?1:0:_e.expandIconColumnIndex>0&&W&&(_e.expandIconColumnIndex-=1),"number"!=typeof _e.indentSize&&(_e.indentSize="number"==typeof oe?oe:15);const mt=o.useCallback((e=>st(gt(rt(Qe(e))))),[Qe,rt,gt]);let bt,ht,$t;if(!1!==F&&(null==dt?void 0:dt.total)){let e;e=dt.size?dt.size:"small"===ze||"middle"===ze?"small":void 0;const t=t=>o.createElement(M.Z,Object.assign({},dt,{className:c()(`${Me}-pagination ${Me}-pagination-${t}`,dt.className),size:e})),n="rtl"===ve?"left":"right",{position:r}=dt;if(null!==r&&Array.isArray(r)){const e=r.find((e=>e.includes("top"))),o=r.find((e=>e.includes("bottom"))),i=r.every((e=>"none"==`${e}`));e||o||i||(ht=t(n)),e&&(bt=t(e.toLowerCase().replace("top",""))),o&&(ht=t(o.toLowerCase().replace("bottom","")))}else ht=t(n)}"boolean"==typeof Y?$t={spinning:Y}:"object"==typeof Y&&($t=Object.assign({spinning:!0},Y));const vt=c()(Re,`${Me}-wrapper`,null==ye?void 0:ye.className,{[`${Me}-wrapper-rtl`]:"rtl"===ve},a,R,Ze),yt=Object.assign(Object.assign({},null==ye?void 0:ye.style),D),St=le&&le.emptyText||(null==we?void 0:we("Table"))||o.createElement(j.Z,{componentName:"Table"}),xt=se?je:Ie,wt={},Ct=o.useMemo((()=>{const{fontSize:e,lineHeight:t,padding:n,paddingXS:o,paddingSM:r}=He,i=Math.floor(e*t);switch(ze){case"large":return 2*n+i;case"small":return 2*o+i;default:return 2*r+i}}),[He,ze]);return se&&(wt.listItemHeight=Ct),De(o.createElement("div",{ref:Xe,className:vt,style:yt},o.createElement(N.Z,Object.assign({spinning:!1},$t),bt,o.createElement(xt,Object.assign({},wt,he,{ref:qe,columns:be,direction:ve,expandable:_e,prefixCls:Me,className:c()({[`${Me}-middle`]:"middle"===ze,[`${Me}-small`]:"small"===ze,[`${Me}-bordered`]:_,[`${Me}-empty`]:0===Be.length},Re,Ze),data:pt,rowKey:Ke,rowClassName:(e,t,n)=>{let o;return o="function"==typeof q?c()(q(e,t,n)):c()(q),c()({[`${Me}-row-selected`]:ft.has(Ke(e,t))},o)},emptyText:St,internalHooks:r.RQ,internalRefs:Fe,transformColumns:mt,getContainerWidth:We})),ht)))};var tt=o.forwardRef(et);const nt=(e,t)=>{const n=o.useRef(0);return n.current+=1,o.createElement(tt,Object.assign({},e,{ref:t,_renderTimes:n.current}))},ot=o.forwardRef(nt);ot.SELECTION_COLUMN=$,ot.EXPAND_COLUMN=r.w2,ot.SELECTION_ALL=v,ot.SELECTION_INVERT=y,ot.SELECTION_NONE=S,ot.Column=function(e){return null},ot.ColumnGroup=function(e){return null},ot.Summary=r.ER;var rt=ot},72326:function(e,t,n){n.d(t,{Z:function(){return z}});var o=n(67294),r=n(54549),i=n(44545),l=n(49101),a=n(94184),c=n.n(a),s=n(59381),d=n(53124),u=n(98675),p=n(33603);const g={motionAppear:!1,motionEnter:!0,motionLeave:!0};var f=n(50344),m=n(1803),b=n(14747),h=n(11939),$=n(45503),v=n(67771),y=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[(0,v.oN)(e,"slide-up"),(0,v.oN)(e,"slide-down")]]};const S=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:o,cardGutter:r,colorBorderSecondary:i,itemSelectedColor:l}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:o,border:`${(0,m.bf)(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:l,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:(0,m.bf)(r)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${(0,m.bf)(e.borderRadiusLG)} ${(0,m.bf)(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${(0,m.bf)(e.borderRadiusLG)} ${(0,m.bf)(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:(0,m.bf)(r)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,m.bf)(e.borderRadiusLG)} 0 0 ${(0,m.bf)(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,m.bf)(e.borderRadiusLG)} ${(0,m.bf)(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},x=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:o}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},(0,b.Wf)(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,m.bf)(o)} 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({},b.vS),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${(0,m.bf)(e.paddingXXS)} ${(0,m.bf)(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.colorTextDescription,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"}}})}})}},w=e=>{const{componentCls:t,margin:n,colorBorderSecondary:o,horizontalMargin:r,verticalItemPadding:i,verticalItemMargin:l,calc:a}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:r,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${(0,m.bf)(e.lineWidth)} ${e.lineType} ${o}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow},\n 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,\n > 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:a(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:i,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},"&::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,m.bf)(a(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${(0,m.bf)(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:a(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${(0,m.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},C=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:o,horizontalItemPaddingSM:r,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${(0,m.bf)(e.borderRadius)} ${(0,m.bf)(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${(0,m.bf)(e.borderRadius)} ${(0,m.bf)(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${(0,m.bf)(e.borderRadius)} ${(0,m.bf)(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${(0,m.bf)(e.borderRadius)} 0 0 ${(0,m.bf)(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o}}}}}},k=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:o,iconCls:r,tabsHorizontalItemMargin:i,horizontalItemPadding:l,itemSelectedColor:a,itemColor:c}=e,s=`${t}-tab`;return{[s]:{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:c,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},(0,b.Qy)(e)),"&-btn":{outline:"none",transition:"all 0.3s",[`${s}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:o},[`&${s}-active ${s}-btn`]:{color:a,textShadow:e.tabsActiveTextShadow},[`&${s}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${s}-disabled ${s}-btn, &${s}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${s}-remove ${r}`]:{margin:0},[`${r}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${s} + ${s}`]:{margin:{_skip_check_:!0,value:i}}}},O=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:o,cardGutter:r,calc:i}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[o]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:(0,m.bf)(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:(0,m.bf)(e.marginXS)},marginLeft:{_skip_check_:!0,value:(0,m.bf)(i(e.marginXXS).mul(-1).equal())},[o]:{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:r},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},E=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:o,cardGutter:r,itemHoverColor:i,itemActiveColor:l,colorBorderSecondary:a}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,b.Wf)(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",whiteSpace:"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:o,marginLeft:{_skip_check_:!0,value:r},padding:`0 ${(0,m.bf)(e.paddingXS)}`,background:"transparent",border:`${(0,m.bf)(e.lineWidth)} ${e.lineType} ${a}`,borderRadius:`${(0,m.bf)(e.borderRadiusLG)} ${(0,m.bf)(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:l}},(0,b.Qy)(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),k(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}};var I=(0,h.I$)("Tabs",(e=>{const t=(0,$.TS)(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${(0,m.bf)(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${(0,m.bf)(e.horizontalItemGutter)}`});return[C(t),O(t),w(t),x(t),S(t),E(t),y(t)]}),(e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${1.5*e.paddingXXS}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${1.5*e.paddingXXS}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}})),j=n(35792);const P=e=>{const{type:t,className:n,rootClassName:a,size:m,onEdit:b,hideAdd:h,centered:$,addIcon:v,popupClassName:y,children:S,items:x,animated:w,style:C,indicatorSize:k}=e,O=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{let{key:n,event:o}=t;null==b||b("add"===e?o:n,e)},removeIcon:o.createElement(r.Z,null),addIcon:v||o.createElement(l.Z,null),showAdd:!0!==h});const _=B(),L=function(e,t){return e||function(e){return e.filter((e=>e))}((0,f.Z)(t).map((e=>{if(o.isValidElement(e)){const{key:t,props:n}=e,o=n||{},{tab:r}=o,i=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r1&&void 0!==arguments[1]?arguments[1]:{inkBar:!0,tabPane:!1};return t=!1===n?{inkBar:!1,tabPane:!1}:!0===n?{inkBar:!0,tabPane:!0}:Object.assign({inkBar:!0},"object"==typeof n?n:{}),t.tabPane&&(t.tabPaneMotion=Object.assign(Object.assign({},g),{motionName:(0,p.m)(e,"switch")})),t}(N,w),F=(0,u.Z)(m),W=Object.assign(Object.assign({},null==T?void 0:T.style),C);return R(o.createElement(s.Z,Object.assign({direction:z,getPopupContainer:M,moreTransitionName:`${_}-slide-up`},O,{items:L,className:c()({[`${N}-${F}`]:F,[`${N}-card`]:["card","editable-card"].includes(t),[`${N}-editable-card`]:"editable-card"===t,[`${N}-centered`]:$},null==T?void 0:T.className,n,a,D,H),popupClassName:c()(y,D,H),style:W,editable:Z,moreIcon:P,prefixCls:N,animated:A,indicatorSize:null!=k?k:null==T?void 0:T.indicatorSize})))};P.TabPane=()=>null;var z=P},39620:function(e,t,n){n.d(t,{Z:function(){return I}});var o=n(67294),r=n(54549),i=n(94184),l=n.n(i),a=n(98787),c=n(69760),s=n(28979),d=n(53124),u=n(1803),p=n(10274),g=n(14747),f=n(45503),m=n(11939);const b=e=>{const{lineWidth:t,fontSizeIcon:n,calc:o}=e,r=e.fontSizeSM;return(0,f.TS)(e,{tagFontSize:r,tagLineHeight:(0,u.bf)(o(e.lineHeightSM).mul(r).equal()),tagIconSize:o(n).sub(o(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.colorFillTertiary})},h=e=>({defaultBg:new p.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var $=(0,m.I$)("Tag",(e=>(e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:o,componentCls:r,calc:i}=e,l=i(o).sub(n).equal(),a=i(t).sub(n).equal();return{[r]:Object.assign(Object.assign({},(0,g.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:l,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,u.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${r}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${r}-close-icon`]:{marginInlineStart:a,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${r}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${r}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:l}}),[`${r}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}})(b(e))),h);const v=o.forwardRef(((e,t)=>{const{prefixCls:n,style:r,className:i,checked:a,onChange:c,onClick:s}=e,u=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{null==c||c(!a),null==s||s(e)}})))}));var y=v,S=n(98719),x=(0,m.bk)(["Tag","preset"],(e=>(e=>(0,S.Z)(e,((t,n)=>{let{textColor:o,lightBorderColor:r,lightColor:i,darkColor:l}=n;return{[`${e.componentCls}-${t}`]:{color:o,background:i,borderColor:r,"&-inverse":{color:e.colorTextLightSolid,background:l,borderColor:l},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}})))(b(e))),h),w=n(18545);const C=(e,t,n)=>{const o=(0,w.Z)(n);return{[`${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${o}Bg`],borderColor:e[`color${o}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var k=(0,m.bk)(["Tag","status"],(e=>{const t=b(e);return[C(t,"success","Success"),C(t,"processing","Info"),C(t,"error","Error"),C(t,"warning","Warning")]}),h);const O=(e,t)=>{const{prefixCls:n,className:i,rootClassName:u,style:p,children:g,icon:f,color:m,onClose:b,closeIcon:h,closable:v,bordered:y=!0}=e,S=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{"visible"in S&&I(S.visible)}),[S.visible]);const j=(0,a.o2)(m),P=(0,a.yT)(m),z=j||P,T=Object.assign(Object.assign({backgroundColor:m&&!z?m:void 0},null==O?void 0:O.style),p),B=w("tag",n),[M,N]=$(B),H=l()(B,null==O?void 0:O.className,{[`${B}-${m}`]:z,[`${B}-has-color`]:m&&!z,[`${B}-hidden`]:!E,[`${B}-rtl`]:"rtl"===C,[`${B}-borderless`]:!y},i,u,N),R=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||I(!1)},[,D]=(0,c.Z)(v,h,(e=>null===e?o.createElement(r.Z,{className:`${B}-close-icon`,onClick:R}):o.createElement("span",{className:`${B}-close-icon`,onClick:R},e)),null,!1),Z="function"==typeof S.onClick||g&&"a"===g.type,_=f||null,L=_?o.createElement(o.Fragment,null,_,g&&o.createElement("span",null,g)):g,A=o.createElement("span",Object.assign({},S,{ref:t,className:H,style:T}),L,D,j&&o.createElement(x,{key:"preset",prefixCls:B}),P&&o.createElement(k,{key:"status",prefixCls:B}));return M(Z?o.createElement(s.Z,{component:"Tag"},A):A)},E=o.forwardRef(O);E.CheckableTag=y;var I=E},33083:function(e,t,n){n.d(t,{Mj:function(){return s},uH:function(){return a},u_:function(){return c}});var o=n(67294),r=n(1803),i=n(42842),l=n(2790);const a=(0,r.jG)(i.Z),c={token:l.Z,override:{override:l.Z},hashed:!0},s=o.createContext(c)},39372:function(e,t,n){n.d(t,{Z:function(){return $}});var o=n(1803),r=n(42842),i=n(2790),l=n(84595),a=n(87606),c=n(33083),s=n(372),d=n(6456),u=n(61242),p=n(57),g=n(10274);const f=(e,t)=>new g.C(e).setAlpha(t).toRgbString(),m=(e,t)=>new g.C(e).lighten(t).toHexString(),b=e=>{const t=(0,u.R_)(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},h=(e,t)=>{const n=e||"#000",o=t||"#fff";return{colorBgBase:n,colorTextBase:o,colorText:f(o,.85),colorTextSecondary:f(o,.65),colorTextTertiary:f(o,.45),colorTextQuaternary:f(o,.25),colorFill:f(o,.18),colorFillSecondary:f(o,.12),colorFillTertiary:f(o,.08),colorFillQuaternary:f(o,.04),colorBgElevated:m(n,12),colorBgContainer:m(n,8),colorBgLayout:m(n,0),colorBgSpotlight:m(n,26),colorBgBlur:f(o,.04),colorBorder:m(n,26),colorBorderSecondary:m(n,19)}};var $={defaultConfig:c.u_,defaultSeed:c.u_.token,useToken:function(){const[e,t,n]=(0,a.ZP)();return{theme:e,token:t,hashId:n}},defaultAlgorithm:r.Z,darkAlgorithm:(e,t)=>{const n=Object.keys(i.M).map((t=>{const n=(0,u.R_)(e[t],{theme:"dark"});return new Array(10).fill(1).reduce(((e,o,r)=>(e[`${t}-${r+1}`]=n[r],e[`${t}${r+1}`]=n[r],e)),{})})).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{}),o=null!=t?t:(0,r.Z)(e);return Object.assign(Object.assign(Object.assign({},o),n),(0,p.Z)(e,{generateColorPalettes:b,generateNeutralColorPalettes:h}))},compactAlgorithm:(e,t)=>{const n=null!=t?t:(0,r.Z)(e),o=n.fontSizeSM,i=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),function(e){const{sizeUnit:t,sizeStep:n}=e,o=n-2;return{sizeXXL:t*(o+10),sizeXL:t*(o+6),sizeLG:t*(o+2),sizeMD:t*(o+2),sizeMS:t*(o+1),size:t*o,sizeSM:t*o,sizeXS:t*(o-1),sizeXXS:t*(o-1)}}(null!=t?t:e)),(0,d.Z)(o)),{controlHeight:i}),(0,s.Z)(Object.assign(Object.assign({},n),{controlHeight:i})))},getDesignToken:e=>{const t=(null==e?void 0:e.algorithm)?(0,o.jG)(e.algorithm):(0,o.jG)(r.Z),n=Object.assign(Object.assign({},i.Z),null==e?void 0:e.token);return(0,o.t2)(n,{override:null==e?void 0:e.token},t,l.Z)}}},8796:function(e,t,n){n.d(t,{i:function(){return o}});const o=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},42842:function(e,t,n){n.d(t,{Z:function(){return f}});var o=n(61242),r=n(372),i=n(2790),l=n(57),a=e=>{let t=e,n=e,o=e,r=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?o=1:e>=6&&(o=2),e>4&&e<8?r=4:e>=8&&(r=6),{borderRadius:e,borderRadiusXS:o,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:r}},c=n(10274);const s=(e,t)=>new c.C(e).setAlpha(t).toRgbString(),d=(e,t)=>new c.C(e).darken(t).toHexString(),u=e=>{const t=(0,o.R_)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},p=(e,t)=>{const n=e||"#fff",o=t||"#000";return{colorBgBase:n,colorTextBase:o,colorText:s(o,.88),colorTextSecondary:s(o,.65),colorTextTertiary:s(o,.45),colorTextQuaternary:s(o,.25),colorFill:s(o,.15),colorFillSecondary:s(o,.06),colorFillTertiary:s(o,.04),colorFillQuaternary:s(o,.02),colorBgLayout:d(n,4),colorBgContainer:d(n,0),colorBgElevated:d(n,0),colorBgSpotlight:s(o,.85),colorBgBlur:"transparent",colorBorder:d(n,15),colorBorderSecondary:d(n,6)}};var g=n(6456);function f(e){const t=Object.keys(i.M).map((t=>{const n=(0,o.R_)(e[t]);return new Array(10).fill(1).reduce(((e,o,r)=>(e[`${t}-${r+1}`]=n[r],e[`${t}${r+1}`]=n[r],e)),{})})).reduce(((e,t)=>Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),(0,l.Z)(e,{generateColorPalettes:u,generateNeutralColorPalettes:p})),(0,g.Z)(e.fontSize)),function(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),(0,r.Z)(e)),function(e){const{motionUnit:t,motionBase:n,borderRadius:o,lineWidth:r}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:r+1},a(o))}(e))}},2790:function(e,t,n){n.d(t,{M:function(){return o}});const o={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},r=Object.assign(Object.assign({},o),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0});t.Z=r},57:function(e,t,n){n.d(t,{Z:function(){return r}});var o=n(10274);function r(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:i,colorWarning:l,colorError:a,colorInfo:c,colorPrimary:s,colorBgBase:d,colorTextBase:u}=e,p=n(s),g=n(i),f=n(l),m=n(a),b=n(c),h=r(d,u),$=n(e.colorLink||e.colorInfo);return Object.assign(Object.assign({},h),{colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:g[1],colorSuccessBgHover:g[2],colorSuccessBorder:g[3],colorSuccessBorderHover:g[4],colorSuccessHover:g[4],colorSuccess:g[6],colorSuccessActive:g[7],colorSuccessTextHover:g[8],colorSuccessText:g[9],colorSuccessTextActive:g[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:f[1],colorWarningBgHover:f[2],colorWarningBorder:f[3],colorWarningBorderHover:f[4],colorWarningHover:f[4],colorWarning:f[6],colorWarningActive:f[7],colorWarningTextHover:f[8],colorWarningText:f[9],colorWarningTextActive:f[10],colorInfoBg:b[1],colorInfoBgHover:b[2],colorInfoBorder:b[3],colorInfoBorderHover:b[4],colorInfoHover:b[4],colorInfo:b[6],colorInfoActive:b[7],colorInfoTextHover:b[8],colorInfoText:b[9],colorInfoTextActive:b[10],colorLinkHover:$[4],colorLink:$[6],colorLinkActive:$[7],colorBgMask:new o.C("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}},372:function(e,t){t.Z=e=>{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}}},6456:function(e,t,n){n.d(t,{Z:function(){return o}});var o=e=>{const t=function(e){const t=new Array(10).fill(null).map(((t,n)=>{const o=n-1,r=e*Math.pow(2.71828,o/5),i=n>1?Math.floor(r):Math.ceil(r);return 2*Math.floor(i/2)}));return t[1]=e,t.map((e=>({size:e,lineHeight:(e+8)/e})))}(e),n=t.map((e=>e.size)),o=t.map((e=>e.lineHeight)),r=n[1],i=n[0],l=n[2],a=o[1],c=o[0],s=o[2];return{fontSizeSM:i,fontSize:r,fontSizeLG:l,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:a,lineHeightLG:s,lineHeightSM:c,fontHeight:Math.round(a*r),fontHeightLG:Math.round(s*l),fontHeightSM:Math.round(c*i),lineHeightHeading1:o[6],lineHeightHeading2:o[5],lineHeightHeading3:o[4],lineHeightHeading4:o[3],lineHeightHeading5:o[2]}}},87606:function(e,t,n){n.d(t,{ZP:function(){return f},ID:function(){return u},NJ:function(){return d}});var o=n(67294),r=n(1803),i="5.12.2",l=n(33083),a=n(2790),c=n(84595),s=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{const o=n.getDerivativeToken(e),{override:r}=t,i=s(t,["override"]);let l=Object.assign(Object.assign({},o),{override:r});return l=(0,c.Z)(l),i&&Object.entries(i).forEach((e=>{let[t,n]=e;const{theme:o}=n,r=s(n,["theme"]);let i=r;o&&(i=g(Object.assign(Object.assign({},l),r),{override:r},o)),l[t]=i})),l};function f(){const{token:e,hashed:t,theme:n,override:s,cssVar:f}=o.useContext(l.Mj),m=`${i}-${t||""}`,b=n||l.uH,[h,$,v]=(0,r.fp)(b,[a.Z,e],{salt:m,override:s,getComputedToken:g,formatToken:c.Z,cssVar:f&&{prefix:f.prefix,key:f.key,unitless:d,ignore:u,preserve:p}});return[b,v,t?$:"",h,f]}},84595:function(e,t,n){n.d(t,{Z:function(){return c}});var o=n(10274),r=n(2790);function i(e){return e>=0&&e<=255}var l=function(e,t){const{r:n,g:r,b:l,a:a}=new o.C(e).toRgb();if(a<1)return e;const{r:c,g:s,b:d}=new o.C(t).toRgb();for(let e=.01;e<=1;e+=.01){const t=Math.round((n-c*(1-e))/e),a=Math.round((r-s*(1-e))/e),u=Math.round((l-d*(1-e))/e);if(i(t)&&i(a)&&i(u))return new o.C({r:t,g:a,b:u,a:Math.round(100*e)/100}).toRgbString()}return new o.C({r:n,g:r,b:l,a:1}).toRgbString()},a=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{delete i[e]}));const c=Object.assign(Object.assign({},n),i);if(!1===c.motion){const e="0s";c.motionDurationFast=e,c.motionDurationMid=e,c.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},c),{colorFillContent:c.colorFillSecondary,colorFillContentHover:c.colorFill,colorFillAlter:c.colorFillQuaternary,colorBgContainerDisabled:c.colorFillTertiary,colorBorderBg:c.colorBgContainer,colorSplit:l(c.colorBorderSecondary,c.colorBgContainer),colorTextPlaceholder:c.colorTextQuaternary,colorTextDisabled:c.colorTextQuaternary,colorTextHeading:c.colorText,colorTextLabel:c.colorTextSecondary,colorTextDescription:c.colorTextTertiary,colorTextLightSolid:c.colorWhite,colorHighlight:c.colorError,colorBgTextHover:c.colorFillSecondary,colorBgTextActive:c.colorFill,colorIcon:c.colorTextTertiary,colorIconHover:c.colorText,colorErrorOutline:l(c.colorErrorBg,c.colorBgContainer),colorWarningOutline:l(c.colorWarningBg,c.colorBgContainer),fontSizeIcon:c.fontSizeSM,lineWidthFocus:4*c.lineWidth,lineWidth:c.lineWidth,controlOutlineWidth:2*c.lineWidth,controlInteractiveSize:c.controlHeight/2,controlItemBgHover:c.colorFillTertiary,controlItemBgActive:c.colorPrimaryBg,controlItemBgActiveHover:c.colorPrimaryBgHover,controlItemBgActiveDisabled:c.colorFill,controlTmpOutline:c.colorFillQuaternary,controlOutline:l(c.colorPrimaryBg,c.colorBgContainer),lineType:c.lineType,borderRadius:c.borderRadius,borderRadiusXS:c.borderRadiusXS,borderRadiusSM:c.borderRadiusSM,borderRadiusLG:c.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:c.sizeXXS,paddingXS:c.sizeXS,paddingSM:c.sizeSM,padding:c.size,paddingMD:c.sizeMD,paddingLG:c.sizeLG,paddingXL:c.sizeXL,paddingContentHorizontalLG:c.sizeLG,paddingContentVerticalLG:c.sizeMS,paddingContentHorizontal:c.sizeMS,paddingContentVertical:c.sizeSM,paddingContentHorizontalSM:c.size,paddingContentVerticalSM:c.sizeXS,marginXXS:c.sizeXXS,marginXS:c.sizeXS,marginSM:c.sizeSM,margin:c.size,marginMD:c.sizeMD,marginLG:c.sizeLG,marginXL:c.sizeXL,marginXXL:c.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:1200,screenXLMin:1200,screenXLMax:1599,screenXXL:1600,screenXXLMin:1600,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new o.C("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new o.C("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new o.C("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),i)}},11939:function(e,t,n){n.d(t,{ZP:function(){return k},I$:function(){return E},bk:function(){return O}});var o=n(67294),r=n(1803),i=n(94184),l=n.n(i),a=(n(56790),n(53124)),c=n(14747),s=n(87606),d=n(15671),u=n(43144),p=n(60136),g=n(29388),f=(0,u.Z)((function e(){(0,d.Z)(this,e)}));let m=function(e){(0,p.Z)(n,e);var t=(0,g.Z)(n);function n(e){var o;return(0,d.Z)(this,n),(o=t.call(this)).result=0,e instanceof n?o.result=e.result:"number"==typeof e&&(o.result=e),o}return(0,u.Z)(n,[{key:"add",value:function(e){return e instanceof n?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof n?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof n?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof n?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),n}(f);const b="CALC_UNIT";function h(e){return"number"==typeof e?`${e}${b}`:e}let $=function(e){(0,p.Z)(n,e);var t=(0,g.Z)(n);function n(e){var o;return(0,d.Z)(this,n),(o=t.call(this)).result="",e instanceof n?o.result=`(${e.result})`:"number"==typeof e?o.result=h(e):"string"==typeof e&&(o.result=e),o}return(0,u.Z)(n,[{key:"add",value:function(e){return e instanceof n?this.result=`${this.result} + ${e.getResult()}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} + ${h(e)}`),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof n?this.result=`${this.result} - ${e.getResult()}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} - ${h(e)}`),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result=`(${this.result})`),e instanceof n?this.result=`${this.result} * ${e.getResult(!0)}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} * ${e}`),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result=`(${this.result})`),e instanceof n?this.result=`${this.result} / ${e.getResult(!0)}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} / ${e}`),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?`(${this.result})`:this.result}},{key:"equal",value:function(e){const{unit:t=!0}=e||{},n=new RegExp(`${b}`,"g");return this.result=this.result.replace(n,t?"px":""),void 0!==this.lowPriority?`calc(${this.result})`:this.result}}]),n}(f);var v=e=>{const t="css"===e?$:m;return e=>new t(e)},y=n(45503),S=n(53269);const x=(e,t,n)=>{var o;return"function"==typeof n?n((0,y.TS)(t,null!==(o=t[e])&&void 0!==o?o:{})):null!=n?n:{}},w=(e,t,n,o)=>{const r=Object.assign({},t[e]);if(null==o?void 0:o.deprecatedTokens){const{deprecatedTokens:e}=o;e.forEach((e=>{let[t,n]=e;var o;((null==r?void 0:r[t])||(null==r?void 0:r[n]))&&(null!==(o=r[n])&&void 0!==o||(r[n]=null==r?void 0:r[t]))}))}let i=Object.assign(Object.assign({},n),r);return(null==o?void 0:o.format)&&(i=o.format(i)),Object.keys(i).forEach((e=>{i[e]===t[e]&&delete i[e]})),i},C=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function k(e,t,n){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const d=Array.isArray(e)?e:[e,e],[u]=d,p=d.join("-");return e=>{const[d,g,f,m,b]=(0,s.ZP)(),{getPrefixCls:h,iconPrefixCls:$,csp:k}=(0,o.useContext)(a.E_),O=h(),E=b?"css":"js",I=v(E),{max:j,min:P}=function(e){return"js"===e?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=new Array(e),n=0;n(0,r.bf)(e))).join(",")})`},min:function(){for(var e=arguments.length,t=new Array(e),n=0;n(0,r.bf)(e))).join(",")})`}}}(E),z={theme:d,token:m,hashId:f,nonce:()=>null==k?void 0:k.nonce,clientOnly:i.clientOnly,order:i.order||-999};return(0,r.xy)(Object.assign(Object.assign({},z),{clientOnly:!1,path:["Shared",O]}),(()=>[{"&":(0,c.Lx)(m)}])),(0,S.Z)($,k),[(0,r.xy)(Object.assign(Object.assign({},z),{path:[p,e,$]}),(()=>{if(!1===i.injectStyle)return[];const{token:o,flush:l}=(0,y.ZP)(m),a=x(u,g,n),s=`.${e}`,d=w(u,g,a,{deprecatedTokens:i.deprecatedTokens,format:i.format});b&&Object.keys(a).forEach((e=>{a[e]=`var(${(0,r.ks)(e,C(u,b.prefix))})`}));const p=(0,y.TS)(o,{componentCls:s,prefixCls:e,iconCls:`.${$}`,antCls:`.${O}`,calc:I,max:j,min:P},b?a:d),h=t(p,{hashId:f,prefixCls:e,rootPrefixCls:O,iconPrefixCls:$});return l(u,d),[!1===i.resetStyle?null:(0,c.du)(p,e),h]})),l()(f,null==b?void 0:b.key)]}}const O=(e,t,n,o)=>{const r=k(e,t,n,Object.assign({resetStyle:!1,order:-998},o));return e=>{let{prefixCls:t}=e;return r(t),null}},E=(e,t,n,i)=>{const l=k(e,t,n,i),a=((e,t,n)=>{function i(t){return`${e}${t.slice(0,1).toUpperCase()}${t.slice(1)}`}const{unitless:l={},injectStyle:a=!0}=null!=n?n:{},c={[i("zIndexPopup")]:!0};Object.keys(l).forEach((e=>{c[i(e)]=l[e]}));const d=o=>{let{rootCls:l,cssVar:a}=o;const[,d]=(0,s.ZP)();return(0,r.CI)({path:[e],prefix:a.prefix,key:null==a?void 0:a.key,unitless:Object.assign(Object.assign({},s.NJ),c),ignore:s.ID,token:d,scope:l},(()=>{const o=x(e,d,t),r=w(e,d,o,{format:null==n?void 0:n.format,deprecatedTokens:null==n?void 0:n.deprecatedTokens});return Object.keys(o).forEach((e=>{r[i(e)]=r[e],delete r[e]})),r})),null};return t=>{const[,,,,n]=(0,s.ZP)();return r=>a&&n?o.createElement(o.Fragment,null,o.createElement(d,{rootCls:t,cssVar:n,component:e}),r):r}})(e,n,i);return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const[,n]=l(e);return[a(t),n]}}},98719:function(e,t,n){n.d(t,{Z:function(){return r}});var o=n(8796);function r(e,t){return o.i.reduce(((n,o)=>{const r=e[`${o}1`],i=e[`${o}3`],l=e[`${o}6`],a=e[`${o}7`];return Object.assign(Object.assign({},n),t(o,{lightColor:r,lightBorderColor:i,darkColor:l,textColor:a}))}),{})}},45503:function(e,t,n){n.d(t,{TS:function(){return i},ZP:function(){return c}});const o="undefined"!=typeof CSSINJS_STATISTIC;let r=!0;function i(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(e).forEach((t=>{Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:()=>e[t]})}))})),r=!0,i}const l={};function a(){}function c(e){let t,n=e,i=a;return o&&"undefined"!=typeof Proxy&&(t=new Set,n=new Proxy(e,{get(e,n){return r&&t.add(n),e[n]}}),i=(e,n)=>{var o;l[e]={global:Array.from(t),component:Object.assign(Object.assign({},null===(o=l[e])||void 0===o?void 0:o.component),n)}}),{token:n,keys:t,flush:i}}},53269:function(e,t,n){var o=n(1803),r=n(14747),i=n(87606);t.Z=(e,t)=>{const[n,l]=(0,i.ZP)();return(0,o.xy)({theme:n,token:l,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce},(()=>[{[`.${e}`]:Object.assign(Object.assign({},(0,r.Ro)()),{[`.${e} .${e}-icon`]:{display:"block"}})}]))}},68351:function(e,t,n){var o=n(67294),r=n(8745),i=n(73022);const{TimePicker:l,RangePicker:a}=i.default,c=o.forwardRef(((e,t)=>o.createElement(a,Object.assign({},e,{picker:"time",mode:void 0,ref:t})))),s=o.forwardRef(((e,t)=>{var{addon:n,renderExtraFooter:r}=e,i=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);rr||n||void 0),[n,r]);return o.createElement(l,Object.assign({},i,{mode:void 0,ref:t,renderExtraFooter:a}))})),d=(0,r.Z)(s,"picker");s._InternalPanelDoNotUseOrYouWillBeFired=d,s.RangePicker=c,s._InternalPanelDoNotUseOrYouWillBeFired=d,t.Z=s},42115:function(e,t){t.Z={placeholder:"Select time",rangePlaceholder:["Start time","End time"]}},56440:function(e,t,n){n.d(t,{Z:function(){return S}});var o=n(67294),r=n(94184),i=n.n(r),l=n(53124),a=n(1803),c=n(14747),s=n(11939),d=n(45503);const u=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},(0,c.Wf)(e)),{margin:0,padding:0,listStyle:"none",[`${t}-item`]:{position:"relative",margin:0,paddingBottom:e.itemPaddingBottom,fontSize:e.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:e.itemHeadSize,insetInlineStart:n(n(e.itemHeadSize).sub(e.tailWidth)).div(2).equal(),height:`calc(100% - ${(0,a.bf)(e.itemHeadSize)})`,borderInlineStart:`${(0,a.bf)(e.tailWidth)} ${e.lineType} ${e.tailColor}`},"&-pending":{[`${t}-item-head`]:{fontSize:e.fontSizeSM,backgroundColor:"transparent"},[`${t}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:e.itemHeadSize,height:e.itemHeadSize,backgroundColor:e.dotBg,border:`${(0,a.bf)(e.dotBorderWidth)} ${e.lineType} transparent`,borderRadius:"50%","&-blue":{color:e.colorPrimary,borderColor:e.colorPrimary},"&-red":{color:e.colorError,borderColor:e.colorError},"&-green":{color:e.colorSuccess,borderColor:e.colorSuccess},"&-gray":{color:e.colorTextDisabled,borderColor:e.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:n(e.itemHeadSize).div(2).equal(),insetInlineStart:n(e.itemHeadSize).div(2).equal(),width:"auto",height:"auto",marginBlockStart:0,paddingBlock:e.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.lineWidth).equal(),marginInlineStart:n(e.margin).add(e.itemHeadSize).equal(),marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${t}-item-tail`]:{display:"none"},[`> ${t}-item-content`]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}}},[`&${t}-alternate,\n &${t}-right,\n &${t}-label`]:{[`${t}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:n(e.marginXXS).mul(-1).equal(),"&-custom":{marginInlineStart:n(e.tailWidth).div(2).equal()}},"&-left":{[`${t}-item-content`]:{insetInlineStart:`calc(50% - ${(0,a.bf)(e.marginXXS)})`,width:`calc(50% - ${(0,a.bf)(e.marginSM)})`,textAlign:"start"}},"&-right":{[`${t}-item-content`]:{width:`calc(50% - ${(0,a.bf)(e.marginSM)})`,margin:0,textAlign:"end"}}}},[`&${t}-right`]:{[`${t}-item-right`]:{[`${t}-item-tail,\n ${t}-item-head,\n ${t}-item-head-custom`]:{insetInlineStart:`calc(100% - ${(0,a.bf)(n(n(e.itemHeadSize).add(e.tailWidth)).div(2).equal())})`},[`${t}-item-content`]:{width:`calc(100% - ${(0,a.bf)(n(e.itemHeadSize).add(e.marginXS).equal())})`}}},[`&${t}-pending\n ${t}-item-last\n ${t}-item-tail`]:{display:"block",height:`calc(100% - ${(0,a.bf)(e.margin)})`,borderInlineStart:`${(0,a.bf)(e.tailWidth)} dotted ${e.tailColor}`},[`&${t}-reverse\n ${t}-item-last\n ${t}-item-tail`]:{display:"none"},[`&${t}-reverse ${t}-item-pending`]:{[`${t}-item-tail`]:{insetBlockStart:e.margin,display:"block",height:`calc(100% - ${(0,a.bf)(e.margin)})`,borderInlineStart:`${(0,a.bf)(e.tailWidth)} dotted ${e.tailColor}`},[`${t}-item-content`]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}},[`&${t}-label`]:{[`${t}-item-label`]:{position:"absolute",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.tailWidth).equal(),width:`calc(50% - ${(0,a.bf)(e.marginSM)})`,textAlign:"end"},[`${t}-item-right`]:{[`${t}-item-label`]:{insetInlineStart:`calc(50% + ${(0,a.bf)(e.marginSM)})`,width:`calc(50% - ${(0,a.bf)(e.marginSM)})`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${t}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}};var p=(0,s.I$)("Timeline",(e=>{const t=(0,d.TS)(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2});return[u(t)]}),(e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.wireframe?e.lineWidthBold:3*e.lineWidth,dotBg:e.colorBgContainer,itemPaddingBottom:1.25*e.padding}))),g=n(35792),f=e=>{var{prefixCls:t,className:n,color:r="blue",dot:a,pending:c=!1,position:s,label:d,children:u}=e,p=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{var{prefixCls:t,className:n,pending:r=!1,children:l,items:a,rootClassName:c,reverse:s=!1,direction:d,hashId:u,pendingDot:p,mode:g=""}=e,$=h(e,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);const v=(e,n)=>"alternate"===g?"right"===e?`${t}-item-right`:"left"===e||n%2==0?`${t}-item-left`:`${t}-item-right`:"left"===g?`${t}-item-left`:"right"===g||"right"===e?`${t}-item-right`:"",y=(0,m.Z)(a||[]),S="boolean"==typeof r?null:r;r&&y.push({pending:!!r,dot:p||o.createElement(b.Z,null),children:S}),s&&y.reverse();const x=y.length,w=`${t}-item-last`,C=y.filter((e=>!!e)).map(((e,t)=>{var n;const l=t===x-2?w:"",a=t===x-1?w:"",{className:c}=e,d=h(e,["className"]);return o.createElement(f,Object.assign({},d,{className:i()([c,!s&&r?l:a,v(null!==(n=null==e?void 0:e.position)&&void 0!==n?n:"",t)]),key:(null==e?void 0:e.key)||t}))})),k=y.some((e=>!!(null==e?void 0:e.label))),O=i()(t,{[`${t}-pending`]:!!r,[`${t}-reverse`]:!!s,[`${t}-${g}`]:!!g&&!k,[`${t}-label`]:k,[`${t}-rtl`]:"rtl"===d},n,c,u);return o.createElement("ul",Object.assign({},$,{className:O}),C)},v=n(50344);const y=e=>{const{getPrefixCls:t,direction:n,timeline:r}=o.useContext(l.E_),{prefixCls:a,children:c,items:s,className:d,style:u}=e,f=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{var t,n;return Object.assign({children:null!==(n=null===(t=null==e?void 0:e.props)||void 0===t?void 0:t.children)&&void 0!==n?n:""},e.props)}))}(s,c);return h(o.createElement($,Object.assign({},f,{className:i()(null==r?void 0:r.className,d,b),style:Object.assign(Object.assign({},null==r?void 0:r.style),u),prefixCls:m,direction:n,items:S,hashId:y})))};y.Item=f;var S=y},53807:function(e,t,n){n.d(t,{Z:function(){return z}});var o=n(67294),r=n(94184),i=n.n(r),l=n(64178),a=n(21770),c=n(87263),s=n(33603),d=n(80636),u=n(96159),p=n(27288),g=n(43945),f=n(53124),m=n(4173),b=n(87606),h=n(14747),$=n(50438),v=n(97414),y=n(98719),S=n(45503),x=n(11939),w=n(1803),C=n(79511);const k=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:o,tooltipBg:r,tooltipBorderRadius:i,zIndexPopup:l,controlHeight:a,boxShadowSecondary:c,paddingSM:s,paddingXS:d}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,h.Wf)(e)),{position:"absolute",zIndex:l,display:"block",width:"max-content",maxWidth:n,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":r,[`${t}-inner`]:{minWidth:a,minHeight:a,padding:`${(0,w.bf)(e.calc(s).div(2).equal())} ${(0,w.bf)(d)}`,color:o,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:r,borderRadius:i,boxShadow:c,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(i,v.qN)}},[`${t}-content`]:{position:"relative"}}),(0,y.Z)(e,((e,n)=>{let{darkColor:o}=n;return{[`&${t}-${e}`]:{[`${t}-inner`]:{backgroundColor:o},[`${t}-arrow`]:{"--antd-arrow-background-color":o}}}}))),{"&-rtl":{direction:"rtl"}})},(0,v.ZP)(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},O=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},(0,v.wZ)({contentRadius:e.borderRadius,limitVerticalRadius:!0})),(0,C.w)((0,S.TS)(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)})));var E=function(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,x.I$)("Tooltip",(e=>{const{borderRadius:t,colorTextLightSolid:n,colorBgSpotlight:o}=e,r=(0,S.TS)(e,{tooltipMaxWidth:250,tooltipColor:n,tooltipBorderRadius:t,tooltipBg:o});return[k(r),(0,$._y)(e,"zoom-big-fast")]}),O,{resetStyle:!1,injectStyle:t})(e)},I=n(98787);function j(e,t){const n=(0,I.o2)(t),o=i()({[`${e}-${t}`]:t&&n}),r={},l={};return t&&!n&&(r.background=t,l["--antd-arrow-background-color"]=t),{className:o,overlayStyle:r,arrowStyle:l}}const P=o.forwardRef(((e,t)=>{var n,r;const{prefixCls:h,openClassName:$,getTooltipContainer:v,overlayClassName:y,color:S,overlayInnerStyle:x,children:w,afterOpenChange:C,afterVisibleChange:k,destroyTooltipOnHide:O,arrow:I=!0,title:P,overlay:z,builtinPlacements:T,arrowPointAtCenter:B=!1,autoAdjustOverflow:M=!0}=e,N=!!I,[,H]=(0,b.ZP)(),{getPopupContainer:R,getPrefixCls:D,direction:Z}=o.useContext(f.E_),_=(0,p.ln)("Tooltip"),L=o.useRef(null),A=()=>{var e;null===(e=L.current)||void 0===e||e.forceAlign()};o.useImperativeHandle(t,(()=>({forceAlign:A,forcePopupAlign:()=>{_.deprecated(!1,"forcePopupAlign","forceAlign"),A()}})));const[F,W]=(0,a.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(r=e.defaultOpen)&&void 0!==r?r:e.defaultVisible}),X=!P&&!z&&0!==P,q=o.useMemo((()=>{var e,t;let n=B;return"object"==typeof I&&(n=null!==(t=null!==(e=I.pointAtCenter)&&void 0!==e?e:I.arrowPointAtCenter)&&void 0!==t?t:B),T||(0,d.Z)({arrowPointAtCenter:n,autoAdjustOverflow:M,arrowWidth:N?H.sizePopupArrow:0,borderRadius:H.borderRadius,offset:H.marginXXS,visibleFirst:!0})}),[B,I,T,H]),K=o.useMemo((()=>0===P?P:z||P||""),[z,P]),G=o.createElement(m.BR,null,"function"==typeof K?K():K),{getPopupContainer:V,placement:U="top",mouseEnterDelay:Q=.1,mouseLeaveDelay:Y=.1,overlayStyle:J,rootClassName:ee}=e,te=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{var n,o;W(!X&&t),X||(null===(n=e.onOpenChange)||void 0===n||n.call(e,t),null===(o=e.onVisibleChange)||void 0===o||o.call(e,t))},afterVisibleChange:null!=C?C:k,overlayInnerStyle:ge,arrowContent:o.createElement("span",{className:`${ne}-arrow-content`}),motion:{motionName:(0,s.m)(oe,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!O}),ie?(0,u.Tm)(le,{className:ce}):le);return se(o.createElement(g.Z.Provider,{value:be},he))}));P._InternalPanelDoNotUseOrYouWillBeFired=e=>{const{prefixCls:t,className:n,placement:r="top",title:a,color:c,overlayInnerStyle:s}=e,{getPrefixCls:d}=o.useContext(f.E_),u=d("tooltip",t),[p,g]=E(u),m=j(u,c),b=m.arrowStyle,h=Object.assign(Object.assign({},s),m.overlayStyle),$=i()(g,u,`${u}-pure`,`${u}-placement-${r}`,n,m.className);return p(o.createElement("div",{className:$,style:b},o.createElement("div",{className:`${u}-arrow`}),o.createElement(l.G,Object.assign({},e,{className:g,prefixCls:u,overlayInnerStyle:h}),a)))};var z=P},61239:function(e,t,n){n.d(t,{Z:function(){return B}});var o=n(67294),r=n(94184),i=n.n(r),l=n(39877),a=n(98423),c=n(33603),s=n(8745),d=n(9708),u=n(53124),p=n(88258),g=n(98866),f=n(98675),m=n(65223),b=n(27269),h=n(13458),$=n(78642),v=n(43277),y=n(4173),S=n(61639),x=n(1803),w=n(63185),C=n(45503),k=n(11939),O=n(32157);const E=e=>{const{componentCls:t,treePrefixCls:n,colorBgElevated:o}=e,r=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${(0,x.bf)(e.paddingXS)} ${(0,x.bf)(e.calc(e.paddingXS).div(2).equal())}`},(0,O.Yk)(n,(0,C.TS)(e,{colorBgContainer:o})),{[r]:{borderRadius:0,[`${r}-list-holder-inner`]:{alignItems:"stretch",[`${r}-treenode`]:{[`${r}-node-content-wrapper`]:{flex:"auto"}}}}},(0,w.C2)(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${r}-switcher${r}-switcher_close`]:{[`${r}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};var I=n(35792),j=n(87263);const P=(e,t)=>{var n,r,{prefixCls:s,size:x,disabled:w,bordered:P=!0,className:z,rootClassName:T,treeCheckable:B,multiple:M,listHeight:N=256,listItemHeight:H=26,placement:R,notFoundContent:D,switcherIcon:Z,treeLine:_,getPopupContainer:L,popupClassName:A,dropdownClassName:F,treeIcon:W=!1,transitionName:X,choiceTransitionName:q="",status:K,treeExpandAction:G,builtinPlacements:V,dropdownMatchSelectWidth:U,popupMatchSelectWidth:Q,allowClear:Y}=e,J=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{const n=(0,C.TS)(e,{treePrefixCls:t});return[E(n)]}),O.TM)(e,n)}(de,se,fe),$e=i()(A||F,`${de}-dropdown`,{[`${de}-dropdown-rtl`]:"rtl"===oe},T,ge,fe,be),ve=!(!B&&!M),ye=(0,$.Z)(J.suffixIcon,J.showArrow),Se=null!==(n=null!=Q?Q:U)&&void 0!==n?n:ie,{status:xe,hasFeedback:we,isFormItemInput:Ce,feedbackIcon:ke}=o.useContext(m.aM),Oe=(0,d.F)(xe,K),{suffixIcon:Ee,removeIcon:Ie,clearIcon:je}=(0,v.Z)(Object.assign(Object.assign({},J),{multiple:ve,showSuffixIcon:ye,hasFeedback:we,feedbackIcon:ke,prefixCls:ce,componentName:"TreeSelect"})),Pe=!0===Y?{clearIcon:je}:Y;let ze;ze=void 0!==D?D:(null==ne?void 0:ne("Select"))||o.createElement(p.Z,{componentName:"Select"});const Te=(0,a.Z)(J,["suffixIcon","itemIcon","removeIcon","clearIcon","switcherIcon"]),Be=o.useMemo((()=>void 0!==R?R:"rtl"===oe?"bottomRight":"bottomLeft"),[R,oe]),Me=(0,h.Z)(V,le),Ne=(0,f.Z)((e=>{var t;return null!==(t=null!=x?x:ue)&&void 0!==t?t:e})),He=o.useContext(g.Z),Re=null!=w?w:He,De=i()(!s&&de,{[`${ce}-lg`]:"large"===Ne,[`${ce}-sm`]:"small"===Ne,[`${ce}-rtl`]:"rtl"===oe,[`${ce}-borderless`]:!P,[`${ce}-in-form-item`]:Ce},(0,d.Z)(ce,Oe,we),pe,z,T,ge,fe,be),[Ze]=(0,j.Cn)("SelectLike",null===(r=J.dropdownStyle)||void 0===r?void 0:r.zIndex);return me(he(o.createElement(l.ZP,Object.assign({virtual:re,disabled:Re},Te,{dropdownMatchSelectWidth:Se,builtinPlacements:Me,ref:t,prefixCls:ce,className:De,listHeight:N,listItemHeight:H,treeCheckable:B?o.createElement("span",{className:`${ce}-tree-checkbox-inner`}):B,treeLine:!!_,suffixIcon:Ee,multiple:ve,placement:Be,removeIcon:Ie,allowClear:Pe,switcherIcon:e=>o.createElement(S.Z,{prefixCls:se,switcherIcon:Z,treeNodeProps:e,showLine:_}),showTreeIcon:W,notFoundContent:ze,getPopupContainer:L||ee,treeMotion:null,dropdownClassName:$e,dropdownStyle:Object.assign(Object.assign({},J.dropdownStyle),{zIndex:Ze}),choiceTransitionName:(0,c.m)(ae,"",q),transitionName:(0,c.m)(ae,"slide-up",X),treeExpandAction:G}))))},z=o.forwardRef(P),T=(0,s.Z)(z);z.TreeNode=l.OF,z.SHOW_ALL=l.Qw,z.SHOW_PARENT=l.hT,z.SHOW_CHILD=l.FJ,z._InternalPanelDoNotUseOrYouWillBeFired=T;var B=z},7573:function(e,t,n){n.d(t,{Z:function(){return P}});var o=n(37837),r=n(93433),i=n(67294),l=n(86504),a=n(91816),c=n(63258),s=n(94184),d=n.n(s),u=n(10225),p=n(1089),g=n(53124),f=n(80766),m=n(33603),b=n(32157);function h(e){const{dropPosition:t,dropLevelOffset:n,prefixCls:o,indent:r,direction:l="ltr"}=e,a="ltr"===l?"left":"right",c={[a]:-n*r+4,["ltr"===l?"right":"left"]:0};switch(t){case-1:c.top=-3;break;case 1:c.bottom=-3;break;default:c.bottom=-3,c[a]=r+4}return i.createElement("div",{style:c,className:`${o}-drop-indicator`})}var $=n(61639);const v=i.forwardRef(((e,t)=>{const{getPrefixCls:n,direction:r,virtual:l,tree:a}=i.useContext(g.E_),{prefixCls:c,className:s,showIcon:u=!1,showLine:p,switcherIcon:v,blockNode:y=!1,children:S,checkable:x=!1,selectable:w=!0,draggable:C,motion:k,style:O}=e,E=n("tree",c),I=n(),j=null!=k?k:Object.assign(Object.assign({},(0,m.Z)(I)),{motionAppear:!1}),P=Object.assign(Object.assign({},e),{checkable:x,selectable:w,showIcon:u,motion:j,blockNode:y,showLine:Boolean(p),dropIndicatorRender:h}),[z,T]=(0,b.ZP)(E),B=i.useMemo((()=>{if(!C)return!1;let e={};switch(typeof C){case"function":e.nodeDraggable=C;break;case"object":e=Object.assign({},C)}return!1!==e.icon&&(e.icon=e.icon||i.createElement(f.Z,null)),e}),[C]);return z(i.createElement(o.Z,Object.assign({itemHeight:20,ref:t,virtual:l},P,{style:Object.assign(Object.assign({},null==a?void 0:a.style),O),prefixCls:E,className:d()({[`${E}-icon-hide`]:!u,[`${E}-block-node`]:y,[`${E}-unselectable`]:!w,[`${E}-rtl`]:"rtl"===r},null==a?void 0:a.className,s,T),direction:r,checkable:x?i.createElement("span",{className:`${E}-checkbox-inner`}):x,selectable:w,switcherIcon:e=>i.createElement($.Z,{prefixCls:E,switcherIcon:v,treeNodeProps:e,showLine:p}),draggable:B}),S))}));var y,S=v;function x(e,t,n){const{key:o,children:r}=n;e.forEach((function(e){const i=e[o],l=e[r];!1!==t(i,e)&&x(l||[],t,n)}))}function w(e,t,n){const o=(0,r.Z)(t),i=[];return x(e,((e,t)=>{const n=o.indexOf(e);return-1!==n&&(i.push(t),o.splice(n,1)),!!o.length}),(0,p.w$)(n)),i}!function(e){e[e.None=0]="None",e[e.Start=1]="Start",e[e.End=2]="End"}(y||(y={}));var C=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{var{defaultExpandAll:n,defaultExpandParent:o,defaultExpandedKeys:l}=e,a=C(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const c=i.useRef(),s=i.useRef(),[f,m]=i.useState(a.selectedKeys||a.defaultSelectedKeys||[]),[b,h]=i.useState((()=>(()=>{const{keyEntities:e}=(0,p.I8)(O(a));let t;return t=n?Object.keys(e):o?(0,u.r7)(a.expandedKeys||l||[],e):a.expandedKeys||l,t})()));i.useEffect((()=>{"selectedKeys"in a&&m(a.selectedKeys)}),[a.selectedKeys]),i.useEffect((()=>{"expandedKeys"in a&&h(a.expandedKeys)}),[a.expandedKeys]);const{getPrefixCls:$,direction:v}=i.useContext(g.E_),{prefixCls:E,className:I,showIcon:j=!0,expandAction:P="click"}=a,z=C(a,["prefixCls","className","showIcon","expandAction"]),T=$("tree",E),B=d()(`${T}-directory`,{[`${T}-directory-rtl`]:"rtl"===v},I);return i.createElement(S,Object.assign({icon:k,ref:t,blockNode:!0},z,{showIcon:j,expandAction:P,prefixCls:T,className:B,expandedKeys:b,selectedKeys:f,onSelect:(e,t)=>{var n;const{multiple:o,fieldNames:i}=a,{node:l,nativeEvent:d}=t,{key:u=""}=l,g=O(a),f=Object.assign(Object.assign({},t),{selected:!0}),h=(null==d?void 0:d.ctrlKey)||(null==d?void 0:d.metaKey),$=null==d?void 0:d.shiftKey;let v;o&&h?(v=e,c.current=u,s.current=v,f.selectedNodes=w(g,v,i)):o&&$?(v=Array.from(new Set([].concat((0,r.Z)(s.current||[]),(0,r.Z)(function(e){let{treeData:t,expandedKeys:n,startKey:o,endKey:r,fieldNames:i}=e;const l=[];let a=y.None;return o&&o===r?[o]:o&&r?(x(t,(e=>{if(a===y.End)return!1;if(function(e){return e===o||e===r}(e)){if(l.push(e),a===y.None)a=y.Start;else if(a===y.Start)return a=y.End,!1}else a===y.Start&&l.push(e);return n.includes(e)}),(0,p.w$)(i)),l):[]}({treeData:g,expandedKeys:b,startKey:u,endKey:c.current,fieldNames:i}))))),f.selectedNodes=w(g,v,i)):(v=[u],c.current=u,s.current=v,f.selectedNodes=w(g,v,i)),null===(n=a.onSelect)||void 0===n||n.call(a,v,f),"selectedKeys"in a||m(v)},onExpand:(e,t)=>{var n;return"expandedKeys"in a||h(e),null===(n=a.onExpand)||void 0===n?void 0:n.call(a,e,t)}}))};var I=i.forwardRef(E);const j=S;j.DirectoryTree=I,j.TreeNode=o.O;var P=j},32157:function(e,t,n){n.d(t,{TM:function(){return m},Yk:function(){return f}});var o=n(1803),r=n(63185),i=n(14747),l=n(33507),a=n(45503),c=n(11939);const s=new o.E4("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),d=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),u=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${(0,o.bf)(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),p=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:l,titleHeight:a,nodeSelectedBg:c,nodeHoverBg:p}=t,g=t.paddingXS;return{[n]:Object.assign(Object.assign({},(0,i.Wf)(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},(0,i.oN)(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:l,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:s,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${r}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${(0,o.bf)(l)} 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:Object.assign({},(0,i.oN)(t)),[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${n}-draggable-icon`]:{flexShrink:0,width:a,lineHeight:`${(0,o.bf)(a)}`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:a}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},d(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:a,margin:0,lineHeight:`${(0,o.bf)(a)}`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(a).div(2).equal(),bottom:t.calc(l).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(a).div(2).equal()).mul(.8).equal(),height:t.calc(a).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:g,alignSelf:"flex-start",marginTop:t.marginXXS},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:a,margin:0,padding:`0 ${(0,o.bf)(t.calc(t.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:`${(0,o.bf)(a)}`,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:p},[`&${n}-node-selected`]:{backgroundColor:c},[`${n}-iconEle`]:{display:"inline-block",width:a,height:a,lineHeight:`${(0,o.bf)(a)}`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:`${(0,o.bf)(a)}`,userSelect:"none"},u(e,t)),[`${r}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(a).div(2).equal(),bottom:t.calc(l).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${(0,o.bf)(t.calc(a).div(2).equal())} !important`}}}}})}},g=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:o,directoryNodeSelectedBg:r,directoryNodeSelectedColor:i}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:o,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:i,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:r},[`${t}-switcher`]:{color:i},[`${t}-node-content-wrapper`]:{color:i,background:"transparent"}}}}}},f=(e,t)=>{const n=`.${e}`,o=`${n}-treenode`,r=t.calc(t.paddingXS).div(2).equal(),i=(0,a.TS)(t,{treeCls:n,treeNodeCls:o,treeNodePadding:r});return[p(e,i),g(i)]},m=e=>{const{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}};t.ZP=(0,c.I$)("Tree",((e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:(0,r.C2)(`${n}-checkbox`,e)},f(n,e),(0,l.Z)(e)]}),(e=>{const{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},m(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})}))},61639:function(e,t,n){var o=n(44378),r=n(86504),i=n(7085),l=n(18095),a=n(18267),c=n(94184),s=n.n(c),d=n(67294),u=n(96159);t.Z=e=>{const{prefixCls:t,switcherIcon:n,treeNodeProps:c,showLine:p}=e,{isLeaf:g,expanded:f,loading:m}=c;if(m)return d.createElement(i.Z,{className:`${t}-switcher-loading-icon`});let b;if(p&&"object"==typeof p&&(b=p.showLeafIcon),g){if(!p)return null;if("boolean"!=typeof b&&b){const e="function"==typeof b?b(c):b,n=`${t}-switcher-line-custom-icon`;return(0,u.l$)(e)?(0,u.Tm)(e,{className:s()(e.props.className||"",n)}):e}return b?d.createElement(r.Z,{className:`${t}-switcher-line-icon`}):d.createElement("span",{className:`${t}-switcher-leaf-line`})}const h=`${t}-switcher-icon`,$="function"==typeof n?n(c):n;return(0,u.l$)($)?(0,u.Tm)($,{className:s()($.props.className||"",h)}):void 0!==$?$:p?f?d.createElement(l.Z,{className:`${t}-switcher-line-icon`}):d.createElement(a.Z,{className:`${t}-switcher-line-icon`}):d.createElement(o.Z,{className:h})}},72374:function(e,t,n){n.d(t,{Z:function(){return te}});var o=n(67294),r=n(79508),i=n(99165),l=n(8212),a=n(94184),c=n.n(a),s=n(20640),d=n.n(s),u=n(48717),p=n(50344),g=n(8410),f=n(21770),m=n(98423),b=n(42550),h=n(79370),$=n(34952),v=n(53124),y=n(10110),S=n(53807),x=n(21214),w=n(15105),C=n(96159),k=n(96330),O=n(49867),E=n(11939),I=n(61242),j=n(1803);const P=e=>{const t={};return[1,2,3,4,5].forEach((n=>{t[`\n h${n}&,\n div&-h${n},\n div&-h${n} > textarea,\n h${n}\n `]=((e,t,n,o)=>{const{titleMarginBottom:r,fontWeightStrong:i}=o;return{marginBottom:r,color:n,fontWeight:i,fontSize:e,lineHeight:t}})(e[`fontSizeHeading${n}`],e[`lineHeightHeading${n}`],e.colorTextHeading,e)})),t},z=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},(0,O.N)(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},T=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:I.EV[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),B=e=>{const{componentCls:t,paddingSM:n}=e,o=n;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(o).mul(-1).equal(),marginBottom:`calc(1em - ${(0,j.bf)(o)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},M=e=>({"&-copy-success":{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}}}),N=e=>{const{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},P(e)),{[`\n & + h1${t},\n & + h2${t},\n & + h3${t},\n & + h4${t},\n & + h5${t}\n `]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),T(e)),z(e)),{[`\n ${t}-expand,\n ${t}-edit,\n ${t}-copy\n `]:Object.assign(Object.assign({},(0,O.N)(e)),{marginInlineStart:e.marginXXS})}),B(e)),M(e)),{"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-single-line":{whiteSpace:"nowrap"},"&-ellipsis-single-line":{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),{"&-rtl":{direction:"rtl"}})}};var H=(0,E.I$)("Typography",(e=>[N(e)]),(()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}))),R=e=>{const{prefixCls:t,"aria-label":n,className:r,style:i,direction:l,maxLength:a,autoSize:s=!0,value:d,onSave:u,onCancel:p,onEnd:g,component:f,enterIcon:m=o.createElement(x.Z,null)}=e,b=o.useRef(null),h=o.useRef(!1),$=o.useRef(),[v,y]=o.useState(d);o.useEffect((()=>{y(d)}),[d]),o.useEffect((()=>{if(b.current&&b.current.resizableTextArea){const{textArea:e}=b.current.resizableTextArea;e.focus();const{length:t}=e.value;e.setSelectionRange(t,t)}}),[]);const S=()=>{u(v.trim())},O=f?`${t}-${f}`:"",[E,I]=H(t),j=c()(t,`${t}-edit-content`,{[`${t}-rtl`]:"rtl"===l},r,O,I);return E(o.createElement("div",{className:j,style:i},o.createElement(k.Z,{ref:b,maxLength:a,value:v,onChange:e=>{let{target:t}=e;y(t.value.replace(/[\n\r]/g,""))},onKeyDown:e=>{let{keyCode:t}=e;h.current||($.current=t)},onKeyUp:e=>{let{keyCode:t,ctrlKey:n,altKey:o,metaKey:r,shiftKey:i}=e;$.current!==t||h.current||n||o||r||i||(t===w.Z.ENTER?(S(),null==g||g()):t===w.Z.ESC&&p())},onCompositionStart:()=>{h.current=!0},onCompositionEnd:()=>{h.current=!1},onBlur:()=>{S()},"aria-label":n,rows:1,autoSize:s}),null!==m?(0,C.Tm)(m,{className:`${t}-edit-content-confirm`}):null))};const D=o.forwardRef(((e,t)=>{const{prefixCls:n,component:r="article",className:i,rootClassName:l,setContentRef:a,children:s,direction:d,style:u}=e,p=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{const n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"==typeof e?e:null)]}),[e])}function L(e){const t=typeof e;return"string"===t||"number"===t}function A(e,t){let n=0;const o=[];for(let r=0;rt){const e=t-n;return o.push(String(i).slice(0,e)),o}o.push(i),n=l}return e}var F=e=>{let{enabledMeasure:t,children:n,text:r,width:i,fontSize:l,rows:a,onEllipsis:c}=e;const[[s,d,u],f]=o.useState([0,0,0]),[m,b]=o.useState(0),[h,$]=o.useState(0),[v,y]=o.useState(0),S=o.useRef(null),x=o.useRef(null),w=o.useMemo((()=>(0,p.Z)(r)),[r]),C=o.useMemo((()=>function(e){let t=0;return e.forEach((e=>{L(e)?t+=String(e).length:t+=1})),t}(w)),[w]),k=o.useMemo((()=>t&&3===h?n(A(w,d),d{t&&i&&l&&C&&($(1),f([0,Math.ceil(C/2),C]))}),[t,i,l,r,C,a]),(0,g.Z)((()=>{var e;1===h&&y((null===(e=S.current)||void 0===e?void 0:e.offsetHeight)||0)}),[h]),(0,g.Z)((()=>{var e,t;if(v)if(1===h)((null===(e=x.current)||void 0===e?void 0:e.offsetHeight)||0)<=a*v?($(4),c(!1)):$(2);else if(2===h)if(s!==u){const e=(null===(t=x.current)||void 0===t?void 0:t.offsetHeight)||0;let n=s,o=u;s===u-1?o=s:e<=a*v?n=d:o=d;const r=Math.ceil((n+o)/2);f([n,r,o])}else $(3),b(d),c(!0)}),[h,s,u,a,v]);const O={width:i,whiteSpace:"normal",margin:0,padding:0},E=(e,t,n)=>o.createElement("span",{"aria-hidden":!0,ref:t,style:Object.assign({position:"fixed",display:"block",left:0,top:0,zIndex:-9999,visibility:"hidden",pointerEvents:"none",fontSize:2*Math.ceil(l/2)},n)},e);return o.createElement(o.Fragment,null,k,t&&3!==h&&4!==h&&o.createElement(o.Fragment,null,E("lg",S,{wordBreak:"keep-all",whiteSpace:"nowrap"}),1===h?E(n(w,!1),x,O):((e,t)=>{const o=A(w,e);return E(n(o,!0),t,O)})(d,x)))},W=e=>{let{enabledEllipsis:t,isEllipsis:n,children:r,tooltipProps:i}=e;return(null==i?void 0:i.title)&&t?o.createElement(S.Z,Object.assign({open:!!n&&void 0},i),r):r};function X(e,t,n){return!0===e||void 0===e?t:e||n&&t}function q(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}var K=o.forwardRef(((e,t)=>{var n,a,s;const{prefixCls:x,className:w,style:C,type:k,disabled:O,children:E,ellipsis:I,editable:j,copyable:P,component:z,title:T}=e,B=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{var t;e&&(null===(t=V.onStart)||void 0===t||t.call(V)),Q(e)};((e,t)=>{const n=o.useRef(!1);o.useEffect((()=>{n.current?e():n.current=!0}),t)})((()=>{var e;U||null===(e=L.current)||void 0===e||e.focus()}),[U]);const ee=e=>{null==e||e.preventDefault(),J(!0)},[te,ne]=_(P),[oe,re]=o.useState(!1),ie=o.useRef(null),le={};ne.format&&(le.format=ne.format);const ae=()=>{ie.current&&clearTimeout(ie.current)},ce=e=>{var t;null==e||e.preventDefault(),null==e||e.stopPropagation(),d()(ne.text||String(E)||"",le),re(!0),ae(),ie.current=setTimeout((()=>{re(!1)}),3e3),null===(t=ne.onCopy)||void 0===t||t.call(ne,e)};o.useEffect((()=>ae),[]);const[se,de]=o.useState(!1),[ue,pe]=o.useState(!1),[ge,fe]=o.useState(!1),[me,be]=o.useState(!1),[he,$e]=o.useState(!1),[ve,ye]=o.useState(!0),[Se,xe]=_(I,{expandable:!1}),we=Se&&!ge,{rows:Ce=1}=xe,ke=o.useMemo((()=>!we||void 0!==xe.suffix||xe.onEllipsis||xe.expandable||G||te),[we,xe,G,te]);(0,g.Z)((()=>{Se&&!ke&&(de((0,h.G)("webkitLineClamp")),pe((0,h.G)("textOverflow")))}),[ke,Se]);const Oe=o.useMemo((()=>!ke&&(1===Ce?ue:se)),[ke,ue,se]),Ee=we&&(Oe?he:me),Ie=we&&1===Ce&&Oe,je=we&&Ce>1&&Oe,Pe=e=>{var t;fe(!0),null===(t=xe.onExpand)||void 0===t||t.call(xe,e)},[ze,Te]=o.useState(0),[Be,Me]=o.useState(0),Ne=e=>{var t;be(e),me!==e&&(null===(t=xe.onEllipsis)||void 0===t||t.call(xe,e))};o.useEffect((()=>{const e=D.current;if(Se&&Oe&&e){const t=je?e.offsetHeight{const e=D.current;if("undefined"==typeof IntersectionObserver||!e||!Oe||!we)return;const t=new IntersectionObserver((()=>{ye(!!e.offsetParent)}));return t.observe(e),()=>{t.disconnect()}}),[Oe,we]);let He={};He=!0===xe.tooltip?{title:null!==(n=V.text)&&void 0!==n?n:E}:o.isValidElement(xe.tooltip)?{title:xe.tooltip}:"object"==typeof xe.tooltip?Object.assign({title:null!==(a=V.text)&&void 0!==a?a:E},xe.tooltip):{title:xe.tooltip};const Re=o.useMemo((()=>{const e=e=>["string","number"].includes(typeof e);if(Se&&!Oe)return e(V.text)?V.text:e(E)?E:e(T)?T:e(He.title)?He.title:void 0}),[Se,Oe,T,He.title,Ee]);if(U)return o.createElement(R,{value:null!==(s=V.text)&&void 0!==s?s:"string"==typeof E?E:"",onSave:e=>{var t;null===(t=V.onChange)||void 0===t||t.call(V,e),J(!1)},onCancel:()=>{var e;null===(e=V.onCancel)||void 0===e||e.call(V),J(!1)},onEnd:V.onEnd,prefixCls:A,className:w,style:C,direction:N,component:z,maxLength:V.maxLength,autoSize:V.autoSize,enterIcon:V.enterIcon});const De=()=>{const{expandable:e,symbol:t}=xe;if(!e)return null;let n;return n=t||(null==H?void 0:H.expand),o.createElement("a",{key:"expand",className:`${A}-expand`,onClick:Pe,"aria-label":null==H?void 0:H.expand},n)},Ze=()=>{if(!G)return;const{icon:e,tooltip:t}=V,n=(0,p.Z)(t)[0]||(null==H?void 0:H.edit),r="string"==typeof n?n:"";return Y.includes("icon")?o.createElement(S.Z,{key:"edit",title:!1===t?"":n},o.createElement($.Z,{ref:L,className:`${A}-edit`,onClick:ee,"aria-label":r},e||o.createElement(l.Z,{role:"button"}))):null},_e=()=>{if(!te)return;const{tooltips:e,icon:t}=ne,n=q(e),l=q(t),a=oe?X(n[1],null==H?void 0:H.copied):X(n[0],null==H?void 0:H.copy),s=oe?null==H?void 0:H.copied:null==H?void 0:H.copy,d="string"==typeof a?a:s;return o.createElement(S.Z,{key:"copy",title:a},o.createElement($.Z,{className:c()(`${A}-copy`,oe&&`${A}-copy-success`),onClick:ce,"aria-label":d},oe?X(l[1],o.createElement(r.Z,null),!0):X(l[0],o.createElement(i.Z,null),!0)))};return o.createElement(u.Z,{onResize:(e,t)=>{let{offsetWidth:n}=e;var o;Te(n),Me(parseInt(null===(o=window.getComputedStyle)||void 0===o?void 0:o.call(window,t).fontSize,10)||0)},disabled:!we||Oe},(n=>o.createElement(W,{tooltipProps:He,enabledEllipsis:we,isEllipsis:Ee},o.createElement(Z,Object.assign({className:c()({[`${A}-${k}`]:k,[`${A}-disabled`]:O,[`${A}-ellipsis`]:Se,[`${A}-single-line`]:we&&1===Ce,[`${A}-ellipsis-single-line`]:Ie,[`${A}-ellipsis-multiple-line`]:je},w),prefixCls:x,style:Object.assign(Object.assign({},C),{WebkitLineClamp:je?Ce:void 0}),component:z,ref:(0,b.sQ)(n,D,t),direction:N,onClick:Y.includes("text")?ee:void 0,"aria-label":null==Re?void 0:Re.toString(),title:T},K),o.createElement(F,{enabledMeasure:we&&!Oe,text:E,rows:Ce,width:ze,fontSize:Be,onEllipsis:Ne},((t,n)=>{let r=t;t.length&&n&&Re&&(r=o.createElement("span",{key:"show-content","aria-hidden":!0},r));const i=function(e,t){let{mark:n,code:r,underline:i,delete:l,strong:a,keyboard:c,italic:s}=e,d=t;function u(e,t){t&&(d=o.createElement(e,{},d))}return u("strong",a),u("u",i),u("del",l),u("code",r),u("mark",n),u("kbd",c),u("i",s),d}(e,o.createElement(o.Fragment,null,r,(e=>{return[e&&o.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),xe.suffix,(t=e,[t&&De(),Ze(),_e()])];var t})(n)));return i}))))))})),G=o.forwardRef(((e,t)=>{var{ellipsis:n,rel:r}=e,i=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);ro.createElement(K,Object.assign({ref:t},e,{component:"div"}))));const U=(e,t)=>{var{ellipsis:n}=e,r=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);rn&&"object"==typeof n?(0,m.Z)(n,["expandable","rows"]):n),[n]);return o.createElement(K,Object.assign({ref:t},r,{ellipsis:i,component:"span"}))};var Q=o.forwardRef(U);const Y=[1,2,3,4,5];var J=o.forwardRef(((e,t)=>{const{level:n=1}=e,r=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${(0,$.bf)(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:`${(0,$.bf)(e.padding)} 0`},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`\n &:not(${t}-disabled):hover,\n &-hover:not(${t}-disabled)\n `]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${(0,$.bf)(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${n},\n p${t}-text,\n p${t}-hint\n `]:{color:e.colorTextDisabled}}}}}},y=e=>{const{componentCls:t,antCls:n,iconCls:o,fontSize:r,lineHeight:i,calc:l}=e,a=`${t}-list-item`,c=`${a}-actions`,s=`${a}-action`,d=e.fontHeightSM;return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},(0,f.dF)()),{lineHeight:e.lineHeight,[a]:{position:"relative",height:l(e.lineHeight).mul(r).equal(),marginTop:e.marginXS,fontSize:r,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${a}-name`]:Object.assign(Object.assign({},f.vS),{padding:`0 ${(0,$.bf)(e.paddingXS)}`,lineHeight:i,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[c]:{[s]:{opacity:0},[`${s}${n}-btn-sm`]:{height:d,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`\n ${s}:focus-visible,\n &.picture ${s}\n `]:{opacity:1},[o]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[`&:hover ${o}`]:{color:e.colorText}},[`${t}-icon ${o}`]:{color:e.colorTextDescription,fontSize:r},[`${a}-progress`]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:l(r).add(e.paddingXS).equal(),fontSize:r,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${a}:hover ${s}`]:{opacity:1,color:e.colorText},[`${a}-error`]:{color:e.colorError,[`${a}-name, ${t}-icon ${o}`]:{color:e.colorError},[c]:{[`${o}, ${o}:hover`]:{color:e.colorError},[s]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},S=n(16932);const x=new $.E4("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),w=new $.E4("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var C=e=>{const{componentCls:t}=e,n=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${n}-appear, ${n}-enter, ${n}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${n}-appear, ${n}-enter`]:{animationName:x},[`${n}-leave`]:{animationName:w}}},{[`${t}-wrapper`]:(0,S.J$)(e)},x,w]},k=n(61242),O=n(10274);const E=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:o,uploadProgressOffset:r,calc:i}=e,l=`${t}-list`,a=`${l}-item`;return{[`${t}-wrapper`]:{[`\n ${l}${l}-picture,\n ${l}${l}-picture-card,\n ${l}${l}-picture-circle\n `]:{[a]:{position:"relative",height:i(o).add(i(e.lineWidth).mul(2)).add(i(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${(0,$.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${a}-thumbnail`]:Object.assign(Object.assign({},f.vS),{width:o,height:o,lineHeight:(0,$.bf)(i(o).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${a}-progress`]:{bottom:r,width:`calc(100% - ${(0,$.bf)(i(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:i(o).add(e.paddingXS).equal()}},[`${a}-error`]:{borderColor:e.colorError,[`${a}-thumbnail ${n}`]:{[`svg path[fill='${k.iN[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${k.iN.primary}']`]:{fill:e.colorError}}},[`${a}-uploading`]:{borderStyle:"dashed",[`${a}-name`]:{marginBottom:r}}},[`${l}${l}-picture-circle ${a}`]:{[`&, &::before, ${a}-thumbnail`]:{borderRadius:"50%"}}}}},I=e=>{const{componentCls:t,iconCls:n,fontSizeLG:o,colorTextLightSolid:r,calc:i}=e,l=`${t}-list`,a=`${l}-item`,c=e.uploadPicCardSize;return{[`\n ${t}-wrapper${t}-picture-card-wrapper,\n ${t}-wrapper${t}-picture-circle-wrapper\n `]:Object.assign(Object.assign({},(0,f.dF)()),{display:"inline-block",width:"100%",[`${t}${t}-select`]:{width:c,height:c,marginInlineEnd:e.marginXS,marginBottom:e.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${(0,$.bf)(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${l}${l}-picture-card, ${l}${l}-picture-circle`]:{[`${l}-item-container`]:{display:"inline-block",width:c,height:c,marginBlock:`0 ${(0,$.bf)(e.marginXS)}`,marginInline:`0 ${(0,$.bf)(e.marginXS)}`,verticalAlign:"top"},"&::after":{display:"none"},[a]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${(0,$.bf)(i(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${(0,$.bf)(i(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${a}:hover`]:{[`&::before, ${a}-actions`]:{opacity:1}},[`${a}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[`${n}-eye, ${n}-download, ${n}-delete`]:{zIndex:10,width:o,margin:`0 ${(0,$.bf)(e.marginXXS)}`,fontSize:o,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${a}-actions, ${a}-actions:hover`]:{[`${n}-eye, ${n}-download, ${n}-delete`]:{color:new O.C(r).setAlpha(.65).toRgbString(),"&:hover":{color:r}}},[`${a}-thumbnail, ${a}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${a}-name`]:{display:"none",textAlign:"center"},[`${a}-file + ${a}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${(0,$.bf)(i(e.paddingXS).mul(2).equal())})`},[`${a}-uploading`]:{[`&${a}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${a}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${(0,$.bf)(i(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}};var j=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}};const P=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},(0,f.Wf)(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}};var z=(0,b.I$)("Upload",(e=>{const{fontSizeHeading3:t,fontHeight:n,lineWidth:o,controlHeightLG:r,calc:i}=e,l=(0,h.TS)(e,{uploadThumbnailSize:i(t).mul(2).equal(),uploadProgressOffset:i(i(n).div(2)).add(o).equal(),uploadPicCardSize:i(r).mul(2.55).equal()});return[P(l),v(l),E(l),I(l),y(l),C(l),j(l),(0,m.Z)(l)]}),(e=>({actionsColor:e.colorTextDescription}))),T=n(20406),B=n(7085),M=n(74962),N=n(4810),H=n(5461),R=n(57838),D=n(33603),Z=n(96159),_=n(63568);function L(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function A(e,t){const n=(0,r.Z)(t),o=n.findIndex((t=>{let{uid:n}=t;return n===e.uid}));return-1===o?n.push(e):n[o]=e,n}function F(e,t){const n=void 0!==e.uid?"uid":"name";return t.filter((t=>t[n]===e[n]))[0]}const W=e=>0===e.indexOf("image/"),X=e=>{if(e.type&&!e.thumbUrl)return W(e.type);const t=e.thumbUrl||e.url||"",n=function(){const e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("/"),t=e[e.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(t)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n))||!/^data:/.test(t)&&!n},q=200;function K(e){return new Promise((t=>{if(!e.type||!W(e.type))return void t("");const n=document.createElement("canvas");n.width=q,n.height=q,n.style.cssText="position: fixed; left: 0; top: 0; width: 200px; height: 200px; z-index: 9999; display: none;",document.body.appendChild(n);const o=n.getContext("2d"),r=new Image;if(r.onload=()=>{const{width:e,height:i}=r;let l=q,a=q,c=0,s=0;e>i?(a=i*(q/e),s=-(a-l)/2):(l=e*(q/i),c=-(l-a)/2),o.drawImage(r,c,s,l,a);const d=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(r.src),t(d)},r.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const t=new FileReader;t.onload=()=>{t.result&&(r.src=t.result)},t.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const n=new FileReader;n.onload=()=>{n.result&&t(n.result)},n.readAsDataURL(e)}else r.src=window.URL.createObjectURL(e)}))}var G=n(73171),V=n(90631),U=n(95357),Q=n(98879),Y=n(53807);const J=o.forwardRef(((e,t)=>{let{prefixCls:n,className:r,style:i,locale:l,listType:c,file:s,items:u,progress:p,iconRender:g,actionIconRender:f,itemRender:m,isImgUrl:b,showPreviewIcon:h,showRemoveIcon:$,showDownloadIcon:v,previewIcon:y,removeIcon:S,downloadIcon:x,onPreview:w,onDownload:C,onClose:k}=e;var O,E;const{status:I}=s,[j,P]=o.useState(I);o.useEffect((()=>{"removed"!==I&&P(I)}),[I]);const[z,T]=o.useState(!1);o.useEffect((()=>{const e=setTimeout((()=>{T(!0)}),300);return()=>{clearTimeout(e)}}),[]);const B=g(s);let M=o.createElement("div",{className:`${n}-icon`},B);if("picture"===c||"picture-card"===c||"picture-circle"===c)if("uploading"===j||!s.thumbUrl&&!s.url){const e=a()(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:"uploading"!==j});M=o.createElement("div",{className:e},B)}else{const e=(null==b?void 0:b(s))?o.createElement("img",{src:s.thumbUrl||s.url,alt:s.name,className:`${n}-list-item-image`,crossOrigin:s.crossOrigin}):B,t=a()(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:b&&!b(s)});M=o.createElement("a",{className:t,onClick:e=>w(s,e),href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer"},e)}const N=a()(`${n}-list-item`,`${n}-list-item-${j}`),R="string"==typeof s.linkProps?JSON.parse(s.linkProps):s.linkProps,D=$?f(("function"==typeof S?S(s):S)||o.createElement(G.Z,null),(()=>k(s)),n,l.removeFile):null,Z=v&&"done"===j?f(("function"==typeof x?x(s):x)||o.createElement(V.Z,null),(()=>C(s)),n,l.downloadFile):null,_="picture-card"!==c&&"picture-circle"!==c&&o.createElement("span",{key:"download-delete",className:a()(`${n}-list-item-actions`,{picture:"picture"===c})},Z,D),L=a()(`${n}-list-item-name`),A=s.url?[o.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:L,title:s.name},R,{href:s.url,onClick:e=>w(s,e)}),s.name),_]:[o.createElement("span",{key:"view",className:L,onClick:e=>w(s,e),title:s.name},s.name),_],F=h?o.createElement("a",{href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:s.url||s.thumbUrl?void 0:{pointerEvents:"none",opacity:.5},onClick:e=>w(s,e),title:l.previewFile},"function"==typeof y?y(s):y||o.createElement(U.Z,null)):null,W=("picture-card"===c||"picture-circle"===c)&&"uploading"!==j&&o.createElement("span",{className:`${n}-list-item-actions`},F,"done"===j&&Z,D),{getPrefixCls:X}=o.useContext(d.E_),q=X(),K=o.createElement("div",{className:N},M,A,W,z&&o.createElement(H.ZP,{motionName:`${q}-fade`,visible:"uploading"===j,motionDeadline:2e3},(e=>{let{className:t}=e;const r="percent"in s?o.createElement(Q.Z,Object.assign({},p,{type:"line",percent:s.percent,"aria-label":s["aria-label"],"aria-labelledby":s["aria-labelledby"]})):null;return o.createElement("div",{className:a()(`${n}-list-item-progress`,t)},r)}))),J=s.response&&"string"==typeof s.response?s.response:(null===(O=s.error)||void 0===O?void 0:O.statusText)||(null===(E=s.error)||void 0===E?void 0:E.message)||l.uploadError,ee="error"===j?o.createElement(Y.Z,{title:J,getPopupContainer:e=>e.parentNode},K):K;return o.createElement("div",{className:a()(`${n}-list-item-container`,r),style:i,ref:t},m?m(ee,s,u,{download:C.bind(null,s),preview:w.bind(null,s),remove:k.bind(null,s)}):ee)}));var ee=J;const te=(e,t)=>{const{listType:n="text",previewFile:i=K,onPreview:l,onDownload:c,onRemove:s,locale:u,iconRender:p,isImageUrl:g=X,prefixCls:f,items:m=[],showPreviewIcon:b=!0,showRemoveIcon:h=!0,showDownloadIcon:$=!1,removeIcon:v,previewIcon:y,downloadIcon:S,progress:x={size:[-1,2],showInfo:!1},appendAction:w,appendActionVisible:C=!0,itemRender:k,disabled:O}=e,E=(0,R.Z)(),[I,j]=o.useState(!1);o.useEffect((()=>{"picture"!==n&&"picture-card"!==n&&"picture-circle"!==n||(m||[]).forEach((e=>{"undefined"!=typeof document&&"undefined"!=typeof window&&window.FileReader&&window.File&&(e.originFileObj instanceof File||e.originFileObj instanceof Blob)&&void 0===e.thumbUrl&&(e.thumbUrl="",i&&i(e.originFileObj).then((t=>{e.thumbUrl=t||"",E()})))}))}),[n,m,i]),o.useEffect((()=>{j(!0)}),[]);const P=(e,t)=>{if(l)return null==t||t.preventDefault(),l(e)},z=e=>{"function"==typeof c?c(e):e.url&&window.open(e.url)},L=e=>{null==s||s(e)},A=e=>{if(p)return p(e,n);const t="uploading"===e.status,r=g&&g(e)?o.createElement(N.Z,null):o.createElement(T.Z,null);let i=t?o.createElement(B.Z,null):o.createElement(M.Z,null);return"picture"===n?i=t?o.createElement(B.Z,null):r:"picture-card"!==n&&"picture-circle"!==n||(i=t?u.uploading:r),i},F=(e,t,n,r)=>{const i={type:"text",size:"small",title:r,onClick:n=>{t(),(0,Z.l$)(e)&&e.props.onClick&&e.props.onClick(n)},className:`${n}-list-item-action`,disabled:O};if((0,Z.l$)(e)){const t=(0,Z.Tm)(e,Object.assign(Object.assign({},e.props),{onClick:()=>{}}));return o.createElement(_.ZP,Object.assign({},i,{icon:t}))}return o.createElement(_.ZP,Object.assign({},i),o.createElement("span",null,e))};o.useImperativeHandle(t,(()=>({handlePreview:P,handleDownload:z})));const{getPrefixCls:W}=o.useContext(d.E_),q=W("upload",f),G=W(),V=a()(`${q}-list`,`${q}-list-${n}`),U=(0,r.Z)(m.map((e=>({key:e.uid,file:e}))));let Q={motionDeadline:2e3,motionName:`${q}-${"picture-card"===n||"picture-circle"===n?"animate-inline":"animate"}`,keys:U,motionAppear:I};const Y=o.useMemo((()=>{const e=Object.assign({},(0,D.Z)(G));return delete e.onAppearEnd,delete e.onEnterEnd,delete e.onLeaveEnd,e}),[G]);return"picture-card"!==n&&"picture-circle"!==n&&(Q=Object.assign(Object.assign({},Y),Q)),o.createElement("div",{className:V},o.createElement(H.V4,Object.assign({},Q,{component:!1}),(e=>{let{key:t,file:r,className:i,style:l}=e;return o.createElement(ee,{key:t,locale:u,prefixCls:q,className:i,style:l,file:r,items:m,progress:x,listType:n,isImgUrl:g,showPreviewIcon:b,showRemoveIcon:h,showDownloadIcon:$,removeIcon:v,previewIcon:y,downloadIcon:S,iconRender:A,actionIconRender:F,itemRender:k,onPreview:P,onDownload:z,onClose:L})})),w&&o.createElement(H.ZP,Object.assign({},Q,{visible:C,forceRender:!0}),(e=>{let{className:t,style:n}=e;return(0,Z.Tm)(w,(e=>({className:a()(e.className,t),style:Object.assign(Object.assign(Object.assign({},n),{pointerEvents:t?"none":void 0}),e.style)})))})))};var ne=o.forwardRef(te);const oe=`__LIST_IGNORE_${Date.now()}__`,re=(e,t)=>{const{fileList:n,defaultFileList:l,onRemove:f,showUploadList:m=!0,listType:b="text",onPreview:h,onDownload:$,onChange:v,onDrop:y,previewFile:S,disabled:x,locale:w,iconRender:C,isImageUrl:k,progress:O,prefixCls:E,className:I,type:j="select",children:P,style:T,itemRender:B,maxCount:M,data:N={},multiple:H=!1,action:R="",accept:D="",supportServerRender:Z=!0,rootClassName:_}=e,W=o.useContext(u.Z),X=null!=x?x:W,[q,K]=(0,s.Z)(l||[],{value:n,postState:e=>null!=e?e:[]}),[G,V]=o.useState("drop"),U=o.useRef(null);o.useMemo((()=>{const e=Date.now();(n||[]).forEach(((t,n)=>{t.uid||Object.isFrozen(t)||(t.uid=`__AUTO__${e}_${n}__`)}))}),[n]);const Q=(e,t,n)=>{let o=(0,r.Z)(t),l=!1;1===M?o=o.slice(-1):M&&(l=o.length>M,o=o.slice(0,M)),(0,i.flushSync)((()=>{K(o)}));const a={file:e,fileList:o};n&&(a.event=n),l&&!o.some((t=>t.uid===e.uid))||(0,i.flushSync)((()=>{null==v||v(a)}))},Y=e=>{const t=e.filter((e=>!e.file[oe]));if(!t.length)return;const n=t.map((e=>L(e.file)));let o=(0,r.Z)(q);n.forEach((e=>{o=A(e,o)})),n.forEach(((e,n)=>{let r=e;if(t[n].parsedFile)e.status="uploading";else{const{originFileObj:t}=e;let n;try{n=new File([t],t.name,{type:t.type})}catch(e){n=new Blob([t],{type:t.type}),n.name=t.name,n.lastModifiedDate=new Date,n.lastModified=(new Date).getTime()}n.uid=e.uid,r=n}Q(r,o)}))},J=(e,t,n)=>{try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}if(!F(t,q))return;const o=L(t);o.status="done",o.percent=100,o.response=e,o.xhr=n;const r=A(o,q);Q(o,r)},ee=(e,t)=>{if(!F(t,q))return;const n=L(t);n.status="uploading",n.percent=e.percent;const o=A(n,q);Q(n,o,e)},te=(e,t,n)=>{if(!F(n,q))return;const o=L(n);o.error=e,o.response=t,o.status="error";const r=A(o,q);Q(o,r)},re=e=>{let t;Promise.resolve("function"==typeof f?f(e):f).then((n=>{var o;if(!1===n)return;const r=function(e,t){const n=void 0!==e.uid?"uid":"name",o=t.filter((t=>t[n]!==e[n]));return o.length===t.length?null:o}(e,q);r&&(t=Object.assign(Object.assign({},e),{status:"removed"}),null==q||q.forEach((e=>{const n=void 0!==t.uid?"uid":"name";e[n]!==t[n]||Object.isFrozen(e)||(e.status="removed")})),null===(o=U.current)||void 0===o||o.abort(t),Q(t,r))}))},ie=e=>{V(e.type),"drop"===e.type&&(null==y||y(e))};o.useImperativeHandle(t,(()=>({onBatchStart:Y,onSuccess:J,onProgress:ee,onError:te,fileList:q,upload:U.current})));const{getPrefixCls:le,direction:ae,upload:ce}=o.useContext(d.E_),se=le("upload",E),de=Object.assign(Object.assign({onBatchStart:Y,onError:te,onProgress:ee,onSuccess:J},e),{data:N,multiple:H,action:R,accept:D,supportServerRender:Z,prefixCls:se,disabled:X,beforeUpload:(t,n)=>{return o=void 0,r=void 0,l=function*(){const{beforeUpload:o,transformFile:r}=e;let i=t;if(o){const e=yield o(t,n);if(!1===e)return!1;if(delete t[oe],e===oe)return Object.defineProperty(t,oe,{value:!0,configurable:!0}),!1;"object"==typeof e&&e&&(i=e)}return r&&(i=yield r(i)),i},new((i=void 0)||(i=Promise))((function(e,t){function n(e){try{c(l.next(e))}catch(e){t(e)}}function a(e){try{c(l.throw(e))}catch(e){t(e)}}function c(t){var o;t.done?e(t.value):(o=t.value,o instanceof i?o:new i((function(e){e(o)}))).then(n,a)}c((l=l.apply(o,r||[])).next())}));var o,r,i,l},onChange:void 0});delete de.className,delete de.style,P&&!X||delete de.id;const ue=`${se}-wrapper`,[pe,ge]=z(se,ue),[fe]=(0,p.Z)("Upload",g.Z.Upload),{showRemoveIcon:me,showPreviewIcon:be,showDownloadIcon:he,removeIcon:$e,previewIcon:ve,downloadIcon:ye}="boolean"==typeof m?{}:m,Se=void 0===me?!X:!!me,xe=(e,t)=>m?o.createElement(ne,{prefixCls:se,listType:b,items:q,previewFile:S,onPreview:h,onDownload:$,onRemove:re,showRemoveIcon:Se,showPreviewIcon:be,showDownloadIcon:he,removeIcon:$e,previewIcon:ve,downloadIcon:ye,iconRender:C,locale:Object.assign(Object.assign({},fe),w),isImageUrl:k,progress:O,appendAction:e,appendActionVisible:t,itemRender:B,disabled:X}):e,we=a()(ue,I,_,ge,null==ce?void 0:ce.className,{[`${se}-rtl`]:"rtl"===ae,[`${se}-picture-card-wrapper`]:"picture-card"===b,[`${se}-picture-circle-wrapper`]:"picture-circle"===b}),Ce=Object.assign(Object.assign({},null==ce?void 0:ce.style),T);if("drag"===j){const e=a()(ge,se,`${se}-drag`,{[`${se}-drag-uploading`]:q.some((e=>"uploading"===e.status)),[`${se}-drag-hover`]:"dragover"===G,[`${se}-disabled`]:X,[`${se}-rtl`]:"rtl"===ae});return pe(o.createElement("span",{className:we},o.createElement("div",{className:e,style:Ce,onDrop:ie,onDragOver:ie,onDragLeave:ie},o.createElement(c.Z,Object.assign({},de,{ref:U,className:`${se}-btn`}),o.createElement("div",{className:`${se}-drag-container`},P))),xe()))}const ke=a()(se,`${se}-select`,{[`${se}-disabled`]:X}),Oe=(Ee=P?void 0:{display:"none"},o.createElement("div",{className:ke,style:Ee},o.createElement(c.Z,Object.assign({},de,{ref:U}))));var Ee;return pe("picture-card"===b||"picture-circle"===b?o.createElement("span",{className:we},xe(Oe,!!P)):o.createElement("span",{className:we},Oe,xe()))};var ie=o.forwardRef(re);const le=o.forwardRef(((e,t)=>{var{style:n,height:r}=e,i=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r{if(o){const r=e?o.querySelector(e):o;t.add(r),n.current=r}else t.remove(n.current)}))}},80037:function(e,t,n){var o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(5584));t.default=r.default},5584:function(e,t,n){var o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(50865)),i=o(n(15704));const l={lang:Object.assign({placeholder:"请选择日期",yearPlaceholder:"请选择年份",quarterPlaceholder:"请选择季度",monthPlaceholder:"请选择月份",weekPlaceholder:"请选择周",rangePlaceholder:["开始日期","结束日期"],rangeYearPlaceholder:["开始年份","结束年份"],rangeMonthPlaceholder:["开始月份","结束月份"],rangeQuarterPlaceholder:["开始季度","结束季度"],rangeWeekPlaceholder:["开始周","结束周"]},r.default),timePickerLocale:Object.assign({},i.default)};l.lang.ok="确定",t.default=l},82925:function(e,t,n){var o=n(64836).default;t.Z=void 0;var r=o(n(74219)),i=o(n(80037)),l=o(n(5584)),a=o(n(15704));const c="${label}不是一个有效的${type}",s={locale:"zh-cn",Pagination:r.default,DatePicker:l.default,TimePicker:a.default,Calendar:i.default,global:{placeholder:"请选择"},Table:{filterTitle:"筛选",filterConfirm:"确定",filterReset:"重置",filterEmptyText:"无筛选项",filterCheckall:"全选",filterSearchPlaceholder:"在筛选项中搜索",selectAll:"全选当页",selectInvert:"反选当页",selectNone:"清空所有",selectionAll:"全选所有",sortTitle:"排序",expand:"展开行",collapse:"关闭行",triggerDesc:"点击降序",triggerAsc:"点击升序",cancelSort:"取消排序"},Modal:{okText:"确定",cancelText:"取消",justOkText:"知道了"},Tour:{Next:"下一步",Previous:"上一步",Finish:"结束导览"},Popconfirm:{cancelText:"取消",okText:"确定"},Transfer:{titles:["",""],searchPlaceholder:"请输入搜索内容",itemUnit:"项",itemsUnit:"项",remove:"删除",selectCurrent:"全选当页",removeCurrent:"删除当页",selectAll:"全选所有",removeAll:"删除全部",selectInvert:"反选当页"},Upload:{uploading:"文件上传中",removeFile:"删除文件",uploadError:"上传错误",previewFile:"预览文件",downloadFile:"下载文件"},Empty:{description:"暂无数据"},Icon:{icon:"图标"},Text:{edit:"编辑",copy:"复制",copied:"复制成功",expand:"展开"},PageHeader:{back:"返回"},Form:{optional:"(可选)",defaultValidateMessages:{default:"字段验证错误${label}",required:"请输入${label}",enum:"${label}必须是其中一个[${enum}]",whitespace:"${label}不能为空字符",date:{format:"${label}日期格式无效",parse:"${label}不能转换为日期",invalid:"${label}是一个无效日期"},types:{string:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},string:{len:"${label}须为${len}个字符",min:"${label}最少${min}个字符",max:"${label}最多${max}个字符",range:"${label}须在${min}-${max}字符之间"},number:{len:"${label}必须等于${len}",min:"${label}最小值为${min}",max:"${label}最大值为${max}",range:"${label}须在${min}-${max}之间"},array:{len:"须为${len}个${label}",min:"最少${min}个${label}",max:"最多${max}个${label}",range:"${label}数量须在${min}-${max}之间"},pattern:{mismatch:"${label}与模式不匹配${pattern}"}}},Image:{preview:"预览"},QRCode:{expired:"二维码过期",refresh:"点击刷新"},ColorPicker:{presetEmpty:"暂无"}};t.Z=s},15704:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={placeholder:"请选择时间",rangePlaceholder:["开始时间","结束时间"]}},36905:function(e,t,n){n.d(t,{Z:function(){return d}});const o=e=>"object"==typeof e&&null!=e&&1===e.nodeType,r=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,i=(e,t)=>{if(e.clientHeight{const t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeightit||i>e&&l=t&&a>=n?i-e-o:l>t&&an?l-t+r:0,a=e=>{const t=e.parentElement;return null==t?e.getRootNode().host||null:t},c=(e,t)=>{var n,r,c,s;if("undefined"==typeof document)return[];const{scrollMode:d,block:u,inline:p,boundary:g,skipOverflowHiddenElements:f}=t,m="function"==typeof g?g:e=>e!==g;if(!o(e))throw new TypeError("Invalid target");const b=document.scrollingElement||document.documentElement,h=[];let $=e;for(;o($)&&m($);){if($=a($),$===b){h.push($);break}null!=$&&$===document.body&&i($)&&!i(document.documentElement)||null!=$&&i($,f)&&h.push($)}const v=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,y=null!=(s=null==(c=window.visualViewport)?void 0:c.height)?s:innerHeight,{scrollX:S,scrollY:x}=window,{height:w,width:C,top:k,right:O,bottom:E,left:I}=e.getBoundingClientRect(),{top:j,right:P,bottom:z,left:T}=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);let B="start"===u||"nearest"===u?k-j:"end"===u?E+z:k+w/2-j+z,M="center"===p?I+C/2-T+P:"end"===p?O+P:I-T;const N=[];for(let e=0;e=0&&I>=0&&E<=y&&O<=v&&k>=r&&E<=a&&I>=c&&O<=i)return N;const s=getComputedStyle(t),g=parseInt(s.borderLeftWidth,10),f=parseInt(s.borderTopWidth,10),m=parseInt(s.borderRightWidth,10),$=parseInt(s.borderBottomWidth,10);let j=0,P=0;const z="offsetWidth"in t?t.offsetWidth-t.clientWidth-g-m:0,T="offsetHeight"in t?t.offsetHeight-t.clientHeight-f-$:0,H="offsetWidth"in t?0===t.offsetWidth?0:o/t.offsetWidth:0,R="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(b===t)j="start"===u?B:"end"===u?B-y:"nearest"===u?l(x,x+y,y,f,$,x+B,x+B+w,w):B-y/2,P="start"===p?M:"center"===p?M-v/2:"end"===p?M-v:l(S,S+v,v,g,m,S+M,S+M+C,C),j=Math.max(0,j+x),P=Math.max(0,P+S);else{j="start"===u?B-r-f:"end"===u?B-a+$+T:"nearest"===u?l(r,a,n,f,$+T,B,B+w,w):B-(r+n/2)+T/2,P="start"===p?M-c-g:"center"===p?M-(c+o/2)+z/2:"end"===p?M-i+m+z:l(c,i,o,g,m+z,M,M+C,C);const{scrollLeft:e,scrollTop:s}=t;j=0===R?0:Math.max(0,Math.min(s+j/R,t.scrollHeight-n/R+T)),P=0===H?0:Math.max(0,Math.min(e+P/H,t.scrollWidth-o/H+z)),B+=s-j,M+=e-P}N.push({el:t,top:j,left:P})}return N},s=e=>!1===e?{block:"end",inline:"nearest"}:(e=>e===Object(e)&&0!==Object.keys(e).length)(e)?e:{block:"start",inline:"nearest"};function d(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;const n=(e=>{const t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if((e=>"object"==typeof e&&"function"==typeof e.behavior)(t))return t.behavior(c(e,t));const o="boolean"==typeof t||null==t?void 0:t.behavior;for(const{el:r,top:i,left:l}of c(e,s(t))){const e=i-n.top+n.bottom,t=l-n.left+n.right;r.scroll({top:e,left:t,behavior:o})}}}}]);