lobe.lmtgpt.us.kg Open in urlscan Pro
2606:4700:3033::ac43:dbd3  Public Scan

Submitted URL: http://lobe.lmtgpt.us.kg/_next/static/chunks/90563-0881e9e35cbd6f83.js
Effective URL: https://lobe.lmtgpt.us.kg/_next/static/chunks/90563-0881e9e35cbd6f83.js
Submission: On August 29 via api from US — Scanned from US

Form analysis 0 forms found in the DOM

Text Content

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[90563],{90563:function(t,n,c){c.d(n,{Z:function(){return F}});var i=c(2265),o=c(10695),e=c(46622),a=c(9772),r=c.n(a),l=c(86091),s=c(7768),d=c(69719),m=c(85052),p=c(40882),g=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function u(t){return"string"==typeof t}var h=function(t){var n,c,o,e,a,h=t.className,b=t.prefixCls,f=t.style,v=t.active,S=t.status,I=t.iconPrefix,C=t.icon,y=(t.wrapperStyle,t.stepNumber),w=t.disabled,q=t.description,x=t.title,k=t.subTitle,z=t.progressDot,T=t.stepIcon,E=t.tailContent,H=t.icons,O=t.stepIndex,N=t.onStepClick,W=t.onClick,j=t.render,X=(0,m.Z)(t,g),Z={};N&&!w&&(Z.role="button",Z.tabIndex=0,Z.onClick=function(t){null==W||W(t),N(O)},Z.onKeyDown=function(t){var n=t.which;(n===p.Z.ENTER||n===p.Z.SPACE)&&N(O)});var B=r()("".concat(b,"-item"),"".concat(b,"-item-").concat(S||"wait"),h,(a={},(0,d.Z)(a,"".concat(b,"-item-custom"),C),(0,d.Z)(a,"".concat(b,"-item-active"),v),(0,d.Z)(a,"".concat(b,"-item-disabled"),!0===w),a)),M=(0,s.Z)({},f),D=i.createElement("div",(0,l.Z)({},X,{className:B,style:M}),i.createElement("div",(0,l.Z)({onClick:W},Z,{className:"".concat(b,"-item-container")}),i.createElement("div",{className:"".concat(b,"-item-tail")},E),i.createElement("div",{className:"".concat(b,"-item-icon")},(o=r()("".concat(b,"-icon"),"".concat(I,"icon"),(n={},(0,d.Z)(n,"".concat(I,"icon-").concat(C),C&&u(C)),(0,d.Z)(n,"".concat(I,"icon-check"),!C&&"finish"===S&&(H&&!H.finish||!H)),(0,d.Z)(n,"".concat(I,"icon-cross"),!C&&"error"===S&&(H&&!H.error||!H)),n)),e=i.createElement("span",{className:"".concat(b,"-icon-dot")}),c=z?"function"==typeof z?i.createElement("span",{className:"".concat(b,"-icon")},z(e,{index:y-1,status:S,title:x,description:q})):i.createElement("span",{className:"".concat(b,"-icon")},e):C&&!u(C)?i.createElement("span",{className:"".concat(b,"-icon")},C):H&&H.finish&&"finish"===S?i.createElement("span",{className:"".concat(b,"-icon")},H.finish):H&&H.error&&"error"===S?i.createElement("span",{className:"".concat(b,"-icon")},H.error):C||"finish"===S||"error"===S?i.createElement("span",{className:o}):i.createElement("span",{className:"".concat(b,"-icon")},y),T&&(c=T({index:y-1,status:S,title:x,description:q,node:c})),c)),i.createElement("div",{className:"".concat(b,"-item-content")},i.createElement("div",{className:"".concat(b,"-item-title")},x,k&&i.createElement("div",{title:"string"==typeof k?k:void 0,className:"".concat(b,"-item-subtitle")},k)),q&&i.createElement("div",{className:"".concat(b,"-item-description")},q))));return j&&(D=j(D)||null),D},b=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function f(t){var n,c=t.prefixCls,o=void 0===c?"rc-steps":c,e=t.style,a=void 0===e?{}:e,p=t.className,g=(t.children,t.direction),u=t.type,f=void 0===u?"default":u,v=t.labelPlacement,S=t.iconPrefix,I=void 0===S?"rc":S,C=t.status,y=void 0===C?"process":C,w=t.size,q=t.current,x=void 0===q?0:q,k=t.progressDot,z=t.stepIcon,T=t.initial,E=void 0===T?0:T,H=t.icons,O=t.onChange,N=t.itemRender,W=t.items,j=(0,m.Z)(t,b),X="inline"===f,Z=X||void 0!==k&&k,B=X?"horizontal":void 0===g?"horizontal":g,M=X?void 0:w,D=r()(o,"".concat(o,"-").concat(B),p,(n={},(0,d.Z)(n,"".concat(o,"-").concat(M),M),(0,d.Z)(n,"".concat(o,"-label-").concat(Z?"vertical":void 0===v?"horizontal":v),"horizontal"===B),(0,d.Z)(n,"".concat(o,"-dot"),!!Z),(0,d.Z)(n,"".concat(o,"-navigation"),"navigation"===f),(0,d.Z)(n,"".concat(o,"-inline"),X),n)),P=function(t){O&&x!==t&&O(t)};return i.createElement("div",(0,l.Z)({className:D,style:a},j),(void 0===W?[]:W).filter(function(t){return t}).map(function(t,n){var c=(0,s.Z)({},t),e=E+n;return"error"===y&&n===x-1&&(c.className="".concat(o,"-next-error")),c.status||(e===x?c.status=y:e<x?c.status="finish":c.status="wait"),X&&(c.icon=void 0,c.subTitle=void 0),!c.render&&N&&(c.render=function(t){return N(c,t)}),i.createElement(h,(0,l.Z)({},c,{active:e===x,stepNumber:e+1,stepIndex:e,key:e,prefixCls:o,iconPrefix:I,wrapperStyle:a,progressDot:Z,stepIcon:z,icons:H,onStepClick:O&&P}))}))}f.Step=h;var v=c(38750),S=c(91531),I=c(6379),C=c(52943),y=c(88625),w=c(14358),q=c(98170),x=c(2330),k=c(35413),z=t=>{let{componentCls:n,customIconTop:c,customIconSize:i,customIconFontSize:o}=t;return{["".concat(n,"-item-custom")]:{["> ".concat(n,"-item-container > ").concat(n,"-item-icon")]:{height:"auto",background:"none",border:0,["> ".concat(n,"-icon")]:{top:c,width:i,height:i,fontSize:o,lineHeight:"".concat((0,w.bf)(i))}}},["&:not(".concat(n,"-vertical)")]:{["".concat(n,"-item-custom")]:{["".concat(n,"-item-icon")]:{width:"auto",background:"none"}}}}},T=t=>{let{componentCls:n}=t;return{["".concat(n,"-horizontal")]:{["".concat("".concat(n,"-item"),"-tail")]:{transform:"translateY(-50%)"}}}},E=t=>{let{componentCls:n,inlineDotSize:c,inlineTitleColor:i,inlineTailColor:o}=t,e=t.calc(t.paddingXS).add(t.lineWidth).equal(),a={["".concat(n,"-item-container ").concat(n,"-item-content ").concat(n,"-item-title")]:{color:i}};return{["&".concat(n,"-inline")]:{width:"auto",display:"inline-flex",["".concat(n,"-item")]:{flex:"none","&-container":{padding:"".concat((0,w.bf)(e)," ").concat((0,w.bf)(t.paddingXXS)," 0"),margin:"0 ".concat((0,w.bf)(t.calc(t.marginXXS).div(2).equal())),borderRadius:t.borderRadiusSM,cursor:"pointer",transition:"background-color ".concat(t.motionDurationMid),"&:hover":{background:t.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:c,height:c,marginInlineStart:"calc(50% - ".concat((0,w.bf)(t.calc(c).div(2).equal()),")"),["> ".concat(n,"-icon")]:{top:0},["".concat(n,"-icon-dot")]:{borderRadius:t.calc(t.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:t.calc(t.marginXS).sub(t.lineWidth).equal()},"&-title":{color:i,fontSize:t.fontSizeSM,lineHeight:t.lineHeightSM,fontWeight:"normal",marginBottom:t.calc(t.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:t.calc(c).div(2).add(e).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:t.lineWidth,borderRadius:0,marginInlineStart:0,background:o}},["&:first-child ".concat(n,"-item-tail")]:{width:"50%",marginInlineStart:"50%"},["&:last-child ".concat(n,"-item-tail")]:{display:"block",width:"50%"},"&-wait":Object.assign({["".concat(n,"-item-icon ").concat(n,"-icon ").concat(n,"-icon-dot")]:{backgroundColor:t.colorBorderBg,border:"".concat((0,w.bf)(t.lineWidth)," ").concat(t.lineType," ").concat(o)}},a),"&-finish":Object.assign({["".concat(n,"-item-tail::after")]:{backgroundColor:o},["".concat(n,"-item-icon ").concat(n,"-icon ").concat(n,"-icon-dot")]:{backgroundColor:o,border:"".concat((0,w.bf)(t.lineWidth)," ").concat(t.lineType," ").concat(o)}},a),"&-error":a,"&-active, &-process":Object.assign({["".concat(n,"-item-icon")]:{width:c,height:c,marginInlineStart:"calc(50% - ".concat((0,w.bf)(t.calc(c).div(2).equal()),")"),top:0}},a),["&:not(".concat(n,"-item-active) > ").concat(n,"-item-container[role='button']:hover")]:{["".concat(n,"-item-title")]:{color:i}}}}}},H=t=>{let{componentCls:n,iconSize:c,lineHeight:i,iconSizeSM:o}=t;return{["&".concat(n,"-label-vertical")]:{["".concat(n,"-item")]:{overflow:"visible","&-tail":{marginInlineStart:t.calc(c).div(2).add(t.controlHeightLG).equal(),padding:"0 ".concat((0,w.bf)(t.paddingLG))},"&-content":{display:"block",width:t.calc(c).div(2).add(t.controlHeightLG).mul(2).equal(),marginTop:t.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:t.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:t.marginXXS,marginInlineStart:0,lineHeight:i}},["&".concat(n,"-small:not(").concat(n,"-dot)")]:{["".concat(n,"-item")]:{"&-icon":{marginInlineStart:t.calc(c).sub(o).div(2).add(t.controlHeightLG).equal()}}}}}},O=t=>{let{componentCls:n,navContentMaxWidth:c,navArrowColor:i,stepsNavActiveColor:o,motionDurationSlow:e}=t;return{["&".concat(n,"-navigation")]:{paddingTop:t.paddingSM,["&".concat(n,"-small")]:{["".concat(n,"-item")]:{"&-container":{marginInlineStart:t.calc(t.marginSM).mul(-1).equal()}}},["".concat(n,"-item")]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:t.calc(t.margin).mul(-1).equal(),paddingBottom:t.paddingSM,textAlign:"start",transition:"opacity ".concat(e),["".concat(n,"-item-content")]:{maxWidth:c},["".concat(n,"-item-title")]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},q.vS),{"&::after":{display:"none"}})},["&:not(".concat(n,"-item-active)")]:{["".concat(n,"-item-container[role='button']")]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:"calc(50% - ".concat((0,w.bf)(t.calc(t.paddingSM).div(2).equal()),")"),insetInlineStart:"100%",display:"inline-block",width:t.fontSizeIcon,height:t.fontSizeIcon,borderTop:"".concat((0,w.bf)(t.lineWidth)," ").concat(t.lineType," ").concat(i),borderBottom:"none",borderInlineStart:"none",borderInlineEnd:"".concat((0,w.bf)(t.lineWidth)," ").concat(t.lineType," ").concat(i),transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:t.lineWidthBold,backgroundColor:o,transition:"width ".concat(e,", inset-inline-start ").concat(e),transitionTimingFunction:"ease-out",content:'""'}},["".concat(n,"-item").concat(n,"-item-active::before")]:{insetInlineStart:0,width:"100%"}},["&".concat(n,"-navigation").concat(n,"-vertical")]:{["> ".concat(n,"-item")]:{marginInlineEnd:0,"&::before":{display:"none"},["&".concat(n,"-item-active::before")]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:t.calc(t.lineWidth).mul(3).equal(),height:"calc(100% - ".concat((0,w.bf)(t.marginLG),")")},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:t.calc(t.controlHeight).mul(.25).equal(),height:t.calc(t.controlHeight).mul(.25).equal(),marginBottom:t.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},["> ".concat(n,"-item-container > ").concat(n,"-item-tail")]:{visibility:"hidden"}}},["&".concat(n,"-navigation").concat(n,"-horizontal")]:{["> ".concat(n,"-item > ").concat(n,"-item-container > ").concat(n,"-item-tail")]:{visibility:"hidden"}}}},N=t=>{let{antCls:n,componentCls:c,iconSize:i,iconSizeSM:o,processIconColor:e,marginXXS:a,lineWidthBold:r,lineWidth:l,paddingXXS:s}=t,d=t.calc(i).add(t.calc(r).mul(4).equal()).equal(),m=t.calc(o).add(t.calc(t.lineWidth).mul(4).equal()).equal();return{["&".concat(c,"-with-progress")]:{["".concat(c,"-item")]:{paddingTop:s,["&-process ".concat(c,"-item-container ").concat(c,"-item-icon ").concat(c,"-icon")]:{color:e}},["&".concat(c,"-vertical > ").concat(c,"-item ")]:{paddingInlineStart:s,["> ".concat(c,"-item-container > ").concat(c,"-item-tail")]:{top:a,insetInlineStart:t.calc(i).div(2).sub(l).add(s).equal()}},["&, &".concat(c,"-small")]:{["&".concat(c,"-horizontal ").concat(c,"-item:first-child")]:{paddingBottom:s,paddingInlineStart:s}},["&".concat(c,"-small").concat(c,"-vertical > ").concat(c,"-item > ").concat(c,"-item-container > ").concat(c,"-item-tail")]:{insetInlineStart:t.calc(o).div(2).sub(l).add(s).equal()},["&".concat(c,"-label-vertical ").concat(c,"-item ").concat(c,"-item-tail")]:{top:t.calc(i).div(2).add(s).equal()},["".concat(c,"-item-icon")]:{position:"relative",["".concat(n,"-progress")]:{position:"absolute",insetInlineStart:"50%",top:"50%",transform:"translate(-50%, -50%)","&-inner":{width:"".concat((0,w.bf)(d)," !important"),height:"".concat((0,w.bf)(d)," !important")}}},["&".concat(c,"-small")]:{["&".concat(c,"-label-vertical ").concat(c,"-item ").concat(c,"-item-tail")]:{top:t.calc(o).div(2).add(s).equal()},["".concat(c,"-item-icon ").concat(n,"-progress-inner")]:{width:"".concat((0,w.bf)(m)," !important"),height:"".concat((0,w.bf)(m)," !important")}}}}},W=t=>{let{componentCls:n,descriptionMaxWidth:c,lineHeight:i,dotCurrentSize:o,dotSize:e,motionDurationSlow:a}=t;return{["&".concat(n,"-dot, &").concat(n,"-dot").concat(n,"-small")]:{["".concat(n,"-item")]:{"&-title":{lineHeight:i},"&-tail":{top:t.calc(t.dotSize).sub(t.calc(t.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:"".concat((0,w.bf)(t.calc(c).div(2).equal())," 0"),padding:0,"&::after":{width:"calc(100% - ".concat((0,w.bf)(t.calc(t.marginSM).mul(2).equal()),")"),height:t.calc(t.lineWidth).mul(3).equal(),marginInlineStart:t.marginSM}},"&-icon":{width:e,height:e,marginInlineStart:t.calc(t.descriptionMaxWidth).sub(e).div(2).equal(),paddingInlineEnd:0,lineHeight:"".concat((0,w.bf)(e)),background:"transparent",border:0,["".concat(n,"-icon-dot")]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:"all ".concat(a),"&::after":{position:"absolute",top:t.calc(t.marginSM).mul(-1).equal(),insetInlineStart:t.calc(e).sub(t.calc(t.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:t.calc(t.controlHeightLG).mul(1.5).equal(),height:t.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:c},["&-process ".concat(n,"-item-icon")]:{position:"relative",top:t.calc(e).sub(o).div(2).equal(),width:o,height:o,lineHeight:"".concat((0,w.bf)(o)),background:"none",marginInlineStart:t.calc(t.descriptionMaxWidth).sub(o).div(2).equal()},["&-process ".concat(n,"-icon")]:{["&:first-child ".concat(n,"-icon-dot")]:{insetInlineStart:0}}}},["&".concat(n,"-vertical").concat(n,"-dot")]:{["".concat(n,"-item-icon")]:{marginTop:t.calc(t.controlHeight).sub(e).div(2).equal(),marginInlineStart:0,background:"none"},["".concat(n,"-item-process ").concat(n,"-item-icon")]:{marginTop:t.calc(t.controlHeight).sub(o).div(2).equal(),top:0,insetInlineStart:t.calc(e).sub(o).div(2).equal(),marginInlineStart:0},["".concat(n,"-item > ").concat(n,"-item-container > ").concat(n,"-item-tail")]:{top:t.calc(t.controlHeight).sub(e).div(2).equal(),insetInlineStart:0,margin:0,padding:"".concat((0,w.bf)(t.calc(e).add(t.paddingXS).equal())," 0 ").concat((0,w.bf)(t.paddingXS)),"&::after":{marginInlineStart:t.calc(e).sub(t.lineWidth).div(2).equal()}},["&".concat(n,"-small")]:{["".concat(n,"-item-icon")]:{marginTop:t.calc(t.controlHeightSM).sub(e).div(2).equal()},["".concat(n,"-item-process ").concat(n,"-item-icon")]:{marginTop:t.calc(t.controlHeightSM).sub(o).div(2).equal()},["".concat(n,"-item > ").concat(n,"-item-container > ").concat(n,"-item-tail")]:{top:t.calc(t.controlHeightSM).sub(e).div(2).equal()}},["".concat(n,"-item:first-child ").concat(n,"-icon-dot")]:{insetInlineStart:0},["".concat(n,"-item-content")]:{width:"inherit"}}}},j=t=>{let{componentCls:n}=t;return{["&".concat(n,"-rtl")]:{direction:"rtl",["".concat(n,"-item")]:{"&-subtitle":{float:"left"}},["&".concat(n,"-navigation")]:{["".concat(n,"-item::after")]:{transform:"rotate(-45deg)"}},["&".concat(n,"-vertical")]:{["> ".concat(n,"-item")]:{"&::after":{transform:"rotate(225deg)"},["".concat(n,"-item-icon")]:{float:"right"}}},["&".concat(n,"-dot")]:{["".concat(n,"-item-icon ").concat(n,"-icon-dot, &").concat(n,"-small ").concat(n,"-item-icon ").concat(n,"-icon-dot")]:{float:"right"}}}}},X=t=>{let{componentCls:n,iconSizeSM:c,fontSizeSM:i,fontSize:o,colorTextDescription:e}=t;return{["&".concat(n,"-small")]:{["&".concat(n,"-horizontal:not(").concat(n,"-label-vertical) ").concat(n,"-item")]:{paddingInlineStart:t.paddingSM,"&:first-child":{paddingInlineStart:0}},["".concat(n,"-item-icon")]:{width:c,height:c,marginTop:0,marginBottom:0,marginInline:"0 ".concat((0,w.bf)(t.marginXS)),fontSize:i,lineHeight:"".concat((0,w.bf)(c)),textAlign:"center",borderRadius:c},["".concat(n,"-item-title")]:{paddingInlineEnd:t.paddingSM,fontSize:o,lineHeight:"".concat((0,w.bf)(c)),"&::after":{top:t.calc(c).div(2).equal()}},["".concat(n,"-item-description")]:{color:e,fontSize:o},["".concat(n,"-item-tail")]:{top:t.calc(c).div(2).sub(t.paddingXXS).equal()},["".concat(n,"-item-custom ").concat(n,"-item-icon")]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,["> ".concat(n,"-icon")]:{fontSize:c,lineHeight:"".concat((0,w.bf)(c)),transform:"none"}}}}},Z=t=>{let{componentCls:n,iconSizeSM:c,iconSize:i}=t;return{["&".concat(n,"-vertical")]:{display:"flex",flexDirection:"column",["> ".concat(n,"-item")]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",["".concat(n,"-item-icon")]:{float:"left",marginInlineEnd:t.margin},["".concat(n,"-item-content")]:{display:"block",minHeight:t.calc(t.controlHeight).mul(1.5).equal(),overflow:"hidden"},["".concat(n,"-item-title")]:{lineHeight:"".concat((0,w.bf)(i))},["".concat(n,"-item-description")]:{paddingBottom:t.paddingSM}},["> ".concat(n,"-item > ").concat(n,"-item-container > ").concat(n,"-item-tail")]:{position:"absolute",top:0,insetInlineStart:t.calc(i).div(2).sub(t.lineWidth).equal(),width:t.lineWidth,height:"100%",padding:"".concat((0,w.bf)(t.calc(t.marginXXS).mul(1.5).add(i).equal())," 0 ").concat((0,w.bf)(t.calc(t.marginXXS).mul(1.5).equal())),"&::after":{width:t.lineWidth,height:"100%"}},["> ".concat(n,"-item:not(:last-child) > ").concat(n,"-item-container > ").concat(n,"-item-tail")]:{display:"block"},[" > ".concat(n,"-item > ").concat(n,"-item-container > ").concat(n,"-item-content > ").concat(n,"-item-title")]:{"&::after":{display:"none"}},["&".concat(n,"-small ").concat(n,"-item-container")]:{["".concat(n,"-item-tail")]:{position:"absolute",top:0,insetInlineStart:t.calc(c).div(2).sub(t.lineWidth).equal(),padding:"".concat((0,w.bf)(t.calc(t.marginXXS).mul(1.5).add(c).equal())," 0 ").concat((0,w.bf)(t.calc(t.marginXXS).mul(1.5).equal()))},["".concat(n,"-item-title")]:{lineHeight:"".concat((0,w.bf)(c))}}}}};let B=(t,n)=>{let c="".concat(n.componentCls,"-item"),i="".concat(t,"IconColor"),o="".concat(t,"TitleColor"),e="".concat(t,"DescriptionColor"),a="".concat(t,"TailColor"),r="".concat(t,"IconBgColor"),l="".concat(t,"IconBorderColor"),s="".concat(t,"DotColor");return{["".concat(c,"-").concat(t," ").concat(c,"-icon")]:{backgroundColor:n[r],borderColor:n[l],["> ".concat(n.componentCls,"-icon")]:{color:n[i],["".concat(n.componentCls,"-icon-dot")]:{background:n[s]}}},["".concat(c,"-").concat(t).concat(c,"-custom ").concat(c,"-icon")]:{["> ".concat(n.componentCls,"-icon")]:{color:n[s]}},["".concat(c,"-").concat(t," > ").concat(c,"-container > ").concat(c,"-content > ").concat(c,"-title")]:{color:n[o],"&::after":{backgroundColor:n[a]}},["".concat(c,"-").concat(t," > ").concat(c,"-container > ").concat(c,"-content > ").concat(c,"-description")]:{color:n[e]},["".concat(c,"-").concat(t," > ").concat(c,"-container > ").concat(c,"-tail::after")]:{backgroundColor:n[a]}}},M=t=>{let{componentCls:n,motionDurationSlow:c}=t,i="".concat(n,"-item"),o="".concat(i,"-icon");return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[i]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",["> ".concat(i,"-container > ").concat(i,"-tail, > ").concat(i,"-container >  ").concat(i,"-content > ").concat(i,"-title::after")]:{display:"none"}}},["".concat(i,"-container")]:{outline:"none","&:focus-visible":{[o]:Object.assign({},(0,q.oN)(t))}},["".concat(o,", ").concat(i,"-content")]:{display:"inline-block",verticalAlign:"top"},[o]:{width:t.iconSize,height:t.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:t.marginXS,fontSize:t.iconFontSize,fontFamily:t.fontFamily,lineHeight:"".concat((0,w.bf)(t.iconSize)),textAlign:"center",borderRadius:t.iconSize,border:"".concat((0,w.bf)(t.lineWidth)," ").concat(t.lineType," transparent"),transition:"background-color ".concat(c,", border-color ").concat(c),["".concat(n,"-icon")]:{position:"relative",top:t.iconTop,color:t.colorPrimary,lineHeight:1}},["".concat(i,"-tail")]:{position:"absolute",top:t.calc(t.iconSize).div(2).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:t.lineWidth,background:t.colorSplit,borderRadius:t.lineWidth,transition:"background ".concat(c),content:'""'}},["".concat(i,"-title")]:{position:"relative",display:"inline-block",paddingInlineEnd:t.padding,color:t.colorText,fontSize:t.fontSizeLG,lineHeight:"".concat((0,w.bf)(t.titleLineHeight)),"&::after":{position:"absolute",top:t.calc(t.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:t.lineWidth,background:t.processTailColor,content:'""'}},["".concat(i,"-subtitle")]:{display:"inline",marginInlineStart:t.marginXS,color:t.colorTextDescription,fontWeight:"normal",fontSize:t.fontSize},["".concat(i,"-description")]:{color:t.colorTextDescription,fontSize:t.fontSize}},B("wait",t)),B("process",t)),{["".concat(i,"-process > ").concat(i,"-container > ").concat(i,"-title")]:{fontWeight:t.fontWeightStrong}}),B("finish",t)),B("error",t)),{["".concat(i).concat(n,"-next-error > ").concat(n,"-item-title::after")]:{background:t.colorError},["".concat(i,"-disabled")]:{cursor:"not-allowed"}})},D=t=>{let{componentCls:n,motionDurationSlow:c}=t;return{["& ".concat(n,"-item")]:{["&:not(".concat(n,"-item-active)")]:{["& > ".concat(n,"-item-container[role='button']")]:{cursor:"pointer",["".concat(n,"-item")]:{["&-title, &-subtitle, &-description, &-icon ".concat(n,"-icon")]:{transition:"color ".concat(c)}},"&:hover":{["".concat(n,"-item")]:{"&-title, &-subtitle, &-description":{color:t.colorPrimary}}}},["&:not(".concat(n,"-item-process)")]:{["& > ".concat(n,"-item-container[role='button']:hover")]:{["".concat(n,"-item")]:{"&-icon":{borderColor:t.colorPrimary,["".concat(n,"-icon")]:{color:t.colorPrimary}}}}}}},["&".concat(n,"-horizontal:not(").concat(n,"-label-vertical)")]:{["".concat(n,"-item")]:{paddingInlineStart:t.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},["&:last-child ".concat(n,"-item-title")]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:t.descriptionMaxWidth,whiteSpace:"normal"}}}}},P=t=>{let{componentCls:n}=t;return{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,q.Wf)(t)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),M(t)),D(t)),z(t)),X(t)),Z(t)),T(t)),H(t)),W(t)),O(t)),j(t)),N(t)),E(t))}};var A=(0,x.I$)("Steps",t=>{let{colorTextDisabled:n,controlHeightLG:c,colorTextLightSolid:i,colorText:o,colorPrimary:e,colorTextDescription:a,colorTextQuaternary:r,colorError:l,colorBorderSecondary:s,colorSplit:d}=t;return[P((0,k.IX)(t,{processIconColor:i,processTitleColor:o,processDescriptionColor:o,processIconBgColor:e,processIconBorderColor:e,processDotColor:e,processTailColor:d,waitTitleColor:a,waitDescriptionColor:a,waitTailColor:d,waitDotColor:n,finishIconColor:e,finishTitleColor:o,finishDescriptionColor:a,finishTailColor:e,finishDotColor:e,errorIconColor:i,errorTitleColor:l,errorDescriptionColor:l,errorTailColor:d,errorIconBgColor:l,errorIconBorderColor:l,errorDotColor:l,stepsNavActiveColor:e,stepsProgressSize:c,inlineDotSize:6,inlineTitleColor:r,inlineTailColor:s}))]},t=>({titleLineHeight:t.controlHeight,customIconSize:t.controlHeight,customIconTop:0,customIconFontSize:t.controlHeightSM,iconSize:t.controlHeight,iconTop:-.5,iconFontSize:t.fontSize,iconSizeSM:t.fontSizeHeading3,dotSize:t.controlHeight/4,dotCurrentSize:t.controlHeightLG/4,navArrowColor:t.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:t.wireframe?t.colorTextDisabled:t.colorTextLabel,waitIconBgColor:t.wireframe?t.colorBgContainer:t.colorFillContent,waitIconBorderColor:t.wireframe?t.colorTextDisabled:"transparent",finishIconBgColor:t.wireframe?t.colorBgContainer:t.controlItemBgActive,finishIconBorderColor:t.wireframe?t.colorPrimary:t.controlItemBgActive})),L=c(68753),R=function(t,n){var c={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&0>n.indexOf(i)&&(c[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,i=Object.getOwnPropertySymbols(t);o<i.length;o++)0>n.indexOf(i[o])&&Object.prototype.propertyIsEnumerable.call(t,i[o])&&(c[i[o]]=t[i[o]]);return c};let G=t=>{let{percent:n,size:c,className:a,rootClassName:l,direction:s,items:d,responsive:m=!0,current:p=0,children:g,style:u}=t,h=R(t,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:b}=(0,I.Z)(m),{getPrefixCls:w,direction:q,steps:x}=i.useContext(v.E_),k=i.useMemo(()=>m&&b?"vertical":s,[b,s]),z=(0,S.Z)(c),T=w("steps",t.prefixCls),[E,H,O]=A(T),N="inline"===t.type,W=w("",t.iconPrefix),j=d||(0,L.Z)(g).map(t=>{if(i.isValidElement(t)){let{props:n}=t;return Object.assign({},n)}return null}).filter(t=>t),X=N?void 0:n,Z=Object.assign(Object.assign({},null==x?void 0:x.style),u),B=r()(null==x?void 0:x.className,{["".concat(T,"-rtl")]:"rtl"===q,["".concat(T,"-with-progress")]:void 0!==X},a,l,H,O),M={finish:i.createElement(o.Z,{className:"".concat(T,"-finish-icon")}),error:i.createElement(e.Z,{className:"".concat(T,"-error-icon")})};return E(i.createElement(f,Object.assign({icons:M},h,{style:Z,current:p,size:z,items:j,itemRender:N?(t,n)=>t.description?i.createElement(y.Z,{title:t.description},n):n:void 0,stepIcon:t=>{let{node:n,status:c}=t;return"process"===c&&void 0!==X?i.createElement("div",{className:"".concat(T,"-progress-icon")},i.createElement(C.Z,{type:"circle",percent:X,size:"small"===z?32:40,strokeWidth:4,format:()=>null}),n):n},direction:k,prefixCls:T,iconPrefix:W,className:B})))};G.Step=f.Step;var F=G}}]);