👨🏻‍💻👩🏻‍💻 Use Ant Design like a Pro!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

10 lines
25 KiB

"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[9078],{9455:function(N,b){var n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"};b.Z=n},10587:function(N,b,n){n.d(b,{Z:function(){return S}});var i=n(33346),u=n(50959),F={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M573.7 252.5C422.5 197.4 201.3 96.7 201.3 96.7c-15.7-4.1-17.9 11.1-17.9 11.1-5 61.1 33.6 160.5 53.6 182.8 19.9 22.3 319.1 113.7 319.1 113.7S326 357.9 270.5 341.9c-55.6-16-37.9 17.8-37.9 17.8 11.4 61.7 64.9 131.8 107.2 138.4 42.2 6.6 220.1 4 220.1 4s-35.5 4.1-93.2 11.9c-42.7 5.8-97 12.5-111.1 17.8-33.1 12.5 24 62.6 24 62.6 84.7 76.8 129.7 50.5 129.7 50.5 33.3-10.7 61.4-18.5 85.2-24.2L565 743.1h84.6L603 928l205.3-271.9H700.8l22.3-38.7c.3.5.4.8.4.8S799.8 496.1 829 433.8l.6-1h-.1c5-10.8 8.6-19.7 10-25.8 17-71.3-114.5-99.4-265.8-154.5z"}}]},name:"dingding",theme:"outlined"},Z=F,f=n(69164),v=function(P,q){return u.createElement(f.Z,(0,i.Z)((0,i.Z)({},P),{},{ref:q,icon:Z}))};v.displayName="DingdingOutlined";var S=u.forwardRef(v)},82574:function(N,b,n){var i=n(33346),u=n(50959),F=n(5590),Z=n(69164),f=function(S,D){return u.createElement(Z.Z,(0,i.Z)((0,i.Z)({},S),{},{ref:D,icon:F.Z}))};f.displayName="DownOutlined",b.Z=u.forwardRef(f)},27174:function(N,b,n){var i=n(33346),u=n(50959),F=n(44108),Z=n(69164),f=function(S,D){return u.createElement(Z.Z,(0,i.Z)((0,i.Z)({},S),{},{ref:D,icon:F.Z}))};f.displayName="EllipsisOutlined",b.Z=u.forwardRef(f)},49997:function(N,b,n){var i=n(33346),u=n(50959),F=n(9455),Z=n(69164),f=function(S,D){return u.createElement(Z.Z,(0,i.Z)((0,i.Z)({},S),{},{ref:D,icon:F.Z}))};f.displayName="InfoCircleOutlined",b.Z=u.forwardRef(f)},12843:function(N,b,n){n.r(b),n.d(b,{default:function(){return X}});var i=n(77117),u=n.n(i),F=n(28152),Z=n.n(F),f=n(82574),v=n(27174),S=n(10587),D=n(49997),P=n(169),q=n(95943),k=n(19494),l=n(27533),L=n(27575),H=n(47100),_=n(10591),ce=n(75200),W=n(71656),ee=n(53295),d=n(8303),ie=n(82757),V=n(31796),G=n(50304),oe=n(32618),te=n(84922),se=n(55877),m=n(84875),c=n.n(m),p=n(50959),h=n(13448),$=n.n(h),A=n(74815),x=n.n(A);function y(){return g.apply(this,arguments)}function g(){return g=x()($()().mark(function T(){return $()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.abrupt("return",(0,l.request)("/api/profile/advanced"));case 1:case"end":return O.stop()}},T)})),g.apply(this,arguments)}var e=n(21320),o=n.n(e),a=n(8700),r=(0,a.kc)(function(T){var M=T.token;return{main:{".ant-descriptions-row > td":{paddingBottom:"8px"},".ant-page-header-heading-extra":{flexDirection:"column"}},headerList:{marginBottom:"4px",".ant-descriptions-row > td":{paddingBottom:"8px"}},stepDescription:o()({position:"relative",left:"38px",paddingTop:"8px",fontSize:"14px",textAlign:"left","> div":{marginTop:"8px",marginBottom:"4px"}},"@media screen and (max-width: ".concat(M.screenSM,"px)"),{left:"8px"}),pageHeader:o()({".ant-page-header-heading-extra > * + *":{marginLeft:"8px"}},"@media screen and (max-width: ".concat(M.screenSM,"px)"),{".ant-pro-page-header-wrap-row":{flexDirection:"column"}}),moreInfo:{display:"flex",justifyContent:"space-between",width:"200px"}}}),s=r,t=n(11527),C=L.Z.Step,R=H.ZP.Group,z=(0,t.jsx)(P.X.Consumer,{children:function(M){var O=M.isMobile;return O?(0,t.jsx)(_.Z.Button,{type:"primary",icon:(0,t.jsx)(f.Z,{}),menu:{items:[{key:"1",label:"\u64CD\u4F5C\u4E00"},{key:"2",label:"\u64CD\u4F5C\u4E8C"},{key:"3",label:"\u64CD\u4F5C\u4E09"}]},placement:"bottomRight",children:"\u4E3B\u64CD\u4F5C"}):(0,t.jsxs)(ce.Z,{children:[(0,t.jsxs)(R,{children:[(0,t.jsx)(H.ZP,{children:"\u64CD\u4F5C\u4E00"}),(0,t.jsx)(H.ZP,{children:"\u64CD\u4F5C\u4E8C"}),(0,t.jsx)(_.Z,{menu:{items:[{key:"1",label:"\u9009\u9879\u4E00"},{key:"2",label:"\u9009\u9879\u4E8C"},{key:"3",label:"\u9009\u9879\u4E09"}]},placement:"bottomRight",children:(0,t.jsx)(H.ZP,{children:(0,t.jsx)(v.Z,{})})})]}),(0,t.jsx)(H.ZP,{type:"primary",children:"\u4E3B\u64CD\u4F5C"})]})}}),I=[{key:"tab1",tab:"\u64CD\u4F5C\u65E5\u5FD7\u4E00"},{key:"tab2",tab:"\u64CD\u4F5C\u65E5\u5FD7\u4E8C"},{key:"tab3",tab:"\u64CD\u4F5C\u65E5\u5FD7\u4E09"}],j=[{title:"\u64CD\u4F5C\u7C7B\u578B",dataIndex:"type",key:"type"},{title:"\u64CD\u4F5C\u4EBA",dataIndex:"name",key:"name"},{title:"\u6267\u884C\u7ED3\u679C",dataIndex:"status",key:"status",render:function(M){return M==="agree"?(0,t.jsx)(W.Z,{status:"success",text:"\u6210\u529F"}):(0,t.jsx)(W.Z,{status:"error",text:"\u9A73\u56DE"})}},{title:"\u64CD\u4F5C\u65F6\u95F4",dataIndex:"updatedAt",key:"updatedAt"},{title:"\u5907\u6CE8",dataIndex:"memo",key:"memo"}],w=function(){var M=s(),O=M.styles,ne=(0,t.jsxs)("div",{className:O.moreInfo,children:[(0,t.jsx)(ee.Z,{title:"\u72B6\u6001",value:"\u5F85\u5BA1\u6279"}),(0,t.jsx)(ee.Z,{title:"\u8BA2\u5355\u91D1\u989D",value:568.08,prefix:"\xA5"})]}),ae=(0,t.jsx)(P.X.Consumer,{children:function(B){var J=B.isMobile;return(0,t.jsxs)(d.Z,{className:O.headerList,size:"small",column:J?1:2,children:[(0,t.jsx)(d.Z.Item,{label:"\u521B\u5EFA\u4EBA",children:"\u66F2\u4E3D\u4E3D"}),(0,t.jsx)(d.Z.Item,{label:"\u8BA2\u8D2D\u4EA7\u54C1",children:"XX \u670D\u52A1"}),(0,t.jsx)(d.Z.Item,{label:"\u521B\u5EFA\u65F6\u95F4",children:"2017-07-07"}),(0,t.jsx)(d.Z.Item,{label:"\u5173\u8054\u5355\u636E",children:(0,t.jsx)("a",{href:"",children:"12421"})}),(0,t.jsx)(d.Z.Item,{label:"\u751F\u6548\u65E5\u671F",children:"2017-07-07 ~ 2017-08-08"}),(0,t.jsx)(d.Z.Item,{label:"\u5907\u6CE8",children:"\u8BF7\u4E8E\u4E24\u4E2A\u5DE5\u4F5C\u65E5\u5185\u786E\u8BA4"})]})}}),ue=(0,t.jsxs)("div",{className:c()(O.stepDescription),children:[(0,t.jsxs)(p.Fragment,{children:["\u66F2\u4E3D\u4E3D",(0,t.jsx)(S.Z,{style:{marginLeft:8}})]}),(0,t.jsx)("div",{children:"2016-12-12 12:32"})]}),he=(0,t.jsxs)("div",{className:O.stepDescription,children:[(0,t.jsxs)(p.Fragment,{children:["\u5468\u6BDB\u6BDB",(0,t.jsx)(S.Z,{style:{color:"#00A0E9",marginLeft:8}})]}),(0,t.jsx)("div",{children:(0,t.jsx)("a",{href:"",children:"\u50AC\u4E00\u4E0B"})})]}),xe=(0,p.useState)({operationKey:"tab1",tabActiveKey:"detail"}),me=Z()(xe,2),re=me[0],fe=me[1],be=function(B,J){var pe=J.status,$e=(0,t.jsxs)("div",{style:{width:160},children:["\u5434\u52A0\u53F7",(0,t.jsx)("span",{style:{float:"right"},children:(0,t.jsx)(W.Z,{status:"default",text:(0,t.jsx)("span",{style:{color:"rgba(0, 0, 0, 0.45)"},children:"\u672A\u54CD\u5E94"})})}),(0,t.jsx)("div",{style:{marginTop:4},children:"\u8017\u65F6\uFF1A2\u5C0F\u65F625\u5206\u949F"})]});return pe==="process"?(0,t.jsx)(ie.Z,{placement:"topLeft",arrowPointAtCenter:!0,content:$e,children:(0,t.jsx)("span",{children:B})}):B},ge=(0,l.useRequest)(y),K=ge.data,le=K===void 0?{}:K,de=ge.loading,E=le.advancedOperation1,ye=le.advancedOperation2,Ee=le.advancedOperation3,Ce={tab1:(0,t.jsx)(V.Z,{pagination:!1,loading:de,dataSource:E,columns:j}),tab2:(0,t.jsx)(V.Z,{pagination:!1,loading:de,dataSource:ye,columns:j}),tab3:(0,t.jsx)(V.Z,{pagination:!1,loading:de,dataSource:Ee,columns:j})},ve=function(B){fe(u()(u()({},re),{},{tabActiveKey:B}))},Se=function(B){fe(u()(u()({},re),{},{operationKey:B}))};return(0,t.jsx)(q._z,{title:"\u5355\u53F7\uFF1A234231029431",extra:z,className:O.pageHeader,content:ae,extraContent:ne,tabActiveKey:re.tabActiveKey,onTabChange:ve,tabList:[{key:"detail",tab:"\u8BE6\u60C5"},{key:"rule",tab:"\u89C4\u5219"}],children:(0,t.jsx)("div",{className:O.main,children:(0,t.jsxs)(k.f,{children:[(0,t.jsx)(G.Z,{title:"\u6D41\u7A0B\u8FDB\u5EA6",style:{marginBottom:24},children:(0,t.jsx)(P.X.Consumer,{children:function(B){var J=B.isMobile;return(0,t.jsxs)(L.Z,{direction:J?"vertical":"horizontal",progressDot:be,current:1,children:[(0,t.jsx)(C,{title:"\u521B\u5EFA\u9879\u76EE",description:ue}),(0,t.jsx)(C,{title:"\u90E8\u95E8\u521D\u5BA1",description:he}),(0,t.jsx)(C,{title:"\u8D22\u52A1\u590D\u6838"}),(0,t.jsx)(C,{title:"\u5B8C\u6210"})]})}})}),(0,t.jsxs)(G.Z,{title:"\u7528\u6237\u4FE1\u606F",style:{marginBottom:24},bordered:!1,children:[(0,t.jsxs)(d.Z,{style:{marginBottom:24},children:[(0,t.jsx)(d.Z.Item,{label:"\u7528\u6237\u59D3\u540D",children:"\u4ED8\u5C0F\u5C0F"}),(0,t.jsx)(d.Z.Item,{label:"\u4F1A\u5458\u5361\u53F7",children:"32943898021309809423"}),(0,t.jsx)(d.Z.Item,{label:"\u8EAB\u4EFD\u8BC1",children:"3321944288191034921"}),(0,t.jsx)(d.Z.Item,{label:"\u8054\u7CFB\u65B9\u5F0F",children:"18112345678"}),(0,t.jsx)(d.Z.Item,{label:"\u8054\u7CFB\u5730\u5740",children:"\u66F2\u4E3D\u4E3D 18100000000 \u6D59\u6C5F\u7701\u676D\u5DDE\u5E02\u897F\u6E56\u533A\u9EC4\u59D1\u5C71\u8DEF\u5DE5\u4E13\u8DEF\u4EA4\u53C9\u8DEF\u53E3"})]}),(0,t.jsxs)(d.Z,{style:{marginBottom:24},title:"\u4FE1\u606F\u7EC4",children:[(0,t.jsx)(d.Z.Item,{label:"\u67D0\u67D0\u6570\u636E",children:"725"}),(0,t.jsx)(d.Z.Item,{label:"\u8BE5\u6570\u636E\u66F4\u65B0\u65F6\u95F4",children:"2017-08-08"}),(0,t.jsx)(d.Z.Item,{label:(0,t.jsxs)("span",{children:["\u67D0\u67D0\u6570\u636E",(0,t.jsx)(oe.Z,{title:"\u6570\u636E\u8BF4\u660E",children:(0,t.jsx)(D.Z,{style:{color:"rgba(0, 0, 0, 0.43)",marginLeft:4}})})]}),children:"725"}),(0,t.jsx)(d.Z.Item,{label:"\u8BE5\u6570\u636E\u66F4\u65B0\u65F6\u95F4",children:"2017-08-08"})]}),(0,t.jsx)("h4",{style:{marginBottom:16},children:"\u4FE1\u606F\u7EC4"}),(0,t.jsxs)(G.Z,{type:"inner",title:"\u591A\u5C42\u7EA7\u4FE1\u606F\u7EC4",children:[(0,t.jsxs)(d.Z,{style:{marginBottom:16},title:"\u7EC4\u540D\u79F0",children:[(0,t.jsx)(d.Z.Item,{label:"\u8D1F\u8D23\u4EBA",children:"\u6797\u4E1C\u4E1C"}),(0,t.jsx)(d.Z.Item,{label:"\u89D2\u8272\u7801",children:"1234567"}),(0,t.jsx)(d.Z.Item,{label:"\u6240\u5C5E\u90E8\u95E8",children:"XX\u516C\u53F8 - YY\u90E8"}),(0,t.jsx)(d.Z.Item,{label:"\u8FC7\u671F\u65F6\u95F4",children:"2017-08-08"}),(0,t.jsx)(d.Z.Item,{label:"\u63CF\u8FF0",children:"\u8FD9\u6BB5\u63CF\u8FF0\u5F88\u957F\u5F88\u957F\u5F88\u957F\u5F88\u957F\u5F88\u957F\u5F88\u957F\u5F88\u957F\u5F88\u957F\u5F88\u957F\u5F88\u957F\u5F88\u957F\u5F88\u957F\u5F88\u957F\u5F88\u957F..."})]}),(0,t.jsx)(te.Z,{style:{margin:"16px 0"}}),(0,t.jsx)(d.Z,{style:{marginBottom:16},title:"\u7EC4\u540D\u79F0",column:1,children:(0,t.jsx)(d.Z.Item,{label:"\u5B66\u540D",children:"Citrullus lanatus (Thunb.) Matsum. et Nakai\u4E00\u5E74\u751F\u8513\u751F\u85E4\u672C\uFF1B\u830E\u3001\u679D\u7C97\u58EE\uFF0C\u5177\u660E\u663E\u7684\u68F1\u3002\u5377\u987B\u8F83\u7C97.."})}),(0,t.jsx)(te.Z,{style:{margin:"16px 0"}}),(0,t.jsxs)(d.Z,{title:"\u7EC4\u540D\u79F0",children:[(0,t.jsx)(d.Z.Item,{label:"\u8D1F\u8D23\u4EBA",children:"\u4ED8\u5C0F\u5C0F"}),(0,t.jsx)(d.Z.Item,{label:"\u89D2\u8272\u7801",children:"1234568"})]})]})]}),(0,t.jsx)(G.Z,{title:"\u7528\u6237\u8FD1\u534A\u5E74\u6765\u7535\u8BB0\u5F55",style:{marginBottom:24},bordered:!1,children:(0,t.jsx)(se.Z,{})}),(0,t.jsx)(G.Z,{bordered:!1,tabList:I,onTabChange:Se,children:Ce[re.operationKey]})]})})})},X=w},50304:function(N,b,n){n.d(b,{Z:function(){return g}});var i=n(50959),u=n(84875),F=n.n(u),Z=n(87017),f=n(31594),v=n(17436),S=n(25670),D=n(66146),P=function(e,o){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&o.indexOf(r)<0&&(a[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)o.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(a[r[s]]=e[r[s]]);return a},k=e=>{var{prefixCls:o,className:a,hoverable:r=!0}=e,s=P(e,["prefixCls","className","hoverable"]);const{getPrefixCls:t}=i.useContext(f.E_),C=t("card",o),R=F()(`${C}-grid`,a,{[`${C}-grid-hoverable`]:r});return i.createElement("div",Object.assign({},s,{className:R}))},l=n(60076),L=n(6301),H=n(81501),_=n(90467);const ce=e=>{const{antCls:o,componentCls:a,headerHeight:r,cardPaddingBase:s,tabsMarginBottom:t}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${(0,l.bf)(s)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${(0,l.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${(0,l.bf)(e.borderRadiusLG)} ${(0,l.bf)(e.borderRadiusLG)} 0 0`},(0,L.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},L.vS),{[`
> ${a}-typography,
> ${a}-typography-edit-content
`]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${o}-tabs-top`]:{clear:"both",marginBottom:t,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${(0,l.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},W=e=>{const{cardPaddingBase:o,colorBorderSecondary:a,cardShadow:r,lineWidth:s}=e;return{width:"33.33%",padding:o,border:0,borderRadius:0,boxShadow:`
${(0,l.bf)(s)} 0 0 0 ${a},
0 ${(0,l.bf)(s)} 0 0 ${a},
${(0,l.bf)(s)} ${(0,l.bf)(s)} 0 0 ${a},
${(0,l.bf)(s)} 0 0 0 ${a} inset,
0 ${(0,l.bf)(s)} 0 0 ${a} inset;
`,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},ee=e=>{const{componentCls:o,iconCls:a,actionsLiMargin:r,cardActionsIconSize:s,colorBorderSecondary:t,actionsBg:C}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:C,borderTop:`${(0,l.bf)(e.lineWidth)} ${e.lineType} ${t}`,display:"flex",borderRadius:`0 0 ${(0,l.bf)(e.borderRadiusLG)} ${(0,l.bf)(e.borderRadiusLG)}`},(0,L.dF)()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${o}-btn), > ${a}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,l.bf)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${a}`]:{fontSize:s,lineHeight:(0,l.bf)(e.calc(s).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,l.bf)(e.lineWidth)} ${e.lineType} ${t}`}}})},d=e=>Object.assign(Object.assign({margin:`${(0,l.bf)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,L.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},L.vS),"&-description":{color:e.colorTextDescription}}),ie=e=>{const{componentCls:o,cardPaddingBase:a,colorFillAlter:r}=e;return{[`${o}-head`]:{padding:`0 ${(0,l.bf)(a)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${o}-body`]:{padding:`${(0,l.bf)(e.padding)} ${(0,l.bf)(a)}`}}},V=e=>{const{componentCls:o}=e;return{overflow:"hidden",[`${o}-body`]:{userSelect:"none"}}},G=e=>{const{antCls:o,componentCls:a,cardShadow:r,cardHeadPadding:s,colorBorderSecondary:t,boxShadowTertiary:C,cardPaddingBase:R,extraColor:z}=e;return{[a]:Object.assign(Object.assign({},(0,L.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${a}-bordered)`]:{boxShadow:C},[`${a}-head`]:ce(e),[`${a}-extra`]:{marginInlineStart:"auto",color:z,fontWeight:"normal",fontSize:e.fontSize},[`${a}-body`]:Object.assign({padding:R,borderRadius:` 0 0 ${(0,l.bf)(e.borderRadiusLG)} ${(0,l.bf)(e.borderRadiusLG)}`},(0,L.dF)()),[`${a}-grid`]:W(e),[`${a}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${o}-image-mask`]:{borderRadius:`${(0,l.bf)(e.borderRadiusLG)} ${(0,l.bf)(e.borderRadiusLG)} 0 0`}},[`${a}-actions`]:ee(e),[`${a}-meta`]:d(e)}),[`${a}-bordered`]:{border:`${(0,l.bf)(e.lineWidth)} ${e.lineType} ${t}`,[`${a}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${a}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:r}},[`${a}-contain-grid`]:{borderRadius:`${(0,l.bf)(e.borderRadiusLG)} ${(0,l.bf)(e.borderRadiusLG)} 0 0 `,[`${a}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${a}-loading) ${a}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${a}-contain-tabs`]:{[`> ${a}-head`]:{minHeight:0,[`${a}-head-title, ${a}-extra`]:{paddingTop:s}}},[`${a}-type-inner`]:ie(e),[`${a}-loading`]:V(e),[`${a}-rtl`]:{direction:"rtl"}}},oe=e=>{const{componentCls:o,cardPaddingSM:a,headerHeightSM:r,headerFontSizeSM:s}=e;return{[`${o}-small`]:{[`> ${o}-head`]:{minHeight:r,padding:`0 ${(0,l.bf)(a)}`,fontSize:s,[`> ${o}-head-wrapper`]:{[`> ${o}-extra`]:{fontSize:e.fontSize}}},[`> ${o}-body`]:{padding:a}},[`${o}-small${o}-contain-tabs`]:{[`> ${o}-head`]:{[`${o}-head-title, ${o}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},te=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText});var se=(0,H.I$)("Card",e=>{const o=(0,_.TS)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[G(o),oe(o)]},te),m=function(e,o){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&o.indexOf(r)<0&&(a[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)o.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(a[r[s]]=e[r[s]]);return a};const c=e=>{const{prefixCls:o,actions:a=[]}=e;return i.createElement("ul",{className:`${o}-actions`},a.map((r,s)=>{const t=`action-${s}`;return i.createElement("li",{style:{width:`${100/a.length}%`},key:t},i.createElement("span",null,r))}))};var h=i.forwardRef((e,o)=>{const{prefixCls:a,className:r,rootClassName:s,style:t,extra:C,headStyle:R={},bodyStyle:z={},title:I,loading:j,bordered:w=!0,size:X,type:T,cover:M,actions:O,tabList:ne,children:ae,activeTabKey:ue,defaultActiveTabKey:he,tabBarExtraContent:xe,hoverable:me,tabProps:re={}}=e,fe=m(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:be,direction:ge,card:K}=i.useContext(f.E_),le=Q=>{var U;(U=e.onTabChange)===null||U===void 0||U.call(e,Q)},de=i.useMemo(()=>{let Q=!1;return i.Children.forEach(ae,U=>{U&&U.type&&U.type===k&&(Q=!0)}),Q},[ae]),E=be("card",a),[ye,Ee]=se(E),Ce=i.createElement(S.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},ae),ve=ue!==void 0,Se=Object.assign(Object.assign({},re),{[ve?"activeKey":"defaultActiveKey"]:ve?ue:he,tabBarExtraContent:xe});let Y;const B=(0,v.Z)(X),J=!B||B==="default"?"large":B,pe=ne?i.createElement(D.Z,Object.assign({size:J},Se,{className:`${E}-head-tabs`,onChange:le,items:ne.map(Q=>{var{tab:U}=Q,Ze=m(Q,["tab"]);return Object.assign({label:U},Ze)})})):null;(I||C||pe)&&(Y=i.createElement("div",{className:`${E}-head`,style:R},i.createElement("div",{className:`${E}-head-wrapper`},I&&i.createElement("div",{className:`${E}-head-title`},I),C&&i.createElement("div",{className:`${E}-extra`},C)),pe));const $e=M?i.createElement("div",{className:`${E}-cover`},M):null,je=i.createElement("div",{className:`${E}-body`,style:z},j?Ce:ae),Fe=O&&O.length?i.createElement(c,{prefixCls:E,actions:O}):null,De=(0,Z.Z)(fe,["onTabChange"]),Oe=F()(E,K==null?void 0:K.className,{[`${E}-loading`]:j,[`${E}-bordered`]:w,[`${E}-hoverable`]:me,[`${E}-contain-grid`]:de,[`${E}-contain-tabs`]:ne&&ne.length,[`${E}-${B}`]:B,[`${E}-type-${T}`]:!!T,[`${E}-rtl`]:ge==="rtl"},r,s,Ee),Be=Object.assign(Object.assign({},K==null?void 0:K.style),t);return ye(i.createElement("div",Object.assign({ref:o},De,{className:Oe,style:Be}),Y,$e,je,Fe))}),$=function(e,o){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&o.indexOf(r)<0&&(a[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)o.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(a[r[s]]=e[r[s]]);return a},x=e=>{const{prefixCls:o,className:a,avatar:r,title:s,description:t}=e,C=$(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:R}=i.useContext(f.E_),z=R("card",o),I=F()(`${z}-meta`,a),j=r?i.createElement("div",{className:`${z}-meta-avatar`},r):null,w=s?i.createElement("div",{className:`${z}-meta-title`},s):null,X=t?i.createElement("div",{className:`${z}-meta-description`},t):null,T=w||X?i.createElement("div",{className:`${z}-meta-detail`},w,X):null;return i.createElement("div",Object.assign({},C,{className:I}),j,T)};const y=h;y.Grid=k,y.Meta=x;var g=y},53295:function(N,b,n){n.d(b,{Z:function(){return se}});var i=n(50959),u=n(2116),F=n(94914),Z=n(84875),f=n.n(Z),v=n(31594),S=n(25670),P=m=>{const{value:c,formatter:p,precision:h,decimalSeparator:$,groupSeparator:A="",prefixCls:x}=m;let y;if(typeof p=="function")y=p(c);else{const g=String(c),e=g.match(/^(-?)(\d*)(\.(\d+))?$/);if(!e||g==="-")y=g;else{const o=e[1];let a=e[2]||"0",r=e[4]||"";a=a.replace(/\B(?=(\d{3})+(?!\d))/g,A),typeof h=="number"&&(r=r.padEnd(h,"0").slice(0,h>0?h:0)),r&&(r=`${$}${r}`),y=[i.createElement("span",{key:"int",className:`${x}-content-value-int`},o,a),r&&i.createElement("span",{key:"decimal",className:`${x}-content-value-decimal`},r)]}}return i.createElement("span",{className:`${x}-content-value`},y)},q=n(6301),k=n(81501),l=n(90467);const L=m=>{const{componentCls:c,marginXXS:p,padding:h,colorTextDescription:$,titleFontSize:A,colorTextHeading:x,contentFontSize:y,fontFamily:g}=m;return{[`${c}`]:Object.assign(Object.assign({},(0,q.Wf)(m)),{[`${c}-title`]:{marginBottom:p,color:$,fontSize:A},[`${c}-skeleton`]:{paddingTop:h},[`${c}-content`]:{color:x,fontSize:y,fontFamily:g,[`${c}-content-value`]:{display:"inline-block",direction:"ltr"},[`${c}-content-prefix, ${c}-content-suffix`]:{display:"inline-block"},[`${c}-content-prefix`]:{marginInlineEnd:p},[`${c}-content-suffix`]:{marginInlineStart:p}}})}},H=m=>{const{fontSizeHeading3:c,fontSize:p}=m;return{titleFontSize:p,contentFontSize:c}};var _=(0,k.I$)("Statistic",m=>{const c=(0,l.TS)(m,{});return[L(c)]},H),W=m=>{const{prefixCls:c,className:p,rootClassName:h,style:$,valueStyle:A,value:x=0,title:y,valueRender:g,prefix:e,suffix:o,loading:a=!1,onMouseEnter:r,onMouseLeave:s,decimalSeparator:t=".",groupSeparator:C=","}=m,{getPrefixCls:R,direction:z,statistic:I}=i.useContext(v.E_),j=R("statistic",c),[w,X]=_(j),T=i.createElement(P,Object.assign({decimalSeparator:t,groupSeparator:C,prefixCls:j},m,{value:x})),M=f()(j,{[`${j}-rtl`]:z==="rtl"},I==null?void 0:I.className,p,h,X);return w(i.createElement("div",{className:M,style:Object.assign(Object.assign({},I==null?void 0:I.style),$),onMouseEnter:r,onMouseLeave:s},y&&i.createElement("div",{className:`${j}-title`},y),i.createElement(S.Z,{paragraph:!1,loading:a,className:`${j}-skeleton`},i.createElement("div",{style:A,className:`${j}-content`},e&&i.createElement("span",{className:`${j}-content-prefix`},e),g?g(T):T,o&&i.createElement("span",{className:`${j}-content-suffix`},o)))))};const ee=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function d(m,c){let p=m;const h=/\[[^\]]*]/g,$=(c.match(h)||[]).map(g=>g.slice(1,-1)),A=c.replace(h,"[]"),x=ee.reduce((g,e)=>{let[o,a]=e;if(g.includes(o)){const r=Math.floor(p/a);return p-=r*a,g.replace(new RegExp(`${o}+`,"g"),s=>{const t=s.length;return r.toString().padStart(t,"0")})}return g},A);let y=0;return x.replace(h,()=>{const g=$[y];return y+=1,g})}function ie(m,c){const{format:p=""}=c,h=new Date(m).getTime(),$=Date.now(),A=Math.max(h-$,0);return d(A,p)}const V=1e3/30;function G(m){return new Date(m).getTime()}const oe=m=>{const{value:c,format:p="HH:mm:ss",onChange:h,onFinish:$}=m,A=(0,u.Z)(),x=i.useRef(null),y=()=>{$==null||$(),x.current&&(clearInterval(x.current),x.current=null)},g=()=>{const a=G(c);a>=Date.now()&&(x.current=setInterval(()=>{A(),h==null||h(a-Date.now()),a<Date.now()&&y()},V))};i.useEffect(()=>(g(),()=>{x.current&&(clearInterval(x.current),x.current=null)}),[c]);const e=(a,r)=>ie(a,Object.assign(Object.assign({},r),{format:p})),o=a=>(0,F.Tm)(a,{title:void 0});return i.createElement(W,Object.assign({},m,{valueRender:o,formatter:e}))};var te=i.memo(oe);W.Countdown=te;var se=W},3970:function(N,b,n){n.d(b,{N:function(){return i}});const i=u=>({color:u.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${u.motionDurationSlow}`,"&:focus, &:hover":{color:u.colorLinkHover},"&:active":{color:u.colorLinkActive}})},5449:function(N,b,n){n.d(b,{G:function(){return Z}});var i=n(63490),u=function(v){if((0,i.Z)()&&window.document.documentElement){var S=Array.isArray(v)?v:[v],D=window.document.documentElement;return S.some(function(P){return P in D.style})}return!1},F=function(v,S){if(!u(v))return!1;var D=document.createElement("div"),P=D.style[v];return D.style[v]=S,D.style[v]!==P};function Z(f,v){return!Array.isArray(f)&&v!==void 0?F(f,v):u(f)}}}]);