|
|
(self.webpackChunk=self.webpackChunk||[]).push([[72570,4977,80416,88314,3567],{80045:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var l=t(38329),a=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},r=t(91851),s=function(e,n){return a.createElement(r.Z,(0,l.Z)({},e,{ref:n,icon:i}))};var o=a.forwardRef(s)},60936:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var l=t(38329),a=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},r=t(91851),s=function(e,n){return a.createElement(r.Z,(0,l.Z)({},e,{ref:n,icon:i}))};var o=a.forwardRef(s)},96402:function(e,n,t){"use strict";t.d(n,{Z:function(){return o}});var l=t(38329),a=t(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},r=t(91851),s=function(e,n){return a.createElement(r.Z,(0,l.Z)({},e,{ref:n,icon:i}))};var o=a.forwardRef(s)},51811:function(e,n,t){"use strict";function l(e){var n=!0;if(e.length>0){for(var t=0;t<e.length;t++)if(0==e[t].compile_success||!e[t].compile_success){n=!1;break}}else n=!1;return n}function a(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=[],l=0;l<e.length;l++){var a=e[l],i=n?"".concat(n,"/").concat(a.name):"".concat(a.name);t.push({title:a.name,isLeaf:"tree"!==a.type,key:i})}return t}function i(e,n,t){for(var l=0;l<e.length;l++){var a=e[l];if(a.key===n){a.children=t;break}a.children&&i(a.children,n,t)}return e}function r(e,n,t){var l;return function(){var a=this,i=arguments,r=function(){l=null,t||e.apply(a,i)},s=t&&!l;clearTimeout(l),l=setTimeout(r,n),s&&e.apply(a,i)}}t.d(n,{Ax:function(){return i},Ds:function(){return r},KI:function(){return s},SI:function(){return a},f1:function(){return l}});var s=t(67871).Z.API_SERVER},97598:function(e,n,t){"use strict";t.d(n,{Z:function(){return x}});var l=t(26801),a=t.n(l),i=t(10574),r=t.n(i),s=t(39343),o=t.n(s),c=t(11006),u=t.n(c),d=t(27161),p=t.n(d),v=t(3113),f=t(59301),m=t(37712),h=["children"],x=function(e){var n=e.children,t=p()(e,h),l=(0,f.useState)(!1),i=u()(l,2),s=i[0],c=i[1];return(0,m.jsx)(v.ZP,a()(a()({},t),{},{loading:s,onClick:function(){var e=o()(r()().mark((function e(n){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,c(!0),e.next=4,t.onClick(n);case 4:c(!1),e.next=11;break;case 7:e.prev=7,e.t0=e.catch(0),console.error(e.t0),c(!1);case 11:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(n){return e.apply(this,arguments)}}(),children:n}))}},22059:function(e,n,t){"use strict";var l=t(27161),a=t.n(l),i=(t(59301),t(22211)),r=t(43418),s=t(37712),o=["shixunsDetail","globalSetting","loading","dispatch"];n.Z=(0,i.connect)((function(e){var n=e.shixunsDetail,t=e.loading;return{shixunsDetail:n,globalSetting:e.globalSetting,loading:t.models.index}}))((function(e){var n=e.shixunsDetail,t=(e.globalSetting,e.loading,e.dispatch);a()(e,o);return(0,s.jsx)(r.Z,{centered:!0,keyboard:!1,closable:!1,zIndex:6666,title:"提示",open:"Banner-Auth"===n.actionTabs.key,okText:"确定",cancelText:"取消",onOk:function(){t({type:"shixunsDetail/setActionTabs",payload:{}}),window.location.href="/account/certification"},onCancel:function(){t({type:"shixunsDetail/setActionTabs",payload:{}})},children:(0,s.jsxs)("p",{className:"tc font16",children:["当前竞赛需要实名认证,请先完成实名认证后再报名参赛",(0,s.jsx)("br",{}),"请问是否前往进行认证?"]})})}))},57732:function(e,n,t){"use strict";var l=t(26801),a=t.n(l),i=(t(59301),t(93314)),r=t(3113),s=t(37712);n.Z=function(e){var n=e.img,t=e.buttonProps,l=void 0===t?{}:t,o=e.styles,c=void 0===o?{}:o,u=e.customText,d=e.ButtonText,p=e.ButtonClick,v=e.Buttonclass,f=e.ButtonTwo,m=e.imgStyles,h=e.loading,x=void 0!==h&&h;return(0,s.jsxs)("section",{className:"tc animated fadeIn",style:a()(a()({},{color:"#999",margin:"100px auto",visibility:x?"hidden":"visible"}),c),children:[(0,s.jsx)("img",{src:n||i,style:a()({},m)}),(0,s.jsx)("p",{className:"mt20 font14",children:u||"暂时还没有相关数据哦!"}),d&&(0,s.jsx)(r.ZP,a()(a()({className:v,onClick:p},l),{},{children:d})),f&&f]})}},78075:function(e,n,t){"use strict";t.d(n,{Z:function(){return Z}});var l=t(26801),a=t.n(l),i=t(10574),r=t.n(i),s=t(39343),o=t.n(s),c=t(11006),u=t.n(c),d=t(59301),p={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},v=t(3113),f=t(98915),m=t(55989),h=t(6848),x=t(85578),g=t(86018),b=t(57732),j=t(67871),y=t(37712),Z=function(e){var n,t,l,i,s,c,Z,_=e.editOffice,w=void 0===_?"view":_,k=e.data,C=(e.theme,e.type),S=e.filename,N=e.monacoEditor,I=e.className,P=e.style,E=e.close,A=e.onClose,T=e.hasMask,z=e.disabledDownload,R=e.onImgDimensions,L=e.showNodata,M=(0,d.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),O=u()(M,2),D=(O[0],O[1],(0,d.useState)("")),B=u()(D,2),H=(B[0],B[1]),F=(0,d.useState)(),V=u()(F,2),Y=V[0],U=V[1],G="build"===window.ENV?"/react/build":"",K=location.host.startsWith("localhost")?j.Z.PROXY_SERVER:j.Z.API_SERVER;console.log("disabledDownload---",z);var W=(0,d.useRef)();null!==(n=k)&&void 0!==n&&n.startsWith("/api")&&"txt"!==C&&(k=j.Z.API_SERVER+k),S&&(N.filename=S),(0,d.useEffect)((function(){var e,n=null===(e=document.cookie)||void 0===e||null===(e=e.replace(/\s/g,""))||void 0===e?void 0:e.split(";");null==n||n.map((function(e){var n=e.split("=");"_educoder_session"===n[0]&&H(n[1])}))}),[]),(0,d.useEffect)((function(){"office"===C&&J()}),[C,k]);var J=function(){var e=o()(r()().mark((function e(){var n,t,l;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("data:",k),n=k,k.startsWith("http")||(n=location.origin+n),t=new URL(n).pathname.split("/").pop(),e.next=6,(0,g.gJ)({attachment_id:t});case 6:l=e.sent,U(l);case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),q=function(){k.startsWith("http")||k.startsWith("blob:")?Q():(0,x.Sv)(S||"educoder",k,S)},Q=function(){(0,x.Nd)(S||"educoder",decodeURIComponent(k))};return console.log(k,"data"),(0,y.jsxs)("div",{style:a()({},P||{}),className:"".concat(T&&p.bgBlack," ").concat(C?p.wrp:"hide"),children:[E&&(0,y.jsxs)("div",{className:p.close,ref:W,children:[!!R&&(0,y.jsx)(h.Z,{title:"点击对图片进行批注",getPopupContainer:function(){return W.current},children:(0,y.jsx)("span",{onClick:function(){A(),R()},children:(0,y.jsx)("i",{className:"icon-yulanpizhu"})})}),!z&&(0,y.jsx)(h.Z,{title:"点击下载此文件",getPopupContainer:function(){return W.current},children:(0,y.jsx)("span",{onClick:Q,children:(0,y.jsx)("i",{className:"icon-quxiaozhiding"})})}),(0,y.jsx)(h.Z,{title:"关闭",getPopupContainer:function(){return W.current},children:(0,y.jsx)("span",{className:"",onClick:A,children:(0,y.jsx)("i",{className:"icon-guanbi1"})})})]}),(0,y.jsx)("div",{className:"".concat(p[I]," ").concat(I," ").concat(p.monaco," ").concat("txt"===C?"show":"hide"),children:"txt"===C&&(0,y.jsx)(m.ZP,a()({},N))}),"audio"===C&&(0,y.jsx)("audio",{src:(null===(t=k)||void 0===t?void 0:t.indexOf("http"))>-1||null!==(l=k)&&void 0!==l&&l.startsWith("/api")?k:"data:image/png;base64,".concat(k),autoPlay:!0}),"video"===C&&(0,y.jsx)(y.Fragment,{children:(null===(i=k)||void 0===i?void 0:i.indexOf("http"))>-1||null!==(s=k)&&void 0!==s&&s.startsWith("/api")?(0,y.jsx)("video",{controls:!0,src:"".concat(k),autoPlay:!0}):(0,y.jsx)("video",{controls:!0,src:"data:video/mp4;base64,".concat(k),autoPlay:!0})}),"office"===C&&Y&&(0,y.jsx)("iframe",{src:"".concat(G,"/office.html?key=").concat(Y.key,"&url=").concat(K+Y.url,"&callbackUrl=").concat(K+Y.callbackUrl,"&fileType=").concat(Y.fileType,"&title=").concat(Y.title,"&model=").concat(w,"&officeServer=").concat(j.Z.ONLYOFFICE,"&disabledDownload=").concat(!!z)}),"html"===C&&(0,y.jsx)("iframe",{src:k+"&disposition=inline"}),"pdf"===C&&(0,y.jsx)("iframe",{src:"".concat(G,"/js/pdfview/index.html?url=").concat(k,"&disabledDownload=").concat(!!z)}),"image"===C&&(0,y.jsx)("img",{src:(null===(c=k)||void 0===c?void 0:c.indexOf("http"))>-1||null!==(Z=k)&&void 0!==Z&&Z.startsWith("/api")?k:"data:image/png;base64,".concat(k)}),("other"===C||"download"===C)&&(0,y.jsx)(y.Fragment,{children:L?(0,y.jsx)(b.Z,{customText:"当前文件不支持预览,可点击下载查看",ButtonTwo:(0,y.jsx)(v.ZP,{icon:(0,y.jsx)("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:q,children:"下载"})}):(0,y.jsxs)(v.ZP,{type:"primary",size:"middle",onClick:q,children:[(0,y.jsx)(f.Z,{}),"点击下载"]})})]})}},80416:function(e,n,t){"use strict";t.d(n,{Z:function(){return V}});var l=t(26801),a=t.n(l),i=t(93923),r=t.n(i),s=t(98190),o=t.n(s),c=t(11006),u=t.n(c),d=t(59301),p=(t(31020),t(32834)),v=t.n(p),f=t(11690);var m=[],h=["<ul>"],x=new(v().Renderer),g=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function b(){m.length=0,h=["<ul>"]}var j={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function y(e,n,t,l){if(n>=e.length||e[n].level<=t)return n;var a=e[n];l.push("<li><a href='#"+a.anchor+"'>"+a.text+"</a>");var i=[];return n=y(e,++n,a.level,i),i.length>0&&(l.push("<ul>"),i.forEach((function(e){l.push(e)})),l.push("</ul>")),l.push("</li>"),n=y(e,n,t,l)}function Z(){return y(m,0,0,h),h.push("</ul>"),h.join("")}var _={heading:function(e){var n=g.exec(e);if(n)return{type:"heading",raw:n[0],depth:n[1].length,text:n[2]}},fences:function(e){var n=this.rules.block.fences.exec(e);if(n){var t=n[0],l=function(e,n){var t=e.match(/^(\s+)(?:```)/);if(null===t)return n;var l=t[1];return n.split("\n").map((function(e){var n=e.match(/^\s+/);return null===n?e:u()(n,1)[0].length>=l.length?e.slice(l.length):e})).join("\n")}(t,n[3]||""),a=n[2]?n[2].trim():n[2];if(["latex","katex","math"].indexOf(a)>=0){var i=C(),r=l;l=i,S[i]={type:"block",expression:r}}return{type:"code",raw:t,lang:a,text:l}}}},w=/(?:\${2})([^\n`]+?)(?:\${2})/gi,k=0,C=function(){return"__special_katext_id_".concat(k++,"__")},S={};function N(){return S}function I(){k=0,S={}}function P(e){return e=e.replace(w,(function(e,n){var t=C();return S[t]={type:"inline",expression:n},t}))}var E=x.listitem;x.listitem=function(e){return E(P(e))};var A=x.paragraph;x.paragraph=function(e){return A(P(e))};var T=x.tablecell;x.tablecell=function(e,n){return T(P(e),n)},x.code=function(e,n,t){var l=(n||"").match(/\S*/)[0];return l?["latex","katex","math"].indexOf(l)>=0?"<p class='editormd-tex'>".concat(e,"</p>"):'<pre class="prettyprint linenums"><code class="language-'.concat(n,'">').concat(t?e:(0,f.escape)(e,!0),"</code></pre>\n"):'<pre class="prettyprint linenums"><code>'+(t?e:(0,f.escape)(e,!0))+"</code></pre>"},x.heading=function(e,n,t){var l=this.options.headerPrefix+t.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return m.push({anchor:l,level:n,text:e}),"<h"+n+' id="'+l+'">'+e+"</h"+n+">"},v().setOptions({silent:!0,gfm:!0,pedantic:!1}),v().use({tokenizer:_,renderer:x});var z=v(),R=(t(64018),t(76980)),L=t(67871),M=t(15342),O=t(1012),D=t(78075),B=t(37712),H="@▁@",F=/<pre[^>]*>/g;var V=function(e){var n=e.value,t=void 0===n?"":n,l=e.className,i=e.showTextOnly,s=e.showLines,c=e.style,p=void 0===c?{}:c,v=e.stylesPrev,f=void 0===v?{}:v,m=e.highlightKeywords,h=e.showProgramFill,x=(e.isProgramFill,e.disabledFill),g=void 0!==x&&x,y=e.programFillValue,_=e.onFillChange,w=void 0===_?function(e){}:_,k=e.onFillBlur,C=void 0===k?function(){}:k,S=String(t),P=(0,d.useState)(""),E=u()(P,2),A=E[0],T=E[1],V=(0,d.useState)("office"),Y=u()(V,2),U=Y[0],G=Y[1],K=(0,d.useState)([]),W=u()(K,2),J=W[0],q=W[1],Q=(0,d.useRef)("a"+(0,O.Z)()),X={},$=function(e){return e.replace(/<style.*?>([\s\S]+?)<\/style>/gim,(function(e,n){var t=n.replace(/(\n|\r)/g,"").split("}"),l=[];return t.map((function(e){""!=e&&l.push(".".concat(Q.current," ").concat(e))})),"<style>".concat(l.join("}"),"</style>")}))},ee=(0,d.useMemo)((function(){try{S=S.replace(/\(\s+\/api\/attachments\/|\(\/api\/attachments\/|\(\/attachments\/download\//g,"("+L.Z.API_SERVER+"/api/attachments/").replace(/\"\/api\/attachments\/|\"\/attachments\/download\//g,'"'+L.Z.API_SERVER+"/api/attachments/").replace(/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,'"'+L.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,"\n")}catch(e){}if(h){var e=-1;return S=S.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,(function(n,t,l){return function(e,n){var t=document.createElement(e===H?"input":"textarea");t.style.width="100%",t.style.height=e===H?"40px":"151px",t.rows=5,t.spellcheck=!1,t.name="edu-program-fill",t.placeholder="请输入",t.dataset.id=n;var l=Object.keys(X).length;return X[l]=t,'<span class="edu-program-fill-wrap '.concat(e===H?"":"show",'" style="width:').concat(e===H?"200px":"100%",'"><span>').concat(t.outerHTML,'<span class="edu-program-fill-score"></span></span></span>')}(n,++e)})),'<pre style="background:#fff;padding:4px">'.concat($(S||""),"</pre>")}var n=z(S);n=$(n);var t=N();S.match(/\[TOC\]/)&&(n=n.replace("<p>[TOC]</p>",Z()),b()),n=n.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var l=t[n],a=l.type,i=l.expression;return(0,M.renderToString)(function(e){var n=document.createElement("div");return n.innerHTML=e,0===n.childNodes.length?"":n.childNodes[0].nodeValue}(i)||"",{displayMode:"block"===a,throwOnError:!1,output:"html"})})),n=n.replace(/▁/g,"▁▁▁"),I();var l=document.createElement("div");return l.innerHTML=n,m?(le(l,m.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")),l.innerHTML):i?l.innerText:(setTimeout((function(){return re()}),500),console.log("dom.innerHTML:",l.innerHTML),l.innerHTML)}),[S,m]);(0,d.useEffect)((function(){ae.current&&ae.current.querySelectorAll(["input","textarea"]).forEach((function(e){e.oninput=ne,e.onblur=te}))}),[J]),(0,d.useEffect)((function(){if(null!=y&&y.length){var e,n=ae.current.querySelectorAll(".edu-program-fill-score"),t=ae.current.querySelectorAll('[name="edu-program-fill"]'),l=o()(t.entries());try{for(l.s();!(e=l.n()).done;){var a,i=u()(e.value,2),r=i[0],s=i[1];s.value=null===(a=y[r])||void 0===a?void 0:a.value,"warning"===y[r].type?s.className="program-fill-warning":"success"===y[r].type?s.className="program-fill-success":s.className=""}}catch(e){l.e(e)}finally{l.f()}var c,d=o()(n.entries());try{for(d.s();!(c=d.n()).done;){var p,v,f=u()(c.value,2),m=f[0];f[1].innerHTML=null!==(p=y[m])&&void 0!==p&&p.score?"".concat(null===(v=y[m])||void 0===v?void 0:v.score,"分"):""}}catch(e){d.e(e)}finally{d.f()}q(y)}}),[y]);var ne=function(e){J[e.target.dataset.id]=J[e.target.dataset.id]||{},J[e.target.dataset.id].value=e.target.value,q(r()(J)),w(J,e.target.dataset.id)},te=function(e){J[e.target.dataset.id]=J[e.target.dataset.id]||{},J[e.target.dataset.id].value=e.target.value,q(r()(J)),C(J,e.target.dataset.id)};function le(e,n){return e.childNodes.forEach((function(e){if(e.childNodes.length>0)le(e,n);else if("IMG"!==e.nodeName)if(e.innerHTML){var t;e.innerHTML=null===(t=e.innerHTML)||void 0===t?void 0:t.replace(new RegExp(n,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>')}else{var l=document.createElement("span");l.innerHTML=e.textContent.replace(new RegExp(n,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),e.replaceWith(l)}}))}var ae=(0,d.useRef)();function ie(e){var n=e.target;if("A"===n.tagName.toUpperCase()){var t=n.getAttribute("href");if(t.indexOf("office")>-1)e.preventDefault(),T(t),G("office");else if(t.indexOf("application/pdf")>-1)e.preventDefault(),T(t),G("pdf");else if(t.indexOf("text/html")>-1)e.preventDefault(),T(t),G("html");else if(t.startsWith("#")){e.preventDefault();var l=document.getElementById(t.replace("#",""));l&&l.scrollIntoView(!0)}}}j.WebkitLineClamp=s,s&&(p=a()(a()({},p),j));var re=function(){var e,n=null===(e=ae.current)||void 0===e?void 0:e.querySelectorAll("video");null==n||n.forEach((function(e){if(e.oncontextmenu=function(){return!1},e.src.indexOf(".m3u8")>-1)if(e.canPlayType("application/vnd.apple.mpegurl"));else if(R.Z.isSupported()){var n=new R.Z;n.loadSource(e.src),n.attachMedia(e)}}))};return(0,d.useEffect)((function(){if(ae.current&&ee&&ee.match(F)&&window.PR.prettyPrint(),ae.current)return ae.current.addEventListener("click",ie),function(){var e;null===(e=ae.current)||void 0===e||e.removeEventListener("click",ie),I(),b()}}),[ee,ae.current,ie]),(0,B.jsxs)(B.Fragment,{children:[i&&(0,B.jsx)("div",{ref:ae,children:ee}),!i&&(0,B.jsx)("div",{ref:ae,style:a()({},p),className:"".concat(l||""," ").concat(g?"disabled-fill":""," markdown-body ").concat(Q.current),dangerouslySetInnerHTML:{__html:ee}}),(0,B.jsx)(D.Z,{close:!0,data:A,type:null!=A&&A.length?U:"",style:a()({},f),onClose:function(){return T("")}})]})}},63720:function(e,n,t){"use strict";t.d(n,{cT:function(){return I},pe:function(){return N}});var l=t(93923),a=t.n(l),i=t(11006),r=t.n(i),s=t(27161),o=t.n(s),c=t(26801),u=t.n(c),d=t(10574),p=t.n(d),v=t(39343),f=t.n(v),m=t(59301),h=t(48826),x=t(8591),g=t(15830),b=t(28209),j=t.n(b),y=t(1012),Z=t(22211),_=t(75264),w=t.n(_),k=t(37712),C=["user","cancelUpload"],S=h.Z.Dragger,N=function(e){var n=j().enc.Utf8.parse("bf3c199c2470cb477d907b1e0917c17b"),t=j().enc.Utf8.parse("5183666c72eec9e4"),l=j().AES.decrypt(e,n,{iv:t,mode:j().mode.CBC});return l.toString(j().enc.Utf8)},I=function(){var e=f()(p()().mark((function e(n,t,l){var a,i,r,s,o,c,d,v,f,m;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.file_name=n.name,e.next=3,(0,g.ZP)("/api/buckets/get_upload_token.json",{method:"get"});case 3:return d=e.sent,console.log("decrypt(res.data):",N(d.data)),d.data=JSON.parse(N(d.data)),(v=n.name.split(".")).pop(),f=t.realFileName?v.join(""):(0,y.Z)(),m=new(w())({endpoint:null==d||null===(a=d.data)||void 0===a?void 0:a.end_point,region:null==d||null===(i=d.data)||void 0===i?void 0:i.region,accessKeyId:null==d||null===(r=d.data)||void 0===r?void 0:r.access_key_id,accessKeySecret:null==d||null===(s=d.data)||void 0===s?void 0:s.access_key_secret,bucket:null==d||null===(o=d.data)||void 0===o?void 0:o.bucket,stsToken:null==d||null===(c=d.data)||void 0===c?void 0:c.security_token}),e.abrupt("return",new Promise((function(e,a){var i;m.multipartUpload("".concat(f),new Blob([n],{type:n.type}),u()(u()({timeout:2e5,partSize:102400},l),{},{callback:{url:null==d||null===(i=d.data)||void 0===i?void 0:i.callback_url,host:null==d?void 0:d.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,g.rz)(t)}})).then((function(t){var l;n.response=null===(l=t.data)||void 0===l?void 0:l.data,e(null==t?void 0:t.data)})).catch((function(e){a(e),console.log("err:",e)}))})));case 11:case"end":return e.stop()}}),e)})));return function(n,t,l){return e.apply(this,arguments)}}();n.ZP=(0,Z.connect)((function(e){var n=e.loading,t=e.globalSetting,l=e.user;return{globalSetting:t,loading:n.models.competitions,user:l}}))((function(e){var n,t=e.user,l=e.cancelUpload,i=o()(e,C),s=(0,m.useState)([]),c=r()(s,2),d=c[0],v=c[1],h=(0,m.useState)(),b=r()(h,2),j=b[0],Z=b[1],_={onRemove:function(e){v(a()(d.filter((function(n){return n.name!==e.name})))),i.onChange(d.filter((function(n){return n.name!==e.name})))},disabled:i.disabled,multiple:!0,fileList:null==d?void 0:d.map((function(e){return e.file})),customRequest:function(){},beforeUpload:(n=f()(p()().mark((function e(n){var t;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=i.maxSize||1073741824,!d.filter((function(e){return e.name===n.name})).length){e.next=4;break}return x.ZP.info("".concat(n.name,"已存在,请重新选择")),e.abrupt("return");case 4:if(!((null==n?void 0:n.size)>t)){e.next=7;break}return x.ZP.info("文件超过".concat(t/1024/1024/1024,"GB,不符合上传要求")),e.abrupt("return",!1);case 7:return d.push({name:n.name,file:n}),v(a()(d)),i.onChange(d),e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e)}))),function(e){return n.apply(this,arguments)})},I=function(){var e=f()(p()().mark((function e(n,t){var l,r,s,o,c,u,f,m,h,b;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.file_name=n.name,f=n.name,e.next=4,(0,g.ZP)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});case 4:if((m=e.sent).data=JSON.parse(N(m.data)),0===(null==m?void 0:m.status)){e.next=12;break}return d[d.findIndex((function(e){return e.name===f}))].status="error",d[d.findIndex((function(e){return e.name===f}))].file.status="error",i.onChange(d),x.ZP.warning("上传失败,请重新尝试"),e.abrupt("return");case 12:return j=new(w())({endpoint:null==m||null===(l=m.data)||void 0===l?void 0:l.end_point,region:null==m||null===(r=m.data)||void 0===r?void 0:r.region,accessKeyId:null==m||null===(s=m.data)||void 0===s?void 0:s.access_key_id,accessKeySecret:null==m||null===(o=m.data)||void 0===o?void 0:o.access_key_secret,bucket:null==m||null===(c=m.data)||void 0===c?void 0:c.bucket,stsToken:null==m||null===(u=m.data)||void 0===u?void 0:u.security_token}),console.log(n,"file"),Z(j),(h=n.name.split(".")).pop(),b=t.realFileName?h.join("."):(0,y.Z)(),e.abrupt("return",new Promise((function(e,l){try{var r;j.multipartUpload("".concat(i.identifier,"/").concat(b).concat(f.indexOf(".")>-1?"."+f.split(".").pop():""),new Blob([n.file],{type:n.file.type}),{timeout:36e5,partSize:1002400,progress:function(e,n,t){try{console.log("进度",e,n,t);var l=d.findIndex((function(e){return e.name===f}));d[l].file.percent=100*e,d[l].tempCheckpoint=n,v(a()(d))}catch(e){}},checkpoint:d[d.findIndex((function(e){return e.name===f}))].tempCheckpoint,callback:{customValue:{id:f+""},url:null==m||null===(r=m.data)||void 0===r?void 0:r.callback_url,host:null==m?void 0:m.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,g.rz)(t)}}).then((function(t){var l,a=d.findIndex((function(e){return e.name===f})),r="done";if(0===(null===(l=t.data)||void 0===l?void 0:l.status)){var s;n.response=null===(s=t.data)||void 0===s?void 0:s.data;var o=d.findIndex((function(e){return e.name===f}));d[o].status="done",d[o].file.status="done"}else{var c;x.ZP.warning(null===(c=t.data)||void 0===c?void 0:c.message),r="error"}d[a].status=r,d[a].file.status=r,i.onChange(d),e(null==t?void 0:t.data)})).catch((function(e){d[d.findIndex((function(e){return e.name===f}))].status="error",d[d.findIndex((function(e){return e.name===f}))].file.status="error",x.ZP.warning("上传失败,请重新尝试"),v(a()(d)),i.onChange(d),l(e),console.log("err:",e)}))}catch(e){}})));case 19:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}();return(0,m.useEffect)((function(){d.every((function(e){return"done"===e||"error"===e}))&&i.onComplete(d)}),[d]),(0,m.useEffect)((function(){var e;l&&(null===(e=j)||void 0===e||e.cancel())}),[l]),(0,m.useEffect)((function(){i.uploading&&d.map(function(){var e=f()(p()().mark((function e(n){var a;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.status&&"error"!==n.status||l){e.next=6;break}return n.status="uploading",n.file.status="uploading",e.next=5,I(n,{login:null==t||null===(a=t.userInfo)||void 0===a?void 0:a.login,container_type:i.container_type,container_id:i.container_id,description:i.description,realFileName:i.realFileName});case 5:e.sent;case 6:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}())}),[i.uploading]),(0,k.jsx)(S,u()(u()({},_),{},{height:i.height,className:i.className,children:(0,k.jsx)("p",{className:"ant-upload-hint",children:i.text||"拖拽文件或者点击上传"})}))}))},74921:function(e,n,t){"use strict";t.d(n,{h:function(){return x}});var l=t(26801),a=t.n(l),i=t(11006),r=t.n(i),s=t(59301),o=t(57809),c=t(78241),u=t(3113),d=t(89780),p=t.n(d),v=(t(83164),t(45215),t(37712)),f=o.default.Option,m={labelCol:{span:4},wrapperCol:{span:20}},h={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};function x(e){var n=e.value,t=e.onChange,l=e.mode,i=e.options,o=void 0===i?{}:i,c=(0,s.useRef)(),u=(0,s.useState)(),d=r()(u,2),f=d[0],m=d[1];return(0,s.useEffect)((function(){if(f){var e=function(e){var n=e.getValue();t&&t(n)};return f.on("change",e),function(){f.off("change",e)}}}),[f,t]),(0,s.useEffect)((function(){f&&f.setOption("mode",l)}),[f,l]),(0,s.useEffect)((function(){f&&(n===f.getValue()&&""!==n||setTimeout((function(){f.setValue(n||"")}),300))}),[f,n]),(0,s.useEffect)((function(){if(c.current&&!f){var e=p().fromTextArea(c.current,a()({mode:l,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},o));m(e)}}),[c.current,f]),(0,v.jsx)("div",{className:"my-codemirror-container",children:(0,v.jsx)("textarea",{ref:c})})}n.Z=function(e){var n=e.callback,t=e.onCancel,l=(0,s.useState)("python"),i=r()(l,2),d=i[0],p=i[1];return(0,v.jsxs)(c.Z,a()(a()({},m),{},{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:function(e){n(e)},children:[(0,v.jsx)(c.Z.Item,{label:"代码语言",name:"language",children:(0,v.jsx)(o.default,{getPopupContainer:function(e){return e.parentNode},onChange:function(e){p(h[e][1])},children:Object.keys(h).map((function(e){return(0,v.jsx)(f,{value:e,children:h[e][0]},e)}))})}),(0,v.jsx)(c.Z.Item,{label:"代码内容",name:"content",rules:[{required:!0,message:"请输入代码内容"}],children:(0,v.jsx)(x,{mode:d})}),(0,v.jsxs)("div",{className:"flex-container flex-end",children:[(0,v.jsx)(u.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,v.jsx)(u.ZP,{type:"ghost",onClick:t,children:"取消"})]})]}))}},22387:function(e,n,t){"use strict";t.d(n,{Z:function(){return ue}});var l=t(98190),a=t.n(l),i=t(10574),r=t.n(i),s=t(39343),o=t.n(s),c=t(11006),u=t.n(c),d=t(22060),p=t.n(d),v=t(59301),f=t(89780),m=t.n(f),h=t(76374),x=(t(83164),t(6313),t(25717),t(99498),t(25419),t(67549),t(80416)),g=t(37712),b=function(e){var n=e.value,t=void 0===n?"":n,l=(e.className,e.showTextOnly,e.showLines,e.style,(0,v.useMemo)((function(){return""}),[t]));return(0,g.jsx)(g.Fragment,{children:(0,g.jsx)("div",{dangerouslySetInnerHTML:{__html:l}})})},j=t(26801),y=t.n(j),Z=[{title:"粗体",icon:"icon-bold",actionName:"bold"},{title:"斜体",icon:"icon-italic",actionName:"italic"},"|",{title:"无序列表",icon:"icon-unorder-list",actionName:"list-ul"},{title:"有序列表",icon:"icon-order-list",actionName:"list-ol"},"|",{title:"行内代码",icon:"icon-code",actionName:"code"},{title:"代码块(多语言风格)",icon:"icon-file-code",actionName:"code-block"},{title:"链接",icon:"icon-link",actionName:"link"},"|",{title:"行内公式",icon:"icon-sum",actionName:"inline-latex"},{title:"多行公式",icon:"icon-formula",actionName:"latex"},"|",{title:"添加图片",icon:"icon-picture",actionName:"upload-image"},{title:"表格",icon:"icon-table",actionName:"add-table"},"|",{title:"换行",icon:"icon-minus",actionName:"line-break"},{title:"清空",icon:"icon-eraser",actionName:"eraser"}];function _(e){var n=e.onActionCallback,t=e.title,l=e.icon,a=e.actionName,i=e.className,r=void 0===i?"":i,s=e.children;return(0,g.jsxs)("a",{title:t,className:r,onClick:function(){n(a)},children:[(0,g.jsx)("i",{className:"md-iconfont ".concat(l)}),s]})}var w=function(e){var n=e.watch,t=e.showNullButton,l=e.showNullProgramButton,a=e.onActionCallback,i=e.fullScreen,r=e.insertTemp,s=e.hidetoolBar,o=[].concat(Z,[{title:"".concat(n?"关闭实时预览":"开启实时预览"),icon:"".concat(n?"icon-eye-slash":"icon-eye"),actionName:"trigger-watch"}]);return(0,g.jsxs)("ul",{className:"markdown-toolbar-container",children:[!s&&o.map((function(e,n){return(0,g.jsx)("li",{children:e.actionName?(0,g.jsx)(_,y()(y()({},e),{},{onActionCallback:a})):(0,g.jsx)("span",{className:"v-line"})},n)})),t?(0,g.jsx)("li",{children:(0,g.jsx)(_,{icon:"icon-edit insert-blank",className:"btn-null",title:"增加填空",actionName:"add-null-ch",onActionCallback:a,children:(0,g.jsx)("span",{className:"fill-tip",children:"点击插入\b填空项"})})}):null,l?(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("li",{children:(0,g.jsx)(_,{icon:"icon-edit insert-blank",className:"btn-null",title:"增加填空",actionName:"add-signal",onActionCallback:a,children:(0,g.jsx)("span",{className:"fill-tip",children:"添加单行填空项"})})}),(0,g.jsx)("li",{children:(0,g.jsx)(_,{icon:"icon-uniE900 insert-blank",className:"btn-null",title:"增加填空",actionName:"add-multiple",onActionCallback:a,children:(0,g.jsx)("span",{className:"fill-tip",children:"添加多行填空项"})})})]}):null,r&&(0,g.jsx)("li",{children:(0,g.jsx)(_,{icon:"icon-edit",className:"btn-null",title:"插入模板",actionName:"inster-template-".concat(r),onActionCallback:a,children:(0,g.jsx)("span",{className:"fill-tip",children:"插入模板"})})}),(0,g.jsx)("li",{className:"btn-full-screen",children:(0,g.jsx)(_,{icon:"".concat(i?"icon-shrink":"icon-enlarge"),title:i?"关闭全屏":"开启全屏",actionName:"trigger-full-screen",onActionCallback:a})})]})},k=t(90463),C=t(78241),S=t(1056),N=t(3113),I={labelCol:{span:4},wrapperCol:{span:20}},P=function(e){var n=e.callback,t=e.onCancel;return(0,g.jsxs)(C.Z,y()(y()({},I),{},{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:function(e){n(e)},children:[(0,g.jsx)(C.Z.Item,{label:"链接地址",name:"link",rules:[{required:!0,message:"请输入链接地址"}],children:(0,g.jsx)(S.Z,{})}),(0,g.jsx)(C.Z.Item,{label:"链接标题",name:"title",rules:[{required:!0,message:"请输入链接标题"}],children:(0,g.jsx)(S.Z,{})}),(0,g.jsxs)("div",{className:"flex-container flex-end",children:[(0,g.jsx)(N.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,g.jsx)(N.ZP,{type:"ghost",onClick:t,children:"取消"})]})]}))},E=t(74921),A=t(8591),T=t(51811),z=C.Z.useForm,R={width:280,marginRight:10},L={labelCol:{span:5},wrapperCol:{span:19}},M=function(e){var n=e.callback,t=e.onCancel,l=z(),a=u()(l,1)[0],i=(0,v.useRef)();function r(e,n){-1!==e.status?a.setFieldsValue({src:"/api/attachments/".concat(e.id),type:n.type}):A.ZP.error(e.message)}return(0,g.jsxs)(C.Z,y()(y()({form:a},L),{},{className:"upload-image-panel",onFinish:function(e){n(y()(y()({},e),{},{name:i.current}))},style:{width:470,overflow:"hidden"},children:[(0,g.jsx)(C.Z.Item,{label:"图片地址",required:!0,children:(0,g.jsxs)("div",{className:"flex-container",children:[(0,g.jsx)(C.Z.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"请输入文件地址"}],children:(0,g.jsx)(S.Z,{style:R})}),(0,g.jsx)(O,{onFileChange:function(e){var n=e.target.files[0];i.current=n.name,D(n,r)}})]})}),(0,g.jsx)(C.Z.Item,{label:"图片描述",name:"alt",children:(0,g.jsx)(S.Z,{style:{width:264}})}),(0,g.jsxs)(C.Z.Item,{style:{textAlign:"right"},children:[(0,g.jsx)(N.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,g.jsx)(N.ZP,{type:"default",onClick:t,children:"取消"})]})]}))};function O(e){var n=e.onFileChange;return(0,g.jsxs)("label",{className:"upload-button",style:{cursor:"pointer"},children:["本地上传",(0,g.jsx)("input",{type:"file",onChange:n})]})}function D(e,n){if(!e)throw new String("没有文件");var t=new FormData;t.append("editormd-image-file",e),t.append("file_param_name","editormd-image-file"),t.append("byxhr","true");var l=new window.XMLHttpRequest;l.withCredentials=!0,l.addEventListener("load",(function(t){n(JSON.parse(t.target.responseText),e)}),!1),l.addEventListener("error",(function(e){console.error(e)}),!1),l.open("POST","".concat(T.KI,"/api/attachments.json")),l.send(t)}var B,H,F=t(5112),V=t(85731),Y=F.ZP.Group,U={margin:"0 8px"},G=function(e){var n=e.callback,t=e.onCancel;return(0,g.jsxs)(C.Z,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:function(e){n(e)},children:[(0,g.jsxs)("div",{className:"flex-container",style:{alignItems:"baseline"},children:[(0,g.jsx)("span",{style:U,children:"单元格数:"}),(0,g.jsx)("span",{style:U,children:"行数"}),(0,g.jsx)(C.Z.Item,{name:"row",rules:[{required:!0,message:"请输入行数"}],children:(0,g.jsx)(V.Z,{})}),(0,g.jsx)("span",{style:U,children:"列数"}),(0,g.jsx)(C.Z.Item,{name:"col",rules:[{required:!0,message:"请输入列数"}],children:(0,g.jsx)(V.Z,{})})]}),(0,g.jsxs)("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"},children:[(0,g.jsx)("span",{style:U,children:"对齐方式:"}),(0,g.jsx)(C.Z.Item,{name:"align",children:(0,g.jsxs)(Y,{children:[(0,g.jsx)(F.ZP,{value:"default",children:(0,g.jsx)("i",{className:"fa fa-align-justify"})}),(0,g.jsx)(F.ZP,{value:"left",children:(0,g.jsx)("i",{className:"fa fa-align-left"})}),(0,g.jsx)(F.ZP,{value:"center",children:(0,g.jsx)("i",{className:"fa fa-align-center"})}),(0,g.jsx)(F.ZP,{value:"right",children:(0,g.jsx)("i",{className:"fa fa-align-right"})})]})})]}),(0,g.jsxs)("div",{className:"flex-container flex-end",children:[(0,g.jsx)(N.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,g.jsx)(N.ZP,{type:"ghost",onClick:t,children:"取消"})]})]})},K=t(67871),W=t(15830),J=t(1012),q=t(43418),Q="link",X="upload-image",$="code-block",ee="add-table",ne="------------",te={default:ne,left:":".concat(ne),center:":".concat(ne,":"),right:"".concat(ne,":")},le=t(86219);var ae="@▁▁@";function ie(e){return/^\d+$/.test(e)?"".concat(e,"px"):e}var re=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",se=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"],oe=(B={},p()(B,re+"-B","bold"),p()(B,re+"-I","italic"),B),ce=(H={},p()(H,Q,"添加链接"),p()(H,$,"添加代码块"),p()(H,X,"添加文件"),p()(H,ee,"添加表格"),H),ue=function(e){var n=e.defaultValue,t=void 0===n?"":n,l=e.onChange,i=e.width,s=void 0===i?"100%":i,c=e.height,d=void 0===c?400:c,f=e.miniToolbar,j=void 0!==f&&f,y=e.isFocus,Z=void 0!==y&&y,_=e.watch,C=e.insertTemp,S=e.mode,N=void 0===S?"markdown":S,I=e.id,T=void 0===I?"markdown-editor-id":I,z=e.showResizeBar,R=void 0!==z&&z,L=e.noStorage,O=void 0!==L&&L,B=e.showNullButton,H=void 0!==B&&B,F=e.showNullProgramButton,V=void 0!==F&&F,Y=e.hidetoolBar,U=void 0!==Y&&Y,ne=e.fullScreen,re=void 0!==ne&&ne,ue=e.onBlur,de=e.onCMBeforeChange,pe=e.onFullScreen,ve=e.className,fe=void 0===ve?"":ve,me=e.disablePaste,he=void 0!==me&&me,xe=e.disabled,ge=void 0!==xe&&xe,be=e.disabledFill,je=void 0!==be&&be,ye=e.placeholder,Ze=void 0===ye?"":ye,_e=e.values,we=void 0===_e?"":_e,ke=(0,v.useState)(null),Ce=u()(ke,2),Se=Ce[0],Ne=Ce[1],Ie=(0,v.useState)(t),Pe=u()(Ie,2),Ee=Pe[0],Ae=Pe[1],Te=(0,v.useState)(_),ze=u()(Te,2),Re=ze[0],Le=ze[1],Me=(0,v.useState)(re),Oe=u()(Me,2),De=Oe[0],Be=Oe[1],He=(0,v.useState)(""),Fe=u()(He,2),Ve=Fe[0],Ye=Fe[1],Ue=(0,v.useState)(0),Ge=u()(Ue,2),Ke=Ge[0],We=Ge[1],Je=(0,v.useState)(d),qe=u()(Je,2),Qe=qe[0],Xe=qe[1],$e=(0,v.useState)(!1),en=u()($e,2),nn=(en[0],en[1]),tn=(0,v.useRef)((0,J.Z)()),ln=(0,v.useRef)(!1),an=(0,v.useRef)(),rn=(0,v.useRef)(),sn=(0,v.useRef)(),on=(0,v.useRef)(),cn=(0,v.useRef)(),un=function(){var e=o()(r()().mark((function e(){var n,t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,W.ZP)("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:tn.current}});case 2:null!=(t=e.sent)&&null!==(n=t.attachments)&&void 0!==n&&n.length&&(console.log("cm:",Se,rn),t.attachments.map((function(e){e.content_type.indexOf("image")>-1?Se.replaceSelection(".concat(e.content_type,")")):e.content_type.indexOf("video")>-1?Se.replaceSelection('<video width="100%" controls src="'.concat(K.Z.API_SERVER,"/api/attachments/").concat(data.id,'"></video>')):e.content_type.indexOf("pdf")>-1?Se.replaceSelection('<a href="'.concat(K.Z.API_SERVER,"/api/attachments/").concat(e.id,"?type=").concat(e.content_type,'&disposition=inline" target="_blank">').concat(e.name,"</a>")):Se.replaceSelection("[".concat(e.name,"](").concat(K.Z.API_SERVER,"/api/attachments/").concat(e.id,"?type=").concat(e.content_type,")"))})));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,v.useEffect)((function(){var e=window.scrollY||window.pageYOffset;Ae(we),null==Se||Se.setValue(we),window.scrollTo(0,e)}),[we]),(0,v.useEffect)((function(){null==pe||pe(De)}),[De]),(0,v.useEffect)((function(){if(rn.current){var e=function(e,t){if(!he){var l=t.clipboardData;if(l){var a=l.types.toString(),i=l.items;if("Files"===a||l.types.indexOf("Files")>-1){if(t.preventDefault(),"stex"==N)return;try{var r,s=i[1];"file"===(null===(r=i[0])||void 0===r?void 0:r.kind)&&(s=i[0]);var o=s.getAsFile(),c=o.name.split(".").pop();D(o,(function(e){var t,l,a;e.id?(null==o||null===(t=o.type)||void 0===t?void 0:t.indexOf("image"))>-1?n.replaceSelection(".concat(e.content_type,")")):(null==o||null===(l=o.type)||void 0===l?void 0:l.indexOf("video"))>-1?n.replaceSelection('<video width="100%" controls src="'.concat(K.Z.API_SERVER,"/api/attachments/").concat(e.id,'"></video>')):(null==o||null===(a=o.type)||void 0===a?void 0:a.indexOf("pdf"))>-1?n.replaceSelection('<a href="'.concat(K.Z.API_SERVER,"/api/attachments/").concat(e.id,"?type=").concat(o.type,'&disposition=inline" target="_blank">').concat(o.name,"</a>")):se.includes(c)?n.replaceSelection('<a href="'.concat(K.Z.API_SERVER,"/api/attachments/").concat(e.id,'?type=office&disposition=inline" target="_blank">').concat(o.name,"</a>")):n.replaceSelection("[".concat(o.name,"](").concat(K.Z.API_SERVER,"/api/attachments/").concat(e.id,"?type=").concat(e.content_type,")")):401===(null==e?void 0:e.status)&&(document.location.href="/user/login")}))}catch(t){A.ZP.warning("请使用chrome浏览器粘贴")}return!0}return!0}return!0}t.preventDefault()},n=m().fromTextArea(rn.current,{mode:N,lineNumbers:!j,lineWrapping:!0,value:t,autoCloseTags:!V,autoCloseBrackets:!0});return n.on("keyup",(function(e,t){8===t.keyCode&&(""==e.getValue()?n.setOption("placeholder",Ze):n.setOption("placeholder",null))})),n.on("keydown",(function(e,n){if(8===n.keyCode){var t=function(e,n){var t=e.getDoc(),l=t.getCursor(),a=t.getLine(l.line),i=a.charAt(l.ch-1),r=a.lastIndexOf("@▁@",l.ch),s=a.lastIndexOf("@▁▁@",l.ch),o=r>s?r:s,c=r>s?3:4;if(-1===ae.indexOf(i))return null;if(console.log("change1:",n,e,a,l,o,r,s,i),o>=0&&l.ch-o<5){var u=o+c;return t.replaceRange("",{line:l.line,ch:o},{line:l.line,ch:u}),{line:l.line,ch:u}}return null}(e);t&&n.preventDefault()}})),Z&&n.focus(),n.on("paste",e),n.on("dragleave",(function(e,n){sn.current.classList.remove("mouse-hover-md")})),n.on("dragover",(function(e,n){sn.current.classList.add("mouse-hover-md")})),n.on("drop",(function(e,t){var l;if(sn.current.classList.add("mouse-hover-md"),(l=t.dataTransfer.files).length>0){t.preventDefault(),t.stopPropagation();for(var a=function(){var e=l[i],t=e.name.split(".").pop();D(e,(function(l){var a,i,r;l.id?(null==e||null===(a=e.type)||void 0===a?void 0:a.indexOf("image"))>-1?n.replaceSelection(".concat(l.content_type,")")):(null==e||null===(i=e.type)||void 0===i?void 0:i.indexOf("video"))>-1?n.replaceSelection('<video width="100%" controls src="'.concat(K.Z.API_SERVER,"/api/attachments/").concat(l.id,'"></video>')):(null==e||null===(r=e.type)||void 0===r?void 0:r.indexOf("pdf"))>-1?n.replaceSelection('<a href="'.concat(K.Z.API_SERVER,"/api/attachments/").concat(l.id,"?type=").concat(e.type,'&disposition=inline" target="_blank">').concat(e.name,"</a>")):se.includes(t)?n.replaceSelection('<a href="'.concat(K.Z.API_SERVER,"/api/attachments/").concat(l.id,'?type=office&disposition=inline" target="_blank">').concat(e.name,"</a>")):n.replaceSelection("[".concat(e.name,"](").concat(K.Z.API_SERVER,"/api/attachments/").concat(l.id,"?type=").concat(l.content_type,")")):401===(null==l?void 0:l.status)&&(document.location.href="/user/login")}))},i=0;i<l.length;i++)a()}})),ge&&n.on("beforeChange",(function(e,n){"paste"!==n.origin&&"+input"!==n.origin||n.cancel()})),Ne(n),function(){n.off("paste",e)}}}),[]);var dn=(0,v.useCallback)((function(){sn.current}),[Qe,sn,De]);(0,v.useEffect)((function(){if(Se){var e=function(){var e=new h.Z((function(e){var n,t=a()(e);try{for(t.s();!(n=t.n()).done;){var l=n.value;(l.target.offsetHeight>0||l.target.offsetWidth>0)&&(dn(),Se.setSize("100%","100%"),Se.refresh())}}catch(e){t.e(e)}finally{t.f()}}));return e.observe(rn.current.parentElement),e}();return function(){var n,t;null!==(n=rn.current)&&void 0!==n&&n.parentElement&&e.unobserve(null===(t=rn.current)||void 0===t?void 0:t.parentElement)}}}),[Se,dn]),(0,v.useEffect)((function(){if(Se){for(var e=[],n=function(){var n=u()(l[t],2),a=n[0],i=n[1],r=p()({},a,(function(){pn(i)}));e.push(r),Se.addKeyMap(r)},t=0,l=Object.entries(oe);t<l.length;t++)n();return an.current=setInterval((function(){ln.current&&un()}),4e3),function(){clearInterval(an.current);for(var n=0,t=e;n<t.length;n++){var l=t[n];Se.removeKeyMap(l)}}}}),[Se]),(0,v.useEffect)((function(){re!==De&&Be(re)}),[re]),(0,le.Z)((function(){if(!O&&Ke>0){var e=(new Date).getTime(),n=window.sessionStorage.getItem(T);e>=Ke+1e4&&(!n||n!==Ee)&&(window.sessionStorage.setItem(T,Ee),nn(!0))}}),1e4),(0,v.useEffect)((function(){Le(_)}),[Se,_]),(0,v.useEffect)((function(){Se&&Z&&Se.focus()}),[Se,Z]),(0,v.useEffect)((function(){if(Re&&Se){var e=function(e){var n=e.target;if(cn.current){var t=n.scrollTop/n.scrollHeight;cn.current.scrollTop=cn.current.scrollHeight*t}},n=Se.getScrollerElement();return n.addEventListener("scroll",e),function(){n.removeEventListener("scroll",e)}}}),[Se,Re]),(0,v.useEffect)((function(){if(Se&&de){var e=function(e,n){de(e,n)};return Se.on("beforeChange",e),function(){Se.off("beforeChange",e)}}}),[Se,de]),(0,v.useEffect)((function(){if(Se&&ue){var e=function(){ue(Se.getValue())};return Se.on("blur",e),function(){Se.off("blur",e)}}}),[Se,ue]),(0,v.useEffect)((function(){if(Se){var e=function(e,n){var t=e.getValue();Ae(t),We((new Date).getTime()),e.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),l&&(V?l(t,xn(t)):l(t))};return Se.on("change",e),function(){Se.off("change",e)}}}),[Se,l]),(0,v.useEffect)((function(){if(Se)if(null==t)Se.setValue(""),Ae("");else{var e=window.scrollY||window.pageYOffset;t!==Se.getValue()&&(Se.setValue(t),Ae(t),Se.setCursor(ge?1:Se.lineCount(),0),window.scrollTo(0,e))}}),[Se,t]);var pn=(0,v.useCallback)((function(e){var n=Se.getCursor(),t=Se.getSelection(),l=t.split("\n");switch(e){case"bold":return Se.replaceSelection("**"+t+"**"),""===t&&Se.setCursor(n.line,n.ch+2),Se.focus();case"italic":return Se.replaceSelection("*"+t+"*"),""===t&&Se.setCursor(n.line,n.ch+1),Se.focus();case"code":return Se.replaceSelection("`"+t+"`"),""===t&&Se.setCursor(n.line,n.ch+1),Se.focus();case"inline-latex":return Se.replaceSelection("`$$"+t+"$$`"),""===t&&Se.setCursor(n.line,n.ch+3),Se.focus();case"latex":return Se.replaceSelection("```latex\n"+t+"\n```"),Se.setCursor(n.line+1,t.length+1),Se.focus();case"line-break":return Se.replaceSelection("<br/>\n"),Se.focus();case"list-ul":return""===t?Se.replaceSelection("- "+t):Se.replaceSelection(l.map((function(e){return""===e?"":"- ".concat(e)})).join("\n")),Se.focus();case"list-ol":return""===t?Se.replaceSelection("1. "+t):Se.replaceSelection(l.map((function(e,n){return""===e?"":"".concat(n+1,". ").concat(e)})).join("\n")),Se.focus();case"add-null-ch":return""===t&&Se.setCursor(n.line,n.ch),Se.replaceSelection("▁"),Se.focus();case"add-signal":return""===t&&Se.setCursor(n.line,n.ch),Se.replaceSelection("@▁@"),Se.focus();case"add-multiple":return""===t&&Se.setCursor(n.line,n.ch),Se.replaceSelection(ae),Se.focus();case"inster-template-1":return""===t&&Se.setCursor(n.line,n.ch),Se.replaceSelection("\n**模板标题**\n模板正文内容,可输入文本内容和粘贴图片等操作"),Se.focus();case"eraser":return Se.setValue(""),Se.focus();case"trigger-watch":return Le(!Re),Se.focus();case"trigger-full-screen":return Be(!De),Se.focus();case Q:return void Ye(Q);case $:return void Ye($);case X:return void Ye(X);case ee:return void Ye(ee);default:throw new Error}}),[Se,Re,De]),vn=(0,v.useCallback)((function(e){switch(Ye(""),Ve){case Q:var n=e.title,t=e.link;return Se.replaceSelection("[".concat(n,"](").concat(t,")")),Se.focus();case $:var l=e.language,a=e.content;return Se.replaceSelection(["```"+l,a,"```"].join("\n")),Se.focus();case X:var i=e.src,r=e.alt;return r?Se.replaceSelection(".concat(i,' "').concat(r,'" )')):Se.replaceSelection("")),Se.focus();case ee:for(var s=e.row,o=e.col,c=e.align,u="\n",d=0;d<s;d++){for(var p=[],v=[],f=0;f<o;f++)1===d&&v.push(te[c]),p.push(" ");1===d&&(u+="| ".concat(v.join(" | ")," |\n")),u+="| ".concat(p.join(1===o?"":" | ")," |\n")}return Se.replaceSelection(u+"\n"),Se.focus();default:throw new Error}}),[Se,Ve]),fn=(0,v.useMemo)((function(){switch(Ve){case Q:return(0,g.jsx)(P,{callback:vn,onCancel:mn});case $:return(0,g.jsx)(E.Z,{callback:vn,onCancel:mn});case X:return(0,g.jsx)(M,{callback:vn,onCancel:mn});case ee:return(0,g.jsx)(G,{callback:vn,onCancel:mn});default:return null}}),[Ve]);function mn(){Ye("")}(0,v.useEffect)((function(){if(on.current){var e=function(e){a=!0,i=e.pageY},n=function(){a=!1},t=function(e){if(a){var n=e.pageY-i;n<0&&(n=0),n>300&&(n=300),Xe(d+n+"px")}},l=on.current,a=!1,i=0;return l.addEventListener("mousedown",e),document.addEventListener("mousemove",t),document.addEventListener("mouseup",n),function(){l.removeEventListener("mousedown",e),document.removeEventListener("mousemove",t),document.removeEventListener("mouseup",n)}}}),[Se,on]),(0,v.useEffect)((function(){Xe(d)}),[d]);var hn={width:ie(s),height:ie(Qe)},xn=((0,v.useMemo)((function(){if(Ke){var e=new Date(Ke),n=e.getHours(),t=e.getMinutes(),l=e.getSeconds();return t=t<10?"0"+t:t,l=l<10?"0"+l:l,"".concat(n=n<10?"0"+n:n,":").concat(t,":").concat(l)}return 0}),[Ke]),function(e){var n=[];if(V){e=e.replace(/(@▁▁@|@▁@)/g,(function(e,t,l){n.push({multiLine:!("@▁@"===e)})}))}return n});return(0,g.jsxs)(v.Fragment,{children:[(0,g.jsx)("div",{className:"markdown-editor-wrapper",ref:sn,children:(0,g.jsxs)("div",{className:"markdown-editor-container ".concat(fe," ").concat(Re?"on-preview":""," ").concat(j?"mini":""," ").concat(De?"full-screen":""),style:hn,children:[(0,g.jsx)(w,{insertTemp:C,watch:Re,fullScreen:De,showNullButton:H,showNullProgramButton:V,onActionCallback:pn,hidetoolBar:U,uuid:tn.current,setOpenPhones:function(){ln.current=!0}}),(0,g.jsxs)("div",{className:"markdown-editor-body",children:[(0,g.jsx)("div",{className:"codemirror-container",children:(0,g.jsx)("textarea",{ref:rn,placeholder:Ze})}),Re?(0,g.jsxs)("div",{ref:cn,className:"preview-container",children:["stex"===N&&(0,g.jsx)(b,{value:Ee}),"stex"!==N&&(0,g.jsx)(x.Z,{disabledFill:je,showProgramFill:V,value:Ee})]}):null]})]})}),R?(0,g.jsx)("a",{ref:on,className:"editor-resize"}):null,(0,g.jsx)(k.Z,{children:ce[Ve]?(0,g.jsx)(q.Z,{centered:!0,title:ce[Ve],open:!0,onCancel:mn,footer:null,className:"markdown-popup-form",children:fn}):null})]})}},90463:function(e,n,t){"use strict";t.d(n,{Z:function(){return v}});var l=t(94312),a=t.n(l),i=t(24127),r=t.n(i),s=t(93242),o=t.n(s),c=t(10564),u=t.n(c),d=t(59301),p=t(4676),v=function(e){o()(t,e);var n=u()(t);function t(e){var l;a()(this,t),l=n.call(this,e);var i=window.document;return l.node=i.createElement("div"),i.body.appendChild(l.node),l}return r()(t,[{key:"render",value:function(){var e=this.props.children;return(0,p.createPortal)(e,this.node)}},{key:"componentWillUnmount",value:function(){window.document.body.removeChild(this.node)}}]),t}(d.Component)},86219:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}});var l=t(59301);function a(e,n){var t=(0,l.useRef)();(0,l.useEffect)((function(){t.current=e})),(0,l.useEffect)((function(){if(null!==n){var e=setInterval((function(){t.current()}),n);return function(){return clearInterval(e)}}}),[n])}},5806:function(e,n,t){"use strict";t.d(n,{Z:function(){return Me}});var l=t(27223),a=t.n(l),i=t(11006),r=t.n(i),s=t(59301),o=t(22211),c=t(5112),u=t(10574),d=t.n(u),p=t(39343),v=t.n(p),f=t(54278),m=t(6848),h=t(72315),x=t(95237),g=t(43604),b=t(68903),j=t(67871),y=t(97598),Z=t(37712);var _=function(e){var n,t,l,a,i,c,u,p=e.Prize,_=(0,o.useParams)(),w=(0,s.useState)([{type:1,name:"团体奖证书"},{type:2,name:"个人奖证书"},{type:3,name:"优秀指导教师证书"}]),k=r()(w,2),C=k[0],S=(k[1],function(){var e=v()(d()().mark((function e(n){var t;return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,b.Ju)({type:n.type,id:_.identifier});case 2:0===(null==(t=e.sent)?void 0:t.status)&&(location.href="/competitions/exports?id=".concat(_.identifier,"&type=").concat(n.type));case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()),N=[{title:"角色",dataIndex:"role",align:"center",width:80,render:function(e){return(0,Z.jsx)(m.Z,{placement:"topLeft",title:e,children:e||"--"})}},{title:"姓名",dataIndex:"name",width:100,render:function(e){return(0,Z.jsx)(m.Z,{placement:"topLeft",title:e,children:e||"--"})}},{title:"实名认证",width:100,dataIndex:"real_name_auth",render:function(e){return"authed"===e?"已认证":"authing"===e?"待审核":"未认证"}},{title:"职业认证",width:100,dataIndex:"professional_auth",render:function(e){return"authed"===e?"已认证":"authing"===e?"待审核":"未认证"}},{title:"手机号",dataIndex:"phone_binded",width:100,render:function(e){return e?"已绑定":"未绑定"}},{title:"邮箱号",dataIndex:"email_binded",width:100,render:function(e){return e?"已绑定":"未绑定"}},{title:"开户行及银行卡号信息(队长填写)",dataIndex:"role",align:"center",render:function(e,n){var t,l,a;return"队长"===(null==n?void 0:n.role)?(0,Z.jsxs)("span",{style:{width:"50%",textAlign:"center"},children:[(null==p?void 0:p.teams)&&(null==p||null===(t=p.teams[0])||void 0===t||null===(t=t.bank_account)||void 0===t?void 0:t.bank),(null==p?void 0:p.teams)&&(null==p||null===(l=p.teams[0])||void 0===l||null===(l=l.bank_account)||void 0===l?void 0:l.second_bank),(null==p?void 0:p.teams)&&(null==p||null===(a=p.teams[0])||void 0===a||null===(a=a.bank_account)||void 0===a?void 0:a.card_no)]}):"--"}}];return(0,Z.jsxs)("div",{children:[(0,Z.jsx)("p",{className:f.Z.downloadpdf,children:"温馨提示:填写的个人信息经审批后,将提供个人获奖证书下载;团队队员信息全部审批后,将提供团队获奖证书下载。"}),(0,Z.jsx)("p",{style:{marginTop:"30px",fontSize:"14px",color:"#232B40",fontWeight:"600"},children:"证书情况"}),(null==p||null===(n=p.personal_certifications)||void 0===n?void 0:n.length)>0?(0,Z.jsxs)("p",{children:[(0,Z.jsx)("span",{children:"个人证书:"}),(0,Z.jsx)("img",{src:j.Z.IMG_SERVER+"/images/educoder/pdfs.png"}),(0,Z.jsx)("a",{style:{marginLeft:"5px"},href:j.Z.API_SERVER+"".concat(null==p||null===(t=p.personal_certifications[0])||void 0===t?void 0:t.url),children:"立即下载"})]}):(0,Z.jsxs)("p",{children:[(0,Z.jsxs)("span",{children:["个人证书:",(0,Z.jsx)("span",{style:{color:"#000"},children:"暂未生成"})]}),(0,Z.jsx)("span",{className:"c-red",style:{marginLeft:"20px"},children:"原因:组委会未完成证书审批,请稍后"})]}),(null==p||null===(l=p.team_certifications)||void 0===l?void 0:l.length)>0?(0,Z.jsxs)("p",{children:[(0,Z.jsx)("span",{children:"团队证书:"}),(0,Z.jsx)("img",{src:j.Z.IMG_SERVER+"/images/educoder/pdfs.png"}),(0,Z.jsx)("a",{style:{marginLeft:"5px"},href:j.Z.API_SERVER+"".concat(null==p||null===(a=p.team_certifications[0])||void 0===a?void 0:a.url),children:"立即下载"})]}):(0,Z.jsx)("p",{children:(0,Z.jsxs)("span",{children:["团队证书:",(0,Z.jsx)("span",{style:{color:"#000"},children:"暂未生成"})]})}),(null==p||null===(i=p.teams)||void 0===i?void 0:i.length)>0&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)("p",{children:[(null==p?void 0:p.teams)&&(null==p||null===(c=p.teams[0])||void 0===c?void 0:c.name),"战队信息填报概况"]}),(0,Z.jsx)(h.Z,{columns:N,dataSource:null==p||null===(u=p.teams[0])||void 0===u?void 0:u.team_members,pagination:!1})]}),(0,Z.jsx)(x.Z,{style:{marginTop:"20px"},gutter:[20,20],children:C.map((function(e,n){return(0,Z.jsx)(g.Z,{children:(0,Z.jsx)(y.Z,{icon:(0,Z.jsx)("i",{className:"iconfont icon-xiazai5",style:{marginRight:"6px"}}),className:f.Z.pdfBut,onClick:v()(d()().mark((function n(){return d()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,S(e);case 2:return n.abrupt("return",n.sent);case 3:case"end":return n.stop()}}),n)}))),children:e.name})},n)}))})]})},w=t(26801),k=t.n(w),C=t(27161),S=t.n(C),N=t(48826),I=t(78241),P=t(8591),E=t(43418),A=t(71418),T=t(1056),z=t(3113),R=t(85578),L=t(98814),M="modal___A9Ovz",O="formWrap___wRvaA",D="flexRow___C40dc",B="flexColumn___LkZfj",H="example___bz7Hw",F="exampleImg___gNkC_",V="colorOrange___Ka6zf",Y="uploader___plQRr",U="uploadImg___cjOpL",G="imageTip___p1_lZ",K="uploadTipIcon___SpsS2",W="uploadTip___e9JlL",J="color05101a___CDEUv",q="viewLargerImg___IclRX",Q="footerWrap___beWC6",X="note___CXi9y",$="schoolHintWrap___Ma6ly",ee="colorCDCDCD___D0UWo",ne="color0152d9___hF3Bb",te=["user","account","globalSetting","loading","dispatch"],le=N.Z.Dragger,ae=(0,o.connect)((function(e){var n=e.user,t=e.account,l=e.loading;return{user:n,account:t,globalSetting:e.globalSetting,loading:l.effects}}))((function(e){var n=e.user,t=e.account,l=(e.globalSetting,e.loading),a=e.dispatch,i=(S()(e,te),I.Z.useForm()),o=r()(i,1)[0],u=(0,s.useState)({}),p=r()(u,2),f=(p[0],p[1]),m=(0,s.useState)(!0),h=r()(m,2),x=h[0],g=h[1],b=(0,s.useState)(),y=r()(b,2),_=y[0],w=y[1],C=(0,s.useState)(),N=r()(C,2),M=N[0],$=N[1],ee=(0,s.useState)(),ae=r()(ee,2),ie=ae[0],re=ae[1],se=(0,s.useState)(),oe=r()(se,2),ce=oe[0],ue=oe[1];(0,s.useEffect)((function(){if(t.basicInfo){var e=t.basicInfo,n={name:e.show_realname?e.name:(0,R.YA)(e.name),gender:e.gender};w(e.name),g(e.show_realname),o.setFieldsValue(n),f(n)}}),[t.basicInfo]);var de=function(){var e=v()(d()().mark((function e(l){var i,r,s,o,c,u,p,v;return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=(s=l||{}).name,c=s.gender,u=s.idNumber,M){e.next=4;break}return P.ZP.info("请先上传照片!"),e.abrupt("return");case 4:return e.next=6,a({type:"account/applyRealNameAuth",payload:{id:(null===(i=t.basicInfo)||void 0===i?void 0:i.id)||(null===(r=n.userInfo)||void 0===r?void 0:r.login),name:o,gender:c,id_number:u,show_realname:x,attachment_ids:[ie]}});case 6:p=e.sent,pe(),p&&(P.ZP.info("申请已提交,请等待审核!"),a({type:"account/getBasicInfo",payload:{login:null===(v=n.userInfo)||void 0===v?void 0:v.login}}));case 9:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),pe=function(){a({type:"account/setActionTabs",payload:{}})},ve={data:{type:"real_name"},multiple:!0,showUploadList:!1,action:"".concat(j.Z.API_SERVER,"/api/attachments.json"),className:Y,onChange:function(e){var n;"uploading"!==e.file.status?"done"===e.file.status&&(console.log(e.file,e.file.response),re(null===(n=e.file.response)||void 0===n?void 0:n.id),(0,R.y3)(e.file.originFileObj,(function(e){$(e),ue(!1)}))):ue(!0)},beforeUpload:function(e){var n="image/jpeg"===e.type||"image/png"===e.type||"image/jpg"===e.type||"image/bmp"===e.type;return n||P.ZP.info("请上传正确文件格式"),n}};return(0,Z.jsx)(E.Z,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:"Account-RealNameAuth"===t.actionTabs.key,title:"修改实名信息",width:"600px",footer:null,children:(0,Z.jsx)(A.Z,{spinning:!!ce,children:(0,Z.jsxs)(I.Z,{className:O,form:o,layout:"horizontal",onValuesChange:function(e){f(k()({},o.getFieldsValue())),"name"in e&&w(e.name)},onFinish:de,children:[(0,Z.jsx)(I.Z.Item,{label:"姓名",name:"name",labelCol:{span:3},wrapperCol:{span:12},rules:[{required:!0,message:"请输入真实姓名,最大限制".concat(10,"个字符")},{validator:R.HJ}],extra:(0,Z.jsx)("span",{children:x?"(显示:平台将显示您的真实姓名)":"(隐藏:平台将显示你的昵称)"}),children:(0,Z.jsx)(T.Z,{disabled:!x,placeholder:"请输入真实姓名,最大限制".concat(10,"个字符"),maxLength:10,addonAfter:(0,Z.jsx)("i",{className:"iconfont ".concat(x?"icon-xianshi":"icon-yincang"," font18 ").concat(ne),onClick:function(){var e=!x;g(e);var n=e?_:(0,R.YA)(_);o.setFieldsValue({name:n})}})})}),(0,Z.jsx)(I.Z.Item,{label:"性别:",name:"gender",labelCol:{span:3},wrapperCol:{span:12},rules:[{required:!0,message:"请选择性别"}],children:(0,Z.jsxs)(c.ZP.Group,{children:[(0,Z.jsx)(c.ZP,{value:0,children:"男"}),(0,Z.jsx)(c.ZP,{value:1,children:"女"})]})}),(0,Z.jsx)(I.Z.Item,{label:"证件号:",labelCol:{span:3},name:"idNumber",rules:[{required:!0,message:"请输入证件号"}],children:(0,Z.jsx)(T.Z,{placeholder:"请输入证件号"})}),(0,Z.jsx)(I.Z.Item,{label:"身份证上传",labelCol:{span:3},children:(0,Z.jsxs)("div",{className:D,children:[(0,Z.jsxs)("div",{className:"".concat(B," ").concat(H),children:[(0,Z.jsx)("span",{className:F,children:(0,Z.jsx)("img",{src:L})}),(0,Z.jsxs)("span",{className:"tc",children:[(0,Z.jsx)("p",{children:"示例图片"}),(0,Z.jsx)("p",{className:"".concat(V," font12"),children:"(png/jpg/bmp格式,不超过2MB)"})]})]}),(0,Z.jsxs)("div",{className:B,children:[(0,Z.jsx)(le,k()(k()({},ve),{},{accept:".png,.jpg,.bmp,.jpeg",children:M?(0,Z.jsx)("img",{src:M,className:U}):(0,Z.jsxs)("div",{className:G,children:[(0,Z.jsx)("p",{children:(0,Z.jsx)("i",{className:"iconfont icon-cuban2shangchuanyunduan ".concat(K)})}),(0,Z.jsx)("p",{className:W,children:(0,Z.jsx)("a",{className:J,children:"点击或拖拽上传图片"})})]})})),(0,Z.jsx)("span",{className:"tc",children:(0,Z.jsx)("p",{className:q,children:"查看大图"})})]})]})}),(0,Z.jsx)("div",{className:Q,children:(0,Z.jsxs)(I.Z.Item,{children:[(0,Z.jsx)(z.ZP,{className:"mr5",size:"middle",onClick:pe,children:"取消"}),(0,Z.jsx)(z.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:l["account/applyRealNameAuth"],children:"保存"})]})}),(0,Z.jsxs)("div",{className:X,children:[(0,Z.jsx)("p",{children:"认证须知:"}),(0,Z.jsx)("p",{children:"1.你需要准备有效的身份证正面(人像面)的证件照照片,请确保证件照片清晰可见,严禁PS;"}),(0,Z.jsx)("p",{children:"2.我们将在你提交认证信息后的24小时(不包含节假日)内完成审核,审核结果将会以系统消息的形式发送给你;"}),(0,Z.jsx)("p",{children:"3.实名认证审核完成后,无法删除,请谨慎填写;"}),(0,Z.jsx)("p",{children:"4.实名认证审核完成后,系统将自动发放500个金币作为奖励;"}),(0,Z.jsx)("p",{children:"5.我们会确保你所提供的信息均处于严格的保密状态,不会泄露;"}),(0,Z.jsx)("p",{children:"6.如存在恶意乱填写姓名,证件号,及上传与实名认证证件无关图片者,一经发现将冻结EduCoder账号。"}),(0,Z.jsx)("p",{children:"7.提交实名认证后系统会自动将状态改为已认证,你将可以体验平台需要实名认证的功能;如果在认证后的使用过程中未通过审核,你将不能继续体验需要认证的功能。"})]})]})})})})),ie=t(57809),re=t(88522),se=t(51941),oe="formWrap___mGWio",ce="footerWrap___qcHQ4",ue=["account","globalSetting","loading","dispatch","schoolName","departmentName","visible","onClose","onSuccess"],de=T.Z.TextArea,pe=(0,o.connect)((function(e){var n=e.account,t=e.loading;return{account:n,globalSetting:e.globalSetting,loading:t.effects}}))((function(e){e.account,e.globalSetting;var n=e.loading,t=e.dispatch,l=e.schoolName,a=e.departmentName,i=e.visible,o=e.onClose,c=void 0===o?function(){}:o,u=e.onSuccess,p=void 0===u?function(){}:u,f=S()(e,ue),m=I.Z.useForm(),h=r()(m,1)[0],x=(0,s.useRef)();(0,s.useEffect)((function(){x.current=f.schoolId}),[f.schoolId]),(0,s.useEffect)((function(){h.setFieldsValue({department:a})}),[a]);var g=function(){var e=v()(d()().mark((function e(n){var l,a,i,r;return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=(l=n||{}).department,i=l.remarks,e.next=3,t({type:"account/appplyDepartment",payload:{school_id:x.current,name:a,remarks:i}});case 3:r=e.sent,c(),r&&(P.ZP.success("新增院系/部门成功!"),p(a));case 6:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,Z.jsx)(E.Z,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:i,title:"申请添加子单位名称",width:"600px",footer:null,children:(0,Z.jsxs)(I.Z,{className:oe,form:h,labelCol:{span:4},wrapperCol:{span:20},onFinish:g,children:[(0,Z.jsx)(I.Z.Item,{label:"单位名称:",children:l}),(0,Z.jsx)(I.Z.Item,{label:"部门名称:",name:"department",rules:[{required:!0,message:"请输入部门或者学院名称"}],children:(0,Z.jsx)(T.Z,{placeholder:"请输入部门或者学院名称"})}),(0,Z.jsx)(I.Z.Item,{label:"说明:",name:"remarks",children:(0,Z.jsx)(de,{placeholder:"再次说明特别情况(选填)"})}),(0,Z.jsx)("div",{className:ce,children:(0,Z.jsxs)(I.Z.Item,{children:[(0,Z.jsx)(z.ZP,{className:"mr5",size:"middle",onClick:function(){c()},children:"取消"}),(0,Z.jsx)(z.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:n["account/appplyDepartment"],children:"保存"})]})})]})})})),ve=t(19842),fe=t(95934),me=t(48796),he=t(3567),xe="flexRow___jGYtM",ge="flexColumn___NPMB3",be="formWrap___vwH9N",je="example____BmJC",ye="footerWrap___lp1L0",Ze=["account","globalSetting","loading","dispatch","schoolName","visible","onClose","onSuccess"],_e=function(e,n){return n.some((function(n){return n.label.toLowerCase().indexOf(e.toLowerCase())>-1}))},we=T.Z.TextArea,ke=(0,o.connect)((function(e){var n=e.account,t=e.loading;return{account:n,globalSetting:e.globalSetting,loading:t.effects}}))((function(e){e.account,e.globalSetting;var n=e.loading,t=e.dispatch,l=e.schoolName,a=e.visible,i=e.onClose,o=void 0===i?function(){}:i,c=e.onSuccess,u=void 0===c?function(){}:c,p=(S()(e,Ze),I.Z.useForm()),f=r()(p,1)[0];(0,s.useEffect)((function(){f.setFieldsValue({name:l})}),[l]);var m=function(){var e=v()(d()().mark((function e(n){var l,a,i,r,s,c,p;return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=(l=n||{}).name,i=l.city,r=void 0===i?[]:i,s=l.address,c=l.remarks,e.next=3,t({type:"account/appplySchool",payload:{name:a,province:r[0],city:r[1],address:s,remarks:c}});case 3:p=e.sent,o(),p&&(P.ZP.success("新增学校/单位成功!"),u(a));case 6:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,Z.jsx)(E.Z,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:a,title:"申请添加单位名称",width:"600px",footer:null,children:(0,Z.jsxs)(I.Z,{className:be,form:f,labelCol:{span:4},wrapperCol:{span:20},onFinish:m,children:[(0,Z.jsx)(I.Z.Item,{label:"单位全称:",name:"name",rules:[{required:!0,message:"请输入学校或工作单位"}],children:(0,Z.jsx)(T.Z,{placeholder:"学校或工作单位"})}),(0,Z.jsxs)("div",{className:"".concat(xe," ").concat(je),children:[(0,Z.jsx)("div",{children:"示例:"}),(0,Z.jsxs)("div",{className:ge,children:[(0,Z.jsxs)("div",{children:[(0,Z.jsx)(fe.Z,{style:{color:"rgb(82, 196, 26)"}}),(0,Z.jsx)("span",{className:"font14 ml5",children:"正确示例:数据结构"})]}),(0,Z.jsxs)("div",{children:[(0,Z.jsx)(me.Z,{style:{color:"red"}}),(0,Z.jsx)("span",{className:"font14 ml5",children:"错误示例:数据结构2019春"})]})]})]}),(0,Z.jsx)(I.Z.Item,{label:"地区:",name:"city",children:(0,Z.jsx)(ve.Z,{allowClear:!0,size:"middle",options:he.P,placeholder:"请选择所在地",showSearch:{matchInputWidth:!0,filter:_e}})}),(0,Z.jsx)(I.Z.Item,{label:"详细地址:",name:"address",children:(0,Z.jsx)(T.Z,{placeholder:"请填写完整的地址信息"})}),(0,Z.jsx)(I.Z.Item,{label:"说明:",name:"remarks",children:(0,Z.jsx)(we,{placeholder:"再次说明特别情况(选填)"})}),(0,Z.jsx)("div",{className:ye,children:(0,Z.jsxs)(I.Z.Item,{children:[(0,Z.jsx)(z.ZP,{className:"mr5",size:"middle",onClick:function(){o()},children:"取消"}),(0,Z.jsx)(z.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:n["account/appplySchool"],children:"保存"})]})})]})})})),Ce=["user","account","globalSetting","loading","dispatch","Scoid"],Se=ie.default.Option,Ne=N.Z.Dragger,Ie=(0,o.connect)((function(e){var n=e.user,t=e.account,l=e.loading;return{user:n,account:t,globalSetting:e.globalSetting,loading:l.effects}}))((function(e){var n,t,l=e.user,a=e.account,i=e.globalSetting,o=e.loading,c=e.dispatch,u=e.Scoid,p=(S()(e,Ce),I.Z.useForm()),f=r()(p,1)[0],m=(0,s.useState)({}),h=r()(m,2),b=h[0],y=h[1],_=(0,s.useState)([]),w=r()(_,2),C=w[0],N=w[1],L=(0,s.useState)([]),te=r()(L,2),le=te[0],ae=te[1],oe=(0,s.useState)([]),ce=r()(oe,2),ue=ce[0],de=ce[1],ve=(0,s.useState)([]),fe=r()(ve,2),me=fe[0],he=fe[1],xe=(0,s.useState)(),ge=r()(xe,2),be=ge[0],je=ge[1],ye=(0,s.useState)(),Ze=r()(ye,2),_e=Ze[0],we=Ze[1],Ie=(0,s.useState)(),Pe=r()(Ie,2),Ee=Pe[0],Ae=Pe[1],Te=(0,s.useState)(),ze=r()(Te,2),Re=ze[0],Le=ze[1],Me=(0,s.useState)(),Oe=r()(Me,2),De=Oe[0],Be=Oe[1];(0,s.useEffect)((function(){He()}),[]),(0,s.useEffect)((function(){v()(d()().mark((function e(){var n;return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Fe(u);case 4:n=e.sent,de(null==n?void 0:n.departments);case 6:case"end":return e.stop()}}),e)})))()}),[u]);var He=function(){var e=v()(d()().mark((function e(){var n;return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,c({type:"account/getSchoolOption"});case 2:n=e.sent,N(null==n?void 0:n.schools);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Fe=function(e){return c({type:"account/getDepartmentOption",payload:{id:e}})};(0,s.useEffect)((function(){if(a.basicInfo){var e=a.basicInfo,n={identity:e.identity,school:e.school_name,department:e.department_name,studentNo:e.student_id,jobTitle:"teacher"==e.identity?e.technical_title:"教授",manager:"professional"==e.identity?e.technical_title:"企业管理者"};f.setFieldsValue(n),y(n)}}),[a.basicInfo]);var Ve=function(){var e=v()(d()().mark((function e(n,t){var l,a,i,r,s;return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=null===(l=C.find((function(e){return e.name===n})))||void 0===l?void 0:l.id,e.next=3,Fe(i);case 3:if(e.t0=e.sent,e.t0){e.next=6;break}e.t0={};case 6:r=e.t0,de(null==r?void 0:r.departments),s=t||(null==r||null===(a=r.departments)||void 0===a||null===(a=a[0])||void 0===a?void 0:a.name),f.setFieldsValue({department:s}),y(k()(k()({},b),{school:n,department:s}));case 11:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),Ye=function(){var e=v()(d()().mark((function e(n){return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,He();case 2:f.setFieldsValue({school:n,department:""}),y(k()(k()({},b),{school:n,department:""}));case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),Ue=function(){var e=v()(d()().mark((function e(n){var t,i,r,s,o,u,p,v,f,m,h,x,g,b,j,y;return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u=(o=n||{}).school,p=o.department,v=o.identity,f=o.studentNo,m=o.jobTitle,h=o.manager,be){e.next=4;break}return P.ZP.info("请先上传照片!"),e.abrupt("return");case 4:return x=null===(t=C.find((function(e){return e.name===u})))||void 0===t?void 0:t.id,g=null===(i=ue.find((function(e){return e.name===p})))||void 0===i?void 0:i.id,b="student"===v?f:"teacher"===v?m:h,e.next=9,c({type:"account/applyProfessionalAuth",payload:{id:(null===(r=a.basicInfo)||void 0===r?void 0:r.id)||(null===(s=l.userInfo)||void 0===s?void 0:s.login),school_id:x,department_id:g,identity:v,extra:b,attachment_ids:[_e]}});case 9:j=e.sent,Ge(),j&&(P.ZP.info("申请已提交,请等待审核!"),c({type:"account/getBasicInfo",payload:{login:null===(y=l.userInfo)||void 0===y?void 0:y.login}}));case 12:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),Ge=function(){c({type:"account/setActionTabs",payload:{}})},Ke={data:{type:"professional"},multiple:!0,showUploadList:!1,action:"".concat(j.Z.API_SERVER,"/api/attachments.json"),className:Y,onChange:function(e){var n;"uploading"!==e.file.status?"done"===e.file.status&&(console.log(e.file,e.file.response),we(null===(n=e.file.response)||void 0===n?void 0:n.id),(0,R.y3)(e.file.originFileObj,(function(e){je(e),Ae(!1)}))):Ae(!0)},beforeUpload:function(e){var n="image/jpeg"===e.type||"image/png"===e.type||"image/jpg"===e.type||"image/bmp"===e.type;return n||P.ZP.info("请上传正确文件格式"),n}};return(0,Z.jsxs)(E.Z,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,className:M,open:"Account-ProfessionalAuth"===a.actionTabs.key,title:(0,Z.jsxs)(x.Z,{style:{padding:"25px"},align:"middle",justify:"space-between",children:[(0,Z.jsx)(g.Z,{children:"职业认证"}),(0,Z.jsx)(g.Z,{children:(0,Z.jsx)("i",{className:"iconfont icon-guanbi11",style:{color:"#979797",cursor:"pointer"},onClick:Ge})})]}),width:"660px",footer:null,children:[(0,Z.jsx)(A.Z,{spinning:!!Ee,children:(0,Z.jsxs)(I.Z,{className:O,form:f,colon:!1,onValuesChange:function(e){(y(k()({},f.getFieldsValue())),"school"in e)&&(ae(C.filter((function(n){return n.name.includes(e.school)}))),(C.find((function(n){return n.name===e.school}))||{}).id?Ve(e.school):(f.setFieldsValue({department:""}),y(k()(k()({},b),{school:e.school,department:""}))))},onFinish:Ue,children:[(0,Z.jsxs)(x.Z,{gutter:[10,0],children:[(0,Z.jsx)(g.Z,{flex:"300px",children:(0,Z.jsx)(I.Z.Item,{label:"职业",name:"identity",rules:[{required:!0,message:"请先选择职业"}],children:(0,Z.jsxs)(ie.default,{children:[(0,Z.jsx)(Se,{value:"teacher",children:"教师"}),(0,Z.jsx)(Se,{value:"student",children:"学生"}),(0,Z.jsx)(Se,{value:"professional",children:"专业人士"})]})})}),"student"===b.identity&&(0,Z.jsx)(g.Z,{flex:"200px",children:(0,Z.jsx)(I.Z.Item,{initialValue:b.studentNo,name:"studentNo",rules:[{required:!0,message:"请先输入学号"}],children:(0,Z.jsx)(T.Z,{type:"text",placeholder:"请输入学号"})})}),"teacher"===b.identity&&(0,Z.jsx)(g.Z,{flex:"200px",children:(0,Z.jsx)(I.Z.Item,{initialValue:b.jobTitle,name:"jobTitle",rules:[{required:!0,message:"请先选择职称"}],children:(0,Z.jsxs)(ie.default,{children:[(0,Z.jsx)(Se,{value:"教授",children:"教授"}),(0,Z.jsx)(Se,{value:"副教授",children:"副教授"}),(0,Z.jsx)(Se,{value:"讲师",children:"讲师"}),(0,Z.jsx)(Se,{value:"助教",children:"助教"})]})})}),"professional"===b.identity&&(0,Z.jsx)(g.Z,{flex:"200px",children:(0,Z.jsx)(I.Z.Item,{initialValue:b.manager,name:"manager",rules:[{required:!0,message:"请先选择职称"}],children:(0,Z.jsxs)(ie.default,{children:[(0,Z.jsx)(Se,{value:"企业管理者",children:"企业管理者"}),(0,Z.jsx)(Se,{value:"部门管理者",children:"部门管理者"}),(0,Z.jsx)(Se,{value:"高级工程师",children:"高级工程师"}),(0,Z.jsx)(Se,{value:"工程师",children:"工程师"}),(0,Z.jsx)(Se,{value:"助理工程师",children:"助理工程师"})]})})})]}),(0,Z.jsx)(I.Z.Item,{label:"学校/单位",name:"school",extra:b.school&&!(null!=C&&C.find((function(e){return e.name===b.school})))&&(0,Z.jsxs)("div",{className:$,children:[(0,Z.jsxs)("span",{className:ee,children:["未找到包含“",b.school,"”的高校,"]}),(0,Z.jsx)("span",{className:"".concat(ne," current"),onClick:function(){Le(!0)},children:"申请新增"})]}),rules:[{required:!0,message:"请先选择学校/单位"}],children:(0,Z.jsx)(re.Z,{showSearch:!0,options:null==le?void 0:le.map((function(e){return{value:e.name}}))})}),(0,Z.jsx)(I.Z.Item,{label:"院系/部门",name:"department",extra:b.department&&!(null!=ue&&ue.find((function(e){return e.name===b.department})))&&(0,Z.jsxs)("div",{className:$,children:[(0,Z.jsx)("span",{className:ee,children:b.department?"未找到包含“".concat(b.department,"”的高校,"):"未找到院系,"}),(0,Z.jsx)("span",{className:"".concat(ne," current"),onClick:function(){C.find((function(e){return e.name===b.school}))?Be(!0):P.ZP.info("请先选择正确的单位或者学校!")},children:"申请新增"})]}),rules:[{required:!0,message:"请先选择院系/部门"}],children:(0,Z.jsx)(re.Z,{showSearch:!0,onChange:function(e){return he(ue.filter((function(n){return n.name.includes(e)})))},options:null==me?void 0:me.map((function(e){return{value:e.name}}))})}),(0,Z.jsx)(I.Z.Item,{label:"职业证上传",children:(0,Z.jsxs)("div",{className:D,children:[(0,Z.jsxs)("div",{className:B,children:[(0,Z.jsx)(Ne,k()(k()({},Ke),{},{accept:".png,.jpg,.bmp,.jpeg",children:be?(0,Z.jsx)("img",{src:be,className:U}):(0,Z.jsxs)("div",{className:G,children:[(0,Z.jsx)("p",{children:(0,Z.jsx)("i",{className:"iconfont icon-cuban2shangchuanyunduan ".concat(K)})}),(0,Z.jsx)("p",{className:W,children:(0,Z.jsx)("a",{className:J,children:"点击或拖拽上传图片"})})]})})),(0,Z.jsx)("span",{className:"tc",children:(0,Z.jsx)("p",{className:q,children:"查看大图"})})]}),(0,Z.jsxs)("div",{className:"".concat(B," ").concat(H),children:[(0,Z.jsx)("span",{className:F,children:(0,Z.jsx)("img",{src:se})}),(0,Z.jsxs)("span",{className:"tc",children:[(0,Z.jsx)("p",{children:"示例图片"}),(0,Z.jsx)("p",{className:"".concat(V," font12"),children:"(png/jpg/bmp格式,不超过2MB)"})]})]})]})}),(0,Z.jsx)("div",{className:Q,children:(0,Z.jsxs)(I.Z.Item,{children:[(0,Z.jsx)(z.ZP,{className:"mr5",size:"middle",onClick:Ge,children:"取消"}),(0,Z.jsx)(z.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:o["account/applyProfessionalAuth"],children:"保存"})]})}),(0,Z.jsxs)("div",{className:X,children:[(0,Z.jsx)("p",{children:"认证须知:"}),(0,Z.jsx)("p",{children:"1.根据职业上传相应的证件照:教师(教师证),专业人士(员工证)、学生(学生证),请确保证件照内容完整并且清晰可见,严禁PS;"}),(0,Z.jsx)("p",{children:"2.我们将在你提交职业证信息后的24小时(不包含节假日)内完成审核,审核结果将会以系统消息的形式发送给你;"}),(0,Z.jsx)("p",{children:"3.职业认证审核完成后,无法删除,请谨慎填写;职业变更请选择重新认证;"}),(0,Z.jsx)("p",{children:"4.职业认证审核完成后,系统将自动发放500个金币作为奖励;"}),(0,Z.jsx)("p",{children:"5.我们会确保你所提供的信息均处于严格的保密状态,不会泄露;"}),(0,Z.jsxs)("p",{children:["6.如存在恶意乱填写姓名,学号,及上传与职业证件无关图片者,一经发现将冻结",!(null!=i&&null!==(n=i.setting)&&void 0!==n&&n.is_local)&&"EduCoder","账号。"]}),(0,Z.jsx)("p",{children:"7.非老师身份提交职业认证后系统会自动将状态改为已认证,你将可以体验平台需要职业认证的功能;如果在认证后的使用过程中未通过审核,你将不能继续体验需要认证的功能。"})]})]})}),(0,Z.jsx)(ke,{visible:Re,onClose:function(){return Le(!1)},schoolName:b.school,onSuccess:Ye}),(0,Z.jsx)(pe,{visible:De,onClose:function(){return Be(!1)},schoolId:null===(t=C.find((function(e){return e.name===b.school})))||void 0===t?void 0:t.id,schoolName:b.school,departmentName:b.department,onSuccess:function(e){return Ve(b.school,e)}})]})})),Pe=t(93735),Ee=t.n(Pe);var Ae=function(e){var n=e.type,t=e.dispatch,l=e.userid,a=e.isshow,i=e.setPhoneshow,o=e.setEmailshow,c="79e33abd4b6588941ab7622aed1e67e8",u=(0,s.useState)(""),p=r()(u,2),f=p[0],m=p[1],h=(0,s.useState)("获取验证码"),x=r()(h,2),g=x[0],b=(x[1],(0,s.useState)(60)),j=r()(b,2),y=j[0],_=j[1],w=(0,s.useState)(!1),k=r()(w,2),C=k[0],S=k[1],N=(0,s.useState)(""),I=r()(N,2),E=I[0],A=I[1];function R(){return(R=v()(d()().mark((function e(){return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(f){e.next=3;break}return 3===n?P.ZP.info("手机号不能为空"):P.ZP.info("邮箱地址不能为空"),e.abrupt("return");case 3:return e.next=5,t({type:"competitions/getVerification",payload:{type:n,login:f,smscode:Ee()(c+f)}});case 5:1===e.sent.status&&(P.ZP.info("获取验证码成功"),L(),S(!0));case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function L(){_(60);var e=setInterval((function(){--y>-1?_(y):(clearInterval(e),S(!1))}),1e3)}function M(){return(M=v()(d()().mark((function e(){return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({type:"competitions/PhoneBind",payload:{userid:l,code:E,phone:f}});case 2:0===e.sent.status&&(P.ZP.info("绑定成功"),i("none"));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(){return(O=v()(d()().mark((function e(){return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t({type:"competitions/EmailBind",payload:{userid:l,code:E,email:f}});case 2:0===e.sent.status&&(P.ZP.info("绑定成功"),o("none"));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,Z.jsxs)("div",{style:{display:a},children:[(0,Z.jsx)("p",{children:(0,Z.jsx)(T.Z,{value:f,onChange:function(e){return m(e.target.value)},placeholder:3===n?"请输入手机号":"请输入邮箱地址",style:{width:"370px"}})}),(0,Z.jsx)("span",{children:(0,Z.jsx)(T.Z,{value:E,onChange:function(e){return A(e.target.value)},placeholder:3===n?"请输入手机获取的验证码":"请输入邮箱获取的验证码",style:{width:"250px"}})})," ",(0,Z.jsx)(z.ZP,{disabled:C,onClick:function(){return function(){return R.apply(this,arguments)}()},type:"primary",style:{marginLeft:"20px",width:"100px"},children:C?"重新发送".concat(y,"s"):g}),(0,Z.jsxs)("p",{style:{marginTop:"30px",width:"370px",textAlign:"center"},children:[(0,Z.jsx)(z.ZP,{type:"primary",style:{marginRight:"15px"},onClick:function(){E?3===n?function(){M.apply(this,arguments)}():function(){O.apply(this,arguments)}():P.ZP.info("验证码不能为空")},children:"确认"}),(0,Z.jsx)(z.ZP,{style:{marginLeft:"20px"},onClick:function(){3===n?i("none"):o("none")},children:"取消"})]})]})};var Te=function(e){var n=e.dispatch,t=e.userid,l={wrapperCol:{offset:3,span:21}},a=I.Z.useForm(),i=r()(a,1)[0],s=(0,o.useParams)().identifier;return(0,Z.jsx)("div",{style:{width:"500px"},children:(0,Z.jsxs)(I.Z,{form:i,name:"basic",children:[(0,Z.jsx)(I.Z.Item,k()(k()({},l),{},{label:(0,Z.jsx)("div",{style:{width:"30px"},children:"开户行"}),name:"bank",rules:[{required:!0,message:"请输入开户行"}],children:(0,Z.jsx)(T.Z,{})})),(0,Z.jsx)(I.Z.Item,k()(k()({},l),{},{label:(0,Z.jsx)("div",{style:{width:"30px"},children:"支行"}),name:"second_bank",rules:[{required:!0,message:"请输入支行"}],children:(0,Z.jsx)(T.Z,{})})),(0,Z.jsx)(I.Z.Item,k()(k()({},l),{},{label:(0,Z.jsx)("div",{style:{width:"30px"},children:"账号"}),name:"card_no",rules:[{required:!0,message:"请输入账号"}],children:(0,Z.jsx)(T.Z,{})})),(0,Z.jsx)(I.Z.Item,{children:(0,Z.jsx)(z.ZP,{type:"primary",htmlType:"submit",onClick:v()(d()().mark((function e(){return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i.validateFields().then(function(){var e=v()(d()().mark((function e(l){return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n({type:"competitions/setleader",payload:k()({identifier:s,user_id:t},l)});case 2:0===e.sent.status&&P.ZP.info("提交成功");case 4:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)}))),children:"提交"})})]})})},ze={teacher:"教师",student:"学生",professional:"专业人士"};var Re=function(e){var n,t,l,a,i=e.Prize,o=e.Accounts,c=e.dispatch,u=e.userid,p=(0,s.useState)("none"),m=r()(p,2),h=m[0],b=m[1],j=(0,s.useState)("none"),y=r()(j,2),_=y[0],w=y[1];function k(e){return C.apply(this,arguments)}function C(){return(C=v()(d()().mark((function e(n){var t;return d()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("1"!==n){e.next=6;break}return e.next=3,c({type:"competitions/Authentication"});case 3:t=e.sent,e.next=9;break;case 6:return e.next=8,c({type:"competitions/Professional"});case 8:t=e.sent;case 9:0===t.status&&P.ZP.info("撤销成功");case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,Z.jsxs)("div",{children:[(0,Z.jsxs)(x.Z,{align:"middle",children:[(0,Z.jsxs)(g.Z,{children:[(0,Z.jsx)("span",{className:"c-red",children:"*"}),"实名信息"]}),"uncertified"===(null==o?void 0:o.authentication)&&(0,Z.jsx)(g.Z,{flex:1,className:"ml20",children:(0,Z.jsxs)(x.Z,{align:"middle",justify:"space-between",children:[(0,Z.jsx)(g.Z,{style:{marginLeft:"20px"},children:"通过实名认证后才能获得证书"}),(0,Z.jsx)(z.ZP,{className:f.Z.PerfectBut,onClick:function(){c({type:"account/setActionTabs",payload:{key:"Account-RealNameAuth"}})},children:"立即认证"})]})})]}),(0,Z.jsxs)("div",{className:f.Z.PerfectCent,children:[(0,Z.jsxs)(x.Z,{children:[(0,Z.jsx)(g.Z,{className:f.Z.PerfectCentName,children:"姓名"}),(0,Z.jsxs)(g.Z,{className:"ml20",children:[null==o?void 0:o.name,"uncertified"===(null==o?void 0:o.authentication)?null:"applying"===(null==o?void 0:o.authentication)?(0,Z.jsxs)("span",{children:[(0,Z.jsx)("span",{children:"待审核"}),(0,Z.jsx)(z.ZP,{type:"primary",onClick:function(){return k("1")},ghost:!0,style:{marginLeft:"20px"},children:"撤销认证"})]}):(0,Z.jsxs)("span",{style:{color:"#6ec76e"},children:[(0,Z.jsx)("i",{className:"iconfont icon-wancheng font-14"})," 已认证"]})]})]}),(0,Z.jsxs)(x.Z,{className:"mt20",children:[(0,Z.jsx)(g.Z,{className:f.Z.PerfectCentName,children:"性别"}),(0,Z.jsx)(g.Z,{className:"ml20",children:0===(null==o?void 0:o.gender)?"男":"女"})]})]}),(0,Z.jsxs)(x.Z,{align:"middle",children:[(0,Z.jsxs)(g.Z,{children:[(0,Z.jsx)("span",{className:"c-red",children:"*"}),"职业信息"]}),"uncertified"===(null==o?void 0:o.authentication)&&(0,Z.jsx)(g.Z,{flex:1,className:"ml20",children:(0,Z.jsxs)(x.Z,{align:"middle",justify:"space-between",children:[(0,Z.jsx)(g.Z,{style:{marginLeft:"20px"},children:"通过实名认证后才能获得证书"}),(0,Z.jsx)(z.ZP,{className:f.Z.PerfectBut,onClick:function(){c({type:"account/setActionTabs",payload:{key:"Account-ProfessionalAuth"}})},children:"立即认证"})]})})]}),(0,Z.jsxs)("div",{className:f.Z.PerfectCent,children:[(0,Z.jsxs)(x.Z,{children:[(0,Z.jsx)(g.Z,{className:f.Z.PerfectCentName,children:"职业"}),(0,Z.jsxs)(g.Z,{className:"ml20",children:[o&&o.identity&&ze[o.identity],"uncertified"===(null==o?void 0:o.authentication)?null:"applying"===(null==o?void 0:o.authentication)?(0,Z.jsxs)("span",{children:[(0,Z.jsx)("span",{children:"待审核"}),(0,Z.jsx)(z.ZP,{type:"primary",onClick:function(){return k("2")},ghost:!0,style:{marginLeft:"20px"},children:"撤销认证"})]}):(0,Z.jsxs)("span",{style:{color:"#6ec76e"},children:[(0,Z.jsx)("i",{className:"iconfont icon-wancheng font-14"})," 已认证",(0,Z.jsx)(z.ZP,{type:"primary",onClick:function(){c({type:"account/setActionTabs",payload:{key:"Account-ProfessionalAuth"}})},ghost:!0,style:{marginLeft:"20px"},children:"重新认证"})]})]})]}),(0,Z.jsxs)(x.Z,{className:"mt20",children:[(0,Z.jsx)(g.Z,{className:f.Z.PerfectCentName,children:"学号"}),(0,Z.jsx)(g.Z,{className:"ml20",children:(null==o?void 0:o.student_id)||"--"})]}),(0,Z.jsxs)(x.Z,{className:"mt20",children:[(0,Z.jsx)(g.Z,{className:f.Z.PerfectCentName,children:"学校"}),(0,Z.jsx)(g.Z,{className:"ml20",children:(null==o?void 0:o.school_name)||"--"})]}),(0,Z.jsxs)(x.Z,{className:"mt20",children:[(0,Z.jsx)(g.Z,{className:f.Z.PerfectCentName,children:"院系"}),(0,Z.jsx)(g.Z,{className:"ml20",children:(null==o?void 0:o.department_name)||"--"})]})]}),(0,Z.jsxs)("p",{children:[(0,Z.jsx)("span",{className:"c-red",children:"*"}),"联系方式"]}),(0,Z.jsxs)("div",{className:f.Z.PerfectCent,children:[(0,Z.jsxs)(x.Z,{children:[(0,Z.jsx)(g.Z,{className:f.Z.PerfectCentName,children:"手机号"}),(0,Z.jsx)(g.Z,{className:"ml20",children:(0,Z.jsxs)(x.Z,{children:[(0,Z.jsx)(g.Z,{style:{width:"150px"},children:(null==o?void 0:o.phone)||"--"}),"none"===h&&(0,Z.jsx)(z.ZP,{type:"link",className:"ml20",style:{color:"#165DFF"},onClick:function(){b("block")},children:"更换"})]})})]}),(0,Z.jsx)("div",{className:"mt10",style:{marginLeft:"74px"},children:(0,Z.jsx)(Ae,{type:3,dispatch:c,userid:null==o?void 0:o.id,isshow:h,setPhoneshow:b,setEmailshow:w})}),(0,Z.jsxs)(x.Z,{className:"mt20",children:[(0,Z.jsx)(g.Z,{className:f.Z.PerfectCentName,children:"Email"}),(0,Z.jsx)(g.Z,{className:"ml20",children:(0,Z.jsxs)(x.Z,{children:[(0,Z.jsx)(g.Z,{style:{width:"150px"},children:(null==o?void 0:o.mail)||"--"}),"none"===_&&(0,Z.jsx)(z.ZP,{type:"link",className:"ml20",style:{color:"#165DFF"},onClick:function(){w("block")},children:"更换"})]})})]}),(0,Z.jsx)("div",{className:"mt10",style:{marginLeft:"74px"},children:(0,Z.jsx)(Ae,{type:4,dispatch:c,userid:null==o?void 0:o.id,isshow:_,setEmailshow:w,setPhoneshow:b})})]}),null!=i&&i.leader&&null!=i&&i.teams&&null!=i&&null!==(n=i.teams[0])&&void 0!==n&&null!==(n=n.bank_account)&&void 0!==n&&n.bank?(0,Z.jsxs)(x.Z,{align:"middle",children:[(0,Z.jsx)(g.Z,{children:"签/领/开户行及银行卡号"}),(0,Z.jsx)(g.Z,{className:"ml20",style:{fontSize:"12px"},children:"为保障奖金的及时发放,请队长如实填写你名下的银行卡信息"})]}):(0,Z.jsxs)("div",{children:[(0,Z.jsxs)(x.Z,{align:"middle",children:[(0,Z.jsx)(g.Z,{children:"签/领/开户行及银行卡号"}),(0,Z.jsx)(g.Z,{className:"ml20",style:{fontSize:"12px"},children:"为保障奖金的及时发放,请队长如实填写你名下的银行卡信息"})]}),(0,Z.jsx)(Te,{dispatch:c,userid:u})]}),(null==i?void 0:i.leader)&&(0,Z.jsxs)("div",{className:f.Z.PerfectCent,style:{border:0},children:[(0,Z.jsxs)(x.Z,{children:[(0,Z.jsx)(g.Z,{className:f.Z.PerfectCentName,children:"开户行"}),(0,Z.jsx)(g.Z,{className:"ml20",children:(null==i?void 0:i.teams)&&(null==i||null===(t=i.teams[0])||void 0===t||null===(t=t.bank_account)||void 0===t?void 0:t.bank)||"--"})]}),(0,Z.jsxs)(x.Z,{className:"mt20",children:[(0,Z.jsx)(g.Z,{className:f.Z.PerfectCentName,children:"支行"}),(0,Z.jsx)(g.Z,{className:"ml20",children:(null==i?void 0:i.teams)&&(null==i||null===(l=i.teams[0])||void 0===l||null===(l=l.bank_account)||void 0===l?void 0:l.second_bank)||"--"})]}),(0,Z.jsxs)(x.Z,{className:"mt20",children:[(0,Z.jsx)(g.Z,{className:f.Z.PerfectCentName,children:"账号"}),(0,Z.jsx)(g.Z,{className:"ml20",children:(null==i?void 0:i.teams)&&(null==i||null===(a=i.teams[0])||void 0===a||null===(a=a.bank_account)||void 0===a?void 0:a.card_no)||"--"})]})]}),(0,Z.jsx)(Ie,{Scoid:null==o?void 0:o.school_id}),(0,Z.jsx)(ae,{})]})},Le="scoreByBlankRadio____FOPE",Me=(0,o.connect)((function(e){return a()(e),{}}))((function(e){var n=e.Prize,t=e.Accounts,l=(e.getAccounts,e.dispatch),a=e.userid,i=(0,s.useState)("DownPdf"),o=r()(i,2),u=o[0],d=o[1];return(0,Z.jsxs)("div",{style:{margin:"15px 0"},children:[(0,Z.jsx)(c.ZP.Group,{optionType:"button",className:Le,options:[{label:"获奖证书下载",value:"DownPdf"},{label:"完善个人信息",value:"Perfect"}],value:u,onChange:function(e){d(e.target.value)}}),"DownPdf"==u&&(0,Z.jsx)(_,{Prize:n}),"Perfect"==u&&(0,Z.jsx)(Re,{userid:a,dispatch:l,Prize:n,Accounts:t})]})}))},72298:function(e,n,t){"use strict";t.d(n,{Z:function(){return w}});var l=t(10574),a=t.n(l),i=t(39343),r=t.n(i),s=t(11006),o=t.n(s),c=t(59301),u=t(43418),d=t(8591),p=t(6848),v=t(3113),f=t(54278),m=t(22211),h=t(67871),x=t(80416),g=t(23645),b=t(49185),j=t(15830);Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var y="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiPjxwYXRoIGQ9Ik0xMjggMGg3NjhjNzAuNCAwIDEyOCA1Ny42IDEyOCAxMjh2NzY4YzAgNzAuNC01Ny42IDEyOC0xMjggMTI4SDEyOEExMjguMzU4IDEyOC4zNTggMCAwIDEgMCA4OTZWMTI4QzAgNTcuNiA1Ny42IDAgMTI4IDB6IiBmaWxsPSIjMTY1REZGIiBmaWxsLW9wYWNpdHk9Ii4xNCIvPjxwYXRoIGQ9Ik0yOTQuNCAzNzcuNiAxNjAgNDgwYy02LjQgNi40LTEyLjggMTIuOC0xMi44IDI1LjZ2NTcuNmMwIDEyLjggNi40IDE5LjIgMTkuMiAzMmwxMzQuNCA5NmMxMi44IDEyLjggMzguNCAxMi44IDUxLjIgMGw2LjQtNi40YzYuNC02LjQgMTIuOC0xOS4yIDYuNC0zMnMtNi40LTI1LjYtMTkuMi0zMmwtMTE1LjItODMuMiAxMjEuNi05NmM2LjQtNi40IDEyLjgtMTkuMiAxMi44LTI1LjYgMC0xMi44IDAtMTkuMi02LjQtMzItMTkuMi0xOS4yLTQ0LjgtMjUuNi02NC02LjR6bTI3NS4yLTEyLjhjLTEyLjggNi40LTE5LjIgMTIuOC0yNS42IDE5LjJMNDA5LjYgNjMzLjZhNDAuODA2IDQwLjgwNiAwIDAgMCAwIDM4LjRjNi40IDEyLjggMTkuMiAxOS4yIDM4LjQgMTkuMiAxMi44IDAgMjUuNi02LjQgMzItMTkuMmwxMzQuNC0yNDkuNmM2LjQtNi40IDYuNC0xOS4yIDYuNC0zMnMtMTIuOC0xOS4yLTE5LjItMjUuNmgtMzJ6bTEyOCAwYy0xMi44IDAtMTkuMiA2LjQtMjUuNiAxMi44LTEyLjggMTkuMi0xMi44IDQ0LjggNi40IDU3LjZsMTIxLjYgOTYtMTIxLjYgODkuNmMtMTkuMiAxMi44LTE5LjIgMzguNC0xMi44IDUxLjJsNi40IDYuNGMxMi44IDE5LjIgMzguNCAxOS4yIDU3LjYgNi40bDEzNC40LTk2YzYuNC02LjQgMTIuOC0xOS4yIDE5LjItMjUuNnYtNTcuNmMwLTEyLjgtNi40LTE5LjItMTIuOC0yNS42TDczNiAzNzcuNmMtMTkuMi0xMi44LTMyLTEyLjgtMzguNC0xMi44eiIgZmlsbD0iIzE2NURGRiIvPjwvc3ZnPg==",Z=t(58696),_=t(37712);var w=function(e){var n,t,l,i,s,w,k,C=e.item,S=e.Header,N=e.index,I=e.StaffDetail,P=e.dispatch,E=(0,c.useState)(!0),A=o()(E,2),T=A[0],z=A[1],R=(0,c.useState)(!0),L=o()(R,2),M=L[0],O=L[1],D=(0,c.useState)(!1),B=o()(D,2),H=B[0],F=B[1],V=(0,c.useRef)(),Y=(0,c.useState)(!1),U=o()(Y,2),G=U[0],K=U[1],W=(0,m.useParams)().identifier;(0,c.useEffect)((function(){setTimeout((function(){V.current.children[0].clientHeight>88&&F(!0)}),10)}),[]);var J=function(e){var n,t;(0,g.tJ)(P,!0)&&((null==e?void 0:e.shixun_status)>1&&K(!0),null!=e&&e.is_jupyter||null!=e&&e.is_jupyter_lab?P({type:"shixunsDetail/execJupyter",payload:{id:null==e||null===(t=e.shixun)||void 0===t?void 0:t.identifier}}).then((function(n){K(!1),null!=n&&n.identifier&&window.open("/tasks/".concat(n.identifier,"/jupyter?competition_entry_id=").concat(null==e?void 0:e.id,"&type=competitions"))})):P({type:"shixunsDetail/execShixun",payload:{id:null==e||null===(n=e.shixun)||void 0===n?void 0:n.identifier}}).then((function(n){K(!1),null!=n&&n.game_identifier?window.open("/tasks/".concat(n.game_identifier,"?competition_entry_id=").concat(null==e?void 0:e.id,"&type=competitions")):2===(null==n?void 0:n.status)?q(null==n?void 0:n.message):3===(null==n?void 0:n.status)&&Q(null==n?void 0:n.message)})))},q=function e(n){var t,l;n=null!==(t=n)&&void 0!==t&&t.includes(".json")?n:"".concat(n,".json"),u.Z.confirm({centered:!0,title:"提示",okText:"确定",cancelText:"取消",content:(0,_.jsx)("div",{className:"tc font16",children:"实训已经更新了,正在为您重置!"}),onOk:(l=r()(a()().mark((function t(){var l,i;return a()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,b.$Q)({url:n});case 2:if(l=t.sent){t.next=5;break}return t.abrupt("return");case 5:return d.ZP.success("重置成功,正在进入实践项目!"),t.next=8,(0,b.Ir)({id:l.shixun_identifier});case 8:if(null==(i=t.sent)||!i.game_identifier){t.next=12;break}return window.open("/tasks/".concat(i.game_identifier)),t.abrupt("return");case 12:2===(null==i?void 0:i.status)?e(null==i?void 0:i.message):3===(null==i?void 0:i.status)&&Q(null==i?void 0:i.message);case 13:case"end":return t.stop()}}),t)}))),function(){return l.apply(this,arguments)})})},Q=function(e){u.Z.confirm({centered:!0,title:"提示",okText:"确定",cancelText:"取消",content:(0,_.jsxs)("div",{className:"tc font16",children:["目前该实践项目尚在内测中,将于",e,"之后开放,谢谢!"]})})};return(0,_.jsxs)("div",{className:f.Z.box,children:[(0,_.jsxs)("div",{style:{justifyContent:"space-between",display:"flex",padding:"0 10px"},children:[(0,_.jsxs)("span",{className:f.Z.title_style,style:{color:"#333333",fontWeight:500,fontSize:"14px"},children:[null!=S&&S.is_new?"赛题":"任务",N+1]}),(0,_.jsxs)("span",{style:{color:"#9096A3",marginLeft:"auto",fontSize:"12px"},children:["作品提交时间",(0,_.jsxs)("span",{style:{color:"#232B40",marginLeft:5},children:[null==S?void 0:S.start_time,"~",null==S?void 0:S.end_time]})]})]}),(0,_.jsxs)("div",{style:{padding:10,display:"flex",position:"relative"},children:[(0,_.jsx)("img",{src:h.Z.IMG_SERVER+"/"+(null==C?void 0:C.pic),style:{width:220,height:130,borderRadius:"4px"}}),(0,_.jsxs)("div",{style:{marginLeft:20,width:"75%"},children:[(0,_.jsxs)("div",{style:{justifyContent:"space-between",display:"flex"},children:[(0,_.jsxs)("div",{children:[(0,_.jsx)(p.Z,{title:(null==C?void 0:C.name)||(null==C||null===(n=C.shixun)||void 0===n?void 0:n.name),children:(0,_.jsx)("span",{style:{color:"#333333",fontWeight:"500",fontSize:"14px"},children:(null==C?void 0:C.name)||(null==C||null===(t=C.shixun)||void 0===t?void 0:t.name)})}),(0,_.jsxs)("span",{style:{color:"#9096A3",marginLeft:40},children:["关卡",(0,_.jsx)("span",{style:{color:"#333333",marginLeft:5},children:(null==C?void 0:C.challenges_count)||(null==C||null===(l=C.shixun)||void 0===l?void 0:l.challenges_count)})]})]}),(0,_.jsx)("span",{style:{marginLeft:"auto"},children:((null==I?void 0:I.enrolled)&&"ended"!==(null==S?void 0:S.competition_status)||(0,Z.eB)()||(null===(i=S.permission)||void 0===i?void 0:i.editable))&&(0,_.jsx)(v.ZP,{loading:G,onClick:r()(a()().mark((function e(){var n,t,l;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==S||!S.is_new){e.next=11;break}return e.next=3,(0,j.ZP)("/api/competitions/".concat(W,"/check_team_member.json"),{method:"post"});case 3:if(0!==(null==(n=e.sent)?void 0:n.status)){e.next=9;break}return J(C),e.next=8,(0,j.ZP)("/api/competitions/".concat(W,"/enter_competition_question.json"),{method:"post",body:{competition_stage_id:null==C?void 0:C.competition_stage_id,competition_stage_section_id:null==C?void 0:C.competition_stage_section_id,competition_entry_id:null==C?void 0:C.id,shixun_id:null==C||null===(t=C.shixun)||void 0===t?void 0:t.id}});case 8:e.sent;case 9:e.next=12;break;case 11:window.open("/shixuns/".concat((null==C?void 0:C.identifier)||(null==C||null===(l=C.shixun)||void 0===l?void 0:l.identifier),"/challenges"));case 12:case"end":return e.stop()}}),e)}))),style:{marginLeft:30,borderRadius:14,fontSize:12,width:88},type:"primary",children:"开启挑战"})})]}),(0,_.jsxs)("div",{ref:V,style:{maxHeight:T&&100,position:"relative",overflow:"hidden"},children:[(0,_.jsx)(x.Z,{style:{fontSize:"14px",color:"#9096A3",marginTop:20,position:"relative"},value:(null==C?void 0:C.description)||""}),H&&T&&(0,_.jsx)("div",{className:f.Z.maskText})]}),H&&(0,_.jsxs)("div",{className:f.Z.colorhove,style:{textAlign:"end",cursor:"pointer"},onClick:function(){z(!T)},children:[T?"阅读全文 ":"收起全文 ",(0,_.jsx)("i",{className:"iconfont font14 ".concat(T?"icon-jiantou9":"icon-changyongtubiao-xianxingdaochu-zhuanqu-")})]}),(0,_.jsxs)("div",{style:{marginTop:14,maxHeight:M&&58,overflow:"hidden"},children:[null==C||null===(s=C.challenges)||void 0===s?void 0:s.map((function(e,n){return(0,_.jsxs)("div",{style:{marginTop:0===n?0:12},children:[(0,_.jsx)("img",{src:y,style:{width:20,height:20}}),(0,_.jsxs)("span",{style:{marginLeft:10},children:["第",n+1,"关",null==e?void 0:e.challenge_name]})]})})),null==C||null===(w=C.challenge_settings)||void 0===w?void 0:w.map((function(e,n){return(0,_.jsxs)("div",{style:{marginTop:0===n?0:12},children:[(0,_.jsx)("img",{src:y,style:{width:20,height:20}}),(0,_.jsxs)("span",{style:{marginLeft:10},children:["第",n+1,"关",null==e?void 0:e.challenge_name]})]})}))]}),(0,_.jsx)("div",{className:f.Z.colorhove,style:{position:"absolute",bottom:14,right:10,cursor:"pointer"},children:((null==C?void 0:C.challenges_count)||(null==C||null===(k=C.shixun)||void 0===k?void 0:k.challenges_count))>2&&(0,_.jsxs)("span",{onClick:function(){O(!M)},children:[M?"展开":"收起"," ",(0,_.jsx)("i",{className:"iconfont font14 ".concat(M?"icon-jiantou9":"icon-changyongtubiao-xianxingdaochu-zhuanqu-")})]})})]})]})]})}},96700:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return Ee}});var l=t(26801),a=t.n(l),i=t(10574),r=t.n(i),s=t(39343),o=t.n(s),c=t(11006),u=t.n(c),d=t(27161),p=t.n(d),v=t(59301),f=t(22211),m=t(54278),h=t(22059),x=t(48826),g=t(8591),b=t(43418),j=t(60936),y=t(63720),Z=t(37712),_=x.Z.Dragger,w=(0,f.connect)((function(e){return{user:e.user,classroomList:e.classroomList,shixunsDetail:e.shixunsDetail}}))((function(e){var n=e.user,t=e.dispatch,l=(e.classroomList,e.shixunsDetail),i=e.getResults,s=((0,f.useParams)(),(0,v.useState)()),c=u()(s,2),d=(c[0],c[1],(0,v.useState)([])),p=u()(d,2),m=p[0],h=p[1],x=(0,v.useState)(!1),w=u()(x,2),k=w[0],C=w[1],S={onRemove:function(){h([])},beforeUpload:function(e){if(console.log(e),(null==e?void 0:e.size)>524288e3)return g.ZP.info("文件超过500M,不符合上传要求"),!1;var n=[];return n.push(e),h([].concat(n)),!1},fileList:m};return(0,Z.jsx)(b.Z,{title:"提交文件",open:"md-tab"===l.actionTabs.key,confirmLoading:k,onOk:o()(r()().mark((function e(){var a,s,o;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!((null==m?void 0:m.length)<=0)){e.next=3;break}return g.ZP.info("请先选择文件"),e.abrupt("return");case 3:return C(!0),e.next=6,(0,y.cT)(m[0],{login:null===(a=n.userInfo)||void 0===a?void 0:a.login,container_type:"Competition",container_id:l.actionTabs.params.id,stage_type:l.actionTabs.params.value,file_name:null===(s=m[0])||void 0===s?void 0:s.name});case 6:0===(null==(o=e.sent)?void 0:o.status)?(g.ZP.info("提交成功"),t({type:"shixunsDetail/setActionTabs",payload:{key:""}}),C(!1),h([]),i(l.actionTabs.params.value)):(C(!1),g.ZP.info("提交失败"));case 8:case"end":return e.stop()}}),e)}))),onCancel:function(){h([]),t({type:"shixunsDetail/setActionTabs",payload:{key:""}})},children:(0,Z.jsxs)(_,a()(a()({},S),{},{children:[(0,Z.jsx)("p",{className:"ant-upload-drag-icon",children:(0,Z.jsx)(j.Z,{})}),(0,Z.jsx)("p",{className:"ant-upload-hint",children:"拖拽文件或者点击上传"})]}))})})),k=t(66104),C=t(71418),S=t(3113),N=t(20834),I=t(80416),P=t(95237),E=t(1056),A=t(67871),T=t(15830),z=t(23645),R=t(57809),L=t(9951),M=t(52063),O=t(22311),D=R.default.Option;var B=function(e){var n=e.rewarddata,t=e.getlistdatas,l=e.is_signed,a=e.dispatch,i=e.userlist,s=(0,v.useRef)(null),c=(0,v.useState)(!1),d=u()(c,2),p=d[0],f=d[1],h=(0,v.useState)(void 0),x=u()(h,2),j=x[0],y=x[1],_=(0,v.useState)(""),w=u()(_,2),k=w[0],C=w[1],S=(0,v.useState)(void 0),N=u()(S,2),I=N[0],P=N[1],T=(0,v.useState)(void 0),B=u()(T,2),H=B[0],F=B[1],V=(0,v.useState)(void 0),Y=u()(V,2),U=Y[0],G=Y[1];function K(e){return W.apply(this,arguments)}function W(){return(W=o()(r()().mark((function e(n){var i;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!n.user_received){e.next=3;break}return window.open(n.click_info),e.abrupt("return");case 3:if((0,z.o1)(a)){e.next=5;break}return e.abrupt("return");case 5:if(!1!==l){e.next=8;break}return g.ZP.info("您尚未报名参赛,请报名参赛后领取"),e.abrupt("return");case 8:if("Pop"!==n.click_event){e.next=14;break}return C(n.id),f(!0),e.abrupt("return");case 14:y(void 0);case 15:return e.next=17,a({type:"competitions/Reward",payload:{competition_module_setting_id:n.id}});case 17:(i=e.sent)&&0===i.status&&(t(),"Link"===n.click_event?(g.ZP.info("领取成功"),window.open(n.click_info)):g.ZP.info(n.click_info));case 19:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function J(){return(J=o()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!i||i.real_name){e.next=4;break}if(I){e.next=4;break}return g.ZP.info("姓名不能为空"),e.abrupt("return");case 4:if(!i||i.email){e.next=8;break}if(H){e.next=8;break}return g.ZP.info("邮箱不能为空"),e.abrupt("return");case 8:if(!i||i.phone){e.next=12;break}if(U){e.next=12;break}return g.ZP.info("手机号码不能为空"),e.abrupt("return");case 12:if(j){e.next=15;break}return g.ZP.info("请选择你的年级"),e.abrupt("return");case 15:return e.next=17,a({type:"competitions/Reward",payload:{competition_module_setting_id:k,className:j,name:I,mail:H,phone:U}});case 17:(n=e.sent)&&0===n.status&&(f(!1),t(),g.ZP.info("HCIA认证考试代金劵将由Educoder平台统一发放,请及时关注邮箱或站内短信查收"));case 19:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,Z.jsxs)("div",{children:[(0,Z.jsxs)(b.Z,{open:p,title:"完善信息",onCancel:function(){return f(!1)},onOk:function(){!function(){J.apply(this,arguments)}()},children:[(0,Z.jsxs)("p",{children:["您的姓名:",(0,Z.jsx)(E.Z,{className:i&&i.real_name?"":m.Z.bkfff,style:{width:"300px",marginLeft:"14px",background:i&&i.phone?"":"#ffffff!important"},value:i&&i.real_name||I,disabled:i&&i.real_name||!1,onChange:function(e){return P(e.target.value)}})]}),(0,Z.jsxs)("p",{style:{marginTop:"1em"},children:["您的邮箱:",(0,Z.jsx)(E.Z,{className:i&&i.email?"":"bkfff",style:{width:"300px",marginLeft:"14px",background:i&&i.phone?"":"#ffffff!important"},value:i&&i.email||H,disabled:i&&i.email||!1,onChange:function(e){return F(e.target.value)}})]}),(0,Z.jsxs)("p",{style:{marginTop:"1em"},children:["您的手机号:",(0,Z.jsx)(E.Z,{style:{width:"300px"},className:i&&i.phone?"":"bkfff",value:i&&i.phone||U,disabled:i&&i.phone||!1,onChange:function(e){return G(e.target.value)}})]}),"您的年级:",(0,Z.jsxs)(R.default,{style:{width:"300px",marginTop:"1em",marginLeft:"14px"},onChange:function(e){y(e)},children:[(0,Z.jsx)(D,{value:"大一",children:"大一"}),(0,Z.jsx)(D,{value:"大二",children:"大二"}),(0,Z.jsx)(D,{value:"大三",children:"大三"}),(0,Z.jsx)(D,{value:"大四",children:"大四"}),(0,Z.jsx)(D,{value:"大五",children:"大五"}),(0,Z.jsx)(D,{value:"硕一",children:"硕一"}),(0,Z.jsx)(D,{value:"硕二",children:"硕二"}),(0,Z.jsx)(D,{value:"硕三",children:"硕三"}),(0,Z.jsx)(D,{value:"博一",children:"博一"}),(0,Z.jsx)(D,{value:"博二",children:"博二"}),(0,Z.jsx)(D,{value:"博三",children:"博三"}),(0,Z.jsx)(D,{value:"博四",children:"博四"}),(0,Z.jsx)(D,{value:"博五",children:"博五"})]}),(0,Z.jsx)("p",{style:{marginTop:"1em"},children:"提醒:如无华为云账号,请尽快注册华为云!"})]}),n&&n.length>3?(0,Z.jsxs)("div",{style:{position:"relative",marginBottom:"10px",marginTop:"10px"},children:[(0,Z.jsx)("span",{className:m.Z.spanprev,onClick:function(){s.current.prev()},children:(0,Z.jsx)(M.Z,{style:{color:"#fff",fontSize:"20px",marginLeft:"15px"}})}),(0,Z.jsx)(L.Z,{ref:s,className:m.Z.divwidth,slidesToShow:3,slidesToScroll:1,children:n&&n.map((function(e,n){return(0,Z.jsxs)("div",{style:{textAlign:"center",position:"relative"},children:[(0,Z.jsx)("img",{src:A.Z.IMG_SERVER+"/".concat(e.image_url)}),!1===e.user_received||"Link"===e.click_event?(0,Z.jsx)("p",{className:m.Z.receiveclick,onClick:function(){return K(e)},children:"点击领取"}):(0,Z.jsx)("p",{className:m.Z.receivealready,children:"已经领取"})]})}))}),(0,Z.jsx)("span",{className:m.Z.spannext,onClick:function(){s.current.next()},children:(0,Z.jsx)(O.Z,{style:{color:"#fff",fontSize:"20px",marginLeft:"5px"}})})]}):(0,Z.jsx)("div",{className:m.Z.divwidth,style:{justifyContent:"space-around",marginBottom:"10px",marginTop:"10px"},children:n&&n.map((function(e,n){return(0,Z.jsxs)("div",{style:{textAlign:"center",position:"relative"},children:[(0,Z.jsx)("img",{src:A.Z.IMG_SERVER+"/".concat(e.image_url)}),!1===e.user_received||"Link"===e.click_event?(0,Z.jsx)("p",{className:m.Z.receiveclick,onClick:function(){return K(e)},children:"点击领取"}):(0,Z.jsx)("p",{className:m.Z.receivealready,children:"已经领取"})]})}))})]})},H=function(e,n){var t=e.StaffDetail,l=e.HeaderDetail,i=e.ItemData,s=e.setIssee,c=e.ModelType,d=e.dispatch,p=e.userinfo,m=e.Editable,h=(0,v.useState)(!1),j=u()(h,2),y=j[0],_=j[1],w=(0,v.useState)([]),k=u()(w,2),C=k[0],N=k[1],R=(0,v.useState)(""),L=u()(R,2),M=L[0],O=L[1],D=(0,v.useState)(""),H=u()(D,2),F=H[0],V=H[1],Y=(0,v.useState)(!1),U=u()(Y,2),G=U[0],K=U[1],W=(0,f.useParams)().identifier,J=(0,v.useRef)(null),q=(0,v.useRef)(null);J.current=null==t?void 0:t.enrolled,(0,v.useEffect)((function(){var e;return null===(e=q.current)||void 0===e||e.addEventListener("click",Q),function(){var e;null===(e=q.current)||void 0===e||e.removeEventListener("click",Q)}}),[]);var Q=function(e){var n;if("modal-upload"===(null==e||null===(n=e.target)||void 0===n?void 0:n.id)){if(!(0,z.tJ)(d))return;if(!J.current)return void b.Z.info({title:"提示",centered:!0,okText:"我知道了",content:"请先报名,再提交作品"});_(!0)}};(0,v.useEffect)((function(){var e,n;null!=l&&l.upload_file&&(N([{name:null==l||null===(e=l.upload_file)||void 0===e?void 0:e.title,status:"done",uid:"123456789"}]),V(null==l?void 0:l.upload_file_url),O(null==l||null===(n=l.upload_file)||void 0===n||null===(n=n.url)||void 0===n?void 0:n.split("/")[3]))}),[null==l?void 0:l.upload_file]);var X={name:"file",multiple:!1,withCredentials:!0,action:A.Z.API_SERVER+"/api/attachments.json",showUploadList:{showRemoveIcon:!1},fileList:C,onChange:function(e){var n,t=e.file.status,l=[a()({},e.file)];(N(l),"uploading"===e.file.status&&K(!0),"done"===t)&&(O(null===(n=l[0])||void 0===n||null===(n=n.response)||void 0===n?void 0:n.id),K(!1));"error"===t&&(N([]),K(!1))},beforeUpload:function(e){return e.size/1024/1024<1e3?Promise.resolve():(g.ZP.info("文件大小必须小于1000MB"),Promise.reject())}},$=function(){_(!0)};return(0,v.useImperativeHandle)(n,(function(){return{handleVisible:$}})),(0,Z.jsxs)("div",{ref:q,children:["reward"===c?(0,Z.jsx)(B,{userlist:p,dispatch:d,rewarddata:i.reward_setting,is_signed:i.is_signed}):null,(0,Z.jsx)("div",{style:{textAlign:"right"},children:((null==p?void 0:p.admin)||(null==p?void 0:p.business)||m)&&(0,Z.jsx)(S.ZP,{onClick:function(){return s(!1)},children:"编辑"})}),(0,Z.jsx)(I.Z,{value:i.md_content||"暂无"}),i&&i.attachments&&i.attachments.map((function(e,n){return(0,Z.jsx)("div",{children:(0,Z.jsxs)("a",{href:(null===A.Z||void 0===A.Z?void 0:A.Z.API_SERVER)+e.url,target:"_self",download:e.title,children:[(0,Z.jsx)("i",{style:{color:"#29BD8B"},className:"font-14 color-green iconfont icon-fujian mr8"}),(0,Z.jsx)("span",{style:{color:"#000000"},children:e.title}),(0,Z.jsx)("span",{style:{color:"#000000",marginLeft:"10px"},children:e.filesize})]})})})),(0,Z.jsx)(b.Z,{centered:!0,title:"上传作品",open:y,okText:"提交作品",cancelText:"取消",confirmLoading:G,onCancel:function(){return _(!1)},onOk:o()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(M||F){e.next=3;break}return _(!1),e.abrupt("return");case 3:return K(!0),e.next=6,(0,T.ZP)("/api/competitions/".concat(W,"/upload_file.json"),{method:"post",body:{attachment_id:M,upload_file_url:F}});case 6:0===e.sent.status&&(_(!1),K(!1));case 8:case"end":return e.stop()}}),e)}))),children:(0,Z.jsxs)("div",{children:[(0,Z.jsxs)(P.Z,{align:"middle",className:"mb20",children:[(0,Z.jsx)("span",{children:"作品链接:"}),(0,Z.jsx)(E.Z,{style:{width:416},value:F,onChange:function(e){var n;return V(null===(n=e.target)||void 0===n?void 0:n.value)}})]}),(0,Z.jsxs)(P.Z,{align:"top",children:[(0,Z.jsx)("span",{style:{lineHeight:"28px"},children:"作品文件:"}),(0,Z.jsx)(x.Z,a()(a()({},X),{},{children:(0,Z.jsx)(S.ZP,{type:"primary",className:"mb10",children:"上传作品"})}))]})]})})]})},F=(0,v.forwardRef)(H),V=t(22387),Y=t(68903);var U=function(e){var n=e.ItemData,t=e.setIssee,l=e.MenuItem,i=e.dispatch,s=e.identifier,c=e.ModelType,d=e.userinfo,p=e.getrightdatas,f=(0,v.useState)([]),m=u()(f,2),h=m[0],b=m[1],j=(0,v.useState)(n.md_content),y=u()(j,2),_=y[0],w=y[1];(0,v.useEffect)((function(){var e,t=[];null==n||null===(e=n.attachments)||void 0===e||e.map((function(e){var n={uid:e.id,name:e.title,response:{id:e.id}};t.push(n)})),b(t)}),[null==n?void 0:n.attachments]);var k={name:"file",multiple:!0,withCredentials:!0,action:A.Z.API_SERVER+"/api/attachments.json",defaultFileList:function(){var e,t=[];return null==n||null===(e=n.attachments)||void 0===e||e.map((function(e){var n={uid:null==e?void 0:e.id,name:e.title,response:{id:e.id}};t.push(n)})),t}(),onRemove:function(e){(0,Y.y8)({id:e.uid})},onChange:function(e){var n=e.file.status;"removed"===n&&b(e.fileList),"done"===n?(b(e.fileList),g.ZP.success("".concat(e.file.name," 文件上传成功"))):"error"===n&&g.ZP.error("".concat(e.file.name," 文件上传失败"))},beforeUpload:function(e){var n=e.size/1024/1024<150;return n||g.ZP.info("文件大小必须小于150MB"),n}};function C(){return(C=o()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i({type:"competitions/updateMdContent",payload:{attachment_ids:N(h),competition_module_id:n.id,md_content_id:n.md_id,content:_,identifier:s}});case 2:e.sent&&(g.ZP.info("提交成功"),t(!0),p(l));case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function N(e){var n=[];return e&&e.map((function(e){n.push(e.response.id)})),n}return console.log(k),(0,Z.jsxs)("div",{children:["reward"===c?(0,Z.jsx)(B,{userlist:d,dispatch:i,rewarddata:n.reward_setting,is_signed:n.is_signed}):null,(0,Z.jsx)(V.Z,{defaultValue:_,onChange:function(e){return w(e)}}),(0,Z.jsxs)(x.Z,a()(a()({},k),{},{children:[(0,Z.jsx)(S.ZP,{className:"uploadBtn",children:"上传附件"}),"(单个文件150M以内)"]})),(0,Z.jsxs)("p",{style:{marginTop:"10px"},children:[(0,Z.jsx)(S.ZP,{style:{width:"90px"},type:"primary",onClick:function(){return function(){return C.apply(this,arguments)}()},children:"提交"}),(0,Z.jsx)(S.ZP,{style:{marginLeft:"30px",width:"90px"},onClick:function(){return t(!0)},children:"取消"})]})]})},G=t(99313),K=t(72315);var W=function(){return(0,Z.jsxs)("div",{children:[(0,Z.jsx)("p",{style:{fontSize:"24px",color:"#05101a"},children:"总排行"}),(0,Z.jsxs)("div",{style:{textAlign:"center"},children:[(0,Z.jsx)("img",{src:A.Z.IMG_SERVER+"/images/educoder/competitions/trophy.png"}),(0,Z.jsx)("p",{children:"要抓住一切机会,向所有人证明自己,证明你能够迎接荣耀"})]})]})},J=t(43604),q=t(18889);var Q=function(e){var n=e.oneItem,t=e.towItem,l=e.threeItem;return(0,Z.jsx)("div",{style:{textAlign:"center"},children:(0,Z.jsxs)(P.Z,{gutter:16,style:{justifyContent:"center"},children:[(0,Z.jsx)(J.Z,{span:6,style:{marginTop:"30px",marginRight:"20px"},children:(0,Z.jsxs)(q.Z,{title:(0,Z.jsxs)("div",{className:m.Z.towtop,children:[(0,Z.jsx)("img",{style:{marginTop:"20px"},src:A.Z.IMG_SERVER+"/images/educoder/huangguan-two.png"}),(0,Z.jsx)("p",{style:{marginTop:"10px"},children:(0,Z.jsxs)(f.Link,{to:"/users/".concat(null==t?void 0:t.user_login,"/classrooms"),children:[(0,Z.jsx)("img",{className:m.Z.imgradius,src:A.Z.IMG_SERVER+"/images/".concat(null==t?void 0:t.user_image)}),(null==t?void 0:t.competition_prize)&&(0,Z.jsx)("p",{className:m.Z.prize,children:null==t?void 0:t.competition_prize}),(0,Z.jsx)("p",{style:{color:"#05101a",fontSize:"16px",marginTop:"10px"},children:null==t?void 0:t.record_user_name})]})})]}),className:m.Z.towdiv,bordered:!1,children:[(0,Z.jsx)("p",{style:{fontSize:"14px"},children:null==t?void 0:t.school_name}),(0,Z.jsx)("p",{style:{fontSize:"18px"},children:null==t?void 0:t.spend_time}),(0,Z.jsxs)("p",{style:{fontSize:"26px",color:"#a55b29"},children:[parseFloat(null==t?void 0:t.extra_score)+parseFloat(null==t?void 0:t.score),"分"]})]})}),(0,Z.jsx)(J.Z,{span:6,children:(0,Z.jsxs)(q.Z,{title:(0,Z.jsxs)("div",{className:m.Z.onetop,children:[(0,Z.jsx)("img",{style:{marginTop:"20px"},src:A.Z.IMG_SERVER+"/images/educoder/huangguan.png"}),(0,Z.jsx)("p",{style:{marginTop:"10px"},children:(0,Z.jsxs)(f.Link,{to:"/users/".concat(null==n?void 0:n.user_login,"/classrooms"),children:[(0,Z.jsx)("img",{className:m.Z.imgradius,src:A.Z.IMG_SERVER+"/images/".concat(null==n?void 0:n.user_image)}),(null==n?void 0:n.competition_prize)&&(0,Z.jsx)("p",{className:m.Z.prize,children:null==n?void 0:n.competition_prize}),(0,Z.jsx)("p",{style:{color:"#05101a",fontSize:"16px",marginTop:"10px"},children:null==n?void 0:n.record_user_name})]})})]}),className:m.Z.onediv,bordered:!1,children:[(0,Z.jsx)("p",{style:{fontSize:"14px"},children:null==n?void 0:n.school_name}),(0,Z.jsx)("p",{style:{fontSize:"18px"},children:null==n?void 0:n.spend_time}),(0,Z.jsxs)("p",{style:{fontSize:"26px",color:"#a55b29"},children:[parseFloat(null==n?void 0:n.extra_score)+parseFloat(null==n?void 0:n.score),"分"]})]})}),(0,Z.jsx)(J.Z,{span:6,style:{marginTop:"40px",marginLeft:"20px"},children:(0,Z.jsxs)(q.Z,{title:(0,Z.jsxs)("div",{className:m.Z.threetop,children:[(0,Z.jsx)("img",{style:{marginTop:"20px"},src:A.Z.IMG_SERVER+"/images/educoder/huangguan-three.png"}),(0,Z.jsx)("p",{style:{marginTop:"10px"},children:(0,Z.jsxs)(f.Link,{to:"/users/".concat(null==l?void 0:l.user_login,"/classrooms"),children:[(0,Z.jsx)("img",{className:m.Z.imgradius,src:A.Z.IMG_SERVER+"/images/".concat(null==l?void 0:l.user_image)}),(null==l?void 0:l.competition_prize)&&(0,Z.jsx)("p",{className:m.Z.prize,children:null==l?void 0:l.competition_prize}),(0,Z.jsx)("p",{style:{color:"#05101a",fontSize:"16px",marginTop:"10px"},children:null==l?void 0:l.record_user_name})]})})]}),className:m.Z.threediv,bordered:!1,children:[(0,Z.jsx)("p",{style:{fontSize:"14px"},children:null==l?void 0:l.school_name}),(0,Z.jsx)("p",{style:{fontSize:"18px"},children:null==l?void 0:l.spend_time}),(0,Z.jsxs)("p",{style:{fontSize:"26px",color:"#a55b29"},children:[parseFloat(null==l?void 0:l.extra_score)+parseFloat(null==l?void 0:l.score),"分"]})]})})]})})},X=t(6848);var $=function(e){var n,t,l,a,i,r,s,o,c,u,d,p,v,h,x,g,b=e.ItemData;return(0,Z.jsxs)("div",{children:[(0,Z.jsx)("p",{style:{fontSize:"24px",color:"#05101a"},children:"总排行"}),(0,Z.jsx)(Q,{oneItem:null==b?void 0:b.teams[0],towItem:null==b?void 0:b.teams[1],threeItem:null==b?void 0:b.teams[2]}),(null==b||null===(n=b.user_ranks)||void 0===n?void 0:n.length)>0&&(0,Z.jsxs)("div",{className:m.Z.myTeam,children:[!1===(null==b||null===(t=b.user_ranks)||void 0===t||null===(t=t[0])||void 0===t?void 0:t.success)?(0,Z.jsxs)("span",{style:{marginRight:"70px",padding:"10px"},children:[(0,Z.jsxs)("p",{style:{marginBottom:"0px"},children:[" 是否晋级:",(0,Z.jsx)("span",{style:{color:!1===(null==b||null===(l=b.user_ranks)||void 0===l||null===(l=l[0])||void 0===l?void 0:l.success)?"red":"green"},children:!1===(null==b||null===(a=b.user_ranks)||void 0===a||null===(a=a[0])||void 0===a?void 0:a.success)?"否":null!=b&&null!==(i=b.user_ranks)&&void 0!==i&&null!==(i=i[0])&&void 0!==i&&i.success?"是":""})]}),(null==b||null===(r=b.user_ranks)||void 0===r||null===(r=r[0])||void 0===r?void 0:r.awards)&&(0,Z.jsxs)("p",{style:{marginBottom:"0px"},children:[" 是否获奖:",(0,Z.jsx)("span",{children:"percent_20"===(null==b||null===(s=b.user_ranks)||void 0===s||null===(s=s[0])||void 0===s?void 0:s.awards)?"二等奖":"percent_30"===(null==b||null===(o=b.user_ranks)||void 0===o||null===(o=o[0])||void 0===o?void 0:o.awards)?"三等奖":"没有获得奖项"})]})]}):(0,Z.jsxs)("span",{style:{marginRight:"70px"},children:["我的排名:",null==b||null===(c=b.user_ranks)||void 0===c||null===(c=c[0])||void 0===c?void 0:c.rank]}),(0,Z.jsx)("span",{style:{flex:1},children:(0,Z.jsx)(X.Z,{title:"战队名",children:null==b||null===(u=b.user_ranks)||void 0===u||null===(u=u[0])||void 0===u?void 0:u.team_name})}),(0,Z.jsx)("span",{style:{flex:1},children:(0,Z.jsx)(X.Z,{title:"时间",children:null==b||null===(d=b.user_ranks)||void 0===d||null===(d=d[0])||void 0===d?void 0:d.cost_time})}),(0,Z.jsx)("span",{style:{flex:1,textAlign:"center"},children:(0,Z.jsx)(X.Z,{title:"赋能赛加分",children:null==b||null===(p=b.user_ranks)||void 0===p||null===(p=p[0])||void 0===p?void 0:p.extra_score})}),(0,Z.jsx)("span",{style:{flex:1},children:(0,Z.jsx)(X.Z,{title:"比赛成绩",children:null==b||null===(v=b.user_ranks)||void 0===v||null===(v=v[0])||void 0===v?void 0:v.score})}),(0,Z.jsx)("span",{children:(0,Z.jsx)(X.Z,{title:"总分",children:parseFloat(null==b||null===(h=b.user_ranks)||void 0===h||null===(h=h[0])||void 0===h?void 0:h.extra_score)+parseFloat(null==b||null===(x=b.user_ranks)||void 0===x||null===(x=x[0])||void 0===x?void 0:x.score)||0})})]}),null==b||null===(g=b.teams)||void 0===g?void 0:g.map((function(e,n){return(0,Z.jsxs)("div",{className:m.Z.bottomItem,children:[(0,Z.jsx)("span",{style:{color:"#0152d9",marginRight:"20px"},children:n+1}),(0,Z.jsxs)(f.Link,{to:"/users/".concat(null==e?void 0:e.user_login,"/classrooms"),style:{marginRight:"80px",position:"relative"},children:[(0,Z.jsx)("img",{className:m.Z.imgradius,src:A.Z.IMG_SERVER+"/images/".concat(null==e?void 0:e.user_image)}),(null==e?void 0:e.competition_prize)&&(0,Z.jsx)("span",{className:m.Z.spanrightradius,children:null==e?void 0:e.competition_prize})]}),(0,Z.jsx)("span",{style:{flex:1},children:(0,Z.jsx)(X.Z,{title:"战队名",children:null==e?void 0:e.team_name})}),(0,Z.jsx)("span",{style:{flex:1},children:(0,Z.jsx)(X.Z,{title:"单位/学校名",children:e.school_name})}),(0,Z.jsx)("span",{style:{flex:1,textAlign:"center"},children:(0,Z.jsx)(X.Z,{title:"赋能赛加分",children:e.extra_score})}),(0,Z.jsx)("span",{style:{flex:1},children:(0,Z.jsx)(X.Z,{title:"比赛成绩",children:e.score})}),(0,Z.jsx)("span",{style:{color:"#0152d9"},children:(0,Z.jsx)(X.Z,{title:"总分",children:parseFloat(e.extra_score)+parseFloat(e.score)})})]})}))]})},ee=G.Z.TabPane;var ne=function(e){var n,t,l,a,i,s,c=e.ChartRules,d=e.ItemData,p=e.getCharts,h=e.Selectkey,x=e.getChartRules,b=e.userinfo,j=e.Editable,y=e.HeaderDetail,_=(0,v.useState)(!1),w=u()(_,2),k=w[0],C=w[1],N=(0,v.useState)(""),P=u()(N,2),E=P[0],z=P[1],R=(0,v.useState)(!0),L=u()(R,2),M=L[0],O=L[1],D=(0,v.useState)(),B=u()(D,2),H=B[0],F=B[1],Y=(0,v.useState)(),U=u()(Y,2),J=U[0],q=U[1],Q=(0,f.useParams)().identifier;function X(){return(X=o()(r()().mark((function e(){var n,t,l;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(E){e.next=3;break}return g.ZP.info("内容不能为空"),e.abrupt("return");case 3:if(O(!1),!(n=null==H?void 0:H.id)){e.next=12;break}return e.next=8,(0,T.ZP)("/api/competitions/".concat(Q,"/update_md_content.json"),{method:"post",body:{competition_module_id:h,content:E,md_content_id:null===(t=c.rule_contents)||void 0===t||null===(t=t.filter((function(e){return parseInt(e.competition_stage_id)===parseInt(n)})))||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id,stage_id:null==H?void 0:H.id}});case 8:0===e.sent.status&&(g.ZP.info("更新成功"),C(!1),x()),e.next=16;break;case 12:return e.next=14,(0,T.ZP)("/api/competitions/".concat(Q,"/update_md_content.json"),{method:"post",body:{competition_module_id:h,content:E,md_content_id:null===(l=c.rule_contents)||void 0===l||null===(l=l.filter((function(e){return 0===parseInt(e.competition_stage_id)})))||void 0===l||null===(l=l[0])||void 0===l?void 0:l.id,stage_id:null==H?void 0:H.id}});case 14:0===e.sent.status&&(g.ZP.info("更新成功"),C(!1),x());case 16:case"end":return e.stop()}}),e)})))).apply(this,arguments)}(0,v.useEffect)((function(){if(M){var e,n,t,l=null==c||null===(e=c.stages)||void 0===e?void 0:e[0];if(F(l),null!=l&&l.id)"mAP"!==(null==y?void 0:y.task)&&"dog"!==(null==y?void 0:y.task)||p(null==l?void 0:l.id),z((null===(n=c.rule_contents)||void 0===n||null===(n=n.filter((function(e){return parseInt(e.competition_stage_id)===parseInt(null==l?void 0:l.id)})))||void 0===n||null===(n=n[0])||void 0===n?void 0:n.content)||"");else"mAP"===(null==y?void 0:y.task)||null==y||y.task,z((null===(t=c.rule_contents)||void 0===t||null===(t=t.filter((function(e){return 0===parseInt(e.competition_stage_id)})))||void 0===t||null===(t=t[0])||void 0===t?void 0:t.content)||"")}}),[c]);var ne=[{title:"排名",dataIndex:"name",align:"center",key:"name",render:function(e,n,t){return(0,Z.jsx)("span",{children:t+1})}},{title:"头像",dataIndex:"user_image",align:"center",key:"user_image",render:function(e){return(0,Z.jsx)("img",{className:m.Z.imgradius,src:A.Z.IMG_SERVER+"/images/".concat(e)})}},{title:"战队名称",dataIndex:"team_name",key:"team_name",render:function(e){return(0,Z.jsx)("span",{title:e,children:e&&(null==e?void 0:e.length)>=15?(null==e?void 0:e.substr(0,15))+"...":e||"--"})}},{title:"单位",dataIndex:"school_name",key:"school_name",align:"center",render:function(e){return(0,Z.jsx)("span",{children:e||"--"})}},{title:"mAP"===(null==y?void 0:y.task)?"mAP指标":"Jittor-3"===(null==y?void 0:y.task)?"总分":"top1指标",dataIndex:"score",key:"score",render:function(e){return(0,Z.jsx)("span",{children:e||"--"})}}];return(0,Z.jsxs)("div",{children:[(null==c||null===(n=c.stages)||void 0===n?void 0:n.length)>0?null:(0,Z.jsx)(W,{}),(null==c||null===(t=c.stages)||void 0===t?void 0:t.length)>0&&(0,Z.jsx)(G.Z,{animated:!0,tabBarExtraContent:((null==b?void 0:b.admin)||(null==b?void 0:b.business)||j)&&(0,Z.jsx)(S.ZP,{onClick:function(){C(!0)},children:"编辑"}),onChange:function(e){var n,t,l;C(!1);var a=null==c||null===(n=c.stages)||void 0===n?void 0:n.filter((function(n){return parseInt(e)===parseInt(null==n?void 0:n.id)}))[0];F(a);var i=null==a||null===(t=a.children)||void 0===t?void 0:t[0];q(i),z((null===(l=c.rule_contents)||void 0===l||null===(l=l.filter((function(e){return parseInt(e.competition_stage_id)===parseInt(null==a?void 0:a.id)})))||void 0===l||null===(l=l[0])||void 0===l?void 0:l.content)||""),p((null==i?void 0:i.id)||e)},children:c&&c.stages.map((function(e,n){return(0,Z.jsx)(ee,{tab:e.name,children:!1===k&&c&&c.rule_contents.map((function(n,t){return e.id===n.competition_stage_id||null===e.id&&0===n.competition_stage_id?(0,Z.jsx)(I.Z,{value:void 0===n.content||null===n.content?"":n.content},t):void 0}))},null===e.id?0:e.id)}))}),(null==H||null===(l=H.children)||void 0===l?void 0:l.length)>0&&(0,Z.jsx)(G.Z,{activeKey:(null==J?void 0:J.id)+"",onChange:function(e){var n,t=null==H||null===(n=H.children)||void 0===n?void 0:n.filter((function(n){return parseInt(e)===parseInt(null==n?void 0:n.id)}))[0];q(t),p(e)},children:null==H||null===(a=H.children)||void 0===a?void 0:a.map((function(e,n){return(0,Z.jsx)(ee,{tab:e.name},null===e.id?0:e.id)}))}),k&&(0,Z.jsxs)("div",{children:[(0,Z.jsx)(V.Z,{defaultValue:E,onChange:function(e){z(e)}}),(0,Z.jsxs)("p",{style:{marginTop:"10px"},children:[(0,Z.jsx)(S.ZP,{style:{width:"90px"},type:"primary",onClick:function(){return function(){return X.apply(this,arguments)}()},children:"提交"}),(0,Z.jsx)(S.ZP,{style:{marginLeft:"30px",width:"90px"},onClick:function(){return C(!1)},children:"取消"})]})]}),(null==d||null===(i=d.teams)||void 0===i?void 0:i.length)>0&&("mAP"===(null==y?void 0:y.task)||"dog"===(null==y?void 0:y.task)||"Jittor-3"===(null==y?void 0:y.task))?(0,Z.jsx)(K.Z,{dataSource:null==d?void 0:d.teams,columns:ne,pagination:!1}):(null==d||null===(s=d.teams)||void 0===s?void 0:s.length)>0&&(0,Z.jsx)($,{ItemData:d})]})},te=t(5806),le=t(85578),ae=t(58696),ie=t(9498),re=t.n(ie),se=G.Z.TabPane;var oe=function(e){var n,t,l,a,i,s=e.ChartRules,c=e.ItemData,d=e.getCharts,p=e.Selectkey,m=e.HeaderDetail,h=e.getChartRules,x=e.userinfo,b=e.Editable,j=e.dispatch,y=e.StaffDetail,_=(0,v.useState)(!1),w=u()(_,2),k=w[0],C=w[1],N=(0,v.useState)(""),P=u()(N,2),E=P[0],A=P[1],z=(0,v.useState)(!0),R=u()(z,2),L=R[0],M=R[1],O=(0,v.useState)(),D=u()(O,2),B=D[0],H=D[1],F=(0,v.useState)(),Y=u()(F,2),U=Y[0],J=Y[1],q=(0,f.useParams)().identifier;function Q(){return(Q=o()(r()().mark((function e(){var n,t,l;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(E){e.next=3;break}return g.ZP.info("内容不能为空"),e.abrupt("return");case 3:if(M(!1),!(n=null==B?void 0:B.id)){e.next=12;break}return e.next=8,(0,T.ZP)("/api/competitions/".concat(q,"/update_md_content.json"),{method:"post",body:{competition_module_id:p,content:E,md_content_id:null===(t=s.rule_contents)||void 0===t||null===(t=t.filter((function(e){return parseInt(e.competition_stage_id)===parseInt(n)})))||void 0===t||null===(t=t[0])||void 0===t?void 0:t.id,stage_id:null==B?void 0:B.id}});case 8:0===e.sent.status&&(g.ZP.info("更新成功"),C(!1),h()),e.next=16;break;case 12:return e.next=14,(0,T.ZP)("/api/competitions/".concat(q,"/update_md_content.json"),{method:"post",body:{competition_module_id:p,content:E,md_content_id:null===(l=s.rule_contents)||void 0===l||null===(l=l.filter((function(e){return 0===parseInt(e.competition_stage_id)})))||void 0===l||null===(l=l[0])||void 0===l?void 0:l.id,stage_id:null==B?void 0:B.id}});case 14:0===e.sent.status&&(g.ZP.info("更新成功"),C(!1),h());case 16:case"end":return e.stop()}}),e)})))).apply(this,arguments)}(0,v.useEffect)((function(){if(L){var e,n,t=null==s||null===(e=s.stages)||void 0===e?void 0:e[0];H(t);var l,a,i=null==s||null===(n=s.stages)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.children)||void 0===n?void 0:n[0];if(J(i),null!=t&&t.id)d(null==t?void 0:t.id),A((null===(l=s.rule_contents)||void 0===l||null===(l=l.filter((function(e){return parseInt(e.competition_stage_id)===parseInt(null==t?void 0:t.id)})))||void 0===l||null===(l=l[0])||void 0===l?void 0:l.content)||"");else d(0),A((null===(a=s.rule_contents)||void 0===a||null===(a=a.filter((function(e){return 0===parseInt(e.competition_stage_id)})))||void 0===a||null===(a=a[0])||void 0===a?void 0:a.content)||"")}}),[s]);var $=[{title:"request_id",dataIndex:"request_id",width:120,align:"center",key:"name",render:function(e,n,t){return(0,Z.jsx)("span",{children:e})}},{title:"附件",dataIndex:"file_name",align:"center",width:150,key:"file_name",render:function(e){return(0,Z.jsx)(X.Z,{title:e,children:(0,Z.jsx)("span",{title:e,children:e&&(null==e?void 0:e.length)>=10?(null==e?void 0:e.substr(0,10))+"...":e||"--"})})}},{title:"提交人",dataIndex:"user_name",key:"user_name",width:100,render:function(e){return(0,Z.jsx)("span",{title:e,children:e&&(null==e?void 0:e.length)>=6?(null==e?void 0:e.substr(0,6))+"...":e||"--"})}},{title:"提交时间",dataIndex:"created_at",key:"created_at",align:"center"},{title:"状态",dataIndex:"status",key:"status",width:50,render:function(e){return(0,Z.jsx)("span",{children:1===e?"计算中":2===e?"完成":0===e?"待计算":3===e&&"错误"})}},!(null!=B&&B.display_four_indicators)&&"计图挑战热身赛"===(null==B?void 0:B.name)&&{title:"数据指标1",dataIndex:"data_ranking",key:"data_ranking",align:"center",render:function(e){return(0,Z.jsx)("span",{children:e||"--"})}},!(null!=B&&B.display_four_indicators)&&"计图挑战热身赛"===(null==B?void 0:B.name)&&{title:"数据指标2",dataIndex:"data_other",key:"data_other",align:"left",render:function(e){return(null==e?void 0:e.length)>0?null==e?void 0:e.map((function(e,n){return(0,Z.jsxs)("span",{children:[null==e?void 0:e.name,":",null==e?void 0:e.value," ",(0,Z.jsx)("br",{})]})})):(0,Z.jsx)("span",{children:"--"})}},(null==B?void 0:B.display_four_indicators)&&{title:"mask accuary",dataIndex:"data_ranking",key:"data_ranking",align:"left",render:function(e){return(0,Z.jsx)("span",{children:e||"--"})}},(null==B?void 0:B.display_one_indicators)&&{title:"mIoU",dataIndex:"data_other",key:"data_ranking",align:"left",render:function(e){var n;return(0,Z.jsx)("span",{children:(null==e||null===(n=e.find((function(e){return"mIoU"===(null==e?void 0:e.name)})))||void 0===n?void 0:n.value)||"--"})}},(null==B?void 0:B.display_four_indicators)&&{title:"美学评分",dataIndex:"data_other",key:"data_other",align:"left",render:function(e){var n;return(0,Z.jsx)("span",{children:(null==e||null===(n=e.find((function(e){return"score"===(null==e?void 0:e.name)})))||void 0===n?void 0:n.value)||"--"})}},(null==B?void 0:B.display_four_indicators)&&{title:"FID",dataIndex:"data_other",key:"data_other",align:"left",render:function(e){var n;return(0,Z.jsx)("span",{children:(null==e||null===(n=e.find((function(e){return"fid"===(null==e?void 0:e.name)})))||void 0===n?void 0:n.value)||"--"})}},(null==B?void 0:B.display_four_indicators)&&{title:"风格相似度",dataIndex:"data_other",key:"data_other",align:"left",render:function(e){var n;return(0,Z.jsx)("span",{children:(null==e||null===(n=e.find((function(e){return"style_similarity"===(null==e?void 0:e.name)})))||void 0===n?void 0:n.value)||"--"})}},(null==B?void 0:B.display_four_indicators)&&{title:"总分",dataIndex:"data_other",key:"data_other",align:"left",render:function(e){var n;return(0,Z.jsx)("span",{children:(null==e||null===(n=e.find((function(e){return"total_score"===(null==e?void 0:e.name)})))||void 0===n?void 0:n.value)||"--"})}},!(null!=B&&B.display_four_indicators)&&(null==B?void 0:B.name.includes("可微渲染新视角生成赛题"))&&{title:"Car",dataIndex:"data_ranking",key:"data_ranking",align:"center",render:function(e){return(0,Z.jsx)("span",{children:e||"--"})}},!(null!=B&&B.display_four_indicators)&&(null==B?void 0:B.name.includes("可微渲染新视角生成赛题"))&&{title:"Coffee",dataIndex:"data_other",key:"data_other",align:"center",render:function(e){var n;return(0,Z.jsx)("span",{children:(null==e||null===(n=e.find((function(e){return"Coffee"===(null==e?void 0:e.name)})))||void 0===n?void 0:n.value)||"--"})}},!(null!=B&&B.display_four_indicators)&&(null==B?void 0:B.name.includes("可微渲染新视角生成赛题"))&&{title:"Easyship",dataIndex:"data_other",key:"data_other",align:"center",render:function(e){var n;return(0,Z.jsx)("span",{children:(null==e||null===(n=e.find((function(e){return"Easyship"===(null==e?void 0:e.name)})))||void 0===n?void 0:n.value)||"--"})}},!(null!=B&&B.display_four_indicators)&&(null==B?void 0:B.name.includes("可微渲染新视角生成赛题"))&&{title:"Scar",dataIndex:"data_other",key:"data_other",align:"center",render:function(e){var n;return(0,Z.jsx)("span",{children:(null==e||null===(n=e.find((function(e){return"Scar"===(null==e?void 0:e.name)})))||void 0===n?void 0:n.value)||"--"})}},!(null!=B&&B.display_four_indicators)&&(null==B?void 0:B.name.includes("可微渲染新视角生成赛题"))&&{title:"Scarf",dataIndex:"data_other",key:"data_other",align:"center",render:function(e){var n;return(0,Z.jsx)("span",{children:(null==e||null===(n=e.find((function(e){return"Scarf"===(null==e?void 0:e.name)})))||void 0===n?void 0:n.value)||"--"})}},!(null!=B&&B.display_four_indicators)&&(null==B?void 0:B.name.includes("可微渲染新视角生成赛题"))&&{title:"总分",dataIndex:"data_other",key:"data_other",align:"center",render:function(e){var n;return(0,Z.jsx)("span",{children:(null==e||null===(n=e.find((function(e){return"Total"===(null==e?void 0:e.name)})))||void 0===n?void 0:n.value)||"--"})}},{title:"操作",dataIndex:"result_url",width:50,key:"result_url",render:function(e){return(0,Z.jsx)("a",{href:e,target:"_blank",download:"附件",children:"下载"})}}].filter((function(e){return!!e}));return(0,Z.jsxs)("div",{children:[(null==s||null===(n=s.stages)||void 0===n?void 0:n.length)>0?null:(0,Z.jsx)(W,{}),(null==s||null===(t=s.stages)||void 0===t?void 0:t.length)>0&&(0,Z.jsx)(G.Z,{animated:!0,tabBarExtraContent:null!=x&&x.admin||null!=x&&x.business||b?(0,Z.jsx)(S.ZP,{onClick:function(){C(!0)},children:"编辑"}):y.enrolled&&(null==B?void 0:B.start_time)&&(null==B?void 0:B.end_time)&&(0,Z.jsxs)("span",{children:["提交时间:",re()(null==B?void 0:B.start_time).format("YYYY-MM-DD HH:mm:ss"),"至",re()(null==B?void 0:B.end_time).format("YYYY-MM-DD HH:mm:ss"),(0,Z.jsx)(S.ZP,{style:{marginLeft:"20px"},disabled:re()(null==B?void 0:B.start_time).unix()>re()(re()().format("YYYY-MM-DD HH:mm:s")).unix()||re()(re()().format("YYYY-MM-DD HH:mm:s")).unix()>re()(null==B?void 0:B.end_time).unix(),onClick:function(){j({type:"shixunsDetail/setActionTabs",payload:{key:"md-tab",params:{value:(null==U?void 0:U.id)||(null==B?void 0:B.id),id:null==m?void 0:m.id}}})},children:"提交结果"})]}),onChange:function(e){var n,t,l;C(!1);var a=null==s||null===(n=s.stages)||void 0===n?void 0:n.filter((function(n){return parseInt(e)===parseInt(null==n?void 0:n.id)}))[0],i=null==a||null===(t=a.children)||void 0===t?void 0:t[0];J(i),H(a),A((null===(l=s.rule_contents)||void 0===l||null===(l=l.filter((function(e){return parseInt(e.competition_stage_id)===parseInt(null==a?void 0:a.id)})))||void 0===l||null===(l=l[0])||void 0===l?void 0:l.content)||""),d((null==i?void 0:i.id)||e)},children:s&&s.stages.map((function(e,n){return(0,Z.jsx)(se,{tab:e.name,children:!1===k&&s&&s.rule_contents.map((function(n,t){return e.id===n.competition_stage_id||null===e.id&&0===n.competition_stage_id?(0,Z.jsx)(I.Z,{value:void 0===n.content||null===n.content?"":n.content},t):void 0}))},null===e.id?0:e.id)}))}),(null==B||null===(l=B.children)||void 0===l?void 0:l.length)>0&&(0,Z.jsx)(G.Z,{activeKey:(null==U?void 0:U.id)+"",onChange:function(e){var n,t=null==B||null===(n=B.children)||void 0===n?void 0:n.filter((function(n){return parseInt(e)===parseInt(null==n?void 0:n.id)}))[0];J(t),d(e)},children:null==B||null===(a=B.children)||void 0===a?void 0:a.map((function(e,n){return(0,Z.jsx)(se,{tab:e.name},null===e.id?0:e.id)}))}),k&&(0,Z.jsxs)("div",{children:[(0,Z.jsx)(V.Z,{defaultValue:E,onChange:function(e){A(e)}}),(0,Z.jsxs)("p",{style:{marginTop:"10px"},children:[(0,Z.jsx)(S.ZP,{style:{width:"90px"},type:"primary",onClick:function(){return function(){return Q.apply(this,arguments)}()},children:"提交"}),(0,Z.jsx)(S.ZP,{style:{marginLeft:"30px",width:"90px"},onClick:function(){return C(!1)},children:"取消"})]})]}),(null===(i=m.competition_modules.filter((function(e){return e.id===p})))||void 0===i||null===(i=i[0])||void 0===i?void 0:i.show_leaderboard)&&(0,Z.jsx)(K.Z,{dataSource:null==c?void 0:c.results,columns:$})]})},ce=t(41867),ue=G.Z.TabPane;var de=function(e){var n,t,l,i,s,c,d=e.loading,p=e.ChartRules,m=e.ItemData,h=e.getCharts,x=(e.Selectkey,e.HeaderDetail,e.getChartRules,e.userinfo,e.Editable,e.dispatch,e.StaffDetail,(0,v.useState)(!1)),g=u()(x,2),b=(g[0],g[1]),j=(0,v.useState)(""),y=u()(j,2),_=(y[0],y[1]),w=(0,v.useState)(!0),k=u()(w,2),S=k[0],N=(k[1],(0,v.useState)()),I=u()(N,2),P=I[0],T=I[1],z=(0,v.useState)(),R=u()(z,2),L=R[0],M=R[1],O=((0,f.useParams)().identifier,(0,v.useState)({page:1,limit:10,sort:"desc"})),D=u()(O,2),B=D[0],H=D[1];(0,v.useEffect)((function(){var e;S&&null!=p&&null!==(e=p.stages)&&void 0!==e&&e[0]&&F()}),[null==p||null===(n=p.stages)||void 0===n?void 0:n[0]]);var F=function(){var e=o()(r()().mark((function e(){var n,t,l,i;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=null==p||null===(n=p.stages)||void 0===n?void 0:n[0],T(l),i=null==p||null===(t=p.stages)||void 0===t||null===(t=t[0])||void 0===t||null===(t=t.children)||void 0===t?void 0:t[0],M(i),B.id=(null==i?void 0:i.id)||(null==l?void 0:l.id),H(a()({},B)),e.next=7,h(a()(a()({},B),{},{stage_id:B.id}));case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,Z.jsxs)("div",{children:[(null==p||null===(t=p.stages)||void 0===t?void 0:t.length)>0?null:(0,Z.jsx)(W,{}),(null==p||null===(l=p.stages)||void 0===l?void 0:l.length)>0&&(0,Z.jsx)(G.Z,{tabBarStyle:{height:65,marginLeft:35,marginRight:30},animated:!0,onChange:function(){var e=o()(r()().mark((function e(n){var t,l,i,s,o;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return b(!1),s=null==p||null===(t=p.stages)||void 0===t?void 0:t.filter((function(e){return parseInt(n)===parseInt(null==e?void 0:e.id)}))[0],o=null==s||null===(l=s.children)||void 0===l?void 0:l[0],M(o),T(s),_((null===(i=p.rule_contents)||void 0===i||null===(i=i.filter((function(e){return parseInt(e.competition_stage_id)===parseInt(null==s?void 0:s.id)})))||void 0===i||null===(i=i[0])||void 0===i?void 0:i.content)||""),B.page=1,B.limit=10,B.id=(null==o?void 0:o.id)||n,H(a()({},B)),e.next=9,h(a()({},B));case 9:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:p&&p.stages.map((function(e,n){return(0,Z.jsx)(ue,{tab:e.name},null===e.id?0:e.id)}))}),(null==P||null===(i=P.children)||void 0===i?void 0:i.length)>0&&(0,Z.jsx)(G.Z,{activeKey:(null==L?void 0:L.id)+"",onChange:function(){var e=o()(r()().mark((function e(n){var t,l;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=null==P||null===(t=P.children)||void 0===t?void 0:t.filter((function(e){return parseInt(n)===parseInt(null==e?void 0:e.id)}))[0],M(l),B.page=1,B.limit=10,B.id=n,H(a()({},B)),e.next=5,h(a()({},B));case 5:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:null==P||null===(s=P.children)||void 0===s?void 0:s.map((function(e,n){return(0,Z.jsx)(ue,{tab:e.name},null===e.id?0:e.id)}))}),(0,Z.jsx)("div",{style:{height:10,background:"#F5F5F5"}}),(0,Z.jsxs)("div",{style:{padding:"20px 30px"},children:[(0,Z.jsxs)("span",{style:{cursor:"pointer",marginRight:20},onClick:function(){B.page=1,B.sort="desc"===B.sort?"asc":"desc",H(a()({},B)),h(a()({},B))},children:["按提交时间","asc"===B.sort?"正":"倒","序排序 ",(0,Z.jsx)("i",{className:"iconfont font14 ".concat("asc"===B.sort?"icon-jiantou9":"icon-changyongtubiao-xianxingdaochu-zhuanqu-")})]})," ",(0,Z.jsx)(E.Z.Search,{onSearch:function(e){B.page=1,B.search=e,H(a()({},B)),h(a()({},B))},style:{width:"82%"},placeholder:"输入人员/战队名称进行搜索"}),(0,Z.jsx)(C.Z,{spinning:d,children:null==m||null===(c=m.results)||void 0===c?void 0:c.map((function(e,n){return(0,Z.jsxs)("div",{style:{border:"1px solid #E3EFFC",height:100,borderRadius:"2px 2px 0px 0px",marginTop:0===n?14:30},children:[(0,Z.jsxs)("div",{style:{height:60,padding:10,display:"flex",alignItems:"center"},children:[(0,Z.jsx)("img",{src:A.Z.IMG_SERVER+"/images/"+(null==e?void 0:e.image_url),style:{width:40,height:40,borderRadius:"50%"}}),(0,Z.jsxs)("div",{style:{marginLeft:10},children:[(0,Z.jsx)("span",{style:{color:"#333333",fontWeight:500,fontSize:"16px"},children:null==e?void 0:e.user_name}),(0,Z.jsxs)("span",{style:{color:"#999999",fontWeight:400,fontSize:"14px",marginLeft:60},children:["所属战队",(0,Z.jsx)("span",{style:{marginLeft:10,color:"#333"},children:(null==e?void 0:e.team_name)||"- -"})]}),(0,Z.jsxs)("span",{style:{color:"#333333",fontWeight:400,fontSize:"14px",marginLeft:40},children:["学校 ",(0,Z.jsx)("span",{style:{marginLeft:10,color:"#333"},children:(null==e?void 0:e.school_name)||"- -"})]})]})]}),(0,Z.jsxs)("div",{style:{background:"#EEF2F8",height:40,borderRadius:"0px 0px 2px 2px",paddingLeft:60,paddingRight:40,display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,Z.jsxs)("div",{children:[(0,Z.jsxs)("span",{style:{color:"#666666",fontSize:"12px"},children:["提交时间:",null==e?void 0:e.created_at]}),(0,Z.jsxs)("span",{style:{color:"#666666",fontSize:"12px",margin:"0px 40px"},children:["消耗内存:",(null==e?void 0:e.ts_mem)||"- -","MB"]}),(0,Z.jsxs)("span",{style:{color:"#666666",fontSize:"12px"},children:["代码执行时间:",(null==e?void 0:e.ts_time)||"- -","秒"]})]}),(0,Z.jsxs)("a",{style:{display:"flex",alignItems:"center"},href:"/tasks/".concat(null==e?void 0:e.game_identifier),target:"_blank",children:[(0,Z.jsx)("i",{className:"iconfont icon-chakandaima",style:{marginRight:4}}),(0,Z.jsx)("span",{style:{lineHeight:"14px"},children:"查看代码"})]})]})]})}))}),(0,Z.jsx)(ce.Z,{total:null==m?void 0:m.total_count,pageSize:10,hideOnSinglePage:!0,style:{marginTop:40,textAlign:"center"},showSizeChanger:!1,current:B.page,onChange:function(e,n){B.page=e,H(a()({},B)),h(a()({},B))}})]})]})},pe=t(72298),ve=G.Z.TabPane;var fe=function(e){var n,t,l,i,s,c,d,p=e.loading,m=e.ChartRules,h=e.ItemData,x=e.getCharts,g=(e.Selectkey,e.HeaderDetail),b=(e.getChartRules,e.userinfo,e.Editable,e.dispatch),j=e.StaffDetail,y=(0,v.useState)(!1),_=u()(y,2),w=(_[0],_[1]),k=(0,v.useState)(""),S=u()(k,2),N=(S[0],S[1]),I=(0,v.useState)(!0),P=u()(I,2),E=P[0],A=(P[1],(0,v.useState)()),z=u()(A,2),R=z[0],L=z[1],M=(0,v.useState)(),O=u()(M,2),D=O[0],B=O[1],H=(0,v.useState)([]),F=u()(H,2),V=F[0],Y=F[1],U=(0,f.useParams)().identifier,K=(0,v.useState)({page:1,limit:10}),J=u()(K,2),q=J[0],Q=J[1],X=(0,v.useState)(),$=u()(X,2);$[0],$[1],(0,v.useEffect)((function(){var e;E&&null!=m&&null!==(e=m.stages)&&void 0!==e&&e[0]&&ee()}),[null==m||null===(n=m.stages)||void 0===n?void 0:n[0]]);var ee=function(){var e=o()(r()().mark((function e(){var n,t,l,i;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=null==m||null===(n=m.stages)||void 0===n?void 0:n[0],L(l),i=null==m||null===(t=m.stages)||void 0===t||null===(t=t[0])||void 0===t||null===(t=t.children)||void 0===t?void 0:t[0],B(i),q.id=(null==i?void 0:i.id)||(null==l?void 0:l.id),Q(a()({},q)),e.next=7,x(a()(a()({},q),{},{stage_id:q.id}));case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function ne(){return(ne=o()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,T.ZP)("/api/competitions/".concat(U,"/get_shixun_settings.json"),{method:"get"});case 2:0===(null==(n=e.sent)?void 0:n.status)&&Y(n);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,v.useEffect)((function(){null!=g&&g.is_new&&function(){ne.apply(this,arguments)}()}),[g]),(0,Z.jsxs)("div",{children:[(null==m||null===(t=m.stages)||void 0===t?void 0:t.length)>0?null:(0,Z.jsx)(W,{}),(null==m||null===(l=m.stages)||void 0===l?void 0:l.length)>0&&(0,Z.jsx)(G.Z,{tabBarStyle:{height:65,marginLeft:35,marginRight:30},animated:!0,onChange:function(){var e=o()(r()().mark((function e(n){var t,l,i,s,o;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w(!1),s=null==m||null===(t=m.stages)||void 0===t?void 0:t.filter((function(e){return parseInt(n)===parseInt(null==e?void 0:e.id)}))[0],o=null==s||null===(l=s.children)||void 0===l?void 0:l[0],B(o),L(s),N((null===(i=m.rule_contents)||void 0===i||null===(i=i.filter((function(e){return parseInt(e.competition_stage_id)===parseInt(null==s?void 0:s.id)})))||void 0===i||null===(i=i[0])||void 0===i?void 0:i.content)||""),q.page=1,q.limit=10,q.id=(null==o?void 0:o.id)||n,Q(a()({},q)),e.next=9,x(a()({},q));case 9:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:m&&m.stages.map((function(e,n){return(0,Z.jsx)(ve,{tab:e.name},null===e.id?0:e.id)}))}),(null==R||null===(i=R.children)||void 0===i?void 0:i.length)>0&&(0,Z.jsx)(G.Z,{activeKey:(null==D?void 0:D.id)+"",tabBarStyle:{height:65,marginLeft:35,marginRight:30},onChange:function(){var e=o()(r()().mark((function e(n){var t,l;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=null==R||null===(t=R.children)||void 0===t?void 0:t.filter((function(e){return parseInt(n)===parseInt(null==e?void 0:e.id)}))[0],B(l),q.page=1,q.limit=10,q.id=n,Q(a()({},q)),e.next=5,x(a()({},q));case 5:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:null==R||null===(s=R.children)||void 0===s?void 0:s.map((function(e,n){return(0,Z.jsx)(ve,{tab:e.name},null===e.id?0:e.id)}))}),(0,Z.jsx)("div",{style:{height:10,background:"#F5F5F5"}}),(0,Z.jsxs)("div",{style:{padding:"20px 30px"},children:[(0,Z.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,Z.jsxs)("span",{style:{color:"#9096A3"},children:["作品提交时间",(0,Z.jsxs)("span",{style:{color:"#333333",marginLeft:5},children:[null==h?void 0:h.start_time,"~",null==h?void 0:h.end_time]})]}),(0,Z.jsxs)("span",{style:{color:"#9096A3"},children:["成绩来源",(0,Z.jsx)("span",{style:{color:"#333333",marginLeft:5},children:0===(null==h?void 0:h.score_source)?"经验值":"预测准确率"})," "]})]}),(0,Z.jsxs)(C.Z,{spinning:p,children:[!(null!=g&&g.is_new)&&(null==h||null===(c=h.results)||void 0===c?void 0:c.map((function(e,n){return(0,Z.jsx)(pe.Z,{dispatch:b,Header:g,StaffDetail:j,item:e,index:n})}))),(null==g?void 0:g.is_new)&&(null==V||null===(d=V.data)||void 0===d?void 0:d.map((function(e,n){return(0,Z.jsx)(pe.Z,{dispatch:b,Header:g,StaffDetail:j,item:e,index:n})})))]}),(0,Z.jsx)(ce.Z,{total:null==h?void 0:h.total_count,pageSize:10,hideOnSinglePage:!0,style:{marginTop:40,textAlign:"center"},showSizeChanger:!1,current:q.page,onChange:function(e,n){q.page=e,Q(a()({},q)),x(a()({},q))}})]})]})},me=t(31508),he=t(48474),xe=t(3296),ge=t(27223),be=t.n(ge),je=t(98190),ye=t.n(je),Ze=t(78241),_e=t(96402),we={WorkSubmitDesc:"WorkSubmitDesc___zk_Kc",WorkSubmit:"WorkSubmit___BOuVl",span:"span___sGFYr",search:"search___wZWVl",downBut:"downBut___tfNYQ"},ke=t(57732),Ce=t(97598),Se=t(86129),Ne=t.n(Se),Ie=(0,f.connect)((function(e){return be()(e),{}}))((function(e){var n,t,l,i,s=e.dispatch,c=e.userinfo,d=e.Editable,p=e.ItemData,m=e.TabResults,h=e.HeaderDetail,j=e.StaffDetail,_=e.getTabResults,w=void 0===_?function(){}:_,k=(0,v.useState)(!1),C=u()(k,2),N=C[0],A=C[1],z=(0,f.useParams)().identifier,R=(0,v.useState)(1),L=u()(R,2),M=L[0],O=L[1],D=(0,v.useState)(!1),B=u()(D,2),H=B[0],F=B[1],Y=(0,v.useState)(!1),U=u()(Y,2),W=U[0],J=U[1],q=(0,v.useState)([]),Q=u()(q,2),$=Q[0],ee=Q[1],ne=(0,v.useState)(!1),te=u()(ne,2),ae=te[0],ie=te[1],se=(0,v.useState)({name:"",url:"",id:null,fileList:[]}),oe=u()(se,2),ue=oe[0],de=oe[1],pe=(0,v.useState)({total_count:0,results:[]}),ve=u()(pe,2),fe=ve[0],me=ve[1],he=(0,v.useState)(null),xe=u()(he,2),ge=xe[0],be=xe[1],je=(0,v.useState)({page:1,per_page:20,keyword:""}),Se=u()(je,2),Ie=Se[0],Pe=Se[1],Ee=(0,v.useState)(""),Ae=u()(Ee,2),Te=Ae[0],ze=Ae[1],Re=(0,v.useState)(new(Ne())),Le=u()(Re,2),Me=Le[0];Le[1];(0,v.useEffect)((function(){F((null==c?void 0:c.admin)||(null==c?void 0:c.business)||d)}),[null==c?void 0:c.admin,null==c?void 0:c.business,d]),(0,v.useEffect)((function(){null!=p&&p.only_file&&O(2)}),[p]),(0,v.useEffect)((function(){var e,n,t,l;m.stages&&(null===(e=m.stages)||void 0===e?void 0:e.length)>0&&((null===(n=m.stages)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.children)||void 0===n?void 0:n.length)>0?be((null===(t=m.stages)||void 0===t||null===(t=t[0])||void 0===t||null===(t=t.children)||void 0===t?void 0:t[0])||null):be((null===(l=m.stages)||void 0===l?void 0:l[0])||null))}),[m.stages]),(0,v.useEffect)((function(){De()}),[null==ge?void 0:ge.id,Ie.page]);var Oe=[{title:(0,Z.jsx)("span",{style:{color:"#5F6368"},children:"队伍名称"}),dataIndex:"team_name",width:"120px",ellipsis:!0,render:function(e){return(0,Z.jsx)(X.Z,{placement:"topLeft",title:e,children:e||"- -"})},isShow:[1,2]},{title:(0,Z.jsx)("span",{style:{color:"#5F6368"},children:"提交人"}),dataIndex:"user_name",width:"120px",ellipsis:!0,render:function(e){return(0,Z.jsx)(X.Z,{placement:"topLeft",title:e,children:e||"- -"})},isShow:[1,2]},{title:(0,Z.jsx)("span",{style:{color:"#5F6368"},children:"作品名称"}),dataIndex:"name",ellipsis:!0,render:function(e,n){return e?(0,Z.jsx)("a",{href:n.url||"#",target:"_blank",children:(0,Z.jsx)(X.Z,{placement:"topLeft",title:e,children:e})}):"--"},isShow:[1]},{title:(0,Z.jsx)("span",{style:{color:"#5F6368"},children:"作品文件"}),dataIndex:"file_name",width:1==M?"180px":"",ellipsis:!0,render:function(e){return(0,Z.jsx)(X.Z,{placement:"topLeft",title:e,children:e||"- -"})},isShow:[1,2]},{title:(0,Z.jsx)("span",{style:{color:"#5F6368"},children:"更新时间"}),dataIndex:"updated_at",width:"180px",render:function(e){return e||"- -"},isShow:[1,2]},{title:(0,Z.jsx)("span",{style:{color:"#5F6368"},children:"操作"}),dataIndex:"result_url",ellipsis:!0,width:"140px",align:"center",render:function(e,n){return(0,Z.jsxs)(P.Z,{justify:H?"center":"space-between",children:[!H&&(0,Z.jsx)(S.ZP,{type:"link",onClick:function(){J(!0),de({name:n.name,url:n.url,id:n.id}),n.file_name&&ee([{uid:"-1",name:n.file_name,status:"done",url:n.result_url||""}])},children:"编辑"}),(0,Z.jsx)(Ce.Z,{type:"link",disabled:!e,onClick:o()(r()().mark((function t(){return r()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",(0,le.Nd)(n.file_name,e));case 1:case"end":return t.stop()}}),t)}))),children:H?"下载文件":"下载"})]})},isShow:[1,2]}].filter((function(e){return e.isShow.includes(M)})),De=function(){var e=o()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return ie(!0),e.next=3,s({type:"competitions/Results",payload:a()({identifier:z,stage_id:null==ge?void 0:ge.id,module_type:"worksubmit"},Ie)});case 3:n=e.sent,me(n),ie(!1);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Be=function(){var e=o()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s({type:"competitions/updateMdContent",payload:{identifier:z,stage_id:null==ge?void 0:ge.id,competition_module_id:p.id,content:Te,md_content_id:null==n?void 0:n.id}});case 2:return 0==(t=e.sent).status&&g.ZP.success(t.message),A(!1),e.next=7,w();case 7:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),He=function(){var e=o()(r()().mark((function e(n){var t,l,a,i,o,u;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log(n,$),2!=M||0!=$.length){e.next=4;break}return g.ZP.error("请选择文件"),e.abrupt("return");case 4:if(i={login:null==c?void 0:c.login,container_type:"Competition",file_name:null==$||null===(t=$[0])||void 0===t?void 0:t.name,stage_type:null==ge?void 0:ge.id,container_id:null==h?void 0:h.id,result_id:null==ue?void 0:ue.id,module_type:"worksubmit"},1!=M){e.next=13;break}return e.next=8,(0,T.ZP)("/api/competitions/".concat(z,"/check_result_url.json"),{method:"GET",params:{url:n.url,stage_id:null==ge?void 0:ge.id,result_id:null==ue?void 0:ue.id}});case 8:if(0==(null==(o=e.sent)?void 0:o.status)){e.next=11;break}return e.abrupt("return");case 11:i.name=n.name,i.url=n.url;case 13:if(1!=M||0!=$.length){e.next=19;break}return e.next=16,s({type:"competitions/getWorkSubmitUpdateRes",payload:{identifier:z,result_id:null==ue?void 0:ue.id,name:n.name,url:n.url,stage_id:null==ge?void 0:ge.id,result_url:null==ue?void 0:ue.result_url,module_type:"worksubmit"}});case 16:a=e.sent,e.next=22;break;case 19:return e.next=21,(0,y.cT)($[0],i);case 21:a=e.sent;case 22:0==(null===(l=a)||void 0===l?void 0:l.status)?g.ZP.success("提交成功"):g.ZP.info((null===(u=a)||void 0===u?void 0:u.message)||"提交失败"),J(!1),ee([]),De();case 26:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),Fe=function(){var e=o()(r()().mark((function e(){var n,t,l,a,i,c,u,d,p,v;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s({type:"competitions/Results",payload:{identifier:z,stage_id:null==ge?void 0:ge.id,page:1,per_page:9999999,keyword:"",module_type:"worksubmit"}});case 2:if(t=e.sent,l=null==t||null===(n=t.results)||void 0===n?void 0:n.filter((function(e){return(null==e?void 0:e.result_url)&&e.file_name})),a=b.Z.info({width:460,title:(0,Z.jsxs)("div",{children:["正在导出参赛文件,",(0,Z.jsx)("span",{className:"c-red",children:"请勿关闭或操作当前浏览器窗口"})]}),content:(0,Z.jsxs)("div",{children:["当前进度: ",(0,Z.jsx)("span",{className:"c-blue",children:0}),"/",l.length]}),maskClosable:!1,className:we.modal,onOk:function(){}}),i=[],c=function(){var e=o()(r()().mark((function e(n,t){var s,o,c;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,s=new(Ne()),e.next=4,fetch(n.result_url,{method:"get"});case 4:return o=e.sent,e.next=7,o.blob();case 7:return c=e.sent,s.file(n.file_name,c),e.next=11,s.generateAsync({type:"blob"}).then((function(e){!function n(t){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;0==l&&i.includes(t)||i.includes("".concat(t,"(").concat(l,")"))?n(t,l+1):(i.push(0==l?t:"".concat(t,"(").concat(l,")")),Me.file(0==l?t+".zip":"".concat(t,"(").concat(l,")")+".zip",e))}("".concat(null==n?void 0:n.team_name,"-").concat(null==n?void 0:n.user_name))}));case 11:a.update({content:(0,Z.jsxs)("div",{children:["当前进度: ",(0,Z.jsx)("span",{className:"c-blue",children:t}),"/",l.length]})}),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(0),g.ZP.error("".concat(n.file_name,"下载失败"));case 17:case"end":return e.stop()}}),e,null,[[0,14]])})));return function(n,t){return e.apply(this,arguments)}}(),!(l.length>0)){e.next=27;break}u=0,d=ye()(l),e.prev=10,d.s();case 12:if((p=d.n()).done){e.next=18;break}return v=p.value,e.next=16,c(v,++u);case 16:e.next=12;break;case 18:e.next=23;break;case 20:e.prev=20,e.t0=e.catch(10),d.e(e.t0);case 23:return e.prev=23,d.f(),e.finish(23);case 26:Me.generateAsync({type:"blob"}).then((function(e){(0,le.Nd)(h.name,window.URL.createObjectURL(e))}));case 27:a.destroy();case 28:case"end":return e.stop()}}),e,null,[[10,20,23,26]])})));return function(){return e.apply(this,arguments)}}(),Ve={maxCount:1,withCredentials:!0,fileList:$,onRemove:function(){ee([])},beforeUpload:function(e){var n=e.size/1024/1024;e.name.split(".").slice(-1)[0].toLowerCase();return 1==M&&n>150||2==M&&n/1024>1||0==n?(g.ZP.error("".concat(e.name," 文件无法上传。").concat(0==n?"文件内容不能为空":"超过文件大小限制(".concat(1==M?"150MB":"1G",")"))),Promise.reject()):(ee([e]),!1)}};return(0,Z.jsxs)("div",{className:we.WorkSubmit,children:[ge?(0,Z.jsx)(G.Z,{defaultActiveKey:(null===(n=m.stages)||void 0===n||null===(n=n[0])||void 0===n?void 0:n.id)||1,destroyInactiveTabPane:!0,tabBarExtraContent:(0,Z.jsxs)(P.Z,{style:{marginBottom:"10px"},children:[!H&&j.enrolled&&(0,Z.jsx)(S.ZP,{type:"primary",onClick:function(){return J(!0)},children:"作品提交"}),H&&!N&&(0,Z.jsx)(S.ZP,{style:{marginLeft:"10px"},type:"primary",onClick:function(){return A(!0)},children:"编辑"})]}),onChange:function(e){var n=m.stages.find((function(n){return n.id==e}));n.children.length>0?be(n.children[0]):be(n)},children:null===(t=m.stages)||void 0===t?void 0:t.map((function(e,n){var t,l,a,i,s;return(0,Z.jsxs)(G.Z.TabPane,{tab:(0,Z.jsx)("div",{style:{marginBottom:"20px"},children:e.name}),children:[N?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(V.Z,{defaultValue:(null===(t=m.rule_contents[n])||void 0===t?void 0:t.content)||"",onChange:function(e){return ze(e)}}),(0,Z.jsxs)(P.Z,{children:[(0,Z.jsx)(Ce.Z,{type:"primary",onClick:function(){return Be(m.rule_contents[n])},children:"提交"}),(0,Z.jsx)(S.ZP,{style:{marginLeft:"10px"},onClick:o()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",A(!1));case 1:case"end":return e.stop()}}),e)}))),children:"取消"})]})]}):(0,Z.jsx)(I.Z,{style:{marginTop:"10px"},value:(null===(l=m.rule_contents[n])||void 0===l?void 0:l.content)||""}),(null===(a=e.children)||void 0===a?void 0:a.length)>0&&(0,Z.jsx)(G.Z,{defaultActiveKey:null===(i=e.children)||void 0===i||null===(i=i[0])||void 0===i?void 0:i.id,destroyInactiveTabPane:!0,onChange:function(n){var t;be(null===(t=e.children)||void 0===t?void 0:t.find((function(e){return e.id==n})))},children:null===(s=e.children)||void 0===s?void 0:s.map((function(e){return(0,Z.jsx)(G.Z.TabPane,{tab:e.name},e.id)}))})]},e.id)}))}):(0,Z.jsxs)("div",{children:[(j.enrolled||H)&&(0,Z.jsxs)(P.Z,{style:{marginBottom:"10px",paddingBottom:"10px",borderBottom:"1px solid #eee"},children:[!H&&j.enrolled&&(0,Z.jsx)(S.ZP,{style:{marginLeft:"auto"},type:"primary",onClick:function(){return J(!0)},children:"作品提交"}),H&&!N&&(0,Z.jsx)(S.ZP,{style:{marginLeft:!H&&j.enrolled?"10px":"auto"},type:"primary",onClick:function(){return A(!0)},children:"编辑"})]}),N?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(V.Z,{defaultValue:(null===(l=m.rule_contents)||void 0===l||null===(l=l[0])||void 0===l?void 0:l.content)||"",onChange:function(e){return ze(e)}}),(0,Z.jsxs)(P.Z,{children:[(0,Z.jsx)(Ce.Z,{type:"primary",onClick:function(){var e;return Be(null===(e=m.rule_contents)||void 0===e?void 0:e[0])},children:"提交"}),(0,Z.jsx)(S.ZP,{style:{marginLeft:"10px"},onClick:o()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",A(!1));case 1:case"end":return e.stop()}}),e)}))),children:"取消"})]})]}):(0,Z.jsx)(I.Z,{style:{marginTop:"10px"},value:(null===(i=m.rule_contents)||void 0===i||null===(i=i[0])||void 0===i?void 0:i.content)||""})]}),H&&(0,Z.jsxs)(P.Z,{align:"middle",justify:"space-between",style:{marginTop:"21px"},children:[(0,Z.jsxs)(P.Z,{align:"middle",children:[(0,Z.jsx)(E.Z,{className:we.search,placeholder:"请输入队伍名称或提交人姓名搜索",suffix:(0,Z.jsx)("i",{className:"iconfont icon-sousuo9",onClick:De,style:{color:"#000",cursor:"pointer",fontSize:"14px"}}),onChange:function(e){Ie.keyword=e.target.value,Pe(Ie)},style:{background:"#F6F7F9"},bordered:!1,onPressEnter:De}),(0,Z.jsxs)("div",{style:{color:"#9B9B9B",fontSize:"14px",marginLeft:"20px"},children:["当前共计作品",(0,Z.jsx)("span",{style:{color:"#165DFF"},children:fe.total_count}),"个"]})]}),(0,Z.jsxs)(P.Z,{align:"middle",children:[1==M&&(0,Z.jsx)(S.ZP,{style:{lineHeight:"32px"},target:"_blank",href:"/api/competitions/".concat(z,"/results.xlsx?identifier=").concat(z,"&stage_id=").concat((null==ge?void 0:ge.id)||"","&module_type=worksubmit"),icon:(0,Z.jsx)("i",{className:"iconfont icon-lianjie3",style:{fontSize:"16px",color:"#44D7B6"}}),className:we.downBut,children:"下载作品链接"}),(0,Z.jsx)(Ce.Z,{icon:(0,Z.jsx)("i",{className:"iconfont icon-wenjian4",style:{fontSize:"16px",color:"#F6C555"}}),className:we.downBut,style:{marginLeft:"20px"},onClick:Fe,children:"下载所有文件"})]})]}),(0,Z.jsx)(K.Z,{style:{marginTop:"17px"},loading:ae,columns:Oe,dataSource:fe.results,locale:{emptyText:(0,Z.jsx)(ke.Z,{})},pagination:!1}),(0,Z.jsxs)(P.Z,{style:{marginTop:"20px"},align:"middle",justify:"space-between",children:[((null==ge?void 0:ge.end_time)&&(null==ge?void 0:ge.start_time)||h.start_time&&h.end_time)&&(0,Z.jsxs)("span",{className:we.span,children:["提交时间:",(0,Z.jsx)("span",{children:re()((null==ge?void 0:ge.start_time)||h.start_time).format("YYYY-MM-DD HH:mm:ss")})," 至 ",(0,Z.jsx)("span",{children:re()((null==ge?void 0:ge.end_time)||h.end_time).format("YYYY-MM-DD HH:mm:ss")})]}),(0,Z.jsx)(ce.Z,{showQuickJumper:!0,hideOnSinglePage:!0,total:fe.total_count,pageSize:Ie.per_page,onChange:function(e){Ie.page=e,Pe(Ie)}})]}),(0,Z.jsxs)(b.Z,{centered:!0,destroyOnClose:!0,title:(0,Z.jsx)("div",{style:{fontWeight:"500",color:"#000000",marginTop:"10px"},children:"参数作品提交"}),open:W,bodyStyle:{padding:" 0px 25px 10px 25px"},footer:null,onCancel:function(){J(!1),ee([]),de(null)},children:[(0,Z.jsx)("div",{className:we.WorkSubmitDesc,children:"说明:参赛作品不支持删除,大赛进行中上传后的作品如需修改,可在【作品提交】列表点击“编辑”进行修改。"}),(0,Z.jsxs)(Ze.Z,{initialValues:ue,colon:!1,onFinish:He,children:[1==M&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(Ze.Z.Item,{label:"作品名称",name:"name",rules:[{required:!0,message:"请填写作品名称"}],children:(0,Z.jsx)(E.Z,{showCount:!0,maxLength:60,placeholder:"请输入作品名称"})}),(0,Z.jsx)(Ze.Z.Item,{label:"作品链接",name:"url",rules:[{required:!0,message:"请填写作品链接"}],children:(0,Z.jsx)(E.Z,{placeholder:"请输入作品链接"})})]}),(0,Z.jsxs)(Ze.Z.Item,{name:"fileList",style:{paddingLeft:1==M?"76px":"0"},valuePropName:"fileList",getValueFromEvent:function(e){return Array.isArray(e)?e:null==e?void 0:e.fileList},children:[1==M&&(0,Z.jsx)(x.Z,a()(a()({},Ve),{},{children:(0,Z.jsxs)(P.Z,{align:"middle",children:[(0,Z.jsx)(S.ZP,{type:"primary",ghost:!0,icon:(0,Z.jsx)(_e.Z,{}),children:$.length>0?"更换文件":"文件上传"}),(0,Z.jsx)(X.Z,{placement:"right",overlayStyle:{maxWidth:600},title:(0,Z.jsxs)("div",{onClick:function(e){e.preventDefault(),e.stopPropagation()},children:[(0,Z.jsx)("p",{children:"提示:"}),(0,Z.jsx)("p",{children:"1. 一次最多上传1个文件。"}),(0,Z.jsx)("p",{children:"2. 单个文件大小请勿超过150M。"})]}),children:(0,Z.jsx)("i",{onClick:function(e){e.preventDefault(),e.stopPropagation()},className:"iconfont icon-tishixiaowenhao ml5",style:{cursor:"pointer",color:"#C5C5C5"}})})]})})),2==M&&(0,Z.jsxs)(x.Z.Dragger,a()(a()({className:we.fileList,style:{background:"#fff",padding:"31px 0px"}},Ve),{},{children:[(0,Z.jsx)("p",{className:"ant-upload-drag-icon",children:(0,Z.jsx)("i",{className:"iconfont icon-shangchuan4",style:{fontSize:"32px",color:"#165DFF"}})}),(0,Z.jsx)("p",{className:"ant-upload-text",children:"拖拽文件或者点击上传"})]}))]}),(0,Z.jsx)(Ze.Z.Item,{children:(0,Z.jsxs)(P.Z,{align:"middle",children:[(0,Z.jsx)(S.ZP,{style:{marginLeft:"auto"},onClick:function(){J(!1),ee([]),de(null)},children:"取消"}),(0,Z.jsx)(S.ZP,{type:"primary",style:{marginLeft:"10px"},htmlType:"submit",children:"确定"})]})})]})]})]})})),Pe=["globalSetting","loading","dispatch","user"],Ee=(0,f.connect)((function(e){var n=e.loading;return{globalSetting:e.globalSetting,loading:n,user:e.user}}))((function(e){e.globalSetting;var n,t,l,i,s,c,d,x,j=e.loading,y=e.dispatch,_=e.user,I=(p()(e,Pe),(0,v.useState)({avatar_url:""})),P=u()(I,2),E=P[0],T=P[1],R=(0,v.useState)([]),L=u()(R,2),M=L[0],O=L[1],D=(0,f.useParams)().identifier,B=(0,v.useState)([]),H=u()(B,2),V=H[0],Y=H[1],G=(0,v.useState)(!0),K=u()(G,2),W=K[0],J=K[1],q=(0,v.useState)([]),Q=u()(q,2),X=Q[0],$=Q[1],ee=(0,v.useState)([]),ie=u()(ee,2),re=ie[0],se=ie[1],ce=(0,v.useState)(!1),ue=u()(ce,2),pe=ue[0],ve=ue[1],ge=(0,v.useState)(!1),be=u()(ge,2),je=be[0],ye=be[1],Ze=(0,v.useState)(!1),_e=u()(Ze,2),we=_e[0],ke=_e[1],Ce=(0,v.useState)([]),Se=u()(Ce,2),Ne=Se[0],Ee=Se[1],Ae=(0,v.useState)([]),Te=u()(Ae,2),ze=Te[0],Re=Te[1],Le=(0,v.useState)([]),Me=u()(Le,2),Oe=Me[0],De=Me[1],Be=(0,v.useState)(!1),He=u()(Be,2),Fe=He[0],Ve=He[1],Ye=(0,v.useState)([]),Ue=u()(Ye,2),Ge=Ue[0],Ke=Ue[1],We=(0,v.useState)(),Je=u()(We,2),qe=Je[0],Qe=Je[1],Xe=(0,v.useState)(!0),$e=u()(Xe,2),en=$e[0],nn=$e[1],tn=(0,v.useState)(!1),ln=u()(tn,2),an=ln[0],rn=ln[1],sn=(0,v.useState)(!1),on=u()(sn,2),cn=on[0],un=on[1],dn=(0,v.useState)(!1),pn=u()(dn,2),vn=pn[0],fn=pn[1],mn=(0,v.useState)(!1),hn=u()(mn,2),xn=hn[0],gn=hn[1],bn=(0,v.useState)(!1),jn=u()(bn,2),yn=jn[0],Zn=jn[1],_n=(0,v.useState)(!0),wn=u()(_n,2),kn=wn[0],Cn=wn[1],Sn=(0,v.useState)(!1),Nn=u()(Sn,2),In=Nn[0],Pn=Nn[1],En=(0,v.useState)(!1),An=u()(En,2),Tn=An[0],zn=An[1],Rn=(0,v.useState)(""),Ln=u()(Rn,2),Mn=Ln[0],On=Ln[1],Dn=(0,f.useLocation)(),Bn=(0,v.useRef)(null),Hn=(0,v.useState)(!1),Fn=u()(Hn,2),Vn=Fn[0],Yn=Fn[1];function Un(){return Gn.apply(this,arguments)}function Gn(){return(Gn=o()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=O,e.next=3,y({type:"competitions/getStaff",payload:{identifier:D}});case 3:return e.t1=e.sent,(0,e.t0)(e.t1),e.next=7,y({type:"competitions/getHeader",payload:{identifier:D}});case 7:n=e.sent,T(n),(0,le.Dk)((null==n?void 0:n.name)||"竞赛");case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Kn(e){return Wn.apply(this,arguments)}function Wn(){return(Wn=o()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(De(n.id),Oe=n.id,$(n),"entrance"!==n.module_type){e.next=9;break}return e.next=6,y({type:"competitions/getItem",payload:{url:n.module_url,module_type:"entrance"}});case 6:t=e.sent,e.next=12;break;case 9:return e.next=11,y({type:"competitions/getItem",payload:{url:n.module_url}});case 11:t=e.sent;case 12:ve(!1),ke(!1),Ve(!1),Y(t),rn(!1),un(!1),Yn(!1),se(n.module_type),"worksubmit"===n.module_type?(J(!1),Yn(!0),at()):"chart"===n.module_type?(ve(!0),J(!1),Qn()):"certificate"===n.module_type?(ke(!0),ve(!1),J(!1),rt()):"md_tab"===n.module_type?(Ve(!0),J(!1),localStorage.setItem("issee","2"),ve(!1),ke(!1),at()):"md_shixun"===n.module_type?(rn(!0),J(!1),at()):"entrance"===n.module_type?(un(!0),J(!1),at()):(J(!0),localStorage.setItem("issee","1"));case 21:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Jn(e,n,t){return qn.apply(this,arguments)}function qn(){return(qn=o()(r()().mark((function e(n,t,l){var a;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n.stopPropagation(),!E.teacher_need_phone&&!E.member_need_phone){e.next=4;break}return Pn(!0),e.abrupt("return");case 4:if((0,z.tJ)(y)){e.next=6;break}return e.abrupt("return");case 6:if(null==E||!E.is_authentication||null!=_&&null!==(a=_.userInfo)&&void 0!==a&&a.authentication){e.next=9;break}return y({type:"shixunsDetail/setActionTabs",payload:{key:"Banner-Auth"}}),e.abrupt("return");case 9:if(null==E||!E.enroll_url){e.next=12;break}return(0,le.xg)(null==E?void 0:E.enroll_url),e.abrupt("return");case 12:if("ismodel"!==l){e.next=29;break}if(t.invite_code){e.next=16;break}return g.ZP.info("本竞赛只面向部分学校/单位开放,你暂时没有参赛资格"),e.abrupt("return");case 16:if(!0!==t.member_of_course){e.next=20;break}(0,le.xg)("/classrooms/".concat(t.course_id)),e.next=27;break;case 20:if(t.invite_code){e.next=23;break}return g.ZP.info("本竞赛只面向部分学校/单位开放,你暂时没有参赛资格"),e.abrupt("return");case 23:return e.next=25,y({type:"competitions/addApplytojoincourse",payload:{invite_code:t.invite_code,student:1}});case 25:0===e.sent.status&&(0,le.xg)("/classrooms/".concat(t.course_id));case 27:e.next=33;break;case 29:if(!0!==M.enrolled){e.next=32;break}return(0,le.xg)(l),e.abrupt("return");case 32:fn(!0);case 33:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Qn(){return Xn.apply(this,arguments)}function Xn(){return(Xn=o()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=ye,e.next=3,y({type:"competitions/ChartRules",payload:{identifier:D}});case 3:return e.t1=e.sent,e.next=6,(0,e.t0)(e.t1);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function $n(){return($n=o()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y({type:"competitions/Charts",payload:{identifier:D,stage_id:n}});case 2:t=e.sent,Y(t);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function et(){return(et=o()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return nn(!0),e.next=3,y({type:"competitions/Results",payload:a()({identifier:D,stage_id:null==n?void 0:n.id},n)});case 3:t=e.sent,Y(t),nn(!1);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function nt(){return(nt=o()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return nn(!0),e.next=3,y({type:"competitions/Results",payload:a()({identifier:D,stage_id:null==n?void 0:n.id,module_type:"entrance"},n)});case 3:t=e.sent,Y(t),nn(!1);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function tt(e){return lt.apply(this,arguments)}function lt(){return(lt=o()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y({type:"competitions/Results",payload:{identifier:D,stage_id:n}});case 2:if(t=e.sent,"1"!==localStorage.getItem("issee")){e.next=5;break}return e.abrupt("return");case 5:Y(t);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function at(){return it.apply(this,arguments)}function it(){return(it=o()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Ke,e.next=3,y({type:"competitions/TabResults",payload:{identifier:D,competition_module_id:Oe}});case 3:e.t1=e.sent,(0,e.t0)(e.t1);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function rt(){return st.apply(this,arguments)}function st(){return(st=o()(r()().mark((function e(){var n,t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y({type:"competitions/Prize",payload:{identifier:D,user_id:null==_||null===(n=_.userInfo)||void 0===n?void 0:n.user_id}});case 2:t=e.sent,Ee(t);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ot(){return(ot=o()(r()().mark((function e(){var n,t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y({type:"competitions/Accounts",payload:{id:null==_||null===(n=_.userInfo)||void 0===n?void 0:n.user_id}});case 2:t=e.sent,Re(t);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ct(){return(ct=o()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(kn){e.next=2;break}return e.abrupt("return");case 2:if(Cn(!1),!ut()){e.next=5;break}return e.abrupt("return");case 5:return e.next=7,y({type:"competitions/AddTeam",payload:{identifier:D,name:n}});case 7:(t=e.sent)&&0===t.status?(On(t),zn(!0),Un(),gn(!1)):Cn(!0);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ut(){var e,n,t,l,a,i;if(null!=_&&null!==(e=_.userInfo)&&void 0!==e&&e.is_teacher){if((null!=M&&null!==(t=M.all_staff)&&void 0!==t&&t.mutiple_limited||null!=M&&null!==(l=M.teacher_staff)&&void 0!==l&&l.mutiple_limited)&&null!=M&&M.enrolled)return g.ZP.info("你已经报名,不能重复报名"),Cn(!0),!0}else if((null!=M&&null!==(a=M.all_staff)&&void 0!==a&&a.mutiple_limited||null!=M&&null!==(i=M.member_staff)&&void 0!==i&&i.mutiple_limited)&&null!=M&&M.enrolled)return g.ZP.info("你已经报名,不能重复报名"),Cn(!0),!0;if(null!=M&&M.enroll_ended)return g.ZP.info("报名已截止,无需报名"),Cn(!0),!0;if(null!=M&&M.all_staff)return!1;if(null!=_&&null!==(n=_.userInfo)&&void 0!==n&&n.is_teacher){if(!M.teacher_staff)return g.ZP.info("已禁止老师报名"),Cn(!0),!0}else if(null==M||!M.member_staff)return g.ZP.info("已禁止学生报名"),Cn(!0),!0}function dt(){return(dt=o()(r()().mark((function e(n){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(kn){e.next=2;break}return e.abrupt("return");case 2:if(!ut()){e.next=4;break}return e.abrupt("return");case 4:return Cn(!1),e.next=7,y({type:"competitions/JoinTeam",payload:{identifier:D,invite_code:n}});case 7:(t=e.sent)&&0===t.status?(zn(!0),On(t),Zn(!1),Cn(!0),Un()):Cn(!0);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return(0,v.useEffect)((function(){console.log("++++++++++++++++++++++++++++++++++++",D),D&&Un(),(0,le.Dk)("竞赛")}),[D]),(0,v.useEffect)((function(){var e;Qe(1===parseInt(null==Dn||null===(e=Dn.query)||void 0===e?void 0:e.type))}),[Dn]),(0,v.useEffect)((function(){var e;if((null==E||null===(e=E.competition_modules)||void 0===e?void 0:e.length)>0){var n,t;if("赛题发布"===(null==Dn||null===(n=Dn.query)||void 0===n?void 0:n.active)){var l,a=null==E||null===(l=E.competition_modules)||void 0===l?void 0:l.find((function(e){return"赛题发布"===e.name}));if(a)return void Kn(a)}Kn(null==E||null===(t=E.competition_modules)||void 0===t?void 0:t[0])}}),[E]),(0,Z.jsxs)("div",{className:"edu-container minH500",children:[(0,Z.jsxs)(k.Z,{className:"mt10",separator:">",children:[(0,Z.jsx)(k.Z.Item,{children:(0,Z.jsx)(f.Link,{to:"/competitions/index",children:"在线竞赛"})}),(0,Z.jsxs)(k.Z.Item,{children:[E.name,E.sub_title?"-"+E.sub_title:null]})]}),(0,Z.jsxs)("div",{className:"mt10",style:{display:"flex",background:"#fff",position:"relative",padding:"20px 12px"},children:[(0,Z.jsx)(C.Z,{spinning:j.effects["competitions/getHeader"],children:(0,Z.jsxs)("div",{style:{height:"355px",width:"800px"},children:[(null==E?void 0:E.avatar_url)&&null!==(null==E?void 0:E.avatar_url)&&(0,Z.jsx)("img",{style:{height:"355px",width:"800px"},src:A.Z.IMG_SERVER+"/"+(null==E?void 0:E.avatar_url)}),!(null!=E&&E.avatar_url)&&null==(null==E?void 0:E.avatar_url)&&(0,Z.jsx)("img",{style:{height:"355px",width:"800px"},src:A.Z.IMG_SERVER+"/images/educoder/competitions/mainbanner.jpg"})]})}),(0,Z.jsxs)("div",{style:{marginLeft:"20px",width:"400px"},children:[(0,Z.jsxs)("p",{className:"".concat(m.Z.titlesize),children:[E.name,E.sub_title?"-"+E.sub_title:null]}),(0,Z.jsxs)("p",{style:{display:"flex",justifyContent:"space-between",marginRight:18},children:[(0,Z.jsxs)("span",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[(0,Z.jsx)("span",{children:"奖金"}),null!=E&&E.bonus?(0,Z.jsxs)("span",{style:{fontSize:"24px"},children:["¥",parseInt(E&&E.bonus).toLocaleString()]}):(0,Z.jsx)("span",{style:{fontSize:"24px"},children:"暂无"})]}),(0,Z.jsxs)("span",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[(0,Z.jsx)("span",{children:"浏览"}),(0,Z.jsx)("span",{style:{fontSize:"24px"},children:parseInt(E&&E.visits_count).toLocaleString()})]}),(0,Z.jsxs)("span",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[(0,Z.jsx)("span",{children:"报名"}),(0,Z.jsx)("span",{style:{fontSize:"24px"},children:parseInt(E&&E.member_count).toLocaleString()})]})]}),(0,Z.jsxs)("p",{className:m.Z.timesize,style:{marginTop:30},children:[(0,Z.jsx)("span",{style:{color:"#9b9b9b",marginTop:"30px"},children:"竞赛时间:"}),E.start_time,"~",E.end_time]}),(0,Z.jsxs)("p",{className:m.Z.timesize,children:[(0,Z.jsx)("span",{style:{color:"#9b9b9b"},children:"报名截止:"}),E.enroll_end_time]}),"ended"===E.competition_status?(0,Z.jsxs)("p",{className:m.Z.timesize,children:[(0,Z.jsx)("span",{style:{color:"#9b9b9b"},children:"竞赛状态:"}),"已结束"]}):null,"nearly_published"===E.competition_status?(0,Z.jsxs)("p",{className:m.Z.timesize,children:[(0,Z.jsx)("span",{style:{color:"#9b9b9b"},children:"竞赛状态:"}),"未发布"]}):null,"progressing"===E.competition_status?(0,Z.jsxs)("p",{className:m.Z.timesize,children:[(0,Z.jsx)("span",{style:{color:"#9b9b9b"},children:"竞赛状态:"}),"进行中"]}):null,(0,Z.jsxs)("div",{style:{display:"flex",justifyContent:"center"},children:[(null==E?void 0:E.mode)<=2&&M.enrolled&&(0,Z.jsxs)(S.ZP,{onClick:function(e){var n;1===(null==E?void 0:E.mode)?Kn(null===(n=E.competition_modules)||void 0===n?void 0:n.find((function(e){return"entrance"===e.module_type}))):Jn(e,E,"ismodel")},style:{background:"#07C160",color:"#fff",border:"1px solid #07C160",marginRight:20,display:2===(null==E?void 0:E.mode)||1===(null==E?void 0:E.mode)&&(null===(n=E.competition_modules)||void 0===n||null===(n=n.filter((function(e){return"entrance"===e.module_type})))||void 0===n?void 0:n.length)>0?"":"none"},className:m.Z.buttonsize,children:[1===(null==E?void 0:E.mode)&&"赛题入口",2===(null==E?void 0:E.mode)&&"进入课堂"]}),"ended"===E.competition_status?(0,Z.jsx)(S.ZP,{type:"primary",className:m.Z.buttonsize,disabled:!0,children:"已结束"}):null,"nearly_published"===E.competition_status?(0,Z.jsx)(S.ZP,{type:"primary",className:m.Z.buttonsize,disabled:!0,children:"未发布"}):null,"nearly_published"!==E.competition_status&&E.enroll_end&&"ended"!==E.competition_status?(0,Z.jsx)(S.ZP,{type:"primary",className:m.Z.buttonsize,disabled:!0,children:"报名截止"}):null,"progressing"===E.competition_status&&1!=E.enroll_end&&E.enroll_end_time?(0,Z.jsx)(S.ZP,{type:"primary",disabled:M.enrolled&&!E.need_attachment,className:m.Z.buttonsize,onClick:function(e){var n;M.enrolled&&E.need_attachment?null===(n=Bn.current)||void 0===n||n.handleVisible():Jn(e,E,2===E.mode?"ismodel":E.personal?"personal":"/competitions/".concat(E.identifier,"/detail/enroll"))},children:M.enrolled?E.need_attachment?"上传作品":"已报名":null!=E&&E.enroll_url?"前往大赛官网报名":"立即报名"}):null]}),"游客"!=_.userInfo.real_name&&!(null!=E&&E.enroll_url)&&E.enroll_end_time&&(0,Z.jsx)("span",{onClick:function(e){return Jn(e,E,2===E.mode?"ismodel":E.personal?"personal":"/competitions/".concat(E.identifier,"/detail/enroll"))},className:m.Z.myteam,children:(0,ae.j5)()?"参赛战队>>":"我的战队>>"})]})]}),(0,Z.jsxs)("div",{className:m.Z.bootmdetail,children:[(0,Z.jsx)("div",{className:m.Z.flex1,children:(0,Z.jsx)(N.Z,{selectedKeys:["".concat(Oe)],children:E&&E.competition_modules&&E.competition_modules.map((function(e,n){if("enroll"!=e.module_type)return(0,Z.jsx)(N.Z.Item,{className:m.Z.menuItem,onClick:function(){if(null!=e&&e.is_authentication){if(!(0,z.tJ)(y))return;g.ZP.info("加入战队才能查看")}else Kn(e)},children:e.name},e.id)}))})}),(0,Z.jsxs)("div",{className:m.Z.flex6,style:{padding:(an||cn)&&0},children:[we?(0,Z.jsx)(te.Z,{dispatch:y,userid:null==_||null===(t=_.userInfo)||void 0===t?void 0:t.user_id,Prize:Ne,Accounts:ze,getAccounts:function(){return ot.apply(this,arguments)}}):null,pe?(0,Z.jsx)(ne,{HeaderDetail:E,userinfo:_.userInfo,Editable:null==E||null===(l=E.permission)||void 0===l?void 0:l.editable,getCharts:function(e){return $n.apply(this,arguments)},getChartRules:Qn,Selectkey:Oe,ChartRules:je,ItemData:V}):null,W?(0,Z.jsx)(F,{ref:Bn,StaffDetail:M,HeaderDetail:E,userinfo:_.userInfo,Editable:null==E||null===(i=E.permission)||void 0===i?void 0:i.editable,ItemData:V,setIssee:J,ModelType:re,dispatch:y}):null,W||an||cn||pe||we||Fe||Vn?null:(0,Z.jsx)(U,{userinfo:_.userInfo,ModelType:re,getrightdatas:Kn,dispatch:y,MenuItem:X,setIssee:J,identifier:D,ItemData:V}),Fe&&(0,Z.jsx)(oe,{dispatch:y,StaffDetail:M,userinfo:_.userInfo,HeaderDetail:E,Editable:null==E||null===(s=E.permission)||void 0===s?void 0:s.editable,getCharts:tt,getChartRules:at,Selectkey:Oe,ChartRules:Ge,ItemData:V}),an&&(0,Z.jsx)(de,{loading:en,dispatch:y,StaffDetail:M,userinfo:_.userInfo,HeaderDetail:E,Editable:null==E||null===(c=E.permission)||void 0===c?void 0:c.editable,getCharts:function(e){return et.apply(this,arguments)},getChartRules:at,Selectkey:Oe,ChartRules:Ge,ItemData:V}),cn&&(0,Z.jsx)(fe,{loading:en,dispatch:y,StaffDetail:M,userinfo:_.userInfo,HeaderDetail:E,Editable:null==E||null===(d=E.permission)||void 0===d?void 0:d.editable,getCharts:function(e){return nt.apply(this,arguments)},getChartRules:at,Selectkey:Oe,ChartRules:Ge,ItemData:V}),Vn&&(0,Z.jsx)(Ie,{HeaderDetail:E,userinfo:_.userInfo,StaffDetail:M,Editable:null==E||null===(x=E.permission)||void 0===x?void 0:x.editable,ItemData:X,TabResults:Ge,getTabResults:at})]})]}),(0,Z.jsx)(h.Z,{}),(0,Z.jsx)(w,{getResults:tt}),(0,Z.jsx)(b.Z,{open:qe,footer:null,width:720,title:"提示",centered:!0,onCancel:function(){return Qe(!1)},children:(0,Z.jsxs)("div",{className:m.Z.modal,children:[(0,Z.jsx)("div",{children:"华为模型王者挑战赛黄金赛正式开启啦"}),(0,Z.jsxs)("div",{children:["本赛段总奖金高达",(0,Z.jsx)("span",{style:{color:"#FF8C29"},children:"300,000"}),"元"]}),(0,Z.jsx)("div",{children:"1、符合赛题要求的队伍(共25支)可获得奖金:12000RMB/队 ;"}),(0,Z.jsx)("div",{children:"2、参与获得“荣耀殿堂”榜主的队伍,可获得由中国软件开源创新大赛组委会颁发的黄金宝箱;"}),(0,Z.jsx)("div",{children:"3、各赛题精度最高的队伍,可获得由中国软件开源创新大赛组委会颁发的黄金宝箱+荣誉证书;"}),(0,Z.jsx)("div",{children:"心动吧,那就快点击下方按钮报名参赛"}),(0,Z.jsx)(S.ZP,{type:"primary",onClick:function(){return(0,le.xg)("https://competition.huaweicloud.com/information/1000041485/introduction")},children:"前往报名参赛"})]})}),(0,Z.jsx)(b.Z,{title:"选择参赛方式",open:vn,onCancel:function(){fn(!1)},footer:!1,children:(0,Z.jsxs)("div",{style:{display:"flex",justifyContent:"space-around",height:100,alignItems:"center"},children:[(0,Z.jsx)(S.ZP,{type:"primary",style:{height:40},onClick:function(){Zn(!0),fn(!1)},children:"加入战队参赛"}),(0,Z.jsx)(S.ZP,{style:{height:40},onClick:function(){gn(!0),fn(!1)},children:"去创建战队参赛"})]})}),yn?(0,Z.jsx)(me.Z,{isjoin:yn,setJoin:Zn,JoinTeams:function(e){return dt.apply(this,arguments)}}):null,xn?(0,Z.jsx)(he.Z,{isAddmodle:xn,setIsAdd:gn,createTeam:function(e){return ct.apply(this,arguments)}}):null,(0,Z.jsx)(xe.Z,{datas:Mn,isopen:Tn,setisopen:zn,isShowPhone:In,setIsShowPhone:Pn,user:_,dispatch:y,onOK:o()(r()().mark((function e(){var n;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y({type:"competitions/getHeader",payload:{identifier:D}});case 2:n=e.sent,T(n);case 4:case"end":return e.stop()}}),e)})))})]})}))},48474:function(e,n,t){"use strict";var l=t(11006),a=t.n(l),i=t(59301),r=t(43418),s=t(8591),o=t(1056),c=t(99174),u=t(37712);n.Z=function(e){var n=e.isAddmodle,t=e.setIsAdd,l=e.createTeam,d=(0,i.useState)(""),p=a()(d,2),v=p[0],f=p[1];return(0,u.jsx)(r.Z,{className:"modal_styles",centered:!0,title:(0,u.jsxs)("div",{style:{alignItems:"center",display:"flex"},children:[(0,u.jsx)("div",{style:{textAlign:"left",flex:"1"},children:"创建战队"}),(0,u.jsx)(c.Z,{onClick:function(){return t(!1)},style:{cursor:"porint"}})]}),open:n,closable:!1,destroyOnClose:!0,onOk:function(){v?l(v):s.ZP.info("战队名不能为空")},onCancel:function(){return t(!1)},children:(0,u.jsxs)("div",{children:[(0,u.jsx)("span",{style:{fontSize:"14px",color:"#F73737",marginLeft:"10px"},children:"*"}),"队名:",(0,u.jsx)("p",{style:{marginTop:"15px",marginLeft:"10px",marginRight:"10px"},children:(0,u.jsx)(o.Z,{placeholder:"请输入队名",value:v,maxLength:60,addonAfter:String(v&&v.length||0)+"/60",onChange:function(e){return f(e.target.value)}})})]})})}},31508:function(e,n,t){"use strict";var l=t(11006),a=t.n(l),i=t(59301),r=t(43418),s=t(8591),o=t(1056),c=t(99174),u=t(37712);n.Z=function(e){var n=e.isjoin,t=e.setJoin,l=e.JoinTeams,d=(0,i.useState)(""),p=a()(d,2),v=p[0],f=p[1];return(0,u.jsx)(r.Z,{className:"modal_styles",centered:!0,title:(0,u.jsxs)("div",{style:{alignItems:"center",display:"flex"},children:[(0,u.jsx)("div",{style:{textAlign:"left",flex:"1"},children:"加入战队"}),(0,u.jsx)(c.Z,{onClick:function(){return t(!1)},style:{cursor:"porint"}})]}),open:n,closable:!1,destroyOnClose:!0,onOk:function(){v?l(v):s.ZP.info("邀请码不能为空")},onCancel:function(){return t(!1)},children:(0,u.jsx)("div",{children:(0,u.jsxs)("p",{style:{marginLeft:"10px",display:"flex",alignItems:"center",marginRight:"10px"},children:[(0,u.jsx)("span",{style:{flex:"none"},children:"邀请码:"})," ",(0,u.jsx)(o.Z,{placeholder:"请输入邀请码",value:v,maxLength:60,addonAfter:String(v&&v.length||0)+"/60",onChange:function(e){return f(e.target.value)}})]})})})}},3296:function(e,n,t){"use strict";var l=t(10574),a=t.n(l),i=t(39343),r=t.n(i),s=t(11006),o=t.n(s),c=t(59301),u=t(8591),d=t(43418),p=t(1056),v=t(3113),f=t(15830),m=t(1162),h=t(85578),x=t(67871),g=t(37712),b=/^1\d{10}$/;n.Z=function(e){var n=e.isShowPhone,t=e.setIsShowPhone,l=e.user,i=e.dispatch,s=e.onOK,j=e.isopen,y=e.setisopen,Z=e.datas,_=(0,c.useState)(""),w=o()(_,2),k=w[0],C=w[1],S=(0,c.useState)(""),N=o()(S,2),I=N[0],P=N[1],E=(0,c.useState)(60),A=o()(E,2),T=A[0],z=A[1],R=(0,c.useState)(),L=o()(R,2),M=L[0],O=L[1],D=(0,c.useState)(!1),B=o()(D,2),H=B[0],F=B[1],V=(0,c.useState)(!1),Y=o()(V,2),U=Y[0],G=Y[1],K=(0,c.useState)(""),W=o()(K,2),J=W[0],q=W[1],Q=(0,c.useRef)();(0,c.useEffect)((function(){return function(){Q.current&&clearInterval(Q.current)}}),[]),(0,m.Y)((function(){M&&(z(60),T>0?z(T-1):(z(60),O(!1),Q.current&&clearInterval(Q.current)))}),1e3);var X=function(){var e=r()(a()().mark((function e(){var n,t,r;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,f.ZP)("/api/users/accounts/".concat(null===(n=l.userInfo)||void 0===n?void 0:n.login,"/valid_phone.json"),{method:"get",params:{phone:k}});case 2:if(-1!==(null==(t=e.sent)?void 0:t.status)){e.next=5;break}return e.abrupt("return");case 5:if(null==t||!t.is_exists){e.next=8;break}return F(!0),e.abrupt("return");case 8:return r=(0,h.M)(k),e.next=11,i({type:"account/getCode",payload:{login:k,type:3,smscode:r}});case 11:1===e.sent.status&&(u.ZP.info("验证码已发送,请注意查收"),O(!0));case 13:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,g.jsxs)("div",{children:[(0,g.jsx)(d.Z,{title:"强制解绑",open:U,onCancel:function(){return G(!1)},onOk:r()(a()().mark((function e(){var n,i;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(J){e.next=3;break}return u.ZP.info("验证码不能为空"),e.abrupt("return");case 3:return e.next=5,(0,f.ZP)("/api/users/accounts/".concat(null==l||null===(n=l.userInfo)||void 0===n?void 0:n.login,"/phone_force_unbind.json"),{method:"POST",body:{code:J,phone:k}});case 5:0===(null==(i=e.sent)?void 0:i.status)&&(u.ZP.info("解绑成功"),O(!1),G(!1),s(),t(!1),q(""));case 7:case"end":return e.stop()}}),e)}))),children:(0,g.jsxs)("div",{style:{padding:"8px 24px"},children:[(0,g.jsx)("p",{children:"若原账号只有绑定了手机号一种登录方式,强制解绑后会导致原账号无法登录,请确定是否强制解绑"}),(0,g.jsxs)("p",{children:["你的手机号:",k]}),(0,g.jsxs)("p",{children:["手机验证码:",(0,g.jsx)(p.Z,{value:J,size:"middle",onChange:function(e){return q(e.target.value)},style:{width:"240px"}})," ",(0,g.jsx)(v.ZP,{disabled:M,type:"primary",size:"middle",onClick:r()(a()().mark((function e(){var n;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(0,h.M)(k),e.next=3,i({type:"account/getCode",payload:{login:k,type:10,smscode:n}});case 3:1===e.sent.status&&(u.ZP.info("验证码已发送,请注意查收"),O(!0));case 5:case"end":return e.stop()}}),e)}))),children:M?"重新发送".concat(T,"s"):"获取验证码"})]})]})}),(0,g.jsx)(d.Z,{title:"提示",open:H,onCancel:function(){F(!1)},okText:"进行强制解绑",okButtonProps:{type:"primary",ghost:!0,style:{width:"124px"}},onOk:function(){G(!0),F(!1)},children:(0,g.jsxs)("div",{style:{padding:"7px 24px"},children:[(0,g.jsx)("span",{children:"该手机号已经被绑定账号,如果需要将该手机号绑定在当前账号上,你可以进行下方任意一种解绑操作:"}),(0,g.jsx)("br",{}),(0,g.jsx)("p",{style:{marginTop:"1em",display:"flex"},children:(0,g.jsx)("span",{style:{flex:"1"},children:"1、使用该手机号登录平台进行解绑,再将手机号绑定当前账号上。"})}),(0,g.jsx)("p",{style:{marginTop:"1em",display:"flex"},children:(0,g.jsx)("span",{style:{flex:"1"},children:"2、强制解绑(强制解绑可能会导致解绑账号无法登录)"})})]})}),(0,g.jsx)(d.Z,{title:"绑定手机号",open:n,onCancel:function(){return t(!1)},onOk:r()(a()().mark((function e(){var n,r,o;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(b.test(k)){e.next=3;break}return u.ZP.info("请输入有效的11位手机号码"),e.abrupt("return");case 3:if(I){e.next=6;break}return u.ZP.info("请输入验证码"),e.abrupt("return");case 6:return n=l.userInfo||{},r=n.login,e.next=9,i({type:"account/bindPhone",payload:{login:r,phone:k,code:I}});case 9:0===(null==(o=e.sent)?void 0:o.status)&&(t(!1),s());case 11:case"end":return e.stop()}}),e)}))),children:(0,g.jsxs)("div",{style:{padding:"8px 24px"},children:[(0,g.jsx)("p",{children:"平台已检测到您未绑定手机号,为了不影响使用报名功能,请先绑定手机号码"}),(0,g.jsxs)("p",{children:["你的手机号:",(0,g.jsx)(p.Z,{size:"middle",value:k,onChange:function(e){return C(e.target.value)},style:{width:"240px"}})]}),(0,g.jsxs)("p",{children:["手机验证码:",(0,g.jsx)(p.Z,{size:"middle",value:I,onChange:function(e){return P(e.target.value)},style:{width:"240px"}})," ",(0,g.jsx)(v.ZP,{disabled:M,type:"primary",size:"middle",onClick:r()(a()().mark((function e(){return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(b.test(k)){e.next=3;break}return u.ZP.info("请输入有效的11位手机号码"),e.abrupt("return");case 3:X();case 4:case"end":return e.stop()}}),e)}))),children:M?"重新发送".concat(T,"s"):"获取验证码"})]})]})}),(0,g.jsx)(d.Z,{open:j,footer:!1,onCancel:function(){return y(!1)},centered:!0,width:460,children:(0,g.jsxs)("div",{children:[(0,g.jsxs)("div",{style:{marginTop:50,fontSize:26,color:"#3d3d3d",textAlign:"center",marginBottom:20},children:[(0,g.jsx)("i",{style:{fontSize:26,color:"#52C41A"},className:"iconfont icon-tongguo"})," 报名成功"]}),(0,g.jsxs)("div",{style:{alignItems:"center",textAlign:"center"},children:[(0,g.jsx)("img",{style:{width:180,border:"1px solid #eeeeef",padding:10,marginBottom:20},src:x.Z.IMG_SERVER+(null==Z?void 0:Z.QR_code)}),(0,g.jsx)("p",{style:{color:"#AAAAAA"},children:"参赛者可扫码加入大赛官方交流群,获取最新竞赛通知"})]})]})})]})}},3567:function(e,n,t){"use strict";t.d(n,{P:function(){return l}});var l=[{value:"北京",label:"北京",children:[{value:"东城",label:"东城"},{value:"西城",label:"西城"},{value:"朝阳",label:"朝阳"},{value:"丰台",label:"丰台"},{value:"石景山",label:"石景山"},{value:"海淀",label:"海淀"},{value:"门头沟",label:"门头沟"},{value:"房山",label:"房山"},{value:"通州",label:"通州"},{value:"顺义",label:"顺义"},{value:"昌平",label:"昌平"},{value:"大兴",label:"大兴"},{value:"平谷",label:"平谷"},{value:"怀柔",label:"怀柔"},{value:"密云",label:"密云"},{value:"延庆",label:"延庆"}]},{value:"上海",label:"上海",children:[{value:"崇明",label:"崇明"},{value:"黄浦",label:"黄浦"},{value:"卢湾",label:"卢湾"},{value:"徐汇",label:"徐汇"},{value:"长宁",label:"长宁"},{value:"静安",label:"静安"},{value:"普陀",label:"普陀"},{value:"闸北",label:"闸北"},{value:"虹口",label:"虹口"},{value:"杨浦",label:"杨浦"},{value:"闵行",label:"闵行"},{value:"宝山",label:"宝山"},{value:"嘉定",label:"嘉定"},{value:"浦东",label:"浦东"},{value:"金山",label:"金山"},{value:"松江",label:"松江"},{value:"青浦",label:"青浦"},{value:"南汇",label:"南汇"},{value:"奉贤",label:"奉贤"}]},{value:"广东",label:"广东",children:[{value:"广州",label:"广州"},{value:"深圳",label:"深圳"},{value:"珠海",label:"珠海"},{value:"东莞",label:"东莞"},{value:"中山",label:"中山"},{value:"佛山",label:"佛山"},{value:"惠州",label:"惠州"},{value:"河源",label:"河源"},{value:"潮州",label:"潮州"},{value:"江门",label:"江门"},{value:"揭阳",label:"揭阳"},{value:"茂名",label:"茂名"},{value:"梅州",label:"梅州"},{value:"清远",label:"清远"},{value:"汕头",label:"汕头"},{value:"汕尾",label:"汕尾"},{value:"韶关",label:"韶关"},{value:"顺德",label:"顺德"},{value:"阳江",label:"阳江"},{value:"云浮",label:"云浮"},{value:"湛江",label:"湛江"},{value:"肇庆",label:"肇庆"}]},{value:"江苏",label:"江苏",children:[{value:"南京",label:"南京"},{value:"常熟",label:"常熟"},{value:"常州",label:"常州"},{value:"海门",label:"海门"},{value:"淮安",label:"淮安"},{value:"江都",label:"江都"},{value:"江阴",label:"江阴"},{value:"昆山",label:"昆山"},{value:"连云港",label:"连云港"},{value:"南通",label:"南通"},{value:"启东",label:"启东"},{value:"沭阳",label:"沭阳"},{value:"宿迁",label:"宿迁"},{value:"苏州",label:"苏州"},{value:"太仓",label:"太仓"},{value:"泰州",label:"泰州"},{value:"同里",label:"同里"},{value:"无锡",label:"无锡"},{value:"徐州",label:"徐州"},{value:"盐城",label:"盐城"},{value:"扬州",label:"扬州"},{value:"宜兴",label:"宜兴"},{value:"仪征",label:"仪征"},{value:"张家港",label:"张家港"},{value:"镇江",label:"镇江"}]},{value:"重庆",label:"重庆",children:[{value:"万州",label:"万州"},{value:"涪陵",label:"涪陵"},{value:"渝中",label:"渝中"},{value:"大渡口",label:"大渡口"},{value:"江北",label:"江北"},{value:"沙坪坝",label:"沙坪坝"},{value:"九龙坡",label:"九龙坡"},{value:"南岸",label:"南岸"},{value:"北碚",label:"北碚"},{value:"万盛",label:"万盛"},{value:"双挢",label:"双挢"},{value:"渝北",label:"渝北"},{value:"巴南",label:"巴南"},{value:"黔江",label:"黔江"},{value:"长寿",label:"长寿"},{value:"綦江",label:"綦江"},{value:"潼南",label:"潼南"},{value:"铜梁",label:"铜梁"},{value:"大足",label:"大足"},{value:"荣昌",label:"荣昌"},{value:"壁山",label:"壁山"},{value:"梁平",label:"梁平"},{value:"城口",label:"城口"},{value:"丰都",label:"丰都"},{value:"垫江",label:"垫江"},{value:"武隆",label:"武隆"},{value:"忠县",label:"忠县"},{value:"开县",label:"开县"},{value:"云阳",label:"云阳"},{value:"奉节",label:"奉节"},{value:"巫山",label:"巫山"},{value:"巫溪",label:"巫溪"},{value:"石柱",label:"石柱"},{value:"秀山",label:"秀山"},{value:"酉阳",label:"酉阳"},{value:"彭水",label:"彭水"},{value:"江津",label:"江津"},{value:"合川",label:"合川"},{value:"永川",label:"永川"},{value:"南川",label:"南川"}]},{value:"安徽",label:"安徽",children:[{value:"合肥",label:"合肥"},{value:"安庆",label:"安庆"},{value:"蚌埠",label:"蚌埠"},{value:"亳州",label:"亳州"},{value:"巢湖",label:"巢湖"},{value:"滁州",label:"滁州"},{value:"阜阳",label:"阜阳"},{value:"贵池",label:"贵池"},{value:"淮北",label:"淮北"},{value:"淮化",label:"淮化"},{value:"淮南",label:"淮南"},{value:"黄山",label:"黄山"},{value:"九华山",label:"九华山"},{value:"六安",label:"六安"},{value:"马鞍山",label:"马鞍山"},{value:"宿州",label:"宿州"},{value:"铜陵",label:"铜陵"},{value:"屯溪",label:"屯溪"},{value:"芜湖",label:"芜湖"},{value:"宣城",label:"宣城"}]},{value:"福建",label:"福建",children:[{value:"福州",label:"福州"},{value:"厦门",label:"厦门"},{value:"泉州",label:"泉州"},{value:"漳州",label:"漳州"},{value:"龙岩",label:"龙岩"},{value:"南平",label:"南平"},{value:"宁德",label:"宁德"},{value:"莆田",label:"莆田"},{value:"三明",label:"三明"}]},{value:"甘肃",label:"甘肃",children:[{value:"兰州",label:"兰州"},{value:"嘉峪关",label:"嘉峪关"},{value:"白银",label:"白银"},{value:"定西",label:"定西"},{value:"敦煌",label:"敦煌"},{value:"甘南",label:"甘南"},{value:"金昌",label:"金昌"},{value:"酒泉",label:"酒泉"},{value:"临夏",label:"临夏"},{value:"平凉",label:"平凉"},{value:"天水",label:"天水"},{value:"陇南",label:"陇南"},{value:"武威",label:"武威"},{value:"西峰",label:"西峰"},{value:"张掖",label:"张掖"}]},{value:"广西",label:"广西",children:[{value:"南宁",label:"南宁"},{value:"来宾",label:"来宾"},{value:"百色",label:"百色"},{value:"北海",label:"北海"},{value:"桂林",label:"桂林"},{value:"防城港",label:"防城港"},{value:"贵港",label:"贵港"},{value:"河池",label:"河池"},{value:"贺州",label:"贺州"},{value:"柳州",label:"柳州"},{value:"钦州",label:"钦州"},{value:"梧州",label:"梧州"},{value:"玉林",label:"玉林"}]},{value:"贵州",label:"贵州",children:[{value:"贵阳",label:"贵阳"},{value:"安顺",label:"安顺"},{value:"毕节",label:"毕节"},{value:"都匀",label:"都匀"},{value:"凯里",label:"凯里"},{value:"六盘水",label:"六盘水"},{value:"铜仁",label:"铜仁"},{value:"兴义",label:"兴义"},{value:"玉屏",label:"玉屏"},{value:"遵义",label:"遵义"}]},{value:"海南",label:"海南",children:[{value:"海口",label:"海口"},{value:"儋县",label:"儋县"},{value:"陵水",label:"陵水"},{value:"琼海",label:"琼海"},{value:"三亚",label:"三亚"},{value:"通什",label:"通什"},{value:"万宁",label:"万宁"}]},{value:"河北",label:"河北",children:[{value:"石家庄",label:"石家庄"},{value:"保定",label:"保定"},{value:"北戴河",label:"北戴河"},{value:"沧州",label:"沧州"},{value:"承德",label:"承德"},{value:"丰润",label:"丰润"},{value:"邯郸",label:"邯郸"},{value:"衡水",label:"衡水"},{value:"廊坊",label:"廊坊"},{value:"南戴河",label:"南戴河"},{value:"秦皇岛",label:"秦皇岛"},{value:"唐山",label:"唐山"},{value:"新城",label:"新城"},{value:"邢台",label:"邢台"},{value:"张家口",label:"张家口"}]},{value:"黑龙江",label:"黑龙江",children:[{value:"哈尔滨",label:"哈尔滨"},{value:"北安",label:"北安"},{value:"大庆",label:"大庆"},{value:"大兴安岭",label:"大兴安岭"},{value:"鹤岗",label:"鹤岗"},{value:"黑河",label:"黑河"},{value:"佳木斯",label:"佳木斯"},{value:"鸡西",label:"鸡西"},{value:"牡丹江",label:"牡丹江"},{value:"齐齐哈尔",label:"齐齐哈尔"},{value:"七台河",label:"七台河"},{value:"双鸭山",label:"双鸭山"},{value:"绥化",label:"绥化"},{value:"伊春",label:"伊春"}]},{value:"河南",label:"河南",children:[{value:"郑州",label:"郑州"},{value:"安阳",label:"安阳"},{value:"鹤壁",label:"鹤壁"},{value:"潢川",label:"潢川"},{value:"焦作",label:"焦作"},{value:"济源",label:"济源"},{value:"开封",label:"开封"},{value:"漯河",label:"漯河"},{value:"洛阳",label:"洛阳"},{value:"南阳",label:"南阳"},{value:"平顶山",label:"平顶山"},{value:"濮阳",label:"濮阳"},{value:"三门峡",label:"三门峡"},{value:"商丘",label:"商丘"},{value:"新乡",label:"新乡"},{value:"信阳",label:"信阳"},{value:"许昌",label:"许昌"},{value:"周口",label:"周口"},{value:"驻马店",label:"驻马店"}]},{value:"香港",label:"香港",children:[{value:"香港",label:"香港"},{value:"九龙",label:"九龙"},{value:"新界",label:"新界"}]},{value:"湖北",label:"湖北",children:[{value:"武汉",label:"武汉"},{value:"天门",label:"天门"},{value:"恩施",label:"恩施"},{value:"鄂州",label:"鄂州"},{value:"黄冈",label:"黄冈"},{value:"黄石",label:"黄石"},{value:"荆门",label:"荆门"},{value:"荆州",label:"荆州"},{value:"潜江",label:"潜江"},{value:"十堰",label:"十堰"},{value:"随州",label:"随州"},{value:"武穴",label:"武穴"},{value:"仙桃",label:"仙桃"},{value:"咸宁",label:"咸宁"},{value:"襄阳",label:"襄阳"},{value:"襄樊",label:"襄樊"},{value:"孝感",label:"孝感"},{value:"宜昌",label:"宜昌"}]},{value:"湖南",label:"湖南",children:[{value:"长沙",label:"长沙"},{value:"常德",label:"常德"},{value:"郴州",label:"郴州"},{value:"衡阳",label:"衡阳"},{value:"怀化",label:"怀化"},{value:"吉首",label:"吉首"},{value:"娄底",label:"娄底"},{value:"邵阳",label:"邵阳"},{value:"湘潭",label:"湘潭"},{value:"益阳",label:"益阳"},{value:"岳阳",label:"岳阳"},{value:"永州",label:"永州"},{value:"张家界",label:"张家界"},{value:"株洲",label:"株洲"}]},{value:"江西",label:"江西",children:[{value:"南昌",label:"南昌"},{value:"抚州",label:"抚州"},{value:"赣州",label:"赣州"},{value:"吉安",label:"吉安"},{value:"景德镇",label:"景德镇"},{value:"井冈山",label:"井冈山"},{value:"九江",label:"九江"},{value:"庐山",label:"庐山"},{value:"萍乡",label:"萍乡"},{value:"上饶",label:"上饶"},{value:"新余",label:"新余"},{value:"宜春",label:"宜春"},{value:"鹰潭",label:"鹰潭"}]},{value:"吉林",label:"吉林",children:[{value:"长春",label:"长春"},{value:"吉林",label:"吉林"},{value:"白城",label:"白城"},{value:"白山",label:"白山"},{value:"珲春",label:"珲春"},{value:"辽源",label:"辽源"},{value:"梅河",label:"梅河"},{value:"四平",label:"四平"},{value:"松原",label:"松原"},{value:"通化",label:"通化"},{value:"延吉",label:"延吉"}]},{value:"辽宁",label:"辽宁",children:[{value:"沈阳",label:"沈阳"},{value:"鞍山",label:"鞍山"},{value:"本溪",label:"本溪"},{value:"朝阳",label:"朝阳"},{value:"大连",label:"大连"},{value:"丹东",label:"丹东"},{value:"抚顺",label:"抚顺"},{value:"阜新",label:"阜新"},{value:"葫芦岛",label:"葫芦岛"},{value:"锦州",label:"锦州"},{value:"辽阳",label:"辽阳"},{value:"盘锦",label:"盘锦"},{value:"铁岭",label:"铁岭"},{value:"营口",label:"营口"}]},{value:"澳门",label:"澳门",children:[{value:"澳门",label:"澳门"}]},{value:"内蒙古",label:"内蒙古",children:[{value:"呼和浩特",label:"呼和浩特"},{value:"阿拉善盟",label:"阿拉善盟"},{value:"包头",label:"包头"},{value:"赤峰",label:"赤峰"},{value:"东胜",label:"东胜"},{value:"海拉尔",label:"海拉尔"},{value:"集宁",label:"集宁"},{value:"临河",label:"临河"},{value:"通辽",label:"通辽"},{value:"乌海",label:"乌海"},{value:"乌兰浩特",label:"乌兰浩特"},{value:"锡林浩特",label:"锡林浩特"}]},{value:"宁夏",label:"宁夏",children:[{value:"银川",label:"银川"},{value:"固源",label:"固源"},{value:"石嘴山",label:"石嘴山"},{value:"吴忠",label:"吴忠"}]},{value:"青海",label:"青海",children:[{value:"西宁",label:"西宁"},{value:"德令哈",label:"德令哈"},{value:"格尔木",label:"格尔木"},{value:"共和",label:"共和"},{value:"海东",label:"海东"},{value:"海晏",label:"海晏"},{value:"玛沁",label:"玛沁"},{value:"同仁",label:"同仁"},{value:"玉树",label:"玉树"}]},{value:"山东",label:"山东",children:[{value:"济南",label:"济南"},{value:"滨州",label:"滨州"},{value:"兖州",label:"兖州"},{value:"德州",label:"德州"},{value:"东营",label:"东营"},{value:"菏泽",label:"菏泽"},{value:"济宁",label:"济宁"},{value:"莱芜",label:"莱芜"},{value:"聊城",label:"聊城"},{value:"临沂",label:"临沂"},{value:"蓬莱",label:"蓬莱"},{value:"青岛",label:"青岛"},{value:"曲阜",label:"曲阜"},{value:"日照",label:"日照"},{value:"泰安",label:"泰安"},{value:"潍坊",label:"潍坊"},{value:"威海",label:"威海"},{value:"烟台",label:"烟台"},{value:"枣庄",label:"枣庄"},{value:"淄博",label:"淄博"}]},{value:"山西",label:"山西",children:[{value:"太原",label:"太原"},{value:"吕梁",label:"吕梁"},{value:"长治",label:"长治"},{value:"大同",label:"大同"},{value:"候马",label:"候马"},{value:"晋城",label:"晋城"},{value:"离石",label:"离石"},{value:"临汾",label:"临汾"},{value:"宁武",label:"宁武"},{value:"朔州",label:"朔州"},{value:"忻州",label:"忻州"},{value:"阳泉",label:"阳泉"},{value:"榆次",label:"榆次"},{value:"晋中",label:"晋中"},{value:"运城",label:"运城"}]},{value:"陕西",label:"陕西",children:[{value:"西安",label:"西安"},{value:"安康",label:"安康"},{value:"宝鸡",label:"宝鸡"},{value:"汉中",label:"汉中"},{value:"渭南",label:"渭南"},{value:"商州",label:"商州"},{value:"绥德",label:"绥德"},{value:"铜川",label:"铜川"},{value:"咸阳",label:"咸阳"},{value:"延安",label:"延安"},{value:"榆林",label:"榆林"}]},{value:"四川",label:"四川",children:[{value:"成都",label:"成都"},{value:"巴中",label:"巴中"},{value:"达川",label:"达川"},{value:"德阳",label:"德阳"},{value:"都江堰",label:"都江堰"},{value:"峨眉山",label:"峨眉山"},{value:"涪陵",label:"涪陵"},{value:"广安",label:"广安"},{value:"广元",label:"广元"},{value:"九寨沟",label:"九寨沟"},{value:"康定",label:"康定"},{value:"乐山",label:"乐山"},{value:"泸州",label:"泸州"},{value:"马尔康",label:"马尔康"},{value:"绵阳",label:"绵阳"},{value:"眉山",label:"眉山"},{value:"南充",label:"南充"},{value:"内江",label:"内江"},{value:"攀枝花",label:"攀枝花"},{value:"遂宁",label:"遂宁"},{value:"汶川",label:"汶川"},{value:"西昌",label:"西昌"},{value:"雅安",label:"雅安"},{value:"宜宾",label:"宜宾"},{value:"自贡",label:"自贡"},{value:"资阳",label:"资阳"}]},{value:"台湾",label:"台湾",children:[{value:"台北",label:"台北"},{value:"基隆",label:"基隆"},{value:"台南",label:"台南"},{value:"台中",label:"台中"},{value:"高雄",label:"高雄"},{value:"屏东",label:"屏东"},{value:"南投",label:"南投"},{value:"云林",label:"云林"},{value:"新竹",label:"新竹"},{value:"彰化",label:"彰化"},{value:"苗栗",label:"苗栗"},{value:"嘉义",label:"嘉义"},{value:"桃园",label:"桃园"},{value:"宜兰",label:"宜兰"},{value:"台东",label:"台东"},{value:"金门",label:"金门"},{value:"马祖",label:"马祖"},{value:"澎湖",label:"澎湖"}]},{value:"天津",label:"天津",children:[{value:"天津",label:"天津"},{value:"和平",label:"和平"},{value:"东丽",label:"东丽"},{value:"河东",label:"河东"},{value:"西青",label:"西青"},{value:"河西",label:"河西"},{value:"津南",label:"津南"},{value:"南开",label:"南开"},{value:"北辰",label:"北辰"},{value:"河北",label:"河北"},{value:"武清",label:"武清"},{value:"红挢",label:"红挢"},{value:"塘沽",label:"塘沽"},{value:"汉沽",label:"汉沽"},{value:"大港",label:"大港"},{value:"宁河",label:"宁河"},{value:"静海",label:"静海"},{value:"宝坻",label:"宝坻"},{value:"蓟县",label:"蓟县"}]},{value:"新疆",label:"新疆",children:[{value:"乌鲁木齐",label:"乌鲁木齐"},{value:"阿克苏",label:"阿克苏"},{value:"阿勒泰",label:"阿勒泰"},{value:"阿图什",label:"阿图什"},{value:"博乐",label:"博乐"},{value:"昌吉",label:"昌吉"},{value:"东山",label:"东山"},{value:"哈密",label:"哈密"},{value:"和田",label:"和田"},{value:"喀什",label:"喀什"},{value:"克拉玛依",label:"克拉玛依"},{value:"库车",label:"库车"},{value:"库尔勒",label:"库尔勒"},{value:"奎屯",label:"奎屯"},{value:"石河子",label:"石河子"},{value:"塔城",label:"塔城"},{value:"吐鲁番",label:"吐鲁番"},{value:"伊宁",label:"伊宁"}]},{value:"西藏",label:"西藏",children:[{value:"拉萨",label:"拉萨"},{value:"阿里",label:"阿里"},{value:"昌都",label:"昌都"},{value:"林芝",label:"林芝"},{value:"那曲",label:"那曲"},{value:"日喀则",label:"日喀则"},{value:"山南",label:"山南"}]},{value:"云南",label:"云南",children:[{value:"昆明",label:"昆明"},{value:"大理",label:"大理"},{value:"保山",label:"保山"},{value:"楚雄",label:"楚雄"},{value:"大理",label:"大理"},{value:"东川",label:"东川"},{value:"个旧",label:"个旧"},{value:"景洪",label:"景洪"},{value:"开远",label:"开远"},{value:"临沧",label:"临沧"},{value:"丽江",label:"丽江"},{value:"六库",label:"六库"},{value:"潞西",label:"潞西"},{value:"曲靖",label:"曲靖"},{value:"思茅",label:"思茅"},{value:"文山",label:"文山"},{value:"西双版纳",label:"西双版纳"},{value:"玉溪",label:"玉溪"},{value:"中甸",label:"中甸"},{value:"昭通",label:"昭通"}]},{value:"浙江",label:"浙江",children:[{value:"杭州",label:"杭州"},{value:"温州",label:"温州"},{value:"安吉",label:"安吉"},{value:"慈溪",label:"慈溪"},{value:"定海",label:"定海"},{value:"奉化",label:"奉化"},{value:"海盐",label:"海盐"},{value:"黄岩",label:"黄岩"},{value:"湖州",label:"湖州"},{value:"嘉兴",label:"嘉兴"},{value:"金华",label:"金华"},{value:"临安",label:"临安"},{value:"临海",label:"临海"},{value:"丽水",label:"丽水"},{value:"宁波",label:"宁波"},{value:"瓯海",label:"瓯海"},{value:"平湖",label:"平湖"},{value:"千岛湖",label:"千岛湖"},{value:"衢州",label:"衢州"},{value:"江山",label:"江山"},{value:"瑞安",label:"瑞安"},{value:"绍兴",label:"绍兴"},{value:"嵊州",label:"嵊州"},{value:"台州",label:"台州"},{value:"温岭",label:"温岭"},{value:"余姚",label:"余姚"},{value:"舟山",label:"舟山"}]},{value:"海外",label:"海外",children:[{value:"美国",label:"美国"},{value:"日本",label:"日本"},{value:"英国",label:"英国"},{value:"法国",label:"法国"},{value:"德国",label:"德国"},{value:"其他",label:"其他"}]}]},1162:function(e,n,t){"use strict";t.d(n,{Y:function(){return a}});var l=t(59301);function a(e,n){var t=(0,l.useRef)(),a=(0,l.useRef)();(0,l.useEffect)((function(){t.current=e})),(0,l.useEffect)((function(){if(null!==n){var e=setInterval((function(){t.current()}),n);return a.current=e,function(){return clearInterval(e)}}}),[n])}},54278:function(e,n){"use strict";n.Z={flex_box_center:"flex_box_center___fo_3c",flex_space_between:"flex_space_between___G46CO",flex_box_vertical_center:"flex_box_vertical_center___br3Kr",flex_box_center_end:"flex_box_center_end___Xdo94",flex_box_column:"flex_box_column___Bcnmr",wrp:"wrp___TY7QJ",bg:"bg___xiaSy",commonimg:"commonimg___a4R0Q",titlesize:"titlesize___Wdd_a",timesize:"timesize___OkfYO",flex1:"flex1___N6paY",buttonsize:"buttonsize___syL9V",myteam:"myteam___RTWAt",bootmdetail:"bootmdetail___taUGk",menuItem:"menuItem___Kww4S",flex6:"flex6___RuzJ4",spanprev:"spanprev___Cssg_",spannext:"spannext___jVFGE",divwidth:"divwidth___r5hE3",receiveclick:"receiveclick___BauOs",receivealready:"receivealready___Z7Wo0",bkfff:"bkfff___lHrcJ","ant-input":"ant-input___m4bn_",onediv:"onediv___xzZRa",onetop:"onetop___M4GfM",towdiv:"towdiv___yj3ds",towtop:"towtop___veKa4",threediv:"threediv___Ztz0D",threetop:"threetop___zDXIg",imgradius:"imgradius___r4uGN",prize:"prize___YNRD4",spanrightradius:"spanrightradius___tC6T5",bottomItem:"bottomItem___CHcMJ",myTeam:"myTeam___fm7KX",downloadpdf:"downloadpdf___a2NuA",pdfBut:"pdfBut___Drr6h",PerfectBut:"PerfectBut___wEhjV",PerfectCent:"PerfectCent___HD3Id",PerfectCentName:"PerfectCentName___smdJX",teamItem:"teamItem___mx2f3",dash:"dash___l6QH1",modal:"modal___yXh2H",maskText:"maskText___Tdh6h",box:"box___K2uQ4",open_style:"open_style___gLTB9",title_style:"title_style___j6zvN",colorhove:"colorhove___FKtzO"}},88522:function(e,n,t){"use strict";var l=t(73287),a=t.n(l),i=t(45659),r=t(99468),s=t(59301),o=t(53487),c=t(92343),u=t(36355),d=t(57809);const{Option:p}=d.default;function v(e){return e&&e.type&&(e.type.isSelectOption||e.type.isSelectOptGroup)}const f=(e,n)=>{const{prefixCls:t,className:l,popupClassName:o,dropdownClassName:f,children:m,dataSource:h}=e,x=(0,i.Z)(m);let g;1===x.length&&(0,c.l$)(x[0])&&!v(x[0])&&([g]=x);const b=g?()=>g:void 0;let j;j=x.length&&v(x[0])?m:h?h.map((e=>{if((0,c.l$)(e))return e;switch(typeof e){case"string":return s.createElement(p,{key:e,value:e},e);case"object":{const{value:n}=e;return s.createElement(p,{key:n,value:n},e.text)}default:return}})):[];const{getPrefixCls:y}=s.useContext(u.E_),Z=y("select",t);return s.createElement(d.default,Object.assign({ref:n,suffixIcon:null},(0,r.Z)(e,["dataSource","dropdownClassName"]),{prefixCls:Z,popupClassName:o||f,className:a()(`${Z}-auto-complete`,l),mode:d.default.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:b}),j)},m=s.forwardRef(f),h=(0,o.Z)(m);m.Option=p,m._InternalPanelDoNotUseOrYouWillBeFired=h,n.Z=m},66104:function(e,n,t){"use strict";t.d(n,{Z:function(){return P}});var l=t(73287),a=t.n(l),i=t(45659),r=t(3286),s=t(59301),o=t(92343),c=t(36355),u=t(42884),d=t(91857);const p=e=>{let{children:n}=e;const{getPrefixCls:t}=s.useContext(c.E_),l=t("breadcrumb");return s.createElement("li",{className:`${l}-separator`,"aria-hidden":"true"},""===n?n:n||"/")};p.__ANT_BREADCRUMB_SEPARATOR=!0;var v=p,f=function(e,n){var t={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&n.indexOf(l)<0&&(t[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(l=Object.getOwnPropertySymbols(e);a<l.length;a++)n.indexOf(l[a])<0&&Object.prototype.propertyIsEnumerable.call(e,l[a])&&(t[l[a]]=e[l[a]])}return t};function m(e,n,t,l){if(null==t)return null;const{className:i,onClick:o}=n,c=f(n,["className","onClick"]),u=Object.assign(Object.assign({},(0,r.Z)(c,{data:!0,aria:!0})),{onClick:o});return void 0!==l?s.createElement("a",Object.assign({},u,{className:a()(`${e}-link`,i),href:l}),t):s.createElement("span",Object.assign({},u,{className:a()(`${e}-link`,i)}),t)}function h(e,n){return(t,l,a,i,r)=>{if(n)return n(t,l,a,i);const s=function(e,n){if(void 0===e.title||null===e.title)return null;const t=Object.keys(n).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(new RegExp(`:(${t})`,"g"),((e,t)=>n[t]||e))}(t,l);return m(e,t,s,r)}}var x=function(e,n){var t={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&n.indexOf(l)<0&&(t[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(l=Object.getOwnPropertySymbols(e);a<l.length;a++)n.indexOf(l[a])<0&&Object.prototype.propertyIsEnumerable.call(e,l[a])&&(t[l[a]]=e[l[a]])}return t};const g=e=>{const{prefixCls:n,separator:t="/",children:l,menu:a,overlay:i,dropdownProps:r,href:o}=e;const c=(e=>{if(a||i){const t=Object.assign({},r);if(a){const e=a||{},{items:n}=e,l=x(e,["items"]);t.menu=Object.assign(Object.assign({},l),{items:null==n?void 0:n.map(((e,n)=>{var{key:t,title:l,label:a,path:i}=e,r=x(e,["key","title","label","path"]);let c=null!=a?a:l;return i&&(c=s.createElement("a",{href:`${o}${i}`},c)),Object.assign(Object.assign({},r),{key:null!=t?t:n,label:c})}))})}else i&&(t.overlay=i);return s.createElement(d.Z,Object.assign({placement:"bottom"},t),s.createElement("span",{className:`${n}-overlay-link`},e,s.createElement(u.Z,null)))}return e})(l);return null!=c?s.createElement(s.Fragment,null,s.createElement("li",null,c),t&&s.createElement(v,null,t)):null},b=e=>{const{prefixCls:n,children:t,href:l}=e,a=x(e,["prefixCls","children","href"]),{getPrefixCls:i}=s.useContext(c.E_),r=i("breadcrumb",n);return s.createElement(g,Object.assign({},a,{prefixCls:r}),m(r,a,t,l))};b.__ANT_BREADCRUMB_ITEM=!0;var j=b,y=t(17313),Z=t(83116),_=t(37613);const w=e=>{const{componentCls:n,iconCls:t}=e;return{[n]:Object.assign(Object.assign({},(0,y.Wf)(e)),{color:e.itemColor,fontSize:e.fontSize,[t]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${e.paddingXXS}px`,borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",marginInline:-e.marginXXS,"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,y.Qy)(e)),"li:last-child":{color:e.lastItemColor},[`${n}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${n}-link`]:{[`\n > ${t} + span,\n > ${t} + a\n `]:{marginInlineStart:e.marginXXS}},[`${n}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",padding:`0 ${e.paddingXXS}px`,marginInline:-e.marginXXS,[`> ${t}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}};var k=(0,Z.Z)("Breadcrumb",(e=>{const n=(0,_.TS)(e,{});return[w(n)]}),(e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}))),C=function(e,n){var t={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&n.indexOf(l)<0&&(t[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(l=Object.getOwnPropertySymbols(e);a<l.length;a++)n.indexOf(l[a])<0&&Object.prototype.propertyIsEnumerable.call(e,l[a])&&(t[l[a]]=e[l[a]])}return t};function S(e){const{breadcrumbName:n,children:t}=e,l=C(e,["breadcrumbName","children"]),a=Object.assign({title:n},l);return t&&(a.menu={items:t.map((e=>{var{breadcrumbName:n}=e,t=C(e,["breadcrumbName"]);return Object.assign(Object.assign({},t),{title:n})}))}),a}var N=function(e,n){var t={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&n.indexOf(l)<0&&(t[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(l=Object.getOwnPropertySymbols(e);a<l.length;a++)n.indexOf(l[a])<0&&Object.prototype.propertyIsEnumerable.call(e,l[a])&&(t[l[a]]=e[l[a]])}return t};const I=e=>{const{prefixCls:n,separator:t="/",style:l,className:u,rootClassName:d,routes:p,items:f,children:m,itemRender:x,params:b={}}=e,j=N(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:y,direction:Z,breadcrumb:_}=s.useContext(c.E_);let w;const C=y("breadcrumb",n),[I,P]=k(C),E=function(e,n){return(0,s.useMemo)((()=>e||(n?n.map(S):null)),[e,n])}(f,p);const A=h(C,x);if(E&&E.length>0){const e=[],n=f||p;w=E.map(((l,a)=>{const{path:i,key:o,type:c,menu:u,overlay:d,onClick:p,className:f,separator:m,dropdownProps:h}=l,x=((e,n)=>{if(void 0===n)return n;let t=(n||"").replace(/^\//,"");return Object.keys(e).forEach((n=>{t=t.replace(`:${n}`,e[n])})),t})(b,i);void 0!==x&&e.push(x);const j=null!=o?o:a;if("separator"===c)return s.createElement(v,{key:j},m);const y={},Z=a===E.length-1;u?y.menu=u:d&&(y.overlay=d);let{href:_}=l;return e.length&&void 0!==x&&(_=`#/${e.join("/")}`),s.createElement(g,Object.assign({key:j},y,(0,r.Z)(l,{data:!0,aria:!0}),{className:f,dropdownProps:h,href:_,separator:Z?"":t,onClick:p,prefixCls:C}),A(l,b,n,e,_))}))}else if(m){const e=(0,i.Z)(m).length;w=(0,i.Z)(m).map(((n,l)=>{if(!n)return n;const a=l===e-1;return(0,o.Tm)(n,{separator:a?"":t,key:l})}))}const T=a()(C,null==_?void 0:_.className,{[`${C}-rtl`]:"rtl"===Z},u,d,P),z=Object.assign(Object.assign({},null==_?void 0:_.style),l);return I(s.createElement("nav",Object.assign({className:T,style:z},j),s.createElement("ol",null,w)))};I.Item=j,I.Separator=v;var P=I},18889:function(e,n,t){"use strict";t.d(n,{Z:function(){return P}});var l=t(73287),a=t.n(l),i=t(99468),r=t(59301),s=t(36355),o=t(19716),c=t(59981),u=t(99313),d=function(e,n){var t={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&n.indexOf(l)<0&&(t[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(l=Object.getOwnPropertySymbols(e);a<l.length;a++)n.indexOf(l[a])<0&&Object.prototype.propertyIsEnumerable.call(e,l[a])&&(t[l[a]]=e[l[a]])}return t};var p=e=>{var{prefixCls:n,className:t,hoverable:l=!0}=e,i=d(e,["prefixCls","className","hoverable"]);const{getPrefixCls:o}=r.useContext(s.E_),c=o("card",n),u=a()(`${c}-grid`,t,{[`${c}-grid-hoverable`]:l});return r.createElement("div",Object.assign({},i,{className:u}))},v=t(17313),f=t(83116),m=t(37613);const h=e=>{const{antCls:n,componentCls:t,headerHeight:l,cardPaddingBase:a,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:l,marginBottom:-1,padding:`0 ${a}px`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`},(0,v.dF)()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},v.vS),{[`\n > ${t}-typography,\n > ${t}-typography-edit-content\n `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${n}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${e.lineWidth}px ${e.lineType} ${e.colorBorderSecondary}`}}})},x=e=>{const{cardPaddingBase:n,colorBorderSecondary:t,cardShadow:l,lineWidth:a}=e;return{width:"33.33%",padding:n,border:0,borderRadius:0,boxShadow:`\n ${a}px 0 0 0 ${t},\n 0 ${a}px 0 0 ${t},\n ${a}px ${a}px 0 0 ${t},\n ${a}px 0 0 0 ${t} inset,\n 0 ${a}px 0 0 ${t} inset;\n `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:l}}},g=e=>{const{componentCls:n,iconCls:t,actionsLiMargin:l,cardActionsIconSize:a,colorBorderSecondary:i,actionsBg:r}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:r,borderTop:`${e.lineWidth}px ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px `},(0,v.dF)()),{"& > li":{margin:l,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:2*e.cardActionsIconSize,fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${n}-btn), > ${t}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:e.fontSize*e.lineHeight+"px",transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${t}`]:{fontSize:a,lineHeight:a*e.lineHeight+"px"}},"&:not(:last-child)":{borderInlineEnd:`${e.lineWidth}px ${e.lineType} ${i}`}}})},b=e=>Object.assign(Object.assign({margin:`-${e.marginXXS}px 0`,display:"flex"},(0,v.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},v.vS),"&-description":{color:e.colorTextDescription}}),j=e=>{const{componentCls:n,cardPaddingBase:t,colorFillAlter:l}=e;return{[`${n}-head`]:{padding:`0 ${t}px`,background:l,"&-title":{fontSize:e.fontSize}},[`${n}-body`]:{padding:`${e.padding}px ${t}px`}}},y=e=>{const{componentCls:n}=e;return{overflow:"hidden",[`${n}-body`]:{userSelect:"none"}}},Z=e=>{const{antCls:n,componentCls:t,cardShadow:l,cardHeadPadding:a,colorBorderSecondary:i,boxShadowTertiary:r,cardPaddingBase:s,extraColor:o}=e;return{[t]:Object.assign(Object.assign({},(0,v.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:r},[`${t}-head`]:h(e),[`${t}-extra`]:{marginInlineStart:"auto",color:o,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:s,borderRadius:` 0 0 ${e.borderRadiusLG}px ${e.borderRadiusLG}px`},(0,v.dF)()),[`${t}-grid`]:x(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%"},[`img, img + ${n}-image-mask`]:{borderRadius:`${e.borderRadiusLG}px ${e.borderRadiusLG}px 0 0`}},[`${t}-actions`]:g(e),[`${t}-meta`]:b(e)}),[`${t}-bordered`]:{border:`${e.lineWidth}px ${e.lineType} ${i}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:l}},[`${t}-contain-grid`]:{[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:-e.lineWidth,marginInlineStart:-e.lineWidth,padding:0}},[`${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:a}}},[`${t}-type-inner`]:j(e),[`${t}-loading`]:y(e),[`${t}-rtl`]:{direction:"rtl"}}},_=e=>{const{componentCls:n,cardPaddingSM:t,headerHeightSM:l,headerFontSizeSM:a}=e;return{[`${n}-small`]:{[`> ${n}-head`]:{minHeight:l,padding:`0 ${t}px`,fontSize:a,[`> ${n}-head-wrapper`]:{[`> ${n}-extra`]:{fontSize:e.fontSize}}},[`> ${n}-body`]:{padding:t}},[`${n}-small${n}-contain-tabs`]:{[`> ${n}-head`]:{[`${n}-head-title, ${n}-extra`]:{minHeight:l,paddingTop:0,display:"flex",alignItems:"center"}}}}};var w=(0,f.Z)("Card",(e=>{const n=(0,m.TS)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[Z(n),_(n)]}),(e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}))),k=function(e,n){var t={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&n.indexOf(l)<0&&(t[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(l=Object.getOwnPropertySymbols(e);a<l.length;a++)n.indexOf(l[a])<0&&Object.prototype.propertyIsEnumerable.call(e,l[a])&&(t[l[a]]=e[l[a]])}return t};const C=r.forwardRef(((e,n)=>{const{prefixCls:t,className:l,rootClassName:d,style:v,extra:f,headStyle:m={},bodyStyle:h={},title:x,loading:g,bordered:b=!0,size:j,type:y,cover:Z,actions:_,tabList:C,children:S,activeTabKey:N,defaultActiveTabKey:I,tabBarExtraContent:P,hoverable:E,tabProps:A={}}=e,T=k(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps"]),{getPrefixCls:z,direction:R,card:L}=r.useContext(s.E_),M=r.useMemo((()=>{let e=!1;return r.Children.forEach(S,(n=>{n&&n.type&&n.type===p&&(e=!0)})),e}),[S]),O=z("card",t),[D,B]=w(O),H=r.createElement(c.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},S),F=void 0!==N,V=Object.assign(Object.assign({},A),{[F?"activeKey":"defaultActiveKey"]:F?N:I,tabBarExtraContent:P});let Y;const U=(0,o.Z)(j),G=U&&"default"!==U?U:"large",K=C?r.createElement(u.Z,Object.assign({size:G},V,{className:`${O}-head-tabs`,onChange:n=>{var t;null===(t=e.onTabChange)||void 0===t||t.call(e,n)},items:C.map((e=>{var{tab:n}=e,t=k(e,["tab"]);return Object.assign({label:n},t)}))})):null;(x||f||K)&&(Y=r.createElement("div",{className:`${O}-head`,style:m},r.createElement("div",{className:`${O}-head-wrapper`},x&&r.createElement("div",{className:`${O}-head-title`},x),f&&r.createElement("div",{className:`${O}-extra`},f)),K));const W=Z?r.createElement("div",{className:`${O}-cover`},Z):null,J=r.createElement("div",{className:`${O}-body`,style:h},g?H:S),q=_&&_.length?r.createElement("ul",{className:`${O}-actions`},function(e){return e.map(((n,t)=>r.createElement("li",{style:{width:100/e.length+"%"},key:`action-${t}`},r.createElement("span",null,n))))}(_)):null,Q=(0,i.Z)(T,["onTabChange"]),X=a()(O,null==L?void 0:L.className,{[`${O}-loading`]:g,[`${O}-bordered`]:b,[`${O}-hoverable`]:E,[`${O}-contain-grid`]:M,[`${O}-contain-tabs`]:C&&C.length,[`${O}-${U}`]:U,[`${O}-type-${y}`]:!!y,[`${O}-rtl`]:"rtl"===R},l,d,B),$=Object.assign(Object.assign({},null==L?void 0:L.style),v);return D(r.createElement("div",Object.assign({ref:n},Q,{className:X,style:$}),Y,W,J,q))}));var S=function(e,n){var t={};for(var l in e)Object.prototype.hasOwnProperty.call(e,l)&&n.indexOf(l)<0&&(t[l]=e[l]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(l=Object.getOwnPropertySymbols(e);a<l.length;a++)n.indexOf(l[a])<0&&Object.prototype.propertyIsEnumerable.call(e,l[a])&&(t[l[a]]=e[l[a]])}return t};var N=e=>{const{prefixCls:n,className:t,avatar:l,title:i,description:o}=e,c=S(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:u}=r.useContext(s.E_),d=u("card",n),p=a()(`${d}-meta`,t),v=l?r.createElement("div",{className:`${d}-meta-avatar`},l):null,f=i?r.createElement("div",{className:`${d}-meta-title`},i):null,m=o?r.createElement("div",{className:`${d}-meta-description`},o):null,h=f||m?r.createElement("div",{className:`${d}-meta-detail`},f,m):null;return r.createElement("div",Object.assign({},c,{className:p}),v,h)};const I=C;I.Grid=p,I.Meta=N;var P=I},93314:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW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