1 |
- "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9606],{33862:function(P,p,t){t.d(p,{Z:function(){return O}});var a=t(87462),i=t(67294),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 289.1a362.49 362.49 0 00-79.9-115.7 370.83 370.83 0 00-118.2-77.8C610.7 76.6 562.1 67 512 67c-50.1 0-98.7 9.6-144.5 28.5-44.3 18.3-84 44.5-118.2 77.8A363.6 363.6 0 00169.4 289c-19.5 45-29.4 92.8-29.4 142 0 70.6 16.9 140.9 50.1 208.7 26.7 54.5 64 107.6 111 158.1 80.3 86.2 164.5 138.9 188.4 153a43.9 43.9 0 0022.4 6.1c7.8 0 15.5-2 22.4-6.1 23.9-14.1 108.1-66.8 188.4-153 47-50.4 84.3-103.6 111-158.1C867.1 572 884 501.8 884 431.1c0-49.2-9.9-97-29.4-142zM512 880.2c-65.9-41.9-300-207.8-300-449.1 0-77.9 31.1-151.1 87.6-206.3C356.3 169.5 431.7 139 512 139s155.7 30.5 212.4 85.9C780.9 280 812 353.2 812 431.1c0 241.3-234.1 407.2-300 449.1zm0-617.2c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 551c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 439c0-29.9 11.7-58 32.8-79.2C454 338.6 482.1 327 512 327c29.9 0 58 11.6 79.2 32.8C612.4 381 624 409.1 624 439c0 29.9-11.6 58-32.8 79.2z"}}]},name:"environment",theme:"outlined"},b=u,v=t(84089),f=function(C,S){return i.createElement(v.Z,(0,a.Z)({},C,{ref:S,icon:b}))},y=i.forwardRef(f),O=y},1832:function(P,p,t){t.d(p,{Z:function(){return O}});var a=t(87462),i=t(67294),u={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"}}]},name:"fire",theme:"outlined"},b=u,v=t(84089),f=function(C,S){return i.createElement(v.Z,(0,a.Z)({},C,{ref:S,icon:b}))},y=i.forwardRef(f),O=y},75750:function(P,p,t){t.d(p,{Z:function(){return O}});var a=t(87462),i=t(67294),u={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.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"},b=u,v=t(84089),f=function(C,S){return i.createElement(v.Z,(0,a.Z)({},C,{ref:S,icon:b}))},y=i.forwardRef(f),O=y},66309:function(P,p,t){t.d(p,{Z:function(){return le}});var a=t(67294),i=t(93967),u=t.n(i),b=t(98423),v=t(98787),f=t(69760),y=t(96159),O=t(45353),E=t(53124),C=t(11568),S=t(15063),K=t(14747),Y=t(83262),Z=t(83559);const k=e=>{const{paddingXXS:r,lineWidth:l,tagPaddingHorizontal:n,componentCls:o,calc:d}=e,c=d(n).sub(l).equal(),$=d(r).sub(l).equal();return{[o]:Object.assign(Object.assign({},(0,K.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:c,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,C.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${o}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${o}-close-icon`]:{marginInlineStart:$,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${o}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${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"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:c}}),[`${o}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},A=e=>{const{lineWidth:r,fontSizeIcon:l,calc:n}=e,o=e.fontSizeSM;return(0,Y.IX)(e,{tagFontSize:o,tagLineHeight:(0,C.bf)(n(e.lineHeightSM).mul(o).equal()),tagIconSize:n(l).sub(n(r).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},M=e=>({defaultBg:new S.t(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var V=(0,Z.I$)("Tag",e=>{const r=A(e);return k(r)},M),q=function(e,r){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(l[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(l[n[o]]=e[n[o]]);return l},_=a.forwardRef((e,r)=>{const{prefixCls:l,style:n,className:o,checked:d,onChange:c,onClick:$}=e,m=q(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:z,tag:h}=a.useContext(E.E_),j=N=>{c==null||c(!d),$==null||$(N)},x=z("tag",l),[F,R,g]=V(x),L=u()(x,`${x}-checkable`,{[`${x}-checkable-checked`]:d},h==null?void 0:h.className,o,R,g);return F(a.createElement("span",Object.assign({},m,{ref:r,style:Object.assign(Object.assign({},n),h==null?void 0:h.style),className:L,onClick:j})))}),ee=t(98719);const ne=e=>(0,ee.Z)(e,(r,l)=>{let{textColor:n,lightBorderColor:o,lightColor:d,darkColor:c}=l;return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:n,background:d,borderColor:o,"&-inverse":{color:e.colorTextLightSolid,background:c,borderColor:c},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var te=(0,Z.bk)(["Tag","preset"],e=>{const r=A(e);return ne(r)},M);function oe(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const B=(e,r,l)=>{const n=oe(l);return{[`${e.componentCls}${e.componentCls}-${r}`]:{color:e[`color${l}`],background:e[`color${n}Bg`],borderColor:e[`color${n}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var re=(0,Z.bk)(["Tag","status"],e=>{const r=A(e);return[B(r,"success","Success"),B(r,"processing","Info"),B(r,"error","Error"),B(r,"warning","Warning")]},M),ae=function(e,r){var l={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(l[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)r.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(l[n[o]]=e[n[o]]);return l};const W=a.forwardRef((e,r)=>{const{prefixCls:l,className:n,rootClassName:o,style:d,children:c,icon:$,color:m,onClose:z,bordered:h=!0,visible:j}=e,x=ae(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:F,direction:R,tag:g}=a.useContext(E.E_),[L,N]=a.useState(!0),ce=(0,b.Z)(x,["closeIcon","closable"]);a.useEffect(()=>{j!==void 0&&N(j)},[j]);const X=(0,v.o2)(m),D=(0,v.yT)(m),H=X||D,se=Object.assign(Object.assign({backgroundColor:m&&!H?m:void 0},g==null?void 0:g.style),d),s=F("tag",l),[ie,de,ue]=V(s),fe=u()(s,g==null?void 0:g.className,{[`${s}-${m}`]:H,[`${s}-has-color`]:m&&!H,[`${s}-hidden`]:!L,[`${s}-rtl`]:R==="rtl",[`${s}-borderless`]:!h},n,o,de,ue),U=T=>{T.stopPropagation(),z==null||z(T),!T.defaultPrevented&&N(!1)},[,ge]=(0,f.Z)((0,f.w)(e),(0,f.w)(g),{closable:!1,closeIconRender:T=>{const me=a.createElement("span",{className:`${s}-close-icon`,onClick:U},T);return(0,y.wm)(T,me,I=>({onClick:J=>{var w;(w=I==null?void 0:I.onClick)===null||w===void 0||w.call(I,J),U(J)},className:u()(I==null?void 0:I.className,`${s}-close-icon`)}))}}),ve=typeof x.onClick=="function"||c&&c.type==="a",Q=$||null,Ce=Q?a.createElement(a.Fragment,null,Q,c&&a.createElement("span",null,c)):c,G=a.createElement("span",Object.assign({},ce,{ref:r,className:fe,style:se}),Ce,ge,X&&a.createElement(te,{key:"preset",prefixCls:s}),D&&a.createElement(re,{key:"status",prefixCls:s}));return ie(ve?a.createElement(O.Z,{component:"Tag"},G):G)});W.CheckableTag=_;var le=W}}]);
|