|
|
(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{"1XHU":
|
|
|
/*!********************************************!*\
|
|
|
!*** ./src/components/AuthModal/index.tsx ***!
|
|
|
\********************************************/
|
|
|
/*! exports provided: default */
|
|
|
/*! exports used: default */function(e,t,n){"use strict";n(/*! antd/es/modal/style */"2qtc");var a=n(/*! antd/es/modal */"kLXV"),r=n(/*! react */"q1tI"),i=n.n(r),o=n(/*! umi */"9kvl"),c=n(/*! @/assets/images/cert/shimingrenzheng.png */"3wET"),l=n.n(c),u=n(/*! @/assets/images/cert/zhiyerenzheng.png */"bUJZ"),s=n.n(u),d=n(/*! ./index.less?modules */"Ct/S"),f=n.n(d);t.a=Object(o.a)((function(e){var t=e.paperlibrary,n=e.loading;return{paperlibrary:t,globalSetting:e.globalSetting,loading:n.effects}}))((function(e){var t=e.visible,n=e.occupationValue,r=e.onCancel,c=void 0===r?function(){}:r,u=function(){return i.a.createElement("div",{className:f.a.flexColumn},i.a.createElement("img",{className:f.a.img,src:s.a}),i.a.createElement("span",{className:f.a.content},"未职业认证"))},d=function(){return i.a.createElement("div",{className:f.a.flexColumn},i.a.createElement("img",{className:f.a.img,src:l.a}),i.a.createElement("span",{className:f.a.content},"未实名认证"))};return i.a.createElement(a.a,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,visible:t,title:"因为以下原因,您暂时不能进行操作",okText:"立即认证",cancelText:"取消",width:"600px",onOk:function(){c(),o.d.push("/account/certification")},onCancel:function(){c()}},i.a.createElement("div",{className:f.a.tilte},"请在完成条件后重试"),i.a.createElement("div",{className:f.a.flexRow},3===n?i.a.createElement(i.a.Fragment,null,d(),u()):2===n?u():d()))}))},"1ZF9":
|
|
|
/*!*****************************************!*\
|
|
|
!*** ./src/assets/images/Authorize.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/Authorize.cc9c212f.png"},"3wET":
|
|
|
/*!****************************************************!*\
|
|
|
!*** ./src/assets/images/cert/shimingrenzheng.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,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAACE5JREFUWAmtWH1snVUZ/533tuvYVreyjGy3Y6srTBo2srI4XbtKgFQxIrKYzeAfk8AfCzHbCkPMjPjBP0aCsjr1D01USCQ6oosyiLF8xMGqc2BHauUj1I2Ntghs7dqytuu99/j7nfOee9/73js+jKd53+d5n3Oe5/zO8zznOafX4EO2ta/bhqlJfM4adFJ1hQWyxiIrM5QNG2CY7EnKei5agMf7V5pR9X3QRv0P1pr77WaO3AGLDoKokZYlY2hBtFqLDHLse9ZE2De41hyoNiYte19AzX22nfPdT8NtnJr6UgkIAl/dTLKXwHupeM9gqzmcBpH8rm6JI7ZYm3nhBfyAQHYlFcr4NL6yTn4kEamPxkxkutevx+5Hjcmnh+u7KqB1fXbR+Az2U195UmyWnjH8E1ULvGgsKDlRghTg8MnhPQvrsPVYqxnziqV3BSCBGZuUe21LMUGUKGx6F42K14rZJ6oWeFG19+w3eGnhPLSlQUVOM34pTGfHsR95tCBPozlOFCh5q++YOj7uqyfUxhqDbAYQjxzB8JFuoJ739qRrZ22L5tKcSQx+KbFk1VN2b8Fa5ky8QvojhEVDAh9C1DAH2NYIdFwMNM3TCIsT5wwOnbH45SlgIufDG8arv+RnsQb0SPe/rzdd0lYrAmr+s23PWzznxdXfyRzK1gEPrgU+cbHBa5MWr07KmsHq+RaXLTAYGAe29wFDMyVb6RC62YmxJjKbBj/td5+rJ1LJzeL+ihWUbHkuzpe5GYM9lwsM8MSbwLcGDMZmqc1cWlhrsOsyi20rgTubDb45YDGl0MZNPio1yS1yec2NdsldDq18jEUvzzqjjVj2UMF9i/JRDp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5bcGoBNh/11GQKOJjPubXRueU+l/0tTMT5LP8PHy1gbJKAKSuGnEw/i+QwQ3F3h/4VsfjZEYMMd9fOjcAdGw3+yR131x+BV1ggK1rZdCYXZfC4s738u/Zp5tG1aYV6LvNXtwDLmcg3/4ITaytzkEC5pjAxqdfw5P/hTbwLXcLb1iGL+XUG2wmoj7Xqrj8Ag6fD8PIrb3Lf89r7zNC3zXX0Clse+1gxCSis30+5gMnc1GDwylvAmQkaUxgJItyZg68Ghgx2/p4Xtpt5B7qGt0CiPnqSYA4wd04HmzEoT/w7rI6U69onIasDz6X7zAEeC71lhx0nj5iw2rITU8AMjwuf6J6K97nk6ctDwM79zBN65a/HPX+ctcrbFE3yRED7ShRRLrRXGIRFGF3L7rHtVHou6QHxlzKpx3gBm2AVDttcVI1QijIn4KuZ9WqaJ//QmDdOGKVJXM2iRJStOFfGbBr+nr/CFgFpQOOd+b08M3cVk0S9CYvvB6iyvwRK9uNzxFMncCHqHnow0xV/+pCFj7aN0W7DrRfqhLs5qlZc8AZJ26pXcn1iC/twSq5weuqvvxrH77j+mELUoznD/KJlHpKgqcsumjlve2mqJeWg0nIrtKSpVqHhxcU3wZTGvFRXa9pO7C3/77WqaYE6P23380rRGaaQzcqQVOZQce73YLhLe+rmmq1pMFJxuyytq4Ht15nP8ljpdpX7QiFRyU+EIIQiUJUJ8aKOp51MIereRNvVwAhHVQ8lAWZv588xBf0cY6v8HJMcSXCxQVG14F1ReqWXpeWe4Yf+x59jnMXEa9k2u5mgdrASdHBqV1BTu7hiExGEfPss6b6Rh/9PP1glMDl2xZdtA8vMjRaFTl7tLqVQN86sOukJnmx8jD3FstpTCxw8+ciH+0nvv4gFlb/v9tJbAAAAAElFTkSuQmCC"},"Ct/S":
|
|
|
/*!*****************************************************!*\
|
|
|
!*** ./src/components/AuthModal/index.less?modules ***!
|
|
|
\*****************************************************/
|
|
|
/*! no static exports found */
|
|
|
/*! exports used: default */
|
|
|
/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,n){e.exports={tilte:"tilte___1Tz7i",flexRow:"flexRow___3w9_D",flexColumn:"flexColumn___2HzC_",footerWrap:"footerWrap___12F5M",img:"img___3ED9Z",content:"content___rqPDY",modalContent:"modalContent___2h4ne"}},Jky8:
|
|
|
/*!**********************************************************************!*\
|
|
|
!*** ./src/components/Header/components/Join/JoinClassroomModal.tsx ***!
|
|
|
\**********************************************************************/
|
|
|
/*! exports provided: default */
|
|
|
/*! exports used: default */function(e,t,n){"use strict";n(/*! antd/es/checkbox/style */"sRBo");var a,r=n(/*! antd/es/checkbox */"kaz8"),i=(n(/*! antd/es/input/style */"5NDa"),n(/*! antd/es/input */"5rEg")),o=(n(/*! antd/es/message/style */"miYZ"),n(/*! antd/es/message */"tsqr")),c=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),l=(n(/*! antd/es/modal/style */"2qtc"),n(/*! antd/es/modal */"kLXV")),u=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/slicedToArray */"tJVT"),s=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),d=n.n(s),f=n(/*! react */"q1tI"),m=n.n(f),p=n(/*! umi */"9kvl"),v=n(/*! @/service/home */"6CvP"),b=n(/*! @/components/AuthModal */"1XHU"),h=n(/*! @/utils/util */"1vsH");!function(e){e[e.Professor=1]="Professor",e[e.AssistantProfessor=2]="AssistantProfessor",e[e.Student=3]="Student"}(a||(a={}));t.a=Object(p.a)((function(e){return{user:e.user}}))((function(e){var t=e.visible,n=e.user,s=e.onCancel,x=void 0===s?function(){}:s,g=Object(f.useState)(),A=Object(u.a)(g,2),E=A[0],w=A[1],j=Object(f.useState)([]),z=Object(u.a)(j,2),y=z[0],O=z[1],S=Object(f.useState)(!1),R=Object(u.a)(S,2),C=R[0],k=R[1],I=Object(f.useState)(!1),M=Object(u.a)(I,2),G=M[0],F=M[1],T=Object(f.useState)(),V=Object(u.a)(T,2),J=V[0],B=V[1];Object(f.useEffect)((function(){var e,t;null!=n&&null!==(e=n.userInfo)&&void 0!==e&&e.identity&&O(["student"===(null==n||null===(t=n.userInfo)||void 0===t?void 0:t.identity)?3:1])}),[n]);var N=function(e,t){y.includes(a.Professor)?l.a.confirm({centered:!0,okText:"确定",cancelText:"取消",title:"提示",content:m.a.createElement("div",{className:"tc"},t||"申请已提交,请等待审核"),onOk:function(){p.d.push("/classrooms/".concat(e,"/students"))}}):p.d.push("/classrooms/".concat(e,"/students"))},D=function(){var e=Object(c.a)(d.a.mark((function e(){var t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(E){e.next=3;break}return o.b.info("邀请码不能为空"),e.abrupt("return");case 3:return k(!0),e.next=6,Object(v.c)({invite_code:E,professor:y.includes(a.Professor)?1:null,assistant_professor:y.includes(a.AssistantProfessor)?1:null,student:y.includes(a.Student)?1:null});case 6:if(t=e.sent,k(!1),-2!==(null==t?void 0:t.status)){e.next=22;break}if(P(),"该课堂要求成员完成实名认证"!==t.message){e.next=14;break}return F(!0),B(1),e.abrupt("return");case 14:if("该课堂要求成员完成职业认证"!==t.message){e.next=18;break}return F(!0),B(2),e.abrupt("return");case 18:if("该课堂要求成员完成实名和职业认证"!==t.message){e.next=22;break}return F(!0),B(3),e.abrupt("return");case 22:if(0!==(null==t?void 0:t.status)){e.next=27;break}return Object(h.ab)(["教学课堂","首页","加入课堂"]),P(),(null==t?void 0:t.course_id)&&N(t.course_id,t.message),e.abrupt("return");case 27:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),P=function(){var e=Object(c.a)(d.a.mark((function e(){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:x();case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return m.a.createElement(m.a.Fragment,null,m.a.createElement(l.a,{centered:!0,keyboard:!1,closable:!1,title:"加入课堂",visible:t,confirmLoading:C,onOk:D,onCancel:P},m.a.createElement("div",{className:"tc"},m.a.createElement("div",null,m.a.createElement("span",null,"课堂邀请码:"),m.a.createElement(i.a,{placeholder:"请输入5位课堂邀请码或6位分班邀请码",style:{width:270},value:E,onChange:function(e){e.target.value.length>=7?o.b.info("请输入5位课堂邀请码或6位分班邀请码!"):w(e.target.value)}})),m.a.createElement("div",{className:"mt10 font14"},m.a.createElement("span",null,"身份:"),m.a.createElement(r.a.Group,{value:y,onChange:function(e){return O(e)}},m.a.createElement(r.a,{value:a.Professor,disabled:y.includes(2)},"教师"),m.a.createElement(r.a,{value:a.AssistantProfessor,disabled:y.includes(1)},"助教"),m.a.createElement(r.a,{value:a.Student},"学生/参赛者"))))),m.a.createElement(b.a,{visible:G,onCancel:function(){return F(!1)},occupationValue:J}))}))},NLgs:
|
|
|
/*!***********************************!*\
|
|
|
!*** ./src/utils/verifyLogin.tsx ***!
|
|
|
\***********************************/
|
|
|
/*! exports provided: handleVerify, handleVerifyLogin, handleProfleCompletedModal, handleProfessionalCertificationModal, handleCanShixunAddModal, AuthorizeModel, ShixunStatusModel */
|
|
|
/*! exports used: AuthorizeModel, ShixunStatusModel, handleCanShixunAddModal, handleProfessionalCertificationModal, handleVerify, handleVerifyLogin */function(e,t,n){"use strict";n.d(t,"e",(function(){return E})),n.d(t,"f",(function(){return w})),n.d(t,"d",(function(){return z})),n.d(t,"c",(function(){return y})),n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return S}));n(/*! antd/es/message/style */"miYZ");var a=n(/*! antd/es/message */"tsqr"),r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),i=(n(/*! antd/es/modal/style */"2qtc"),n(/*! antd/es/modal */"kLXV")),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),c=n.n(o),l=n(/*! react */"q1tI"),u=n.n(l),s=n(/*! umi */"9kvl"),d=n(/*! ./authority */"xKgJ"),f=n(/*! ./util */"1vsH"),m=n(/*! @ant-design/icons */"RCxd"),p=n(/*! @/assets/images/403Qrcode.png */"mOS8"),v=n.n(p),b=n(/*! @/assets/images/Authorize.png */"1ZF9"),h=n.n(b),x=n(/*! @/assets/images/studnetqun.png */"WdTA"),g=n.n(x),A=n(/*! ./env */"m3rI"),E=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!(!w(e)||!j(t))},w=function(e){return!!Object(d.p)()||(e({type:"user/showPopLogin",payload:{showPopLogin:!0,showClosable:!0}}),!1)},j=function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=Object(s.c)()._store.getState(),a=n.user;return!(null===(e=a.userInfo)||void 0===e||!e.profile_completed)||(i.a.confirm({title:"提示",width:530,centered:!0,content:t?"按照有关政策规定,特殊实验需要先绑定手机号才能使用,请先绑定手机号码":"您需要去完善您的个人资料,才能使用此功能",okText:"立即完善",cancelText:"稍后完善",onOk:function(){s.d.push("/account/profile/edit")}}),!1)},z=function(){var e;return!(null===(e=Object(s.c)()._store.getState().user.userInfo)||void 0===e||!e.professional_certification)||(i.a.confirm({title:"提示",centered:!0,content:u.a.createElement("div",{className:"tc"},"您需要去完成您的职业认证,才能使用此功能"),okText:"立即完善",cancelText:"稍后完善",onOk:function(){Object(f.Q)("/account/certification")}}),!1)},y=function(){return!!Object(d.a)()||(i.a.warning({centered:!0,width:530,title:"提示",content:u.a.createElement("div",{className:"tc",style:{marginLeft:-38}},u.a.createElement("p",null,"您可以扫码加群@群管理员,申请操作权限哦!"),u.a.createElement("img",{src:Object(d.t)()?g.a:"".concat(A.a.IMG_SERVER,"/images/educoder/qqqun20191230.png"),width:200})),okText:"我知道了",maskClosable:!0}),!1)},O=function(e,t){return!!e||(i.a.confirm({centered:!0,zIndex:1e4,width:530,title:"提示",content:u.a.createElement("div",null,u.a.createElement("p",null,t||"该实践资源需授权后才可使用。 您可以在QQ服务群向管理员申请,获得继续操作的权限。"),u.a.createElement("div",{style:{marginLeft:"110px"}},u.a.createElement("img",{src:h.a,width:200}),u.a.createElement("div",{style:{marginLeft:"35px"}},"群号:","714336072"))),okText:"立即联系",cancelText:"取消",onOk:function(){Object(f.Q)("https://qm.qq.com/cgi-bin/qm/qr?k=tIyDPXUtE0yEk-MOJxhH55lTUJS-nYAM&jump_from=webapi")}}),!1)},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(s.c)()._store.getState(),o=n.shixunsDetail.detail;return 2===(null==o?void 0:o.public)||1===(null==o?void 0:o.public)||3===(null==o?void 0:o.shixun_status)?(i.a.info({centered:!0,icon:u.a.createElement(m.a,{style:{color:"#faad14"}}),width:460,title:"提示",content:u.a.createElement("div",{className:"tc",style:{marginLeft:-38}},u.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start",paddingLeft:38,margin:"12px 0"}},u.a.createElement("span",null,"该实践项目的状态为",2===(null==o?void 0:o.public)?"已公开":1===(null==o?void 0:o.public)?"待审核":"已关闭",",",t,"。"),u.a.createElement("p",null,"如有需要,请联系平台管理员进行技术支持。")),u.a.createElement("img",{style:{border:"4px solid #0152d9",borderRadius:"4px"},src:v.a,alt:"二维码",width:160})),okText:"我知道了"}),!0):2===(null==o?void 0:o.shixun_status)&&(i.a.confirm({centered:!0,icon:u.a.createElement(m.a,null),title:"提示",content:u.a.createElement("div",null,u.a.createElement("span",null,"该实践项目已发布,",t,"。"),u.a.createElement("br",null),u.a.createElement("span",null,"如有需要,您可以撤销发布后,再进行操作。")),okText:"撤销发布",cancelText:"取消",onOk:function(){var t;i.a.confirm({width:440,centered:!0,icon:u.a.createElement(m.a,{style:{color:"#faad14"}}),title:"提示",content:"撤销发布后,学员将无法进行练习。是否确认撤销发布?",okText:"确定撤销发布",cancelText:"取消",onOk:(t=Object(r.a)(c.a.mark((function t(){return c.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e({type:"shixunsDetail/cancelRelease",payload:{id:null==o?void 0:o.identifier}});case 2:401!==t.sent.status&&(a.b.success("撤销发布成功。实训回到未发布的状态。"),e({type:"shixunsDetail/getShixunsDetail",payload:{id:null==o?void 0:o.identifier}}),e({type:"practiceSetting/getCommonData",payload:{id:null==o?void 0:o.identifier}}));case 4:case"end":return t.stop()}}),t)}))),function(){return t.apply(this,arguments)})})}}),!0)}},WdTA:
|
|
|
/*!******************************************!*\
|
|
|
!*** ./src/assets/images/studnetqun.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/studnetqun.598eeb43.png"},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 G}));var a=n("wx14"),r=n("1OyB"),i=n("vuIU"),o=n("Ji7U"),c=n("LK+K"),l=n("q1tI"),u=n("VTBJ"),s=n("rePB"),d=n("Zm9Q"),f=(n("Kwbf"),n("c+Xe")),m=n("m+aA"),p=n("bdgK"),v=new Map;var b=new p.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(o.a)(n,e);var t=Object(c.a)(n);function n(){return Object(r.a)(this,n),t.apply(this,arguments)}return Object(i.a)(n,[{key:"render",value:function(){return this.props.children}}]),n}(l.Component),x=l.createContext(null);function g(e){var t=e.children,n=e.disabled,a=l.useRef(null),r=l.useRef(null),i=l.useContext(x),o=l.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),c=l.isValidElement(t)&&Object(f.c)(t),s=c?t.ref:null,d=l.useMemo((function(){return Object(f.a)(s,a)}),[s,a]),p=l.useRef(e);p.current=e;var g=l.useCallback((function(e){var t=p.current,n=t.onResize,a=t.data,r=e.getBoundingClientRect(),c=r.width,l=r.height,s=e.offsetWidth,d=e.offsetHeight,f=Math.floor(c),m=Math.floor(l);if(o.current.width!==f||o.current.height!==m||o.current.offsetWidth!==s||o.current.offsetHeight!==d){var v={width:f,height:m,offsetWidth:s,offsetHeight:d};o.current=v;var b=s===Math.round(c)?c:s,h=d===Math.round(l)?l:d,x=Object(u.a)(Object(u.a)({},v),{},{offsetWidth:b,offsetHeight:h});null==i||i(x,e,a),n&&Promise.resolve().then((function(){n(x,e)}))}}),[]);return l.useEffect((function(){var e,t,i=Object(m.a)(a.current)||Object(m.a)(r.current);return i&&!n&&(e=i,t=g,v.has(e)||(v.set(e,new Set),b.observe(e)),v.get(e).add(t)),function(){return function(e,t){v.has(e)&&(v.get(e).delete(t),v.get(e).size||(b.unobserve(e),v.delete(e)))}(i,g)}}),[a.current,n]),l.createElement(h,{ref:r},c?l.cloneElement(t,{ref:d}):t)}function A(e){var t=e.children;return Object(d.a)(t).map((function(t,n){var r=(null==t?void 0:t.key)||"".concat("rc-observer-key","-").concat(n);return l.createElement(g,Object(a.a)({},e,{key:r}),t)}))}A.Collection=function(e){var t=e.children,n=e.onBatchResize,a=l.useRef(0),r=l.useRef([]),i=l.useContext(x),o=l.useCallback((function(e,t,o){a.current+=1;var c=a.current;r.current.push({size:e,element:t,data:o}),Promise.resolve().then((function(){c===a.current&&(null==n||n(r.current),r.current=[])})),null==i||i(e,t,o)}),[n,i]);return l.createElement(x.Provider,{value:o},t)};var E,w=A,j=n("bT9E"),z=n("TSYQ"),y=n.n(z),O="\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",S=["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"],R={};function C(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&&R[n])return R[n];var a=window.getComputedStyle(e),r=a.getPropertyValue("box-sizing")||a.getPropertyValue("-moz-box-sizing")||a.getPropertyValue("-webkit-box-sizing"),i=parseFloat(a.getPropertyValue("padding-bottom"))+parseFloat(a.getPropertyValue("padding-top")),o=parseFloat(a.getPropertyValue("border-bottom-width"))+parseFloat(a.getPropertyValue("border-top-width")),c=S.map((function(e){return"".concat(e,":").concat(a.getPropertyValue(e))})).join(";"),l={sizingStyle:c,paddingSize:i,borderSize:o,boxSizing:r};return t&&n&&(R[n]=l),l}var k,I=n("Gytx"),M=n.n(I);!function(e){e[e.NONE=0]="NONE",e[e.RESIZING=1]="RESIZING",e[e.RESIZED=2]="RESIZED"}(k||(k={}));var G=function(e){Object(o.a)(n,e);var t=Object(c.a)(n);function n(e){var i;return Object(r.a)(this,n),(i=t.call(this,e)).nextFrameActionId=void 0,i.resizeFrameId=void 0,i.textArea=void 0,i.saveTextArea=function(e){i.textArea=e},i.handleResize=function(e){var t=i.state.resizeStatus,n=i.props,a=n.autoSize,r=n.onResize;t===k.NONE&&("function"==typeof r&&r(e),a&&i.resizeOnNextFrame())},i.resizeOnNextFrame=function(){cancelAnimationFrame(i.nextFrameActionId),i.nextFrameActionId=requestAnimationFrame(i.resizeTextarea)},i.resizeTextarea=function(){var e=i.props.autoSize;if(e&&i.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 r=C(e,t),i=r.paddingSize,o=r.borderSize,c=r.boxSizing,l=r.sizingStyle;E.setAttribute("style","".concat(l,";").concat(O)),E.value=e.value||e.placeholder||"";var u,s=Number.MIN_SAFE_INTEGER,d=Number.MAX_SAFE_INTEGER,f=E.scrollHeight;if("border-box"===c?f+=o:"content-box"===c&&(f-=i),null!==n||null!==a){E.value=" ";var m=E.scrollHeight-i;null!==n&&(s=m*n,"border-box"===c&&(s=s+i+o),f=Math.max(s,f)),null!==a&&(d=m*a,"border-box"===c&&(d=d+i+o),u=f>d?"":"hidden",f=Math.min(d,f))}return{height:f,minHeight:s,maxHeight:d,overflowY:u,resize:"none"}}(i.textArea,!1,t,n);i.setState({textareaStyles:a,resizeStatus:k.RESIZING},(function(){cancelAnimationFrame(i.resizeFrameId),i.resizeFrameId=requestAnimationFrame((function(){i.setState({resizeStatus:k.RESIZED},(function(){i.resizeFrameId=requestAnimationFrame((function(){i.setState({resizeStatus:k.NONE}),i.fixFirefoxAutoScroll()}))}))}))}))}},i.renderTextArea=function(){var e=i.props,t=e.prefixCls,n=void 0===t?"rc-textarea":t,r=e.autoSize,o=e.onResize,c=e.className,d=e.disabled,f=i.state,m=f.textareaStyles,p=f.resizeStatus,v=Object(j.a)(i.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),b=y()(n,c,Object(s.a)({},"".concat(n,"-disabled"),d));"value"in v&&(v.value=v.value||"");var h=Object(u.a)(Object(u.a)(Object(u.a)({},i.props.style),m),p===k.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return l.createElement(w,{onResize:i.handleResize,disabled:!(r||o)},l.createElement("textarea",Object(a.a)({},v,{className:b,style:h,ref:i.saveTextArea})))},i.state={textareaStyles:{},resizeStatus:k.NONE},i}return Object(i.a)(n,[{key:"componentDidUpdate",value:function(e){e.value===this.props.value&&M()(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}(l.Component),F=function(e){Object(o.a)(n,e);var t=Object(c.a)(n);function n(e){var a;Object(r.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,r=t.onKeyDown;13===e.keyCode&&n&&n(e),r&&r(e)};var i=void 0===e.value||null===e.value?e.defaultValue:e.value;return a.state={value:i},a}return Object(i.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 l.createElement(G,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}(l.Component);t.default=F},bUJZ:
|
|
|
/*!**************************************************!*\
|
|
|
!*** ./src/assets/images/cert/zhiyerenzheng.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,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAABq1JREFUWAmVWGuIVVUU/vaZ2zjjOC9TwzFtwAjKHlJBNj4IYgJp/hghIWEE/ahAlCypqB8JoSiRJljQw6KoEGz6oQmNvxqdoB9hailZoZbj2xlndHzMvWf3rX3OOnefc888XLDv2nvttdda+1tr73PONbhJsnZdM64NPsll7YCZBYQtQMAmFPayz2ZPcNCFmvpdxrzR56bG+WPGqQc79PoShOEKGLMQ1hbcOstfsSA8j4wpcrIbQbDFTFzfmaeSlY0ZkB14bT5suIFBtGUXMzj6YzTChbQvXMifN+ghemtMw8Z90WT+74gBWbu9Cv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9N0deMwuonR6hoTIfBUFpwjTqtMYIxIiornBp7rkY8+jZeSLgK8SeCDZxGDsXLs0tiLn0xalw2b3Que5IpvpuQ9QXuZCipPPF4dguud/XeRt2FXAj3IkgLDIdlY+ODMIJ/LfOB4b5rnPhV0LOADVlWsBn99Ix5VOo9/enLrb8H80nuXyh1Jldgek42Me0dJfTxB1qyiRy3bXfb+JxL/JIy9F3utxxSZrok+MWzjPgxjmxTG0ySKcjvKJ1m4UH+6L3oVK4JUehcpELioYOrWcdsUbmfRY9LrQmxEmBr7XztgHV5KKXciyBSSAaoM8ZA0kwc2R3tO4j4m1JWkTqIRopebLZy4G57/De2Q90PxshVt0ILPqGyPD74MBaPlIYmNoY3V6PefoY8+tefIUJhWtShSxoZIval4mz395l4fICbCNS1VOABV/GwRCZIx9HaOhhSJDxEYr7hr5jShCSsf16xiaYcGVyb+juEq2sgFU/5xXgvlfp/BrTV8M0vc+2Ue2nOdVTiLnZYLNZdnKVKkY1pKNC22reD10OKb+Ik5x7hSvFK7s/wNfhQ5uiYP7YCuxfV64Rh06MtI+22JbGYw7x6VGyd5XZztYmDPKl2OZ9KKpWDq+9Lb61/bkcRBUiww/F+vo2s+RYf3aFP3Z9u62pieHzU9q2pzAe7VHiVo4SgD8vH4gwS83z/algRCWdMreIqqJY98Ripm9z6phWpCC+9v1jL3096tr350GbtJ0XjLivSFkcU8LsJ7Xz+e6V/3dMRZFmBD6ixvRw+2vMC1f5oBuZxgxIl9oPq5ewCOVzaSFl0WPGd+gUMwEh/sPK8A+rl250qq3R+LgDUiN2a2Mzwsv8GJP6sjMp5xuna6LSGzXzL8HvQjBpp3n5Up9MjJf+B5WVB7lfjXHfAAAAAElFTkSuQmCC"},mOS8:
|
|
|
/*!*****************************************!*\
|
|
|
!*** ./src/assets/images/403Qrcode.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/403Qrcode.6c17b6f4.png"}}]); |