forgeplus/public/react/build/static/js/10.b3f0a06d.chunk.js

1 line
58 KiB
JavaScript

(this.webpackJsonp=this.webpackJsonp||[]).push([[10],{"/k9T":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=o(n("kLXV"));n("k3Gp");var r=o(n("q1tI"));function o(e){return e&&e.__esModule?e:{default:e}}n("L9fm"),t.default=function(e){var t=e.title,n=e.children,o=e.btn,i=e.onCancel,l=e.visible;return r.default.createElement(a.default,{visible:l,onCancel:i,title:t,width:"520px",footer:o,centered:!0,wrapClassName:"deleteBox"},n)}},"1enj":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(n("kLXV")),r=s(n("2/Rp")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(a=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(e){r=!0,o=e}finally{try{!a&&l.return&&l.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("k3Gp"),n("L/Qf");var i=n("q1tI"),l=s(i);n("hREH"),n("7dqz");var u=s(n("bjH3")),c=s(n("Po8q"));function s(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=e.system_notification,n=e.history,s=(0,i.useState)(!1),f=o(s,2),d=f[0],m=f[1];return(0,i.useEffect)((function(){t&&!c.default.load("notice_stage")&&m(!0)}),[t,n.location]),l.default.createElement(a.default,{visible:d,width:"1000px",footer:!1,title:!1,centered:!0,closable:!1,wrapClassName:"systemBox"},l.default.createElement("div",{className:"sysBox"},l.default.createElement("div",{className:"sysnoticeBox"},l.default.createElement("p",{className:"ntitle"},t&&t.subject),l.default.createElement("p",{className:"nSubtitle"},t&&t.sub_subject),l.default.createElement(u.default,{className:"break_word_comments imageLayerParent",value:t&&t.content,url:n.location}),l.default.createElement("div",{className:"nBtn"},l.default.createElement(r.default,{type:"primary",className:"btnblue",onClick:function(){c.default.remove("notice_stage");var e=new Date((new Date).getTime()+864e5);c.default.save("notice_stage",!0,{expires:e,path:"/"}),m(!1)}},"确认并继续")))))}},"2CTR":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),r=n("q1tI"),o=l(r),i=l(n("dF3D"));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}n("7dqz");var s=function(e){function t(){return u(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e._html,n=e.small;return o.default.createElement("div",{className:n?"none_panels small":"none_panels"},o.default.createElement("div",null,o.default.createElement("img",{src:i.default,alt:""}),o.default.createElement("div",{className:"none_p_title"},t)))}}]),t}(r.Component);t.default=s},"32ZI":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(n("CtXQ")),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();n("2oDE");var o=n("q1tI"),i=s(o),l=s(n("17x9")),u=s(n("LvDl")),c=s(n("2CTR"));function s(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleScroll=function(){if(!(n.props.count<n.props.pageSize)&&1!==n.props.type&&2!==n.props.type){var e=n.pullRef;e.scrollTop+e.clientHeight>=e.scrollHeight-200&&n.loadData()}},n.handleLoadClick=function(){n.loadData()},n.loadData=function(){n.props.onPullRefresh()},n.state={},n.pullRef={},n.onScrollList=u.default.throttle(n.handleScroll,200,{leading:!1,trailing:!0}),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){var e=document.querySelector(".pull-refresh-wrap");e&&e.addEventListener("scroll",this.onScrollList)}},{key:"componentWillUnmount",value:function(){var e=document.querySelector(".pull-refresh-wrap");e&&e.removeEventListener("scroll",this.onScrollList)}},{key:"renderLoading",value:function(){switch(this.props.type){case 0:return i.default.createElement("div",{className:"text-center",onClick:this.handleLoadClick},"显示更多");case 1:return i.default.createElement("div",{className:"text-center"},i.default.createElement(a.default,{type:"loading"}),i.default.createElement("span",{className:"text-center"},"加载中..."));case 2:default:return i.default.createElement("div",{className:"text-center"},"没有更多了")}}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,a=t.count,r=t.children;return i.default.createElement("div",{className:"pull-refresh-wrap "+n,ref:function(t){e.pullRef=t}},r,a<1&&i.default.createElement(c.default,{_html:"暂无未读消息"}))}}]),t}(o.Component);f.propTypes={className:l.default.string,children:l.default.any,onPullRefresh:l.default.func.isRequired,type:l.default.oneOf([0,1,2]),count:l.default.number.isRequired,pageSize:l.default.number.isRequired},t.default=f},"5A3O":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=p(n("W9HT")),r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();t.TPMIndexHOC=function(e){return function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.keyupListener=function(e){"Escape"===e.key&&t.setState({globalLoading:!1})},t.gettablogourlnull=function(){t.setState({mygetHelmetapi:void 0}),document.title="Forge";var e=document.createElement("link"),n=document.getElementById("dynamic-favicon");e.id="dynamic-favicon",e.rel="shortcut icon",e.href="/react/build/./favicon.ico",n&&document.head.removeChild(n),document.head.appendChild(e)},t.gettablogourldata=function(e){document.title=e.data.setting.name;var t=document.createElement("link"),n=document.getElementById("dynamic-favicon");t.id="dynamic-favicon",t.rel="shortcut icon",t.href="/"+e.data.setting.tab_logo_url,n&&document.head.removeChild(n),document.head.appendChild(t)},t.getAppdata=function(){try{var e=JSON.parse(localStorage.getItem("chromesetting")),n=JSON.parse(localStorage.getItem("chromesettingresponse"));t.setState({mygetHelmetapi:e}),e.tab_logo_url?t.gettablogourldata(n):t.gettablogourlnull()}catch(e){console.log("hoc获取游览器配置失败 重新请求开始读取配置"),t.getAppdatausr()}},t.getAppdatausr=function(){c.default.get("/setting.json").then((function(e){if(e)if(e.data){t.setState({mygetHelmetapi:e.data.setting}),localStorage.setItem("chromesetting",JSON.stringify(e.data.setting)),localStorage.setItem("chromesettingresponse",JSON.stringify(e));try{e.data.setting.tab_logo_url?t.gettablogourldata(e):t.gettablogourlnull()}catch(e){t.gettablogourlnull()}}else t.gettablogourlnull();else t.gettablogourlnull()})).catch((function(e){t.gettablogourlnull()}))},t.fetchUsers=function(){c.default.get("/users/get_user_info.json").then((function(e){e&&e.data&&(t.initCommonState(e.data),t.setState({tpmLoading:!1,completeProfile:e.data.profile_completed}),"/"===t.props.match.path&&e.data.login&&t.props.history.push("/"+e.data.login),e.data&&e.data.login&&e.data.need_edit_info&&t.setState({giteaVisible:!0,email:e.data.email}),e.data&&e.data.login&&e.data.need_edit_info&&t.setState({giteaVisible:!0,email:e.data.email}))})).catch((function(e){console.log(e)}))},t.hideLoginDialog=function(){t.setState({isRender:!1,isloginCancel:void 0})},t.showLoginDialog=function(){t.setState({isRender:!0,isloginCancel:"iscancel"})},t.checkIfLogin=function(){return t.state.current_user&&""!=t.state.current_user.login},t.onOk=function(e){var n=t.state.current_user;c.default.post("/users/sync_user_info.json",r({login:n&&n.login},e)).then((function(e){e&&e.data&&0===e.data.status&&(t.setState({giteaVisible:!1,email:void 0}),window.location.reload())})).catch((function(e){}))},t.showCompeleteDialog=function(){t.setState({showCP:!0})},window.$("#root").css("position","relative"),t.state={tpmLoading:!0,resLoading:!0,Headertop:void 0,isRender:!1,globalLoading:!1,dataquerys:{},isloginCancel:void 0,mygetHelmetapi:null,giteaVisible:!1,email:void 0,completeProfile:!1,showCP:!1},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,t),o(n,[{key:"initCommonState",value:function(e){var t=Object.assign({},r({},e),{image_url:""+e.image_url});this.setState({user:t,current_user:t})}},{key:"componentWillUnmount",value:function(){window.removeEventListener("keyup",this.keyupListener)}},{key:"componentWillMount",value:function(){this.fetchUsers()}},{key:"componentDidMount",value:function(){window.addEventListener("keyup",this.keyupListener),"/"===this.props.match.path||("/403"===this.props.match.path?document.title="你没有权限访问":"/nopage"===this.props.match.path&&(document.title="没有找到该页面")),this.getAppdata()}},{key:"render",value:function(){var t=this,n=this.state,o=n.isRender,c=n.current_user,p=n.giteaVisible,h=n.email,g=n.completeProfile,v=n.showCP,y=n.mygetHelmetapi,b={showLoginDialog:this.showLoginDialog,checkIfLogin:this.checkIfLogin,resetUserInfo:this.fetchUsers,showCompeleteDialog:this.showCompeleteDialog};return i.default.createElement("div",{className:"indexHOC"},i.default.createElement(m.default,{system_notification:y&&y.system_notification,history:this.props.history,login:c&&c.login}),i.default.createElement(f.default,{visible:p,email:h,onOk:this.onOk}),i.default.createElement(d.default,{visible:!g&&v,onCancel:function(){t.setState({showCP:!1})},history:this.props.history}),!0===o?i.default.createElement(s.default,r({Modifyloginvalue:function(){return t.hideLoginDialog()}},this.props,this.state)):"",i.default.createElement(l.default,r({},this.state,this.props,b)),i.default.createElement(a.default,{spinning:this.state.globalLoading,delay:0,className:"globalSpin",size:"large",tip:this._gLoadingTip||"加载中..."},i.default.createElement("div",{className:"newContainer newContainers"},i.default.createElement("div",{style:{height:"70px"}}),c&&i.default.createElement(e,r({initCommonState:function(e){return t.initCommonState(e)}},this.props,this.state,b)))),i.default.createElement(u.default,r({},this.state,this.props)))}}]),n}(i.default.Component)},n("04bd");var i=p(n("q1tI")),l=p(n("POou")),u=p(n("PQdb")),c=p(n("vDqi"));n("7aN/");var s=p(n("CWZq")),f=p(n("vwE6")),d=p(n("beKO")),m=p(n("1enj"));function p(e){return e&&e.__esModule?e:{default:e}}},"69Ao":function(e,t,n){},"7aN/":function(e,t,n){},"7dqz":function(e,t,n){},ApAT:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=d(n("BvKs")),r=d(n("KrTs")),o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(a=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(e){r=!0,o=e}finally{try{!a&&l.return&&l.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("2WkQ"),n("JvnM");var i=n("q1tI"),l=d(i),u=n("eO8H"),c=d(n("vDqi")),s=d(n("32ZI")),f=n("FCV+");function d(e){return e&&e.__esModule?e:{default:e}}function m(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}n("Dgc1"),n("j4F2"),n("TVwk"),n("69Ao"),t.default=function(e){var t=e.visible,n=e.showNotification,d=e.resetUserInfo,p=e.current_user.login,h=(0,i.useState)(!0),g=o(h,2),v=g[0],y=g[1],b=(0,i.useState)("notification"),E=o(b,2),k=E[0],w=E[1],O=(0,i.useState)(0),C=o(O,2),A=(C[0],C[1],(0,i.useState)(0)),N=o(A,2),S=N[0],x=N[1],P=(0,i.useState)(0),I=o(P,2),q=I[0],M=I[1],T=(0,i.useState)([]),j=o(T,2),R=j[0],L=j[1],B=(0,i.useState)(),D=o(B,2),Z=D[0],H=D[1],F=(0,i.useState)(0),V=o(F,2),W=V[0],Q=V[1],X=(0,i.useState)([]),J=o(X,2),z=J[0],U=J[1];function G(e){c.default.get("/users/"+p+"/messages.json",{params:e}).then((function(t){if(t&&t.data)if(x(t.data.unread_notification),H(t.data.unread_atme),"notification"===e.type){var n=t.data.messages;0!==e.page&&(n=[].concat(m(R),m(n))),L(n),v&&(y(!1),0===t.data.unread_notification&&0!==t.data.unread_atme&&w("atme"))}else if("atme"===e.type){var a=t.data.messages;0!==e.page&&(a=[].concat(m(z),m(a))),U(a)}}))}function Y(){c.default.post("/users/"+p+"/messages/read.json",{type:k,ids:[-1]}).then((function(e){var t=e.data;t&&(0===t.status?function(e){if("notification"===e){var t=R.slice();t.forEach((function(e){e.status=2})),L(t),x(0)}else if("atme"===e){var n=z.slice();n.forEach((function(e){e.status=2})),U(n),H(0)}}(k):n(t.message))}))}function K(e){c.default.post("/users/"+p+"/messages/read.json",{type:k,ids:[e.id]}).then((function(t){var a=t.data;a&&(0===a.status?(!function(e){if("notification"===e.type){var t=R.slice(),n=R.indexOf(e);t[n].status=2,L(t),S>0&&x(S-1)}else if("atme"===e.type){var a=z.slice(),r=z.indexOf(e);a[r].status=2,U(a),Z>0&&H(Z-1)}}(e),e.notification_url&&window.open(e.notification_url)):n(a.message))}))}return(0,i.useEffect)((function(){d()}),[S,Z]),(0,i.useEffect)((function(){M(0),Q(0)}),[t]),(0,i.useEffect)((function(){G({type:k,limit:10,page:"notification"===k?q:"atme"===k?W:"",status:1})}),[q,W]),(0,i.useEffect)((function(){var e={type:k,limit:10,page:0,status:1};v&&(e.type="atme"),t&&G(e)}),[t]),l.default.createElement("div",{className:"messageHoverDiv notice01"},l.default.createElement("div",{className:"sshHead hoverNotice-head"},l.default.createElement(a.default,{mode:"horizontal",selectedKeys:k,onClick:function(e){return w(e.key)}},l.default.createElement(a.default.Item,{key:"notification"},l.default.createElement(r.default,{count:S},"系统通知")),l.default.createElement(a.default.Item,{key:"atme"},l.default.createElement(r.default,{count:Z},"@我")))),"notification"===k&&l.default.createElement(s.default,{className:"hoverNotice-body",onPullRefresh:function(){M(q+1)},count:R.length,pageSize:10},R.map((function(e){return l.default.createElement("div",{key:e.id+Math.random(),className:"noticeCont-back",onClick:function(){K(e)}},l.default.createElement("div",{className:"noticeCont "+(e.notification_url?"pointer":"")},l.default.createElement("span",{style:{visibility:1===e.status?"visible":"hidden"}},l.default.createElement(r.default,{color:"#FA2020"})),l.default.createElement("i",{className:"iconfont "+f.noticeSourceType[e.source]}),l.default.createElement("div",{className:"noticeCont-text"},l.default.createElement("span",{className:"content-span notice-cont-span",dangerouslySetInnerHTML:{__html:e.content}}),l.default.createElement("span",{className:"timeSpan"},e.time_ago))))}))),"atme"===k&&l.default.createElement(s.default,{className:"hoverNotice-body",onPullRefresh:function(){Q(W+1)},count:z.length,pageSize:10},z.map((function(e){return l.default.createElement("div",{key:e.id+Math.random(),className:"noticeCont-back",onClick:function(){K(e)}},l.default.createElement("div",{className:"noticeCont"},l.default.createElement("span",{style:{visibility:1===e.status?"visible":"hidden"}},l.default.createElement(r.default,{color:"#FA2020"})),l.default.createElement("div",{className:"noticeCont-text"},l.default.createElement("span",{className:"content-span atme-cont-span",dangerouslySetInnerHTML:{__html:"<b>"+(e.sender?e.sender.name:"")+"</b>&nbsp;&nbsp;&nbsp;"+e.content+" 中@我"}}),l.default.createElement("span",{className:"timeSpan"},e.time_ago))))}))),l.default.createElement("div",{className:"hoverNotice-buttom"},l.default.createElement(u.Link,{to:{pathname:"/settings/notice",query:{noticeType:k}}},"全部消息"),S>0&&"notification"===k&&l.default.createElement("a",{onClick:Y},"所有系统消息一键已读"),Z>0&&"atme"===k&&l.default.createElement("a",{onClick:Y},"所有@我一键已读")))}},"CON+":function(e,t,n){},Dgc1:function(e,t,n){},"FCV+":function(e,t,n){"use strict";var a;function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0});t.noticeSourceType=(r(a={IssueAssigned:"icon-yixiuicon1",IssueAssignerExpire:"icon-yixiuicon1",IssueAtme:"icon-yixiuicon1",IssueChanged:"icon-yixiuicon1",IssueCreatorExpire:"icon-yixiuicon1",IssueDelete:"icon-yixiuicon1",IssueDeleted:"icon-yixiuicon1",IssueJournal:"icon-yixiuicon1",LoginIpTip:"icon-xitongtongzhiicon",OrganizationJoined:"icon-xiaoxi2",OrganizationLeft:"icon-xiaoxi2",OrganizationRole:"icon-xiaoxi2",ProjectJoined:"icon-xiaoxi2",ProjectLeft:"icon-xiaoxi2",ProjectRole:"icon-xiaoxi2",ProjectDelete:"icon-daimakuicon1",ProjectFollowed:"icon-daimakuicon1",ProjectForked:"icon-daimakuicon1",ProjectIssue:"icon-daimakuicon1",ProjectSettingChanged:"icon-daimakuicon1",ProjectTransfer:"icon-daimakuicon1",ProjectVersion:"icon-daimakuicon1",ProjectMemberJoined:"icon-daimakuicon1",ProjectMemberLeft:"icon-daimakuicon1",ProjectPraised:"icon-daimakuicon1",ProjectPullRequest:"icon-hebingqingqiuicon",PullRequestAssigned:"icon-hebingqingqiuicon",PullRequestAtme:"icon-hebingqingqiuicon",PullRequestChanged:"icon-hebingqingqiuicon",PullRequestJournal:"icon-hebingqingqiuicon",PullRequestClosed:"icon-hebingqingqiuicon",PullRequestMerged:"icon-hebingqingqiuicon"},"PullRequestClosed","icon-hebingqingqiuicon"),r(a,"ProjectMilestone","icon-lichengbeiicon"),a)},GNFk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=u(n("kLXV")),r=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();n("k3Gp");var o=n("q1tI"),i=u(o),l=(n("sYIF"),u(n("vDqi")));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.gotoback=function(e){!0===e?window.location.href="/":null!=n.props.AccountProfiletype?(n.setState({AccountProfiletype:!1}),n.props.hideAccountProfile()):(window.location.href="/",n.setState({AccountProfiletype:!1}))},n.state={AccountProfiletype:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){var e=this;null!=this.props.AccountProfiletype&&this.setState({AccountProfiletype:this.props.AccountProfiletype}),l.default.interceptors.response.use((function(t){return null!=t&&t&&402===t.data.status&&(document.title="提示",e.setState({AccountProfiletype:!0})),t}),(function(e){}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.content,r=t.okText,o=t.okHref,l=t.cannelText,u=t.Accounturltype;return i.default.createElement(a.default,{keyboard:!1,title:"提示",visible:this.state.AccountProfiletype,closable:!1,footer:null,destroyOnClose:!0,centered:!0,width:"530px"},i.default.createElement("div",{className:"task-popup-content"},i.default.createElement("p",{className:"task-popup-text-center font-16"}," ",n||"您需要去完善您的个人资料,才能使用此功能"),i.default.createElement("div",{className:"clearfix mt30 edu-txt-center"},i.default.createElement("a",{className:"task-btn mr30",onClick:function(){return e.gotoback(u)}},l||"稍后完善"),i.default.createElement("a",{className:"task-btn task-btn-orange",href:o||"/account/profile/edit"}," ",r||"立即完善"))))}}]),t}(o.Component);t.default=c},INgk:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAHFRJREFUeF7tnQmUXFWZx39fdwwJ2wgkAdkDKCqLKCDiAkHpCgGFJLgeYUSWkKruVkjEoEGBkcyEJYB2d3VYB0cQlGEbIKFfwxgJDOKwKDhCBgj7lkBw2GlS/c25Vd2xO11d9V69verec/ok5/R3v+V/77/vfe/d+32CbaEhcFhWNyvAdv2wDU18SGErlEkCE4DNgZ1QxiOMA8YP/Bh/3in+KO8ixf+vBNYgrKafVTTxMv282ATPN8Ozt3bLa6EF0eCKpcHj9x3+tHadWOjnY6LsqsKHUXYBDgC28K3cm4JXgTtRHhfhMRVWNDfxyNIOWe1NjZUeioAliMf5MK1ddy4UmAIcBHwO2NGjiqj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8lo9xVZ3BBkcnGntum1hLXMRTqqnAUtcLMqFzWNYtLRDnkucbwE4VLcEGcSmpU23psD3RGgDNgoAM6sC3lLz4baZX/R2ygv1DEjdE2Rw8KbkdOOxSpYmTkTZuZ4HNbTYhCfo56I+oXtZXt4MzU6CFDcMQYZi3tKqM1COEpiZoLFIrCsK1yNc2dslDZeMvCEJsm5VmaUTxo7h68BsYI/EztB4HHsYWNy3lt8uu1heiceF+K02NEGGwp9p08laYIYI06Fhsz8uV+VGaeYGp1OejH96xu+BJUiZMcjkdDuELxezrWjx3/ptwi3AEpRbnLw8W7+B1haZJUgV3Exqog02Yir9tKjwNWBSbVAnptcqUa6lid733qInzpQ6iUGkgiOWIB5HaVq77lwoMAU4CIp14Xf0qCJq8aeAu4HfNTezbGmHPBG1A2m2Zwnic/SmtevEQj8fE2VXVT6MsAtwALCFT9Veu78K3InwuCiPqbCiuYlHlnbIaq+KrPzfEbAECXE2mGMvBdiuH7ahiQ/Rz5Y0MQllIrA5sBPKeIRxwPiBH+PRO8Uf5V2k+P+VwBqFVxBWCbxEPy82wfPN8Gy9He8IcUg8q/5/jW001aqzqp8AAAAASUVORK5CYII="},L9fm:function(e,t,n){},OSyE:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=m(n("kLXV")),r=m(n("9yH6")),o=m(n("5rEg")),i=m(n("Vl3Y")),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},u=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(a=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(e){r=!0,o=e}finally{try{!a&&l.return&&l.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("k3Gp"),n("K4yd"),n("1vPl"),n("tULf");var c=n("q1tI"),s=m(c),f=m(n("vDqi")),d=m(n("aqs5"));function m(e){return e&&e.__esModule?e:{default:e}}t.default=i.default.create()((0,c.forwardRef)((function(e){var t=e&&e.form,n=t.getFieldDecorator,m=t.validateFields,p=t.setFieldsValue,h=(0,c.useState)(!1),g=u(h,2),v=g[0],y=g[1];return(0,c.useEffect)((function(){v||p({code:void 0,role:"developer"})}),[v]),s.default.createElement(s.default.Fragment,null,s.default.createElement(a.default,{title:"加入项目",width:"480px",visible:v,centered:!0,onOk:function(){m((function(t,n){if(!t){f.default.post("/applied_projects.json",{applied_project:l({},n)}).then((function(t){t&&t.data&&(y(!1),e.showNotification("申请加入项目成功,等待审核!"))})).catch((function(e){}))}}))},onCancel:function(){return y(!1)}},s.default.createElement(i.default,{layout:"inline",className:"inviteForm"},s.default.createElement(i.default.Item,{label:"项目邀请码"},n("code",{rules:[{required:!0,message:"请输入6位项目邀请码"},{validator:function(e,t,n){t||n(),(t.length<6||t.length>6)&&n("请输入6位数的邀请码"),n()}}]})(s.default.createElement(o.default,{placeholder:"请输入6位项目邀请码",autoComplete:"off",maxLength:"6",style:{width:"300px"}}))),s.default.createElement(i.default.Item,{label:"选择角色"},n("role",{rules:[{required:!0,message:"请选择角色"}]})(s.default.createElement(r.default.Group,{defaultValue:"developer"},s.default.createElement(r.default,{value:"manager"},"管理员"),s.default.createElement(r.default,{value:"developer"},"开发者"),s.default.createElement(r.default,{value:"reporter"},"报告者")))))),s.default.createElement(d.default,l({},e,{sureFunc:function(){return y(!0)}}),"加入项目"))})))},POou:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=w(n("diRs")),r=w(n("KrTs")),o=w(n("jsC+")),i=w(n("BvKs")),l=w(n("TeRw")),u=w(n("5rEg")),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();n("Aosp"),n("JvnM"),n("aIZi"),n("2WkQ"),n("O+I2"),n("1vPl");var f=n("q1tI"),d=w(f),m=w(n("GNFk")),p=n("sYIF"),h=w(n("vDqi")),g=n("eO8H"),v=w(n("CWZq")),y=w(n("wWFW")),b=w(n("OSyE"));n("7aN/");var E=w(n("aqs5"));n("Dgc1");var k=w(n("ApAT"));function w(e){return e&&e.__esModule?e:{default:e}}var O=window.$;u.default.Search;window._header_componentHandler=null;var C=["www.trustie.net","forgeplus.trustie.net","forum.trustie.net","testforgeplus.trustie.net"],A=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.openNotification=function(e){l.default.open({message:"提示",description:e})},n.educoderlogin=function(){n.setState({isRender:!0})},n.educoderloginysl=function(){h.default.get("/accounts/logout.json").then((function(e){void 0!==e&&(window.location.href="/")})).catch((function(e){console.log(e)}))},n.hideAddcoursestypes=function(){n.setState({Addcoursestypes:!1})},n.HideAddcoursestypess=function(e){n.setState({Addcoursestypes:!1,mydisplay:!0,occupation:e})},n.ModalCancelsy=function(){n.setState({mydisplay:!1})},n.cancelModulationModels=function(){n.setState({isRenders:!1})},n.setevaluatinghides=function(){n.setState({setevaluatinghides:!0})},n.Modifyloginvalue=function(){n.setState({isRender:!1})},n.hideAccountProfile=function(){n.setState({AccountProfiletype:!1})},n.headtypesonClick=function(e,t){n.setState({headtypess:e,headtypesonClickbool:t})},n.gettablogourlnull=function(){n.setState({settings:void 0});var e=document.createElement("link"),t=document.getElementById("dynamic-favicon");e.id="dynamic-favicon",e.rel="shortcut icon",e.href="/react/build/./favicon.ico",t&&document.head.removeChild(t),document.head.appendChild(e)},n.gettablogourldata=function(e){document.title=e.data.setting.name;var t=document.createElement("link"),n=document.getElementById("dynamic-favicon");t.id="dynamic-favicon",t.rel="shortcut icon",t.href="/"+e.data.setting.tab_logo_url,n&&document.head.removeChild(n),document.head.appendChild(t)},n.handleVisibleChanges=function(e){n.setState({visiblemyss:e})},n.geturlsdata=function(){h.default.get("/setting.json").then((function(e){e&&e.data?(n.setState({settings:e.data.setting}),localStorage.setItem("chromesetting",JSON.stringify(e.data.setting)),localStorage.setItem("chromesettingresponse",JSON.stringify(e))):n.gettablogourlnull()})).catch((function(e){n.gettablogourlnull()}))},n.matchpaths=function(e){var t=n.props.match;if(e)return t.path.indexOf(e)>-1},n.checkProfile=function(e){var t=n.props,a=t.showCompeleteDialog;t.completeProfile?window.location.href(e):a&&a()},n.addMenu=function(e){return e&&e.length>0&&d.default.createElement("div",{className:"dropdownFlex"},d.default.createElement(i.default,null,e.map((function(e,t){return"加入课堂"!==e.name&&"加入开发项目"!==e.name&&d.default.createElement(i.default.Item,{key:e.name+t},d.default.createElement(E.default,c({},n.props,{sureFunc:function(){window.location.href=e.url}}),e.name))})),d.default.createElement(i.default.Item,null,d.default.createElement(b.default,c({},n.props,{showNotification:n.props.showNotification})))))},n.renderMenu=function(e){var t=n.props.current_user;return d.default.createElement(i.default,{className:"currentMenu"},d.default.createElement(i.default.Item,null,d.default.createElement("span",{className:"currentName",title:t&&t.username},t&&t.username)),e&&e.length>0&&e.map((function(e,t){return d.default.createElement("li",{key:t},d.default.createElement("a",{href:e.url,target:"_blank"},e.name))})),d.default.createElement(i.default.Item,null,d.default.createElement("a",{onClick:function(){return n.educoderloginysl()}},"退出")))},n.handleVisibleChange=function(e){n.setState({visible:e})},n.state={Addcoursestypes:!1,tojoinitemtype:!1,tojoinclasstitle:void 0,rolearr:["",""],Checkboxteacherchecked:!1,Checkboxstudentchecked:!1,Checkboxteachingchecked:!1,Checkboxteachertype:!1,Checkboxteachingtype:!1,code_notice:!1,RadioGroupvalue:void 0,submitapplications:!1,isRender:!1,showTrial:!1,setevaluatinghides:!1,occupation:0,mydisplay:!1,headtypesonClickbool:!1,headtypess:"/",settings:null,visiblemyss:!1,openSearch:!1,visible:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"componentDidMount",value:function(){var e,t;this.geturlsdata(),window._header_componentHandler=this,O(".edu-menu-panel").hover((function(){e&&(t&&t!==this&&O(t).find(".edu-menu-list").hide(),clearTimeout(e),e=null),t=this,O(this).find(".edu-menu-list").show()}),(function(){var t=this;e=setTimeout((function(){O(t).find(".edu-menu-list").hide()}),800)}));try{window.sessionStorage.setItem("yslgeturls",JSON.stringify(window.location.href))}catch(e){}}},{key:"componentWillReceiveProps",value:function(e,t){this.setState({user:e.user})}},{key:"render",value:function(){var e=this,t=this.props,n=t.match,i=t.resetUserInfo,l=t.showNotification,u=this.props.user,s=this.state,f=s.AccountProfiletype,h=s.user,b=s.isRender,E=s.headtypesonClickbool,w=s.headtypess,O=s.settings,A=s.visible;"/forums"===n.path||(n.path.startsWith("/shixuns")||(n.path.startsWith("/paths")||(n.path.startsWith("/courses")||(n.path.startsWith("/crowdsourcing")||(n.path.startsWith("/moop_cases")||n.path.startsWith("/competitions"))))));if(O&&O.navbar&&O.navbar.length>0)if("/"===n.path)!1===E?void 0:w;else for(var N=0;N<O.navbar.length;N++)if(n.path===O.navbar[N].link){O.navbar[N].link;break}if(this.props&&null!=this.props.mygetHelmetapi){this.props.mygetHelmetapi&&this.props.mygetHelmetapi.navbar&&this.props.mygetHelmetapi.navbar.map((function(e,t){var n=RegExp(e.link);"/shixuns".match(n)&&!0===e.hidden&&!0,"/paths".match(n)&&!0===e.hidden&&!0,"/courses".match(n)&&!0===e.hidden&&!0}))}var S=O&&O.common&&O.common.search;return d.default.createElement("div",{className:"newHeaders",id:"nHeader"},d.default.createElement("div",{className:"headerContent"},!0===b?d.default.createElement(v.default,c({},this.props,this.state,{Modifyloginvalue:function(){return e.Modifyloginvalue()}})):"",!0===f?d.default.createElement(m.default,c({hideAccountProfile:function(){return e.hideAccountProfile()}},this.props,this.state)):"",O&&O.nav_logo_url?d.default.createElement("a",{href:O&&O.new_course.default_url,className:"fl mr50",style:{minWidth:"45px"}},d.default.createElement("img",{alt:"可控开源社区",className:"logoimg",style:{heigth:"40px"},src:(0,p.getImageUrl)("/"+O.nav_logo_url)})):"",d.default.createElement("div",{className:"head-nav pr",id:"head-navpre1"},O&&O.navbar&&O.navbar.length>0?d.default.createElement("ul",{id:"header-nav"},O.navbar&&O.navbar.map((function(t,n){var a=t.link,r=u&&u.login,o=t.hidden;a&&(a.indexOf("courses")>-1||a.indexOf("contests")>-1)&&(r?a.indexOf("courses")>-1?a=a.replace(/courses/g,r+"/courses"):a.indexOf("contests")>-1&&(a=a.replace(/contests/g,r+"/contests")):o=!0),r&&a&&a.indexOf("homes")>-1&&(a=a.replace(/homes/g,r+"/user_activities"));var i=a&&C.filter((function(e){return a.indexOf(e)>-1})),l=i&&i.length>0;return d.default.createElement("li",{key:n,onClick:function(){return e.headtypesonClick(t.link,!0)},className:!0===e.matchpaths(t.link)?"pr active":"pr",style:o?{display:"none"}:{display:"flex"}},d.default.createElement("a",{href:a,target:l?"_self":"_blank"},t.name))}))):""),d.default.createElement("div",{className:"head-right"},S&&d.default.createElement(y.default,this.props),u&&(u.main_site||u.login)&&O&&O.add&&O.add.length>0?d.default.createElement(o.default,{overlay:this.addMenu(O&&O.add),placement:"bottomRight"},d.default.createElement("i",{className:"iconfont icon-tianjiafangda color-grey-6 ml30 mr15"})):"",O&&O.common&&O.common.notice&&u&&u.login?d.default.createElement(a.default,{overlayClassName:"notice-popover",placement:"bottomRight",content:d.default.createElement(k.default,{visible:A,current_user:u,showNotification:l,resetUserInfo:i}),visible:A,onVisibleChange:this.handleVisibleChange,destroyTooltipOnHide:!0},d.default.createElement(g.Link,{to:"/settings/notice",className:"message-icon"},u&&d.default.createElement(r.default,{count:u.message_unread_total},d.default.createElement("i",{className:"iconfont icon-xiaoxilingdang color-grey-6 ml15 mr15"})))):""),!h||h&&!h.login?d.default.createElement("span",{className:"font-15 ml30"},d.default.createElement("a",{onClick:function(){return e.educoderlogin()},className:"mr5 color-grey-6"},"登录"),O&&O.common&&O.common.register&&d.default.createElement("span",null,d.default.createElement("em",{className:"vertical-line"}),d.default.createElement("a",{className:"ml5 color-grey-6",href:""+O.common.register,target:"_blank"},"注册"))):d.default.createElement(o.default,{placement:"bottomRight",overlay:this.renderMenu(O&&O.personal)},d.default.createElement("a",{href:"/"+(this.props.current_user&&this.props.current_user.login)},d.default.createElement("img",{alt:"头像",src:(0,p.getImageUrl)("/"+h.image_url),className:"currentImg"})))))}}]),t}(f.Component);t.default=A},PQdb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(a=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(e){r=!0,o=e}finally{try{!a&&l.return&&l.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=n("q1tI"),i=(a=o)&&a.__esModule?a:{default:a};n("Dgc1"),t.default=function(){var e,t=(0,o.useState)(void 0),n=r(t,2),a=n[0],l=n[1];return(0,o.useEffect)((function(){try{var e=JSON.parse(localStorage.getItem("chromesetting"));l(e.footer)}catch(e){}}),[]),i.default.createElement("div",null,i.default.createElement("div",{style:{height:"543px"}}),i.default.createElement("div",{className:"newFooter edu-txt-center"},a&&(e={__html:a},i.default.createElement("div",{dangerouslySetInnerHTML:e}))))}},TVwk:function(e,t,n){},aqs5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a,r=n("q1tI"),o=(a=r)&&a.__esModule?a:{default:a};t.default=function(e){var t=e.children,n=e.sureFunc,a=e.showCompeleteDialog,r=e.completeProfile,i=e.className;return o.default.createElement("a",{className:i,onClick:function(){r?n():a&&a()}},t)}},beKO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(n("2/Rp")),r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(a=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(e){r=!0,o=e}finally{try{!a&&l.return&&l.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("L/Qf");var o=n("q1tI"),i=s(o),l=s(n("/k9T")),u=s(n("vDqi")),c=s(n("INgk"));function s(e){return e&&e.__esModule?e:{default:e}}n("CON+"),t.default=function(e){var t=e.visible,n=e.onCancel,s=(e.history,(0,o.useState)(t)),f=r(s,2),d=f[0],m=f[1],p=(0,o.useState)(!1),h=r(p,2),g=h[0],v=h[1];function y(){n(),m(!1)}return(0,o.useEffect)((function(){u.default.interceptors.response.use((function(e){return!e||411!==e.data.status&&412!==e.data.status||(m(!0),412===e.data.status&&v(!0)),e}),(function(e){}))}),[]),(0,o.useEffect)((function(){m(t)}),[t]),i.default.createElement(l.default,{title:"完善资料",onCancel:y,visible:d,btn:g?i.default.createElement("div",null,i.default.createElement(a.default,{type:"primary",size:"large",onClick:y},"好的")):i.default.createElement("div",null,i.default.createElement(a.default,{size:"large",onClick:y},"暂不补充"),i.default.createElement(a.default,{type:"primary",size:"large",onClick:function(){n(),m(!1),setTimeout((function(){window.open("/settings/profile","_blank")}),200)}},"好的"))},i.default.createElement("div",{className:"contents"},i.default.createElement("img",{src:c.default,alt:""}),g?i.default.createElement("p",null,"目标用户个人资料不完整,需提醒目标用户补充资料后以进行后续操作"):i.default.createElement("p",null,"您目前的个人资料不完整,需要补充资料以进行后续操作。是否前往补充个人信息?")))}},bjH3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("q1tI"),r=c(a);n("vg9a");var o=n("ud8/"),i=c(o);n("SJMd");var l=c(n("wMS7")),u=n("Oy/b");function c(e){return e&&e.__esModule?e:{default:e}}var s=/<pre[^>]*>/g;t.default=function(e){var t=e.value,n=void 0===t?"":t,c=e.className,f=e.style,d=void 0===f?{}:f,m=e.url,p=String(n),h=(0,a.useMemo)((function(){var e=(0,i.default)(p),t=(0,o.getMathExpressions)();return p.match(/\[TOC\]/)&&(e=e.replace("<p>[TOC]</p>",(0,o.getTocContent)()),(0,o.cleanToc)()),e=(e=e.replace(/(__special_katext_id_\d+__)/g,(function(e,n){var a=t[n],r=a.type,o=a.expression;return(0,u.renderToString)(function(e){var t=document.createElement("div");return t.innerHTML=e,0===t.childNodes.length?"":t.childNodes[0].nodeValue}(o)||"",{displayMode:"block"===r,throwOnError:!1,output:"html"})}))).replace(/▁/g,"▁▁▁"),(0,o.resetMathExpressions)(),l.default.sanitize(e)}),[p]);(0,a.useEffect)((function(){if(m&&m.hash&&h){var e=m.hash;if(e){var t=decodeURIComponent(e.split("#")[1]),n=document.getElementById(t);n&&window.scrollTo(0,n.offsetTop+120)}}}),[m,h]);var g=(0,a.useRef)();function v(e){var t=e.target;if("A"===t.tagName.toUpperCase()){var n=t.getAttribute("href");if(n&&n.startsWith("#")){e.preventDefault();var a=document.getElementById(n.replace("#",""));a&&a.scrollIntoView(!0)}}}return(0,a.useEffect)((function(){if(g.current&&h&&h.match(s)&&window.PR.prettyPrint(),g.current)return g.current.addEventListener("click",v),function(){g.current.removeEventListener("click",v),(0,o.resetMathExpressions)(),(0,o.cleanToc)()}}),[h,g.current,v]),r.default.createElement("div",{ref:g,style:d,className:(c||"")+" markdown-body",dangerouslySetInnerHTML:{__html:h}})}},dF3D:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFsAAABKCAYAAADUvCinAAAAAXNSR0IArs4c6QAAFq9JREFUeAHdnAl4VFWWx6sqlYWEkIRsJCRkJQECCXsIS0gAWWwQl1YQxQ2nRx0/u9We8etvpmf87LFt7XHs7mmXbhVEFESQdWRfwiKGXRYhkI0sQAIBAmQnqZrfKfMyZVGVqldLjL7vu9997757zz33/84995xzb5VG8xO/Fi1aNPTDDz/M7w7D1HcHJjzFAyCPNxgMi/V6/YOe6kMNXZ2ayj+mugsXLhSAFxqNxtmPPvroge7A+09Osj///HOvmzdvvoZET/D19Z04f/78i90BaOHhJwU20hx748aNZVqt9kR0dHTOnXfe2dxdgBY+tN2JGVd4QT8/gsp4GRovPfnkkytcoeWptj96ycbaiEdl/BWgEWjt+AULFlzwFFiu0v3RSvaGDRt8L168+CIALNDpdL99/PHHl7oKhqfbe3m6A3fTR4J1/fr1m88iuBxJPs8iOBdr45C7+/EEvR+NZIuVUVdX9wBg/wYgTnp7e//rI488UuoqKCyqv4FmK+rnj67Sste+2+vsjz/+OODWrVsiyb9iMIcAZh4L4El7A3PkPUA/Db2ZERERdzhS39U63RbsDz74YDBq4qmWlpZZ5GtIdz7xxBMlrg5YaY/18iuAnhsYGDht1qxZDUq5J/NuBTZSnIAUzwGEOYB7i/R3pO5f3AkGtHVI9BuAmkG644EHHrjpSYDNaf+gOvvQoUPe33zzTRYMTSVNB1xf0mfo4+V4fkXmjMr9p59+GtLU1CSSPpzHvcQ8NqK36y3r2Xpub7+M92UZGRnPjhw58patup4o71KwkahwgBqFXTyawUgS6RI9vBngNj/22GPFloNkukfTZjZ17iXl8L5jNlLexPMW8lU9e/Zcj5RetWyvPKOWsrl/HzPxTdTR35XyrszdBjZAaD/66KMgBh4KmGGkKAaSzHN/yXkv96IbD5If8PLyOpCWlnbUmnQtWbIkGV19jwBM3Uyh7efnp+nfv3/lmTNnYnx8fE7OnDkzrKioSFdYWBhx/fp1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FyBEf5t4HT16lAZ1UYskf8aGcgptRdervqDJoRzTEV8BeB0An1BNRGUDj4Jtzgtg9cBOz0BaRzLQkayFnDzVDqTcy7ye5T3qZVdJSfH7BQWFv+edN2plDfY5el2Ta1nX1jP9tQHsaYyew/R3CHPzEHbyMcobbbXxRHmXgW2NeQbuS6Qwlg9AyLaNQzLySwKtqAt+dSxHwsQE1PYAWAM5Z+hM/1F1B+344ar8+6URsP4/p9512lZQXs49uVc5wFaw4VEBsLT5Ya//AzDfafkdei4SAAAAAElFTkSuQmCC"},hREH:function(e,t,n){},j4F2:function(e,t,n){},uRYN:function(e,t,n){},vwE6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=c(n("kLXV")),r=c(n("Vl3Y")),o=c(n("5rEg")),i=c(n("2/Rp"));n("k3Gp"),n("tULf"),n("1vPl"),n("L/Qf");var l=n("q1tI"),u=c(l);function c(e){return e&&e.__esModule?e:{default:e}}n("uRYN"),t.default=r.default.create()((0,l.forwardRef)((function(e){var t=e.form,n=e.visible,c=e.onOk,s=e.email,f=t.getFieldDecorator,d=t.validateFields,m=t.setFieldsValue;return(0,l.useEffect)((function(){s&&m({email:s})}),[s]),u.default.createElement(a.default,{visible:n,title:"提示",width:"500px",closable:!1,footer:u.default.createElement(i.default,{type:"primary",onClick:function(){d((function(e,t){e||c(t)}))}},"确定"),centered:!0},u.default.createElement("div",null,u.default.createElement("p",{className:"mb15 edu-txt-center",style:{maxWidth:"350px",margin:"0px auto"}},"为确保您能正常使用平台功能,请确认以下信息:"),u.default.createElement(r.default,{labelCol:{span:5},wrapperCol:{span:18}},u.default.createElement(r.default.Item,{label:"邮箱"},f("email",{rules:[{required:!0,message:"请输入邮箱账号"}]})(u.default.createElement(o.default,{placeholder:"请输入您的邮箱账号",width:"220px"}))),u.default.createElement(r.default.Item,{label:"密码"},f("password",{rules:[{required:!0,message:"请输入邮箱密码"}]})(u.default.createElement(o.default.Password,{placeholder:"请输入您的邮箱密码",width:"220px"}))))))})))},wWFW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=l(n("5rEg")),r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],a=!0,r=!1,o=void 0;try{for(var i,l=e[Symbol.iterator]();!(a=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);a=!0);}catch(e){r=!0,o=e}finally{try{!a&&l.return&&l.return()}finally{if(r)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};n("1vPl");var o=n("q1tI"),i=l(o);function l(e){return e&&e.__esModule?e:{default:e}}var u=a.default.Search;t.default=function(e){var t=e.history,n=(0,o.useState)(!1),a=r(n,2),l=a[0],c=a[1];return i.default.createElement(i.default.Fragment,null,l?i.default.createElement("div",{onBlur:function(){setTimeout((function(){c(!1)}),500)}},i.default.createElement(u,{placeholder:"请输入搜索关键字",className:"search-input mr20",onSearch:function(e){t.push("/search?value="+e)},autoFocus:!0,style:{width:"260px"}})):i.default.createElement("i",{className:"iconfont icon-sousuo font-18 color-grey-6 ml30",onClick:function(){c(!0)}}))}}}]);