1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2902,9649],{84020:function(e,n,t){t.d(n,{Z:function(){return H}});var c=t(75271),o=t(45929),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},r=t(52095),l=c.forwardRef(function(e,n){return c.createElement(r.Z,(0,o.Z)({},e,{ref:n,icon:a}))}),i=t(82187),s=t.n(i),d=t(75621),u=t(50155),f=t(17039),g=t(93954),h=t(14583),m=t(71305),p=c.forwardRef(function(e,n){var t=e.disabled,o=e.prefixCls,a=e.character,r=e.characterRender,l=e.index,i=e.count,d=e.value,u=e.allowHalf,f=e.focused,g=e.onHover,m=e.onClick,p=l+1,b=new Set([o]);0===d&&0===l&&f?b.add("".concat(o,"-focused")):u&&d+.5>=p&&d<p?(b.add("".concat(o,"-half")),b.add("".concat(o,"-active")),f&&b.add("".concat(o,"-focused"))):(p<=d?b.add("".concat(o,"-full")):b.add("".concat(o,"-zero")),p===d&&f&&b.add("".concat(o,"-focused")));var v="function"==typeof a?a(e):a,y=c.createElement("li",{className:s()(Array.from(b)),ref:n},c.createElement("div",{onClick:t?null:function(e){m(e,l)},onKeyDown:t?null:function(e){e.keyCode===h.Z.ENTER&&m(e,l)},onMouseMove:t?null:function(e){g(e,l)},role:"radio","aria-checked":d>l?"true":"false","aria-posinset":l+1,"aria-setsize":i,tabIndex:t?-1:0},c.createElement("div",{className:"".concat(o,"-first")},v),c.createElement("div",{className:"".concat(o,"-second")},v)));return r&&(y=r(y,e)),y}),b=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"],v=c.forwardRef(function(e,n){var t,a=e.prefixCls,r=void 0===a?"rc-rate":a,l=e.className,i=e.defaultValue,v=e.value,y=e.count,k=void 0===y?5:y,C=e.allowHalf,S=void 0!==C&&C,w=e.allowClear,I=void 0===w||w,E=e.keyboard,x=void 0===E||E,O=e.character,Z=void 0===O?"â
":O,j=e.characterRender,N=e.disabled,H=e.direction,T=void 0===H?"ltr":H,M=e.tabIndex,D=e.autoFocus,R=e.onHoverChange,z=e.onChange,L=e.onFocus,q=e.onBlur,P=e.onKeyDown,B=e.onMouseLeave,F=(0,f.Z)(e,b),A=(t=c.useRef({}),[function(e){return t.current[e]},function(e){return function(n){t.current[e]=n}}]),W=(0,u.Z)(A,2),X=W[0],_=W[1],K=c.useRef(null),V=function(){if(!N){var e;null===(e=K.current)||void 0===e||e.focus()}};c.useImperativeHandle(n,function(){return{focus:V,blur:function(){if(!N){var e;null===(e=K.current)||void 0===e||e.blur()}}}});var G=(0,g.Z)(i||0,{value:v}),Q=(0,u.Z)(G,2),$=Q[0],U=Q[1],J=(0,g.Z)(null),Y=(0,u.Z)(J,2),ee=Y[0],en=Y[1],et=function(e,n){var t="rtl"===T,c=e+1;if(S){var o,a,r,l,i,s,d,u,f,g=X(e),h=(l=(r=g.ownerDocument).body,i=r&&r.documentElement,o=(s=g.getBoundingClientRect()).left,a=s.top,d={left:o-=i.clientLeft||l.clientLeft||0,top:a-=i.clientTop||l.clientTop||0},f=(u=g.ownerDocument).defaultView||u.parentWindow,d.left+=function(e){var n=e.pageXOffset,t="scrollLeft";if("number"!=typeof n){var c=e.document;"number"!=typeof(n=c.documentElement[t])&&(n=c.body[t])}return n}(f),d.left),m=g.clientWidth;t&&n-h>m/2?c-=.5:!t&&n-h<m/2&&(c-=.5)}return c},ec=function(e){U(e),null==z||z(e)},eo=c.useState(!1),ea=(0,u.Z)(eo,2),er=ea[0],el=ea[1],ei=c.useState(null),es=(0,u.Z)(ei,2),ed=es[0],eu=es[1],ef=function(e,n){var t=et(n,e.pageX);t!==ee&&(eu(t),en(null)),null==R||R(t)},eg=function(e){N||(eu(null),en(null),null==R||R(void 0)),e&&(null==B||B(e))},eh=function(e,n){var t=et(n,e.pageX),c=!1;I&&(c=t===$),eg(),ec(c?0:t),en(c?t:null)};c.useEffect(function(){D&&!N&&V()},[]);var em=Array(k).fill(0).map(function(e,n){return c.createElement(p,{ref:_(n),index:n,count:k,disabled:N,prefixCls:"".concat(r,"-star"),allowHalf:S,value:null===ed?$:ed,onClick:eh,onHover:ef,key:e||n,character:Z,characterRender:j,focused:er})}),ep=s()(r,l,(0,d.Z)((0,d.Z)({},"".concat(r,"-disabled"),N),"".concat(r,"-rtl"),"rtl"===T));return c.createElement("ul",(0,o.Z)({className:ep,onMouseLeave:eg,tabIndex:N?-1:void 0===M?0:M,onFocus:N?null:function(){el(!0),null==L||L()},onBlur:N?null:function(){el(!1),null==q||q()},onKeyDown:N?null:function(e){var n=e.keyCode,t="rtl"===T,c=S?.5:1;x&&(n===h.Z.RIGHT&&$<k&&!t?(ec($+c),e.preventDefault()):n===h.Z.LEFT&&$>0&&!t?(ec($-c),e.preventDefault()):n===h.Z.RIGHT&&$>0&&t?(ec($-c),e.preventDefault()):n===h.Z.LEFT&&$<k&&t&&(ec($+c),e.preventDefault())),null==P||P(e)},ref:K},(0,m.Z)(F,{aria:!0,data:!0,attr:!0})),em)}),y=t(88859),k=t(27610),C=t(84759),S=t(42446),w=t(38841),I=t(83509);let E=e=>{let{componentCls:n}=e;return{["".concat(n,"-star")]:{position:"relative",display:"inline-block",color:"inherit",curs
1or:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:"all ".concat(e.motionDurationMid,", outline 0s"),"&:hover":{transform:e.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:"".concat((0,C.unit)(e.lineWidth)," dashed ").concat(e.starColor),transform:e.starHoverScale}},"&-first, &-second":{color:e.starBg,transition:"all ".concat(e.motionDurationMid),userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},["&-half ".concat(n,"-star-first, &-half ").concat(n,"-star-second")]:{opacity:1},["&-half ".concat(n,"-star-first, &-full ").concat(n,"-star-second")]:{color:"inherit"}}}},x=e=>({["&-rtl".concat(e.componentCls)]:{direction:"rtl"}}),O=e=>{let{componentCls:n}=e;return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,S.Wf)(e)),{display:"inline-block",margin:0,padding:0,color:e.starColor,fontSize:e.starSize,lineHeight:1,listStyle:"none",outline:"none",["&-disabled".concat(n," ").concat(n,"-star")]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),E(e)),x(e))}};var Z=(0,w.I$)("Rate",e=>O((0,I.mergeToken)(e,{})),e=>({starColor:e.yellow6,starSize:.5*e.controlHeightLG,starHoverScale:"scale(1.1)",starBg:e.colorFillContent})),j=t(8154),N=function(e,n){var t={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>n.indexOf(c)&&(t[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,c=Object.getOwnPropertySymbols(e);o<c.length;o++)0>n.indexOf(c[o])&&Object.prototype.propertyIsEnumerable.call(e,c[o])&&(t[c[o]]=e[c[o]]);return t},H=c.forwardRef((e,n)=>{let{prefixCls:t,className:o,rootClassName:a,style:r,tooltips:i,character:d=c.createElement(l,null),disabled:u}=e,f=N(e,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),{getPrefixCls:g,direction:h,rate:m}=c.useContext(y.E_),p=g("rate",t),[b,C,S]=Z(p),w=Object.assign(Object.assign({},null==m?void 0:m.style),r),I=c.useContext(j.Z);return b(c.createElement(v,Object.assign({ref:n,character:d,characterRender:(e,n)=>{let{index:t}=n;return i?c.createElement(k.Z,{title:i[t]},e):e},disabled:null!=u?u:I},f,{className:s()(o,a,C,S,null==m?void 0:m.className),style:w,prefixCls:p,direction:h})))})},39649:function(e,n,t){t.d(n,{Z:function(){return T}});var c=t(75271),o=t(774),a=t(82187),r=t.n(a),l=t(45929),i=t(75621),s=t(50155),d=t(17039),u=t(93954),f=t(14583),g=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],h=c.forwardRef(function(e,n){var t,o=e.prefixCls,a=void 0===o?"rc-switch":o,h=e.className,m=e.checked,p=e.defaultChecked,b=e.disabled,v=e.loadingIcon,y=e.checkedChildren,k=e.unCheckedChildren,C=e.onClick,S=e.onChange,w=e.onKeyDown,I=(0,d.Z)(e,g),E=(0,u.Z)(!1,{value:m,defaultValue:p}),x=(0,s.Z)(E,2),O=x[0],Z=x[1];function j(e,n){var t=O;return b||(Z(t=e),null==S||S(t,n)),t}var N=r()(a,h,(t={},(0,i.Z)(t,"".concat(a,"-checked"),O),(0,i.Z)(t,"".concat(a,"-disabled"),b),t));return c.createElement("button",(0,l.Z)({},I,{type:"button",role:"switch","aria-checked":O,disabled:b,className:N,ref:n,onKeyDown:function(e){e.which===f.Z.LEFT?j(!1,e):e.which===f.Z.RIGHT&&j(!0,e),null==w||w(e)},onClick:function(e){var n=j(!O,e);null==C||C(n,e)}}),v,c.createElement("span",{className:"".concat(a,"-inner")},c.createElement("span",{className:"".concat(a,"-inner-checked")},y),c.createElement("span",{className:"".concat(a,"-inner-unchecked")},k)))});h.displayName="Switch";var m=t(71192),p=t(88859),b=t(8154),v=t(79038),y=t(84759),k=t(84432),C=t(42446),S=t(38841),w=t(83509);let I=e=>{let{componentCls:n,trackHeightSM:t,trackPadding:c,trackMinWidthSM:o,innerMinMarginSM:a,innerMaxMarginSM:r,handleSizeSM:l,calc:i}=e,s="".concat(n,"-inner"),d=(0,y.unit)(i(l).add(i(c).mul(2)).equal()),u=(0,y.unit)(i(r).mul(2).equal());return{[n]:{["&".concat(n,"-small")]:{minWidth:o,height:t,lineHeight:(0,y.unit)(t),["".concat(n,"-inner")]:{paddingInlineStart:r,paddingInlineEnd:a,["".concat(s,"-checked, ").concat(s,"-unchecked")]:{minHeight:t},["".concat(s,"-checked")]:{marginInlineStart:"calc(-100% + ".concat(d," - ").concat(u,")"),marginInlineEnd:"calc(100% - ".concat(d," + ").concat(u,")")}
1,["".concat(s,"-unchecked")]:{marginTop:i(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},["".concat(n,"-handle")]:{width:l,height:l},["".concat(n,"-loading-icon")]:{top:i(i(l).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},["&".concat(n,"-checked")]:{["".concat(n,"-inner")]:{paddingInlineStart:a,paddingInlineEnd:r,["".concat(s,"-checked")]:{marginInlineStart:0,marginInlineEnd:0},["".concat(s,"-unchecked")]:{marginInlineStart:"calc(100% - ".concat(d," + ").concat(u,")"),marginInlineEnd:"calc(-100% + ".concat(d," - ").concat(u,")")}},["".concat(n,"-handle")]:{insetInlineStart:"calc(100% - ".concat((0,y.unit)(i(l).add(c).equal()),")")}},["&:not(".concat(n,"-disabled):active")]:{["&:not(".concat(n,"-checked) ").concat(s)]:{["".concat(s,"-unchecked")]:{marginInlineStart:i(e.marginXXS).div(2).equal(),marginInlineEnd:i(e.marginXXS).mul(-1).div(2).equal()}},["&".concat(n,"-checked ").concat(s)]:{["".concat(s,"-checked")]:{marginInlineStart:i(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:i(e.marginXXS).div(2).equal()}}}}}}},E=e=>{let{componentCls:n,handleSize:t,calc:c}=e;return{[n]:{["".concat(n,"-loading-icon").concat(e.iconCls)]:{position:"relative",top:c(c(t).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},["&".concat(n,"-checked ").concat(n,"-loading-icon")]:{color:e.switchColor}}}},x=e=>{let{componentCls:n,trackPadding:t,handleBg:c,handleShadow:o,handleSize:a,calc:r}=e,l="".concat(n,"-handle");return{[n]:{[l]:{position:"absolute",top:t,insetInlineStart:t,width:a,height:a,transition:"all ".concat(e.switchDuration," ease-in-out"),"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:c,borderRadius:r(a).div(2).equal(),boxShadow:o,transition:"all ".concat(e.switchDuration," ease-in-out"),content:'""'}},["&".concat(n,"-checked ").concat(l)]:{insetInlineStart:"calc(100% - ".concat((0,y.unit)(r(a).add(t).equal()),")")},["&:not(".concat(n,"-disabled):active")]:{["".concat(l,"::before")]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},["&".concat(n,"-checked ").concat(l,"::before")]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},O=e=>{let{componentCls:n,trackHeight:t,trackPadding:c,innerMinMargin:o,innerMaxMargin:a,handleSize:r,calc:l}=e,i="".concat(n,"-inner"),s=(0,y.unit)(l(r).add(l(c).mul(2)).equal()),d=(0,y.unit)(l(a).mul(2).equal());return{[n]:{[i]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:a,paddingInlineEnd:o,transition:"padding-inline-start ".concat(e.switchDuration," ease-in-out, padding-inline-end ").concat(e.switchDuration," ease-in-out"),["".concat(i,"-checked, ").concat(i,"-unc
1hecked")]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:"margin-inline-start ".concat(e.switchDuration," ease-in-out, margin-inline-end ").concat(e.switchDuration," ease-in-out"),pointerEvents:"none",minHeight:t},["".concat(i,"-checked")]:{marginInlineStart:"calc(-100% + ".concat(s," - ").concat(d,")"),marginInlineEnd:"calc(100% - ".concat(s," + ").concat(d,")")},["".concat(i,"-unchecked")]:{marginTop:l(t).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},["&".concat(n,"-checked ").concat(i)]:{paddingInlineStart:o,paddingInlineEnd:a,["".concat(i,"-checked")]:{marginInlineStart:0,marginInlineEnd:0},["".concat(i,"-unchecked")]:{marginInlineStart:"calc(100% - ".concat(s," + ").concat(d,")"),marginInlineEnd:"calc(-100% + ".concat(s," - ").concat(d,")")}},["&:not(".concat(n,"-disabled):active")]:{["&:not(".concat(n,"-checked) ").concat(i)]:{["".concat(i,"-unchecked")]:{marginInlineStart:l(c).mul(2).equal(),marginInlineEnd:l(c).mul(-1).mul(2).equal()}},["&".concat(n,"-checked ").concat(i)]:{["".concat(i,"-checked")]:{marginInlineStart:l(c).mul(-1).mul(2).equal(),marginInlineEnd:l(c).mul(2).equal()}}}}}},Z=e=>{let{componentCls:n,trackHeight:t,trackMinWidth:c}=e;return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,C.Wf)(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:c,height:t,lineHeight:(0,y.unit)(t),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:"all ".concat(e.motionDurationMid),userSelect:"none",["&:hover:not(".concat(n,"-disabled)")]:{background:e.colorTextTertiary}}),(0,C.Qy)(e)),{["&".concat(n,"-checked")]:{background:e.switchColor,["&:hover:not(".concat(n,"-disabled)")]:{background:e.colorPrimaryHover}},["&".concat(n,"-loading, &").concat(n,"-disabled")]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},["&".concat(n,"-rtl")]:{direction:"rtl"}})}};var j=(0,S.I$)("Switch",e=>{let n=(0,w.mergeToken)(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:"rgba(0, 0, 0, ".concat(e.opacityLoading,")"),switchHandleActiveInset:"-30%"});return[Z(n),O(n),x(n),E(n),I(n)]},e=>{let{fontSize:n,lineHeight:t,controlHeight:c,colorWhite:o}=e,a=n*t,r=c/2,l=a-4,i=r-4;return{trackHeight:a,trackHeightSM:r,trackMinWidth:2*l+8,trackMinWidthSM:2*i+4,trackPadding:2,handleBg:o,handleSize:l,handleSizeSM:i,handleShadow:"0 2px 4px 0 ".concat(new k.FastColor("#00230b").setA(.2).toRgbString()),innerMinMargin:l/2,innerMaxMargin:l+2+4,innerMinMarginSM:i/2,innerMaxMarginSM:i+2+4}}),N=function(e,n){var t={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>n.indexOf(c)&&(t[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,c=Object.getOwnPropertySymbols(e);o<c.length;o++)0>n.indexOf(c[o])&&Object.prototype.propertyIsEnumerable.call(e,c[o])&&(t[c[o]]=e[c[o]]);return t};let H=c.forwardRef((e,n)=>{let{prefixCls:t,size:a,disabled:l,loading:i,className:s,rootClassName:d,style:f,checked:g,value:y,defaultChecked:k,defaultValue:C,onChange:S}=e,w=N(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[I,E]=(0,u.Z)(!1,{value:null!=g?g:y,defaultValue:null!=k?k:C}),{getPrefixCls:x,direction:O,switch:Z}=c.useContext(p.E_),H=c.useContext(b.Z),T=(null!=l?l:H)||i,M=x("switch",t),D=c.createElement("div",{className:"".concat(M,"-handle")},i&&c.createElement(o.Z,{className:"".concat(M,"-loading-icon")})),[R,z,L]=j(M),q=(0,v.Z)(a),P=r()(null==Z?void 0:Z.className,{["".concat(M,"-small")]:"small"===q,["".concat(M,"-loading")]:i,["".concat(M,"-rtl")]:"rtl"===O},s,d,z,L),B=Object.assign(Object.assign({},null==Z?void 0:Z.style),f);return R(c.createElement(m.Z,{component:"Switch",disabled:T},c.createElement(h,Object.assign({},w,{checked:I,onChange:function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];E(n[0]),null==S||S.apply(void 0,n)},prefixCls:M,className:P,style:B,disabled:T,ref:n,loadingIcon:D}))))});H.__ANT_SWITCH=!0;var T=H},57722:function(e,n,t){t.d(n,{Z:function(){return N}});var c=t(75271),o=t(82187),a=t.n(o),r=t(18051),l=t(49955),i=t(43596),s=t(95959),d=t(71192),u=t
1(88859),f=t(84759),g=t(84432),h=t(42446),m=t(83509),p=t(38841);let b=e=>{let{paddingXXS:n,lineWidth:t,tagPaddingHorizontal:c,componentCls:o,calc:a}=e,r=a(c).sub(t).equal(),l=a(n).sub(t).equal();return{[o]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:r,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:"".concat((0,f.unit)(e.lineWidth)," ").concat(e.lineType," ").concat(e.colorBorder),borderRadius:e.borderRadiusSM,opacity:1,transition:"all ".concat(e.motionDurationMid),textAlign:"start",position:"relative",["&".concat(o,"-rtl")]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},["".concat(o,"-close-icon")]:{marginInlineStart:l,fontSize:e.tagIconSize,color:e.colorIcon,cursor:"pointer",transition:"all ".concat(e.motionDurationMid),"&:hover":{color:e.colorTextHeading}},["&".concat(o,"-has-color")]:{borderColor:"transparent",["&, a, a:hover, ".concat(e.iconCls,"-close, ").concat(e.iconCls,"-close:hover")]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",["&:not(".concat(o,"-checkable-checked):hover")]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},["> ".concat(e.iconCls," + span, > span + ").concat(e.iconCls)]:{marginInlineStart:r}}),["".concat(o,"-borderless")]:{borderColor:"transparent",background:e.tagBorderlessBg}}},v=e=>{let{lineWidth:n,fontSizeIcon:t,calc:c}=e,o=e.fontSizeSM;return(0,m.mergeToken)(e,{tagFontSize:o,tagLineHeight:(0,f.unit)(c(e.lineHeightSM).mul(o).equal()),tagIconSize:c(t).sub(c(n).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},y=e=>({defaultBg:new g.FastColor(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var k=(0,p.I$)("Tag",e=>b(v(e)),y),C=function(e,n){var t={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>n.indexOf(c)&&(t[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,c=Object.getOwnPropertySymbols(e);o<c.length;o++)0>n.indexOf(c[o])&&Object.prototype.propertyIsEnumerable.call(e,c[o])&&(t[c[o]]=e[c[o]]);return t};let S=c.forwardRef((e,n)=>{let{prefixCls:t,style:o,className:r,checked:l,children:i,icon:s,onChange:d,onClick:f}=e,g=C(e,["prefixCls","style","className","checked","children","icon","onChange","onClick"]),{getPrefixCls:h,tag:m}=c.useContext(u.E_),p=h("tag",t),[b,v,y]=k(p),S=a()(p,"".concat(p,"-checkable"),{["".concat(p,"-checkable-checked")]:l},null==m?void 0:m.className,r,v,y);return b(c.createElement("span",Object.assign({},g,{ref:n,style:Object.assign(Object.assign({},o),null==m?void 0:m.style),className:S,onClick:e=>{null==d||d(!l),null==f||f(e)}}),s,c.createElement("span",null,i)))});var w=t(36980);let I=e=>(0,w.Z)(e,(n,t)=>{let{textColor:c,lightBorderColor:o,lightColor:a,darkColor:r}=t;return{["".concat(e.componentCls).concat(e.componentCls,"-").concat(n)]:{color:c,background:a,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:r,borderColor:r},["&".concat(e.componentCls,"-borderless")]:{borderColor:"transparent"}}}});var E=(0,p.bk)(["Tag","preset"],e=>I(v(e)),y);let x=(e,n,t)=>{let c="string"!=typeof t?t:t.charAt(0).toUpperCase()+t.slice(1);return{["".concat(e.componentCls).concat(e.componentCls,"-").concat(n)]:{color:e["color".concat(t)],background:e["color".concat(c,"Bg")],borderColor:e["color".concat(c,"Border")],["&".concat(e.componentCls,"-borderless")]:{borderColor:"transparent"}}}};var O=(0,p.bk)(["Tag","status"],e=>{let n=v(e);return[x(n,"success","Success"),x(n,"processing","Info"),x(n,"error","Error"),x(n,"warning","Warning")]},y),Z=function(e,n){var t={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&0>n.indexOf(c)&&(t[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,c=Object.getOwnPropertySymbols(e);o<c.length;o++)0>n.indexOf(c[o])&&Object.prototype.propertyIsEnumerable.call(e,c[o])&&(t[c[o]]=e[c[o]]);return t};
1let j=c.forwardRef((e,n)=>{let{prefixCls:t,className:o,rootClassName:f,style:g,children:h,icon:m,color:p,onClose:b,bordered:v=!0,visible:y}=e,C=Z(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:w,tag:I}=c.useContext(u.E_),[x,j]=c.useState(!0),N=(0,r.Z)(C,["closeIcon","closable"]);c.useEffect(()=>{void 0!==y&&j(y)},[y]);let H=(0,l.o2)(p),T=(0,l.yT)(p),M=H||T,D=Object.assign(Object.assign({backgroundColor:p&&!M?p:void 0},null==I?void 0:I.style),g),R=S("tag",t),[z,L,q]=k(R),P=a()(R,null==I?void 0:I.className,{["".concat(R,"-").concat(p)]:M,["".concat(R,"-has-color")]:p&&!M,["".concat(R,"-hidden")]:!x,["".concat(R,"-rtl")]:"rtl"===w,["".concat(R,"-borderless")]:!v},o,f,L,q),B=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||j(!1)},[,F]=(0,i.b)((0,i.w)(e),(0,i.w)(I),{closable:!1,closeIconRender:e=>{let n=c.createElement("span",{className:"".concat(R,"-close-icon"),onClick:B},e);return(0,s.wm)(e,n,e=>({onClick:n=>{var t;null===(t=null==e?void 0:e.onClick)||void 0===t||t.call(e,n),B(n)},className:a()(null==e?void 0:e.className,"".concat(R,"-close-icon"))}))}}),A="function"==typeof C.onClick||h&&"a"===h.type,W=m||null,X=W?c.createElement(c.Fragment,null,W,h&&c.createElement("span",null,h)):h,_=c.createElement("span",Object.assign({},N,{ref:n,className:P,style:D}),X,F,H&&c.createElement(E,{key:"preset",prefixCls:R}),T&&c.createElement(O,{key:"status",prefixCls:R}));return z(A?c.createElement(d.Z,{component:"Tag"},_):_)});j.CheckableTag=S;var N=j},92966:function(e,n,t){t.d(n,{Z:function(){return c}});let c=(0,t(35082).Z)("ellipsis-vertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]])},82887:function(e,n,t){t.d(n,{Z:function(){return c}});let c=(0,t(35082).Z)("grip-vertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]])},37986:function(e,n,t){t.d(n,{Z:function(){return c}});let c=(0,t(35082).Z)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])}}]);
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.