You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

p__Talent__Search__Company__index.6fcf19f7.async.js 25KB

1
  1. "use strict";(self.webpackChunk=self.webpackChunk||[]).push([[6350],{45073:function(Ie,le,o){var f=o(75891),V=o(21532),_=o(32983),W=o(85893),ie=function(c){var ce=c.description;return(0,W.jsx)(W.Fragment,{children:(0,W.jsx)(V.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{}},children:(0,W.jsx)(_.Z,{description:ce})})})};le.Z=(0,f.connect)(function(m){var c=m.dictModel;return{dictModel:c}})(ie)},85748:function(Ie,le,o){o.r(le),o.d(le,{default:function(){return T}});var f=o(15009),V=o.n(f),_=o(99289),W=o.n(_),ie=o(5574),m=o.n(ie),c=o(67294),ce=o(21532),A=o(42075),ee=o(71230),R=o(15746),D=o(86250),Ce=o(29104),ue=o(25593),de=o(96074),me=o(84611),J=o(75891),ve=o(97857),r=o.n(ve),Ee=o(65233),fe=o(83622),Q=o(26412),I=o(66309),ye=o(3303),Pe=o(86738),ne=o(92398),Se=o(68795),e=o(85893),x={label:"name",value:"id",children:"children"},P=function(y){var b=y.dispatch,i=y.dictModel,M=y.getSearchParams,L=y.famous,S=y.page,N=y.pagesize,Z=y.probation,O=(0,c.useState)(!1),k=m()(O,2),U=k[0],z=k[1],he=(0,c.useState)(!1),Y=m()(he,2),te=Y[0],je=Y[1],F=(0,c.useState)(""),ae=m()(F,2),X=ae[0],H=ae[1],pe=(0,c.useState)({keyword:"",location:0,probation:Z?Number(Z):0,famous:L?Number(L):0,industry:0,nature:0,scale:0,page:S,pagesize:N,sort:"id",sortby:"desc"}),q=m()(pe,2),K=q[0],u=q[1],$=(0,c.useRef)(!0),ge=(0,c.useState)(!0),oe=m()(ge,2),w=oe[0],be=oe[1];(0,c.useEffect)(function(){var a=function(){var t=W()(V()().mark(function v(){return V()().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:return E.next=2,Promise.all([b({type:"dictModel/getList",payload:{code:2009,type:"setAreaList"}}),b({type:"dictModel/getList",payload:{code:"2009000100030002",type:"setXiaolanzhenList"}}),b({type:"dictModel/getList",payload:{code:"200900010003",type:"setZhongshanList"}}),b({type:"dictModel/getList",payload:{code:2028,type:"setIndustryPostList"}}),b({type:"dictModel/getList",payload:{code:2002,type:"setNatureList"}}),b({type:"dictModel/getList",payload:{code:2003,type:"setScaleList"}})]);case 2:be(!1);case 3:case"end":return E.stop()}},v)}));return function(){return t.apply(this,arguments)}}();a()},[]),(0,c.useEffect)(function(){w||i.natureList.unshift({id:0,name:"\u4E0D\u9650",checked:!0})},[i.natureList,w]),(0,c.useEffect)(function(){w||i.scaleList.unshift({id:0,name:"\u4E0D\u9650",checked:!0})},[i.scaleList,w]);var G=i.xiaolanzhenList.some(function(a){return a.name==="\u4E0D\u9650"}),j=i.xiaolanzhenList.some(function(a){return a.name==="\u5C0F\u6984\u9547"});j||i.xiaolanzhenList.unshift({id:100004,name:"\u5C0F\u6984\u9547",checked:!1}),G||i.xiaolanzhenList.unshift({id:0,name:"\u4E0D\u9650",checked:!0});var B=i.zhongshanList.some(function(a){return a.name==="\u4E2D\u5C71\u5E02"});B||(i.zhongshanList.unshift({id:1000037,name:"\u4E2D\u5C71\u5E02",checked:!1}),i.zhongshanList=i.zhongshanList.filter(function(a){return a.id!==100004}));var se=(0,c.useState)(""),xe=m()(se,2),Ne=xe[0],re=xe[1],ln=(0,c.useState)(null),De=m()(ln,2),Zn=De[0],we=De[1],We=function(t,v){i.xiaolanzhenList.forEach(function(s){s.checked=s.value===t.value}),i.zhongshanList.forEach(function(s){s.checked=s.value===t.value}),t.id==0&&(i.xiaolanzhenList.forEach(function(s){s.checked=s.id===t.id}),i.zhongshanList.forEach(function(s){s.checked=s.id===t.id})),t.id==100004?(i.xiaolanzhenList.forEach(function(s){s.checked=s.id===t.id}),i.zhongshanList.forEach(function(s){s.checked=s.id===t.id})):i.xiaolanzhenList.some(function(s){return s.id===t.id})&&i.xiaolanzhenList.forEach(function(s){s.checked=s.id===t.id}),t.id==1000037?(i.xiaolanzhenList.forEach(function(s){s.checked=s.id===t.id}),i.zhongshanList.forEach(function(s){s.checked=s.id===t.id})):i.zhongshanList.some(function(s){return s.id===t.id})&&i.zhongshanList.forEach(function(s){s.checked=s.id===t.id}),re(t.name),$.current=!1},He=function(t,v){t.id==0&&u(function(s){return r()(r()({},s),{},{location:0})}),t.id==100004?u(function(s){return r()(r()({},s),{},{location:t.id})}):i.xiaolanzhenList.some(function(s){return s.id===t.id})&&u(function(s){return r()(r()({},s),{},{location:t.id})}),t.id==1000037?u(function(s){return r()(r()({},s),{},{location:t.id})}):i.zhongshanList.some(function(s){return s.id===t.id})&&u(function(s){return r()(r()({},s),{},{location:t.id})})},cn=(0,c.useState)([]),Ve=m()(cn,2),Ze=Ve[0],un=Ve[1],dn=(0,c.useState)(null),ke=m()(dn,2),Te=ke[0],Oe=ke[1],fn=function(t,v){Oe(t);var s=v?[t.name]:Ze.filter(function(E){return E!==t.name});un(s)},hn=(0,c.useState)(["\u4E0D\u9650"]),Ue=m()(hn,2),Xe=Ue[0],$e=Ue[1],gn=(0,c.useState)(null),Ke=m()(gn,2),Ge=Ke[0],Fe=Ke[1],mn=function(t,v){Fe(t);var s=v?[t.name]:Xe.filter(function(E){return E!==t.name});$e(s),u(function(E){return r()(r()({},E),{},{nature:t.id})})},pn=(0,c.useState)(["\u4E0D\u9650"]),Je=m()(pn,2),Qe=Je[0],Be=Je[1],vn=(0,c.useState)(null),Ye=m()(vn,2),qe=Ye[0],Ae=Ye[1],xn=function(t,v){Ae(t);var s=v?[t.name]:Qe.filter(function(E){return E!==t.name});Be(s),u(function(E){return r()(r()({},E),{},{scale:t.id})})},Cn=(0,c.useState)(["\u4E0D\u9650"]),_e=m()(Cn,2),en=_e[0],Me=_e[1],yn=(0,c.useState)(null),nn=m()(yn,2),tn=nn[0],ze=nn[1],Sn=function(t,v){ze(t);var s=v?[t.name]:en.filter(function(E){return E!==t.name});Me(s),u(function(E){return r()(r()({},E),{},{probation:t.id})})},jn=(0,c.useState)(["\u4E0D\u9650"]),an=m()(jn,2),on=an[0],Re=an[1],bn=(0,c.useState)(null),sn=m()(bn,2),rn=sn[0],Le=sn[1],En=function(t,v){Le(t);var s=v?[t.name]:on.filter(function(E){return E!==t.name});Re(s),u(function(E){return r()(r()({},E),{},{famous:t.id})})};return(0,c.useEffect)(function(){u(function(a){return r()(r()({},a),{},{keyword:X})})},[X]),(0,c.useEffect)(function(){L?(Le({name:"\u662F"}),Re(["\u662F"]),u(function(a){return r()(r()({},a),{},{famous:Number(L)})})):(Le(null),Re(["\u4E0D\u9650"]),u(function(a){return r()(r()({},a),{},{famous:0})}))},[L]),(0,c.useEffect)(function(){Z?(ze({name:"\u662F"}),Me(["\u662F"]),u(function(a){return r()(r()({},a),{},{probation:Number(Z)})})):(ze(null),Me(["\u4E0D\u9650"]),u(function(a){return r()(r()({},a),{},{probation:0})}))},[Z]),(0,c.useEffect)(function(){u(function(a){return r()(r()({},a),{},{page:S,pagesize:N})})},[S,N]),(0,c.useEffect)(function(){M(K)},[K]),(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ce.ZP,{theme:{components:{Segmented:{colorText:"#19be6e"},Button:{colorText:""},Tabs:{verticalItemPadding:"0 24px"}}},children:(0,e.jsxs)(A.Z,{direction:"vertical",size:20,style:{width:"100%"},children:[(0,e.jsx)(D.Z,{justify:"center",align:"center",children:(0,e.jsxs)(A.Z.Compact,{style:{width:"80%"},children:[(0,e.jsx)(Ee.Z,{size:"large",prefix:(0,e.jsx)(Se.Z,{style:{color:"#19be6e"}}),placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u8BCD",allowClear:!0,onBlur:function(t){H(t.target.value)},onClear:function(){H("")},defaultValue:X}),(0,e.jsx)(fe.ZP,{size:"large",type:"primary",style:{width:200},onClick:function(){H(K.keyword)},children:"\u641C\u7D22"})]})}),(0,e.jsxs)(A.Z,{direction:"vertical",style:{background:"#ffffff",padding:20,borderRadius:4},children:[(0,e.jsxs)(Q.Z,{children:[(0,e.jsx)(Q.Z.Item,{span:24,label:"\u89C1\u4E60\u57FA\u5730",children:(0,e.jsx)(D.Z,{gap:4,wrap:!0,align:"center",children:i.probationList.map(function(a,t){return(0,e.jsx)(I.Z.CheckableTag,{checked:en.includes(a.name),onChange:function(s){Sn(a,s)},children:a.name},a.id)})})}),(0,e.jsx)(Q.Z.Item,{span:24,label:"\u77E5\u540D\u4F01\u4E1A",children:(0,e.jsx)(D.Z,{gap:4,wrap:!0,align:"center",children:i.famousList.map(function(a,t){return(0,e.jsx)(I.Z.CheckableTag,{checked:on.includes(a.name),onChange:function(s){En(a,s)},children:a.name},a.id)})})}),(0,e.jsx)(Q.Z.Item,{span:24,label:"\u4F01\u4E1A\u6027\u8D28",children:(0,e.jsx)(D.Z,{gap:4,wrap:!0,align:"center",children:i.natureList.map(function(a,t){return(0,e.jsx)(I.Z.CheckableTag,{checked:Xe.includes(a.name),onChange:function(s){mn(a,s)},children:a.name},a.id)})})}),(0,e.jsx)(Q.Z.Item,{span:24,label:"\u4F01\u4E1A\u89C4\u6A21",children:(0,e.jsx)(D.Z,{gap:4,wrap:!0,align:"center",children:i.scaleList.map(function(a,t){return(0,e.jsx)(I.Z.CheckableTag,{checked:Qe.includes(a.name),onChange:function(s){xn(a,s)},children:a.name},a.id)})})}),(0,e.jsx)(Q.Z.Item,{span:24,label:"\u5730\u533A\u9009\u62E9",children:(0,e.jsxs)(A.Z,{direction:"vertical",size:"small",children:[(0,e.jsx)(D.Z,{wrap:!0,style:{width:"100%"},children:i.xiaolanzhenList.map(function(a,t){return(0,e.jsx)(I.Z.CheckableTag,{checked:a.checked,onChange:function(){We(a,t),we({item:a,index:t}),He(a,t)},children:a.name})})}),(0,e.jsx)(D.Z,{wrap:!0,style:{width:"100%"},children:i.zhongshanList.map(function(a,t){return(0,e.jsx)(I.Z.CheckableTag,{checked:a.checked,onChange:function(){We(a,t),we({item:a,index:t}),He(a,t)},children:a.name})})}),(0,e.jsx)(ye.Z,{style:{width:"50%"},placeholder:"\u8BF7\u9009\u62E9\u5730\u533A",options:i.areaList,fieldNames:x,onChange:function(t){u(function(v){return r()(r()({},v),{},{location:t&&t.length>0?t[t.length-1]:0})})}})]})}),(0,e.jsx)(Q.Z.Item,{span:24,label:"\u66F4\u591A\u9009\u62E9",children:(0,e.jsx)(A.Z,{children:(0,e.jsx)(Pe.Z,{showCancel:!1,placement:"right",title:"\u884C\u4E1A",icon:null,description:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(A.Z,{direction:"vertical",size:"small",style:{maxWidth:800,minWidth:600,height:"600px"},children:(0,e.jsx)(ne.Z,{size:"small",style:{maxWidth:800,minWidth:600,height:"600px"},tabPosition:"left",items:i.industryPostList.map(function(a,t){return{key:a.id,label:a.name,children:(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(A.Z,{direction:"vertical",style:{height:"600px",overflow:"auto"},children:a.children.map(function(v,s){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(I.Z.CheckableTag,{checked:Ze.includes(v.name),onChange:function(Pn){v.industry=a.id,v.industry2=v.id,Oe(v),fn(v,Pn)},style:{display:"flex",alignItems:"center",justifyContent:"center",width:300,padding:"8px 0",background:Ze.includes(v.name)?"#19be6e":"#edfff3",color:Ze.includes(v.name)?"#f0f0f0":"#000000"},children:(0,e.jsx)(A.Z,{children:v.name})},v.id)})})})})}})})})}),okText:"\u641C\u7D22",onConfirm:function(){u(function(t){return r()(r()({},t),{},{industry:Te.industry,industry2:Te.industry2})})},children:(0,e.jsx)(fe.ZP,{size:"small",children:"\u884C\u4E1A\u9009\u62E9"})})})})]}),(0,e.jsxs)(D.Z,{justify:"space-between",align:"center",children:[(0,e.jsxs)(A.Z,{children:[(0,e.jsx)("div",{style:{width:60},children:"\u5DF2\u9009\u62E9\uFF1A"}),(0,e.jsxs)(ee.Z,{gutter:[10,10],children:[X&&(0,e.jsx)(R.Z,{children:(0,e.jsx)(I.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){H(""),u(function(t){return r()(r()({},t),{},{keyword:""})})},children:X})}),tn&&(0,e.jsxs)(R.Z,{children:[" ",(0,e.jsx)(I.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){ze(null),u(function(t){return r()(r()({},t),{},{probation:0})})},children:tn.name})]}),rn&&(0,e.jsxs)(R.Z,{children:[" ",(0,e.jsx)(I.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){Le(null),u(function(t){return r()(r()({},t),{},{famous:0})})},children:rn.name})]}),Ne&&(0,e.jsxs)(R.Z,{children:[" ",(0,e.jsx)(I.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){re(""),u(function(t){return r()(r()({},t),{},{province:0,city:0,district:0,street:0})})},children:Ne})]}),Te&&(0,e.jsxs)(R.Z,{children:[" ",(0,e.jsx)(I.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){Oe(null),u(function(t){return r()(r()({},t),{},{industry:0,industry2:0})})},children:Te.name})]}),Ge&&(0,e.jsxs)(R.Z,{children:[" ",(0,e.jsx)(I.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){Fe(null),$e(["\u4E0D\u9650"]),u(function(t){return r()(r()({},t),{},{nature:0})})},children:Ge.name})]}),qe&&(0,e.jsxs)(R.Z,{children:[" ",(0,e.jsx)(I.Z,{closeIcon:!0,color:"#4FBE70",onClose:function(){Ae(null),Be(["\u4E0D\u9650"]),u(function(t){return r()(r()({},t),{},{scale:0})})},children:qe.name})]})]})]}),(0,e.jsx)(fe.ZP,{size:"small",onClick:function(){H(""),re(""),Oe(null),Fe(null),Ae(null),$e(["\u4E0D\u9650"]),Be(["\u4E0D\u9650"]),u({keyword:"",location:0,probation:0,famous:0,industry:0,nature:0,scale:0,page:1,pagesize:18,sort:"id",sortby:"desc"})},children:"\u6E05\u7A7A\u7B5B\u9009"})]})]})]})})})},g=(0,J.connect)(function(C){var y=C.dictModel,b=C.openModel;return{dictModel:y}})(P),n=o(55375),h=o(70489),p=o(3889),l=o(45073),d=function(){var y=(0,J.useSearchParams)(),b=m()(y,2),i=b[0],M=b[1],L=(0,c.useState)([]),S=m()(L,2),N=S[0],Z=S[1],O=(0,c.useState)([]),k=m()(O,2),U=k[0],z=k[1],he=(0,c.useState)(null),Y=m()(he,2),te=Y[0],je=Y[1],F=(0,c.useState)(0),ae=m()(F,2),X=ae[0],H=ae[1],pe=(0,c.useState)(1),q=m()(pe,2),K=q[0],u=q[1],$=(0,c.useState)(18),ge=m()($,2),oe=ge[0],w=ge[1];(0,c.useEffect)(function(){(0,p.E)({page:1,pagesize:4,code:"wzsylbt"}).then(function(j){z(j.data.advertschedules)})},[]);var be=function(){var j=W()(V()().mark(function B(se){var xe;return V()().wrap(function(re){for(;;)switch(re.prev=re.next){case 0:return u(se.page),w(se.pagesize),re.next=4,(0,h.h9)(se||{page:K,pagesize:oe,sort:"updated_at",sortby:"desc"});case 4:xe=re.sent,Z(xe.data.list),G(xe.data.total);case 7:case"end":return re.stop()}},B)}));return function(se){return j.apply(this,arguments)}}(),G=function(B){H(B)};return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(ce.ZP,{theme:{token:{colorPrimary:"#19be6e"},components:{Button:{colorText:"#19be6e"}}},children:(0,e.jsxs)(A.Z,{direction:"vertical",size:30,style:{minHeight:"800px"},children:[(0,e.jsx)(g,{getSearchParams:be,famous:i.get("famous")?i.get("famous"):0,probation:i.get("probation")?i.get("probation"):0,page:K,pagesize:oe}),(0,e.jsxs)(ee.Z,{gutter:[16,16],children:[(0,e.jsxs)(R.Z,{span:18,children:[(0,e.jsx)(ee.Z,{gutter:[16,16],children:N&&N.length>0&&N.map(function(j,B){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(R.Z,{span:8,children:(0,e.jsx)(J.Link,{to:{pathname:"/talent/company/detail?id=".concat(j.id)},target:"_blank",style:{width:"100%"},children:(0,e.jsxs)(D.Z,{vertical:!0,align:"center",justify:"center",className:"company-item",children:[(0,e.jsx)(Ce.Z,{src:j.photo?"".concat(n.VO).concat(j.photo):"/images/logo.jpg",preview:!1,width:100,height:100,style:{borderRadius:"4px",objectFit:"contain"}}),(0,e.jsx)(ue.Z.Paragraph,{ellipsis:{rows:1},style:{fontSize:16,textAlign:"center",whiteSpace:"nowrap",marginTop:8,width:"100%"},children:j.full_name}),(0,e.jsxs)(ue.Z.Paragraph,{ellipsis:{rows:1},style:{fontSize:12,color:"#999",textAlign:"center",whiteSpace:"nowrap",width:"100%"},children:[j.nature_text?j.nature_text:"\u6027\u8D28\u4E0D\u9650",j.industry_text?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(de.Z,{type:"vertical"}),j.industry_text]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(de.Z,{type:"vertical"}),"\u884C\u4E1A\u4E0D\u9650"]}),j.scale_text?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(de.Z,{type:"vertical"}),j.scale_text]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(de.Z,{type:"vertical"}),"\u89C4\u6A21\u4E0D\u9650"]})]})]})})})})})}),!N||N.length==0&&(0,e.jsx)(l.Z,{description:"\u6CA1\u6709\u627E\u5230\u7B26\u5408\u6761\u4EF6\u7684\u4F01\u4E1A"}),(0,e.jsx)(D.Z,{justify:"center",align:"center",style:{margin:"40px 0"},children:(0,e.jsx)(me.Z,{hideOnSinglePage:!0,total:X,showTotal:function(B){return"\u603B\u5171".concat(B,"\u6761")},current:K,pageSize:oe,pageSizeOptions:["12","24","36"],onChange:function(B,se){u(B),w(se)}})})]}),(0,e.jsx)(R.Z,{span:6,children:U&&U.length&&U.map(function(j,B){return(0,e.jsx)("div",{style:{borderRadius:8,marginBottom:20},children:(0,e.jsx)("div",{style:{width:"100%",position:"relative",paddingTop:"56.25%",overflow:"hidden"},children:(0,e.jsx)(J.Link,{to:{pathname:j.target_url},target:"_blank",children:(0,e.jsx)("img",{src:n.VO+j.image_url,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",borderRadius:8}})})})})})})]})]})})})},T=d},86738:function(Ie,le,o){o.d(le,{Z:function(){return Se}});var f=o(67294),V=o(21640),_=o(93967),W=o.n(_),ie=o(21770),m=o(98423),c=o(53124),ce=o(55241),A=o(86743),ee=o(81643),R=o(83622),D=o(33671),Ce=o(10110),ue=o(24457),de=o(66330),me=o(83559);const J=e=>{const{componentCls:x,iconCls:P,antCls:g,zIndexPopup:n,colorText:h,colorWarning:p,marginXXS:l,marginXS:d,fontSize:T,fontWeightStrong:C,colorTextHeading:y}=e;return{[x]:{zIndex:n,[`&${g}-popover`]:{fontSize:T},[`${x}-message`]:{marginBottom:d,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${x}-message-icon ${P}`]:{color:p,fontSize:T,lineHeight:1,marginInlineEnd:d},[`${x}-title`]:{fontWeight:C,color:y,"&:only-child":{fontWeight:"normal"}},[`${x}-description`]:{marginTop:l,color:h}},[`${x}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:d}}}}},ve=e=>{const{zIndexPopupBase:x}=e;return{zIndexPopup:x+60}};var r=(0,me.I$)("Popconfirm",e=>J(e),ve,{resetStyle:!1}),Ee=function(e,x){var P={};for(var g in e)Object.prototype.hasOwnProperty.call(e,g)&&x.indexOf(g)<0&&(P[g]=e[g]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,g=Object.getOwnPropertySymbols(e);n<g.length;n++)x.indexOf(g[n])<0&&Object.prototype.propertyIsEnumerable.call(e,g[n])&&(P[g[n]]=e[g[n]]);return P};const fe=e=>{const{prefixCls:x,okButtonProps:P,cancelButtonProps:g,title:n,description:h,cancelText:p,okText:l,okType:d="primary",icon:T=f.createElement(V.Z,null),showCancel:C=!0,close:y,onConfirm:b,onCancel:i,onPopupClick:M}=e,{getPrefixCls:L}=f.useContext(c.E_),[S]=(0,Ce.Z)("Popconfirm",ue.Z.Popconfirm),N=(0,ee.Z)(n),Z=(0,ee.Z)(h);return f.createElement("div",{className:`${x}-inner-content`,onClick:M},f.createElement("div",{className:`${x}-message`},T&&f.createElement("span",{className:`${x}-message-icon`},T),f.createElement("div",{className:`${x}-message-text`},N&&f.createElement("div",{className:`${x}-title`},N),Z&&f.createElement("div",{className:`${x}-description`},Z))),f.createElement("div",{className:`${x}-buttons`},C&&f.createElement(R.ZP,Object.assign({onClick:i,size:"small"},g),p||(S==null?void 0:S.cancelText)),f.createElement(A.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,D.nx)(d)),P),actionFn:b,close:y,prefixCls:L("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},l||(S==null?void 0:S.okText))))};var I=e=>{const{prefixCls:x,placement:P,className:g,style:n}=e,h=Ee(e,["prefixCls","placement","className","style"]),{getPrefixCls:p}=f.useContext(c.E_),l=p("popconfirm",x),[d]=r(l);return d(f.createElement(de.ZP,{placement:P,className:W()(l,g),style:n,content:f.createElement(fe,Object.assign({prefixCls:l},h))}))},ye=function(e,x){var P={};for(var g in e)Object.prototype.hasOwnProperty.call(e,g)&&x.indexOf(g)<0&&(P[g]=e[g]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,g=Object.getOwnPropertySymbols(e);n<g.length;n++)x.indexOf(g[n])<0&&Object.prototype.propertyIsEnumerable.call(e,g[n])&&(P[g[n]]=e[g[n]]);return P};const ne=f.forwardRef((e,x)=>{var P,g,n,h,p,l;const{prefixCls:d,placement:T="top",trigger:C="click",okType:y="primary",icon:b=f.createElement(V.Z,null),children:i,overlayClassName:M,onOpenChange:L,onVisibleChange:S,overlayStyle:N,styles:Z,classNames:O}=e,k=ye(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange","overlayStyle","styles","classNames"]),{getPrefixCls:U,popconfirm:z}=f.useContext(c.E_),[he,Y]=(0,ie.Z)(!1,{value:(P=e.open)!==null&&P!==void 0?P:e.visible,defaultValue:(g=e.defaultOpen)!==null&&g!==void 0?g:e.defaultVisible}),te=(u,$)=>{Y(u,!0),S==null||S(u),L==null||L(u,$)},je=u=>{te(!1,u)},F=u=>{var $;return($=e.onConfirm)===null||$===void 0?void 0:$.call(void 0,u)},ae=u=>{var $;te(!1,u),($=e.onCancel)===null||$===void 0||$.call(void 0,u)},X=(u,$)=>{const{disabled:ge=!1}=e;ge||te(u,$)},H=U("popconfirm",d),pe=W()(H,M,(n=z==null?void 0:z.classNames)===null||n===void 0?void 0:n.root,O==null?void 0:O.root),q=W()((h=z==null?void 0:z.classNames)===null||h===void 0?void 0:h.body,O==null?void 0:O.body),[K]=r(H);return K(f.createElement(ce.Z,Object.assign({},(0,m.Z)(k,["title"]),{trigger:C,placement:T,onOpenChange:X,open:he,ref:x,classNames:{root:pe,body:q},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},(p=z==null?void 0:z.styles)===null||p===void 0?void 0:p.root),z==null?void 0:z.style),N),Z==null?void 0:Z.root),body:Object.assign(Object.assign({},(l=z==null?void 0:z.styles)===null||l===void 0?void 0:l.body),Z==null?void 0:Z.body)},content:f.createElement(fe,Object.assign({okType:y,icon:b},e,{prefixCls:H,close:je,onConfirm:F,onCancel:ae})),"data-popover-inject":!0}),i))});ne._InternalPanelDoNotUseOrYouWillBeFired=I;var Se=ne},66309:function(Ie,le,o){o.d(le,{Z:function(){return g}});var f=o(67294),V=o(93967),_=o.n(V),W=o(98423),ie=o(98787),m=o(69760),c=o(96159),ce=o(45353),A=o(53124),ee=o(11568),R=o(15063),D=o(14747),Ce=o(83262),ue=o(83559);const de=n=>{const{paddingXXS:h,lineWidth:p,tagPaddingHorizontal:l,componentCls:d,calc:T}=n,C=T(l).sub(p).equal(),y=T(h).sub(p).equal();return{[d]:Object.assign(Object.assign({},(0,D.Wf)(n)),{display:"inline-block",height:"auto",marginInlineEnd:n.marginXS,paddingInline:C,fontSize:n.tagFontSize,lineHeight:n.tagLineHeight,whiteSpace:"nowrap",background:n.defaultBg,border:`${(0,ee.bf)(n.lineWidth)} ${n.lineType} ${n.colorBorder}`,borderRadius:n.borderRadiusSM,opacity:1,transition:`all ${n.motionDurationMid}`,textAlign:"start",position:"relative",[`&${d}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:n.defaultColor},[`${d}-close-icon`]:{marginInlineStart:y,fontSize:n.tagIconSize,color:n.colorTextDescription,cursor:"pointer",transition:`all ${n.motionDurationMid}`,"&:hover":{color:n.colorTextHeading}},[`&${d}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${n.iconCls}-close, ${n.iconCls}-close:hover`]:{color:n.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${d}-checkable-checked):hover`]:{color:n.colorPrimary,backgroundColor:n.colorFillSecondary},"&:active, &-checked":{color:n.colorTextLightSolid},"&-checked":{backgroundColor:n.colorPrimary,"&:hover":{backgroundColor:n.colorPrimaryHover}},"&:active":{backgroundColor:n.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${n.iconCls} + span, > span + ${n.iconCls}`]:{marginInlineStart:C}}),[`${d}-borderless`]:{borderColor:"transparent",background:n.tagBorderlessBg}}},me=n=>{const{lineWidth:h,fontSizeIcon:p,calc:l}=n,d=n.fontSizeSM;return(0,Ce.IX)(n,{tagFontSize:d,tagLineHeight:(0,ee.bf)(l(n.lineHeightSM).mul(d).equal()),tagIconSize:l(p).sub(l(h).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:n.defaultBg})},J=n=>({defaultBg:new R.t(n.colorFillQuaternary).onBackground(n.colorBgContainer).toHexString(),defaultColor:n.colorText});var ve=(0,ue.I$)("Tag",n=>{const h=me(n);return de(h)},J),r=function(n,h){var p={};for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&h.indexOf(l)<0&&(p[l]=n[l]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,l=Object.getOwnPropertySymbols(n);d<l.length;d++)h.indexOf(l[d])<0&&Object.prototype.propertyIsEnumerable.call(n,l[d])&&(p[l[d]]=n[l[d]]);return p},fe=f.forwardRef((n,h)=>{const{prefixCls:p,style:l,className:d,checked:T,onChange:C,onClick:y}=n,b=r(n,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:i,tag:M}=f.useContext(A.E_),L=U=>{C==null||C(!T),y==null||y(U)},S=i("tag",p),[N,Z,O]=ve(S),k=_()(S,`${S}-checkable`,{[`${S}-checkable-checked`]:T},M==null?void 0:M.className,d,Z,O);return N(f.createElement("span",Object.assign({},b,{ref:h,style:Object.assign(Object.assign({},l),M==null?void 0:M.style),className:k,onClick:L})))}),Q=o(98719);const I=n=>(0,Q.Z)(n,(h,p)=>{let{textColor:l,lightBorderColor:d,lightColor:T,darkColor:C}=p;return{[`${n.componentCls}${n.componentCls}-${h}`]:{color:l,background:T,borderColor:d,"&-inverse":{color:n.colorTextLightSolid,background:C,borderColor:C},[`&${n.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ye=(0,ue.bk)(["Tag","preset"],n=>{const h=me(n);return I(h)},J);function Pe(n){return typeof n!="string"?n:n.charAt(0).toUpperCase()+n.slice(1)}const ne=(n,h,p)=>{const l=Pe(p);return{[`${n.componentCls}${n.componentCls}-${h}`]:{color:n[`color${p}`],background:n[`color${l}Bg`],borderColor:n[`color${l}Border`],[`&${n.componentCls}-borderless`]:{borderColor:"transparent"}}}};var Se=(0,ue.bk)(["Tag","status"],n=>{const h=me(n);return[ne(h,"success","Success"),ne(h,"processing","Info"),ne(h,"error","Error"),ne(h,"warning","Warning")]},J),e=function(n,h){var p={};for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&h.indexOf(l)<0&&(p[l]=n[l]);if(n!=null&&typeof Object.getOwnPropertySymbols=="function")for(var d=0,l=Object.getOwnPropertySymbols(n);d<l.length;d++)h.indexOf(l[d])<0&&Object.prototype.propertyIsEnumerable.call(n,l[d])&&(p[l[d]]=n[l[d]]);return p};const P=f.forwardRef((n,h)=>{const{prefixCls:p,className:l,rootClassName:d,style:T,children:C,icon:y,color:b,onClose:i,bordered:M=!0,visible:L}=n,S=e(n,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:N,direction:Z,tag:O}=f.useContext(A.E_),[k,U]=f.useState(!0),z=(0,W.Z)(S,["closeIcon","closable"]);f.useEffect(()=>{L!==void 0&&U(L)},[L]);const he=(0,ie.o2)(b),Y=(0,ie.yT)(b),te=he||Y,je=Object.assign(Object.assign({backgroundColor:b&&!te?b:void 0},O==null?void 0:O.style),T),F=N("tag",p),[ae,X,H]=ve(F),pe=_()(F,O==null?void 0:O.className,{[`${F}-${b}`]:te,[`${F}-has-color`]:b&&!te,[`${F}-hidden`]:!k,[`${F}-rtl`]:Z==="rtl",[`${F}-borderless`]:!M},l,d,X,H),q=w=>{w.stopPropagation(),i==null||i(w),!w.defaultPrevented&&U(!1)},[,K]=(0,m.Z)((0,m.w)(n),(0,m.w)(O),{closable:!1,closeIconRender:w=>{const be=f.createElement("span",{className:`${F}-close-icon`,onClick:q},w);return(0,c.wm)(w,be,G=>({onClick:j=>{var B;(B=G==null?void 0:G.onClick)===null||B===void 0||B.call(G,j),q(j)},className:_()(G==null?void 0:G.className,`${F}-close-icon`)}))}}),u=typeof S.onClick=="function"||C&&C.type==="a",$=y||null,ge=$?f.createElement(f.Fragment,null,$,C&&f.createElement("span",null,C)):C,oe=f.createElement("span",Object.assign({},z,{ref:h,className:pe,style:je}),ge,K,he&&f.createElement(ye,{key:"preset",prefixCls:F}),Y&&f.createElement(Se,{key:"status",prefixCls:F}));return ae(u?f.createElement(ce.Z,{component:"Tag"},oe):oe)});P.CheckableTag=fe;var g=P}}]);