vdi/web-fe/serve/dist/725.async.js

2 lines
37 KiB
JavaScript

"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[725],{3552:function(me,U,a){a.d(U,{Z:function(){return Y}});var o=a(66283),c=a(75271),j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"},L=j,J=a(60101),w=function(q,D){return c.createElement(J.Z,(0,o.Z)({},q,{ref:D,icon:L}))},Z=c.forwardRef(w),Y=Z},97315:function(me,U,a){a.d(U,{Z:function(){return Y}});var o=a(66283),c=a(75271),j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},L=j,J=a(60101),w=function(q,D){return c.createElement(J.Z,(0,o.Z)({},q,{ref:D,icon:L}))},Z=c.forwardRef(w),Y=Z},30661:function(me,U,a){a.d(U,{Z:function(){return Y}});var o=a(66283),c=a(75271),j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"}}]},name:"history",theme:"outlined"},L=j,J=a(60101),w=function(q,D){return c.createElement(J.Z,(0,o.Z)({},q,{ref:D,icon:L}))},Z=c.forwardRef(w),Y=Z},39290:function(me,U,a){a.d(U,{Z:function(){return Y}});var o=a(66283),c=a(75271),j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5l-41.1 41.1-62.3-62.3a8.15 8.15 0 00-11.4 0l-39.8 39.8a8.15 8.15 0 000 11.4l62.3 62.3-44.9 44.9-62.3-62.3a8.15 8.15 0 00-11.4 0l-39.8 39.8a8.15 8.15 0 000 11.4l62.3 62.3-65.3 65.3a8.03 8.03 0 000 11.3l42.3 42.3c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6A304.06 304.06 0 00608 720c167.9 0 304-136.1 304-304S775.9 112 608 112zm161.2 465.2C726.2 620.3 668.9 644 608 644c-60.9 0-118.2-23.7-161.2-66.8-43.1-43-66.8-100.3-66.8-161.2 0-60.9 23.7-118.2 66.8-161.2 43-43.1 100.3-66.8 161.2-66.8 60.9 0 118.2 23.7 161.2 66.8 43.1 43 66.8 100.3 66.8 161.2 0 60.9-23.7 118.2-66.8 161.2z"}}]},name:"key",theme:"outlined"},L=j,J=a(60101),w=function(q,D){return c.createElement(J.Z,(0,o.Z)({},q,{ref:D,icon:L}))},Z=c.forwardRef(w),Y=Z},22789:function(me,U,a){a.d(U,{Z:function(){return Y}});var o=a(66283),c=a(75271),j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},L=j,J=a(60101),w=function(q,D){return c.createElement(J.Z,(0,o.Z)({},q,{ref:D,icon:L}))},Z=c.forwardRef(w),Y=Z},6300:function(me,U,a){a.d(U,{Z:function(){return Y}});var o=a(66283),c=a(75271),j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zM402.9 528.8l-77.5 77.5a8.03 8.03 0 000 11.3l34 34c3.1 3.1 8.2 3.1 11.3 0l77.5-77.5c55.7 35.1 130.1 28.4 178.6-20.1 56.3-56.3 56.3-147.5 0-203.8-56.3-56.3-147.5-56.3-203.8 0-48.5 48.5-55.2 123-20.1 178.6zm65.4-133.3c31.3-31.3 82-31.3 113.2 0 31.3 31.3 31.3 82 0 113.2-31.3 31.3-82 31.3-113.2 0s-31.3-81.9 0-113.2z"}}]},name:"security-scan",theme:"outlined"},L=j,J=a(60101),w=function(q,D){return c.createElement(J.Z,(0,o.Z)({},q,{ref:D,icon:L}))},Z=c.forwardRef(w),Y=Z},85106:function(me,U,a){a.d(U,{Z:function(){return be}});var o=a(75271),c=a(82187),j=a.n(c),L=a(1728),J=a(42684),w=a(39594),Z=a(70436),Y=a(22123),ae=a(44413),q=a(88198),ge=o.createContext({}),Se=a(89260),fe=a(67083),Ce=a(89348),ze=a(30509);const xe=S=>{const{antCls:M,componentCls:B,iconCls:x,avatarBg:v,avatarColor:n,containerSize:i,containerSizeLG:e,containerSizeSM:t,textFontSize:l,textFontSizeLG:r,textFontSizeSM:s,borderRadius:g,borderRadiusLG:d,borderRadiusSM:O,lineWidth:p,lineType:C}=S,m=(u,z,h)=>({width:u,height:u,borderRadius:"50%",[`&${B}-square`]:{borderRadius:h},[`&${B}-icon`]:{fontSize:z,[`> ${x}`]:{margin:0}}});return{[B]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,fe.Wf)(S)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:n,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:v,border:`${(0,Se.bf)(p)} ${C} transparent`,"&-image":{background:"transparent"},[`${M}-image-img`]:{display:"block"}}),m(i,l,g)),{"&-lg":Object.assign({},m(e,r,d)),"&-sm":Object.assign({},m(t,s,O)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},y=S=>{const{componentCls:M,groupBorderColor:B,groupOverlapping:x,groupSpace:v}=S;return{[`${M}-group`]:{display:"inline-flex",[M]:{borderColor:B},"> *:not(:first-child)":{marginInlineStart:x}},[`${M}-group-popover`]:{[`${M} + ${M}`]:{marginInlineStart:v}}}},$=S=>{const{controlHeight:M,controlHeightLG:B,controlHeightSM:x,fontSize:v,fontSizeLG:n,fontSizeXL:i,fontSizeHeading3:e,marginXS:t,marginXXS:l,colorBorderBg:r}=S;return{containerSize:M,containerSizeLG:B,containerSizeSM:x,textFontSize:Math.round((n+i)/2),textFontSizeLG:e,textFontSizeSM:v,groupSpace:l,groupOverlapping:-t,groupBorderColor:r}};var ee=(0,Ce.I$)("Avatar",S=>{const{colorTextLightSolid:M,colorTextPlaceholder:B}=S,x=(0,ze.IX)(S,{avatarBg:B,avatarColor:M});return[xe(x),y(x)]},$),H=function(S,M){var B={};for(var x in S)Object.prototype.hasOwnProperty.call(S,x)&&M.indexOf(x)<0&&(B[x]=S[x]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,x=Object.getOwnPropertySymbols(S);v<x.length;v++)M.indexOf(x[v])<0&&Object.prototype.propertyIsEnumerable.call(S,x[v])&&(B[x[v]]=S[x[v]]);return B},T=o.forwardRef((S,M)=>{const{prefixCls:B,shape:x,size:v,src:n,srcSet:i,icon:e,className:t,rootClassName:l,style:r,alt:s,draggable:g,children:d,crossOrigin:O,gap:p=4,onError:C}=S,m=H(S,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","style","alt","draggable","children","crossOrigin","gap","onError"]),[u,z]=o.useState(1),[h,A]=o.useState(!1),[b,E]=o.useState(!0),f=o.useRef(null),X=o.useRef(null),k=(0,J.sQ)(M,f),{getPrefixCls:N,avatar:I}=o.useContext(Z.E_),P=o.useContext(ge),W=()=>{if(!X.current||!f.current)return;const V=X.current.offsetWidth,K=f.current.offsetWidth;V!==0&&K!==0&&p*2<K&&z(K-p*2<V?(K-p*2)/V:1)};o.useEffect(()=>{A(!0)},[]),o.useEffect(()=>{E(!0),z(1)},[n]),o.useEffect(W,[p]);const oe=()=>{(C==null?void 0:C())!==!1&&E(!1)},R=(0,ae.Z)(V=>{var K,Oe;return(Oe=(K=v!=null?v:P==null?void 0:P.size)!==null&&K!==void 0?K:V)!==null&&Oe!==void 0?Oe:"default"}),ue=Object.keys(typeof R=="object"?R||{}:{}).some(V=>["xs","sm","md","lg","xl","xxl"].includes(V)),$e=(0,q.Z)(ue),Ie=o.useMemo(()=>{if(typeof R!="object")return{};const V=w.c4.find(Oe=>$e[Oe]),K=R[V];return K?{width:K,height:K,fontSize:K&&(e||d)?K/2:18}:{}},[$e,R]),_=N("avatar",B),je=(0,Y.Z)(_),[Ee,Ne,Pe]=ee(_,je),Me=j()({[`${_}-lg`]:R==="large",[`${_}-sm`]:R==="small"}),de=o.isValidElement(n),F=x||(P==null?void 0:P.shape)||"circle",Re=j()(_,Me,I==null?void 0:I.className,`${_}-${F}`,{[`${_}-image`]:de||n&&b,[`${_}-icon`]:!!e},Pe,je,t,l,Ne),He=typeof R=="number"?{width:R,height:R,fontSize:e?R/2:18}:{};let ye;if(typeof n=="string"&&b)ye=o.createElement("img",{src:n,draggable:g,srcSet:i,onError:oe,alt:s,crossOrigin:O});else if(de)ye=n;else if(e)ye=e;else if(h||u!==1){const V=`scale(${u})`,K={msTransform:V,WebkitTransform:V,transform:V};ye=o.createElement(L.Z,{onResize:W},o.createElement("span",{className:`${_}-string`,ref:X,style:Object.assign({},K)},d))}else ye=o.createElement("span",{className:`${_}-string`,style:{opacity:0},ref:X},d);return Ee(o.createElement("span",Object.assign({},m,{style:Object.assign(Object.assign(Object.assign(Object.assign({},He),Ie),I==null?void 0:I.style),r),className:Re,ref:k}),ye))}),ne=a(81626),ie=a(48349),re=a(58135);const pe=S=>{const{size:M,shape:B}=o.useContext(ge),x=o.useMemo(()=>({size:S.size||M,shape:S.shape||B}),[S.size,S.shape,M,B]);return o.createElement(ge.Provider,{value:x},S.children)};var ce=S=>{var M,B,x,v;const{getPrefixCls:n,direction:i}=o.useContext(Z.E_),{prefixCls:e,className:t,rootClassName:l,style:r,maxCount:s,maxStyle:g,size:d,shape:O,maxPopoverPlacement:p,maxPopoverTrigger:C,children:m,max:u}=S,z=n("avatar",e),h=`${z}-group`,A=(0,Y.Z)(z),[b,E,f]=ee(z,A),X=j()(h,{[`${h}-rtl`]:i==="rtl"},f,A,t,l,E),k=(0,ne.Z)(m).map((P,W)=>(0,ie.Tm)(P,{key:`avatar-key-${W}`})),N=(u==null?void 0:u.count)||s,I=k.length;if(N&&N<I){const P=k.slice(0,N),W=k.slice(N,I),oe=(u==null?void 0:u.style)||g,R=((M=u==null?void 0:u.popover)===null||M===void 0?void 0:M.trigger)||C||"hover",ue=((B=u==null?void 0:u.popover)===null||B===void 0?void 0:B.placement)||p||"top",$e=Object.assign(Object.assign({content:W},u==null?void 0:u.popover),{classNames:{root:j()(`${h}-popover`,(v=(x=u==null?void 0:u.popover)===null||x===void 0?void 0:x.classNames)===null||v===void 0?void 0:v.root)},placement:ue,trigger:R});return P.push(o.createElement(re.Z,Object.assign({key:"avatar-popover-key",destroyOnHidden:!0},$e),o.createElement(T,{style:oe},`+${I-N}`))),b(o.createElement(pe,{shape:O,size:d},o.createElement("div",{className:X,style:r},P)))}return b(o.createElement(pe,{shape:O,size:d},o.createElement("div",{className:X,style:r},k)))};const he=T;he.Group=ce;var be=he},43041:function(me,U,a){a.d(U,{Z:function(){return i}});var o=a(75271),c=a(82187),j=a.n(c),L=a(39594),J=a(70436),w=a(44413),Z=a(88198),ae={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1},D=o.createContext({}),ge=a(81626),Se=function(e,t){var l={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(l[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(l[r[s]]=e[r[s]]);return l};const fe=e=>(0,ge.Z)(e).map(t=>Object.assign(Object.assign({},t==null?void 0:t.props),{key:t.key}));function Ce(e,t,l){const r=o.useMemo(()=>t||fe(l),[t,l]);return o.useMemo(()=>r.map(g=>{var{span:d}=g,O=Se(g,["span"]);return d==="filled"?Object.assign(Object.assign({},O),{filled:!0}):Object.assign(Object.assign({},O),{span:typeof d=="number"?d:(0,L.m9)(e,d)})}),[r,e])}var ze=function(e,t){var l={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(l[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(l[r[s]]=e[r[s]]);return l};function xe(e,t){let l=[],r=[],s=!1,g=0;return e.filter(d=>d).forEach(d=>{const{filled:O}=d,p=ze(d,["filled"]);if(O){r.push(p),l.push(r),r=[],g=0;return}const C=t-g;g+=d.span||1,g>=t?(g>t?(s=!0,r.push(Object.assign(Object.assign({},p),{span:C}))):r.push(p),l.push(r),r=[],g=0):r.push(p)}),r.length>0&&l.push(r),l=l.map(d=>{const O=d.reduce((p,C)=>p+(C.span||1),0);if(O<t){const p=d[d.length-1];return p.span=t-(O-(p.span||1)),d}return d}),[l,s]}var $=(e,t)=>{const[l,r]=(0,o.useMemo)(()=>xe(t,e),[t,e]);return l},H=({children:e})=>e;function G(e){return e!=null}var ne=e=>{const{itemPrefixCls:t,component:l,span:r,className:s,style:g,labelStyle:d,contentStyle:O,bordered:p,label:C,content:m,colon:u,type:z,styles:h}=e,A=l,b=o.useContext(D),{classNames:E}=b;return p?o.createElement(A,{className:j()({[`${t}-item-label`]:z==="label",[`${t}-item-content`]:z==="content",[`${E==null?void 0:E.label}`]:z==="label",[`${E==null?void 0:E.content}`]:z==="content"},s),style:g,colSpan:r},G(C)&&o.createElement("span",{style:Object.assign(Object.assign({},d),h==null?void 0:h.label)},C),G(m)&&o.createElement("span",{style:Object.assign(Object.assign({},d),h==null?void 0:h.content)},m)):o.createElement(A,{className:j()(`${t}-item`,s),style:g,colSpan:r},o.createElement("div",{className:`${t}-item-container`},(C||C===0)&&o.createElement("span",{className:j()(`${t}-item-label`,E==null?void 0:E.label,{[`${t}-item-no-colon`]:!u}),style:Object.assign(Object.assign({},d),h==null?void 0:h.label)},C),(m||m===0)&&o.createElement("span",{className:j()(`${t}-item-content`,E==null?void 0:E.content),style:Object.assign(Object.assign({},O),h==null?void 0:h.content)},m)))};function ie(e,{colon:t,prefixCls:l,bordered:r},{component:s,type:g,showLabel:d,showContent:O,labelStyle:p,contentStyle:C,styles:m}){return e.map(({label:u,children:z,prefixCls:h=l,className:A,style:b,labelStyle:E,contentStyle:f,span:X=1,key:k,styles:N},I)=>typeof s=="string"?o.createElement(ne,{key:`${g}-${k||I}`,className:A,style:b,styles:{label:Object.assign(Object.assign(Object.assign(Object.assign({},p),m==null?void 0:m.label),E),N==null?void 0:N.label),content:Object.assign(Object.assign(Object.assign(Object.assign({},C),m==null?void 0:m.content),f),N==null?void 0:N.content)},span:X,colon:t,component:s,itemPrefixCls:h,bordered:r,label:d?u:null,content:O?z:null,type:g}):[o.createElement(ne,{key:`label-${k||I}`,className:A,style:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},p),m==null?void 0:m.label),b),E),N==null?void 0:N.label),span:1,colon:t,component:s[0],itemPrefixCls:h,bordered:r,label:u,type:"label"}),o.createElement(ne,{key:`content-${k||I}`,className:A,style:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},C),m==null?void 0:m.content),b),f),N==null?void 0:N.content),span:X*2-1,component:s[1],itemPrefixCls:h,bordered:r,content:z,type:"content"})])}var pe=e=>{const t=o.useContext(D),{prefixCls:l,vertical:r,row:s,index:g,bordered:d}=e;return r?o.createElement(o.Fragment,null,o.createElement("tr",{key:`label-${g}`,className:`${l}-row`},ie(s,e,Object.assign({component:"th",type:"label",showLabel:!0},t))),o.createElement("tr",{key:`content-${g}`,className:`${l}-row`},ie(s,e,Object.assign({component:"td",type:"content",showContent:!0},t)))):o.createElement("tr",{key:g,className:`${l}-row`},ie(s,e,Object.assign({component:d?["th","td"]:"td",type:"item",showLabel:!0,showContent:!0},t)))},te=a(89260),ce=a(67083),he=a(89348),be=a(30509);const S=e=>{const{componentCls:t,labelBg:l}=e;return{[`&${t}-bordered`]:{[`> ${t}-view`]:{border:`${(0,te.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"> table":{tableLayout:"auto"},[`${t}-row`]:{borderBottom:`${(0,te.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:first-child":{"> th:first-child, > td:first-child":{borderStartStartRadius:e.borderRadiusLG}},"&:last-child":{borderBottom:"none","> th:first-child, > td:first-child":{borderEndStartRadius:e.borderRadiusLG}},[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${(0,te.bf)(e.padding)} ${(0,te.bf)(e.paddingLG)}`,borderInlineEnd:`${(0,te.bf)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderInlineEnd:"none"}},[`> ${t}-item-label`]:{color:e.colorTextSecondary,backgroundColor:l,"&::after":{display:"none"}}}},[`&${t}-middle`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${(0,te.bf)(e.paddingSM)} ${(0,te.bf)(e.paddingLG)}`}}},[`&${t}-small`]:{[`${t}-row`]:{[`> ${t}-item-label, > ${t}-item-content`]:{padding:`${(0,te.bf)(e.paddingXS)} ${(0,te.bf)(e.padding)}`}}}}}},M=e=>{const{componentCls:t,extraColor:l,itemPaddingBottom:r,itemPaddingEnd:s,colonMarginRight:g,colonMarginLeft:d,titleMarginBottom:O}=e;return{[t]:Object.assign(Object.assign(Object.assign({},(0,ce.Wf)(e)),S(e)),{"&-rtl":{direction:"rtl"},[`${t}-header`]:{display:"flex",alignItems:"center",marginBottom:O},[`${t}-title`]:Object.assign(Object.assign({},ce.vS),{flex:"auto",color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}),[`${t}-extra`]:{marginInlineStart:"auto",color:l,fontSize:e.fontSize},[`${t}-view`]:{width:"100%",borderRadius:e.borderRadiusLG,table:{width:"100%",tableLayout:"fixed",borderCollapse:"collapse"}},[`${t}-row`]:{"> th, > td":{paddingBottom:r,paddingInlineEnd:s},"> th:last-child, > td:last-child":{paddingInlineEnd:0},"&:last-child":{borderBottom:"none","> th, > td":{paddingBottom:0}}},[`${t}-item-label`]:{color:e.labelColor,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"start","&::after":{content:'":"',position:"relative",top:-.5,marginInline:`${(0,te.bf)(d)} ${(0,te.bf)(g)}`},[`&${t}-item-no-colon::after`]:{content:'""'}},[`${t}-item-no-label`]:{"&::after":{margin:0,content:'""'}},[`${t}-item-content`]:{display:"table-cell",flex:1,color:e.contentColor,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word",overflowWrap:"break-word"},[`${t}-item`]:{paddingBottom:0,verticalAlign:"top","&-container":{display:"flex",[`${t}-item-label`]:{display:"inline-flex",alignItems:"baseline"},[`${t}-item-content`]:{display:"inline-flex",alignItems:"baseline",minWidth:"1em"}}},"&-middle":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingSM}}},"&-small":{[`${t}-row`]:{"> th, > td":{paddingBottom:e.paddingXS}}}})}},B=e=>({labelBg:e.colorFillAlter,labelColor:e.colorTextTertiary,titleColor:e.colorText,titleMarginBottom:e.fontSizeSM*e.lineHeightSM,itemPaddingBottom:e.padding,itemPaddingEnd:e.padding,colonMarginRight:e.marginXS,colonMarginLeft:e.marginXXS/2,contentColor:e.colorText,extraColor:e.colorText});var x=(0,he.I$)("Descriptions",e=>{const t=(0,be.IX)(e,{});return M(t)},B),v=function(e,t){var l={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(l[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(l[r[s]]=e[r[s]]);return l};const n=e=>{const{prefixCls:t,title:l,extra:r,column:s,colon:g=!0,bordered:d,layout:O,children:p,className:C,rootClassName:m,style:u,size:z,labelStyle:h,contentStyle:A,styles:b,items:E,classNames:f}=e,X=v(e,["prefixCls","title","extra","column","colon","bordered","layout","children","className","rootClassName","style","size","labelStyle","contentStyle","styles","items","classNames"]),{getPrefixCls:k,direction:N,className:I,style:P,classNames:W,styles:oe}=(0,J.dj)("descriptions"),R=k("descriptions",t),ue=(0,Z.Z)(),$e=o.useMemo(()=>{var de;return typeof s=="number"?s:(de=(0,L.m9)(ue,Object.assign(Object.assign({},ae),s)))!==null&&de!==void 0?de:3},[ue,s]),Ie=Ce(ue,E,p),_=(0,w.Z)(z),je=$($e,Ie),[Ee,Ne,Pe]=x(R),Me=o.useMemo(()=>({labelStyle:h,contentStyle:A,styles:{content:Object.assign(Object.assign({},oe.content),b==null?void 0:b.content),label:Object.assign(Object.assign({},oe.label),b==null?void 0:b.label)},classNames:{label:j()(W.label,f==null?void 0:f.label),content:j()(W.content,f==null?void 0:f.content)}}),[h,A,b,f,W,oe]);return Ee(o.createElement(D.Provider,{value:Me},o.createElement("div",Object.assign({className:j()(R,I,W.root,f==null?void 0:f.root,{[`${R}-${_}`]:_&&_!=="default",[`${R}-bordered`]:!!d,[`${R}-rtl`]:N==="rtl"},C,m,Ne,Pe),style:Object.assign(Object.assign(Object.assign(Object.assign({},P),oe.root),b==null?void 0:b.root),u)},X),(l||r)&&o.createElement("div",{className:j()(`${R}-header`,W.header,f==null?void 0:f.header),style:Object.assign(Object.assign({},oe.header),b==null?void 0:b.header)},l&&o.createElement("div",{className:j()(`${R}-title`,W.title,f==null?void 0:f.title),style:Object.assign(Object.assign({},oe.title),b==null?void 0:b.title)},l),r&&o.createElement("div",{className:j()(`${R}-extra`,W.extra,f==null?void 0:f.extra),style:Object.assign(Object.assign({},oe.extra),b==null?void 0:b.extra)},r)),o.createElement("div",{className:`${R}-view`},o.createElement("table",null,o.createElement("tbody",null,je.map((de,F)=>o.createElement(pe,{key:F,index:F,colon:g,prefixCls:R,vertical:O==="vertical",bordered:d,row:de}))))))))};n.Item=H;var i=n},49328:function(me,U,a){a.d(U,{Z:function(){return xe}});var o=a(75271),c=a(82187),j=a.n(c),L=a(70436),J=a(44413),w=a(89260),Z=a(67083),Y=a(89348),ae=a(30509);const q=y=>{const{componentCls:$}=y;return{[$]:{"&-horizontal":{[`&${$}`]:{"&-sm":{marginBlock:y.marginXS},"&-md":{marginBlock:y.margin}}}}}},D=y=>{const{componentCls:$,sizePaddingEdgeHorizontal:ee,colorSplit:H,lineWidth:G,textPaddingInline:T,orientationMargin:ne,verticalMarginInline:ie}=y;return{[$]:Object.assign(Object.assign({},(0,Z.Wf)(y)),{borderBlockStart:`${(0,w.bf)(G)} solid ${H}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:ie,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,w.bf)(G)} solid ${H}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,w.bf)(y.marginLG)} 0`},[`&-horizontal${$}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,w.bf)(y.dividerHorizontalWithTextGutterMargin)} 0`,color:y.colorTextHeading,fontWeight:500,fontSize:y.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${H}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${(0,w.bf)(G)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${$}-with-text-start`]:{"&::before":{width:`calc(${ne} * 100%)`},"&::after":{width:`calc(100% - ${ne} * 100%)`}},[`&-horizontal${$}-with-text-end`]:{"&::before":{width:`calc(100% - ${ne} * 100%)`},"&::after":{width:`calc(${ne} * 100%)`}},[`${$}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:T},"&-dashed":{background:"none",borderColor:H,borderStyle:"dashed",borderWidth:`${(0,w.bf)(G)} 0 0`},[`&-horizontal${$}-with-text${$}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${$}-dashed`]:{borderInlineStartWidth:G,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:H,borderStyle:"dotted",borderWidth:`${(0,w.bf)(G)} 0 0`},[`&-horizontal${$}-with-text${$}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${$}-dotted`]:{borderInlineStartWidth:G,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${$}-with-text`]:{color:y.colorText,fontWeight:"normal",fontSize:y.fontSize},[`&-horizontal${$}-with-text-start${$}-no-default-orientation-margin-start`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${$}-inner-text`]:{paddingInlineStart:ee}},[`&-horizontal${$}-with-text-end${$}-no-default-orientation-margin-end`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${$}-inner-text`]:{paddingInlineEnd:ee}}})}},ge=y=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:y.marginXS});var Se=(0,Y.I$)("Divider",y=>{const $=(0,ae.IX)(y,{dividerHorizontalWithTextGutterMargin:y.margin,sizePaddingEdgeHorizontal:0});return[D($),q($)]},ge,{unitless:{orientationMargin:!0}}),fe=function(y,$){var ee={};for(var H in y)Object.prototype.hasOwnProperty.call(y,H)&&$.indexOf(H)<0&&(ee[H]=y[H]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,H=Object.getOwnPropertySymbols(y);G<H.length;G++)$.indexOf(H[G])<0&&Object.prototype.propertyIsEnumerable.call(y,H[G])&&(ee[H[G]]=y[H[G]]);return ee};const Ce={small:"sm",middle:"md"};var xe=y=>{const{getPrefixCls:$,direction:ee,className:H,style:G}=(0,L.dj)("divider"),{prefixCls:T,type:ne="horizontal",orientation:ie="center",orientationMargin:re,className:pe,rootClassName:te,children:ce,dashed:he,variant:be="solid",plain:S,style:M,size:B}=y,x=fe(y,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style","size"]),v=$("divider",T),[n,i,e]=Se(v),t=(0,J.Z)(B),l=Ce[t],r=!!ce,s=o.useMemo(()=>ie==="left"?ee==="rtl"?"end":"start":ie==="right"?ee==="rtl"?"start":"end":ie,[ee,ie]),g=s==="start"&&re!=null,d=s==="end"&&re!=null,O=j()(v,H,i,e,`${v}-${ne}`,{[`${v}-with-text`]:r,[`${v}-with-text-${s}`]:r,[`${v}-dashed`]:!!he,[`${v}-${be}`]:be!=="solid",[`${v}-plain`]:!!S,[`${v}-rtl`]:ee==="rtl",[`${v}-no-default-orientation-margin-start`]:g,[`${v}-no-default-orientation-margin-end`]:d,[`${v}-${l}`]:!!l},pe,te),p=o.useMemo(()=>typeof re=="number"?re:/^\d+$/.test(re)?Number(re):re,[re]),C={marginInlineStart:g?p:void 0,marginInlineEnd:d?p:void 0};return n(o.createElement("div",Object.assign({className:O,style:Object.assign(Object.assign({},G),M)},x,{role:"separator"}),ce&&ne!=="vertical"&&o.createElement("span",{className:`${v}-inner-text`,style:C},ce)))}},25472:function(me,U,a){a.d(U,{Z:function(){return v}});var o=a(49744),c=a(75271),j=a(82187),L=a.n(j),J=a(75057),w=a(39594),Z=a(70436),Y=a(27402),ae=a(44413),q=a(91589),D=a(88198),ge=a(77245),Se=a(16583);const fe=c.createContext({}),Ce=fe.Consumer;var ze=a(48349),xe=a(62687),y=function(n,i){var e={};for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&i.indexOf(t)<0&&(e[t]=n[t]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,t=Object.getOwnPropertySymbols(n);l<t.length;l++)i.indexOf(t[l])<0&&Object.prototype.propertyIsEnumerable.call(n,t[l])&&(e[t[l]]=n[t[l]]);return e};const $=n=>{var{prefixCls:i,className:e,avatar:t,title:l,description:r}=n,s=y(n,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:g}=(0,c.useContext)(Z.E_),d=g("list",i),O=L()(`${d}-item-meta`,e),p=c.createElement("div",{className:`${d}-item-meta-content`},l&&c.createElement("h4",{className:`${d}-item-meta-title`},l),r&&c.createElement("div",{className:`${d}-item-meta-description`},r));return c.createElement("div",Object.assign({},s,{className:O}),t&&c.createElement("div",{className:`${d}-item-meta-avatar`},t),(l||r)&&p)},H=c.forwardRef((n,i)=>{const{prefixCls:e,children:t,actions:l,extra:r,styles:s,className:g,classNames:d,colStyle:O}=n,p=y(n,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:C,itemLayout:m}=(0,c.useContext)(fe),{getPrefixCls:u,list:z}=(0,c.useContext)(Z.E_),h=I=>{var P,W;return L()((W=(P=z==null?void 0:z.item)===null||P===void 0?void 0:P.classNames)===null||W===void 0?void 0:W[I],d==null?void 0:d[I])},A=I=>{var P,W;return Object.assign(Object.assign({},(W=(P=z==null?void 0:z.item)===null||P===void 0?void 0:P.styles)===null||W===void 0?void 0:W[I]),s==null?void 0:s[I])},b=()=>{let I=!1;return c.Children.forEach(t,P=>{typeof P=="string"&&(I=!0)}),I&&c.Children.count(t)>1},E=()=>m==="vertical"?!!r:!b(),f=u("list",e),X=l&&l.length>0&&c.createElement("ul",{className:L()(`${f}-item-action`,h("actions")),key:"actions",style:A("actions")},l.map((I,P)=>c.createElement("li",{key:`${f}-item-action-${P}`},I,P!==l.length-1&&c.createElement("em",{className:`${f}-item-action-split`})))),k=C?"div":"li",N=c.createElement(k,Object.assign({},p,C?{}:{ref:i},{className:L()(`${f}-item`,{[`${f}-item-no-flex`]:!E()},g)}),m==="vertical"&&r?[c.createElement("div",{className:`${f}-item-main`,key:"content"},t,X),c.createElement("div",{className:L()(`${f}-item-extra`,h("extra")),key:"extra",style:A("extra")},r)]:[t,X,(0,ze.Tm)(r,{key:"extra"})]);return C?c.createElement(xe.Z,{ref:i,flex:1,style:O},N):N});H.Meta=$;var G=H,T=a(89260),ne=a(67083),ie=a(89348),re=a(30509);const pe=n=>{const{listBorderedCls:i,componentCls:e,paddingLG:t,margin:l,itemPaddingSM:r,itemPaddingLG:s,marginLG:g,borderRadiusLG:d}=n;return{[i]:{border:`${(0,T.bf)(n.lineWidth)} ${n.lineType} ${n.colorBorder}`,borderRadius:d,[`${e}-header,${e}-footer,${e}-item`]:{paddingInline:t},[`${e}-pagination`]:{margin:`${(0,T.bf)(l)} ${(0,T.bf)(g)}`}},[`${i}${e}-sm`]:{[`${e}-item,${e}-header,${e}-footer`]:{padding:r}},[`${i}${e}-lg`]:{[`${e}-item,${e}-header,${e}-footer`]:{padding:s}}}},te=n=>{const{componentCls:i,screenSM:e,screenMD:t,marginLG:l,marginSM:r,margin:s}=n;return{[`@media screen and (max-width:${t}px)`]:{[i]:{[`${i}-item`]:{[`${i}-item-action`]:{marginInlineStart:l}}},[`${i}-vertical`]:{[`${i}-item`]:{[`${i}-item-extra`]:{marginInlineStart:l}}}},[`@media screen and (max-width: ${e}px)`]:{[i]:{[`${i}-item`]:{flexWrap:"wrap",[`${i}-action`]:{marginInlineStart:r}}},[`${i}-vertical`]:{[`${i}-item`]:{flexWrap:"wrap-reverse",[`${i}-item-main`]:{minWidth:n.contentWidth},[`${i}-item-extra`]:{margin:`auto auto ${(0,T.bf)(s)}`}}}}}},ce=n=>{const{componentCls:i,antCls:e,controlHeight:t,minHeight:l,paddingSM:r,marginLG:s,padding:g,itemPadding:d,colorPrimary:O,itemPaddingSM:p,itemPaddingLG:C,paddingXS:m,margin:u,colorText:z,colorTextDescription:h,motionDurationSlow:A,lineWidth:b,headerBg:E,footerBg:f,emptyTextPadding:X,metaMarginBottom:k,avatarMarginRight:N,titleMarginBottom:I,descriptionFontSize:P}=n;return{[i]:Object.assign(Object.assign({},(0,ne.Wf)(n)),{position:"relative","--rc-virtual-list-scrollbar-bg":n.colorSplit,"*":{outline:"none"},[`${i}-header`]:{background:E},[`${i}-footer`]:{background:f},[`${i}-header, ${i}-footer`]:{paddingBlock:r},[`${i}-pagination`]:{marginBlockStart:s,[`${e}-pagination-options`]:{textAlign:"start"}},[`${i}-spin`]:{minHeight:l,textAlign:"center"},[`${i}-items`]:{margin:0,padding:0,listStyle:"none"},[`${i}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:d,color:z,[`${i}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${i}-item-meta-avatar`]:{marginInlineEnd:N},[`${i}-item-meta-content`]:{flex:"1 0",width:0,color:z},[`${i}-item-meta-title`]:{margin:`0 0 ${(0,T.bf)(n.marginXXS)} 0`,color:z,fontSize:n.fontSize,lineHeight:n.lineHeight,"> a":{color:z,transition:`all ${A}`,"&:hover":{color:O}}},[`${i}-item-meta-description`]:{color:h,fontSize:P,lineHeight:n.lineHeight}},[`${i}-item-action`]:{flex:"0 0 auto",marginInlineStart:n.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${(0,T.bf)(m)}`,color:h,fontSize:n.fontSize,lineHeight:n.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${i}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:b,height:n.calc(n.fontHeight).sub(n.calc(n.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:n.colorSplit}}},[`${i}-empty`]:{padding:`${(0,T.bf)(g)} 0`,color:h,fontSize:n.fontSizeSM,textAlign:"center"},[`${i}-empty-text`]:{padding:X,color:n.colorTextDisabled,fontSize:n.fontSize,textAlign:"center"},[`${i}-item-no-flex`]:{display:"block"}}),[`${i}-grid ${e}-col > ${i}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:u,paddingBlock:0,borderBlockEnd:"none"},[`${i}-vertical ${i}-item`]:{alignItems:"initial",[`${i}-item-main`]:{display:"block",flex:1},[`${i}-item-extra`]:{marginInlineStart:s},[`${i}-item-meta`]:{marginBlockEnd:k,[`${i}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:I,color:z,fontSize:n.fontSizeLG,lineHeight:n.lineHeightLG}},[`${i}-item-action`]:{marginBlockStart:g,marginInlineStart:"auto","> li":{padding:`0 ${(0,T.bf)(g)}`,"&:first-child":{paddingInlineStart:0}}}},[`${i}-split ${i}-item`]:{borderBlockEnd:`${(0,T.bf)(n.lineWidth)} ${n.lineType} ${n.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${i}-split ${i}-header`]:{borderBlockEnd:`${(0,T.bf)(n.lineWidth)} ${n.lineType} ${n.colorSplit}`},[`${i}-split${i}-empty ${i}-footer`]:{borderTop:`${(0,T.bf)(n.lineWidth)} ${n.lineType} ${n.colorSplit}`},[`${i}-loading ${i}-spin-nested-loading`]:{minHeight:t},[`${i}-split${i}-something-after-last-item ${e}-spin-container > ${i}-items > ${i}-item:last-child`]:{borderBlockEnd:`${(0,T.bf)(n.lineWidth)} ${n.lineType} ${n.colorSplit}`},[`${i}-lg ${i}-item`]:{padding:C},[`${i}-sm ${i}-item`]:{padding:p},[`${i}:not(${i}-vertical)`]:{[`${i}-item-no-flex`]:{[`${i}-item-action`]:{float:"right"}}}}},he=n=>({contentWidth:220,itemPadding:`${(0,T.bf)(n.paddingContentVertical)} 0`,itemPaddingSM:`${(0,T.bf)(n.paddingContentVerticalSM)} ${(0,T.bf)(n.paddingContentHorizontal)}`,itemPaddingLG:`${(0,T.bf)(n.paddingContentVerticalLG)} ${(0,T.bf)(n.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:n.padding,metaMarginBottom:n.padding,avatarMarginRight:n.padding,titleMarginBottom:n.paddingSM,descriptionFontSize:n.fontSize});var be=(0,ie.I$)("List",n=>{const i=(0,re.IX)(n,{listBorderedCls:`${n.componentCls}-bordered`,minHeight:n.controlHeightLG});return[ce(i),pe(i),te(i)]},he),S=function(n,i){var e={};for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&i.indexOf(t)<0&&(e[t]=n[t]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,t=Object.getOwnPropertySymbols(n);l<t.length;l++)i.indexOf(t[l])<0&&Object.prototype.propertyIsEnumerable.call(n,t[l])&&(e[t[l]]=n[t[l]]);return e};function M(n,i){const{pagination:e=!1,prefixCls:t,bordered:l=!1,split:r=!0,className:s,rootClassName:g,style:d,children:O,itemLayout:p,loadMore:C,grid:m,dataSource:u=[],size:z,header:h,footer:A,loading:b=!1,rowKey:E,renderItem:f,locale:X}=n,k=S(n,["pagination","prefixCls","bordered","split","className","rootClassName","style","children","itemLayout","loadMore","grid","dataSource","size","header","footer","loading","rowKey","renderItem","locale"]),N=e&&typeof e=="object"?e:{},[I,P]=c.useState(N.defaultCurrent||1),[W,oe]=c.useState(N.defaultPageSize||10),{getPrefixCls:R,direction:ue,className:$e,style:Ie}=(0,Z.dj)("list"),{renderEmpty:_}=c.useContext(Z.E_),je={current:1,total:0,position:"bottom"},Ee=Q=>(le,ve)=>{var Ze;P(le),oe(ve),e&&((Ze=e==null?void 0:e[Q])===null||Ze===void 0||Ze.call(e,le,ve))},Ne=Ee("onChange"),Pe=Ee("onShowSizeChange"),Me=(Q,le)=>{if(!f)return null;let ve;return typeof E=="function"?ve=E(Q):E?ve=Q[E]:ve=Q.key,ve||(ve=`list-item-${le}`),c.createElement(c.Fragment,{key:ve},f(Q,le))},de=!!(C||e||A),F=R("list",t),[Re,He,ye]=be(F);let V=b;typeof V=="boolean"&&(V={spinning:V});const K=!!(V!=null&&V.spinning),Oe=(0,ae.Z)(z);let Be="";switch(Oe){case"large":Be="lg";break;case"small":Be="sm";break;default:break}const Ve=L()(F,{[`${F}-vertical`]:p==="vertical",[`${F}-${Be}`]:Be,[`${F}-split`]:r,[`${F}-bordered`]:l,[`${F}-loading`]:K,[`${F}-grid`]:!!m,[`${F}-something-after-last-item`]:de,[`${F}-rtl`]:ue==="rtl"},$e,s,g,He,ye),se=(0,J.Z)(je,{total:u.length,current:I,pageSize:W},e||{}),Xe=Math.ceil(se.total/se.pageSize);se.current=Math.min(se.current,Xe);const Ae=e&&c.createElement("div",{className:L()(`${F}-pagination`)},c.createElement(ge.Z,Object.assign({align:"end"},se,{onChange:Ne,onShowSizeChange:Pe})));let Te=(0,o.Z)(u);e&&u.length>(se.current-1)*se.pageSize&&(Te=(0,o.Z)(u).splice((se.current-1)*se.pageSize,se.pageSize));const De=Object.keys(m||{}).some(Q=>["xs","sm","md","lg","xl","xxl"].includes(Q)),Ge=(0,D.Z)(De),Le=c.useMemo(()=>{for(let Q=0;Q<w.c4.length;Q+=1){const le=w.c4[Q];if(Ge[le])return le}},[Ge]),Fe=c.useMemo(()=>{if(!m)return;const Q=Le&&m[Le]?m[Le]:m.column;if(Q)return{width:`${100/Q}%`,maxWidth:`${100/Q}%`}},[JSON.stringify(m),Le]);let We=K&&c.createElement("div",{style:{minHeight:53}});if(Te.length>0){const Q=Te.map(Me);We=m?c.createElement(q.Z,{gutter:m.gutter},c.Children.map(Q,le=>c.createElement("div",{key:le==null?void 0:le.key,style:Fe},le))):c.createElement("ul",{className:`${F}-items`},Q)}else!O&&!K&&(We=c.createElement("div",{className:`${F}-empty-text`},(X==null?void 0:X.emptyText)||(_==null?void 0:_("List"))||c.createElement(Y.Z,{componentName:"List"})));const we=se.position,Ke=c.useMemo(()=>({grid:m,itemLayout:p}),[JSON.stringify(m),p]);return Re(c.createElement(fe.Provider,{value:Ke},c.createElement("div",Object.assign({ref:i,style:Object.assign(Object.assign({},Ie),d),className:Ve},k),(we==="top"||we==="both")&&Ae,h&&c.createElement("div",{className:`${F}-header`},h),c.createElement(Se.Z,Object.assign({},V),We,O),A&&c.createElement("div",{className:`${F}-footer`},A),C||(we==="bottom"||we==="both")&&Ae)))}const x=c.forwardRef(M);x.Item=G;var v=x}}]);