1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[67560],{4896:(t,e,n)=>{n.d(e,{A:()=>U});var o=n(58839),r=n(85521),c=n(54500),a=n(7724),i=n(79512),l=n(5270),s=n(15990),u=n.n(s),d=n(91528),p=n(19834),g=n(54113),m=n(7770),f=n(1918),h={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},y=function(){var t=(0,o.useRef)([]),e=(0,o.useRef)(null);return(0,o.useEffect)(function(){var n=Date.now(),o=!1;t.current.forEach(function(t){if(t){o=!0;var r=t.style;r.transitionDuration=".3s, .3s, .3s, .06s",e.current&&n-e.current<100&&(r.transitionDuration="0s, 0s")}}),o&&(e.current=Date.now())}),t.current},b=n(17621),v=n(44760),k=n(61763),x=0,C=(0,k.A)();let S=function(t){var e=o.useState(),n=(0,v.A)(e,2),r=n[0],c=n[1];return o.useEffect(function(){var t;c("rc_progress_".concat((C?(t=x,x+=1):t="TEST_OR_SSR",t)))},[]),t||r};var w=function(t){var e=t.bg,n=t.children;return o.createElement("div",{style:{width:"100%",height:"100%",background:e}},n)};function E(t,e){return Object.keys(t).map(function(n){var o=parseFloat(n),r="".concat(Math.floor(o*e),"%");return"".concat(t[n]," ").concat(r)})}var A=o.forwardRef(function(t,e){var n=t.prefixCls,r=t.color,c=t.gradientId,a=t.radius,i=t.style,l=t.ptg,s=t.strokeLinecap,u=t.strokeWidth,d=t.size,p=t.gapDegree,g=r&&"object"===(0,b.A)(r),m=d/2,f=o.createElement("circle",{className:"".concat(n,"-circle-path"),r:a,cx:m,cy:m,stroke:g?"#FFF":void 0,strokeLinecap:s,strokeWidth:u,opacity:+(0!==l),style:i,ref:e});if(!g)return f;var h="".concat(c,"-conic"),y=E(r,(360-p)/360),v=E(r,1),k="conic-gradient(from ".concat(p?"".concat(180+p/2,"deg"):"0deg",", ").concat(y.join(", "),")"),x="linear-gradient(to ".concat(p?"bottom":"top",", ").concat(v.join(", "),")");return o.createElement(o.Fragment,null,o.createElement("mask",{id:h},f),o.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(h,")")},o.createElement(w,{bg:x},o.createElement(w,{bg:k}))))}),O=function(t,e,n,o,r,c,a,i,l,s){var u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:0,d=(100-o)/100*e;return"round"===l&&100!==o&&(d+=s/2)>=e&&(d=e-.01),{stroke:"string"==typeof i?i:void 0,strokeDasharray:"".concat(e,"px ").concat(t),strokeDashoffset:d+u,transform:"rotate(".concat(r+n/100*360*((360-c)/360)+(0===c?0:({bottom:0,top:180,left:90,right:-90})[a]),"deg)"),transformOrigin:"".concat(50,"px ").concat(50,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},j=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function N(t){var e=null!=t?t:[];return Array.isArray(e)?e:[e]}let I=function(t){var e,n,r,c,a=(0,m.A)((0,m.A)({},h),t),i=a.id,l=a.prefixCls,s=a.steps,d=a.strokeWidth,p=a.trailWidth,v=a.gapDegree,k=void 0===v?0:v,x=a.gapPosition,C=a.trailColor,w=a.strokeLinecap,E=a.style,I=a.className,D=a.strokeColor,z=a.percent,W=(0,f.A)(a,j),M=S(i),P="".concat(M,"-gradient"),R=50-d/2,X=2*Math.PI*R,F=k>0?90+k/2:-90,L=(360-k)/360*X,T="object"===(0,b.A)(s)?s:{count:s,gap:2},_=T.count,B=T.gap,H=N(z),q=N(D),Q=q.find(function(t){return t&&"object"===(0,b.A)(t)}),Y=Q&&"object"===(0,b.A)(Q)?"butt":w,G=O(X,L,0,100,F,k,x,C,Y,d),J=y();return o.createElement("svg",(0,g.A)({className:u()("".concat(l,"-circle"),I),viewBox:"0 0 ".concat(100," ").concat(100),style:E,id:i,role:"presentation"},W),!_&&o.createElement("circle",{className:"".concat(l,"-circle-trail"),r:R,cx:50,cy:50,stroke:C,strokeLinecap:Y,strokeWidth:p||d,style:G}),_?(e=Math.round(_*(H[0]/100)),n=100/_,r=0,Array(_).fill(null).map(function(t,c){var a=c<=e-1?q[0]:C,i=a&&"object"===(0,b.A)(a)?"url(#".concat(P,")"):void 0,s=O(X,L,r,n,F,k,x,a,"butt",d,B);return r+=(L-s.strokeDashoffset+B)*100/L,o.createElement("circle",{key:c,className:"".concat(l,"-circle-path"),r:R,cx:50,cy:50,stroke:i,strokeWidth:d,opacity:1,style:s,ref:function(t){J[c]=t}})})):(c=0,H.map(function(t,e){var n=q[e]||q[q.length-1],r=O(X,L,c,t,F,k,x,n,Y,d);return c+=t,o.createElement(A,{key:e,color:n,ptg:t,radius:R,prefixCls:l,gradientId:P,style:r,strokeLinecap:Y,strokeWidth:d,gapDegree:k,ref:function(t){J[e]=t},size:100})}).reverse()))};var D=n(86301),z=n(66348);function W(t){return!t||t<0?0:t>100?100:t}function M(t){let{success:e,successPercent:n}=t,o=n;return e&&"progress"in e&&(o=e.progress),e&&"percent"in e&&(o=e.percent),o}let P=(t,e,n)=>{var o,r,c,a;let i=-1,l=-1;if("step"===e){let e=n.steps,o=n.strokeWidth;"string"==typeof t||void 0===t?(i="small"===t?2:14,l=null!=o?o:8):"number"==typeof t?[i,l]=[t,t]:[i=14,l=8]=Array.isArray(t)?t:[t.width,t.height],i*=e}else if("line"===e){let e=null==n?void 0:n.strokeWidth;"string"==typeof t||void 0===t?l=e||("small"===t?6:8):"number"==typeof t?[i,l]=[t,t]:[i=-1,l=8]=Array.isArray(t)?t:[t.width,t.height]}else("circle"===e||"dashboard"===e)&&("string"==typeof t||void 0===t?[i,l]="small"===t?[60,60]:[120,120]:"number"==typeof t?[i,l]=[t,t]:Array.isArray(t)&&(i=null!=(r=null!=(o=t[0])?o:t[1])?r:120,l=null!=(a=null!=(c=t[0])?c:t[1])?a:120));return[i,l]},R=t=>{let{prefixCls:e,trailColor:n=null,strokeLinecap:r="round",gapPosition:c,gapDegree:a,width:i=120,type:l,children:s,success:d,size:p=i,steps:g}=t,[m,f]=P(p,"circle"),{strokeWidth:h}=t;void 0===h&&(h=Math.max(3/m*100,6));let y=o.useMemo(()=>a||0===a?a:"dashboard"===l?75:void 0,[a,l]),b=(t=>{let{percent:e,success:n,successPercent:o}=t,r=W(M({success:n,successPercent:o}));return[r,W(W(e)-r)]})(t),v="[object Object]"===Object.prototype.toString.call(t.strokeColor),k=(t=>{let{success:e={},strokeColor:n}=t,{strokeColor:o}=e;return[o||z.uy.green,n||null]})({success:d,strokeColor:t.strokeColor}),x=u()("".concat(e,"-inner"),{["".concat(e,"-circle-gradient")]:v}),C=o.createElement(I,{steps:g,percent:g?b[1]:b,strokeWidth:h,trailWidth:h,strokeColor:g?k[1]:k,strokeLinecap:r,trailColor:n,prefixCls:e,gapDegree:y,gapPosition:c||"dashboard"===l&&"bottom"||void 0}),S=m<=20,w=o.createElement("div",{className:x,style:{width:m,height:f,fontSize:.15*m+6}},C,!S&&s);return S?o.createElement(D.A,{title:s},w):w};var X=n(58560),F=n(23892),L=n(21203),T=n(64938);let _="--progress-line-stroke-color",B="--progress-percent",H=t=>{let e=t?"100%":"-100%";return new X.Mo("antProgress".concat(t?"RTL":"LTR","Active"),{"0%":{transform:"translateX(".concat(e,") scaleX(0)"),opacity:.1},"20%":{transform:"translateX(".concat(e,") scaleX(0)"),opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}
1})},q=(0,L.OF)("Progress",t=>{let e=t.calc(t.marginXXS).div(2).equal(),n=(0,T.oX)(t,{progressStepMarginInlineEnd:e,progressStepMinWidth:e,progressActiveMotionDuration:"2.4s"});return[(t=>{let{componentCls:e,iconCls:n}=t;return{[e]:Object.assign(Object.assign({},(0,F.dF)(t)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:t.fontSize},["".concat(e,"-outer")]:{display:"inline-flex",alignItems:"center",width:"100%"},["".concat(e,"-inner")]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:t.remainingColor,borderRadius:t.lineBorderRadius},["".concat(e,"-inner:not(").concat(e,"-circle-gradient)")]:{["".concat(e,"-circle-path")]:{stroke:t.defaultColor}},["".concat(e,"-success-bg, ").concat(e,"-bg")]:{position:"relative",background:t.defaultColor,borderRadius:t.lineBorderRadius,transition:"all ".concat(t.motionDurationSlow," ").concat(t.motionEaseInOutCirc)},["".concat(e,"-layout-bottom")]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",["".concat(e,"-text")]:{width:"max-content",marginInlineStart:0,marginTop:t.marginXXS}},["".concat(e,"-bg")]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit","var(".concat(_,")")]},height:"100%",width:"calc(1 / var(".concat(B,") * 100%)"),display:"block"},["&".concat(e,"-bg-inner")]:{minWidth:"max-content","&::after":{content:"none"},["".concat(e,"-text-inner")]:{color:t.colorWhite,["&".concat(e,"-text-bright")]:{color:"rgba(0, 0, 0, 0.45)"}}}},["".concat(e,"-success-bg")]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:t.colorSuccess},["".concat(e,"-text")]:{display:"inline-block",marginInlineStart:t.marginXS,color:t.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:t.fontSize},["&".concat(e,"-text-outer")]:{width:"max-content"},["&".concat(e,"-text-outer").concat(e,"-text-start")]:{width:"max-content",marginInlineStart:0,marginInlineEnd:t.marginXS}},["".concat(e,"-text-inner")]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:"0 ".concat((0,X.zA)(t.paddingXXS)),["&".concat(e,"-text-start")]:{justifyContent:"start"},["&".concat(e,"-text-end")]:{justifyContent:"end"}},["&".concat(e,"-status-active")]:{["".concat(e,"-bg::before")]:{position:"absolute",inset:0,backgroundColor:t.colorBgContainer,borderRadius:t.lineBorderRadius,opacity:0,animationName:H(),animationDuration:t.progressActiveMotionDuration,animationTimingFunction:t.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},["&".concat(e,"-rtl").concat(e,"-status-active")]:{["".concat(e,"-bg::before")]:{animationName:H(!0)}},["&".concat(e,"-status-exception")]:{["".concat(e,"-bg")]:{backgroundColor:t.colorError},["".concat(e,"-text")]:{color:t.colorError}},["&".concat(e,"-status-exception ").concat(e,"-inner:not(").concat(e,"-circle-gradient)")]:{["".concat(e,"-circle-path")]:{stroke:t.colorError}},["&".concat(e,"-status-success")]:{["".concat(e,"-bg")]:{backgroundColor:t.colorSuccess},["".concat(e,"-text")]:{color:t.colorSuccess}},["&".concat(e,"-status-success ").concat(e,"-inner:not(").concat(e,"-circle-gradient)")]:{["".concat(e,"-circle-path")]:{stroke:t.colorSuccess}}})}})(n),(t=>{let{componentCls:e,iconCls:n}=t;return{[e]:{["".concat(e,"-circle-trail")]:{stroke:t.remainingColor},["&".concat(e,"-circle ").concat(e,"-inner")]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},["&".concat(e,"-circle ").concat(e,"-text")]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:t.circleTextColor,fontSize:t.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:t.circleIconFontSize}},["".concat(e,"-circle&-status-exception")]:{["".concat(e,"-text")]:{color:t.colorError}},["".concat(e,"-circle&-status-success")]:{["".concat(e,"-text")]:{color:t.colorSuccess}}},["".concat(e,"-inline-circle")]:{lineHeight:1,["".concat(e,"-inner")]:{verticalAlign:"bottom"}}}})(n),(t=>{let{componentCls:e}=t;
1return{[e]:{["".concat(e,"-steps")]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:t.progressStepMinWidth,marginInlineEnd:t.progressStepMarginInlineEnd,backgroundColor:t.remainingColor,transition:"all ".concat(t.motionDurationSlow),"&-active":{backgroundColor:t.defaultColor}}}}}})(n),(t=>{let{componentCls:e,iconCls:n}=t;return{[e]:{["".concat(e,"-small&-line, ").concat(e,"-small&-line ").concat(e,"-text ").concat(n)]:{fontSize:t.fontSizeSM}}}})(n)]},t=>({circleTextColor:t.colorText,defaultColor:t.colorInfo,remainingColor:t.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:"".concat(t.fontSize/t.fontSizeSM,"em")}));var Q=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&0>e.indexOf(o)&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)0>e.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n};let Y=t=>{let{prefixCls:e,direction:n,percent:r,size:c,strokeWidth:a,strokeColor:i,strokeLinecap:l="round",children:s,trailColor:d=null,percentPosition:p,success:g}=t,{align:m,type:f}=p,h=i&&"string"!=typeof i?((t,e)=>{let{from:n=z.uy.blue,to:o=z.uy.blue,direction:r="rtl"===e?"to left":"to right"}=t,c=Q(t,["from","to","direction"]);if(0!==Object.keys(c).length){let t=(t=>{let e=[];return Object.keys(t).forEach(n=>{let o=parseFloat(n.replace(/%/g,""));Number.isNaN(o)||e.push({key:o,value:t[n]})}),(e=e.sort((t,e)=>t.key-e.key)).map(t=>{let{key:e,value:n}=t;return"".concat(n," ").concat(e,"%")}).join(", ")})(c),e="linear-gradient(".concat(r,", ").concat(t,")");return{background:e,[_]:e}}let a="linear-gradient(".concat(r,", ").concat(n,", ").concat(o,")");return{background:a,[_]:a}})(i,n):{[_]:i,background:i},y="square"===l||"butt"===l?0:void 0,[b,v]=P(null!=c?c:[-1,a||("small"===c?6:8)],"line",{strokeWidth:a}),k=Object.assign(Object.assign({width:"".concat(W(r),"%"),height:v,borderRadius:y},h),{[B]:W(r)/100}),x=M(t),C={width:"".concat(W(x),"%"),height:v,borderRadius:y,backgroundColor:null==g?void 0:g.strokeColor},S=o.createElement("div",{className:"".concat(e,"-inner"),style:{backgroundColor:d||void 0,borderRadius:y}},o.createElement("div",{className:u()("".concat(e,"-bg"),"".concat(e,"-bg-").concat(f)),style:k},"inner"===f&&s),void 0!==x&&o.createElement("div",{className:"".concat(e,"-success-bg"),style:C})),w="outer"===f&&"start"===m,E="outer"===f&&"end"===m;return"outer"===f&&"center"===m?o.createElement("div",{className:"".concat(e,"-layout-bottom")},S,s):o.createElement("div",{className:"".concat(e,"-outer"),style:{width:b<0?"100%":b}},w&&s,S,E&&s)},G=t=>{let{size:e,steps:n,percent:r=0,strokeWidth:c=8,strokeColor:a,trailColor:i=null,prefixCls:l,children:s}=t,d=Math.round(r/100*n),[p,g]=P(null!=e?e:["small"===e?2:14,c],"step",{steps:n,strokeWidth:c}),m=p/n,f=Array(n);for(let t=0;t<n;t++){let e=Array.isArray(a)?a[t]:a;f[t]=o.createElement("div",{key:t,className:u()("".concat(l,"-steps-item"),{["".concat(l,"-steps-item-active")]:t<=d-1}),style:{backgroundColor:t<=d-1?e:i,width:m,height:g}})}return o.createElement("div",{className:"".concat(l,"-steps-outer")},f,s)};var J=function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&0>e.indexOf(o)&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(t);r<o.length;r++)0>e.indexOf(o[r])&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]]);return n};let K=["normal","exception","active","success"],U=o.forwardRef((t,e)=>{let n,{prefixCls:s,className:g,rootClassName:m,steps:f,strokeColor:h,percent:y=0,size:b="default",showInfo:v=!0,type:k="line",status:x,format:C,style:S,percentPosition:w={}}=t,E=J(t,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:A="end",type:O="outer"}=w,j=Array.isArray(h)?h[0]:h,N="string"==typeof h||Array.isArray(h)?h:void 0,I=o.useMemo(()=>
1{if(j){let t="string"==typeof j?j:Object.values(j)[0];return new l.Y(t).isLight()}return!1},[h]),D=o.useMemo(()=>{var e,n;let o=M(t);return parseInt(void 0!==o?null==(e=null!=o?o:0)?void 0:e.toString():null==(n=null!=y?y:0)?void 0:n.toString(),10)},[y,t.success,t.successPercent]),z=o.useMemo(()=>!K.includes(x)&&D>=100?"success":x||"normal",[x,D]),{getPrefixCls:X,direction:F,progress:L}=o.useContext(p.QO),T=X("progress",s),[_,B,H]=q(T),Q="line"===k,U=Q&&!f,V=o.useMemo(()=>{let e;if(!v)return null;let n=M(t),l=C||(t=>"".concat(t,"%")),s=Q&&I&&"inner"===O;return"inner"===O||C||"exception"!==z&&"success"!==z?e=l(W(y),W(n)):"exception"===z?e=Q?o.createElement(a.A,null):o.createElement(i.A,null):"success"===z&&(e=Q?o.createElement(r.A,null):o.createElement(c.A,null)),o.createElement("span",{className:u()("".concat(T,"-text"),{["".concat(T,"-text-bright")]:s,["".concat(T,"-text-").concat(A)]:U,["".concat(T,"-text-").concat(O)]:U}),title:"string"==typeof e?e:void 0},e)},[v,y,D,z,k,T,C]);"line"===k?n=f?o.createElement(G,Object.assign({},t,{strokeColor:N,prefixCls:T,steps:"object"==typeof f?f.count:f}),V):o.createElement(Y,Object.assign({},t,{strokeColor:j,prefixCls:T,direction:F,percentPosition:{align:A,type:O}}),V):("circle"===k||"dashboard"===k)&&(n=o.createElement(R,Object.assign({},t,{strokeColor:j,prefixCls:T,progressStatus:z}),V));let Z=u()(T,"".concat(T,"-status-").concat(z),{["".concat(T,"-").concat("dashboard"===k&&"circle"||k)]:"line"!==k,["".concat(T,"-inline-circle")]:"circle"===k&&P(b,"circle")[0]<=20,["".concat(T,"-line")]:U,["".concat(T,"-line-align-").concat(A)]:U,["".concat(T,"-line-position-").concat(O)]:U,["".concat(T,"-steps")]:f,["".concat(T,"-show-info")]:v,["".concat(T,"-").concat(b)]:"string"==typeof b,["".concat(T,"-rtl")]:"rtl"===F},null==L?void 0:L.className,g,m,B,H);return _(o.createElement("div",Object.assign({ref:e,style:Object.assign(Object.assign({},null==L?void 0:L.style),S),className:Z,role:"progressbar","aria-valuenow":D,"aria-valuemin":0,"aria-valuemax":100},(0,d.A)(E,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),n))})},61209:(t,e,n)=>{n.d(e,{A:()=>i});var o=n(54113),r=n(58839);let c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"};var a=n(17966);let i=r.forwardRef(function(t,e){return r.createElement(a.A,(0,o.A)({},t,{ref:e,icon:c}))})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.