|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[23,13],{"1Sn+":
|
|
|
/*!*************************************************!*\
|
|
|
!*** ./src/components/Header/search-input.less ***!
|
|
|
\*************************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){},"2tKv":
|
|
|
/*!***********************************************!*\
|
|
|
!*** ./src/components/LengthenModel/Code.png ***!
|
|
|
\***********************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/Code.584c4f34.png"},"55Ip":
|
|
|
/*!***************************************************************!*\
|
|
|
!*** ./node_modules/react-router-dom/esm/react-router-dom.js ***!
|
|
|
\***************************************************************/
|
|
|
/*! exports provided: MemoryRouter, Prompt, Redirect, Route, Router, StaticRouter, Switch, generatePath, matchPath, useHistory, useLocation, useParams, useRouteMatch, withRouter, BrowserRouter, HashRouter, Link, NavLink */
|
|
|
/*! exports used: Link */function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var a=n(/*! react-router */"Ty5D"),i=n(/*! @babel/runtime/helpers/esm/inheritsLoose */"dI71"),o=n(/*! react */"q1tI"),l=n.n(o),r=n(/*! history */"YS25"),c=(n(/*! prop-types */"17x9"),n(/*! @babel/runtime/helpers/esm/extends */"wx14")),s=n(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */"zLVn"),u=n(/*! tiny-invariant */"9R94");l.a.Component;l.a.Component;var d=function(e,t){return"function"==typeof e?e(t):e},m=function(e,t){return"string"==typeof e?Object(r.c)(e,null,null,t):e},p=function(e){return e},f=l.a.forwardRef;void 0===f&&(f=p);var v=f((function(e,t){var n=e.innerRef,a=e.navigate,i=e.onClick,o=Object(s.a)(e,["innerRef","navigate","onClick"]),r=o.target,u=Object(c.a)({},o,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||r&&"_self"!==r||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),a())}});return u.ref=p!==f&&t||n,l.a.createElement("a",u)}));var g=f((function(e,t){var n=e.component,i=void 0===n?v:n,o=e.replace,r=e.to,g=e.innerRef,h=Object(s.a)(e,["component","replace","to","innerRef"]);return l.a.createElement(a.e.Consumer,null,(function(e){e||Object(u.a)(!1);var n=e.history,a=m(d(r,e.location),e.location),s=a?n.createHref(a):"",v=Object(c.a)({},h,{href:s,navigate:function(){var t=d(r,e.location);(o?n.replace:n.push)(t)}});return p!==f?v.ref=t||g:v.innerRef=g,l.a.createElement(i,v)}))})),h=function(e){return e},b=l.a.forwardRef;void 0===b&&(b=h);b((function(e,t){var n=e["aria-current"],i=void 0===n?"page":n,o=e.activeClassName,r=void 0===o?"active":o,p=e.activeStyle,f=e.className,v=e.exact,x=e.isActive,_=e.location,E=e.sensitive,y=e.strict,w=e.style,O=e.to,S=e.innerRef,j=Object(s.a)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return l.a.createElement(a.e.Consumer,null,(function(e){e||Object(u.a)(!1);var n=_||e.location,o=m(d(O,n),n),s=o.pathname,N=s&&s.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),I=N?Object(a.f)(n.pathname,{path:N,exact:v,sensitive:E,strict:y}):null,A=!!(x?x(I,n):I),k=A?function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(f,r):f,C=A?Object(c.a)({},w,{},p):w,R=Object(c.a)({"aria-current":A&&i||null,className:k,style:C,to:o},j);return h!==b?R.ref=t||S:R.innerRef=S,l.a.createElement(g,R)}))}))},B1O0:
|
|
|
/*!*********************************************!*\
|
|
|
!*** ./src/assets/images/advertisement.jpg ***!
|
|
|
\*********************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/advertisement.ef242f7f.jpg"},BJfS:
|
|
|
/*!*****************************************************!*\
|
|
|
!*** ./node_modules/string-convert/camel2hyphen.js ***!
|
|
|
\*****************************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! all exports used */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},BLHT:
|
|
|
/*!***************************************************************!*\
|
|
|
!*** ./src/components/Footer/BeforeFooter/index.less?modules ***!
|
|
|
\***************************************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports={flex_box_center:"flex_box_center___tGua6",flex_space_between:"flex_space_between___sLRzb",flex_box_vertical_center:"flex_box_vertical_center___3RJH-",flex_box_center_end:"flex_box_center_end___2FaoL",flex_box_column:"flex_box_column____9_T2",footer:"footer___3QRzm",fastLink:"fastLink___MJhMZ",cooperation:"cooperation___208jm",copyright:"copyright___27kZ0"}},CAjq:
|
|
|
/*!********************************************!*\
|
|
|
!*** ./src/assets/images/index/qqCode.png ***!
|
|
|
\********************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/qqCode.a1502573.png"},"Cs+z":
|
|
|
/*!******************************************!*\
|
|
|
!*** ./src/components/HomeModal/jqr.png ***!
|
|
|
\******************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/jqr.b801d45b.png"},H8y1:
|
|
|
/*!***************************************************!*\
|
|
|
!*** ./src/layouts/SimpleLayouts.tsx + 7 modules ***!
|
|
|
\***************************************************/
|
|
|
/*! exports provided: default */
|
|
|
/*! all exports used */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/slicedToArray.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator/index.js (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/CustomOperateModel/index.less?modules (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/Footer/BeforeFooter/index.less?modules (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/Footer/NewFooter/index.less?modules (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/SideBar/index.less?modules (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/layouts/index.less?modules (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/core/umiExports.ts */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/Header/index.tsx */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/RenderHtml/index.tsx */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/env.ts */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/fetch.ts */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/util.tsx */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/assets/images/AnhuiContact.jpg (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/assets/images/AssistantCode3.jpeg (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/assets/images/advertisement.jpg (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/assets/images/beian.png (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/assets/images/delete.png (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/assets/images/index/qqCode.png (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/assets/images/sidbra.png (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/HomeModal/jqr.png (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/LengthenModel/Code.png (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/back-top/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/back-top/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/button/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/button/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/carousel/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/carousel/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/checkbox/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/checkbox/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale/zh_CN.js (<- Module is referenced from these modules with unsupported syntax: ./src/.umi-production/plugin-locale/locale.tsx (referenced with cjs require)) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/modal/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/modal/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/row/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/row/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/tooltip/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/tooltip/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/lodash/lodash.js (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/moment/moment.js (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-router/esm/react-router.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.r(t);n("GNNt");var a=n("wEI+"),i=n("tJVT"),o=n("PpiC"),l=n("q1tI"),r=n.n(l),c=n("+Gva"),s=n("ruvs"),u=n("9kvl"),d=n("wd/R"),m=n.n(d),p=n("d5bv"),f=n.n(p),v=n("BLHT"),g=n.n(v),h=function(e){e.user;var t,n,a,i,o=e.globalSetting;return r.a.createElement("div",{className:g.a.footer,style:{height:null!=o&&null!==(t=o.setting)&&void 0!==t&&t.main_site?"":"80px",lineHeight:null!=o&&null!==(n=o.setting)&&void 0!==n&&n.main_site?"":"80px"}},null!==(a=o.setting)&&void 0!==a&&a.footer?r.a.createElement("div",{dangerouslySetInnerHTML:{__html:null===(i=o.setting)||void 0===i?void 0:i.footer}}):r.a.createElement("div",null,r.a.createElement("p",{className:"footer_con-p inline lineh-30 font-14"},r.a.createElement("span",{className:"font-18 fl"},"©")," ",m()().year()," 启智",r.a.createElement("a",{style:{color:"#888"},target:"_blank",href:"http://beian.miit.gov.cn/",className:"ml15 mr15"},"京ICP备18004880号"),r.a.createElement("a",{style:{color:"#888"},target:"_blank",href:"https://beian.miit.gov.cn/",className:"mr15"},r.a.createElement("img",{className:"vertical4",src:f.a}),"京ICP备18004880号"),r.a.createElement("a",{href:"https://team.trustie.net",style:{color:"#888"},target:"_blank"},"Trustie")," & IntelliDE inside. ",r.a.createElement("span",{className:"mr15"},"版权所有 Powered_by 鹏城实验室云脑"))))},b=(n("2qtc"),n("kLXV")),x=n("NaGD"),_=n.n(x),E=n("m3rI"),y=n("1vsH"),w=n("CAjq"),O=n.n(w),S=function(e){e.user;var t,n,a=e.globalSetting,o=Object(l.useState)(!1),c=Object(i.a)(o,2),s=c[0],u=c[1];Object(l.useEffect)((function(){return window.addEventListener("click",d),function(){window.removeEventListener("click",d)}}),[]);var d=function(e){var t,n,a;null==e||!e.target||"教师交流社区"!==(null==e||null===(t=e.target)||void 0===t?void 0:t.innerText)&&"教师交流社区"!==(null==e||null===(n=e.target)||void 0===n||null===(a=n.nextElementSibling)||void 0===a?void 0:a.innerText)||function(e,t){if(e.className===t)return e;for(var n=0,a=e;a=a.parentNode;n++){if(a.className===t)return a;if(a==document.documentElement)return!1}}(e.target,"module-introduce")&&function(){if(/macintosh|mac os x/i.test(navigator.userAgent))u(!0);else{Object(y.Q)("//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd")}}()};return r.a.createElement(r.a.Fragment,null,r.a.createElement(b.a,{centered:!0,destroyOnClose:!0,visible:s,title:"教师交流社区",width:"500px",footer:null,onCancel:function(){return u(!1)}},r.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},r.a.createElement("p",null,"扫码或搜索加入教师交流QQ群:612934990 "),r.a.createElement("img",{src:O.a,width:200,height:200}))),r.a.createElement("div",{className:_.a.newFooter,dangerouslySetInnerHTML:{__html:null===(t=a.setting)||void 0===t||null===(n=t.footer)||void 0===n?void 0:n.replaceAll("/api/attachments/",E.a.IMG_SERVER+"/api/attachments/")}}))},j=Object(u.a)((function(e){var t=e.user,n=e.loading;return{user:t,globalSetting:e.globalSetting,loading:n.models.index}}))((function(e){var t,n,a=e.user,i=e.globalSetting;e.loading,e.dispatch;return i.showFooter&&i.showHeaderFooter?r.a.createElement("section",{id:"footer"},null==i||null===(t=i.setting)||void 0===t||!t.main_site||null!=i&&null!==(n=i.setting)&&void 0!==n&&n.is_local?r.a.createElement(h,{user:a,globalSetting:i}):r.a.createElement(S,{user:a,globalSetting:i})):r.a.createElement(r.a.Fragment,null," ")})),N=(n("4eJr"),n("3LgI")),I=(n("5Dmo"),n("3S7+")),A=n("Ty5D"),k=n("iHkK"),C=n.n(k),R=n("Cs+z"),T=n.n(R),z=n("yTi+"),F=n.n(z),P=n("odpV"),M=n.n(P),B=Object(u.a)((function(e){var t=e.loading,n=e.globalSetting,a=e.user,i=e.shixunHomeworks;return{globalSetting:n,user:a,loading:t.models.index,shixunHomeworks:i}}))((function(e){var t,n,a,o,c,s=e.globalSetting,u=(e.loading,e.shixunHomeworks),d=e.user,m=e.dispatch,p=Object(l.useState)(!1),f=Object(i.a)(p,2),v=f[0],g=f[1],h=Object(l.useState)(!1),x=Object(i.a)(h,2),_=x[0],w=x[1],S=Object(l.useState)(localStorage.hideCustom?JSON.parse(localStorage.hideCustom):[]),j=Object(i.a)(S,1)[0],k=Object(l.useState)("1"!=(null===(t=localStorage)||void 0===t?void 0:t.hidesidebar)),R=Object(i.a)(k,2),z=R[0],P=R[1],B=Object(l.useState)(!1),H=Object(i.a)(B,2),L=H[0],V=H[1],D=Object(l.useRef)(),W=Object(A.h)();Object(l.useEffect)((function(){return window.addEventListener("scroll",Q),function(){return window.removeEventListener("scroll",Q)}}),[]),Object(l.useEffect)((function(){setTimeout((function(){localStorage.setItem("hidesidebar","1"),P(!1)}),5e3)}),[]),Object(l.useEffect)((function(){99===u.actionTabs.type&&(V(!0),setTimeout((function(){V(!1)}),5e3))}),[u.actionTabs]),console.log("-----",L),Object(l.useEffect)((function(){var e,t,n;null!=d&&null!==(e=d.userInfo)&&void 0!==e&&e.login&&(j.includes(null==d||null===(t=d.userInfo)||void 0===t?void 0:t.login)||null!=s&&null!==(n=s.setting)&&void 0!==n&&n.is_local||setTimeout((function(){var e,t,n=document.createEvent("Events");(n.initEvent("mouseout",!0,!1),D)&&(null===(t=D.current)||void 0===t||t.dispatchEvent(n));j.push(null==d||null===(e=d.userInfo)||void 0===e?void 0:e.login),localStorage.hideCustom=JSON.stringify(j)}),5e3))}),[d]),console.log("------location",W);var Q=function(){var e,t;"/Activities"!==W.pathname?g((null===(e=document)||void 0===e||null===(t=e.documentElement)||void 0===t?void 0:t.scrollTop)>0):g(!1)};return r.a.createElement("div",{className:C.a.sideBar},r.a.createElement("div",{id:"wechat_QR_code_ids"},!s.onlyShowBackTop&&(null==s?void 0:s.onlyShowBackTopIcons)&&z&&r.a.createElement(r.a.Fragment,null,0===parseInt(localStorage.getItem("Noviceguide"))&&2!=d.userInfo.user_id&&d.userInfo.is_teacher&&r.a.createElement("div",{id:"wechat_QR_code",onClick:function(){localStorage.setItem("Noviceguide","1"),"/classrooms"===(null==W?void 0:W.pathname)?m({type:"shixunHomeworks/setActionTabs",payload:{key:"底部弹窗",type:5,text:r.a.createElement("div",null,"非常棒,咱们已经到达【教学课堂】,平台上已经有几千位老师创建了自己的教学课堂,你也可以轻松完成哟!现在请您点击页面上 “新建课堂”按钮开始新建自己的课堂~")}}):"/classrooms/new"===(null==W?void 0:W.pathname)?m({type:"shixunHomeworks/setActionTabs",payload:{key:"底部弹窗",type:6,text:r.a.createElement("div",null,"教学课堂必填的内容包括:课程名称、课堂名称和课堂所属单位。其他内容你可以根据实际需求进行安排。填写完成后,点击页面底部 “提交”按钮即可。")}}):m({type:"shixunHomeworks/setActionTabs",payload:{key:"底部弹窗",type:4,text:r.a.createElement("div",null,"OK,接下来,让我们开始新建【教学课堂】,请您找到闪光框并点击 “教学课堂”。")}})},ref:D},r.a.createElement(I.a,{placement:"left",getPopupContainer:function(){return document.getElementById("wechat_QR_code_ids")},title:r.a.createElement("div",null,"新手引导")},r.a.createElement("img",{id:"textaa",style:{position:"absolute",top:"-140px",left:"-10px",width:"86px",height:"120px"},src:T.a}))),!(null==d||null===(n=d.userInfo)||void 0===n||!n.login)&&r.a.createElement(I.a,{placement:"left",defaultVisible:!(null!=j&&j.includes(null==d||null===(a=d.userInfo)||void 0===a?void 0:a.login)),getPopupContainer:function(){return document.getElementById("wechat_QR_code_ids")},title:r.a.createElement("div",null,r.a.createElement("div",{className:"tc"},r.a.createElement("img",{className:"mt10",src:F.a,width:"188px",height:"188px"})),r.a.createElement("div",{className:"tc font15 mt10"},"免费教研助理"),r.a.createElement("div",{className:"tc font15"},"微信扫一扫添加"),r.a.createElement("div",{className:"pt10 font12"},r.a.createElement("ul",{className:C.a.ul},r.a.createElement("li",null,"解答老师疑惑、帮助老师更快熟悉和使用平台教学"),r.a.createElement("li",null,"协助老师创建课堂、课程设计、做好教学工作。"),r.a.createElement("li",null,"根据老师教学方向,分享平台C9院校、985高校、211高校、双一流高校老师经典实践教学案例。"))))},r.a.createElement("div",{className:C.a.wrap,ref:D},r.a.createElement("a",{href:"javascript:void(0)"},r.a.createElement("i",{className:"iconfont icon-yijianfankui1 c-light-primary font22"})))),!(null!=s&&null!==(o=s.setting)&&void 0!==o&&o.is_local)&&r.a.createElement(I.a,{placement:"left",getPopupContainer:function(){return document.getElementById("wechat_QR_code_ids")},title:r.a.createElement("div",null,r.a.createElement("img",{src:"".concat(E.a.IMG_SERVER,"/images/educoder/EWM.jpg"),width:"158px",height:"158px"}),r.a.createElement("div",{className:"tc font15"},"微信扫一扫"),r.a.createElement("div",{className:"tc font15"},"关注公众号"))},r.a.createElement("div",{className:C.a.wrap},r.a.createElement("i",{className:"iconfont icon-erweima1 c-light-primary font22"}))),!(null!=s&&null!==(c=s.setting)&&void 0!==c&&c.is_local)&&r.a.createElement(I.a,{placement:"left",title:"在线咨询"},r.a.createElement("div",{className:C.a.wrap},r.a.createElement("a",{onClick:function(){var e=/macintosh|mac os x/i.test(navigator.userAgent);if(console.log(e),e)w(!0);else{Object(y.Q)("//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd")}},className:"c-white"},r.a.createElement("i",{className:"iconfont icon-QQ1 c-light-primary font22"})))),r.a.createElement("div",{onClick:function(){P(!1),localStorage.setItem("hidesidebar","1")},style:{textAlign:"center",fontSize:"14px",color:"#0152d9",margin:"10px 0px",cursor:"pointer"}},"收起")),(null==W?void 0:W.pathname.includes("/vspaces/"))&&L&&r.a.createElement(I.a,{visible:!0,overlayClassName:C.a.tooltipclass,placement:"left",getPopupContainer:function(){return document.getElementById("wechat_QR_code_ids")},title:r.a.createElement("div",null,r.a.createElement("div",{style:{fontSize:"12px",marginBottom:"15px"},className:"tc "},"个人创建或加入的虚拟社区,可以在“ ",r.a.createElement("span",{style:{fontSize:"14px"}},"个人中心-更多-虚拟社区"),"”中查看哦。"),r.a.createElement("img",{src:M.a,width:"426px",height:"335px"}))},r.a.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"50px"}},r.a.createElement("i",{className:"iconfont icon-tishi6 c-light-primary font22"}))),(null==W?void 0:W.pathname.includes("/vspaces/"))&&!L&&r.a.createElement(I.a,{overlayClassName:C.a.tooltipclass,placement:"left",getPopupContainer:function(){return document.getElementById("wechat_QR_code_ids")},title:r.a.createElement("div",null,r.a.createElement("div",{style:{fontSize:"12px",marginBottom:"15px"},className:"tc "},"个人创建或加入的虚拟社区,可以在“",r.a.createElement("span",{style:{fontSize:"14px",fontWeight:600}},"个人中心-更多-虚拟社区"),"”中查看哦。"),r.a.createElement("img",{src:M.a,width:"426px",height:"335px"}))},r.a.createElement("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"50px"}},r.a.createElement("i",{className:"iconfont icon-tishi6 c-light-primary font22"}))),v&&r.a.createElement(I.a,{placement:"left",title:"返回顶部"},r.a.createElement(N.a,{className:"".concat(C.a.wrap," ").concat(C.a.backTop),visibilityHeight:0},r.a.createElement("i",{className:"iconfont icon-huidaodingbu c-light-primary font14"})))),r.a.createElement(b.a,{centered:!0,destroyOnClose:!0,visible:_,title:"教师交流社区",width:"500px",footer:null,onCancel:function(){return w(!1)}},r.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},r.a.createElement("p",null,"扫码或搜索加入教师交流QQ群:612934990 "),r.a.createElement("img",{src:O.a,width:200,height:200}))))})),H=(n("+L6B"),n("2/Rp")),L=n("9og8"),V=n("WmNS"),D=n.n(V),W=Object(u.a)((function(e){return{user:e.user,classroomList:e.classroomList}}))((function(e){e.user;var t=e.dispatch,n=e.classroomList;return r.a.createElement(b.a,{title:"温馨提示",zIndex:9999,footer:null,visible:"导出提醒"===n.actionTabs.key,onCancel:function(){t({type:"classroomList/setActionTabs",payload:{}})}},r.a.createElement("div",null,r.a.createElement("span",null,"您在当前栏目中有已导出的表格未下载,请先下载已有表格,然后再导出新的表格。"),r.a.createElement("br",null),r.a.createElement("div",{style:{textAlign:"end"}},r.a.createElement(H.a,{type:"primary",onClick:Object(L.a)(D.a.mark((function e(){return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t({type:"classroomList/setActionTabs",payload:{}});case 1:case"end":return e.stop()}}),e)})))},"知道了"))))})),Q=(n("14J3"),n("BMrR")),Y=(n("sRBo"),n("kaz8")),q=n("2tKv"),G=n.n(q),K=n("O9QN"),J=n.n(K),U=Object(u.a)((function(e){return{user:e.user}}))((function(e){var t,n,a=e.user,o=Object(l.useState)(!1),c=Object(i.a)(o,2),s=c[0],u=c[1],d=Object(l.useState)(""),p=Object(i.a)(d,2),f=p[0],v=p[1];Object(l.useEffect)((function(){var e,t,n=localStorage.getItem("extension-modal");if(null!=a&&null!==(e=a.userInfo)&&void 0!==e&&e.login&&n){var i=m()(),o="".concat(null==a||null===(t=a.userInfo)||void 0===t?void 0:t.login,"-extend-date"),l=localStorage.getItem(o);if(l)if(i<=m()(l))u(!1);else{u(!0),localStorage.removeItem(o),localStorage.removeItem("extension-modal");var r=m()(localStorage.getItem("extension-date")).format("YYYY年MM月DD日");v(r)}else{u(!0),localStorage.removeItem("extension-modal");var c=m()(localStorage.getItem("extension-date")).format("YYYY年MM月DD日");v(c)}return function(){u(!1)}}}),[null==a||null===(t=a.userInfo)||void 0===t?void 0:t.login]);return r.a.createElement(b.a,{title:"温馨提示",visible:s,zIndex:9999,centered:!0,width:594,onCancel:function(){u(!1)},footer:r.a.createElement(Q.a,{align:"middle",justify:"space-between"},r.a.createElement(Y.a,{onChange:function(e){var t,n="".concat(null==a||null===(t=a.userInfo)||void 0===t?void 0:t.login,"-extend-date"),i=m()().endOf("day").format("YYYY-MM-DD HH:mm:ss");e.target.checked?localStorage.setItem(n,i):localStorage.removeItem(n)}},"今日不再提醒"),r.a.createElement(H.a,{onClick:function(){u(!1)},style:{borderRadius:4},type:"primary"}," 关闭"))},r.a.createElement("div",{className:"font14",style:{paddingLeft:16}},r.a.createElement("div",null,"老师您好!"),r.a.createElement("div",{style:{textIndent:28}},"感谢您对平台的认可与支持!根据平台",r.a.createElement("a",{href:"/help/agreement",target:"_blank"},"服务协议"),",贵单位免费试用期已结束,将限制对相关功能和资源的使用。"),r.a.createElement("div",{style:{textIndent:28}},"请您添加以下微信客服,协助您完成后续使用及申请流程,感谢支持与理解。"),r.a.createElement("img",{style:{margin:"8px auto",display:"block"},width:160,src:"安徽"===(null===(n=a.userInfo)||void 0===n?void 0:n.school_province)?J.a:G.a,alt:"二维码"}),r.a.createElement("div",{style:{textAlign:"right"}},"运营中心"),r.a.createElement("div",{style:{textAlign:"right"}},f)))})),X=(n("fV52"),n("3I+P")),Z=n("xnZT"),$=n.n(Z),ee=n("9Bee"),te=n("ErOA"),ne=n("LvDl"),ae=n.n(ne),ie=Object(u.a)((function(e){return{user:e.user,globalSetting:e.globalSetting}}))((function(e){var t,n=e.dispatch,a=e.user,o=e.globalSetting,c=Object(l.useState)({}),s=Object(i.a)(c,2),u=s[0],d=s[1],p=Object(l.useState)([]),f=Object(i.a)(p,2),v=f[0],g=f[1],h=Object(l.useState)(0),b=Object(i.a)(h,2),x=b[0],_=b[1],E=Object(l.useState)(!1),w=Object(i.a)(E,2),O=w[0],S=w[1],j=Object(l.useRef)(null),N=Object(A.h)(),I=function(e){var t,n,i,o="".concat(null==a||null===(t=a.userInfo)||void 0===t?void 0:t.login,"-deadline-operate"),l=localStorage.getItem(o)?JSON.parse(localStorage.getItem(o)):[];l=null===(n=l)||void 0===n?void 0:n.filter((function(t){return t.id!==(null==e?void 0:e.id)}));var r=function(e,t){var n=null;return 0===e&&(n=m()().add(100,"month").unix()),1===e&&(n=m()().add(t,"hour").unix()),2===e&&(n=m()().add(t,"days").unix()),3===e&&(n=m()().add(7*t,"days").unix()),4===e&&(n=m()().add(t,"month").unix()),5===e&&(n=m()().add(3*t,"month").unix()),n}(null==e?void 0:e.show_type,null==e?void 0:e.show_count),c={id:null==e?void 0:e.id,deadline:r,type:null==e?void 0:e.show_type};null===(i=l)||void 0===i||i.push(c),localStorage.setItem(o,JSON.stringify(l))},k=function(){P(null==u?void 0:u.id,"close");var e=v[x+1];e?(I(e),d(e),_(x+1),P(null==e?void 0:e.id,"popup")):S(!1)},C=[{name:"首页",key:0,path:"/"},{name:"实践课程",key:1,path:"/paths"},{name:"实践项目",key:2,path:"/shixuns"},{name:"教学课堂",key:3,path:"/classrooms"},{name:"在线竞赛",key:4,path:"/competitions"},{name:"教学案例",key:5,path:"/moop_cases"},{name:"交流问答",key:6,path:"/forums/categories"},{name:"个人中心",key:7,path:"/users"}];Object(l.useEffect)((function(){var e,t,n;console.log(null==o?void 0:o.operateModelPath,null==a||null===(e=a.userInfo)||void 0===e?void 0:e.login,11444),null!=o&&o.operateModelPath&&null!=o&&null!==(t=o.setting)&&void 0!==t&&t.main_site&&null!=a&&null!==(n=a.userInfo)&&void 0!==n&&n.login&&M()}),[null==o?void 0:o.operateModelPath,null==a||null===(t=a.userInfo)||void 0===t?void 0:t.login]),Object(l.useEffect)((function(){return function(){n({type:"globalSetting/setOperateModelPath",payload:""})}}),[]),Object(l.useEffect)((function(){var e,t,a,i;if(null!=N&&null!==(e=N.pathname)&&void 0!==e&&e.includes("/users")&&4===(null==N||null===(t=N.pathname)||void 0===t||null===(a=t.split("/"))||void 0===a?void 0:a.length))n({type:"globalSetting/setOperateModelPath",payload:"/users"});else if(null!=N&&null!==(i=N.pathname)&&void 0!==i&&i.includes("/forums/categories"))n({type:"globalSetting/setOperateModelPath",payload:"/forums/categories"});else for(var o=0;o<C.length;o++){var l,r;if((null==C||null===(l=C[o])||void 0===l?void 0:l.path)===(null==N?void 0:N.pathname))return void n({type:"globalSetting/setOperateModelPath",payload:null==C||null===(r=C[o])||void 0===r?void 0:r.path})}}),[null==N?void 0:N.pathname]),Object(l.useEffect)((function(){return window.addEventListener("click",F),function(){window.removeEventListener("click",F)}}),[u]);var R,T,z=function(e){if(null!=e&&e.getAttribute("data-operate-type"))return e;for(var t=0,n=e;n=n.parentNode;t++){var a;if(null!==(a=n)&&void 0!==a&&a.getAttribute("data-operate-type"))return n;if(n==document.documentElement)return!1}},F=function(){var e=Object(L.a)(D.a.mark((function e(t){var n,i,o,l;return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=z(t.target))){e.next=11;break}if("click"!==(null==n?void 0:n.getAttribute("data-operate-type"))){e.next=11;break}return t.preventDefault(),i=null==n?void 0:n.getAttribute("href"),o=null==n?void 0:n.getAttribute("target"),e.next=9,P(null==u?void 0:u.id,"enter");case 9:null!=n&&n.getAttribute("data-operate-data")&&(i=i+"?login="+(null==a||null===(l=a.userInfo)||void 0===l?void 0:l.login)),"_blank"===o?Object(y.Q)(i):(S(!1),window.location.href=i);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),P=function(){var e=Object(L.a)(D.a.mark((function e(t,n){var a;return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(te.a)("/api/popup_windows/popup_windows_counts.json",{method:"get",params:{id:t,count_type:n}});case 2:return a=e.sent,e.abrupt("return",a);case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),M=function(){var e=Object(L.a)(D.a.mark((function e(){var t,n,i,l,r,c,s,u,p,f,v,h,b,_;return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(te.a)("/api/popup_windows/get_popup_windows.json",{method:"get"});case 2:0===(null==(n=e.sent)?void 0:n.status)&&0!==(null==n||null===(t=n.data)||void 0===t?void 0:t.length)&&(c=null==C?void 0:C.findIndex((function(e){return e.path===(null==o?void 0:o.operateModelPath)})),s=ae.a.cloneDeep(null==n?void 0:n.data),s=null===(i=s)||void 0===i?void 0:i.filter((function(e){var t;return null===(t=e.show_page)||void 0===t?void 0:t.includes(c)})),u="".concat(null==a||null===(l=a.userInfo)||void 0===l?void 0:l.login,"-deadline-operate"),p=localStorage.getItem(u)?JSON.parse(localStorage.getItem(u)):[],console.log(p,"record"),0!==(null==p?void 0:p.length)&&(s=null===(f=s)||void 0===f?void 0:f.filter((function(e){var t=!0,n=null==p?void 0:p.find((function(t){return t.id===e.id}));n&&(m()().unix()<=(null==n?void 0:n.deadline)&&(t=!1),0===(null==n?void 0:n.type)&&(t=0!==e.show_type));return t}))),null!==(r=s)&&void 0!==r&&r.length&&(d(null===(v=s)||void 0===v?void 0:v[x]),I(null===(h=s)||void 0===h?void 0:h[x]),P(null===(b=s)||void 0===b||null===(_=b[x])||void 0===_?void 0:_.id,"popup"),S(!0),g(s)));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return r.a.createElement(l.Fragment,null,O&&(0===(null==u?void 0:u.windows_style)?r.a.createElement("div",{className:$.a.modalityModal},r.a.createElement("div",{className:$.a.modal,style:{width:null==u?void 0:u.width,height:null==u?void 0:u.height}},r.a.createElement("div",{className:$.a.close,onClick:k},r.a.createElement("i",{className:"iconfont icon-guanbi1"})),r.a.createElement(X.a,{ref:j,dots:!0,autoplay:!0,pauseOnDotsHover:!0},null==u||null===(T=u.content)||void 0===T?void 0:T.map((function(e,t){return r.a.createElement("aside",{key:t,className:$.a.itemWarp},r.a.createElement(ee.a,{style:{height:null==u?void 0:u.height},value:e}))}))))):r.a.createElement("div",{className:$.a.selfdomModal},r.a.createElement("div",{className:$.a.modal,style:{width:null==u?void 0:u.width,height:null==u?void 0:u.height}},r.a.createElement("div",{className:$.a.close,onClick:k},r.a.createElement("i",{className:"iconfont icon-htmal5icon19"})),r.a.createElement(X.a,{ref:j,dots:!0,autoplay:!0,pauseOnDotsHover:!0},null==u||null===(R=u.content)||void 0===R?void 0:R.map((function(e,t){return r.a.createElement("aside",{key:t,className:$.a.itemWarp},r.a.createElement(ee.a,{style:{height:null==u?void 0:u.height},value:e}))})))))))})),oe=n("H4Hi"),le=n.n(oe),re=n("B1O0"),ce=n.n(re),se=n("syqs"),ue=n.n(se);t.default=Object(u.a)((function(e){var t=e.loading,n=e.globalSetting;return{loading:t,user:e.user,globalSetting:n}}))((function(e){e.loading;var t,n,u=e.children,d=e.globalSetting,p=e.user,f=Object(o.a)(e,["loading","children","globalSetting","user"]),v=(Object(A.h)(),Object(l.useState)(!0)),g=Object(i.a)(v,2),h=g[0],b=g[1];return Object(l.useEffect)((function(){var e=m()().add(0,"days").unix(),t=localStorage.getItem("mainclose");t?e>parseInt(t)&&b(!0):b(!0)}),[]),r.a.createElement(a.b,{locale:c.default},(null===(t=p.userInfo)||void 0===t?void 0:t.change_password)&&h&&r.a.createElement("div",{style:{backgroundImage:"url(".concat(ce.a,")"),width:"100%",height:60,margin:"0px auto",display:"flex"}},r.a.createElement("div",{style:{width:1200,margin:"0px auto",height:60,display:"flex",alignItems:"center",justifyContent:"space-between",position:"relative"}},r.a.createElement("div",{style:{fontSize:24,fontWeight:"bold",color:"#fff"}},"检测到您已经超过",null===(n=p.userInfo)||void 0===n?void 0:n.change_password_duration,"天没修改过密码,为了你的账号安全,请及时更换密码"),r.a.createElement("div",{onClick:function(){window.open("/account/secure")},style:{width:"154px",height:"40px",position:"absolute",right:-15,top:10,borderRadius:15,display:"flex",alignItems:"center",justifyContent:"center",color:"#FFFFFF",cursor:"pointer"}})),r.a.createElement("img",{src:ue.a,onClick:function(){localStorage.setItem("mainclose",m()().add(1,"days").unix()+""),b(!1)},style:{width:16,height:16,marginRight:6,marginTop:6,cursor:"pointer"}})),"kepukehuan.educoder.net"!==document.domain&&r.a.createElement(s.a,f),r.a.createElement("section",{className:le.a.layoutMainClass},u),r.a.createElement(B,null),!Object(y.p)()&&"kepukehuan.educoder.net"!==document.domain&&!d.isCourseOpeni&&r.a.createElement(j,null),r.a.createElement(W,null),r.a.createElement(U,null),r.a.createElement(ie,null))}))},NaGD:
|
|
|
/*!************************************************************!*\
|
|
|
!*** ./src/components/Footer/NewFooter/index.less?modules ***!
|
|
|
\************************************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports={flex_box_center:"flex_box_center___VTqUm",flex_space_between:"flex_space_between___3f-Ja",flex_box_vertical_center:"flex_box_vertical_center___u4Jjr",flex_box_center_end:"flex_box_center_end___1QKJE",flex_box_column:"flex_box_column___1OBJc",newFooter:"newFooter___UNzWw"}},O9QN:
|
|
|
/*!********************************************!*\
|
|
|
!*** ./src/assets/images/AnhuiContact.jpg ***!
|
|
|
\********************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/AnhuiContact.80900438.jpg"},Y1PL:
|
|
|
/*!**********************************************************!*\
|
|
|
!*** ./node_modules/rc-textarea/es/index.js + 7 modules ***!
|
|
|
\**********************************************************/
|
|
|
/*! exports provided: ResizableTextArea, default */
|
|
|
/*! all exports used */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createClass.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createSuper.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/defineProperty.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/extends.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/inherits.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Children/toArray.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/findDOMNode.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/omit.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/ref.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/warning.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js (<- Module uses injected variables (global)) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/shallowequal/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.r(t),n.d(t,"ResizableTextArea",(function(){return T}));var a=n("wx14"),i=n("1OyB"),o=n("vuIU"),l=n("Ji7U"),r=n("LK+K"),c=n("q1tI"),s=n("VTBJ"),u=n("rePB"),d=n("Zm9Q"),m=(n("Kwbf"),n("c+Xe")),p=n("m+aA"),f=n("bdgK"),v=new Map;var g=new f.default((function(e){e.forEach((function(e){var t,n=e.target;null===(t=v.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}));var h=function(e){Object(l.a)(n,e);var t=Object(r.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(o.a)(n,[{key:"render",value:function(){return this.props.children}}]),n}(c.Component),b=c.createContext(null);function x(e){var t=e.children,n=e.disabled,a=c.useRef(null),i=c.useRef(null),o=c.useContext(b),l=c.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),r=c.isValidElement(t)&&Object(m.c)(t),u=r?t.ref:null,d=c.useMemo((function(){return Object(m.a)(u,a)}),[u,a]),f=c.useRef(e);f.current=e;var x=c.useCallback((function(e){var t=f.current,n=t.onResize,a=t.data,i=e.getBoundingClientRect(),r=i.width,c=i.height,u=e.offsetWidth,d=e.offsetHeight,m=Math.floor(r),p=Math.floor(c);if(l.current.width!==m||l.current.height!==p||l.current.offsetWidth!==u||l.current.offsetHeight!==d){var v={width:m,height:p,offsetWidth:u,offsetHeight:d};l.current=v;var g=u===Math.round(r)?r:u,h=d===Math.round(c)?c:d,b=Object(s.a)(Object(s.a)({},v),{},{offsetWidth:g,offsetHeight:h});null==o||o(b,e,a),n&&Promise.resolve().then((function(){n(b,e)}))}}),[]);return c.useEffect((function(){var e,t,o=Object(p.a)(a.current)||Object(p.a)(i.current);return o&&!n&&(e=o,t=x,v.has(e)||(v.set(e,new Set),g.observe(e)),v.get(e).add(t)),function(){return function(e,t){v.has(e)&&(v.get(e).delete(t),v.get(e).size||(g.unobserve(e),v.delete(e)))}(o,x)}}),[a.current,n]),c.createElement(h,{ref:i},r?c.cloneElement(t,{ref:d}):t)}function _(e){var t=e.children;return Object(d.a)(t).map((function(t,n){var i=(null==t?void 0:t.key)||"".concat("rc-observer-key","-").concat(n);return c.createElement(x,Object(a.a)({},e,{key:i}),t)}))}_.Collection=function(e){var t=e.children,n=e.onBatchResize,a=c.useRef(0),i=c.useRef([]),o=c.useContext(b),l=c.useCallback((function(e,t,l){a.current+=1;var r=a.current;i.current.push({size:e,element:t,data:l}),Promise.resolve().then((function(){r===a.current&&(null==n||n(i.current),i.current=[])})),null==o||o(e,t,l)}),[n,o]);return c.createElement(b.Provider,{value:l},t)};var E,y=_,w=n("bT9E"),O=n("TSYQ"),S=n.n(O),j="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",N=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],I={};function A(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&I[n])return I[n];var a=window.getComputedStyle(e),i=a.getPropertyValue("box-sizing")||a.getPropertyValue("-moz-box-sizing")||a.getPropertyValue("-webkit-box-sizing"),o=parseFloat(a.getPropertyValue("padding-bottom"))+parseFloat(a.getPropertyValue("padding-top")),l=parseFloat(a.getPropertyValue("border-bottom-width"))+parseFloat(a.getPropertyValue("border-top-width")),r=N.map((function(e){return"".concat(e,":").concat(a.getPropertyValue(e))})).join(";"),c={sizingStyle:r,paddingSize:o,borderSize:l,boxSizing:i};return t&&n&&(I[n]=c),c}var k,C=n("Gytx"),R=n.n(C);!function(e){e[e.NONE=0]="NONE",e[e.RESIZING=1]="RESIZING",e[e.RESIZED=2]="RESIZED"}(k||(k={}));var T=function(e){Object(l.a)(n,e);var t=Object(r.a)(n);function n(e){var o;return Object(i.a)(this,n),(o=t.call(this,e)).nextFrameActionId=void 0,o.resizeFrameId=void 0,o.textArea=void 0,o.saveTextArea=function(e){o.textArea=e},o.handleResize=function(e){var t=o.state.resizeStatus,n=o.props,a=n.autoSize,i=n.onResize;t===k.NONE&&("function"==typeof i&&i(e),a&&o.resizeOnNextFrame())},o.resizeOnNextFrame=function(){cancelAnimationFrame(o.nextFrameActionId),o.nextFrameActionId=requestAnimationFrame(o.resizeTextarea)},o.resizeTextarea=function(){var e=o.props.autoSize;if(e&&o.textArea){var t=e.minRows,n=e.maxRows,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;E||((E=document.createElement("textarea")).setAttribute("tab-index","-1"),E.setAttribute("aria-hidden","true"),document.body.appendChild(E)),e.getAttribute("wrap")?E.setAttribute("wrap",e.getAttribute("wrap")):E.removeAttribute("wrap");var i=A(e,t),o=i.paddingSize,l=i.borderSize,r=i.boxSizing,c=i.sizingStyle;E.setAttribute("style","".concat(c,";").concat(j)),E.value=e.value||e.placeholder||"";var s,u=Number.MIN_SAFE_INTEGER,d=Number.MAX_SAFE_INTEGER,m=E.scrollHeight;if("border-box"===r?m+=l:"content-box"===r&&(m-=o),null!==n||null!==a){E.value=" ";var p=E.scrollHeight-o;null!==n&&(u=p*n,"border-box"===r&&(u=u+o+l),m=Math.max(u,m)),null!==a&&(d=p*a,"border-box"===r&&(d=d+o+l),s=m>d?"":"hidden",m=Math.min(d,m))}return{height:m,minHeight:u,maxHeight:d,overflowY:s,resize:"none"}}(o.textArea,!1,t,n);o.setState({textareaStyles:a,resizeStatus:k.RESIZING},(function(){cancelAnimationFrame(o.resizeFrameId),o.resizeFrameId=requestAnimationFrame((function(){o.setState({resizeStatus:k.RESIZED},(function(){o.resizeFrameId=requestAnimationFrame((function(){o.setState({resizeStatus:k.NONE}),o.fixFirefoxAutoScroll()}))}))}))}))}},o.renderTextArea=function(){var e=o.props,t=e.prefixCls,n=void 0===t?"rc-textarea":t,i=e.autoSize,l=e.onResize,r=e.className,d=e.disabled,m=o.state,p=m.textareaStyles,f=m.resizeStatus,v=Object(w.a)(o.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),g=S()(n,r,Object(u.a)({},"".concat(n,"-disabled"),d));"value"in v&&(v.value=v.value||"");var h=Object(s.a)(Object(s.a)(Object(s.a)({},o.props.style),p),f===k.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return c.createElement(y,{onResize:o.handleResize,disabled:!(i||l)},c.createElement("textarea",Object(a.a)({},v,{className:g,style:h,ref:o.saveTextArea})))},o.state={textareaStyles:{},resizeStatus:k.NONE},o}return Object(o.a)(n,[{key:"componentDidUpdate",value:function(e){e.value===this.props.value&&R()(e.autoSize,this.props.autoSize)||this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var e=this.textArea.selectionStart,t=this.textArea.selectionEnd;this.textArea.setSelectionRange(e,t)}}catch(e){}}},{key:"render",value:function(){return this.renderTextArea()}}]),n}(c.Component),z=function(e){Object(l.a)(n,e);var t=Object(r.a)(n);function n(e){var a;Object(i.a)(this,n),(a=t.call(this,e)).resizableTextArea=void 0,a.focus=function(){a.resizableTextArea.textArea.focus()},a.saveTextArea=function(e){a.resizableTextArea=e},a.handleChange=function(e){var t=a.props.onChange;a.setValue(e.target.value,(function(){a.resizableTextArea.resizeTextarea()})),t&&t(e)},a.handleKeyDown=function(e){var t=a.props,n=t.onPressEnter,i=t.onKeyDown;13===e.keyCode&&n&&n(e),i&&i(e)};var o=void 0===e.value||null===e.value?e.defaultValue:e.value;return a.state={value:o},a}return Object(o.a)(n,[{key:"setValue",value:function(e,t){"value"in this.props||this.setState({value:e},t)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return c.createElement(T,Object(a.a)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}]),n}(c.Component);t.default=z},bT9E:
|
|
|
/*!*****************************************!*\
|
|
|
!*** ./node_modules/rc-util/es/omit.js ***!
|
|
|
\*****************************************/
|
|
|
/*! exports provided: default */
|
|
|
/*! exports used: default */function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(/*! @babel/runtime/helpers/esm/objectSpread2 */"VTBJ");function i(e,t){var n=Object(a.a)({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}},d5bv:
|
|
|
/*!*************************************!*\
|
|
|
!*** ./src/assets/images/beian.png ***!
|
|
|
\*************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/beian.0c577066.png"},fB83:
|
|
|
/*!*****************************************!*\
|
|
|
!*** ./src/components/Header/logoW.svg ***!
|
|
|
\*****************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/logoW.f0d9bc6f.svg"},iHkK:
|
|
|
/*!***************************************************!*\
|
|
|
!*** ./src/components/SideBar/index.less?modules ***!
|
|
|
\***************************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports={sideBar:"sideBar___DNWGT",wrap:"wrap___2rWVP",backTop:"backTop___3cAkP",ul:"ul___Bsaot",tooltipclass:"tooltipclass___1I8Rx"}},odpV:
|
|
|
/*!**************************************!*\
|
|
|
!*** ./src/assets/images/sidbra.png ***!
|
|
|
\**************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/sidbra.7ad1c820.png"},pIsd:
|
|
|
/*!***************************************!*\
|
|
|
!*** ./node_modules/json2mq/index.js ***!
|
|
|
\***************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! all exports used */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){var a=n(/*! string-convert/camel2hyphen */"BJfS"),i=function(e){var t="",n=Object.keys(e);return n.forEach((function(i,o){var l=e[i];(function(e){return/[height|width]$/.test(e)})(i=a(i))&&"number"==typeof l&&(l+="px"),t+=!0===l?i:!1===l?"not "+i:"("+i+": "+l+")",o<n.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,a){t+=i(n),a<e.length-1&&(t+=", ")})),t):i(e)}},ruvs:
|
|
|
/*!*****************************************************!*\
|
|
|
!*** ./src/components/Header/index.tsx + 1 modules ***!
|
|
|
\*****************************************************/
|
|
|
/*! exports provided: getCourseParam, default */
|
|
|
/*! exports used: default, getCourseParam */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator/index.js (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/Header/components/User/index.less?modules (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/Header/index.less?modules (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/core/umiExports.ts */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/service/user.ts */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/authority.ts */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/env.ts */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/util.tsx */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./src/components/Header/logoW.svg (<- Module is not an ECMAScript module) */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/dropdown/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/dropdown/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/input/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/input/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/layout/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/layout/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/menu/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/menu/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/message/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/message/style/index.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-router-dom/esm/react-router-dom.js */
|
|
|
/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";n.d(t,"b",(function(){return k}));var a,i=n("PpiC"),o=n("k1fw"),l=(n("5NDa"),n("5rEg")),r=(n("B9cy"),n("Ol7k")),c=n("q1tI"),s=n.n(c),u=n("55Ip"),d=n("9kvl"),m=n("xrsn"),p=n.n(m),f=n("fB83"),v=n.n(f),g=(n("1Sn+"),n("qVdP"),n("jsC+")),h=(n("miYZ"),n("tsqr")),b=n("9og8"),x=(n("lUTK"),n("BvKs")),_=n("WmNS"),E=n.n(_),y=n("vToQ"),w=n.n(y),O=n("xKgJ"),S=n("jb+D"),j=n("m3rI"),N=n("1vsH"),I=function(e){var t=new Date;t.setTime(t.getTime()-1);var n,a,i=(a=RegExp("(^| )"+e+"=([^;]+)(;|$)"),(n=document.cookie.match(a))?decodeURIComponent(n[2]):null);null!=i&&(document.cookie=e+"="+i+";expires="+t.toGMTString())};!function(e){e.Classrooms="classrooms",e.Shixuns="shixuns",e.Paths="paths",e.Projects="projects",e.Videos="videos",e.Topics="topics"}(a||(a={}));var A=Object(d.a)((function(e){var t=e.homePage,n=e.loading;return{homePage:t,user:e.user,globalSetting:e.globalSetting,shixunHomeworks:e.shixunHomeworks,loading:n.models.index}}))((function(e){e.homePage;var t,n,l,r,c,m,p,f,v,_,y,A,k,C=e.user,R=e.globalSetting,T=(e.loading,e.dispatch),z=e.shixunHomeworks,F=(e.location,e.payload),P=void 0===F?{}:F;Object(i.a)(e,["homePage","user","globalSetting","loading","dispatch","shixunHomeworks","location","payload"]),null===(t=((null===(n=R.setting)||void 0===n?void 0:n.navbar)||[]).find((function(e){return e.link==="/".concat(a.Classrooms)})))||void 0===t||t.hidden,null===(l=((null===(r=R.setting)||void 0===r?void 0:r.navbar)||[]).find((function(e){return e.link==="/".concat(a.Shixuns)})))||void 0===l||l.hidden,null===(c=((null===(m=R.setting)||void 0===m?void 0:m.navbar)||[]).find((function(e){return e.link==="/".concat(a.Paths)})))||void 0===c||c.hidden,(null===(p=C.userInfo)||void 0===p?void 0:p.admin)||(null===(f=C.userInfo)||void 0===f?void 0:f.business)||(null===(v=C.userInfo)||void 0===v?void 0:v.is_shixun_marker)||(null===(_=C.userInfo)||void 0===_?void 0:_.is_teacher)||null===(y=C.userInfo)||void 0===y||y.user_identity;return Object(O.p)()?s.a.createElement(g.a,{overlay:function(){return Object(N.p)()?s.a.createElement(x.a,{className:"".concat(w.a.rightMenu," ").concat(w.a.menuWrap)},s.a.createElement(x.a.Item,null,s.a.createElement(u.a,{to:"/account/profile"},"账号管理"))):s.a.createElement(x.a,{className:"".concat(w.a.rightMenu," ").concat(w.a.menuWrap)},s.a.createElement(x.a.Item,null,s.a.createElement(u.a,{onClick:function(){"0"===localStorage.getItem("Noviceguide")||T({type:"shixunHomeworks/setActionTabs",payload:{key:"底部弹窗",type:2,href:"/classrooms",text:s.a.createElement("div",null,"OK,接下来,让我们开始新建【教学课堂】,请您找到闪光框并点击 “教学课堂”。")}})},to:"/account/profile"},"账号管理")),s.a.createElement(x.a.Item,{className:w.a.exit},s.a.createElement("a",{onClick:Object(b.a)(E.a.mark((function e(){var t;return E.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(S.c)({});case 2:1===(null==(t=e.sent)?void 0:t.status)&&(T({type:"user/getUserInfo",payload:Object(o.a)({},P)}),T({type:"user/getNavigationInfo",payload:Object(o.a)({},P)}),I("autologin_trustie"),I("_educoder_session"),localStorage.removeItem("isfirst"),localStorage.removeItem("SystemUpdateadvtime"),localStorage.removeItem("item"),localStorage.removeItem("iscreate"),h.b.success(null==t?void 0:t.message),d.d.replace("/"));case 4:case"end":return e.stop()}}),e)})))},"退出")))},placement:"bottomRight"},s.a.createElement("section",null,s.a.createElement("aside",null,s.a.createElement("div",{className:1===z.actionTabs.type?w.a.classromediv:""},s.a.createElement("img",{className:"".concat(w.a.userPic," current ml15"),src:"".concat(null===j.a||void 0===j.a?void 0:j.a.IMG_SERVER,"/images/").concat(null===(A=C.userInfo)||void 0===A?void 0:A.image_url),alt:"",onClick:function(){var e;return d.d.push(Object(N.p)()?"/account/profile":"/users/".concat(null===(e=C.userInfo)||void 0===e?void 0:e.login,"/classrooms"))}}),Object(N.p)()&&s.a.createElement("span",{className:"ml10 font16"},null===(k=C.userInfo)||void 0===k?void 0:k.username))))):s.a.createElement("div",{className:"font15 ".concat(R.isIlearning?w.a.login:""," ml30")},s.a.createElement("span",{className:"ml10 mr5 current c-white",onClick:function(){R.isCourseOpeni?window.open("https://openi.pcl.ac.cn/login/oauth/authorize?client_id=685b0617-ee4e-45b9-88f2-bb325f4ce4cc&redirect_uri=https://course.openi.org.cn/auth/openi/login&response_type=code&state=STATE","_self"):T({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}})}},"登录"),!R.isCourseOpeni&&s.a.createElement(s.a.Fragment,null,s.a.createElement("span",{style:{color:"rgba(255, 255, 255, 0.7)"},className:"ml5 mr5"},"|"),s.a.createElement(u.a,{to:"/user/register",className:"ml5 current c-white"},"注册")))}));r.a.Header,l.a.Search;function k(){var e,t,n=window.location.pathname.split("/"),a={};return!("classrooms"==n[1]&&n.length>3)||null!==(e=n[4])&&void 0!==e&&e.includes("newgold")||null!==(t=n[5])&&void 0!==t&&t.includes("newgold")||"coursesId"===n[2]||(a.course_id=n[2]),"shixuns"===n[1]&&n.length>3&&(a.objective_type="shixun",a.objective_id=n[2]),"paths"===n[1]&&n.length>3&&(a.objective_type="path",a.objective_id=n[2]),Object(o.a)(Object(o.a)({},a),{school:1})}t.a=Object(d.a)((function(e){var t=e.homePage,n=e.loading,a=e.user,i=e.globalSetting,o=e.shixunHomeworks,l=e.competitions;return{homePage:t,user:a,globalSetting:i,loading:n.models.index,shixunHomeworks:o,competitions:l}}))((function(e){e.homePage;var t,n,a,o,l=e.user,r=e.globalSetting,c=(e.loading,e.dispatch),d=e.location,m=e.isLogin,f=void 0!==m&&m,g=(e.shixunHomeworks,e.competitions),h=(Object(i.a)(e,["homePage","user","globalSetting","loading","dispatch","location","isLogin","shixunHomeworks","competitions"]),k()),b=d.pathname,x=null==b?void 0:b.includes("/forums"),_=g.qs;d.pathname.includes("/course");return r.showHeader&&r.showHeaderFooter?s.a.createElement("div",{className:"".concat(p.a.header," ").concat(r.isCourseOpeni?p.a.headerFixed:"")},s.a.createElement("div",{className:p.a.wrap},s.a.createElement("div",{className:"menu"},s.a.createElement("a",{className:"logo",href:""},s.a.createElement("img",{src:v.a,alt:"OpenI 启智 新一代人工智能开源开放平台"})),s.a.createElement("a",{title:"OpenI 启智 新一代人工智能开源开放平台",href:"https://openi.org.cn/"},_["首页"]),s.a.createElement("a",{className:"list ".concat(x?"active":"")},_["社区"],!r.isCourseOpeni&&s.a.createElement("i",{className:"iconfont icon-shangla-copy"}),s.a.createElement("div",{className:"transition"},s.a.createElement("a",{className:"item",href:"https://openi.org.cn/html/Club/2019/0227/16.html"},_["OpenI社区章程"]),s.a.createElement("a",{className:"item",href:"https://openi.org.cn/html/Club/2019/0227/15.html"},_["启智开源许可证"]),s.a.createElement("a",{className:"item",href:"https://openi.org.cn/html/Club/2019/0227/14.html"},_["组织结构"]),s.a.createElement("a",{className:"item",href:"https://openi.org.cn/html/Club/2019/0228/17.html"},_["欢迎加入OpenI"]),s.a.createElement("a",{className:"item",href:"https://openi.org.cn/html/news/dongtai/"},_["社区动态"]))),s.a.createElement("a",{href:"https://openi.org.cn/projects",title:"项目"},_["项目"]),r.isCourseOpeni&&s.a.createElement("a",{href:"https://openi.pcl.ac.cn/tech/tech_view",title:"科技2023项目"},_["科技2023项目"]||"科技2023项目"),s.a.createElement("a",{className:"list ".concat(x||!r.isCourseOpeni?"":"active"),href:r.isCourseOpeni?"https://course.openi.org.cn":""},_["学习"],!r.isCourseOpeni&&s.a.createElement(s.a.Fragment,null,s.a.createElement("i",{className:"iconfont icon-shangla-copy"}),s.a.createElement("div",{className:"transition"},s.a.createElement("a",{className:"item",href:"/shixuns"},_["云脑开源实训"]),s.a.createElement("a",{className:"item",href:"/competitions"},_["开源创新大赛"])))),s.a.createElement("a",{className:"list",href:"https://openi.org.cn/index.php?m=content&c=index&a=lists&catid=90",title:"社区活动"},_["社区活动"],r.isCourseOpeni&&s.a.createElement("div",{className:"transition"},s.a.createElement("a",{className:"item",href:"https://openi.org.cn/index.php?m=content&c=index&a=lists&catid=230"},_["我为开源打榜狂"]||"我为开源打榜狂"),s.a.createElement("a",{className:"item",href:"https://openi.org.cn/index.php?m=content&c=index&a=lists&catid=220"},_["OpenI体验官"]||"OpenI体验官"),s.a.createElement("a",{className:"item",href:"https://openi.org.cn/index.php?m=content&c=index&a=lists&catid=66"},_["激励计划"]||"激励计划"),s.a.createElement("a",{className:"item",href:"https://openi.org.cn/index.php?m=content&c=index&a=lists&catid=226"},_["开发者大会"]||"开发者大会"),s.a.createElement("a",{className:"item",href:"https://openi.org.cn/index.php?m=content&c=index&a=lists&catid=138"},_["全球智博会"]||"全球智博会"),s.a.createElement("a",{className:"item",href:"https://openi.org.cn/index.php?m=content&c=index&a=lists&catid=135"},_["全球人工智能大赛"]||"全球人工智能大赛"),s.a.createElement("a",{className:"item",href:"https://openi.org.cn/index.php?m=content&c=index&a=lists&catid=137"},_["开源大赛"]||"开源大赛"),s.a.createElement("a",{className:"item",href:"https://openi.org.cn/index.php?m=content&c=index&a=lists&catid=145"},_["校园行"]||"校园行"),s.a.createElement("a",{className:"item",href:"https://openi.org.cn/index.php?m=content&c=index&a=lists&catid=147"},_["集结号"]||"集结号"),s.a.createElement("a",{className:"item",href:"https://openi.org.cn/index.php?m=content&c=index&a=lists&catid=151"},_.EngineClub||"EngineClub"),s.a.createElement("a",{className:"item",href:"https://openi.org.cn/index.php?m=content&c=index&a=lists&catid=154"},_["主题沙龙"]||"主题沙龙"),s.a.createElement("a",{className:"item",href:"https://openi.org.cn/index.php?m=content&c=index&a=lists&catid=200"},_["人工智能开源录"]||"人工智能开源录"),s.a.createElement("a",{className:"item",href:"https://openi.org.cn/index.php?m=content&c=index&a=lists&catid=204"},_["名家讲堂"]||"名家讲堂"))),s.a.createElement("div",{className:"right"},!r.isCourseOpeni&&s.a.createElement(s.a.Fragment,null,s.a.createElement("a",{style:{color:"首页"===_["首页"]?"rgba(255, 255, 255, 1)":"rgba(255, 255, 255, 0.7)"},onClick:function(){c({type:"competitions/switchLanguage",payload:!0})}},"中文"),s.a.createElement("span",{style:{color:"rgba(255, 255, 255, 0.7)"}},"|"),s.a.createElement("a",{style:{color:"Home"===_["首页"]?"rgba(255, 255, 255, 1)":"rgba(255, 255, 255, 0.7)"},onClick:function(){c({type:"competitions/switchLanguage",payload:!1})}},"English"),!f&&!(null==l||null===(t=l.userInfo)||void 0===t||!t.login)&&s.a.createElement(u.a,{className:"iconfont icon-xiaoxilingdang c-white ml15 mr15 font18 relative",to:"/messages/".concat(null==l||null===(n=l.userInfo)||void 0===n?void 0:n.login,"/user_tidings")},(null==l||null===(a=l.navigationInfo)||void 0===a||null===(o=a.top)||void 0===o?void 0:o.new_message)&&s.a.createElement("span",{className:p.a.newslight}))),s.a.createElement(A,{payload:h}))))):s.a.createElement(s.a.Fragment,null)}))},syqs:
|
|
|
/*!**************************************!*\
|
|
|
!*** ./src/assets/images/delete.png ***!
|
|
|
\**************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAA0lJREFUWEfFl0tIVFEYx7/vDnNNIWRUdB4hRYQunAHz0ULBFoWMoozgg6k2LhQLXCS0CBcqIUMQCuqEWUtDJBBXiYuidkpORD7KCK0BdRZpEPiYuXS/ODPdaR73zr1XJmYWl7ncc77/73yvcw6Cxl9FRYVxd1ewE8EVIioGgDxEyGPTieAAAA4Q0Y8Iy1arcdXn8wlaTKPaoOJiuykUQjcAXSWibLXx7DsiHgPgG56nGb9/9WeqOYoAkRUHO4jARQRZWoQTxyBCEBHmrdasWSWPyAL8XXU/kVhyGuFkEG6T52lYzhtJAEVFjguINEBE+ekQl2wg4j6AYTAQ+PAt1m4cQGTlMJpu8VgInoe7sZ6IArCY7+wInnS5Xcl7iNymzWa8L+VEFMBiKbslitCRTrcr2eI4mN3bW5sOVwx7RFxPT+WyvbPTbamsdJj6+gY/BYNB0grY0HAt3+1uOdfTc2/18PBIjIs7QpDnsYuFIgxgNjvuEIlOOeNTU4/Kmpvrzy8vvw+0tnb5BCGkCtHcXF/g9XqqmL2amqbXfv9OUKYyFgKBj48xEvvQc6Umk52dw83NPassL7cXaoFg4hMTnipEgN7e/nfz8ws/5BbGmpXNxt9Ei8VxWRTFoVSujYVYWvIF2tq6ZT2hVVzS4jhuAM1mx20isUEttmoQesUjLZt7iUVFdg8AlakBsO9KEE1N9fler6daze3JGrjGAJ4AkFULQDLESmB6eu77yMhQpX7xsA920Wy2vyCiM1oBEiHYuyAIv1MlnHJTwpNTATCDbrercHT0QTX7v7HxZd/pvLGkp09EcgCPdYeATXS5nAXj48PhOt/a8v8qKbloYiXa3t7t0weBu7qSUBIfGxuO1vni4tuD2D6hDwLXNJehnLjUZBKblVaIcBlqaUSpxKUEOw1EuBGpteLEmKfKdj0Q0Vasthk1Nl7Pn5x8GM52LaWWCOFyda4QxW2GYachcpHNiL2k2o5nZibLa2urzVrE5cJRV9fyanPz63FsL2CH1bjtmH1UOpDk5p415OWZjNvb/hM9zcpgMEBp6aWc9fXPR4nzkg4kbEDGj2T/QpGhQ6nkpoweyyWIjF5MJIiMXs1iszZjl9PE0vlf1/M/hZhM6N1gtVgAAAAASUVORK5CYII="},vToQ:
|
|
|
/*!******************************************************************!*\
|
|
|
!*** ./src/components/Header/components/User/index.less?modules ***!
|
|
|
\******************************************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports={flex_box_center:"flex_box_center___3UWMh",flex_space_between:"flex_space_between___2nh9S",flex_box_vertical_center:"flex_box_vertical_center___2Neiq",flex_box_center_end:"flex_box_center_end___2_1FS",flex_box_column:"flex_box_column___2E-v7",userPic:"userPic___3Pu9t",rightMenu:"rightMenu___1qaVl",menuWrap:"menuWrap___3r9jm",exit:"exit___38Urs",classromediv:"classromediv___2R8_g",glow:"glow___323IR",height67:"height67___1DFRI",login:"login___20J7t"}},xnZT:
|
|
|
/*!**************************************************************!*\
|
|
|
!*** ./src/components/CustomOperateModel/index.less?modules ***!
|
|
|
\**************************************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports={modalityModal:"modalityModal___wjui6",modal:"modal___sNGOo",itemWarp:"itemWarp___Fnx0H",close:"close___1_R1B",selfdomModal:"selfdomModal___5WR35"}},xrsn:
|
|
|
/*!**************************************************!*\
|
|
|
!*** ./src/components/Header/index.less?modules ***!
|
|
|
\**************************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports={flex_box_center:"flex_box_center___2cC1r",flex_space_between:"flex_space_between___9TeDx",flex_box_vertical_center:"flex_box_vertical_center___3EIYv",flex_box_center_end:"flex_box_center_end___1Uph0",flex_box_column:"flex_box_column___17_5w",header:"header___1E4MV",wrap:"wrap___1Pb_X",headerFixed:"headerFixed___1V7d4"}},"yTi+":
|
|
|
/*!***********************************************!*\
|
|
|
!*** ./src/assets/images/AssistantCode3.jpeg ***!
|
|
|
\***********************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports=n.p+"static/AssistantCode3.9bae6615.jpeg"}}]); |