1(globalThis.__LOADABLE_LOADED_CHUNKS__=globalThis.__LOADABLE_LOADED_CHUNKS__||[]).push([[78995],{78995:(o,e,l)=>{l.d(e,{A:()=>I});var r=l(96540),t=l(33366),a=l(28919),n=l(55541),c=l(70064),s=l(40682),i=l(57),d=l(62279),u=l(98119),g=l(75429),C=l(22923),b=l(19911),p=l(53596),m=l(25905),$=l(24317),f=l(37358);const h=o=>{const{lineWidth:e,fontSizeIcon:l,calc:r}=o,t=o.fontSizeSM;return(0,$.mergeToken)(o,{tagFontSize:t,tagLineHeight:(0,g.unit)(r(o.lineHeightSM).mul(t).equal()),tagIconSize:r(l).sub(r(e).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:o.defaultBg})},k=o=>{const e=(0,p.z)(new b.kf(o.colorBgSolid),"#fff")?"#000":"#fff";return{defaultBg:new C.FastColor(o.colorFillTertiary).onBackground(o.colorBgContainer).toHexString(),defaultColor:o.colorText,solidTextColor:e}},v=(0,f.OF)("Tag",(o=>(o=>{const{paddingXXS:e,lineWidth:l,tagPaddingHorizontal:r,componentCls:t,calc:a}=o,n=a(r).sub(l).equal(),c=a(e).sub(l).equal();return{[t]:{...(0,m.dF)(o),display:"inline-block",height:"auto",paddingInline:n,fontSize:o.tagFontSize,lineHeight:o.tagLineHeight,whiteSpace:"nowrap",backgroundColor:o.defaultBg,border:`${(0,g.unit)(o.lineWidth)} ${o.lineType} ${o.colorBorder}`,borderRadius:o.borderRadiusSM,opacity:1,transition:`all ${o.motionDurationMid}`,textAlign:"start",position:"relative",[`&${t}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:o.defaultColor},[`${t}-close-icon`]:{marginInlineStart:c,fontSize:o.tagIconSize,color:o.colorIcon,cursor:"pointer",transition:`all ${o.motionDurationMid}`,"&:hover":{color:o.colorTextHeading}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${t}-checkable-checked):hover`]:{color:o.colorPrimary,backgroundColor:o.colorFillSecondary},"&:active, &-checked":{color:o.colorTextLightSolid},"&-checked":{backgroundColor:o.colorPrimary,"&:hover":{backgroundColor:o.colorPrimaryHover}},"&:active":{backgroundColor:o.colorPrimaryActive},"&-disabled":{cursor:"not-allowed",[`&:not(${t}-checkable-checked)`]:{color:o.colorTextDisabled,"&:hover":{backgroundColor:"transparent"}},[`&${t}-checkable-checked`]:{color:o.colorTextDisabled,backgroundColor:o.colorBgContainerDisabled},"&:hover, &:active":{backgroundColor:o.colorBgContainerDisabled,color:o.colorTextDisabled},[`&:not(${t}-checkable-checked):hover`]:{color:o.colorTextDisabled}},"&-group":{display:"flex",flexWrap:"wrap",gap:o.paddingXS}},"&-hidden":{display:"none"},[`> ${o.iconCls} + span, > span + ${o.iconCls}`]:{marginInlineStart:n}},[`&${o.componentCls}-solid`]:{borderColor:"transparent",color:o.colorTextLightSolid,backgroundColor:o.colorBgSolid,[`&${t}-default`]:{color:o.solidTextColor}},[`${t}-filled`]:{borderColor:"transparent",backgroundColor:o.tagBorderlessBg},[`&${t}-disabled`]:{color:o.colorTextDisabled,cursor:"not-allowed",backgroundColor:o.colorBgContainerDisabled,a:{cursor:"not-allowed",pointerEvents:"none",color:o.colorTextDisabled,"&:hover":{color:o.colorTextDisabled}},"a&":{"&:hover, &:active":{color:o.colorTextDisabled}},[`&${t}-outlined`]:{borderColor:o.colorBorderDisabled},[`&${t}-solid, &${t}-filled`]:{color:o.colorTextDisabled,[`${t}-close-icon`]:{color:o.colorTextDisabled}},[`${t}-close-icon`]:{cursor:"not-allowed",color:o.colorTextDisabled,"&:hover":{color:o.colorTextDisabled}}}}})(h(o))),k),x=r.forwardRef(((o,e)=>{const{prefixCls:l,style:t,className:n,checked:c,children:s,icon:i,onChange:g,onClick:C,disabled:b,...p}=o,{getPrefixCls:m,tag:$}=r.useContext(d.QO),f=r.useContext(u.A),h=b??f,k=m("tag",l),[x,y]=v(k),T=(0,a.$)(k,`${k}-checkable`,{[`${k}-checkable-checked`]:c,[`${k}-checkable-disabled`]:h},$?.className,n,x,y);return r.createElement("span",{...p,ref:e,style:{...t,...$?.style},className:T,onClick:o=>{h||(g?.(!c),C?.(o))}},i,r.createElement("span",null,s))})),y=x;var T=l(16175),S=l(89302),D=l(20934);function N(o,e){const{id:l,prefixCls:c,rootClassName:s,className:i,style:u,classNames:g,styles:C,disabled:b,options:p,value:m,defaultValue:$,onChange:f,multiple:h,...k}=o,{getPrefixCls:x,direction:N,className:B,style:A,classNames:E,styles:w}=(0,d.TP)("tag"),H=x("tag",c),P=`${H}-checkable-group`,_=(0,D.A)(H),[z,I]=v(H,_),[L,F]=(0,n.AV)([E,g],[w,C],{props:o}),M=(0,r.useMemo)((()=>(p||[]).map((o=>o&&"object"==typeof o?o:{value:o,label:o}))),[p]),[O,R]=(0,t.useControlledState)($,m),W=r.useRef(null);(0,r.useImperativeHandle)(e,(()=>({nativeElement:W.current})));const q=(0,S.A)(k,{aria:!0,data:!0});return r.createElement("div",{...q,className:(0,a.$)(P,B,s,{[`${P}-disabled`]:b,[`${P}-rtl`]:"rtl"===N},z,I,i,L.root),style:{...A,...F.root,...u},id:l,ref:W},M.map((o=>r.createElement(y,{key:o.value,className:(0,a.$)(`${P}-item`,L.item),style:F.item,checked:h?(O||[]).includes(o.value):O===o.value,onChange:e=>((o,e)=>{let l=null;if(h){const r=O||[];l=o?[].concat((0,T.A)(r),[e.value]):r.filter((o=>o!==e.value))}else l=o?e.value:null;R(l),f?.(l)})(e,o),disabled:b},o.label))))}const B=r.forwardRef(N);var A=l(54121);var E=l(31108);const w=(0,f.bf)(["Tag","preset"],(o=>(o=>(0,E.A)(o,((e,{textColor:l,lightBorderColor:r,lightColor:t,darkColor:a})=>({[`${o.componentCls}${o.componentCls}-${e}:not(${o.componentCls}-disabled)`]:{[`&${o.componentCls}-outlined`]:{backgroundColor:t,borderColor:r,color:l},[`&${o.componentCls}-solid`]:{backgroundColor:a,borderColor:a,color:o.colorTextLightSolid},[`&${o.componentCls}-filled`]:{backgroundColor:t,color:l}}}))))(h(o))),k);const H=(o,e,l)=>{const r="string"!=typeof(t=l)?t:t.charAt(0).toUpperCase()+t.slice(1);var t;return{[`${o.componentCls}${o.componentCls}-${e}:not(${o.componentCls}-disabled)`]:{[`&${o.componentCls}-outlined`]:{backgroundColor:o[`color${r}Bg`],borderColor:o[`color${r}Border`],color:o[`color${l}`]},[`&${o.componentCls}-solid`]:{backgroundColor:o[`color${l}`],borderColor:o[`color${l}`]},[`&${o.componentCls}-filled`]:{backgroundColor:o[`color${r}Bg`],color:o[`color${l}`]}}}},P=(0,f.bf)(["Tag","status"],(o=>{const e=h(o);return[H(e,"success","Success"),H(e,"processing","Info"),H(e,"error","Error"),H(e,"warning","Warning")]}),k),_=r.forwardRef(((o,e)=>{const{prefixCls:l,className:g,rootClassName:b,style:p,children:m,icon:$,color:f,variant:h,onClose:k,bordered:x,disabled:y,href:T,target:S,styles:D,classNames:N,...B}=o,{getPrefixCls:E,direction:H,className:_,variant:z,style:I,classNames:L,styles:F}=(0,d.TP)("tag");const[M,O,R,W,q]=function(o,e){const{color:l,variant:t,bordered:a}=o;return r.useMemo((()=>{const o=l?.endsWith("-inverse");let r;r=t||(o?"solid":!1===a?"filled":e||"filled");const n=o?l?.replace("-inverse",""):l,c=(0,A.nP)(l),s=(0,A.ZZ)(l),i={};if(!c&&!s&&n)if("solid"===r)i.backgroundColor=l;else{const o=new C.FastColor(n).toHsl();o.l=.95,i.backgroundColor=new C.FastColor(o).toHexString(),i.color=l,"outlined"===r&&(i.borderColor=l)}return[r,n,c,s,i]}),[l,t,a,e])}(o,z),V=R||W,G=r.useContext(u.A),U=y??G,{tag:X}=r.useContext(d.QO),[Z,K]=r.useState(!0),Q=(0,t.omit)(B,["closeIcon","closable"]),j={...o,color:O,variant:M,disabled:U,href:T,target:S,icon:$},[J,Y]=(0,n.AV)([L,N],[F,D],{props:j}),oo=r.useMemo((()=>{let o={...Y.root,...I,...p};return U||(o={...q,...o}),o}),[Y.root,I,p,q,U]),eo=E("tag",l),[lo,ro]=v(eo),to=(0,a.$)(eo,_,J.root,`${eo}-${M}`,{[`${eo}-${O}`]:V,[`${eo}-hidden`]:!Z,[`${eo}-rtl`]:"rtl"===H,[`${eo}-disabled`]:U},g,b,lo,ro),ao=o=>{U||(o.stopPropagation(),k?.(o),o.defaultPrevented||K(!1))},[,no]=(0,c.$Z)((0,c.dG)(o),(0,c.dG)(X),{closable:!1,closeIconRender:o=>{const e=r.createElement("span",{className:`${eo}-close-icon`,onClick:ao},o);return(0,s.fx)(o,e,(o=>({onClick:e=>{o?.onClick?.(e),ao(e)},className:(0,a.$)(o?.className,`${eo}-close-icon`)})))}}),co="function"==typeof B.onClick||m&&"a"===m.type,so=(0,s.Ob)($,{className:(0,a.$)(r.isValidElement($)?$.props?.className:"",J.icon),style:Y.icon}),io=so?r.createElement(r.Fragment,null,so,m&&r.createElement("span",{className:J.content,style:Y.content},m)):m,uo=T?"a":"span",go=r.createElement(uo,{...Q,ref:e,className:to,style:oo,href:U?void 0:T,target:S,onClick:U?void 0:Q.onClick,...T&&U?{"aria-disabled":!0}:{}},io,no,R&&r.createElement(w,{key:"preset",prefixCls:eo}),W&&r.createElement(P,{key:"status",prefixCls:eo}));return co?r.createElement(i.A,{component:"Tag"},go):go})),z=_;z.CheckableTag=y,z.CheckableTagGroup=B;const I=z}}]);
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.