diff --git a/.DS_Store b/.DS_Store index 80d851d831..8cc1db5cfa 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/index.html b/index.html index d90ff19508..db931affbb 100644 --- a/index.html +++ b/index.html @@ -93,6 +93,6 @@ gtag('config', 'UA-198293321-1'); --> - + diff --git a/layouts__SimpleLayouts.47281903.async.js b/layouts__SimpleLayouts.cd7eaf3a.async.js similarity index 57% rename from layouts__SimpleLayouts.47281903.async.js rename to layouts__SimpleLayouts.cd7eaf3a.async.js index 50f0caefb8..0f105c7f2a 100644 --- a/layouts__SimpleLayouts.47281903.async.js +++ b/layouts__SimpleLayouts.cd7eaf3a.async.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{"82A9":function(c,r,t){},BLHT:function(c,r,t){c.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:function(c,r,t){c.exports=t.p+"static/qqCode.a1502573.png"},EcEk:function(c,r,t){"use strict";var N=t("284h"),M=t("TqRt");Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var R=M(t("3tO9")),a=N(t("q1tI")),e=M(t("ZtMN")),V=M(t("KQxl")),F=function(H,Q){return a.createElement(V.default,(0,R.default)((0,R.default)({},H),{},{ref:Q,icon:e.default}))};F.displayName="VerticalAlignTopOutlined";var T=a.forwardRef(F);r.default=T},H8y1:function(c,r,t){"use strict";t.r(r);var N=t("GNNt"),M=t("wEI+"),R=t("SIvP"),a=t("q1tI"),e=t.n(a),V=t("+Gva"),F=t("ruvs"),T=t("9kvl"),z=t("wd/R"),H=t.n(z),Q=t("BLHT"),J=t.n(Q),q=function(n){var u,o,_,g=n.user,l=n.globalSetting;return e.a.createElement("div",{className:J.a.footer},e.a.createElement("aside",{className:J.a.fastLink},e.a.createElement("a",{target:"_blank",href:"/"},"\u7F51\u7AD9\u9996\u9875"),!(l==null||((u=l.setting)===null||u===void 0)?void 0:u.is_local)&&e.a.createElement("a",{target:"_blank",href:"/help/about_us"},"\u5173\u4E8E\u6211\u4EEC"),e.a.createElement("a",{target:"_blank",href:"/help/contact_us"},"\u8054\u7CFB\u6211\u4EEC"),e.a.createElement("a",{target:"_blank",href:"/help/cooperatives"},"\u5408\u4F5C\u4F19\u4F34"),e.a.createElement("a",{target:"_blank",href:"/help/agreement"},"\u670D\u52A1\u534F\u8BAE"),e.a.createElement("a",{target:"_blank",href:"/help/help_center"},"\u5E2E\u52A9\u4E2D\u5FC3"),e.a.createElement("a",{target:"_blank",href:"/help/feedback"},"\u610F\u89C1\u53CD\u9988")),((o=l.setting)===null||o===void 0?void 0:o.footer)?e.a.createElement("div",{dangerouslySetInnerHTML:{__html:(_=l.setting)===null||_===void 0?void 0:_.footer}}):e.a.createElement("div",null,e.a.createElement("p",{className:"footer_con-p inline lineh-30 font-14"},e.a.createElement("span",{className:"font-18 fl"},"\xA9"),"\xA0",H()().year(),"\xA0EduCoder",e.a.createElement("a",{style:{color:"#888"},target:"_blank",href:"http://beian.miit.gov.cn/",className:"ml15 mr15"},"\u6E58ICP\u590717009477\u53F7"),e.a.createElement("a",{style:{color:"#888"},target:"_blank",href:"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=43019002000962",className:"mr15"},e.a.createElement("img",{className:"vertical4",src:t("d5bv")}),"\u6E58\u516C\u7F51\u5B89\u590743019002000962\u53F7"),e.a.createElement("a",{href:"https://team.trustie.net",style:{color:"#888"},target:"_blank"},"Trustie"),"\xA0\xA0\xA0&\xA0\xA0\xA0IntelliDE inside. ",e.a.createElement("span",{className:"mr15"},"\u7248\u6743\u6240\u6709 \u6E56\u5357\u667A\u64CE\u79D1\u6280\u6709\u9650\u516C\u53F8"))))},ee=q,Be=t("2qtc"),$=t("kLXV"),S=t("k16G"),te=t("NaGD"),ne=t.n(te),W=t("m3rI"),K=t("1vsH"),oe=t("CAjq"),Z=t.n(oe),ae=function(n){var u,o,_=n.user,g=n.globalSetting,l=Object(a.useState)(!1),f=Object(S.a)(l,2),i=f[0],U=f[1];Object(a.useEffect)(function(){return window.addEventListener("click",y),function(){window.removeEventListener("click",y)}},[]);var O=function(){var s=function(){return/macintosh|mac os x/i.test(navigator.userAgent)}();if(s){U(!0);return}var p="//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd";Object(K.K)(p)},j=function(s,p){if(s.className===p)return s;for(var h=0,v=s;v=v.parentNode;h++){if(v.className===p)return v;if(v==document.documentElement)return!1}},y=function(s){var p,h,v;(s==null?void 0:s.target)&&((s==null||((p=s.target)===null||p===void 0)?void 0:p.innerText)==="\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41\u793E\u533A"||(s==null||((h=s.target)===null||h===void 0||((v=h.nextElementSibling)===null||v===void 0))?void 0:v.innerText)==="\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41\u793E\u533A")&&(j(s.target,"module-introduce")&&O())};return e.a.createElement(e.a.Fragment,null,e.a.createElement($.a,{centered:!0,destroyOnClose:!0,visible:i,title:"\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41\u793E\u533A",width:"500px",footer:null,onCancel:function(){return U(!1)}},e.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},e.a.createElement("p",null,"\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41QQ\u7FA4\uFF1A612934990 "),e.a.createElement("img",{src:Z.a,width:200,height:200}))),e.a.createElement("div",{className:ne.a.newFooter,dangerouslySetInnerHTML:{__html:(u=g.setting)===null||u===void 0||((o=u.footer)===null||o===void 0)?void 0:o.replaceAll("/api/attachments/",W.a.IMG_SERVER+"/api/attachments/")}}))},le=ae,ue=function(n){var u=n.user,o=n.globalSetting,_=n.loading,g=n.dispatch;if(o.showFooter&&o.showHeaderFooter){var l,f;return e.a.createElement("section",null,(o==null||((l=o.setting)===null||l===void 0)?void 0:l.main_site)&&!(o==null||((f=o.setting)===null||f===void 0)?void 0:f.is_local)?e.a.createElement(le,{user:u,globalSetting:o}):e.a.createElement(ee,{user:u,globalSetting:o}))}else return e.a.createElement(e.a.Fragment,null," ")},ie=Object(T.a)(function(d){var n=d.user,u=d.loading,o=d.globalSetting;return{user:n,globalSetting:o,loading:u.models.index}})(ue),we=t("cIOH"),Xe=t("82A9"),se=t("pVnL"),re=t.n(se),de=t("lSNA"),ce=t.n(de),me=t("J4zp"),Ee=t.n(me),_e=t("MFj2"),fe=t("zT1h"),ve=t("TSYQ"),pe=t.n(ve),ge=t("BGR+"),Ce=t("eMAm"),xe=t.n(Ce),be=t("PEeC"),he=t("H84U"),Ae=t("i6bk"),Me=t("zAh6"),Y=function(n){var u=a.useState(!1),o=Ee()(u,2),_=o[0],g=o[1],l=a.createRef(),f=a.useRef(),i=function(){return l.current&&l.current.ownerDocument?l.current.ownerDocument:window},U=Object(be.a)(function(A){var m=n.visibilityHeight,E=Object(Ae.a)(A.target,!0);g(E>m)}),O=function(){var m=n.target,E=m||i,C=E();f.current=Object(fe.a)(C,"scroll",function(b){U(b)}),U({target:C})};a.useEffect(function(){return O(),function(){f.current&&f.current.remove(),U.cancel()}},[n.target]);var j=function(){return"visible"in n?n.visible:_},y=function(m){var E=n.onClick,C=n.target,b=n.duration,I=b===void 0?450:b;Object(Me.a)(0,{getContainer:C||i,duration:I}),typeof E=="function"&&E(m)},P=function(m){var E=m.prefixCls,C=n.children,b=a.createElement("div",{className:"".concat(E,"-content")},a.createElement("div",{className:"".concat(E,"-icon")},a.createElement(xe.a,null)));return a.createElement(_e.a,{component:"",transitionName:"fade"},j()?a.createElement("div",null,C||b):null)},s=a.useContext(he.b),p=s.getPrefixCls,h=s.direction,v=n.prefixCls,B=n.className,G=B===void 0?"":B,x=p("back-top",v),w=pe()(x,G,ce()({},"".concat(x,"-rtl"),h==="rtl")),X=Object(ge.default)(n,["prefixCls","className","children","visibilityHeight","target","visible"]);return a.createElement("div",re()({},X,{className:w,onClick:y,ref:l}),P({prefixCls:x}))};Y.defaultProps={visibilityHeight:400};var Re=a.memo(Y),Ie=t("5Dmo"),D=t("3S7+"),Ue=t("iHkK"),L=t.n(Ue),Pe=function(n){var u,o,_,g,l=n.globalSetting,f=n.loading,i=n.user,U=n.dispatch,O=Object(a.useState)(!1),j=Object(S.a)(O,2),y=j[0],P=j[1],s=Object(a.useState)(!1),p=Object(S.a)(s,2),h=p[0],v=p[1],B=Object(a.useState)(localStorage.hideCustom?JSON.parse(localStorage.hideCustom):[]),G=Object(S.a)(B,1),x=G[0],w=Object(a.useRef)();Object(a.useEffect)(function(){return window.addEventListener("scroll",X),function(){return window.removeEventListener("scroll",X)}},[]),Object(a.useEffect)(function(){var m;if(i==null||((m=i.userInfo)===null||m===void 0)?void 0:m.login){var E;x.includes(i==null||((E=i.userInfo)===null||E===void 0)?void 0:E.login)||setTimeout(function(){var C,b,I=document.createEvent("Events");I.initEvent("mouseout",!0,!1),(C=w.current)===null||C===void 0||C.dispatchEvent(I),x.push(i==null||((b=i.userInfo)===null||b===void 0)?void 0:b.login),localStorage.hideCustom=JSON.stringify(x)},5e3)}},[i]);var X=function(){P(document.documentElement.scrollTop>0)},A=function(){var E=function(){return/macintosh|mac os x/i.test(navigator.userAgent)}();if(console.log(E),E){v(!0);return}var C="//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd";Object(K.K)(C)};return e.a.createElement("div",{className:L.a.sideBar},!l.onlyShowBackTop&&e.a.createElement(e.a.Fragment,null,!!(i==null||((u=i.userInfo)===null||u===void 0)?void 0:u.login)&&e.a.createElement(D.a,{placement:"left",defaultVisible:!(x==null?void 0:x.includes(i==null||((o=i.userInfo)===null||o===void 0)?void 0:o.login)),getPopupContainer:function(){return document.getElementById("wechat_QR_code_id")},title:e.a.createElement("div",null,e.a.createElement("div",{className:"tc"},e.a.createElement("img",{className:"mt10",src:t("O7MS"),width:"158px",height:"158px"})),e.a.createElement("div",{className:"tc font15 mt10"},"\u514D\u8D39\u6559\u5B66\u52A9\u7406"),e.a.createElement("div",{className:"tc font15"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),e.a.createElement("div",{className:"pt10 font12"},"1\u3001\u89E3\u7B54\u8001\u5E08\u7591\u60D1\u3001\u5E2E\u52A9\u8001\u5E08\u66F4\u5FEB\u719F\u6089\u548C\u4F7F\u7528\u5E73\u53F0\u6559\u5B66\u3002",e.a.createElement("br",null),e.a.createElement("span",{className:"pt10"},"2\u3001\u534F\u52A9\u8001\u5E08\u521B\u5EFA\u8BFE\u5802\u3001\u8BFE\u7A0B\u8BBE\u8BA1\u3001\u505A\u597D\u6559\u5B66\u5DE5\u4F5C\u3002"),e.a.createElement("br",null),e.a.createElement("span",{className:"pt10"},"3\u3001\u6839\u636E\u8001\u5E08\u6559\u5B66\u65B9\u5411\uFF0C\u5206\u4EAB\u5934\u6B4C\u5E73\u53F0C9\u9662\u6821\u3001985\u9AD8\u6821\u3001211\u9AD8\u6821\u3001\u53CC\u4E00\u6D41\u9AD8\u6821\u8001\u5E08\u7ECF\u5178\u5B9E\u8DF5\u6559\u5B66\u6848\u4F8B\u3002")))},e.a.createElement("div",{className:L.a.wrap,ref:w},e.a.createElement("a",{href:"javascript:void(0)"},e.a.createElement("i",{className:"iconfont icon-yijianfankui1 c-light-primary font22"})))),!(l==null||((_=l.setting)===null||_===void 0)?void 0:_.is_local)&&e.a.createElement(D.a,{placement:"left",getPopupContainer:function(){return document.getElementById("wechat_QR_code_id")},title:e.a.createElement("div",null,e.a.createElement("img",{src:"".concat(W.a.IMG_SERVER,"/images/educoder/EWM.jpg"),width:"158px",height:"158px"}),e.a.createElement("div",{className:"tc font15"},"\u5FAE\u4FE1\u626B\u4E00\u626B"),e.a.createElement("div",{className:"tc font15"},"\u5173\u6CE8\u516C\u4F17\u53F7"))},e.a.createElement("div",{className:L.a.wrap,id:"wechat_QR_code_id"},e.a.createElement("i",{className:"iconfont icon-erweima1 c-light-primary font22"}))),!(l==null||((g=l.setting)===null||g===void 0)?void 0:g.is_local)&&e.a.createElement(D.a,{placement:"left",title:"\u5728\u7EBF\u54A8\u8BE2"},e.a.createElement("div",{className:L.a.wrap},e.a.createElement("a",{onClick:A,className:"c-white"},e.a.createElement("i",{className:"iconfont icon-QQ1 c-light-primary font22"})))),y&&e.a.createElement(D.a,{placement:"left",title:"\u8FD4\u56DE\u9876\u90E8"},e.a.createElement(Re,{className:"".concat(L.a.wrap," ").concat(L.a.backTop),visibilityHeight:0},e.a.createElement("i",{className:"iconfont icon-huidaodingbu c-light-primary font14"})))),e.a.createElement($.a,{centered:!0,destroyOnClose:!0,visible:h,title:"\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41\u793E\u533A",width:"500px",footer:null,onCancel:function(){return v(!1)}},e.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},e.a.createElement("p",null,"\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41QQ\u7FA4\uFF1A612934990 "),e.a.createElement("img",{src:Z.a,width:200,height:200}))))},Ne=Object(T.a)(function(d){var n=d.loading,u=d.globalSetting,o=d.user;return{globalSetting:u,user:o,loading:n.models.index}})(Pe),Ve=t("+L6B"),Te=t("2/Rp"),Le=t("c1Ei"),k=t.n(Le),je=t("5Tp6"),ye=function(n){var u=n.user,o=n.dispatch,_=n.classroomList;return e.a.createElement($.a,{title:"\u6E29\u99A8\u63D0\u793A",zIndex:9999,footer:null,visible:_.actionTabs.key==="\u5BFC\u51FA\u63D0\u9192",onCancel:function(){o({type:"classroomList/setActionTabs",payload:{}})}},e.a.createElement("div",null,e.a.createElement("span",null,"\u60A8\u5728\u5F53\u524D\u680F\u76EE\u4E2D\u6709\u5DF2\u5BFC\u51FA\u7684\u8868\u683C\u672A\u4E0B\u8F7D\uFF0C\u8BF7\u5148\u4E0B\u8F7D\u5DF2\u6709\u8868\u683C\uFF0C\u7136\u540E\u518D\u5BFC\u51FA\u65B0\u7684\u8868\u683C\u3002"),e.a.createElement("br",null),e.a.createElement("div",{style:{textAlign:"end"}},e.a.createElement(Te.a,{type:"primary",onClick:Object(je.a)(k.a.mark(function g(){return k.a.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:o({type:"classroomList/setActionTabs",payload:{}});case 1:case"end":return f.stop()}},g)}))},"\u77E5\u9053\u4E86"))))},Oe=Object(T.a)(function(d){var n=d.user,u=d.classroomList;return{user:n,classroomList:u}})(ye),Fe=t("H4Hi"),Se=t.n(Fe),De=function(n){var u=n.loading,o=n.children,_=Object(R.a)(n,["loading","children"]);return e.a.createElement(M.a,{locale:V.default},e.a.createElement(F.a,_),e.a.createElement("section",{className:Se.a.layoutMainClass},o),e.a.createElement(Ne,null),e.a.createElement(ie,null),e.a.createElement(Oe,null))},He=r.default=Object(T.a)(function(d){var n=d.loading;return{loading:n}})(De)},NaGD:function(c,r,t){c.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"}},O7MS:function(c,r,t){c.exports=t.p+"static/AssistantCode.61c5ef8d.png"},ZtMN:function(c,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var N={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z"}}]},name:"vertical-align-top",theme:"outlined"};r.default=N},d5bv:function(c,r,t){c.exports=t.p+"static/beian.0c577066.png"},eMAm:function(c,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var N=M(t("EcEk"));function M(a){return a&&a.__esModule?a:{default:a}}var R=N;r.default=R,c.exports=R},iHkK:function(c,r,t){c.exports={sideBar:"sideBar___DNWGT",wrap:"wrap___2rWVP",backTop:"backTop___3cAkP"}}}]); +(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{"82A9":function(c,r,t){},BLHT:function(c,r,t){c.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:function(c,r,t){c.exports=t.p+"static/qqCode.a1502573.png"},EcEk:function(c,r,t){"use strict";var N=t("284h"),M=t("TqRt");Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var R=M(t("3tO9")),a=N(t("q1tI")),e=M(t("ZtMN")),V=M(t("KQxl")),F=function(H,Q){return a.createElement(V.default,(0,R.default)((0,R.default)({},H),{},{ref:Q,icon:e.default}))};F.displayName="VerticalAlignTopOutlined";var T=a.forwardRef(F);r.default=T},H8y1:function(c,r,t){"use strict";t.r(r);var N=t("GNNt"),M=t("wEI+"),R=t("SIvP"),a=t("q1tI"),e=t.n(a),V=t("+Gva"),F=t("ruvs"),T=t("9kvl"),z=t("wd/R"),H=t.n(z),Q=t("BLHT"),J=t.n(Q),q=function(n){var u,o,_,g=n.user,l=n.globalSetting;return e.a.createElement("div",{className:J.a.footer},e.a.createElement("aside",{className:J.a.fastLink},e.a.createElement("a",{target:"_blank",href:"/"},"\u7F51\u7AD9\u9996\u9875"),!(l==null||((u=l.setting)===null||u===void 0)?void 0:u.is_local)&&e.a.createElement("a",{target:"_blank",href:"/help/about_us"},"\u5173\u4E8E\u6211\u4EEC"),e.a.createElement("a",{target:"_blank",href:"/help/contact_us"},"\u8054\u7CFB\u6211\u4EEC"),e.a.createElement("a",{target:"_blank",href:"/help/cooperatives"},"\u5408\u4F5C\u4F19\u4F34"),e.a.createElement("a",{target:"_blank",href:"/help/agreement"},"\u670D\u52A1\u534F\u8BAE"),e.a.createElement("a",{target:"_blank",href:"/help/help_center"},"\u5E2E\u52A9\u4E2D\u5FC3"),e.a.createElement("a",{target:"_blank",href:"/help/feedback"},"\u610F\u89C1\u53CD\u9988")),((o=l.setting)===null||o===void 0?void 0:o.footer)?e.a.createElement("div",{dangerouslySetInnerHTML:{__html:(_=l.setting)===null||_===void 0?void 0:_.footer}}):e.a.createElement("div",null,e.a.createElement("p",{className:"footer_con-p inline lineh-30 font-14"},e.a.createElement("span",{className:"font-18 fl"},"\xA9"),"\xA0",H()().year(),"\xA0EduCoder",e.a.createElement("a",{style:{color:"#888"},target:"_blank",href:"http://beian.miit.gov.cn/",className:"ml15 mr15"},"\u6E58ICP\u590717009477\u53F7"),e.a.createElement("a",{style:{color:"#888"},target:"_blank",href:"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=43019002000962",className:"mr15"},e.a.createElement("img",{className:"vertical4",src:t("d5bv")}),"\u6E58\u516C\u7F51\u5B89\u590743019002000962\u53F7"),e.a.createElement("a",{href:"https://team.trustie.net",style:{color:"#888"},target:"_blank"},"Trustie"),"\xA0\xA0\xA0&\xA0\xA0\xA0IntelliDE inside. ",e.a.createElement("span",{className:"mr15"},"\u7248\u6743\u6240\u6709 \u6E56\u5357\u667A\u64CE\u79D1\u6280\u6709\u9650\u516C\u53F8"))))},ee=q,Be=t("2qtc"),$=t("kLXV"),S=t("k16G"),te=t("NaGD"),ne=t.n(te),W=t("m3rI"),K=t("1vsH"),oe=t("CAjq"),Z=t.n(oe),ae=function(n){var u,o,_=n.user,g=n.globalSetting,l=Object(a.useState)(!1),f=Object(S.a)(l,2),i=f[0],U=f[1];Object(a.useEffect)(function(){return window.addEventListener("click",y),function(){window.removeEventListener("click",y)}},[]);var O=function(){var s=function(){return/macintosh|mac os x/i.test(navigator.userAgent)}();if(s){U(!0);return}var p="//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd";Object(K.K)(p)},j=function(s,p){if(s.className===p)return s;for(var h=0,v=s;v=v.parentNode;h++){if(v.className===p)return v;if(v==document.documentElement)return!1}},y=function(s){var p,h,v;(s==null?void 0:s.target)&&((s==null||((p=s.target)===null||p===void 0)?void 0:p.innerText)==="\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41\u793E\u533A"||(s==null||((h=s.target)===null||h===void 0||((v=h.nextElementSibling)===null||v===void 0))?void 0:v.innerText)==="\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41\u793E\u533A")&&(j(s.target,"module-introduce")&&O())};return e.a.createElement(e.a.Fragment,null,e.a.createElement($.a,{centered:!0,destroyOnClose:!0,visible:i,title:"\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41\u793E\u533A",width:"500px",footer:null,onCancel:function(){return U(!1)}},e.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},e.a.createElement("p",null,"\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41QQ\u7FA4\uFF1A612934990 "),e.a.createElement("img",{src:Z.a,width:200,height:200}))),e.a.createElement("div",{className:ne.a.newFooter,dangerouslySetInnerHTML:{__html:(u=g.setting)===null||u===void 0||((o=u.footer)===null||o===void 0)?void 0:o.replaceAll("/api/attachments/",W.a.IMG_SERVER+"/api/attachments/")}}))},le=ae,ue=function(n){var u=n.user,o=n.globalSetting,_=n.loading,g=n.dispatch;if(o.showFooter&&o.showHeaderFooter){var l,f;return e.a.createElement("section",null,(o==null||((l=o.setting)===null||l===void 0)?void 0:l.main_site)&&!(o==null||((f=o.setting)===null||f===void 0)?void 0:f.is_local)?e.a.createElement(le,{user:u,globalSetting:o}):e.a.createElement(ee,{user:u,globalSetting:o}))}else return e.a.createElement(e.a.Fragment,null," ")},ie=Object(T.a)(function(d){var n=d.user,u=d.loading,o=d.globalSetting;return{user:n,globalSetting:o,loading:u.models.index}})(ue),we=t("cIOH"),Xe=t("82A9"),se=t("pVnL"),re=t.n(se),de=t("lSNA"),ce=t.n(de),me=t("J4zp"),Ee=t.n(me),_e=t("MFj2"),fe=t("zT1h"),ve=t("TSYQ"),pe=t.n(ve),ge=t("BGR+"),Ce=t("eMAm"),xe=t.n(Ce),be=t("PEeC"),he=t("H84U"),Ae=t("i6bk"),Me=t("zAh6"),Y=function(n){var u=a.useState(!1),o=Ee()(u,2),_=o[0],g=o[1],l=a.createRef(),f=a.useRef(),i=function(){return l.current&&l.current.ownerDocument?l.current.ownerDocument:window},U=Object(be.a)(function(A){var m=n.visibilityHeight,E=Object(Ae.a)(A.target,!0);g(E>m)}),O=function(){var m=n.target,E=m||i,C=E();f.current=Object(fe.a)(C,"scroll",function(b){U(b)}),U({target:C})};a.useEffect(function(){return O(),function(){f.current&&f.current.remove(),U.cancel()}},[n.target]);var j=function(){return"visible"in n?n.visible:_},y=function(m){var E=n.onClick,C=n.target,b=n.duration,I=b===void 0?450:b;Object(Me.a)(0,{getContainer:C||i,duration:I}),typeof E=="function"&&E(m)},P=function(m){var E=m.prefixCls,C=n.children,b=a.createElement("div",{className:"".concat(E,"-content")},a.createElement("div",{className:"".concat(E,"-icon")},a.createElement(xe.a,null)));return a.createElement(_e.a,{component:"",transitionName:"fade"},j()?a.createElement("div",null,C||b):null)},s=a.useContext(he.b),p=s.getPrefixCls,h=s.direction,v=n.prefixCls,B=n.className,G=B===void 0?"":B,x=p("back-top",v),w=pe()(x,G,ce()({},"".concat(x,"-rtl"),h==="rtl")),X=Object(ge.default)(n,["prefixCls","className","children","visibilityHeight","target","visible"]);return a.createElement("div",re()({},X,{className:w,onClick:y,ref:l}),P({prefixCls:x}))};Y.defaultProps={visibilityHeight:400};var Re=a.memo(Y),Ie=t("5Dmo"),D=t("3S7+"),Ue=t("iHkK"),L=t.n(Ue),Pe=function(n){var u,o,_,g,l=n.globalSetting,f=n.loading,i=n.user,U=n.dispatch,O=Object(a.useState)(!1),j=Object(S.a)(O,2),y=j[0],P=j[1],s=Object(a.useState)(!1),p=Object(S.a)(s,2),h=p[0],v=p[1],B=Object(a.useState)(localStorage.hideCustom?JSON.parse(localStorage.hideCustom):[]),G=Object(S.a)(B,1),x=G[0],w=Object(a.useRef)();Object(a.useEffect)(function(){return window.addEventListener("scroll",X),function(){return window.removeEventListener("scroll",X)}},[]),Object(a.useEffect)(function(){var m;if(i==null||((m=i.userInfo)===null||m===void 0)?void 0:m.login){var E;x.includes(i==null||((E=i.userInfo)===null||E===void 0)?void 0:E.login)||setTimeout(function(){var C,b,I=document.createEvent("Events");I.initEvent("mouseout",!0,!1),(C=w.current)===null||C===void 0||C.dispatchEvent(I),x.push(i==null||((b=i.userInfo)===null||b===void 0)?void 0:b.login),localStorage.hideCustom=JSON.stringify(x)},5e3)}},[i]);var X=function(){P(document.documentElement.scrollTop>0)},A=function(){var E=function(){return/macintosh|mac os x/i.test(navigator.userAgent)}();if(console.log(E),E){v(!0);return}var C="//shang.qq.com/wpa/qunwpa?idkey=2f2043d88c1bd61d182b98bf1e061c6185e23055bec832c07d8148fe11c5a6cd";Object(K.K)(C)};return e.a.createElement("div",{className:L.a.sideBar},!l.onlyShowBackTop&&e.a.createElement("div",{id:"wechat_QR_code_id"},!!(i==null||((u=i.userInfo)===null||u===void 0)?void 0:u.login)&&e.a.createElement(D.a,{placement:"left",defaultVisible:!(x==null?void 0:x.includes(i==null||((o=i.userInfo)===null||o===void 0)?void 0:o.login)),getPopupContainer:function(){return document.getElementById("wechat_QR_code_id")},title:e.a.createElement("div",null,e.a.createElement("div",{className:"tc"},e.a.createElement("img",{className:"mt10",src:t("O7MS"),width:"158px",height:"158px"})),e.a.createElement("div",{className:"tc font15 mt10"},"\u514D\u8D39\u6559\u5B66\u52A9\u7406"),e.a.createElement("div",{className:"tc font15"},"\u5FAE\u4FE1\u626B\u4E00\u626B\u6DFB\u52A0"),e.a.createElement("div",{className:"pt10 font12"},"1\u3001\u89E3\u7B54\u8001\u5E08\u7591\u60D1\u3001\u5E2E\u52A9\u8001\u5E08\u66F4\u5FEB\u719F\u6089\u548C\u4F7F\u7528\u5E73\u53F0\u6559\u5B66\u3002",e.a.createElement("br",null),e.a.createElement("span",{className:"pt10"},"2\u3001\u534F\u52A9\u8001\u5E08\u521B\u5EFA\u8BFE\u5802\u3001\u8BFE\u7A0B\u8BBE\u8BA1\u3001\u505A\u597D\u6559\u5B66\u5DE5\u4F5C\u3002"),e.a.createElement("br",null),e.a.createElement("span",{className:"pt10"},"3\u3001\u6839\u636E\u8001\u5E08\u6559\u5B66\u65B9\u5411\uFF0C\u5206\u4EAB\u5934\u6B4C\u5E73\u53F0C9\u9662\u6821\u3001985\u9AD8\u6821\u3001211\u9AD8\u6821\u3001\u53CC\u4E00\u6D41\u9AD8\u6821\u8001\u5E08\u7ECF\u5178\u5B9E\u8DF5\u6559\u5B66\u6848\u4F8B\u3002")))},e.a.createElement("div",{className:L.a.wrap,ref:w},e.a.createElement("a",{href:"javascript:void(0)"},e.a.createElement("i",{className:"iconfont icon-yijianfankui1 c-light-primary font22"})))),!(l==null||((_=l.setting)===null||_===void 0)?void 0:_.is_local)&&e.a.createElement(D.a,{placement:"left",getPopupContainer:function(){return document.getElementById("wechat_QR_code_id")},title:e.a.createElement("div",null,e.a.createElement("img",{src:"".concat(W.a.IMG_SERVER,"/images/educoder/EWM.jpg"),width:"158px",height:"158px"}),e.a.createElement("div",{className:"tc font15"},"\u5FAE\u4FE1\u626B\u4E00\u626B"),e.a.createElement("div",{className:"tc font15"},"\u5173\u6CE8\u516C\u4F17\u53F7"))},e.a.createElement("div",{className:L.a.wrap},e.a.createElement("i",{className:"iconfont icon-erweima1 c-light-primary font22"}))),!(l==null||((g=l.setting)===null||g===void 0)?void 0:g.is_local)&&e.a.createElement(D.a,{placement:"left",title:"\u5728\u7EBF\u54A8\u8BE2"},e.a.createElement("div",{className:L.a.wrap},e.a.createElement("a",{onClick:A,className:"c-white"},e.a.createElement("i",{className:"iconfont icon-QQ1 c-light-primary font22"})))),y&&e.a.createElement(D.a,{placement:"left",title:"\u8FD4\u56DE\u9876\u90E8"},e.a.createElement(Re,{className:"".concat(L.a.wrap," ").concat(L.a.backTop),visibilityHeight:0},e.a.createElement("i",{className:"iconfont icon-huidaodingbu c-light-primary font14"})))),e.a.createElement($.a,{centered:!0,destroyOnClose:!0,visible:h,title:"\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41\u793E\u533A",width:"500px",footer:null,onCancel:function(){return v(!1)}},e.a.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"}},e.a.createElement("p",null,"\u626B\u7801\u6216\u641C\u7D22\u52A0\u5165\u5934\u6B4C\u6559\u5E08\u4EA4\u6D41QQ\u7FA4\uFF1A612934990 "),e.a.createElement("img",{src:Z.a,width:200,height:200}))))},Ne=Object(T.a)(function(d){var n=d.loading,u=d.globalSetting,o=d.user;return{globalSetting:u,user:o,loading:n.models.index}})(Pe),Ve=t("+L6B"),Te=t("2/Rp"),Le=t("c1Ei"),k=t.n(Le),je=t("5Tp6"),ye=function(n){var u=n.user,o=n.dispatch,_=n.classroomList;return e.a.createElement($.a,{title:"\u6E29\u99A8\u63D0\u793A",zIndex:9999,footer:null,visible:_.actionTabs.key==="\u5BFC\u51FA\u63D0\u9192",onCancel:function(){o({type:"classroomList/setActionTabs",payload:{}})}},e.a.createElement("div",null,e.a.createElement("span",null,"\u60A8\u5728\u5F53\u524D\u680F\u76EE\u4E2D\u6709\u5DF2\u5BFC\u51FA\u7684\u8868\u683C\u672A\u4E0B\u8F7D\uFF0C\u8BF7\u5148\u4E0B\u8F7D\u5DF2\u6709\u8868\u683C\uFF0C\u7136\u540E\u518D\u5BFC\u51FA\u65B0\u7684\u8868\u683C\u3002"),e.a.createElement("br",null),e.a.createElement("div",{style:{textAlign:"end"}},e.a.createElement(Te.a,{type:"primary",onClick:Object(je.a)(k.a.mark(function g(){return k.a.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:o({type:"classroomList/setActionTabs",payload:{}});case 1:case"end":return f.stop()}},g)}))},"\u77E5\u9053\u4E86"))))},Oe=Object(T.a)(function(d){var n=d.user,u=d.classroomList;return{user:n,classroomList:u}})(ye),Fe=t("H4Hi"),Se=t.n(Fe),De=function(n){var u=n.loading,o=n.children,_=Object(R.a)(n,["loading","children"]);return e.a.createElement(M.a,{locale:V.default},e.a.createElement(F.a,_),e.a.createElement("section",{className:Se.a.layoutMainClass},o),e.a.createElement(Ne,null),e.a.createElement(ie,null),e.a.createElement(Oe,null))},He=r.default=Object(T.a)(function(d){var n=d.loading;return{loading:n}})(De)},NaGD:function(c,r,t){c.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"}},O7MS:function(c,r,t){c.exports=t.p+"static/AssistantCode.61c5ef8d.png"},ZtMN:function(c,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var N={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.9 168H164.1c-4.5 0-8.1 3.6-8.1 8v60c0 4.4 3.6 8 8.1 8h695.8c4.5 0 8.1-3.6 8.1-8v-60c0-4.4-3.6-8-8.1-8zM518.3 355a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V848c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V509.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 355z"}}]},name:"vertical-align-top",theme:"outlined"};r.default=N},d5bv:function(c,r,t){c.exports=t.p+"static/beian.0c577066.png"},eMAm:function(c,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var N=M(t("EcEk"));function M(a){return a&&a.__esModule?a:{default:a}}var R=N;r.default=R,c.exports=R},iHkK:function(c,r,t){c.exports={sideBar:"sideBar___DNWGT",wrap:"wrap___2rWVP",backTop:"backTop___3cAkP"}}}]); diff --git a/monaco-editor.fce7562f.async.js b/monaco-editor.fce7562f.async.js index 27fa32b63e..2d4e355a1c 100644 --- a/monaco-editor.fce7562f.async.js +++ b/monaco-editor.fce7562f.async.js @@ -1,6 +1,6 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[32],{"+3Gp":function(Lt,j,e){"use strict";e.d(j,"a",function(){return z}),e.d(j,"b",function(){return O});var T=e("MNsG"),re=e("Yr1X"),J=function(){var U=function(u,y){return U=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,f){w.__proto__=f}||function(w,f){for(var v in f)f.hasOwnProperty(v)&&(w[v]=f[v])},U(u,y)};return function(x,u){U(x,u);function y(){this.constructor=x}x.prototype=u===null?Object.create(u):(y.prototype=u.prototype,new y)}}(),I=T.e?1.5:1.35,H=8,z=function(){function U(x){this.zoomLevel=x.zoomLevel,this.fontFamily=String(x.fontFamily),this.fontWeight=String(x.fontWeight),this.fontSize=x.fontSize,this.fontFeatureSettings=x.fontFeatureSettings,this.lineHeight=x.lineHeight|0,this.letterSpacing=x.letterSpacing}return U.createFromValidatedSettings=function(x,u,y){var w=x.get(33),f=x.get(37),v=x.get(36),_=x.get(35),p=x.get(49),c=x.get(46);return U._create(w,f,v,_,p,c,u,y)},U._create=function(x,u,y,w,f,v,_,p){f===0?f=Math.round(I*y):fU.getLineMinColumn(x)?u=u-I.G(U.getLineContent(x),u-1):x>1&&(x=x-1,u=U.getLineMaxColumn(x)),new re.a(x,u)},O.left=function(U,x,u,y){var w=O.leftPosition(x,u,y);return new H(w.lineNumber,w.column,0)},O.moveLeft=function(U,x,u,y,w){var f,v;if(u.hasSelection()&&!y)f=u.selection.startLineNumber,v=u.selection.startColumn;else{var _=O.left(U,x,u.position.lineNumber,u.position.column-(w-1));f=_.lineNumber,v=_.column}return u.move(y,f,v,0)},O.rightPosition=function(U,x,u){return up?(u=p,v?y=x.getLineMaxColumn(u):y=Math.min(x.getLineMaxColumn(u),y)):y=T.a.columnFromVisibleColumn2(U,x,u,_),w=_-T.a.visibleColumnFromColumn(x.getLineContent(u),y,U.tabSize),new H(u,y,w)},O.moveDown=function(U,x,u,y,w){var f,v;u.hasSelection()&&!y?(f=u.selection.endLineNumber,v=u.selection.endColumn):(f=u.position.lineNumber,v=u.position.column);var _=O.down(U,x,f,v,u.leftoverVisibleColumns,w,!0);return u.move(y,_.lineNumber,_.column,_.leftoverVisibleColumns)},O.translateDown=function(U,x,u){var y=u.selection,w=O.down(U,x,y.selectionStartLineNumber,y.selectionStartColumn,u.selectionStartLeftoverVisibleColumns,1,!1),f=O.down(U,x,y.positionLineNumber,y.positionColumn,u.leftoverVisibleColumns,1,!1);return new T.f(new J.a(w.lineNumber,w.column,w.lineNumber,w.column),w.leftoverVisibleColumns,new re.a(f.lineNumber,f.column),f.leftoverVisibleColumns)},O.up=function(U,x,u,y,w,f,v){var _=T.a.visibleColumnFromColumn(x.getLineContent(u),y,U.tabSize)+w;return u=u-f,u<1?(u=1,v?y=x.getLineMinColumn(u):y=Math.min(x.getLineMaxColumn(u),y)):y=T.a.columnFromVisibleColumn2(U,x,u,_),w=_-T.a.visibleColumnFromColumn(x.getLineContent(u),y,U.tabSize),new H(u,y,w)},O.moveUp=function(U,x,u,y,w){var f,v;u.hasSelection()&&!y?(f=u.selection.startLineNumber,v=u.selection.startColumn):(f=u.position.lineNumber,v=u.position.column);var _=O.up(U,x,f,v,u.leftoverVisibleColumns,w,!0);return u.move(y,_.lineNumber,_.column,_.leftoverVisibleColumns)},O.translateUp=function(U,x,u){var y=u.selection,w=O.up(U,x,y.selectionStartLineNumber,y.selectionStartColumn,u.selectionStartLeftoverVisibleColumns,1,!1),f=O.up(U,x,y.positionLineNumber,y.positionColumn,u.leftoverVisibleColumns,1,!1);return new T.f(new J.a(w.lineNumber,w.column,w.lineNumber,w.column),w.leftoverVisibleColumns,new re.a(f.lineNumber,f.column),f.leftoverVisibleColumns)},O.moveToBeginningOfLine=function(U,x,u,y){var w=u.position.lineNumber,f=x.getLineMinColumn(w),v=x.getLineFirstNonWhitespaceColumn(w)||f,_,p=u.position.column;return p===v?_=f:_=v,u.move(y,w,_,0)},O.moveToEndOfLine=function(U,x,u,y){var w=u.position.lineNumber,f=x.getLineMaxColumn(w);return u.move(y,w,f,0)},O.moveToBeginningOfBuffer=function(U,x,u,y){return u.move(y,1,1,0)},O.moveToEndOfBuffer=function(U,x,u,y){var w=x.getLineCount(),f=x.getLineMaxColumn(w);return u.move(y,w,f,0)},O}()},"+a1H":function(Lt,j,e){"use strict";e.r(j);var T=e("+hIS");Object(T.a)({id:"handlebars",extensions:[".handlebars",".hbs"],aliases:["Handlebars","handlebars"],mimetypes:["text/x-handlebars-template"],loader:function(){return e.e(286).then(e.bind(null,"O3xE"))}})},"+hIS":function(Lt,j,e){"use strict";e.d(j,"a",function(){return z});var T=typeof monaco=="undefined"?self.monaco:monaco,re={},J={},I=function(){function O(U){var x=this;this._languageId=U,this._loadingTriggered=!1,this._lazyLoadPromise=new Promise(function(u,y){x._lazyLoadPromiseResolve=u,x._lazyLoadPromiseReject=y})}return O.getOrCreate=function(U){return J[U]||(J[U]=new O(U)),J[U]},O.prototype.whenLoaded=function(){return this._lazyLoadPromise},O.prototype.load=function(){var U=this;return this._loadingTriggered||(this._loadingTriggered=!0,re[this._languageId].loader().then(function(x){return U._lazyLoadPromiseResolve(x)},function(x){return U._lazyLoadPromiseReject(x)})),this._lazyLoadPromise},O}();function H(O){return I.getOrCreate(O).load()}function z(O){var U=O.id;re[U]=O,T.languages.register(O);var x=I.getOrCreate(U);T.languages.setMonarchTokensProvider(U,x.whenLoaded().then(function(u){return u.language})),T.languages.onLanguage(U,function(){x.load().then(function(u){T.languages.setLanguageConfiguration(U,u.conf)})})}},"/RFl":function(Lt,j,e){"use strict";e.r(j),e.d(j,"DragAndDropController",function(){return w});var T=e("OhnE"),re=e("pmY6"),J=e("MNsG"),I=e("sswD"),H=e("cGHE"),z=e("aokT"),O=e("gCVg"),U=function(){function f(v,_,p){this.selection=v,this.targetPosition=_,this.copy=p,this.targetSelection=null}return f.prototype.getEditOperations=function(v,_){var p=v.getValueInRange(this.selection);if(this.copy||_.addEditOperation(this.selection,null),_.addEditOperation(new z.a(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),p),this.selection.containsPosition(this.targetPosition)&&!(this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition)))){this.targetSelection=this.selection;return}if(this.copy){this.targetSelection=new O.a(this.targetPosition.lineNumber,this.targetPosition.column,this.selection.endLineNumber-this.selection.startLineNumber+this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumber>this.selection.endLineNumber){this.targetSelection=new O.a(this.targetPosition.lineNumber-this.selection.endLineNumber+this.selection.startLineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.selection.startLineNumber===this.selection.endLineNumber?this.targetPosition.column+this.selection.endColumn-this.selection.startColumn:this.selection.endColumn);return}if(this.targetPosition.lineNumberVe?Ve:De},be.float=function(De,Se){if(typeof De=="number")return De;if(typeof De=="undefined")return Se;var Ve=parseFloat(De);return isNaN(Ve)?Se:Ve},be.prototype.validate=function(De){return this.validationFn(be.float(De,this.defaultValue))},be}(y),_=function(oe){I(be,oe);function be(De,Se,Ve,Qe){Qe===void 0&&(Qe=void 0);var it=this;return typeof Qe!="undefined"&&(Qe.type="string",Qe.default=Ve),it=oe.call(this,De,Se,Ve,Qe)||this,it}return be.string=function(De,Se){return typeof De!="string"?Se:De},be.prototype.validate=function(De){return be.string(De,this.defaultValue)},be}(y),p=function(oe){I(be,oe);function be(De,Se,Ve,Qe,it){it===void 0&&(it=void 0);var pt=this;return typeof it!="undefined"&&(it.type="string",it.enum=Qe,it.default=Ve),pt=oe.call(this,De,Se,Ve,it)||this,pt._allowedValues=Qe,pt}return be.stringSet=function(De,Se,Ve){return typeof De!="string"||Ve.indexOf(De)===-1?Se:De},be.prototype.validate=function(De){return be.stringSet(De,this.defaultValue,this._allowedValues)},be}(y),c=function(oe){I(be,oe);function be(De,Se,Ve,Qe,it,pt,Rt){Rt===void 0&&(Rt=void 0);var Mt=this;return typeof Rt!="undefined"&&(Rt.type="string",Rt.enum=it,Rt.default=Qe),Mt=oe.call(this,De,Se,Ve,Rt)||this,Mt._allowedValues=it,Mt._convert=pt,Mt}return be.prototype.validate=function(De){return typeof De!="string"?this.defaultValue:this._allowedValues.indexOf(De)===-1?this.defaultValue:this._convert(De)},be}(x);function s(oe){switch(oe){case"none":return 0;case"keep":return 1;case"brackets":return 2;case"advanced":return 3;case"full":return 4}}var l=function(oe){I(be,oe);function be(){return oe.call(this,2,"accessibilitySupport",0,{type:"string",enum:["auto","on","off"],enumDescriptions:[T.a("accessibilitySupport.auto","The editor will use platform APIs to detect when a Screen Reader is attached."),T.a("accessibilitySupport.on","The editor will be permanently optimized for usage with a Screen Reader."),T.a("accessibilitySupport.off","The editor will never be optimized for usage with a Screen Reader.")],default:"auto",description:T.a("accessibilitySupport","Controls whether the editor should run in a mode where it is optimized for screen readers.")})||this}return be.prototype.validate=function(De){switch(De){case"auto":return 0;case"off":return 1;case"on":return 2}return this.defaultValue},be.prototype.compute=function(De,Se,Ve){return Ve===0?De.accessibilitySupport:Ve},be}(x),d=function(oe){I(be,oe);function be(){var De=this,Se={insertSpace:!0};return De=oe.call(this,13,"comments",Se,{"editor.comments.insertSpace":{type:"boolean",default:Se.insertSpace,description:T.a("comments.insertSpace","Controls whether a space character is inserted when commenting.")}})||this,De}return be.prototype.validate=function(De){if(typeof De!="object")return this.defaultValue;var Se=De;return{insertSpace:w.boolean(Se.insertSpace,this.defaultValue.insertSpace)}},be}(x);function m(oe){switch(oe){case"blink":return 1;case"smooth":return 2;case"phase":return 3;case"expand":return 4;case"solid":return 5}}var E;(function(oe){oe[oe.Line=1]="Line",oe[oe.Block=2]="Block",oe[oe.Underline=3]="Underline",oe[oe.LineThin=4]="LineThin",oe[oe.BlockOutline=5]="BlockOutline",oe[oe.UnderlineThin=6]="UnderlineThin"})(E||(E={}));function L(oe){switch(oe){case"line":return E.Line;case"block":return E.Block;case"underline":return E.Underline;case"line-thin":return E.LineThin;case"block-outline":return E.BlockOutline;case"underline-thin":return E.UnderlineThin}}var A=function(oe){I(be,oe);function be(){return oe.call(this,104,[55,26])||this}return be.prototype.compute=function(De,Se,Ve){var Qe="monaco-editor";return Se.get(26)&&(Qe+=" "+Se.get(26)),De.extraEditorClassName&&(Qe+=" "+De.extraEditorClassName),Se.get(55)==="default"?Qe+=" mouse-default":Se.get(55)==="copy"&&(Qe+=" mouse-copy"),Se.get(85)&&(Qe+=" showUnused"),Qe},be}(u),k=function(oe){I(be,oe);function be(){return oe.call(this,25,"emptySelectionClipboard",!0,{description:T.a("emptySelectionClipboard","Controls whether copying without a selection copies the current line.")})||this}return be.prototype.compute=function(De,Se,Ve){return Ve&&De.emptySelectionClipboard},be}(w),R=function(oe){I(be,oe);function be(){var De=this,Se={seedSearchStringFromSelection:!0,autoFindInSelection:"never",globalFindClipboard:!1,addExtraSpaceOnTop:!0};return De=oe.call(this,28,"find",Se,{"editor.find.seedSearchStringFromSelection":{type:"boolean",default:Se.seedSearchStringFromSelection,description:T.a("find.seedSearchStringFromSelection","Controls whether the search string in the Find Widget is seeded from the editor selection.")},"editor.find.autoFindInSelection":{type:"string",enum:["never","always","multiline"],default:Se.autoFindInSelection,enumDescriptions:[T.a("editor.find.autoFindInSelection.never","Never turn on Find in selection automatically (default)"),T.a("editor.find.autoFindInSelection.always","Always turn on Find in selection automatically"),T.a("editor.find.autoFindInSelection.multiline","Turn on Find in selection automatically when multiple lines of content are selected.")],description:T.a("find.autoFindInSelection","Controls whether the find operation is carried out on selected text or the entire file in the editor.")},"editor.find.globalFindClipboard":{type:"boolean",default:Se.globalFindClipboard,description:T.a("find.globalFindClipboard","Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),included:re.e},"editor.find.addExtraSpaceOnTop":{type:"boolean",default:Se.addExtraSpaceOnTop,description:T.a("find.addExtraSpaceOnTop","Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible.")}})||this,De}return be.prototype.validate=function(De){if(typeof De!="object")return this.defaultValue;var Se=De;return{seedSearchStringFromSelection:w.boolean(Se.seedSearchStringFromSelection,this.defaultValue.seedSearchStringFromSelection),autoFindInSelection:typeof De.autoFindInSelection=="boolean"?De.autoFindInSelection?"always":"never":p.stringSet(Se.autoFindInSelection,this.defaultValue.autoFindInSelection,["never","always","multiline"]),globalFindClipboard:w.boolean(Se.globalFindClipboard,this.defaultValue.globalFindClipboard),addExtraSpaceOnTop:w.boolean(Se.addExtraSpaceOnTop,this.defaultValue.addExtraSpaceOnTop)}},be}(x),$=function(oe){I(be,oe);function be(){return oe.call(this,35,"fontLigatures",be.OFF,{anyOf:[{type:"boolean",description:T.a("fontLigatures","Enables/Disables font ligatures.")},{type:"string",description:T.a("fontFeatureSettings","Explicit font-feature-settings.")}],description:T.a("fontLigaturesGeneral","Configures font ligatures."),default:!1})||this}return be.prototype.validate=function(De){return typeof De=="undefined"?this.defaultValue:typeof De=="string"?De==="false"?be.OFF:De==="true"?be.ON:De:Boolean(De)?be.ON:be.OFF},be.OFF='"liga" off, "calt" off',be.ON='"liga" on, "calt" on',be}(x),ie=function(oe){I(be,oe);function be(){return oe.call(this,34)||this}return be.prototype.compute=function(De,Se,Ve){return De.fontInfo},be}(u),W=function(oe){I(be,oe);function be(){return oe.call(this,36,"fontSize",ve.fontSize,{type:"number",minimum:6,maximum:100,default:ve.fontSize,description:T.a("fontSize","Controls the font size in pixels.")})||this}return be.prototype.validate=function(De){var Se=v.float(De,this.defaultValue);return Se===0?ve.fontSize:v.clamp(Se,6,100)},be.prototype.compute=function(De,Se,Ve){return De.fontInfo.fontSize},be}(y),B=function(oe){I(be,oe);function be(){var De=this,Se={multiple:"peek",multipleDefinitions:"peek",multipleTypeDefinitions:"peek",multipleDeclarations:"peek",multipleImplementations:"peek",multipleReferences:"peek",alternativeDefinitionCommand:"editor.action.goToReferences",alternativeTypeDefinitionCommand:"editor.action.goToReferences",alternativeDeclarationCommand:"editor.action.goToReferences",alternativeImplementationCommand:"",alternativeReferenceCommand:""},Ve={type:"string",enum:["peek","gotoAndPeek","goto"],default:Se.multiple,enumDescriptions:[T.a("editor.gotoLocation.multiple.peek","Show peek view of the results (default)"),T.a("editor.gotoLocation.multiple.gotoAndPeek","Go to the primary result and show a peek view"),T.a("editor.gotoLocation.multiple.goto","Go to the primary result and enable peek-less navigation to others")]};return De=oe.call(this,41,"gotoLocation",Se,{"editor.gotoLocation.multiple":{deprecationMessage:T.a("editor.gotoLocation.multiple.deprecated","This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead.")},"editor.gotoLocation.multipleDefinitions":H({description:T.a("editor.editor.gotoLocation.multipleDefinitions","Controls the behavior the 'Go to Definition'-command when multiple target locations exist.")},Ve),"editor.gotoLocation.multipleTypeDefinitions":H({description:T.a("editor.editor.gotoLocation.multipleTypeDefinitions","Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist.")},Ve),"editor.gotoLocation.multipleDeclarations":H({description:T.a("editor.editor.gotoLocation.multipleDeclarations","Controls the behavior the 'Go to Declaration'-command when multiple target locations exist.")},Ve),"editor.gotoLocation.multipleImplementations":H({description:T.a("editor.editor.gotoLocation.multipleImplemenattions","Controls the behavior the 'Go to Implementations'-command when multiple target locations exist.")},Ve),"editor.gotoLocation.multipleReferences":H({description:T.a("editor.editor.gotoLocation.multipleReferences","Controls the behavior the 'Go to References'-command when multiple target locations exist.")},Ve),"editor.gotoLocation.alternativeDefinitionCommand":{type:"string",default:Se.alternativeDefinitionCommand,description:T.a("alternativeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")},"editor.gotoLocation.alternativeTypeDefinitionCommand":{type:"string",default:Se.alternativeTypeDefinitionCommand,description:T.a("alternativeTypeDefinitionCommand","Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")},"editor.gotoLocation.alternativeDeclarationCommand":{type:"string",default:Se.alternativeDeclarationCommand,description:T.a("alternativeDeclarationCommand","Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")},"editor.gotoLocation.alternativeImplementationCommand":{type:"string",default:Se.alternativeImplementationCommand,description:T.a("alternativeImplementationCommand","Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")},"editor.gotoLocation.alternativeReferenceCommand":{type:"string",default:Se.alternativeReferenceCommand,description:T.a("alternativeReferenceCommand","Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")}})||this,De}return be.prototype.validate=function(De){var Se,Ve,Qe,it,pt;if(typeof De!="object")return this.defaultValue;var Rt=De;return{multiple:p.stringSet(Rt.multiple,this.defaultValue.multiple,["peek","gotoAndPeek","goto"]),multipleDefinitions:(Se=Rt.multipleDefinitions)!==null&&Se!==void 0?Se:p.stringSet(Rt.multipleDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleTypeDefinitions:(Ve=Rt.multipleTypeDefinitions)!==null&&Ve!==void 0?Ve:p.stringSet(Rt.multipleTypeDefinitions,"peek",["peek","gotoAndPeek","goto"]),multipleDeclarations:(Qe=Rt.multipleDeclarations)!==null&&Qe!==void 0?Qe:p.stringSet(Rt.multipleDeclarations,"peek",["peek","gotoAndPeek","goto"]),multipleImplementations:(it=Rt.multipleImplementations)!==null&&it!==void 0?it:p.stringSet(Rt.multipleImplementations,"peek",["peek","gotoAndPeek","goto"]),multipleReferences:(pt=Rt.multipleReferences)!==null&&pt!==void 0?pt:p.stringSet(Rt.multipleReferences,"peek",["peek","gotoAndPeek","goto"]),alternativeDefinitionCommand:_.string(Rt.alternativeDefinitionCommand,this.defaultValue.alternativeDefinitionCommand),alternativeTypeDefinitionCommand:_.string(Rt.alternativeTypeDefinitionCommand,this.defaultValue.alternativeTypeDefinitionCommand),alternativeDeclarationCommand:_.string(Rt.alternativeDeclarationCommand,this.defaultValue.alternativeDeclarationCommand),alternativeImplementationCommand:_.string(Rt.alternativeImplementationCommand,this.defaultValue.alternativeImplementationCommand),alternativeReferenceCommand:_.string(Rt.alternativeReferenceCommand,this.defaultValue.alternativeReferenceCommand)}},be}(x),le=function(oe){I(be,oe);function be(){var De=this,Se={enabled:!0,delay:300,sticky:!0};return De=oe.call(this,44,"hover",Se,{"editor.hover.enabled":{type:"boolean",default:Se.enabled,description:T.a("hover.enabled","Controls whether the hover is shown.")},"editor.hover.delay":{type:"number",default:Se.delay,description:T.a("hover.delay","Controls the delay in milliseconds after which the hover is shown.")},"editor.hover.sticky":{type:"boolean",default:Se.sticky,description:T.a("hover.sticky","Controls whether the hover should remain visible when mouse is moved over it.")}})||this,De}return be.prototype.validate=function(De){if(typeof De!="object")return this.defaultValue;var Se=De;return{enabled:w.boolean(Se.enabled,this.defaultValue.enabled),delay:f.clampedInt(Se.delay,this.defaultValue.delay,0,1e4),sticky:w.boolean(Se.sticky,this.defaultValue.sticky)}},be}(x),Ce=function(oe){I(be,oe);function be(){return oe.call(this,107,[40,48,30,54,78,50])||this}return be.prototype.compute=function(De,Se,Ve){return be.computeLayout(Se,{outerWidth:De.outerWidth,outerHeight:De.outerHeight,lineHeight:De.fontInfo.lineHeight,lineNumbersDigitCount:De.lineNumbersDigitCount,typicalHalfwidthCharacterWidth:De.fontInfo.typicalHalfwidthCharacterWidth,maxDigitWidth:De.fontInfo.maxDigitWidth,pixelRatio:De.pixelRatio})},be.computeLayout=function(De,Se){var Ve=Se.outerWidth|0,Qe=Se.outerHeight|0,it=Se.lineHeight|0,pt=Se.lineNumbersDigitCount|0,Rt=Se.typicalHalfwidthCharacterWidth,Mt=Se.maxDigitWidth,zt=Se.pixelRatio,uo=De.get(40),ao=De.get(50).renderType!==0,so=De.get(51)|0,Pt=De.get(54),ft=Pt.enabled,vt=Pt.side,At=Pt.renderCharacters,at=zt>=2?Math.round(Pt.scale*2):Pt.scale,tt=Pt.maxColumn|0,ut=De.get(78),Ct=ut.verticalScrollbarSize|0,gt=ut.verticalHasArrows,bt=ut.arrowSize|0,Gt=ut.horizontalScrollbarSize|0,Nt=De.get(48),Et=De.get(30),Je;if(typeof Nt=="string"&&/^\d+(\.\d+)?ch$/.test(Nt)){var $e=parseFloat(Nt.substr(0,Nt.length-2));Je=f.clampedInt($e*Rt,0,0,1e3)}else Je=f.clampedInt(Nt,0,0,1e3);Et&&(Je+=16);var ze=0;if(ao){var Ke=Math.max(pt,so);ze=Math.round(Ke*Mt)}var fe=0;uo&&(fe=it);var G=0,te=G+fe,Y=te+ze,de=Y+Je,ke=Ve-fe-ze-Je,lt,Tt,Jt,eo;if(!ft)Tt=0,Jt=0,lt=0,eo=ke;else{var po=at/zt;lt=At?1:2,Jt=Math.max(0,Math.floor((ke-Ct-2)*po/(Rt+po)))+z;var co=Jt/po;co>tt&&(Jt=Math.floor(tt*po)),eo=ke-Jt,vt==="left"?(Tt=0,G+=Jt,te+=Jt,Y+=Jt,de+=Jt):Tt=Ve-Jt-Ct}var Eo=Math.max(1,Math.floor((eo-Ct-2)/Rt)),Oo=gt?bt:0;return{width:Ve,height:Qe,glyphMarginLeft:G,glyphMarginWidth:fe,lineNumbersLeft:te,lineNumbersWidth:ze,decorationsLeft:Y,decorationsWidth:Je,contentLeft:de,contentWidth:eo,renderMinimap:lt,minimapLeft:Tt,minimapWidth:Jt,viewportColumn:Eo,verticalScrollbarWidth:Ct,horizontalScrollbarHeight:Gt,overviewRuler:{top:Oo,width:Ct,height:Qe-2*Oo,right:0}}},be}(u),Me=function(oe){I(be,oe);function be(){var De=this,Se={enabled:!0};return De=oe.call(this,47,"lightbulb",Se,{"editor.lightbulb.enabled":{type:"boolean",default:Se.enabled,description:T.a("codeActions","Enables the code action lightbulb in the editor.")}})||this,De}return be.prototype.validate=function(De){if(typeof De!="object")return this.defaultValue;var Se=De;return{enabled:w.boolean(Se.enabled,this.defaultValue.enabled)}},be}(x),Te=function(oe){I(be,oe);function be(){return oe.call(this,49,"lineHeight",ve.lineHeight,0,150,{description:T.a("lineHeight","Controls the line height. Use 0 to compute the line height from the font size.")})||this}return be.prototype.compute=function(De,Se,Ve){return De.fontInfo.lineHeight},be}(f),Fe=function(oe){I(be,oe);function be(){var De=this,Se={enabled:!0,side:"right",showSlider:"mouseover",renderCharacters:!0,maxColumn:120,scale:1};return De=oe.call(this,54,"minimap",Se,{"editor.minimap.enabled":{type:"boolean",default:Se.enabled,description:T.a("minimap.enabled","Controls whether the minimap is shown.")},"editor.minimap.side":{type:"string",enum:["left","right"],default:Se.side,description:T.a("minimap.side","Controls the side where to render the minimap.")},"editor.minimap.showSlider":{type:"string",enum:["always","mouseover"],default:Se.showSlider,description:T.a("minimap.showSlider","Controls when the minimap slider is shown.")},"editor.minimap.scale":{type:"number",default:Se.scale,minimum:1,maximum:3,description:T.a("minimap.scale","Scale of content drawn in the minimap.")},"editor.minimap.renderCharacters":{type:"boolean",default:Se.renderCharacters,description:T.a("minimap.renderCharacters","Render the actual characters on a line as opposed to color blocks.")},"editor.minimap.maxColumn":{type:"number",default:Se.maxColumn,description:T.a("minimap.maxColumn","Limit the width of the minimap to render at most a certain number of columns.")}})||this,De}return be.prototype.validate=function(De){if(typeof De!="object")return this.defaultValue;var Se=De;return{enabled:w.boolean(Se.enabled,this.defaultValue.enabled),side:p.stringSet(Se.side,this.defaultValue.side,["right","left"]),showSlider:p.stringSet(Se.showSlider,this.defaultValue.showSlider,["always","mouseover"]),renderCharacters:w.boolean(Se.renderCharacters,this.defaultValue.renderCharacters),scale:f.clampedInt(Se.scale,1,1,3),maxColumn:f.clampedInt(Se.maxColumn,this.defaultValue.maxColumn,1,1e4)}},be}(x);function He(oe){return oe==="ctrlCmd"?re.e?"metaKey":"ctrlKey":"altKey"}var Pe=function(oe){I(be,oe);function be(){var De=this,Se={enabled:!0,cycle:!1};return De=oe.call(this,64,"parameterHints",Se,{"editor.parameterHints.enabled":{type:"boolean",default:Se.enabled,description:T.a("parameterHints.enabled","Enables a pop-up that shows parameter documentation and type information as you type.")},"editor.parameterHints.cycle":{type:"boolean",default:Se.cycle,description:T.a("parameterHints.cycle","Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")}})||this,De}return be.prototype.validate=function(De){if(typeof De!="object")return this.defaultValue;var Se=De;return{enabled:w.boolean(Se.enabled,this.defaultValue.enabled),cycle:w.boolean(Se.cycle,this.defaultValue.cycle)}},be}(x),ne=function(oe){I(be,oe);function be(){return oe.call(this,105)||this}return be.prototype.compute=function(De,Se,Ve){return De.pixelRatio},be}(u),ee=function(oe){I(be,oe);function be(){var De=this,Se={other:!0,comments:!1,strings:!1};return De=oe.call(this,66,"quickSuggestions",Se,{anyOf:[{type:"boolean"},{type:"object",properties:{strings:{type:"boolean",default:Se.strings,description:T.a("quickSuggestions.strings","Enable quick suggestions inside strings.")},comments:{type:"boolean",default:Se.comments,description:T.a("quickSuggestions.comments","Enable quick suggestions inside comments.")},other:{type:"boolean",default:Se.other,description:T.a("quickSuggestions.other","Enable quick suggestions outside of strings and comments.")}}}],default:Se,description:T.a("quickSuggestions","Controls whether suggestions should automatically show up while typing.")})||this,De.defaultValue=Se,De}return be.prototype.validate=function(De){if(typeof De=="boolean")return De;if(typeof De=="object"){var Se=De,Ve={other:w.boolean(Se.other,this.defaultValue.other),comments:w.boolean(Se.comments,this.defaultValue.comments),strings:w.boolean(Se.strings,this.defaultValue.strings)};return Ve.other&&Ve.comments&&Ve.strings?!0:!Ve.other&&!Ve.comments&&!Ve.strings?!1:Ve}return this.defaultValue},be}(x),ae=function(oe){I(be,oe);function be(){return oe.call(this,50,"lineNumbers",{renderType:1,renderFn:null},{type:"string",enum:["off","on","relative","interval"],enumDescriptions:[T.a("lineNumbers.off","Line numbers are not rendered."),T.a("lineNumbers.on","Line numbers are rendered as absolute number."),T.a("lineNumbers.relative","Line numbers are rendered as distance in lines to cursor position."),T.a("lineNumbers.interval","Line numbers are rendered every 10 lines.")],default:"on",description:T.a("lineNumbers","Controls the display of line numbers.")})||this}return be.prototype.validate=function(De){var Se=this.defaultValue.renderType,Ve=this.defaultValue.renderFn;return typeof De!="undefined"&&(typeof De=="function"?(Se=4,Ve=De):De==="interval"?Se=3:De==="relative"?Se=2:De==="on"?Se=1:Se=0),{renderType:Se,renderFn:Ve}},be}(x);function q(oe){var be=oe.get(73);return be==="editable"?oe.get(68):!(be==="on")}var ue=function(oe){I(be,oe);function be(){var De=this,Se=[];return De=oe.call(this,77,"rulers",Se,{type:"array",items:{type:"number"},default:Se,description:T.a("rulers","Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")})||this,De}return be.prototype.validate=function(De){if(Array.isArray(De)){for(var Se=[],Ve=0,Qe=De;Ve