diff --git a/antdesign.ab60eaaf.async.js b/antdesign.ab60eaaf.async.js index 4c7ddcddf5..d7cd4dece4 100644 --- a/antdesign.ab60eaaf.async.js +++ b/antdesign.ab60eaaf.async.js @@ -37,8 +37,8 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/inherits.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/MoopCases/FormPanel/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/app.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-motion/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/LoadingIcon.js (referenced with cjs require)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";var r=n("pVnL"),a=n.n(r),i=n("lSNA"),o=n.n(i),s=n("J4zp"),l=n.n(s),c=n("q1tI"),u=n("V/uB"),d=n.n(u),f=n("0G8d"),h=n.n(f),p=n("xddM"),m=n.n(p),v=n("ESPI"),g=n.n(v),y=n("Z/ur"),b=n.n(y),w=n("J84W"),x=n.n(w),k=n("sKbD"),S=n.n(k),C=n("72Ab"),_=n.n(C),N=n("kbBi"),j=n.n(N),O=n("8XRh"),E=n("TSYQ"),A=n.n(E),P=n("H84U");var L=n("lwsE"),T=n.n(L),I=n("W8MJ"),M=n.n(I),z=n("7W2i"),R=n.n(z),B=n("LQ03"),F=n.n(B),D=function(e){R()(n,e);var t=F()(n);function n(){var e;return T()(this,n),(e=t.apply(this,arguments)).state={error:void 0,info:{componentStack:""}},e}return M()(n,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){var e=this.props,t=e.message,n=e.description,r=e.children,a=this.state,i=a.error,o=a.info,s=o&&o.componentStack?o.componentStack:null,l=void 0===t?(i||"").toString():t,u=void 0===n?s:n;return i?c.createElement(K,{type:"error",message:l,description:c.createElement("pre",null,u)}):r}}]),n}(c.Component),q=n("0n0R"),H=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/"),n=t[t.length-1],r=n.split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(n))||!/^data:/.test(t)&&!n}};var W=V,K=n("YMnH"),G=n("ZvpZ"),Y=n("uaoM"),J=n("sPtV"),Q=function(e,t){var n,r=e.fileList,i=e.defaultFileList,s=e.onRemove,c=e.showUploadList,h=e.listType,m=e.onPreview,v=e.onDownload,g=e.previewFile,y=e.disabled,b=e.locale,w=e.iconRender,x=e.isImageUrl,k=e.progress,S=e.prefixCls,C=e.className,_=e.type,N=e.children,j=e.style,O=Object(J.a)(r||i||[]),E=u()(O,2),A=E[0],P=E[1],L=d.useState("drop"),T=u()(L,2),I=T[0],R=T[1],B=d.useRef();d.useEffect((function(){P(r||i||[]),Object(Y.a)("fileList"in e||!("value"in e),"Upload","`value` is not a valid prop, do you mean `fileList`?")}),[]),d.useEffect((function(){"fileList"in e&&P(r||[])}),[r]);var F=function(t){"fileList"in e||P(t.fileList);var n=e.onChange;n&&n(l()(l()({},t),{fileList:o()(t.fileList)}))},q=function(e){var t=M(e);t.status="uploading";var n=A().concat(),r=n.findIndex((function(e){return e.uid===t.uid}));-1===r?n.push(t):n[r]=t,F({file:t,fileList:n})},U=function(e,t,n){try{"string"==typeof e&&(e=JSON.parse(e))}catch(e){}var r=z(t,A());r&&(r.status="done",r.response=e,r.xhr=n,F({file:l()({},r),fileList:A().concat()}))},V=function(e,t){var n=z(t,A());n&&(n.percent=e.percent,F({event:e,file:l()({},n),fileList:A().concat()}))},Q=function(e,t,n){var r=z(n,A());r&&(r.error=e,r.response=t,r.status="error",F({file:l()({},r),fileList:A().concat()}))},X=function(e){Promise.resolve("function"==typeof s?s(e):s).then((function(t){if(!1!==t){var n=function(e,t){var n=void 0!==e.uid?"uid":"name",r=t.filter((function(t){return t[n]!==e[n]}));return r.length===t.length?null:r}(e,A());n&&(e.status="removed",B.current&&B.current.abort(e),F({file:e,fileList:n}))}}))},Z=function(e){R(e.type)},$=Object(H.a)();d.useImperativeHandle(t,(function(){return{onStart:q,onSuccess:U,onProgress:V,onError:Q,fileList:A(),upload:B.current,forceUpdate:$}}));var ee=function(e){var t=c.showRemoveIcon,n=c.showPreviewIcon,r=c.showDownloadIcon,a=c.removeIcon,i=c.downloadIcon;return d.createElement(W,{listType:h,items:A(),previewFile:g,onPreview:m,onDownload:v,onRemove:X,showRemoveIcon:!y&&t,showPreviewIcon:n,showDownloadIcon:r,removeIcon:a,downloadIcon:i,iconRender:w,locale:l()(l()({},e),b),isImageUrl:x,progress:k})},te=d.useContext(D.b),ne=te.getPrefixCls,re=te.direction,ae=ne("upload",S),ie=l()(l()({onStart:q,onError:Q,onProgress:V,onSuccess:U},e),{prefixCls:ae,beforeUpload:function(t,n){var r=e.beforeUpload;if(!r)return!0;var a=r(t,n);if(!1===a){var i=[];return A().concat(n.map(M)).forEach((function(e){i.every((function(t){return t.uid!==e.uid}))&&i.push(e)})),F({file:t,fileList:i}),!1}return!a||!a.then||a}});delete ie.className,delete ie.style,N&&!y||delete ie.id;var oe=c?d.createElement(K.a,{componentName:"Upload",defaultLocale:G.a.Upload},ee):null;if("drag"===_){var se,le=p()(ae,(se={},a()(se,"".concat(ae,"-drag"),!0),a()(se,"".concat(ae,"-drag-uploading"),A().some((function(e){return"uploading"===e.status}))),a()(se,"".concat(ae,"-drag-hover"),"dragover"===I),a()(se,"".concat(ae,"-disabled"),y),a()(se,"".concat(ae,"-rtl"),"rtl"===re),se),C);return d.createElement("span",null,d.createElement("div",{className:le,onDrop:Z,onDragOver:Z,onDragLeave:Z,style:j},d.createElement(f.a,l()({},ie,{ref:B,className:"".concat(ae,"-btn")}),d.createElement("div",{className:"".concat(ae,"-drag-container")},N))),oe)}var ce=p()(ae,(n={},a()(n,"".concat(ae,"-select"),!0),a()(n,"".concat(ae,"-select-").concat(h),!0),a()(n,"".concat(ae,"-disabled"),y),a()(n,"".concat(ae,"-rtl"),"rtl"===re),n)),ue=d.createElement("div",{className:ce,style:N?void 0:{display:"none"}},d.createElement(f.a,l()({},ie,{ref:B})));return"picture-card"===h?d.createElement("span",{className:p()(C,"".concat(ae,"-picture-card-wrapper"))},oe,ue):d.createElement("span",{className:C},ue,oe)},X=d.forwardRef(Q);X.Dragger=y,X.displayName="Upload",X.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",beforeUpload:function(){return!0},showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var Z=X;Z.Dragger=y;t.a=Z},"9Odx": @@ -1040,11 +1040,11 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/defineProperty.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/ref.js because of ./src/pages/Innovation/MyDataSet/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/SizeContext.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/node_modules/rc-checkbox/es/index.js because of ./src/utils/util.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/ref.js because of ./src/pages/Engineering/Evaluate/List/TabList/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/SizeContext.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/node_modules/rc-checkbox/es/index.js because of ./src/pages/Innovation/Detail/components/RemindForkModal.tsx */ /*! 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/hooks/useMergedState.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";var r=n("lSNA"),a=n.n(r),i=n("pVnL"),o=n.n(i),s=n("q1tI"),l=n("+6Fa"),c=n("TSYQ"),u=n.n(c),d=n("H84U"),f=s.createContext(null),h=f.Provider,p=f,m=n("ID/q"),v=n("uaoM"),g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0){var j="button"===p?"".concat(C,"-button"):C;N=h.map((function(e){return"string"==typeof e?s.createElement(w,{ref:t,key:e,prefixCls:j,disabled:v,value:e,checked:f===e},e):s.createElement(w,{ref:t,key:"radio-group-value-options-".concat(e.value),prefixCls:j,disabled:e.disabled||v,value:e.value,checked:f===e.value,style:e.style},e.label)}))}var O=y||o,E=u()(_,"".concat(_,"-").concat(m),(n={},a()(n,"".concat(_,"-").concat(O),O),a()(n,"".concat(_,"-rtl"),"rtl"===i),n),d);return s.createElement("div",{className:E,style:b,onMouseEnter:k,onMouseLeave:S,id:x},N)}())}));_.defaultProps={buttonStyle:"outline"};var N=s.memo(_),j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);ar?a>=i?10+e:20+e:a<=i?10+e:e}(e,t),r=k||void 0===y(I)[t];return c.createElement("span",{className:"".concat(z,"-only"),style:{transition:r?"none":void 0,msTransform:"translateY(".concat(100*-n,"%)"),WebkitTransform:"translateY(".concat(100*-n,"%)"),transform:"translateY(".concat(100*-n,"%)")},key:t},function(e,t){for(var n=[],r=0;r<30;r++)n.push(c.createElement("p",{key:r.toString(),className:f()(t,{current:e===r})},r%10));return n}(n,"".concat(z,"-only-unit")))}return c.createElement("span",{key:"symbol",className:"".concat(z,"-symbol")},e)},B=l()(l()({},b),{style:a,className:f()(z,r),title:i});return a&&a.borderColor&&(B.style=l()(l()({},a),{boxShadow:"0 0 0 1px ".concat(a.borderColor," inset")})),u?Object(v.a)(u,{className:f()("".concat(z,"-custom-component"),u.props&&u.props.className)}):c.createElement(s,B,N&&Number(N)%1==0?y(N).map((function(e,t){return R(e,t)})).reverse():N)},w=n("09Wf");function x(e){return-1!==w.a.indexOf(e)}var k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);aS?"".concat(S,"+"):y},D=function(){return!!d||!!p},q=function(){var e=F();return"0"===e||0===e},H=function(){return _&&!q()||D()},U=function(){return H()?"":F()},V=function(){return"rtl"===R?E?l()({left:parseInt(E[0],10),marginTop:E[1]},A):A:E?l()({right:-parseInt(E[0],10),marginTop:E[1]},A):A},W=function(){var e=U();return(null==e||""===e||q()&&!T)&&!H()},K=function(){var e=y;if(e&&"object"===o()(e))return Object(v.a)(e,{style:l()(l()({},V()),e.props&&e.props.style)})},G=f()((t={},a()(t,"".concat(B,"-status-dot"),D()),a()(t,"".concat(B,"-status-").concat(d),!!d),a()(t,"".concat(B,"-status-").concat(p),x(p)),t)),Y={};p&&!x(p)&&(Y.background=p);var J=f()(P,B,(n={},a()(n,"".concat(B,"-status"),D()),a()(n,"".concat(B,"-not-a-wrapper"),!s),a()(n,"".concat(B,"-rtl"),"rtl"===R),n));if(!s&&D()){var Q=V(),X=Q&&Q.color;return c.createElement("span",l()({},I,{className:J,style:Q}),c.createElement("span",{className:G,style:Y}),c.createElement("span",{style:{color:X},className:"".concat(B,"-status-text")},h))}return c.createElement("span",l()({},I,{className:J}),s,c.createElement(u.a,{component:"",showProp:"data-show",transitionName:s?"".concat(B,"-zoom"):"",transitionAppear:!0},function(){var e,t=z("scroll-number",i),n=U(),r=H(),o=W(),s=f()((e={},a()(e,"".concat(B,"-dot"),r),a()(e,"".concat(B,"-count"),!r),a()(e,"".concat(B,"-count-sm"),"small"===j),a()(e,"".concat(B,"-multiple-words"),!r&&y&&y.toString&&y.toString().length>1),a()(e,"".concat(B,"-status-").concat(d),!!d),a()(e,"".concat(B,"-status-").concat(p),x(p)),e)),l=V();return p&&!x(p)&&((l=l||{}).background=p),o?null:c.createElement(b,{prefixCls:t,"data-show":!o,className:s,count:n,displayComponent:K(),title:O||("string"==typeof y||"number"==typeof y?y:void 0),style:l,key:"scrollNumber"})}()),W()||!h?null:c.createElement("span",{className:"".concat(B,"-status-text")},h))};S.Ribbon=function(e){var t,n=e.className,r=e.prefixCls,i=e.style,o=e.color,s=e.children,u=e.text,d=e.placement,h=void 0===d?"end":d,p=c.useContext(m.b),v=p.getPrefixCls,g=p.direction,y=v("ribbon",r),b=x(o),w=f()(y,n,"".concat(y,"-placement-").concat(h),(t={},a()(t,"".concat(y,"-rtl"),"rtl"===g),a()(t,"".concat(y,"-color-").concat(o),b),t)),k={},S={};return o&&!b&&(k.background=o,S.color=o),c.createElement("div",{className:"".concat(y,"-wrapper")},s,c.createElement("div",{className:w,style:l()(l()({},k),i)},u,c.createElement("div",{className:"".concat(y,"-corner"),style:S})))};t.a=S},KtWR: @@ -1620,8 +1620,8 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/toConsumableArray.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/motion.js because of ./src/pages/Messages/component/LeftNav.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/tree/utils/iconUtil.js because of ./src/pages/RestFul/components/LeftBar/Rename.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/tree/utils/iconUtil.js because of ./src/pages/virtualSpaces/Lists/Video/components/AddLink.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/lodash/debounce.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-tree/es/index.js */ @@ -1696,10 +1696,10 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@ant-design/icons/RightOutlined.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/defineProperty.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/hooks/useBreakpoint.js because of ./src/pages/Paperlibrary/components/SendToClassModal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/LocaleReceiver.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/select/index.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/hooks/useBreakpoint.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/LocaleReceiver.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/select/index.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-pagination/es/index.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-pagination/es/locale/en_US.js */ @@ -1922,7 +1922,7 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/defineProperty.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/app.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-notification/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/message/index.js (referenced with cjs require), ./node_modules/antd/lib/notification/index.js (referenced with cjs require)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-notification/es/useNotification.js */ @@ -2021,7 +2021,7 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/inherits.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/typeof.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/throttleByAnimationFrame.js because of ./src/pages/HttpStatus/SixActivities.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/app.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/omit.js/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/button.js (referenced with cjs require), ./node_modules/antd/lib/input/Input.js (referenced with cjs require), ./node_modules/antd/lib/input/Password.js (referenced with cjs require), ./node_modules/antd/lib/input/TextArea.js (referenced with cjs require)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ @@ -2037,14 +2037,14 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/toConsumableArray.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/typeof.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/MoopCases/FormPanel/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/responsiveObserve.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/app.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/col.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/hooks/useBreakpoint.js because of ./src/pages/MyProblem/LeftPanel/Discuss/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/hooks/useBreakpoint.js because of ./src/pages/virtualSpaces/Index/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/row.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/pagination/index.js because of ./src/pages/MyProblem/LeftPanel/Discuss/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/spin/index.js because of ./src/pages/MoopCases/FormPanel/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/pagination/index.js because of ./src/pages/virtualSpaces/Index/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/spin/index.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! 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,"a",(function(){return O}));var r=n("RIqP"),a=n.n(r),i=n("pVnL"),o=n.n(i),s=n("lSNA"),l=n.n(s),c=n("J4zp"),u=n.n(c),d=n("cDf5"),f=n.n(d),h=n("q1tI"),p=n("TSYQ"),m=n.n(p),v=n("W9HT"),g=n("5OYt"),y=n("ACnJ"),b=n("H84U"),w=n("NUBc"),x=n("qrJ5"),k=n("/kpp"),S=n("0n0R"),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0&&h.createElement("ul",{className:"".concat(g,"-item-action"),key:"actions"},a.map((function(e,t){return h.createElement("li",{key:"".concat(g,"-item-action-").concat(t)},e,t!==a.length-1&&h.createElement("em",{className:"".concat(g,"-item-action-split")}))}))),w=f?"div":"li",x=h.createElement(w,o()({},u,{className:m()("".concat(g,"-item"),s,l()({},"".concat(g,"-item-no-flex"),!("vertical"===p?i:(h.Children.forEach(r,(function(e){"string"==typeof e&&(t=!0)})),!(t&&h.Children.count(r)>1)))))}),"vertical"===p&&i?[h.createElement("div",{className:"".concat(g,"-item-main"),key:"content"},r,y),h.createElement("div",{className:"".concat(g,"-item-extra"),key:"extra"},i)]:[r,y,Object(S.a)(i,{key:"extra"})]);return f?h.createElement(k.a,{flex:1,style:c},x):x};_.Meta=function(e){var t=e.prefixCls,n=e.className,r=e.avatar,a=e.title,i=e.description,s=C(e,["prefixCls","className","avatar","title","description"]),l=(0,h.useContext(b.b).getPrefixCls)("list",t),c=m()("".concat(l,"-item-meta"),n),u=h.createElement("div",{className:"".concat(l,"-item-meta-content")},a&&h.createElement("h4",{className:"".concat(l,"-item-meta-title")},a),i&&h.createElement("div",{className:"".concat(l,"-item-meta-description")},i));return h.createElement("div",o()({},s,{className:c}),r&&h.createElement("div",{className:"".concat(l,"-item-meta-avatar")},r),(a||i)&&u)};var N=_,j=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);ace&&(le.current=ce);var ue=r?h.createElement("div",{className:"".concat(re,"-pagination")},h.createElement(w.a,o()({},le,{onChange:te,onShowSizeChange:ne}))):null,de=a()(A);r&&A.length>(le.current-1)*le.pageSize&&(de=a()(A).splice((le.current-1)*le.pageSize,le.pageSize));var fe=Object(g.a)(),he=h.useMemo((function(){for(var e=0;e0){var ve=de.map((function(e,t){return function(e,t){return R?((n="function"==typeof z?z(e):"string"==typeof z?e[z]:e.key)||(n="list-item-".concat(t)),$[t]=n,R(e,t)):null;var n}(e,t)})),ge=h.Children.map(ve,(function(e,t){return h.createElement("div",{key:$[t],style:pe},e)}));me=N?h.createElement(x.a,{gutter:N.gutter},ge):h.createElement("ul",{className:"".concat(re,"-items")},ve)}else S||ie||(me=function(e,t){return h.createElement("div",{className:"".concat(e,"-empty-text")},B&&B.emptyText||t("List"))}(re,X));var ye=le.position||"bottom";return h.createElement(O.Provider,{value:{grid:N,itemLayout:C}},h.createElement("div",o()({className:se},F),("top"===ye||"both"===ye)&&ue,L&&h.createElement("div",{className:"".concat(re,"-header")},L),h.createElement(v.a,ae,me,S),T&&h.createElement("div",{className:"".concat(re,"-footer")},T),_||("bottom"===ye||"both"===ye)&&ue))}E.Item=N;t.b=E},Vl3Y: /*!*********************************************************!*\ @@ -2061,16 +2061,16 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/toConsumableArray.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/typeof.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/hooks/useForceUpdate.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/MoopCases/FormPanel/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/type.js because of ./src/pages/MoopCases/FormPanel/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/SizeContext.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/col.js because of ./src/utils/util.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/row.js because of ./src/utils/util.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/LocaleReceiver.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale/default.js because of ./src/app.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/type.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/SizeContext.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/col.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/grid/row.js because of ./src/pages/Innovation/Detail/components/RemindForkModal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/LocaleReceiver.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale/default.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/lodash/isEqual.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/omit.js/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/button.js (referenced with cjs require), ./node_modules/antd/lib/input/Input.js (referenced with cjs require), ./node_modules/antd/lib/input/Password.js (referenced with cjs require), ./node_modules/antd/lib/input/TextArea.js (referenced with cjs require)) */ @@ -2133,11 +2133,11 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/defineProperty.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/MoopCases/FormPanel/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/type.js because of ./src/pages/MoopCases/FormPanel/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/button/index.js because of ./src/pages/MyProblem/NotesForm/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/app.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/type.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/button/index.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-dropdown/es/index.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";var r=n("pVnL"),a=n.n(r),i=n("lSNA"),o=n.n(i),s=n("q1tI"),l=n("eDIo"),c=n("TSYQ"),u=n.n(c),d=n("fEPi"),f=n.n(d),h=n("J4zp"),p=n.n(h),m=n("cCPh"),v=n.n(m),g=n("2/Rp"),y=n("H84U"),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a=0?"slide-down":"slide-up"),trigger:E,overlay:function(){return function(t){var n,r=e.overlay;n="function"==typeof r?r():r;var a=(n=s.Children.only("string"==typeof n?s.createElement("span",null,n):n)).props;Object(S.a)(!a.mode||"vertical"===a.mode,"Dropdown",'mode="'.concat(a.mode,"\" is not supported for Dropdown's Menu."));var i=a.selectable,o=void 0!==i&&i,l=a.focusable,c=void 0===l||l,u=s.createElement("span",{className:"".concat(t,"-menu-submenu-arrow")},s.createElement(f.a,{className:"".concat(t,"-menu-submenu-arrow-icon")}));return"string"==typeof n.type?n:Object(_.a)(n,{mode:"vertical",selectable:o,focusable:c,expandIcon:u})}(C)},placement:function(){var t=e.placement;return void 0!==t?t:"rtl"===p?"bottomRight":"bottomLeft"}()}),j)});N.Button=k,N.defaultProps={mouseEnterDelay:.15,mouseLeaveDelay:.1};var j=t.a=N},XCrF: @@ -2193,8 +2193,8 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/createSuper.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/inherits.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/context.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale/default.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/context.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale/default.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ /*! 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,"a",(function(){return v})),n.d(t,"b",(function(){return g}));var r=n("pVnL"),a=n.n(r),i=n("lwsE"),o=n.n(i),s=n("W8MJ"),l=n.n(s),c=n("7W2i"),u=n.n(c),d=n("LQ03"),f=n.n(d),h=n("q1tI"),p=n("ZvpZ").a,m=n("YlG9"),v=function(e){u()(n,e);var t=f()(n);function n(){return o()(this,n),t.apply(this,arguments)}return l()(n,[{key:"getLocale",value:function(){var e=this.props,t=e.componentName,n=e.defaultLocale||p[t||"global"],r=this.context,i=t&&r?r[t]:{};return a()(a()({},"function"==typeof n?n():n),i||{})}},{key:"getLocaleCode",value:function(){var e=this.context,t=e&&e.locale;return e&&e.exist&&!t?p.locale:t}},{key:"render",value:function(){return this.props.children(this.getLocale(),this.getLocaleCode(),this.context)}}]),n}(h.Component);function g(e,t){var n=h.useContext(m.a);return[h.useMemo((function(){var r=t||p[e||"global"],i=e&&n?n[e]:{};return a()(a()({},"function"==typeof r?r():r),i||{})}),[e,t,n])]}v.defaultProps={componentName:"global"},v.contextType=m.a},YNAk: /*!*********************************************************************!*\ !*** ./node_modules/@ant-design/icons/lib/icons/CaretDownFilled.js ***! @@ -2272,8 +2272,8 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/defineProperty.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/inherits.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/layout/layout.js because of ./src/components/Header/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/layout/layout.js because of ./src/pages/Messages/component/LeftNav.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/omit.js/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/button.js (referenced with cjs require), ./node_modules/antd/lib/input/Input.js (referenced with cjs require), ./node_modules/antd/lib/input/Password.js (referenced with cjs require), ./node_modules/antd/lib/input/TextArea.js (referenced with cjs require)) */ /*! 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,"a",(function(){return P})),n.d(t,"b",(function(){return I}));var r,a=n("lSNA"),i=n.n(a),o=n("pVnL"),s=n.n(o),l=n("lwsE"),c=n.n(l),u=n("W8MJ"),d=n.n(u),f=n("7W2i"),h=n.n(f),p=n("LQ03"),m=n.n(p),v=n("q1tI"),g=n("TSYQ"),y=n.n(g),b=n("BGR+"),w=n("T1rO"),x=n.n(w),k=n("fEPi"),S=n.n(k),C=n("DFhj"),_=n.n(C),N=n("PKem"),j=n("H84U"),O=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0&&void 0!==arguments[0]?arguments[0]:"";return r+=1,"".concat(e).concat(r)}),T=function(e){h()(n,e);var t=m()(n);function n(e){var r,a,o;return c()(this,n),(r=t.call(this,e)).responsiveHandler=function(e){r.setState({below:e.matches});var t=r.props.onBreakpoint,n=r.state.collapsed;t&&t(e.matches),n!==e.matches&&r.setCollapsed(e.matches,"responsive")},r.setCollapsed=function(e,t){"collapsed"in r.props||r.setState({collapsed:e});var n=r.props.onCollapse;n&&n(e,t)},r.toggle=function(){var e=!r.state.collapsed;r.setCollapsed(e,"clickTrigger")},r.renderSider=function(e){var t,n=e.getPrefixCls,a=r.props,o=a.prefixCls,l=a.className,c=a.theme,u=a.collapsible,d=a.reverseArrow,f=a.trigger,h=a.style,p=a.width,m=a.collapsedWidth,g=a.zeroWidthTriggerStyle,w=a.children,k=E(a,["prefixCls","className","theme","collapsible","reverseArrow","trigger","style","width","collapsedWidth","zeroWidthTriggerStyle","children"]),C=r.state,N=C.collapsed,j=C.below,A=n("layout-sider",o),P=Object(b.default)(k,["collapsed","defaultCollapsed","onCollapse","breakpoint","onBreakpoint","siderHook","zeroWidthTriggerStyle"]),L=N?m:p,T=O(L)?"".concat(L,"px"):String(L),I=0===parseFloat(String(m||0))?v.createElement("span",{onClick:r.toggle,className:y()("".concat(A,"-zero-width-trigger"),"".concat(A,"-zero-width-trigger-").concat(d?"right":"left")),style:g},f||v.createElement(x.a,null)):null,M={expanded:d?v.createElement(S.a,null):v.createElement(_.a,null),collapsed:d?v.createElement(_.a,null):v.createElement(S.a,null)}[N?"collapsed":"expanded"],z=null!==f?I||v.createElement("div",{className:"".concat(A,"-trigger"),onClick:r.toggle,style:{width:T}},f||M):null,R=s()(s()({},h),{flex:"0 0 ".concat(T),maxWidth:T,minWidth:T,width:T}),B=y()(l,A,"".concat(A,"-").concat(c),(t={},i()(t,"".concat(A,"-collapsed"),!!N),i()(t,"".concat(A,"-has-trigger"),u&&null!==f&&!I),i()(t,"".concat(A,"-below"),!!j),i()(t,"".concat(A,"-zero-width"),0===parseFloat(T)),t));return v.createElement("aside",s()({className:B},P,{style:R}),v.createElement("div",{className:"".concat(A,"-children")},w),u||j&&I?z:null)},r.uniqueId=L("ant-sider-"),"undefined"!=typeof window&&(a=window.matchMedia),a&&e.breakpoint&&e.breakpoint in A&&(r.mql=a("(max-width: ".concat(A[e.breakpoint],")"))),o="collapsed"in e?e.collapsed:e.defaultCollapsed,r.state={collapsed:o,below:!1},r}return d()(n,[{key:"componentDidMount",value:function(){var e;this.mql&&(this.mql.addListener(this.responsiveHandler),this.responsiveHandler(this.mql)),null===(e=this.props)||void 0===e||e.siderHook.addSider(this.uniqueId)}},{key:"componentWillUnmount",value:function(){var e,t;null===(e=null==this?void 0:this.mql)||void 0===e||e.removeListener(this.responsiveHandler),null===(t=this.props)||void 0===t||t.siderHook.removeSider(this.uniqueId)}},{key:"render",value:function(){var e=this.state.collapsed,t=this.props.collapsedWidth;return v.createElement(P.Provider,{value:{siderCollapsed:e,collapsedWidth:t}},v.createElement(j.a,null,this.renderSider))}}],[{key:"getDerivedStateFromProps",value:function(e){return"collapsed"in e?{collapsed:e.collapsed}:null}}]),n}(v.Component);T.defaultProps={collapsible:!1,defaultCollapsed:!1,reverseArrow:!1,width:200,collapsedWidth:80,style:{},theme:"dark"};var I=function(e){h()(n,e);var t=m()(n);function n(){return c()(this,n),t.apply(this,arguments)}return d()(n,[{key:"render",value:function(){var e=this;return v.createElement(N.a.Consumer,null,(function(t){return v.createElement(T,s()({},t,e.props))}))}}]),n}(v.Component)},"Znn+": @@ -2354,9 +2354,9 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/defineProperty.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/toConsumableArray.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/MoopCases/FormPanel/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/app.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/dropdown/dropdown.js because of ./src/.umi-production/plugin-locale/SelectLang.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/menu/index.js because of ./src/pages/Messages/component/LeftNav.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ @@ -2408,10 +2408,10 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" /*! exports used: default */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/defineProperty.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/col/index.js because of ./src/utils/util.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/SizeContext.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/row/index.js because of ./src/utils/util.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/col/index.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/SizeContext.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/row/index.js because of ./src/pages/Innovation/Detail/components/RemindForkModal.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/tabs/index.js because of ./src/pages/Home/PaZhou/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/omit.js/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/button.js (referenced with cjs require), ./node_modules/antd/lib/input/Input.js (referenced with cjs require), ./node_modules/antd/lib/input/Password.js (referenced with cjs require), ./node_modules/antd/lib/input/TextArea.js (referenced with cjs require)) */ @@ -2438,7 +2438,7 @@ var a;self,a=function(e,n){return function(){var a={"./src/plugin/hyperlinks.js" \*****************************************************************************/ /*! exports provided: default */ /*! exports used: default */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@ant-design/icons/es/components/AntdIcon.js because of ./src/pages/tasks/header/ExperimentReport.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@ant-design/icons/es/components/AntdIcon.js because of ./src/components/CoverUpload/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";var r=n("VTBJ"),a=n("q1tI"),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},o=n("6VBw"),s=function(e,t){return a.createElement(o.a,Object(r.a)(Object(r.a)({},e),{},{ref:t,icon:i}))};s.displayName="UserOutlined";t.a=a.forwardRef(s)},cWXX: /*!******************************************************!*\ @@ -2878,8 +2878,8 @@ function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,r,a,i, /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@ant-design/icons/RightOutlined.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/defineProperty.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/MoopCases/FormPanel/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/app.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/node_modules/rc-animate/es/Animate.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ @@ -3049,13 +3049,13 @@ function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,r,a,i, /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/toConsumableArray.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/button/button.js because of ./src/pages/MyProblem/NotesForm/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/button/index.js because of ./src/pages/MyProblem/NotesForm/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/LocaleReceiver.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale/default.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/modal/locale.js because of ./src/app.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/button/button.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/button/index.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/LocaleReceiver.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale/default.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/modal/locale.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-dialog/es/DialogWrap.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ @@ -3091,9 +3091,9 @@ function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var n,r,a,i, /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/inherits.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/toConsumableArray.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/node_modules/rc-checkbox/es/index.js because of ./src/components/markdown-editor/add-table-panel/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/node_modules/rc-checkbox/es/index.js because of ./src/pages/Engineering/Lists/CourseMatrix/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/omit.js/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/button.js (referenced with cjs require), ./node_modules/antd/lib/input/Input.js (referenced with cjs require), ./node_modules/antd/lib/input/Password.js (referenced with cjs require), ./node_modules/antd/lib/input/TextArea.js (referenced with cjs require)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";var r=n("lSNA"),a=n.n(r),i=n("pVnL"),o=n.n(i),s=n("lwsE"),l=n.n(s),c=n("W8MJ"),u=n.n(c),d=n("PJYZ"),f=n.n(d),h=n("7W2i"),p=n.n(h),m=n("LQ03"),v=n.n(m),g=n("q1tI"),y=n("TSYQ"),b=n.n(y),w=n("+6Fa"),x=n("RIqP"),k=n.n(x),S=n("BGR+"),C=n("H84U"),_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0&&(w=r.getOptions().map((function(e){return g.createElement(L,{prefixCls:m,key:e.value.toString(),disabled:"disabled"in e?e.disabled:s.disabled,value:e.value,checked:-1!==l.value.indexOf(e.value),onChange:e.onChange,className:"".concat(v,"-item"),style:e.style},e.label)})));var x={toggleOption:r.toggleOption,value:r.state.value,disabled:r.props.disabled,name:r.props.name,registerValue:r.registerValue,cancelValue:r.cancelValue},k=b()(v,u,a()({},"".concat(v,"-rtl"),"rtl"===n));return g.createElement("div",o()({className:k,style:d},y),g.createElement(N.Provider,{value:x},w))},r.state={value:e.value||e.defaultValue||[],registeredValues:[]},r}return u()(n,[{key:"getOptions",value:function(){return this.props.options.map((function(e){return"string"==typeof e?{label:e,value:e}:e}))}},{key:"render",value:function(){return g.createElement(C.a,null,this.renderGroup)}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value||[]}:null}}]),n}(g.PureComponent);j.defaultProps={options:[]};var O=j,E=n("uaoM"),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a0&&(N=i.createElement(o.FormProvider,{validateMessages:j},s)),i.createElement(x.a,{size:g},i.createElement(w.b.Provider,{value:_},i.createElement(y,{locale:m||r,_ANT_MARK__:"internalMark"},N)))}(n,s)}))}))}},wFql: /*!***************************************************************!*\ @@ -3603,15 +3603,15 @@ e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setProtot /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/inherits.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/toConsumableArray.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/typeof.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/raf.js because of ./src/utils/fetch.ts */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/ref.js because of ./src/components/markdown-editor/add-table-panel/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/type.js because of ./src/pages/MoopCases/FormPanel/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/index.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/input/TextArea.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/LocaleReceiver.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/tooltip/index.js because of ./src/components/markdown-editor/toolbar/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/raf.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/ref.js because of ./src/pages/Engineering/Lists/CourseMatrix/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/type.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/index.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/input/TextArea.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/locale-provider/LocaleReceiver.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/tooltip/index.js because of ./src/pages/Engineering/Lists/CourseMatrix/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/copy-to-clipboard/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/omit.js/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/button.js (referenced with cjs require), ./node_modules/antd/lib/input/Input.js (referenced with cjs require), ./node_modules/antd/lib/input/Password.js (referenced with cjs require), ./node_modules/antd/lib/input/TextArea.js (referenced with cjs require)) */ @@ -3809,12 +3809,12 @@ e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setProtot /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/extends.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/slicedToArray.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/typeof.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/MoopCases/FormPanel/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/type.js because of ./src/pages/MoopCases/FormPanel/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/wave.js because of ./src/pages/MyProblem/LeftPanel/Description/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/SizeContext.js because of ./src/app.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/app.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/devWarning.js because of ./src/pages/Account/Certification/components/ProfessionalAuthModal.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/reactNode.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/type.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/_util/wave.js because of ./src/pages/Search/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/SizeContext.js because of ./src/pages/Engineering/Evaluate/List/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/antd/es/config-provider/context.js because of ./src/pages/Engineering/Lists/CurseSetting/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/omit.js/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/button.js (referenced with cjs require), ./node_modules/antd/lib/input/Input.js (referenced with cjs require), ./node_modules/antd/lib/input/Password.js (referenced with cjs require), ./node_modules/antd/lib/input/TextArea.js (referenced with cjs require)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-motion/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/LoadingIcon.js (referenced with cjs require)) */ diff --git a/color.less b/color.less index 9cde095d18..ee2cbd8d9f 100644 --- a/color.less +++ b/color.less @@ -88,7 +88,7 @@ html {--antd-wave-shadow-color: @primary-color;} .ant-alert-success .ant-alert-icon {color: @success-color;} .ant-alert-info {background-color: color(~`colorPalette("@{primary-color}", 1)`);border: 1px solid color(~`colorPalette("@{primary-color}", 3)`);} .ant-alert-info .ant-alert-icon {color: @primary-color;} -.ant-alert-warning {background-color: color(~`colorPalette("@{warning-color}", 1)`);border: 1px solid color(~`colorPalette("@{warning-color}", 3)`);} +.ant-alert-warning {background-color: color(~`colorPalette("@{modal-footer-border-color-split}", 1)`);border: 1px solid color(~`colorPalette("@{warning-color}", 3)`);} .ant-alert-warning .ant-alert-icon {color: @warning-color;} .ant-alert-error {background-color: color(~`colorPalette("@{error-color}", 1)`);border: 1px solid color(~`colorPalette("@{error-color}", 3)`);} .ant-alert-error .ant-alert-icon {color: @error-color;} @@ -727,42 +727,42 @@ tr > .ant-picker-cell-in-view.ant-picker-cell-range-hover-start:last-child::afte .ant-form-item-has-success.ant-form-item-has-feedback .ant-form-item-children-icon {color: @success-color;} .ant-form-item-has-warning .ant-form-item-explain, .ant-form-item-has-warning .ant-form-item-split {color: @warning-color;} .ant-form-item-has-warning .ant-input, .ant-form-item-has-warning .ant-input-affix-wrapper, .ant-form-item-has-warning .ant-input:hover, .ant-form-item-has-warning .ant-input-affix-wrapper:hover {border-color: @warning-color;} -.ant-form-item-has-warning .ant-input:focus, .ant-form-item-has-warning .ant-input-affix-wrapper:focus, .ant-form-item-has-warning .ant-input-focused, .ant-form-item-has-warning .ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(159, 80, 61, 0.2);} +.ant-form-item-has-warning .ant-input:focus, .ant-form-item-has-warning .ant-input-affix-wrapper:focus, .ant-form-item-has-warning .ant-input-focused, .ant-form-item-has-warning .ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(61, 253, 131, 0.2);} .ant-form-item-has-warning .ant-input:not(.ant-form-item-has-warning .ant-input-disabled) {background-color: #fff;} .ant-form-item-has-warning .ant-input-affix-wrapper:not(.ant-form-item-has-warning .ant-input-affix-wrapper-disabled) {background-color: #fff;} .ant-form-item-has-warning .ant-input-affix-wrapper input:focus {box-shadow: none !important;} -.ant-form-item-has-warning .ant-calendar-picker-open .ant-calendar-picker-input {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(159, 80, 61, 0.2);} +.ant-form-item-has-warning .ant-calendar-picker-open .ant-calendar-picker-input {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(61, 253, 131, 0.2);} .ant-form-item-has-warning .ant-input-prefix {color: @warning-color;} .ant-form-item-has-warning .ant-input-group-addon {color: @warning-color;border-color: @warning-color;} .ant-form-item-has-warning .has-feedback {color: @warning-color;} .ant-form-item-has-warning.ant-form-item-has-feedback .ant-form-item-children-icon {color: @warning-color;} .ant-form-item-has-warning .ant-select:not(.ant-select-borderless) .ant-select-selector {border-color: @warning-color !important;} -.ant-form-item-has-warning .ant-select:not(.ant-select-borderless).ant-select-open .ant-select-selector, .ant-form-item-has-warning .ant-select:not(.ant-select-borderless).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(159, 80, 61, 0.2);} +.ant-form-item-has-warning .ant-select:not(.ant-select-borderless).ant-select-open .ant-select-selector, .ant-form-item-has-warning .ant-select:not(.ant-select-borderless).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(61, 253, 131, 0.2);} .ant-form-item-has-warning .ant-input-number, .ant-form-item-has-warning .ant-picker {border-color: @warning-color;} -.ant-form-item-has-warning .ant-input-number-focused, .ant-form-item-has-warning .ant-picker-focused, .ant-form-item-has-warning .ant-input-number:focus, .ant-form-item-has-warning .ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(159, 80, 61, 0.2);} +.ant-form-item-has-warning .ant-input-number-focused, .ant-form-item-has-warning .ant-picker-focused, .ant-form-item-has-warning .ant-input-number:focus, .ant-form-item-has-warning .ant-picker:focus {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(61, 253, 131, 0.2);} .ant-form-item-has-warning .ant-input-number:not([disabled]):hover, .ant-form-item-has-warning .ant-picker:not([disabled]):hover {border-color: @warning-color;} -.ant-form-item-has-warning .ant-cascader-picker:focus .ant-cascader-input {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(159, 80, 61, 0.2);} +.ant-form-item-has-warning .ant-cascader-picker:focus .ant-cascader-input {border-color: color(~`colorPalette("@{warning-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(61, 253, 131, 0.2);} .ant-form-item-has-error .ant-form-item-explain, .ant-form-item-has-error .ant-form-item-split {color: @error-color;} .ant-form-item-has-error .ant-input, .ant-form-item-has-error .ant-input-affix-wrapper, .ant-form-item-has-error .ant-input:hover, .ant-form-item-has-error .ant-input-affix-wrapper:hover {border-color: @error-color;} -.ant-form-item-has-error .ant-input:focus, .ant-form-item-has-error .ant-input-affix-wrapper:focus, .ant-form-item-has-error .ant-input-focused, .ant-form-item-has-error .ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(2, 215, 163, 0.2);} +.ant-form-item-has-error .ant-input:focus, .ant-form-item-has-error .ant-input-affix-wrapper:focus, .ant-form-item-has-error .ant-input-focused, .ant-form-item-has-error .ant-input-affix-wrapper-focused {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(57, 39, 149, 0.2);} .ant-form-item-has-error .ant-input:not(.ant-form-item-has-error .ant-input-disabled) {background-color: #fff;} .ant-form-item-has-error .ant-input-affix-wrapper:not(.ant-form-item-has-error .ant-input-affix-wrapper-disabled) {background-color: #fff;} .ant-form-item-has-error .ant-input-affix-wrapper input:focus {box-shadow: none !important;} -.ant-form-item-has-error .ant-calendar-picker-open .ant-calendar-picker-input {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(2, 215, 163, 0.2);} +.ant-form-item-has-error .ant-calendar-picker-open .ant-calendar-picker-input {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(57, 39, 149, 0.2);} .ant-form-item-has-error .ant-input-prefix {color: @error-color;} .ant-form-item-has-error .ant-input-group-addon {color: @error-color;border-color: @error-color;} .ant-form-item-has-error .has-feedback {color: @error-color;} .ant-form-item-has-error.ant-form-item-has-feedback .ant-form-item-children-icon {color: @error-color;} .ant-form-item-has-error .ant-select:not(.ant-select-borderless) .ant-select-selector {border-color: @error-color !important;} -.ant-form-item-has-error .ant-select:not(.ant-select-borderless).ant-select-open .ant-select-selector, .ant-form-item-has-error .ant-select:not(.ant-select-borderless).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(2, 215, 163, 0.2);} +.ant-form-item-has-error .ant-select:not(.ant-select-borderless).ant-select-open .ant-select-selector, .ant-form-item-has-error .ant-select:not(.ant-select-borderless).ant-select-focused .ant-select-selector {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(57, 39, 149, 0.2);} .ant-form-item-has-error .ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {border: 0;} .ant-form-item-has-error .ant-select.ant-select-auto-complete .ant-input:focus {border-color: @error-color;} .ant-form-item-has-error .ant-input-number, .ant-form-item-has-error .ant-picker {border-color: @error-color;} -.ant-form-item-has-error .ant-input-number-focused, .ant-form-item-has-error .ant-picker-focused, .ant-form-item-has-error .ant-input-number:focus, .ant-form-item-has-error .ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(2, 215, 163, 0.2);} +.ant-form-item-has-error .ant-input-number-focused, .ant-form-item-has-error .ant-picker-focused, .ant-form-item-has-error .ant-input-number:focus, .ant-form-item-has-error .ant-picker:focus {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(57, 39, 149, 0.2);} .ant-form-item-has-error .ant-input-number:not([disabled]):hover, .ant-form-item-has-error .ant-picker:not([disabled]):hover {border-color: @error-color;} .ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor, .ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):hover {border-color: @error-color;} -.ant-form-item-has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor, .ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(2, 215, 163, 0.2);} -.ant-form-item-has-error .ant-cascader-picker:focus .ant-cascader-input {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(2, 215, 163, 0.2);} +.ant-form-item-has-error .ant-mention-wrapper.ant-mention-active:not([disabled]) .ant-mention-editor, .ant-form-item-has-error .ant-mention-wrapper .ant-mention-editor:not([disabled]):focus {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(57, 39, 149, 0.2);} +.ant-form-item-has-error .ant-cascader-picker:focus .ant-cascader-input {border-color: color(~`colorPalette("@{error-color}", 5)`);border-right-width: 1px !important;box-shadow: 0 0 0 2px rgba(57, 39, 149, 0.2);} .ant-form-item-has-error .ant-transfer-list {border-color: @error-color;} .ant-form-item-has-error .ant-transfer-list-search:not([disabled]) {border-color: @border-color-base;} .ant-form-item-has-error .ant-transfer-list-search:not([disabled]):hover {border-color: color(~`colorPalette("@{primary-color}", 5)`);border-right-width: 1px !important;} @@ -1457,9 +1457,9 @@ tr.ant-table-expanded-row:hover > td {background: #fbfbfb;} .ant-tag-checkable:active, .ant-tag-checkable-checked {color: #fff;} .ant-tag-checkable-checked {background-color: @primary-color;} .ant-tag-checkable:active {background-color: color(~`colorPalette("@{primary-color}", 7)`);} -.ant-tag-pink {color: #eb2f96;background: color(~`colorPalette("@{modal-heading-color}", 1)`);border-color: #ffadd2;} +.ant-tag-pink {color: #eb2f96;background: #fff0f6;border-color: #ffadd2;} .ant-tag-pink-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;} -.ant-tag-magenta {color: #eb2f96;background: color(~`colorPalette("@{modal-heading-color}", 1)`);border-color: #ffadd2;} +.ant-tag-magenta {color: #eb2f96;background: #fff0f6;border-color: #ffadd2;} .ant-tag-magenta-inverse {color: #fff;background: #eb2f96;border-color: #eb2f96;} .ant-tag-red {color: #f5222d;background: #fff1f0;border-color: #ffa39e;} .ant-tag-red-inverse {color: #fff;background: #f5222d;border-color: #f5222d;} @@ -1471,7 +1471,7 @@ tr.ant-table-expanded-row:hover > td {background: #fbfbfb;} .ant-tag-yellow-inverse {color: #fff;background: #fadb14;border-color: #fadb14;} .ant-tag-gold {color: #faad14;background: #fffbe6;border-color: #ffe58f;} .ant-tag-gold-inverse {color: #fff;background: #faad14;border-color: #faad14;} -.ant-tag-cyan {color: #13c2c2;background: #e6fffb;border-color: #87e8de;} +.ant-tag-cyan {color: #13c2c2;background: color(~`colorPalette("@{modal-mask-bg}", 1)`);border-color: #87e8de;} .ant-tag-cyan-inverse {color: #fff;background: #13c2c2;border-color: #13c2c2;} .ant-tag-lime {color: #a0d911;background: #fcffe6;border-color: #eaff8f;} .ant-tag-lime-inverse {color: #fff;background: #a0d911;border-color: #a0d911;} diff --git a/index.html b/index.html index 058d157759..5e09237bf1 100644 --- a/index.html +++ b/index.html @@ -127,6 +127,6 @@ - + diff --git a/layouts__ShixunDetail__index.152b4dd2.async.js b/layouts__ShixunDetail__index.152b4dd2.async.js index a13be9079b..b41432c30f 100644 --- a/layouts__ShixunDetail__index.152b4dd2.async.js +++ b/layouts__ShixunDetail__index.152b4dd2.async.js @@ -643,14 +643,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/layouts__ShixunDetail__index.p__Account__Certification__index.p__Account__Profile__Edit__index.p__Ac.ad2cd679.bcd018cc.async.js b/layouts__ShixunDetail__index.p__Account__Certification__index.p__Account__Profile__Edit__index.p__Ac.ad2cd679.bcd018cc.async.js index 5aad448c25..3fe41ea4e5 100644 --- a/layouts__ShixunDetail__index.p__Account__Certification__index.p__Account__Profile__Edit__index.p__Ac.ad2cd679.bcd018cc.async.js +++ b/layouts__ShixunDetail__index.p__Account__Certification__index.p__Account__Profile__Edit__index.p__Ac.ad2cd679.bcd018cc.async.js @@ -38,7 +38,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-motion/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/LoadingIcon.js (referenced with cjs require)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-select/es/TransBtn.js because of ./node_modules/rc-select/es/OptionList.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-select/es/interface/generator.js because of ./node_modules/rc-tree-select/es/TreeSelect.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-select/es/utils/commonUtil.js because of ./node_modules/rc-select/es/utils/warningPropsUtil.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-select/es/utils/commonUtil.js because of ./node_modules/rc-select/es/Select.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-select/es/utils/valueUtil.js because of ./node_modules/rc-select/es/Select.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-trigger/es/index.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/KeyCode.js */ diff --git a/monaco-editor.19bc1833.async.js b/monaco-editor.19bc1833.async.js index b5005b04ea..d67c675e66 100644 --- a/monaco-editor.19bc1833.async.js +++ b/monaco-editor.19bc1833.async.js @@ -36,7 +36,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/position.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */function(e,t,n){"use strict";n.r(t),n.d(t,"DragAndDropController",(function(){return f}));n("OhnE");var i,o=n("pmY6"),r=n("MNsG"),s=n("sswD"),a=n("cGHE"),u=n("aokT"),l=n("gCVg"),c=function(){function e(e,t,n){this.selection=e,this.targetPosition=t,this.copy=n,this.targetSelection=null}return e.prototype.getEditOperations=function(e,t){var n=e.getValueInRange(this.selection);this.copy||t.addEditOperation(this.selection,null),t.addEditOperation(new u.a(this.targetPosition.lineNumber,this.targetPosition.column,this.targetPosition.lineNumber,this.targetPosition.column),n),!this.selection.containsPosition(this.targetPosition)||this.copy&&(this.selection.getEndPosition().equals(this.targetPosition)||this.selection.getStartPosition().equals(this.targetPosition))?this.copy?this.targetSelection=new l.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):this.targetPosition.lineNumber>this.selection.endLineNumber?this.targetSelection=new l.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):this.targetPosition.lineNumberthis.selection.endLineNumber?this.targetSelection=new l.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):this.targetPosition.lineNumbero,u=i>r,l=ir)continue;if(bi)continue;if(g1&&o--,e.columnSelect(t,n,i.fromViewLineNumber,i.fromViewVisualColumn,i.toViewLineNumber,o)},e.columnSelectRight=function(e,t,n){for(var i=0,o=Math.min(n.fromViewLineNumber,n.toViewLineNumber),r=Math.max(n.fromViewLineNumber,n.toViewLineNumber),s=o;s<=r;s++){var a=t.getLineMaxColumn(s),u=m.a.visibleColumnFromColumn2(e,t,new v.a(s,a));i=Math.max(i,u)}var l=n.toViewVisualColumn;return l1)for(var r=n.modelState?n.modelState.position:null,s=n.viewState?n.viewState.position:null,a=0,u=o.length;ao&&(i=o);var r=new _.a(i,1,i,e.context.model.getLineMaxColumn(i)),a=0;if(n.at)switch(n.at){case s.RawAtArgument.Top:a=3;break;case s.RawAtArgument.Center:a=1;break;case s.RawAtArgument.Bottom:a=4}var u=e.context.convertModelRangeToViewRange(r);e.revealRange(t.source,!1,u,a,0)},t}(x))),e.SelectAll=Object(f.g)(new(function(e){function t(){return e.call(this,{id:"selectAll",precondition:void 0})||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[C.b.selectAll(e.context,e.getPrimaryCursor())])},t}(x))),e.SetSelection=Object(f.g)(new(function(e){function t(){return e.call(this,{id:"setSelection",precondition:void 0})||this}return D(t,e),t.prototype.runCoreEditorCommand=function(e,t){e.context.model.pushStackElement(),e.setStates(t.source,3,[m.d.fromModelSelection(t.selection)])},t}(x)))}(u||(u={})),c=l||(l={}),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.runEditorCommand=function(e,t,n){var i=t._getCursors();i&&this.runCoreEditingCommand(t,i,n||{})},t}(f.c),c.CoreEditingCommand=d,c.LineBreakInsert=Object(f.g)(new(function(e){function t(){return e.call(this,{id:"lineBreakInsert",precondition:O.a.writable,kbOpts:{weight:0,kbExpr:O.a.textInputFocus,primary:0,mac:{primary:301}}})||this}return D(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,w.a.lineBreakInsert(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))))},t}(d))),c.Outdent=Object(f.g)(new(function(e){function t(){return e.call(this,{id:"outdent",precondition:O.a.writable,kbOpts:{weight:0,kbExpr:L.a.and(O.a.editorTextFocus,O.a.tabDoesNotMoveFocus),primary:1026}})||this}return D(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,w.a.outdent(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection})))),e.pushUndoStop()},t}(d))),c.Tab=Object(f.g)(new(function(e){function t(){return e.call(this,{id:"tab",precondition:O.a.writable,kbOpts:{weight:0,kbExpr:L.a.and(O.a.editorTextFocus,O.a.tabDoesNotMoveFocus),primary:2}})||this}return D(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){e.pushUndoStop(),e.executeCommands(this.id,w.a.tab(t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection})))),e.pushUndoStop()},t}(d))),c.DeleteLeft=Object(f.g)(new(function(e){function t(){return e.call(this,{id:"deleteLeft",precondition:O.a.writable,kbOpts:{weight:0,kbExpr:O.a.textInputFocus,primary:1,secondary:[1025],mac:{primary:1,secondary:[1025,294,257]}}})||this}return D(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){var i=y.a.deleteLeft(t.getPrevEditOperationType(),t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))),o=i[0],r=i[1];o&&e.pushUndoStop(),e.executeCommands(this.id,r),t.setPrevEditOperationType(2)},t}(d))),c.DeleteRight=Object(f.g)(new(function(e){function t(){return e.call(this,{id:"deleteRight",precondition:O.a.writable,kbOpts:{weight:0,kbExpr:O.a.textInputFocus,primary:20,mac:{primary:20,secondary:[290,276]}}})||this}return D(t,e),t.prototype.runCoreEditingCommand=function(e,t,n){var i=y.a.deleteRight(t.getPrevEditOperationType(),t.context.config,t.context.model,t.getAll().map((function(e){return e.modelState.selection}))),o=i[0],r=i[1];o&&e.pushUndoStop(),e.executeCommands(this.id,r),t.setPrevEditOperationType(3)},t}(d)));var k=function(e){function t(t){var n=e.call(this,t)||this;return n._editorHandler=t.editorHandler,n._inputHandler=t.inputHandler,n}return D(t,e),t.prototype.runCommand=function(e,t){var n=e.get(g.a).getFocusedCodeEditor();if(n&&n.hasTextFocus())return this._runEditorHandler(e,n,t);var i=document.activeElement;if(!(i&&["input","textarea"].indexOf(i.tagName.toLowerCase())>=0)){var o=e.get(g.a).getActiveCodeEditor();return o?(o.focus(),this._runEditorHandler(e,o,t)):void 0}document.execCommand(this._inputHandler)},t.prototype._runEditorHandler=function(e,t,n){var i=this._editorHandler;"string"==typeof i?t.trigger("keyboard",i,n):((n=n||{}).source="keyboard",i.runEditorCommand(e,t,n))},t}(f.a),E=function(e){function t(t,n,i){var o=e.call(this,{id:t,precondition:void 0,description:i})||this;return o._handlerId=n,o}return D(t,e),t.prototype.runCommand=function(e,t){var n=e.get(g.a).getFocusedCodeEditor();n&&n.trigger("keyboard",this._handlerId,t)},t}(f.a);function I(e,t){N(new E("default:"+e,e)),N(new E(e,e,t))}N(new k({editorHandler:u.SelectAll,inputHandler:"selectAll",id:"editor.action.selectAll",precondition:O.a.textInputFocus,kbOpts:{weight:0,kbExpr:null,primary:2079},menuOpts:{menuId:25,group:"1_basic",title:h.a({key:"miSelectAll",comment:["&& denotes a mnemonic"]},"&&Select All"),order:1}})),N(new k({editorHandler:S.b.Undo,inputHandler:"undo",id:S.b.Undo,precondition:O.a.writable,kbOpts:{weight:0,kbExpr:O.a.textInputFocus,primary:2104},menuOpts:{menuId:17,group:"1_do",title:h.a({key:"miUndo",comment:["&& denotes a mnemonic"]},"&&Undo"),order:1}})),N(new E("default:"+S.b.Undo,S.b.Undo)),N(new k({editorHandler:S.b.Redo,inputHandler:"redo",id:S.b.Redo,precondition:O.a.writable,kbOpts:{weight:0,kbExpr:O.a.textInputFocus,primary:2103,secondary:[3128],mac:{primary:3128}},menuOpts:{menuId:17,group:"1_do",title:h.a({key:"miRedo",comment:["&& denotes a mnemonic"]},"&&Redo"),order:2}})),N(new E("default:"+S.b.Redo,S.b.Redo)),I(S.b.Type,{description:"Type",args:[{name:"args",schema:{type:"object",required:["text"],properties:{text:{type:"string"}}}}]}),I(S.b.ReplacePreviousChar),I(S.b.CompositionStart),I(S.b.CompositionEnd),I(S.b.Paste),I(S.b.Cut)},"1lwE": @@ -181,13 +181,13 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/uri.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modelService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/clickLinkGesture.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/nls.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/commands/common/commands.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/opener/common/opener.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/themeService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */function(e,t,n){"use strict";n.r(t);n("YHy6");var i,o=n("3/fG"),r=n("X+cX"),s=n("JQT/"),a=n("/cxE"),u=n("eLzo"),l=n("pmY6"),c=n("MNsG"),d=n("sswD"),h=n("tX9W"),p=n("twdY"),f=n("aBYw"),g=n("bY76"),m=n("aokT"),v=n("G2kB"),_=n("nnTU"),b=n("6OMU"),y=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),C=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},w=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},T=function(e,t){return function(n,i){t(n,i,e)}},P=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},R=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},A=function(e,t){return function(n,i){t(n,i,e)}},F=new C.d("hasSymbols",!1),j=Object(x.c)("ISymbolNavigationService"),W=function(){function e(e,t,n,i){this._editorService=t,this._notificationService=n,this._keybindingService=i,this._currentModel=void 0,this._currentIdx=-1,this._ignoreEditorChange=!1,this._ctxHasSymbols=F.bindTo(e)}return e.prototype.reset=function(){this._ctxHasSymbols.reset(),Object(E.f)(this._currentState),Object(E.f)(this._currentMessage),this._currentModel=void 0,this._currentIdx=-1},e.prototype.put=function(e){var t=this,n=e.parent.parent;if(n.references.length<=1)this.reset();else{this._currentModel=n,this._currentIdx=n.references.indexOf(e),this._ctxHasSymbols.set(!0),this._showMessage();var i=new Y(this._editorService),o=i.onDidChange((function(e){if(!t._ignoreEditorChange){var i=t._editorService.getActiveCodeEditor();if(i){var o=i.getModel(),r=i.getPosition();if(o&&r){for(var s=!1,a=!1,u=0,l=n.references;u0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]1)?[3,1]:(this._openInPeek(n,i),[3,3]);case 1:return r=i.firstReference(),s=i.references.length>1&&"gotoAndPeek"===o,[4,this._openReference(n,e,r,this._configuration.openToSide,!s)];case 2:a=u.sent(),s&&a?this._openInPeek(a,i):i.dispose(),"goto"===o&&t.put(r),u.label=3;case 3:return[2]}}))}))},t.prototype._openReference=function(e,t,n,i,o){return ee(this,void 0,void 0,(function(){var r,s,a,u;return te(this,(function(l){switch(l.label){case 0:return r=void 0,Object(f.G)(n)&&(r=n.targetSelectionRange),r||(r=n.range),[4,t.openCodeEditor({resource:n.uri,options:{selection:h.a.collapseToStart(r),revealInCenterIfOutsideViewport:!0}},e,i)];case 1:return(s=l.sent())?(o&&(a=s.getModel(),u=s.deltaDecorations([],[{range:r,options:{className:"symbolHighlight"}}]),setTimeout((function(){s.getModel()===a&&s.deltaDecorations(u,[])}),350)),[2,s]):[2,void 0]}}))}))},t.prototype._openInPeek=function(e,t){var n=v.a.get(e);n&&e.hasModel()?n.toggleWidget(e.getSelection(),Object(r.f)((function(e){return Promise.resolve(t)})),this._configuration.openInPeek):t.dispose()},t}(l.b),ie=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.b)(e,t,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("def.title","Definitions")]))]}}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.a("noResultWord","No definition found for '{0}'",e.word):b.a("generic.noResults","No definition found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeDefinitionCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleDefinitions},t}(ne),oe=a.g&&!Z.l?2118:70;Object(l.f)(((V=function(e){function t(){var n=e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:t.id,label:b.a("actions.goToDecl.label","Go to Definition"),alias:"Go to Definition",precondition:C.a.and(p.a.hasDefinitionProvider,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:oe,weight:100},contextMenuOpts:{group:"navigation",order:1.1},menuOpts:{menuId:19,group:"4_symbol_nav",order:2,title:b.a({key:"miGotoDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Definition")}})||this;return L.a.registerCommandAlias("editor.action.goToDeclaration",t.id),n}return $(t,e),t}(ie)).id="editor.action.revealDefinition",V)),Object(l.f)(((B=function(e){function t(){var n=e.call(this,{openToSide:!0,openInPeek:!1,muteMessage:!1},{id:t.id,label:b.a("actions.goToDeclToSide.label","Open Definition to the Side"),alias:"Open Definition to the Side",precondition:C.a.and(p.a.hasDefinitionProvider,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:Object(s.a)(2089,oe),weight:100}})||this;return L.a.registerCommandAlias("editor.action.openDeclarationToTheSide",t.id),n}return $(t,e),t}(ie)).id="editor.action.revealDefinitionAside",B)),Object(l.f)(((H=function(e){function t(){var n=e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:t.id,label:b.a("actions.previewDecl.label","Peek Definition"),alias:"Peek Definition",precondition:C.a.and(p.a.hasDefinitionProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:582,linux:{primary:3140},weight:100},contextMenuOpts:{menuId:8,group:"peek",order:2}})||this;return L.a.registerCommandAlias("editor.action.previewDeclaration",t.id),n}return $(t,e),t}(ie)).id="editor.action.peekDefinition",H));var re=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.a)(e,t,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("decl.title","Declarations")]))]}}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.a("decl.noResultWord","No declaration found for '{0}'",e.word):b.a("decl.generic.noResults","No declaration found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeDeclarationCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleDeclarations},t}(ne);Object(l.f)(((z=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:t.id,label:b.a("actions.goToDeclaration.label","Go to Declaration"),alias:"Go to Declaration",precondition:C.a.and(p.a.hasDeclarationProvider,p.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{group:"navigation",order:1.3},menuOpts:{menuId:19,group:"4_symbol_nav",order:3,title:b.a({key:"miGotoDeclaration",comment:["&& denotes a mnemonic"]},"Go to &&Declaration")}})||this}return $(t,e),t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.a("decl.noResultWord","No declaration found for '{0}'",e.word):b.a("decl.generic.noResults","No declaration found")},t}(re)).id="editor.action.revealDeclaration",z)),Object(l.f)(function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.peekDeclaration",label:b.a("actions.peekDecl.label","Peek Declaration"),alias:"Peek Declaration",precondition:C.a.and(p.a.hasDeclarationProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:3}})||this}return $(t,e),t}(re));var se=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.e)(e,t,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("typedef.title","Type Definitions")]))]}}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.a("goToTypeDefinition.noResultWord","No type definition found for '{0}'",e.word):b.a("goToTypeDefinition.generic.noResults","No type definition found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeTypeDefinitionCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleTypeDefinitions},t}(ne);Object(l.f)(((U=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:t.ID,label:b.a("actions.goToTypeDefinition.label","Go to Type Definition"),alias:"Go to Type Definition",precondition:C.a.and(p.a.hasTypeDefinitionProvider,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:0,weight:100},contextMenuOpts:{group:"navigation",order:1.4},menuOpts:{menuId:19,group:"4_symbol_nav",order:3,title:b.a({key:"miGotoTypeDefinition",comment:["&& denotes a mnemonic"]},"Go to &&Type Definition")}})||this}return $(t,e),t}(se)).ID="editor.action.goToTypeDefinition",U)),Object(l.f)(((K=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:t.ID,label:b.a("actions.peekTypeDefinition.label","Peek Type Definition"),alias:"Peek Type Definition",precondition:C.a.and(p.a.hasTypeDefinitionProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:4}})||this}return $(t,e),t}(se)).ID="editor.action.peekTypeDefinition",K));var ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.c)(e,t,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("impl.title","Implementations")]))]}}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&e.word?b.a("goToImplementation.noResultWord","No implementation found for '{0}'",e.word):b.a("goToImplementation.generic.noResults","No implementation found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeImplementationCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleImplementations},t}(ne);Object(l.f)(((q=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:t.ID,label:b.a("actions.goToImplementation.label","Go to Implementations"),alias:"Go to Implementations",precondition:C.a.and(p.a.hasImplementationProvider,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:2118,weight:100},menuOpts:{menuId:19,group:"4_symbol_nav",order:4,title:b.a({key:"miGotoImplementation",comment:["&& denotes a mnemonic"]},"Go to &&Implementations")},contextMenuOpts:{group:"navigation",order:1.45}})||this}return $(t,e),t}(ae)).ID="editor.action.goToImplementation",q)),Object(l.f)(((G=function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:t.ID,label:b.a("actions.peekImplementation.label","Peek Implementations"),alias:"Peek Implementations",precondition:C.a.and(p.a.hasImplementationProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:3142,weight:100},contextMenuOpts:{menuId:8,group:"peek",order:5}})||this}return $(t,e),t}(ae)).ID="editor.action.peekImplementation",G));var ue=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return $(t,e),t.prototype._getNoResultFoundMessage=function(e){return e?b.a("references.no","No references found for '{0}'",e.word):b.a("references.noGeneric","No references found")},t.prototype._getAlternativeCommand=function(e){return e.getOption(41).alternativeReferenceCommand},t.prototype._getGoToPreference=function(e){return e.getOption(41).multipleReferences},t}(ne);Object(l.f)(function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!1,muteMessage:!1},{id:"editor.action.goToReferences",label:b.a("goToReferences.label","Go to References"),alias:"Go to References",precondition:C.a.and(p.a.hasReferenceProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),kbOpts:{kbExpr:p.a.editorTextFocus,primary:1094,weight:100},contextMenuOpts:{group:"navigation",order:1.45},menuOpts:{menuId:19,group:"4_symbol_nav",order:5,title:b.a({key:"miGotoReference",comment:["&& denotes a mnemonic"]},"Go to &&References")}})||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.d)(e,t,!0,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("ref.title","References")]))]}}))}))},t}(ue)),Object(l.f)(function(e){function t(){return e.call(this,{openToSide:!1,openInPeek:!0,muteMessage:!1},{id:"editor.action.referenceSearch.trigger",label:b.a("references.action.label","Peek References"),alias:"Peek References",precondition:C.a.and(p.a.hasReferenceProvider,m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated()),contextMenuOpts:{menuId:8,group:"peek",order:6}})||this}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){var i;return te(this,(function(o){switch(o.label){case 0:return i=_.c.bind,[4,Object(O.d)(e,t,!1,n)];case 1:return[2,new(i.apply(_.c,[void 0,o.sent(),b.a("ref.title","References")]))]}}))}))},t}(ue));var le=function(e){function t(t,n,i){var o=e.call(this,t,{id:"editor.action.goToLocation",label:b.a("label.generic","Go To Any Symbol"),alias:"Go To Any Symbol",precondition:C.a.and(m.b.notInPeekEditor,p.a.isInEmbeddedEditor.toNegated())})||this;return o._references=n,o._gotoMultipleBehaviour=i,o}return $(t,e),t.prototype._getLocationModel=function(e,t,n){return ee(this,void 0,void 0,(function(){return te(this,(function(e){return[2,new _.c(this._references,b.a("generic.title","Locations"))]}))}))},t.prototype._getNoResultFoundMessage=function(e){return e&&b.a("generic.noResult","No results for '{0}'",e.word)||""},t.prototype._getGoToPreference=function(e){var t;return null!==(t=this._gotoMultipleBehaviour)&&void 0!==t?t:e.getOption(41).multipleReferences},t.prototype._getAlternativeCommand=function(){return""},t}(ne);L.a.registerCommand({id:"editor.action.goToLocations",description:{description:"Go to locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:X.a},{name:"position",description:"The position at which to start",constraint:d.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:function(e,t,n,i,o,r){return ee(void 0,void 0,void 0,(function(){var s,a;return te(this,(function(l){switch(l.label){case 0:return Object(Q.a)(X.a.isUri(t)),Object(Q.a)(d.a.isIPosition(n)),Object(Q.a)(Array.isArray(i)),Object(Q.a)(void 0===o||"string"==typeof o),Object(Q.a)(void 0===r||"boolean"==typeof r),[4,(s=e.get(c.a)).openCodeEditor({resource:t},s.getFocusedCodeEditor())];case 1:return a=l.sent(),Object(u.a)(a)?(a.setPosition(n),a.revealPositionInCenterIfOutsideViewport(n,0),[2,a.invokeWithinContext((function(e){var t=new le({muteMessage:!0,openInPeek:Boolean(r),openToSide:!1},i,o);e.get(x.a).invokeFunction(t.run.bind(t),a)}))]):[2]}}))}))}}),L.a.registerCommand({id:"editor.action.peekLocations",description:{description:"Peek locations from a position in a file",args:[{name:"uri",description:"The text document in which to start",constraint:X.a},{name:"position",description:"The position at which to start",constraint:d.a.isIPosition},{name:"locations",description:"An array of locations.",constraint:Array},{name:"multiple",description:"Define what to do when having multiple results, either `peek`, `gotoAndPeek`, or `goto"}]},handler:function(e,t,n,i,o){return ee(void 0,void 0,void 0,(function(){return te(this,(function(r){return e.get(L.b).executeCommand("editor.action.goToLocations",t,n,i,o,!0),[2]}))}))}}),L.a.registerCommand({id:"editor.action.findReferences",handler:function(e,t,n){Object(Q.a)(X.a.isUri(t)),Object(Q.a)(d.a.isIPosition(n));var i=e.get(c.a);return i.openCodeEditor({resource:t},i.getFocusedCodeEditor()).then((function(e){if(Object(u.a)(e)&&e.hasModel()){var t=v.a.get(e);if(t){var i=Object(r.f)((function(t){return Object(O.d)(e.getModel(),d.a.lift(n),!1,t).then((function(e){return new _.c(e,b.a("ref.title","References"))}))})),o=new h.a(n.lineNumber,n.column,n.lineNumber,n.column);return Promise.resolve(t.toggleWidget(o,i,!1))}}}))}}),L.a.registerCommandAlias("editor.action.showReferences","editor.action.peekLocations")},"8gvo": /*!****************************************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/editor/browser/viewParts/minimap/minimap.css ***! @@ -424,7 +424,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/fastDomNode.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/keyboardEvent.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/mouseEvent.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/menu/menu.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/contextmenu/contextmenu.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/sash/sash.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js */ @@ -446,55 +446,55 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/linkedList.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/map.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/marshalling.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/marshalling.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/parameterHints.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/network.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/objects.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/path.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/platform.js (<- Module uses injected variables (process, global)) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/range.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/gotoLine.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/resources.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/severity.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/stopwatch.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/severity.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/stopwatch.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/strings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/types.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/uri.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/config/configuration.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/config/elementSizeObserver.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/core/editorState.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorBrowser.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/format/formatActions.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/core/editorState.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorBrowser.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/services/bulkEditService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/rename/rename.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/services/bulkEditService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/widget/codeEditorWidget.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/config/commonEditorConfig.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/config/editorOptions.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/config/fontInfo.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/format/formatActions.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/editOperation.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/lineTokens.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/editOperation.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/lineTokens.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/position.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/stringBuilder.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/token.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/token.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorAction.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorCommon.js because of ./node_modules/monaco-editor/esm/vs/editor/browser/controller/coreCommands.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/tokensStore.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorCommon.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/tokensStore.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/wordHelper.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/folding/folding.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/modesRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/nullMode.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/nullMode.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/markersDecorationService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modeService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modelService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/resolverService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/textResourceConfigurationService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/rename/rename.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/standaloneStrings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/view/overviewZoneManager.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/viewLayout/lineDecorations.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/viewLayout/viewLineRenderer.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ @@ -504,7 +504,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/nls.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/accessibility/common/accessibility.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/actions/common/actions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/clipboard/common/clipboardService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/clipboard/common/clipboardService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/commands/common/commands.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ @@ -520,7 +520,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/list/browser/listService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/log/common/log.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/rename/rename.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/markers/common/markers.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/opener/common/opener.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/progress/common/progress.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/registry/common/platform.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -629,7 +629,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dom.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/globalMouseMoveMonitor.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/touch.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/actions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/arrays.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/async.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -643,7 +643,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/position.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/codeAction.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/codeAction/types.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover.js */ @@ -655,8 +655,8 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/markers/common/markers.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/progress/common/progress.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/progress/common/progress.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/telemetry/common/telemetry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/themeService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */function(e,t,n){"use strict";n.d(t,"f",(function(){return be})),n.d(t,"e",(function(){return we})),n.d(t,"b",(function(){return Se})),n.d(t,"g",(function(){return Oe})),n.d(t,"h",(function(){return Le})),n.d(t,"d",(function(){return De})),n.d(t,"c",(function(){return xe})),n.d(t,"a",(function(){return Ne}));var i,o,r=function(){function e(e){this.executor=e,this._didRun=!1}return e.prototype.getValue=function(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value},Object.defineProperty(e.prototype,"rawValue",{get:function(){return this._value},enumerable:!0,configurable:!0}),e}(),s=n("pmY6"),a=n("N0LK"),u=n("sswD"),l=n("x/UI"),c=n("wQH0"),d=n("hJVp"),h=n("6OMU"),p=n("/cxE"),f=n("NR8r"),g=n("Cg/j"),m=n("EffR"),v=n("WqXY"),_=n("8HAY"),b=n("cGHE"),y=n("twdY"),C=n("nlbu"),w=n("Uzvx"),S=n("bexQ"),O=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),L=function(){return(L=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},x=function(e,t){return function(n,i){t(n,i,e)}},N=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},k=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=0})).filter((function(e){return e.resolvedKeybinding})).map((function(e){var t=e.commandArgs;return e.command===d.d?t={kind:C.b.SourceOrganizeImports.value}:e.command===d.b&&(t={kind:C.b.SourceFixAll.value}),L({resolvedKeybinding:e.resolvedKeybinding},C.a.fromUser(t,{kind:C.b.None,apply:"never"}))}))}));return function(e){if(e.kind){var i=t.bestKeybindingForCodeAction(e,n.getValue());return null==i?void 0:i.resolvedKeybinding}}},e.prototype.bestKeybindingForCodeAction=function(e,t){if(e.kind){var n=new C.b(e.kind);return t.filter((function(e){return e.kind.contains(n)})).filter((function(t){return!t.preferred||e.isPreferred})).reduceRight((function(e,t){return e?e.kind.contains(t.kind)?t:e:t}),void 0)}},e.codeActionCommands=[d.e,d.a,d.f,d.d,d.b],e}(),P=n("AKMP"),R=n("MI8n"),A=(n("MNXI"),n("tX9W")),F=n("3/fG"),j=n("t9D7"),W=n("MD5Z"),V=n("pg8w"),B=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),H=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},z=function(e,t){return function(n,i){t(n,i,e)}};!function(e){e.Hidden={type:0};var t=function(e,t,n,i){this.actions=e,this.trigger=t,this.editorPosition=n,this.widgetPosition=i,this.type=1};e.Showing=t}(o||(o={}));var U=function(e){function t(t,n,i,r){var s=e.call(this)||this;return s._editor=t,s._quickFixActionId=n,s._preferredFixActionId=i,s._keybindingService=r,s._onClick=s._register(new R.a),s.onClick=s._onClick.event,s._state=o.Hidden,s._domNode=document.createElement("div"),s._domNode.className="codicon codicon-lightbulb",s._editor.addContentWidget(s),s._register(s._editor.onDidChangeModelContent((function(e){var t=s._editor.getModel();(1!==s.state.type||!t||s.state.editorPosition.lineNumber>=t.getLineCount())&&s.hide()}))),V.b.ignoreTarget(s._domNode),s._register(m.n(s._domNode,(function(e){if(1===s.state.type){s._editor.focus(),e.preventDefault();var t=m.C(s._domNode),n=t.top,i=t.height,o=s._editor.getOption(49),r=Math.floor(o/3);null!==s.state.widgetPosition.position&&s.state.widgetPosition.position.lineNumber2&&r._editor.getTopForLineNumber(e)===r._editor.getTopForLineNumber(e-1)},g=a;if(!(d.spaceWidth*p>22))if(a>1&&!f(a-1))g-=1;else if(f(a+1)){if(u*d.spaceWidth<22)return this.hide()}else g+=1;this.state=new o.Showing(e,n,i,{position:{lineNumber:g,column:1},preference:t._posPref}),m.Y(this._domNode,"codicon-lightbulb-autofix",e.hasAutoFix),this._editor.layoutContentWidget(this)},t.prototype.hide=function(){this.state=o.Hidden,this._editor.layoutContentWidget(this)},Object.defineProperty(t.prototype,"state",{get:function(){return this._state},set:function(e){this._state=e,this._updateLightBulbTitle()},enumerable:!0,configurable:!0}),t.prototype._updateLightBulbTitle=function(){if(1===this.state.type&&this.state.actions.hasAutoFix){var e=this._keybindingService.lookupKeybinding(this._preferredFixActionId);if(e)return void(this.title=F.a("prefferedQuickFixWithKb","Show Fixes. Preferred Fix Available ({0})",e.getLabel()))}var t=this._keybindingService.lookupKeybinding(this._quickFixActionId);this.title=t?F.a("quickFixWithKb","Show Fixes ({0})",t.getLabel()):F.a("quickFix","Show Fixes")},Object.defineProperty(t.prototype,"title",{set:function(e){this._domNode.title=e},enumerable:!0,configurable:!0}),t._posPref=[0],t=H([z(3,S.a)],t)}(s.a);Object(j.e)((function(e,t){var n=e.getColor(W.J);n&&t.addRule("\n\t\t.monaco-editor .contentWidgets .codicon-lightbulb {\n\t\t\tcolor: "+n+";\n\t\t}");var i=e.getColor(W.I);i&&t.addRule("\n\t\t.monaco-editor .contentWidgets .codicon-lightbulb-autofix {\n\t\t\tcolor: "+i+";\n\t\t}")}));var K,q=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),G=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Y=function(e,t){return function(n,i){t(n,i,e)}},Z=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},X=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]0||"ifSingle"===e.autoApply&&1===t.validActions.length?t.validActions[0]:void 0},t.prototype.showCodeActionList=function(e,t,n,i){return Z(this,void 0,void 0,(function(){return X(this,(function(o){return this._codeActionWidget.getValue().show(e,t,n,i),[2]}))}))},t=G([Y(4,g.a)],t)}(s.a),J=n("nnTU"),$=n("T8No"),ee=n("tADe"),te=n("sM1p"),ne=n("tTk5"),ie=n("XXUj"),oe=n("X+cX"),re=n("aokT"),se=n("gslv"),ae=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ue=new $.d("supportedCodeAction",""),le=function(e){function t(t,n,i,o){void 0===o&&(o=250);var r=e.call(this)||this;return r._editor=t,r._markerService=n,r._signalChange=i,r._delay=o,r._autoTriggerTimer=r._register(new oe.e),r._register(r._markerService.onMarkerChanged((function(e){return r._onMarkerChanges(e)}))),r._register(r._editor.onDidChangeCursorPosition((function(){return r._onCursorChange()}))),r}return ae(t,e),t.prototype.trigger=function(e){var t=this._getRangeOfSelectionUnlessWhitespaceEnclosed(e);return this._createEventAndSignalChange(e,t)},t.prototype._onMarkerChanges=function(e){var t=this,n=this._editor.getModel();n&&e.some((function(e){return Object(se.e)(e,n.uri)}))&&this._autoTriggerTimer.cancelAndSet((function(){t.trigger({type:1})}),this._delay)},t.prototype._onCursorChange=function(){var e=this;this._autoTriggerTimer.cancelAndSet((function(){e.trigger({type:1})}),this._delay)},t.prototype._getRangeOfMarker=function(e){var t=this._editor.getModel();if(t)for(var n=0,i=this._markerService.read({resource:t.uri});n=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},pe=function(e,t){return function(n,i){t(n,i,e)}},fe=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},ge=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]1){var l=void 0;for(l=i-1;l>=1;l--){var c=n.getLineContent(l);if(r.D(c)>=0)break}if(l<1)return null;var d=n.getLineMaxColumn(l),h=f.a.getEnterAction(t.autoIndent,n,new u.a(l,d,l,d));h&&(s=h.indentation+h.appendText)}return o&&(o===p.a.Indent&&(s=e.shiftIndent(t,s)),o===p.a.Outdent&&(s=e.unshiftIndent(t,s)),s=t.normalizeIndentation(s)),s||null},e._replaceJumpToNextIndent=function(e,t,n,i){var o="",r=n.getStartPosition();if(e.insertSpaces)for(var a=d.a.visibleColumnFromColumn2(e,t,r),u=e.indentSize,l=u-a%u,c=0;c=4){var y=f.a.getIndentForEnter(t.autoIndent,n,o,{unshiftIndent:function(n){return e.unshiftIndent(t,n)},shiftIndent:function(n){return e.shiftIndent(t,n)},normalizeIndentation:function(e){return t.normalizeIndentation(e)}});if(y){var C=d.a.visibleColumnFromColumn2(t,n,o.getEndPosition()),w=o.endColumn,S="\n";b!==t.normalizeIndentation(y.beforeEnter)&&(S=t.normalizeIndentation(y.beforeEnter)+_.substring(b.length,o.startColumn-1)+"\n",o=new u.a(o.startLineNumber,1,o.endLineNumber,o.endColumn));var O=n.getLineContent(o.endLineNumber),L=r.q(O);if(o=L>=0?o.setEndPosition(o.endLineNumber,Math.max(o.endColumn,L+1)):o.setEndPosition(o.endLineNumber,n.getLineMaxColumn(o.endLineNumber)),i)return new s.e(o,S+t.normalizeIndentation(y.afterEnter),!0);var D=0;return w<=L+1&&(t.insertSpaces||(C=Math.ceil(C/t.indentSize)),D=Math.min(C+1-t.normalizeIndentation(y.afterEnter).length-1,0)),new s.d(o,S+t.normalizeIndentation(y.afterEnter),0,D,!0)}}return e._typeCommand(o,"\n"+t.normalizeIndentation(b),i)},e._isAutoIndentType=function(e,t,n){if(e.autoIndent<4)return!1;for(var i=0,o=n.length;i2?l.charCodeAt(u.column-2):0)&&c)return!1;if("auto"===e.autoClosingOvertype){for(var h=!1,p=0,f=i.length;p=0||n.indexOf(t)>=0},e._isBeforeClosingBrace=function(t,n,i){var o=t.autoClosingPairsClose2.get(i);if(!o)return!1;for(var r=e._autoClosingPairIsSymmetric(n),s=0,a=o;sr.open.length){for(var c=!0,d=0,h=n;dv.column-1){var b=_.charAt(v.column-1);if(!e._isBeforeClosingBrace(t,l,b)&&!c(b))return null}if(!n.isCheapToTokenize(v.lineNumber))return null;if(1===l.open.length&&a&&"always"!==u){var y=Object(h.a)(t.wordSeparators);if(s&&v.column>1&&0===y.get(_.charCodeAt(v.column-2)))return null;if(!s&&v.column>2&&0===y.get(_.charCodeAt(v.column-3)))return null}n.forceTokenization(v.lineNumber);var C=n.getLineTokens(v.lineNumber),w=!1;try{w=f.a.shouldAutoClosePair(l,C,s?v.column:v.column-1)}catch(e){Object(o.e)(e)}if(!w)return null}return l},e._runAutoClosingOpenCharType=function(e,t,n,i,o,r,s){for(var a=[],u=0,l=i.length;u1){var l=void 0;for(l=i-1;l>=1;l--){var c=n.getLineContent(l);if(r.D(c)>=0)break}if(l<1)return null;var d=n.getLineMaxColumn(l),h=f.a.getEnterAction(t.autoIndent,n,new u.a(l,d,l,d));h&&(s=h.indentation+h.appendText)}return o&&(o===p.a.Indent&&(s=e.shiftIndent(t,s)),o===p.a.Outdent&&(s=e.unshiftIndent(t,s)),s=t.normalizeIndentation(s)),s||null},e._replaceJumpToNextIndent=function(e,t,n,i){var o="",r=n.getStartPosition();if(e.insertSpaces)for(var a=d.a.visibleColumnFromColumn2(e,t,r),u=e.indentSize,l=u-a%u,c=0;c=4){var y=f.a.getIndentForEnter(t.autoIndent,n,o,{unshiftIndent:function(n){return e.unshiftIndent(t,n)},shiftIndent:function(n){return e.shiftIndent(t,n)},normalizeIndentation:function(e){return t.normalizeIndentation(e)}});if(y){var C=d.a.visibleColumnFromColumn2(t,n,o.getEndPosition()),w=o.endColumn,S="\n";b!==t.normalizeIndentation(y.beforeEnter)&&(S=t.normalizeIndentation(y.beforeEnter)+_.substring(b.length,o.startColumn-1)+"\n",o=new u.a(o.startLineNumber,1,o.endLineNumber,o.endColumn));var O=n.getLineContent(o.endLineNumber),L=r.q(O);if(o=L>=0?o.setEndPosition(o.endLineNumber,Math.max(o.endColumn,L+1)):o.setEndPosition(o.endLineNumber,n.getLineMaxColumn(o.endLineNumber)),i)return new s.e(o,S+t.normalizeIndentation(y.afterEnter),!0);var D=0;return w<=L+1&&(t.insertSpaces||(C=Math.ceil(C/t.indentSize)),D=Math.min(C+1-t.normalizeIndentation(y.afterEnter).length-1,0)),new s.d(o,S+t.normalizeIndentation(y.afterEnter),0,D,!0)}}return e._typeCommand(o,"\n"+t.normalizeIndentation(b),i)},e._isAutoIndentType=function(e,t,n){if(e.autoIndent<4)return!1;for(var i=0,o=n.length;i2?l.charCodeAt(u.column-2):0)&&c)return!1;if("auto"===e.autoClosingOvertype){for(var h=!1,p=0,f=i.length;p=0||n.indexOf(t)>=0},e._isBeforeClosingBrace=function(t,n,i){var o=t.autoClosingPairsClose2.get(i);if(!o)return!1;for(var r=e._autoClosingPairIsSymmetric(n),s=0,a=o;sr.open.length){for(var c=!0,d=0,h=n;dv.column-1){var b=_.charAt(v.column-1);if(!e._isBeforeClosingBrace(t,l,b)&&!c(b))return null}if(!n.isCheapToTokenize(v.lineNumber))return null;if(1===l.open.length&&a&&"always"!==u){var y=Object(h.a)(t.wordSeparators);if(s&&v.column>1&&0===y.get(_.charCodeAt(v.column-2)))return null;if(!s&&v.column>2&&0===y.get(_.charCodeAt(v.column-3)))return null}n.forceTokenization(v.lineNumber);var C=n.getLineTokens(v.lineNumber),w=!1;try{w=f.a.shouldAutoClosePair(l,C,s?v.column:v.column-1)}catch(e){Object(o.e)(e)}if(!w)return null}return l},e._runAutoClosingOpenCharType=function(e,t,n,i,o,r,s){for(var a=[],u=0,l=i.length;u=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},b=function(e,t){return function(n,i){t(n,i,e)}},y=function(){function e(e,t){this.decorationIds=[],this.editor=e,this.editorWorkerService=t}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.dispose=function(){},e.prototype.run=function(t,n){var i=this;this.currentRequest&&this.currentRequest.cancel();var o=this.editor.getSelection(),a=this.editor.getModel();if(a&&o){var u=o;if(u.startLineNumber===u.endLineNumber){var l=new d.a(this.editor,5),h=a.uri;return this.editorWorkerService.canNavigateValueSet(h)?(this.currentRequest=Object(g.f)((function(e){return i.editorWorkerService.navigateValueSet(h,u,n)})),this.currentRequest.then((function(n){if(n&&n.range&&n.value&&l.validate(i.editor)){var o=r.a.lift(n.range),a=n.range,d=n.value.length-(u.endColumn-u.startColumn);a={startLineNumber:a.startLineNumber,startColumn:a.startColumn,endLineNumber:a.endLineNumber,endColumn:a.startColumn+n.value.length},d>1&&(u=new s.a(u.startLineNumber,u.startColumn,u.endLineNumber,u.endColumn+d-1));var h=new c(o,u,n.value);i.editor.pushUndoStop(),i.editor.executeCommand(t,h),i.editor.pushUndoStop(),i.decorationIds=i.editor.deltaDecorations(i.decorationIds,[{range:a,options:e.DECORATION}]),i.decorationRemover&&i.decorationRemover.cancel(),i.decorationRemover=Object(g.l)(350),i.decorationRemover.then((function(){return i.decorationIds=i.editor.deltaDecorations(i.decorationIds,[])})).catch(m.e)}})).catch(m.e)):Promise.resolve(void 0)}}},e.ID="editor.contrib.inPlaceReplaceController",e.DECORATION=f.a.register({className:"valueSetReplacement"}),e=_([b(1,l.a)],e)}(),C=function(e){function t(){return e.call(this,{id:"editor.action.inPlaceReplace.up",label:o.a("InPlaceReplaceAction.previous.label","Replace with Previous Value"),alias:"Replace with Previous Value",precondition:a.a.writable,kbOpts:{kbExpr:a.a.editorTextFocus,primary:3154,weight:100}})||this}return v(t,e),t.prototype.run=function(e,t){var n=y.get(t);return n?n.run(this.id,!0):Promise.resolve(void 0)},t}(u.b),w=function(e){function t(){return e.call(this,{id:"editor.action.inPlaceReplace.down",label:o.a("InPlaceReplaceAction.next.label","Replace with Next Value"),alias:"Replace with Next Value",precondition:a.a.writable,kbOpts:{kbExpr:a.a.editorTextFocus,primary:3156,weight:100}})||this}return v(t,e),t.prototype.run=function(e,t){var n=y.get(t);return n?n.run(this.id,!1):Promise.resolve(void 0)},t}(u.b);Object(u.h)(y.ID,y),Object(u.f)(C),Object(u.f)(w),Object(h.e)((function(e,t){var n=e.getColor(p.d);n&&t.addRule(".monaco-editor.vs .valueSetReplacement { outline: solid 2px "+n+"; }")}))},Gw4z: @@ -1110,9 +1110,9 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/types.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/uri.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/core/editorState.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/core/editorState.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/services/bulkEditService.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/services/bulkEditService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/position.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ @@ -1126,8 +1126,8 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/log/common/log.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/progress/common/progress.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/progress/common/progress.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/registry/common/platform.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/themeService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */function(e,t,n){"use strict";n.r(t),n.d(t,"rename",(function(){return z})),n.d(t,"RenameAction",(function(){return K}));var i,o=n("3/fG"),r=n("/cxE"),s=n("T8No"),a=n("tTk5"),u=n("sswD"),l=n("wQH0"),c=(n("BjKj"),n("pmY6")),d=n("cGHE"),h=n("aokT"),p=n("MD5Z"),f=n("t9D7"),g=n("bexQ"),m=n("EffR"),v=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},_=function(e,t){return function(n,i){t(n,i,e)}},b=new s.d("renameInputVisible",!1),y=function(){function e(e,t,n,i,o){var r=this;this._editor=e,this._acceptKeybindings=t,this._themeService=n,this._keybindingService=i,this._disposables=new c.b,this.allowEditorOverflow=!0,this._visibleContextKey=b.bindTo(o),this._editor.addContentWidget(this),this._disposables.add(this._editor.onDidChangeConfiguration((function(e){e.hasChanged(34)&&r._updateFont()}))),this._disposables.add(n.onThemeChange(this._updateStyles,this))}return e.prototype.dispose=function(){this._disposables.dispose(),this._editor.removeContentWidget(this)},e.prototype.getId=function(){return"__renameInputWidget"},e.prototype.getDomNode=function(){var e=this;if(!this._domNode){this._domNode=document.createElement("div"),this._domNode.className="monaco-editor rename-box",this._input=document.createElement("input"),this._input.className="rename-input",this._input.type="text",this._input.setAttribute("aria-label",Object(o.a)("renameAriaLabel","Rename input. Type new name and press Enter to commit.")),this._domNode.appendChild(this._input),this._label=document.createElement("div"),this._label.className="rename-label",this._domNode.appendChild(this._label);var t=function(){var t,n,i=e._acceptKeybindings,r=i[0],s=i[1];e._keybindingService.lookupKeybinding(r),e._label.innerText=Object(o.a)("label","{0} to Rename, {1} to Preview",null===(t=e._keybindingService.lookupKeybinding(r))||void 0===t?void 0:t.getLabel(),null===(n=e._keybindingService.lookupKeybinding(s))||void 0===n?void 0:n.getLabel())};t(),this._disposables.add(this._keybindingService.onDidUpdateKeybindings(t)),this._updateFont(),this._updateStyles(this._themeService.getTheme())}return this._domNode},e.prototype._updateStyles=function(e){var t,n,i,o;if(this._input&&this._domNode){var r=e.getColor(p.hc);this._domNode.style.backgroundColor=String(null!==(t=e.getColor(p.Q))&&void 0!==t?t:""),this._domNode.style.boxShadow=r?" 0 2px 8px "+r:"",this._domNode.style.color=String(null!==(n=e.getColor(p.bb))&&void 0!==n?n:""),this._input.style.backgroundColor=String(null!==(i=e.getColor(p.Z))&&void 0!==i?i:"");var s=e.getColor(p.ab);this._input.style.borderWidth=s?"1px":"0px",this._input.style.borderStyle=s?"solid":"none",this._input.style.borderColor=null!==(o=null==s?void 0:s.toString())&&void 0!==o?o:"none"}},e.prototype._updateFont=function(){if(this._input&&this._label){var e=this._editor.getOption(34);this._input.style.fontFamily=e.fontFamily,this._input.style.fontWeight=e.fontWeight,this._input.style.fontSize=e.fontSize+"px",this._label.style.fontSize=.8*e.fontSize+"px"}},e.prototype.getPosition=function(){return this._visible?{position:this._position,preference:[2,1]}:null},e.prototype.acceptInput=function(e){this._currentAcceptInput&&this._currentAcceptInput(e)},e.prototype.cancelInput=function(e){this._currentCancelInput&&this._currentCancelInput(e)},e.prototype.getInput=function(e,t,n,i,o){var r=this;Object(m.Y)(this._domNode,"preview",o),this._position=new d.a(e.startLineNumber,e.startColumn),this._input.value=t,this._input.setAttribute("selectionStart",n.toString()),this._input.setAttribute("selectionEnd",i.toString()),this._input.size=Math.max(1.1*(e.endColumn-e.startColumn),20);var s=new c.b;return new Promise((function(n){r._currentCancelInput=function(e){return r._currentAcceptInput=void 0,r._currentCancelInput=void 0,n(e),!0},r._currentAcceptInput=function(e){0!==r._input.value.trim().length&&r._input.value!==t?(r._currentAcceptInput=void 0,r._currentCancelInput=void 0,n({newName:r._input.value,wantsPreview:o&&e})):r.cancelInput(!0)};s.add(r._editor.onDidChangeCursorSelection((function(){var t=r._editor.getPosition();t&&h.a.containsPosition(e,t)||r.cancelInput(!0)}))),s.add(r._editor.onDidBlurEditorWidget((function(){return r.cancelInput(!1)}))),r._show()})).finally((function(){s.dispose(),r._hide()}))},e.prototype._show=function(){var e=this;this._editor.revealLineInCenterIfOutsideViewport(this._position.lineNumber,0),this._visible=!0,this._visibleContextKey.set(!0),this._editor.layoutContentWidget(this),setTimeout((function(){e._input.focus(),e._input.setSelectionRange(parseInt(e._input.getAttribute("selectionStart")),parseInt(e._input.getAttribute("selectionEnd")))}),100)},e.prototype._hide=function(){this._visible=!1,this._visibleContextKey.reset(),this._editor.layoutContentWidget(this)},e=v([_(2,f.c),_(3,g.a),_(4,s.c)],e)}(),C=n("twdY"),w=n("OBOq"),S=n("NR8r"),O=n("vATl"),L=n("sM1p"),D=n("x/UI"),x=n("bY76"),N=n("Vxe3"),k=n("JQT/"),E=n("X+cX"),I=n("746U"),M=n("09fa"),T=n("Cg/j"),P=n("ic2d"),R=n("CRAX"),A=n("e0rL"),F=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),j=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},W=function(e,t){return function(n,i){t(n,i,e)}},V=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},B=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]0},e.prototype.resolveRenameLocation=function(e){return V(this,void 0,void 0,(function(){var t,n,i,o;return B(this,(function(r){switch(r.label){case 0:return(t=this._providers[0])?t.resolveRenameLocation?(i=I.n,[4,t.resolveRenameLocation(this.model,this.position,e)]):[3,2]:[2,void 0];case 1:n=i.apply(void 0,[r.sent()]),r.label=2;case 2:return!n&&(o=this.model.getWordAtPosition(this.position))?[2,{range:new h.a(this.position.lineNumber,o.startColumn,this.position.lineNumber,o.endColumn),text:o.word}]:[2,n]}}))}))},e.prototype.provideRenameEdits=function(e,t,n,i){return V(this,void 0,void 0,(function(){var r,s;return B(this,(function(a){switch(a.label){case 0:return(r=this._providers[t])?[4,r.provideRenameEdits(this.model,this.position,e,i)]:[2,{edits:[],rejectReason:n.join("\n")}];case 1:return(s=a.sent())?s.rejectReason?[2,this.provideRenameEdits(e,t+1,n.concat(s.rejectReason),i)]:[2,s]:[2,this.provideRenameEdits(e,t+1,n.concat(o.a("no result","No result.")),i)]}}))}))},e}();function z(e,t,n){return V(this,void 0,void 0,(function(){return B(this,(function(i){return[2,new H(e,t).provideRenameEdits(n,0,[],k.a.None)]}))}))}var U=function(){function e(e,t,n,i,o,r,s){var a=this;this.editor=e,this._instaService=t,this._notificationService=n,this._bulkEditService=i,this._progressService=o,this._logService=r,this._configService=s,this._dispoableStore=new c.b,this._cts=new k.b,this._renameInputField=this._dispoableStore.add(new E.b((function(){return a._dispoableStore.add(a._instaService.createInstance(y,a.editor,["acceptRenameInput","acceptRenameInputWithPreview"]))})))}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.dispose=function(){this._dispoableStore.dispose(),this._cts.dispose(!0)},e.prototype.run=function(){return V(this,void 0,void 0,(function(){var e,t,n,i,r,s,a,u,l,c,d,p=this;return B(this,(function(f){switch(f.label){case 0:if(this._cts.dispose(!0),!this.editor.hasModel())return[2,void 0];if(e=this.editor.getPosition(),!(t=new H(this.editor.getModel(),e)).hasProvider())return[2,void 0];this._cts=new O.b(this.editor,5),f.label=1;case 1:return f.trys.push([1,3,,4]),i=t.resolveRenameLocation(this._cts.token),this._progressService.showWhile(i,250),[4,i];case 2:return n=f.sent(),[3,4];case 3:return r=f.sent(),S.a.get(this.editor).showMessage(r||o.a("resolveRenameLocationFailed","An unknown error occurred while resolving rename location"),e),[2,void 0];case 4:return n?n.rejectReason?(S.a.get(this.editor).showMessage(n.rejectReason,e),[2,void 0]):this._cts.token.isCancellationRequested?[2,void 0]:(s=this.editor.getSelection(),a=0,u=n.text.length,h.a.isEmpty(s)||h.a.spansMultipleLines(s)||!h.a.containsRange(n.range,s)||(a=Math.max(0,s.startColumn-n.range.startColumn),u=Math.min(n.range.endColumn,s.endColumn)-n.range.startColumn),l=this._bulkEditService.hasPreviewHandler()&&this._configService.getValue(this.editor.getModel().uri,"editor.rename.enablePreview"),[4,this._renameInputField.getValue().getInput(n.range,n.text,a,u,l)]):[2,void 0];case 5:return"boolean"==typeof(c=f.sent())?(c&&this.editor.focus(),[2,void 0]):(this.editor.focus(),d=Object(E.j)(t.provideRenameEdits(c.newName,0,[],this._cts.token),this._cts.token).then((function(e){return V(p,void 0,void 0,(function(){var t=this;return B(this,(function(i){return e&&this.editor.hasModel()?e.rejectReason?(this._notificationService.info(e.rejectReason),[2]):(this._bulkEditService.apply(e,{editor:this.editor,showPreview:c.wantsPreview,label:o.a("label","Renaming '{0}'",null==n?void 0:n.text)}).then((function(e){e.ariaSummary&&Object(w.a)(o.a("aria","Successfully renamed '{0}' to '{1}'. Summary: {2}",n.text,c.newName,e.ariaSummary))})).catch((function(e){t._notificationService.error(o.a("rename.failedApply","Rename failed to apply edits")),t._logService.error(e)})),[2]):[2]}))}))}),(function(e){p._notificationService.error(o.a("rename.failed","Rename failed to compute edits")),p._logService.error(e)})),this._progressService.showWhile(d,250),[2,d])}}))}))},e.prototype.acceptRenameInput=function(e){this._renameInputField.getValue().acceptInput(e)},e.prototype.cancelRenameInput=function(){this._renameInputField.getValue().cancelInput(!0)},e.ID="editor.contrib.renameController",e=j([W(1,T.a),W(2,L.a),W(3,D.a),W(4,a.a),W(5,M.a),W(6,A.a)],e)}(),K=function(e){function t(){return e.call(this,{id:"editor.action.rename",label:o.a("rename.label","Rename Symbol"),alias:"Rename Symbol",precondition:s.a.and(l.a.writable,l.a.hasRenameProvider),kbOpts:{kbExpr:l.a.editorTextFocus,primary:60,weight:100},contextMenuOpts:{group:"1_modification",order:1.1}})||this}return F(t,e),t.prototype.runCommand=function(t,n){var i=this,o=t.get(N.a),s=Array.isArray(n)&&n||[void 0,void 0],a=s[0],u=s[1];return x.a.isUri(a)&&d.a.isIPosition(u)?o.openCodeEditor({resource:a},o.getActiveCodeEditor()).then((function(e){e&&(e.setPosition(u),e.invokeWithinContext((function(t){return i.reportTelemetry(t,e),i.run(t,e)})))}),r.e):e.prototype.runCommand.call(this,t,n)},t.prototype.run=function(e,t){var n=U.get(t);return n?n.run():Promise.resolve()},t}(u.b);Object(u.h)(U.ID,U),Object(u.f)(K);var q=u.c.bindToContribution(U.get);Object(u.g)(new q({id:"acceptRenameInput",precondition:b,handler:function(e){return e.acceptRenameInput(!1)},kbOpts:{weight:199,kbExpr:l.a.focus,primary:3}})),Object(u.g)(new q({id:"acceptRenameInputWithPreview",precondition:s.a.and(b,s.a.has("config.editor.rename.enablePreview")),handler:function(e){return e.acceptRenameInput(!0)},kbOpts:{weight:199,kbExpr:l.a.focus,primary:1027}})),Object(u.g)(new q({id:"cancelRenameInput",precondition:b,handler:function(e){return e.cancelRenameInput()},kbOpts:{weight:199,kbExpr:l.a.focus,primary:9,secondary:[1033]}})),Object(u.e)("_executeDocumentRenameProvider",(function(e,t,n){var i=n.newName;if("string"!=typeof i)throw Object(r.b)("newName");return z(e,t,i)})),P.a.as(R.a.Configuration).registerConfiguration({id:"editor",properties:{"editor.rename.enablePreview":{scope:5,description:o.a("enablePreview","Enable/disable the ability to preview changes before renaming"),default:!0,type:"boolean"}}})},QDVR: @@ -1181,10 +1181,10 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/widget/embeddedCodeEditorWidget.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/position.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/resolverService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/referencesModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/peekView/peekView.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/peekView/peekView.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/nls.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/commands/common/commands.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ @@ -1194,7 +1194,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybindingsRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/label/common/label.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/list/browser/listService.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/storage/common/storage.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/styler.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js */ @@ -1241,9 +1241,9 @@ /*! exports provided: QuickOpenEntry, QuickOpenEntryGroup, QuickOpenModel */ /*! exports used: QuickOpenEntry, QuickOpenEntryGroup, QuickOpenModel */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dom.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/highlightedlabel/highlightedLabel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/iconLabel/iconLabel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/iconLabel/iconLabel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/arrays.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/keybindingLabels.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/objects.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ @@ -1357,7 +1357,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/cancellation.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/collections.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/errors.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/filters.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/filters.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/map.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/strings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/types.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -1394,7 +1394,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/strings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/format/formatActions.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modeService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition.js */ @@ -1569,18 +1569,18 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/linkedList.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/types.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/uri.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/core/editorState.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/core/editorState.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorBrowser.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/services/codeEditorService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/editOperation.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/editOperation.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/position.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modelService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/nls.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/commands/common/commands.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -1601,9 +1601,9 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/strings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/wordHelper.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfiguration.js because of ./node_modules/monaco-editor/esm/vs/editor/browser/controller/coreCommands.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/supports.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/supports/richEditBrackets.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var i=n("MI8n"),o=n("pmY6"),r=n("N0LK"),s=n("0JNc"),a=n("KDc4"),u=n("BFtn"),l=function(){function e(t){if(t.autoClosingPairs?this._autoClosingPairs=t.autoClosingPairs.map((function(e){return new a.b(e)})):t.brackets?this._autoClosingPairs=t.brackets.map((function(e){return new a.b({open:e[0],close:e[1]})})):this._autoClosingPairs=[],t.__electricCharacterSupport&&t.__electricCharacterSupport.docComment){var n=t.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new a.b({open:n.open,close:n.close||""}))}this._autoCloseBefore="string"==typeof t.autoCloseBefore?t.autoCloseBefore:e.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=t.surroundingPairs||this._autoClosingPairs}return e.prototype.getAutoClosingPairs=function(){return this._autoClosingPairs},e.prototype.getAutoCloseBeforeSet=function(){return this._autoCloseBefore},e.shouldAutoClosePair=function(e,t,n){if(0===t.getTokenCount())return!0;var i=t.findTokenIndexAtOffset(n-2),o=t.getStandardTokenType(i);return e.isOK(o)},e.prototype.getSurroundingPairs=function(){return this._surroundingPairs},e.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=";:.,=}])> \n\t",e}(),c=n("EIAu"),d=function(){function e(e){this._richEditBrackets=e}return e.prototype.getElectricCharacters=function(){var e=[];if(this._richEditBrackets)for(var t=0,n=this._richEditBrackets.brackets;t=3)for(var o=0,r=this._regExpRules.length;o=2&&n.length>0&&i.length>0)for(o=0,r=this._brackets.length;o=2&&n.length>0)for(o=0,r=this._brackets.length;o1){var o=void 0,r=-1;for(o=t-1;o>=1;o--){if(e.getLanguageIdAtPosition(o,0)!==i)return r;var s=e.getLineContent(o);if(!n.shouldIgnore(s)&&!/^\s+$/.test(s)&&""!==s)return o;r=o}}return-1},e.prototype.getInheritIndentForLine=function(e,t,n,i){if(void 0===i&&(i=!0),e<4)return null;var o=this.getIndentRulesSupport(t.getLanguageIdentifier().id);if(!o)return null;if(n<=1)return{indentation:"",action:null};var s=this.getPrecedingValidLine(t,n,o);if(s<0)return null;if(s<1)return{indentation:"",action:null};var u=t.getLineContent(s);if(o.shouldIncrease(u)||o.shouldIndentNextLine(u))return{indentation:r.t(u),action:a.a.Indent,line:s};if(o.shouldDecrease(u))return{indentation:r.t(u),action:null,line:s};if(1===s)return{indentation:r.t(t.getLineContent(s)),action:null,line:s};var l=s-1,c=o.getIndentMetadata(t.getLineContent(l));if(!(3&c)&&4&c){for(var d=0,h=l-1;h>0;h--)if(!o.shouldIndentNextLine(t.getLineContent(h))){d=h;break}return{indentation:r.t(t.getLineContent(d+1)),action:null,line:d+1}}if(i)return{indentation:r.t(t.getLineContent(s)),action:null,line:s};for(h=s;h>0;h--){var p=t.getLineContent(h);if(o.shouldIncrease(p))return{indentation:r.t(p),action:a.a.Indent,line:h};if(o.shouldIndentNextLine(p)){d=0;for(var f=h-1;f>0;f--)if(!o.shouldIndentNextLine(t.getLineContent(h))){d=f;break}return{indentation:r.t(t.getLineContent(d+1)),action:null,line:d+1}}if(o.shouldDecrease(p))return{indentation:r.t(p),action:null,line:h}}return{indentation:r.t(t.getLineContent(1)),action:null,line:1}},e.prototype.getGoodIndentForLine=function(e,t,n,i,o){if(e<4)return null;var s=this._getRichEditSupport(n);if(!s)return null;var u=this.getIndentRulesSupport(n);if(!u)return null;var l=this.getInheritIndentForLine(e,t,i),c=t.getLineContent(i);if(l){var d=l.line;if(void 0!==d){var h=s.onEnter(e,"",t.getLineContent(d),"");if(h){var p=r.t(t.getLineContent(d));return h.removeText&&(p=p.substring(0,p.length-h.removeText)),h.indentAction===a.a.Indent||h.indentAction===a.a.IndentOutdent?p=o.shiftIndent(p):h.indentAction===a.a.Outdent&&(p=o.unshiftIndent(p)),u.shouldDecrease(c)&&(p=o.unshiftIndent(p)),h.appendText&&(p+=h.appendText),r.t(p)}}return u.shouldDecrease(c)?l.action===a.a.Indent?l.indentation:o.unshiftIndent(l.indentation):l.action===a.a.Indent?o.shiftIndent(l.indentation):l.indentation}return null},e.prototype.getIndentForEnter=function(e,t,n,i){if(e<4)return null;t.forceTokenization(n.startLineNumber);var o,s,l=t.getLineTokens(n.startLineNumber),c=Object(u.a)(l,n.startColumn-1),d=c.getLineContent(),h=!1;(c.firstCharOffset>0&&l.getLanguageId(0)!==c.languageId?(h=!0,o=d.substr(0,n.startColumn-1-c.firstCharOffset)):o=l.getLineContent().substring(0,n.startColumn-1),n.isEmpty())?s=d.substr(n.startColumn-1-c.firstCharOffset):s=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-c.firstCharOffset);var p=this.getIndentRulesSupport(c.languageId);if(!p)return null;var f=o,g=r.t(o),m={getLineTokens:function(e){return t.getLineTokens(e)},getLanguageIdentifier:function(){return t.getLanguageIdentifier()},getLanguageIdAtPosition:function(e,n){return t.getLanguageIdAtPosition(e,n)},getLineContent:function(e){return e===n.startLineNumber?f:t.getLineContent(e)}},v=r.t(l.getLineContent()),_=this.getInheritIndentForLine(e,m,n.startLineNumber+1);if(!_){var b=h?v:g;return{beforeEnter:b,afterEnter:b}}var y=h?v:_.indentation;return _.action===a.a.Indent&&(y=i.shiftIndent(y)),p.shouldDecrease(s)&&(y=i.unshiftIndent(y)),{beforeEnter:h?v:g,afterEnter:y}},e.prototype.getIndentActionForType=function(e,t,n,i,o){if(e<4)return null;var r=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),s=this.getIndentRulesSupport(r.languageId);if(!s)return null;var u,l=r.getLineContent(),c=l.substr(0,n.startColumn-1-r.firstCharOffset);n.isEmpty()?u=l.substr(n.startColumn-1-r.firstCharOffset):u=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-r.firstCharOffset);if(!s.shouldDecrease(c+u)&&s.shouldDecrease(c+i+u)){var d=this.getInheritIndentForLine(e,t,n.startLineNumber,!1);if(!d)return null;var h=d.indentation;return d.action!==a.a.Indent&&(h=o.unshiftIndent(h)),h}return null},e.prototype.getIndentMetadata=function(e,t){var n=this.getIndentRulesSupport(e.getLanguageIdentifier().id);return n?t<1||t>e.getLineCount()?null:n.getIndentMetadata(e.getLineContent(t)):null},e.prototype.getEnterAction=function(e,t,n){var i=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),o=this._getRichEditSupport(i.languageId);if(!o)return null;var r,s=i.getLineContent(),u=s.substr(0,n.startColumn-1-i.firstCharOffset);n.isEmpty()?r=s.substr(n.startColumn-1-i.firstCharOffset):r=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-i.firstCharOffset);var l="";if(n.startLineNumber>1&&0===i.firstCharOffset){var c=this.getScopedLineTokens(t,n.startLineNumber-1);c.languageId===i.languageId&&(l=c.getLineContent())}var d=o.onEnter(e,l,u,r);if(!d)return null;var h=d.indentAction,p=d.appendText,f=d.removeText||0;p||(p=h===a.a.Indent||h===a.a.IndentOutdent?"\t":"");var g=this.getIndentationAtPosition(t,n.startLineNumber,n.startColumn);return f&&(g=g.substring(0,g.length-f)),{indentAction:h,appendText:p,removeText:f,indentation:g}},e.prototype.getIndentationAtPosition=function(e,t,n){var i=e.getLineContent(t),o=r.t(i);return o.length>n-1&&(o=o.substring(0,n-1)),o},e.prototype.getScopedLineTokens=function(e,t,n){e.forceTokenization(t);var i=e.getLineTokens(t),o=void 0===n?e.getLineMaxColumn(t)-1:n-1;return Object(u.a)(i,o)},e.prototype.getBracketsSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.brackets||null},e}())},"ci+S": +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfiguration.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/supports.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/supports/richEditBrackets.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var i=n("MI8n"),o=n("pmY6"),r=n("N0LK"),s=n("0JNc"),a=n("KDc4"),u=n("BFtn"),l=function(){function e(t){if(t.autoClosingPairs?this._autoClosingPairs=t.autoClosingPairs.map((function(e){return new a.b(e)})):t.brackets?this._autoClosingPairs=t.brackets.map((function(e){return new a.b({open:e[0],close:e[1]})})):this._autoClosingPairs=[],t.__electricCharacterSupport&&t.__electricCharacterSupport.docComment){var n=t.__electricCharacterSupport.docComment;this._autoClosingPairs.push(new a.b({open:n.open,close:n.close||""}))}this._autoCloseBefore="string"==typeof t.autoCloseBefore?t.autoCloseBefore:e.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED,this._surroundingPairs=t.surroundingPairs||this._autoClosingPairs}return e.prototype.getAutoClosingPairs=function(){return this._autoClosingPairs},e.prototype.getAutoCloseBeforeSet=function(){return this._autoCloseBefore},e.shouldAutoClosePair=function(e,t,n){if(0===t.getTokenCount())return!0;var i=t.findTokenIndexAtOffset(n-2),o=t.getStandardTokenType(i);return e.isOK(o)},e.prototype.getSurroundingPairs=function(){return this._surroundingPairs},e.DEFAULT_AUTOCLOSE_BEFORE_LANGUAGE_DEFINED=";:.,=}])> \n\t",e}(),c=n("EIAu"),d=function(){function e(e){this._richEditBrackets=e}return e.prototype.getElectricCharacters=function(){var e=[];if(this._richEditBrackets)for(var t=0,n=this._richEditBrackets.brackets;t=3)for(var o=0,r=this._regExpRules.length;o=2&&n.length>0&&i.length>0)for(o=0,r=this._brackets.length;o=2&&n.length>0)for(o=0,r=this._brackets.length;o1){var o=void 0,r=-1;for(o=t-1;o>=1;o--){if(e.getLanguageIdAtPosition(o,0)!==i)return r;var s=e.getLineContent(o);if(!n.shouldIgnore(s)&&!/^\s+$/.test(s)&&""!==s)return o;r=o}}return-1},e.prototype.getInheritIndentForLine=function(e,t,n,i){if(void 0===i&&(i=!0),e<4)return null;var o=this.getIndentRulesSupport(t.getLanguageIdentifier().id);if(!o)return null;if(n<=1)return{indentation:"",action:null};var s=this.getPrecedingValidLine(t,n,o);if(s<0)return null;if(s<1)return{indentation:"",action:null};var u=t.getLineContent(s);if(o.shouldIncrease(u)||o.shouldIndentNextLine(u))return{indentation:r.t(u),action:a.a.Indent,line:s};if(o.shouldDecrease(u))return{indentation:r.t(u),action:null,line:s};if(1===s)return{indentation:r.t(t.getLineContent(s)),action:null,line:s};var l=s-1,c=o.getIndentMetadata(t.getLineContent(l));if(!(3&c)&&4&c){for(var d=0,h=l-1;h>0;h--)if(!o.shouldIndentNextLine(t.getLineContent(h))){d=h;break}return{indentation:r.t(t.getLineContent(d+1)),action:null,line:d+1}}if(i)return{indentation:r.t(t.getLineContent(s)),action:null,line:s};for(h=s;h>0;h--){var p=t.getLineContent(h);if(o.shouldIncrease(p))return{indentation:r.t(p),action:a.a.Indent,line:h};if(o.shouldIndentNextLine(p)){d=0;for(var f=h-1;f>0;f--)if(!o.shouldIndentNextLine(t.getLineContent(h))){d=f;break}return{indentation:r.t(t.getLineContent(d+1)),action:null,line:d+1}}if(o.shouldDecrease(p))return{indentation:r.t(p),action:null,line:h}}return{indentation:r.t(t.getLineContent(1)),action:null,line:1}},e.prototype.getGoodIndentForLine=function(e,t,n,i,o){if(e<4)return null;var s=this._getRichEditSupport(n);if(!s)return null;var u=this.getIndentRulesSupport(n);if(!u)return null;var l=this.getInheritIndentForLine(e,t,i),c=t.getLineContent(i);if(l){var d=l.line;if(void 0!==d){var h=s.onEnter(e,"",t.getLineContent(d),"");if(h){var p=r.t(t.getLineContent(d));return h.removeText&&(p=p.substring(0,p.length-h.removeText)),h.indentAction===a.a.Indent||h.indentAction===a.a.IndentOutdent?p=o.shiftIndent(p):h.indentAction===a.a.Outdent&&(p=o.unshiftIndent(p)),u.shouldDecrease(c)&&(p=o.unshiftIndent(p)),h.appendText&&(p+=h.appendText),r.t(p)}}return u.shouldDecrease(c)?l.action===a.a.Indent?l.indentation:o.unshiftIndent(l.indentation):l.action===a.a.Indent?o.shiftIndent(l.indentation):l.indentation}return null},e.prototype.getIndentForEnter=function(e,t,n,i){if(e<4)return null;t.forceTokenization(n.startLineNumber);var o,s,l=t.getLineTokens(n.startLineNumber),c=Object(u.a)(l,n.startColumn-1),d=c.getLineContent(),h=!1;(c.firstCharOffset>0&&l.getLanguageId(0)!==c.languageId?(h=!0,o=d.substr(0,n.startColumn-1-c.firstCharOffset)):o=l.getLineContent().substring(0,n.startColumn-1),n.isEmpty())?s=d.substr(n.startColumn-1-c.firstCharOffset):s=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-c.firstCharOffset);var p=this.getIndentRulesSupport(c.languageId);if(!p)return null;var f=o,g=r.t(o),m={getLineTokens:function(e){return t.getLineTokens(e)},getLanguageIdentifier:function(){return t.getLanguageIdentifier()},getLanguageIdAtPosition:function(e,n){return t.getLanguageIdAtPosition(e,n)},getLineContent:function(e){return e===n.startLineNumber?f:t.getLineContent(e)}},v=r.t(l.getLineContent()),_=this.getInheritIndentForLine(e,m,n.startLineNumber+1);if(!_){var b=h?v:g;return{beforeEnter:b,afterEnter:b}}var y=h?v:_.indentation;return _.action===a.a.Indent&&(y=i.shiftIndent(y)),p.shouldDecrease(s)&&(y=i.unshiftIndent(y)),{beforeEnter:h?v:g,afterEnter:y}},e.prototype.getIndentActionForType=function(e,t,n,i,o){if(e<4)return null;var r=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),s=this.getIndentRulesSupport(r.languageId);if(!s)return null;var u,l=r.getLineContent(),c=l.substr(0,n.startColumn-1-r.firstCharOffset);n.isEmpty()?u=l.substr(n.startColumn-1-r.firstCharOffset):u=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-r.firstCharOffset);if(!s.shouldDecrease(c+u)&&s.shouldDecrease(c+i+u)){var d=this.getInheritIndentForLine(e,t,n.startLineNumber,!1);if(!d)return null;var h=d.indentation;return d.action!==a.a.Indent&&(h=o.unshiftIndent(h)),h}return null},e.prototype.getIndentMetadata=function(e,t){var n=this.getIndentRulesSupport(e.getLanguageIdentifier().id);return n?t<1||t>e.getLineCount()?null:n.getIndentMetadata(e.getLineContent(t)):null},e.prototype.getEnterAction=function(e,t,n){var i=this.getScopedLineTokens(t,n.startLineNumber,n.startColumn),o=this._getRichEditSupport(i.languageId);if(!o)return null;var r,s=i.getLineContent(),u=s.substr(0,n.startColumn-1-i.firstCharOffset);n.isEmpty()?r=s.substr(n.startColumn-1-i.firstCharOffset):r=this.getScopedLineTokens(t,n.endLineNumber,n.endColumn).getLineContent().substr(n.endColumn-1-i.firstCharOffset);var l="";if(n.startLineNumber>1&&0===i.firstCharOffset){var c=this.getScopedLineTokens(t,n.startLineNumber-1);c.languageId===i.languageId&&(l=c.getLineContent())}var d=o.onEnter(e,l,u,r);if(!d)return null;var h=d.indentAction,p=d.appendText,f=d.removeText||0;p||(p=h===a.a.Indent||h===a.a.IndentOutdent?"\t":"");var g=this.getIndentationAtPosition(t,n.startLineNumber,n.startColumn);return f&&(g=g.substring(0,g.length-f)),{indentAction:h,appendText:p,removeText:f,indentation:g}},e.prototype.getIndentationAtPosition=function(e,t,n){var i=e.getLineContent(t),o=r.t(i);return o.length>n-1&&(o=o.substring(0,n-1)),o},e.prototype.getScopedLineTokens=function(e,t,n){e.forceTokenization(t);var i=e.getLineTokens(t),o=void 0===n?e.getLineMaxColumn(t)-1:n-1;return Object(u.a)(i,o)},e.prototype.getBracketsSupport=function(e){var t=this._getRichEditSupport(e);return t&&t.brackets||null},e}())},"ci+S": /*!***********************************************************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.css ***! \***********************************************************************************************************/ @@ -1629,14 +1629,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/event.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/keyboardEvent.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/touch.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/list/listView.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/list/listView.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/arrays.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/color.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/decorators.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/event.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/filters.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/filters.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/numbers.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/numbers.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/objects.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/platform.js (<- Module uses injected variables (process, global)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/types.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -1658,17 +1658,17 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/map.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/strings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/uri.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/core/editorState.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/core/editorState.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modelService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/view/editorColorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/commands/common/commands.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/extensions.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/storage/common/storage.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/themeService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */function(e,t,n){"use strict";n.r(t),n.d(t,"CodeLensContribution",(function(){return z}));var i=n("X+cX"),o=n("/cxE"),r=n("pmY6"),s=n("vATl"),a=n("sswD"),u=n("twdY"),l=n("6OMU"),c=n("JQT/"),d=n("bY76"),h=n("G2kB"),p=function(){function e(){this.lenses=[],this._disposables=new r.b}return e.prototype.dispose=function(){this._disposables.dispose()},e.prototype.add=function(e,t){this._disposables.add(e);for(var n=0,i=e.lenses;nt.symbol.range.startLineNumber?1:i.get(e.provider)i.get(t.provider)?1:e.symbol.range.startColumnt.symbol.range.startColumn?1:0})),r}))}Object(a.j)("_executeCodeLensProvider",(function(e,t){var n=t.resource,i=t.itemResolveCount;if(!(n instanceof d.a))throw Object(o.b)();var s=e.get(h.a).getModel(n);if(!s)throw Object(o.b)();var a=[],u=new r.b;return f(s,c.a.None).then((function(e){u.add(e);for(var t=[],n=function(e){void 0===i||Boolean(e.symbol.command)?a.push(e.symbol):i-- >0&&e.provider.resolveCodeLens&&t.push(Promise.resolve(e.provider.resolveCodeLens(s,e.symbol,c.a.None)).then((function(t){return a.push(t||e.symbol)})))},o=0,r=e.lenses;o"+s+"",this._commands.set(String(o),r.command)):n+=""+s+"",o+1 | ")}}i?(n||(n=" "),this._domNode.innerHTML=n,this._isEmpty&&t&&g.f(this._domNode,"fadein"),this._isEmpty=!1):this._domNode.innerHTML="no commands"},e.prototype.getCommand=function(e){return e.parentElement===this._domNode?this._commands.get(e.id):void 0},e.prototype.getId=function(){return this._id},e.prototype.getDomNode=function(){return this._domNode},e.prototype.updatePosition=function(e){var t=this._editor.getModel().getLineFirstNonWhitespaceColumn(e);this._widgetPosition={position:{lineNumber:e,column:t},preference:[1]}},e.prototype.getPosition=function(){return this._widgetPosition||null},e._idPool=0,e}(),L=function(){function e(){this._removeDecorations=[],this._addDecorations=[],this._addDecorationsCallbacks=[]}return e.prototype.addDecoration=function(e,t){this._addDecorations.push(e),this._addDecorationsCallbacks.push(t)},e.prototype.removeDecoration=function(e){this._removeDecorations.push(e)},e.prototype.commit=function(e){for(var t=e.deltaDecorations(this._removeDecorations,this._addDecorations),n=0,i=t.length;n0&&(this._createContentWidgetIfNecessary(),this._contentWidget.withCommands(u,!1))}return e.prototype._createContentWidgetIfNecessary=function(){this._contentWidget||(this._contentWidget=new O(this._editor,this._className,this._viewZone.afterLineNumber+1),this._editor.addContentWidget(this._contentWidget))},e.prototype.dispose=function(e,t){this._decorationIds.forEach(e.removeDecoration,e),this._decorationIds=[],t&&t.removeZone(this._viewZoneId),this._contentWidget&&(this._editor.removeContentWidget(this._contentWidget),this._contentWidget=void 0),this._isDisposed=!0},e.prototype.isDisposed=function(){return this._isDisposed},e.prototype.isValid=function(){var e=this;return this._decorationIds.some((function(t,n){var i=e._editor.getModel().getDecorationRange(t),o=e._data[n].symbol;return!(!i||_.a.isEmpty(o.range)!==i.isEmpty())}))},e.prototype.updateCodeLensSymbols=function(e,t){var n=this;this._decorationIds.forEach(t.removeDecoration,t),this._decorationIds=[],this._data=e,this._data.forEach((function(e,i){t.addDecoration({range:e.symbol.range,options:b.a.EMPTY},(function(e){return n._decorationIds[i]=e}))}))},e.prototype.computeIfNecessary=function(e){if(!this._viewZone.domNode.hasAttribute("monaco-visible-view-zone"))return null;for(var t=0;t a:hover { color: "+i+" !important; }"),t.addRule(".monaco-editor .codelens-decoration > a:hover .codicon { color: "+i+" !important; }"))}));var x=n("nnTU"),N=n("sM1p"),k=n("Cg/j"),E=n("9fML"),I=n("QDVR"),M=n("A+jI"),T=n("C/vA"),P=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},R=function(e,t){return function(n,i){t(n,i,e)}},A=Object(k.c)("ICodeLensCache"),F=function(e,t){this.lineCount=e,this.data=t},j=function(){function e(e){var t=this;this._fakeProvider=new(function(){function e(){}return e.prototype.provideCodeLenses=function(){throw new Error("not supported")},e}()),this._cache=new I.a(20,.75);Object(i.k)((function(){return e.remove("codelens/cache",1)}));var n="codelens/cache2",o=e.get(n,1,"{}");this._deserialize(o),Object(T.a)(e.onWillSaveState)((function(i){i.reason===M.c.SHUTDOWN&&e.store(n,t._serialize(),1)}))}return e.prototype.put=function(e,t){var n=t.lenses.map((function(e){var t;return{range:e.symbol.range,command:e.symbol.command&&{id:"",title:null===(t=e.symbol.command)||void 0===t?void 0:t.title}}})),i=new p;i.add({lenses:n,dispose:function(){}},this._fakeProvider);var o=new F(e.getLineCount(),i);this._cache.set(e.uri.toString(),o)},e.prototype.get=function(e){var t=this._cache.get(e.uri.toString());return t&&t.lineCount===e.getLineCount()?t.data:void 0},e.prototype.delete=function(e){this._cache.delete(e.uri.toString())},e.prototype._serialize=function(){var e=Object.create(null);return this._cache.forEach((function(t,n){for(var i=new Set,o=0,r=t.data.lenses;o=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},B=function(e,t){return function(n,i){t(n,i,e)}},H=function(){for(var e=0,t=0,n=arguments.length;t a > .codicon { line-height: "+n+"px; font-size: "+o+"px; }\n\t\t";this._styleElement.innerHTML=r},e.prototype._localDispose=function(){this._currentFindCodeLensSymbolsPromise&&(this._currentFindCodeLensSymbolsPromise.cancel(),this._currentFindCodeLensSymbolsPromise=void 0,this._modelChangeCounter++),this._currentResolveCodeLensSymbolsPromise&&(this._currentResolveCodeLensSymbolsPromise.cancel(),this._currentResolveCodeLensSymbolsPromise=void 0),this._localToDispose.clear(),this._oldCodeLensModels.clear(),Object(r.f)(this._currentCodeLensModel)},e.prototype._onModelChange=function(){var e=this;this._localDispose();var t=this._editor.getModel();if(t&&this._isEnabled){var n=this._codeLensCache.get(t);if(n&&this._renderCodeLensSymbols(n),u.b.has(t)){for(var a=0,l=u.b.all(t);a0&&h.schedule()}))),this._localToDispose.add(this._editor.onDidLayoutChange((function(){h.schedule()}))),this._localToDispose.add(Object(r.h)((function(){if(e._editor.getModel()){var t=s.c.capture(e._editor);e._editor.changeDecorations((function(t){e._editor.changeViewZones((function(n){e._disposeAllLenses(t,n)}))})),t.restore(e._editor)}else e._disposeAllLenses(void 0,void 0)}))),this._localToDispose.add(this._editor.onMouseUp((function(t){var n;if(9===t.target.type){var i=t.target.element;if("SPAN"===(null==i?void 0:i.tagName)&&(i=i.parentElement),"A"===(null==i?void 0:i.tagName))for(var o=0,r=e._lenses;oi||(n&&n[n.length-1].symbol.range.startLineNumber===l?n.push(u):(n=[u],o.push(n)))}var c=s.c.capture(this._editor);this._editor.changeDecorations((function(e){t._editor.changeViewZones((function(n){for(var i=new L,r=0,s=0;s=0;n--)t[n].lineNumber===t[n+1].lineNumber&&t.splice(n,1);for(var i=[],o=0,r=0,s=t.length,a=1,d=e.getLineCount();a<=d;a++){var h=e.getLineContent(a),p=h.length+1,f=0;if(!(r=i.startLineNumber+1&&t<=i.endLineNumber+1?e.getLineContent(t-1):e.getLineContent(t)};var L=b.a.getGoodIndentForLine(this._autoIndent,d,e.getLanguageIdAtPosition(g,1),i.startLineNumber+1,l);if(null!==L){O=u.t(e.getLineContent(i.startLineNumber));if((k=y(L,r))!==(E=y(O,r))){var D=k-E;this.getIndentEditsOfMovingBlock(e,t,i,r,a,D)}}}}else t.addEditOperation(new c.a(i.startLineNumber,1,i.startLineNumber,1),v+"\n")}else{var x;if(g=i.startLineNumber-1,m=e.getLineContent(g),t.addEditOperation(new c.a(g,1,g+1,1),null),t.addEditOperation(new c.a(i.endLineNumber,e.getLineMaxColumn(i.endLineNumber),i.endLineNumber,e.getLineMaxColumn(i.endLineNumber)),"\n"+m),this.shouldAutoIndent(e,i))if(d.getLineContent=function(t){return t===g?e.getLineContent(i.startLineNumber):e.getLineContent(t)},null!==(x=this.matchEnterRule(e,l,r,i.startLineNumber,i.startLineNumber-2)))0!==x&&this.getIndentEditsOfMovingBlock(e,t,i,r,a,x);else{var N=b.a.getGoodIndentForLine(this._autoIndent,d,e.getLanguageIdAtPosition(i.startLineNumber,1),g,l);if(null!==N){var k,E,I=u.t(e.getLineContent(i.startLineNumber));if((k=y(N,r))!==(E=y(I,r))){D=k-E;this.getIndentEditsOfMovingBlock(e,t,i,r,a,D)}}}}}this._selectionId=t.trackSelection(i)}else this._selectionId=t.trackSelection(this._selection)},e.prototype.buildIndentConverter=function(e,t,n){return{shiftIndent:function(i){return v.a.shiftIndent(i,i.length+1,e,t,n)},unshiftIndent:function(i){return v.a.unshiftIndent(i,i.length+1,e,t,n)}}},e.prototype.matchEnterRule=function(e,t,n,i,o,r){for(var s=o;s>=1;){var a=void 0;if(a=s===o&&void 0!==r?r:e.getLineContent(s),u.D(a)>=0)break;s--}if(s<1||i>e.getLineCount())return null;var l=e.getLineMaxColumn(s),d=b.a.getEnterAction(this._autoIndent,e,new c.a(s,l,s,l));if(d){var h=d.indentation;d.indentAction===_.a.None||d.indentAction===_.a.Indent?h=d.indentation+d.appendText:d.indentAction===_.a.IndentOutdent?h=d.indentation:d.indentAction===_.a.Outdent&&(h=t.unshiftIndent(d.indentation)+d.appendText);var p=e.getLineContent(i);if(this.trimLeft(p).indexOf(this.trimLeft(h))>=0){var f=u.t(e.getLineContent(i)),g=u.t(h),m=b.a.getIndentMetadata(e,i);return null!==m&&2&m&&(g=t.unshiftIndent(g)),y(g,n)-y(f,n)}}return null},e.prototype.trimLeft=function(e){return e.replace(/^\s+/,"")},e.prototype.shouldAutoIndent=function(e,t){if(this._autoIndent<4)return!1;if(!e.isCheapToTokenize(t.startLineNumber))return!1;var n=e.getLanguageIdAtPosition(t.startLineNumber,1);return n===e.getLanguageIdAtPosition(t.endLineNumber,1)&&null!==b.a.getIndentRulesSupport(n)},e.prototype.getIndentEditsOfMovingBlock=function(e,t,n,i,o,r){for(var s=n.startLineNumber;s<=n.endLineNumber;s++){var a=e.getLineContent(s),l=u.t(a),d=C(y(l,i)+r,i,o);d!==l&&(t.addEditOperation(new c.a(s,1,s,l.length+1),d),s===n.endLineNumber&&n.endColumn<=l.length+1&&""===d&&(this._moveEndLineSelectionShrink=!0))}},e.prototype.computeCursorState=function(e,t){var n=t.getTrackedSelection(this._selectionId);return this._moveEndPositionDown&&(n=n.setEndPosition(n.endLineNumber+1,1)),this._moveEndLineSelectionShrink&&n.startLineNumber=o)return null;for(var r=[],s=i;s<=o;s++)r.push(e.getLineContent(s));var a=r.slice(0);return a.sort(S.getCollator().compare),!0===n&&(a=a.reverse()),{startLineNumber:i,endLineNumber:o,before:r,after:a}}var L,D=(L=function(e,t){return(L=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}L(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),x=function(e){function t(t,n){var i=e.call(this,n)||this;return i.down=t,i}return D(t,e),t.prototype.run=function(e,t){for(var n=[],i=0,o=t.getSelections()||[];i1&&(d-=1,p=i.getLineMaxColumn(d)),r.push(l.a.replace(new f.a(d,p,h,g),"")),s.push(new f.a(d-o,c.positionColumn,d-o,c.positionColumn)),o+=c.endLineNumber-c.startLineNumber+1}t.pushUndoStop(),t.executeEdits(this.id,r,s),t.pushUndoStop()}}},t.prototype._getLinesToRemove=function(e){var t=e.getSelections().map((function(e){var t=e.endLineNumber;return e.startLineNumber=t[o].startLineNumber?i.endLineNumber=t[o].endLineNumber:(n.push(i),i=t[o]);return n.push(i),n},t}(s.b),W=function(e){function t(){return e.call(this,{id:"editor.action.indentLines",label:i.a("lines.indent","Indent Line"),alias:"Indent Line",precondition:g.a.writable,kbOpts:{kbExpr:g.a.editorTextFocus,primary:2137,weight:100}})||this}return D(t,e),t.prototype.run=function(e,t){var n=t._getCursors();n&&(t.pushUndoStop(),t.executeCommands(this.id,h.a.indent(n.context.config,t.getModel(),t.getSelections())),t.pushUndoStop())},t}(s.b),V=function(e){function t(){return e.call(this,{id:"editor.action.outdentLines",label:i.a("lines.outdent","Outdent Line"),alias:"Outdent Line",precondition:g.a.writable,kbOpts:{kbExpr:g.a.editorTextFocus,primary:2135,weight:100}})||this}return D(t,e),t.prototype.run=function(e,t){r.CoreEditingCommands.Outdent.runEditorCommand(e,t,null)},t}(s.b),B=function(e){function t(){return e.call(this,{id:"editor.action.insertLineBefore",label:i.a("lines.insertBefore","Insert Line Above"),alias:"Insert Line Above",precondition:g.a.writable,kbOpts:{kbExpr:g.a.editorTextFocus,primary:3075,weight:100}})||this}return D(t,e),t.prototype.run=function(e,t){var n=t._getCursors();n&&(t.pushUndoStop(),t.executeCommands(this.id,h.a.lineInsertBefore(n.context.config,t.getModel(),t.getSelections())))},t}(s.b),H=function(e){function t(){return e.call(this,{id:"editor.action.insertLineAfter",label:i.a("lines.insertAfter","Insert Line Below"),alias:"Insert Line Below",precondition:g.a.writable,kbOpts:{kbExpr:g.a.editorTextFocus,primary:2051,weight:100}})||this}return D(t,e),t.prototype.run=function(e,t){var n=t._getCursors();n&&(t.pushUndoStop(),t.executeCommands(this.id,h.a.lineInsertAfter(n.context.config,t.getModel(),t.getSelections())))},t}(s.b),z=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.run=function(e,t){if(t.hasModel()){for(var n=t.getSelection(),i=this._getRangesToDelete(t),o=[],r=0,s=i.length-1;r0){var s=t.startLineNumber-o;r=new f.a(s,t.startColumn,s,t.startColumn)}else r=new f.a(t.startLineNumber,t.startColumn,t.startLineNumber,t.startColumn);o+=t.endLineNumber-t.startLineNumber,t.intersectRanges(e)?n=r:i.push(r)})),n&&i.unshift(n),i},t.prototype._getRangesToDelete=function(e){var t=e.getSelections();if(null===t)return[];var n=t,i=e.getModel();return null===i?[]:(n.sort(c.a.compareRangesUsingStarts),n=n.map((function(e){if(e.isEmpty()){if(1===e.startColumn){var t=Math.max(1,e.startLineNumber-1),n=1===e.startLineNumber?1:i.getLineContent(t).length+1;return new c.a(t,n,e.startLineNumber,1)}return new c.a(e.startLineNumber,1,e.startLineNumber,e.startColumn)}return new c.a(e.startLineNumber,1,e.endLineNumber,e.endColumn)})))},t}(z),K=function(e){function t(){return e.call(this,{id:"deleteAllRight",label:i.a("lines.deleteAllRight","Delete All Right"),alias:"Delete All Right",precondition:g.a.writable,kbOpts:{kbExpr:g.a.textInputFocus,primary:0,mac:{primary:297,secondary:[2068]},weight:100}})||this}return D(t,e),t.prototype._getEndCursorState=function(e,t){for(var n=null,i=[],o=0,r=t.length;oe.endLineNumber+1?(o.push(e),t):new f.a(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn):t.startLineNumber>e.endLineNumber?(o.push(e),t):new f.a(e.startLineNumber,e.startColumn,t.endLineNumber,t.endColumn)}));o.push(r);var s=t.getModel();if(null!==s){for(var a=[],u=[],d=i,h=0,p=0,g=o.length;p=1){var x=!0;""===S&&(x=!1),!x||" "!==S.charAt(S.length-1)&&"\t"!==S.charAt(S.length-1)||(x=!1,S=S.replace(/[\s\uFEFF\xA0]+$/g," "));var N=L.substr(D-1);S+=(x?" ":"")+N,_=x?N.length+1:N.length}else _=0}var k=new c.a(v,1,b,y);if(!k.isEmpty()){var E=void 0;m.isEmpty()?(a.push(l.a.replace(k,S)),E=new f.a(k.startLineNumber-h,S.length-_+1,v-h,S.length-_+1)):m.startLineNumber===m.endLineNumber?(a.push(l.a.replace(k,S)),E=new f.a(m.startLineNumber-h,m.startColumn,m.endLineNumber-h,m.endColumn)):(a.push(l.a.replace(k,S)),E=new f.a(m.startLineNumber-h,m.startColumn,m.startLineNumber-h,S.length-C)),null!==c.a.intersectRanges(k,i)?d=E:u.push(E)}h+=k.endLineNumber-k.startLineNumber}u.unshift(d),t.pushUndoStop(),t.executeEdits(this.id,a,u),t.pushUndoStop()}}}},t}(s.b),G=function(e){function t(){return e.call(this,{id:"editor.action.transpose",label:i.a("editor.transpose","Transpose characters around the cursor"),alias:"Transpose characters around the cursor",precondition:g.a.writable})||this}return D(t,e),t.prototype.run=function(e,t){var n=t.getSelections();if(null!==n){var i=t.getModel();if(null!==i){for(var o=[],r=0,s=n.length;r=d){if(l.lineNumber===i.getLineCount())continue;var h=new c.a(l.lineNumber,Math.max(1,l.column-1),l.lineNumber+1,1),p=i.getValueInRange(h).split("").reverse().join("");o.push(new a.a(new f.a(l.lineNumber,Math.max(1,l.column-1),l.lineNumber+1,1),p))}else{h=new c.a(l.lineNumber,Math.max(1,l.column-1),l.lineNumber,l.column+1),p=i.getValueInRange(h).split("").reverse().join("");o.push(new a.b(h,p,new f.a(l.lineNumber,l.column+1,l.lineNumber,l.column+1)))}}}t.pushUndoStop(),t.executeCommands(this.id,o),t.pushUndoStop()}}},t}(s.b),Y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return D(t,e),t.prototype.run=function(e,t){var n=t.getSelections();if(null!==n){var i=t.getModel();if(null!==i){for(var o=t.getOption(96),r=[],s=0,u=n.length;s=0?(o=!0,i+=s):o?(o=!1,i+=s.toLocaleUpperCase()):i+=s.toLocaleLowerCase()}return i},t}(Y);Object(s.f)(N),Object(s.f)(k),Object(s.f)(E),Object(s.f)(M),Object(s.f)(T),Object(s.f)(R),Object(s.f)(A),Object(s.f)(F),Object(s.f)(j),Object(s.f)(W),Object(s.f)(V),Object(s.f)(B),Object(s.f)(H),Object(s.f)(U),Object(s.f)(K),Object(s.f)(q),Object(s.f)(G),Object(s.f)(Z),Object(s.f)(X),Object(s.f)(Q)},dgXF: /*!*****************************************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/editor/contrib/folding/folding.js + 7 modules ***! @@ -1718,9 +1718,9 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/nls.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -1760,14 +1760,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/codiconLabel/codiconLabel.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickOutline.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/iconLabel/iconLabel.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/gotoLine.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/list/listWidget.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/list/listWidget.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/scrollbar/scrollableElement.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/arrays.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/async.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/cancellation.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/errors.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/event.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/filters.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/filters.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/htmlContent.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/keyCodes.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -1779,26 +1779,26 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/types.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/uri.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/format/formatActions.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/editOperation.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/characterClassifier.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordPartOperations/wordPartOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/editOperation.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/position.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/modesRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/format/formatActions.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/editorWorkerService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modeService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modelService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/documentSymbols/outlineTree.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickOutline.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/markdown/markdownRenderer.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/hover/hover.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/markdown/markdownRenderer.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/parameterHints/parameterHints.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/bracketSelections.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/smartSelect/smartSelect.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js (<- Module is referenced from these modules with unsupported syntax: include-loader!./node_modules/monaco-editor/esm/vs/editor/editor.api.js (referenced with cjs require)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetParser.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggest.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/nls.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/commands/common/commands.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/configuration/common/configuration.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/extensions.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -1831,7 +1831,7 @@ /*! exports provided: ContextMenuController */ /*! all exports used */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dom.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/menu/menu.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -1847,7 +1847,7 @@ /*! exports provided: ElementsDragAndDropData, ExternalElementsDragAndDropData, DesktopDragAndDropData, ListView */ /*! exports used: ElementsDragAndDropData, ListView */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/browser.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dnd.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dnd.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dom.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/event.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/touch.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -1858,7 +1858,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/event.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/lifecycle.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/objects.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return O})),n.d(t,"b",(function(){return x}));var i=n("qj0h"),o=n("pmY6"),r=n("pg8w"),s=n("EffR"),a=n("MI8n"),u=n("4y0V"),l=n("GJhM"),c=n("nuFA");function d(e,t){for(var n=[],i=0,o=t;i=r.range.end)){if(e.end=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},w=function(){for(var e=0,t=0,n=arguments.length;t=this.items.length?(this.rangeMap=new f,this.rangeMap.splice(0,0,v),this.items=v,d=[]):(this.rangeMap.splice(e,t,v),d=(i=this.items).splice.apply(i,w([e,t],v)));var _=n.length-t,b=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),y=h(g,_),C=c.a.intersect(b,y);for(l=C.start;l=-1&&en&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-n))))}},e.prototype.teardownDragAndDropScrollTopAnimation=function(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},e.prototype.getItemIndexFromEventTarget=function(e){for(var t=e;t instanceof HTMLElement&&t!==this.rowsContainer;){var n=t.getAttribute("data-index");if(n){var i=Number(n);if(!isNaN(i))return i}t=t.parentElement}},e.prototype.getRenderRange=function(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}},e.prototype._rerender=function(e,t){var n,i,o=this.getRenderRange(e,t);e===this.elementTop(o.start)?(n=o.start,i=0):o.end-o.start>1&&(n=o.start+1,i=this.elementTop(n)-e);for(var r=0;;){for(var s=this.getRenderRange(e,t),a=!1,u=s.start;u=r.range.end)){if(e.end=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},w=function(){for(var e=0,t=0,n=arguments.length;t=this.items.length?(this.rangeMap=new f,this.rangeMap.splice(0,0,v),this.items=v,d=[]):(this.rangeMap.splice(e,t,v),d=(i=this.items).splice.apply(i,w([e,t],v)));var _=n.length-t,b=this.getRenderRange(this.lastRenderTop,this.lastRenderHeight),y=h(g,_),C=c.a.intersect(b,y);for(l=C.start;l=-1&&en&&(this.scrollTop+=Math.min(14,Math.floor(.3*(t-n))))}},e.prototype.teardownDragAndDropScrollTopAnimation=function(){this.dragOverAnimationStopDisposable.dispose(),this.dragOverAnimationDisposable&&(this.dragOverAnimationDisposable.dispose(),this.dragOverAnimationDisposable=void 0)},e.prototype.getItemIndexFromEventTarget=function(e){for(var t=e;t instanceof HTMLElement&&t!==this.rowsContainer;){var n=t.getAttribute("data-index");if(n){var i=Number(n);if(!isNaN(i))return i}t=t.parentElement}},e.prototype.getRenderRange=function(e,t){return{start:this.rangeMap.indexAt(e),end:this.rangeMap.indexAfter(e+t-1)}},e.prototype._rerender=function(e,t){var n,i,o=this.getRenderRange(e,t);e===this.elementTop(o.start)?(n=o.start,i=0):o.end-o.start>1&&(n=o.start+1,i=this.elementTop(n)-e);for(var r=0;;){for(var s=this.getRenderRange(e,t),a=!1,u=s.start;u .extensions .codicon-error,\n\t\t\t.monaco-dialog-box .dialog-message-row .codicon-error {\n\t\t\t\tcolor: "+n+";\n\t\t\t}\n\t\t");var i=e.getColor(f.Rb);n&&t.addRule("\n\t\t\t.monaco-editor .zone-widget .codicon-warning,\n\t\t\t.markers-panel .marker-icon.codicon-warning,\n\t\t\t.extensions-viewlet > .extensions .codicon-warning,\n\t\t\t.extension-editor .codicon-warning,\n\t\t\t.monaco-dialog-box .dialog-message-row .codicon-warning {\n\t\t\t\tcolor: "+i+";\n\t\t\t}\n\t\t");var o=e.getColor(f.Qb);n&&t.addRule("\n\t\t\t.monaco-editor .zone-widget .codicon-info,\n\t\t\t.markers-panel .marker-icon.codicon-info,\n\t\t\t.extensions-viewlet > .extensions .codicon-info,\n\t\t\t.extension-editor .codicon-info,\n\t\t\t.monaco-dialog-box .dialog-message-row .codicon-info {\n\t\t\t\tcolor: "+o+";\n\t\t\t}\n\t\t")}));var w,S=(w=function(e,t){return(w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}w(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O=function(){function e(e,t,n,i){var o=this;this._openerService=i,this._lines=0,this._longestLineLength=0,this._relatedDiagnostics=new WeakMap,this._disposables=new s.b,this._editor=t;var r=document.createElement("div");r.className="descriptioncontainer",r.setAttribute("aria-live","assertive"),r.setAttribute("role","alert"),this._messageBlock=document.createElement("div"),p.f(this._messageBlock,"message"),r.appendChild(this._messageBlock),this._relatedBlock=document.createElement("div"),r.appendChild(this._relatedBlock),this._disposables.add(p.o(this._relatedBlock,"click",(function(e){e.preventDefault();var t=o._relatedDiagnostics.get(e.target);t&&n(t)}))),this._scrollable=new m.b(r,{horizontal:1,vertical:1,useShadows:!1,horizontalScrollbarSize:3,verticalScrollbarSize:3}),e.appendChild(this._scrollable.getDomNode()),this._disposables.add(this._scrollable.onScroll((function(e){r.style.left="-"+e.scrollLeft+"px",r.style.top="-"+e.scrollTop+"px"}))),this._disposables.add(this._scrollable)}return e.prototype.dispose=function(){Object(s.f)(this._disposables)},e.prototype.update=function(e){var t=this,n=e.source,i=e.message,o=e.relatedInformation,r=e.code,s=((null==n?void 0:n.length)||0)+"()".length;r&&(s+="string"==typeof r?r.length:r.value.length);var a=i.split(/\r\n|\r|\n/g);this._lines=a.length,this._longestLineLength=0;for(var u=0,l=a;u1?o.a("problems","{0} of {1} problems",n,r):o.a("change","{0} of {1} problem",n,r);this.setTitle(Object(y.b)(d.uri),h)}this._icon.className="codicon "+i.className(u.c.toSeverity(this._severity)),this.editor.revealPositionInCenter(c,0),this.editor.focus()},t.prototype.updateMarker=function(e){this._container.classList.remove("stale"),this._message.update(e)},t.prototype.showStale=function(){this._container.classList.add("stale"),this._relayout()},t.prototype._doLayoutBody=function(t,n){e.prototype._doLayoutBody.call(this,t,n),this._heightInPixel=t,this._message.layout(t,n),this._container.style.height=t+"px"},t.prototype._onWidth=function(e){this._message.layout(this._heightInPixel,e)},t.prototype._relayout=function(){e.prototype._relayout.call(this,this.computeRequiredHeight())},t.prototype.computeRequiredHeight=function(){return 3+this._message.getHeightInLines()},t}(b.c),D=Object(f.Kb)(f.q,f.p),x=Object(f.Kb)(f.P,f.O),N=Object(f.Kb)(f.H,f.G),k=Object(f.Tb)("editorMarkerNavigationError.background",{dark:D,light:D,hc:D},o.a("editorMarkerNavigationError","Editor marker navigation widget error color.")),E=Object(f.Tb)("editorMarkerNavigationWarning.background",{dark:x,light:x,hc:x},o.a("editorMarkerNavigationWarning","Editor marker navigation widget warning color.")),I=Object(f.Tb)("editorMarkerNavigationInfo.background",{dark:N,light:N,hc:N},o.a("editorMarkerNavigationInfo","Editor marker navigation widget info color.")),M=Object(f.Tb)("editorMarkerNavigation.background",{dark:"#2D2D30",light:g.a.white,hc:"#0C141F"},o.a("editorMarkerNavigationBackground","Editor marker navigation widget background."));Object(d.e)((function(e,t){var n=e.getColor(f.ec);n&&(t.addRule(".monaco-editor .marker-widget a { color: "+n+"; }"),t.addRule(".monaco-editor .marker-widget a.code-link span:hover { color: "+n+"; }"))}));var T=n("N0LK"),P=n("Vxe3"),R=n("/cxE"),A=n("fjLI"),F=n("8HAY"),j=n("bexQ"),W=n("W9cx"),V=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),B=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},H=function(e,t){return function(n,i){t(n,i,e)}},z=function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function a(e){try{u(i.throw(e))}catch(e){r(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((i=i.apply(e,t||[])).next())}))},U=function(e,t){var n,i,o,r,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return r={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function a(r){return function(a){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(o=2&r[0]?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[2&r[0],o.value]),r[0]){case 0:case 1:o=r;break;case 4:return s.label++,{value:r[1],done:!1};case 5:s.label++,i=r[1],r=[0];continue;case 7:r=s.ops.pop(),s.trys.pop();continue;default:if(!(o=s.trys,(o=o.length>0&&o[o.length-1])||6!==r[0]&&2!==r[0])){s=0;continue}if(3===r[0]&&(!o||r[1]>o[0]&&r[1]=0?this._markers[this._nextIdx]:void 0;this._markers=e||[],this._markers.sort(G.compareMarker),this._nextIdx=t?Math.max(-1,Object(_.c)(this._markers,t,G.compareMarker)):-1,this._onMarkerSetChanged.fire(this)},e.prototype.withoutWatchingEditorPosition=function(e){this._ignoreSelectionChange=!0;try{e()}finally{this._ignoreSelectionChange=!1}},e.prototype._initIdx=function(e){for(var t=!1,n=this._editor.getPosition(),i=0;i0?this._nextIdx=(this._nextIdx-1+this._markers.length)%this._markers.length:i=!0),n!==this._nextIdx){var o=this._markers[this._nextIdx];this._onCurrentMarkerChanged.fire(o)}return i},e.prototype.canNavigate=function(){return this._markers.length>0},e.prototype.findMarkerAtPosition=function(e){return Object(_.h)(this._markers,(function(t){return l.a.containsPosition(t,e)}))},Object.defineProperty(e.prototype,"total",{get:function(){return this._markers.length},enumerable:!0,configurable:!0}),e.prototype.indexOf=function(e){return 1+this._markers.indexOf(e)},e.prototype.dispose=function(){this._toUnbind.dispose()},e}(),q=function(){function e(e,t,n,i,o,r,a){this._markerService=t,this._contextKeyService=n,this._themeService=i,this._editorService=o,this._keybindingService=r,this._openerService=a,this._model=null,this._widget=null,this._disposeOnClose=new s.b,this._editor=e,this._widgetVisible=J.bindTo(this._contextKeyService)}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.dispose=function(){this._cleanUp(),this._disposeOnClose.dispose()},e.prototype._cleanUp=function(){this._widgetVisible.reset(),this._disposeOnClose.clear(),this._widget=null,this._model=null},e.prototype.getOrCreateModel=function(){var e=this;if(this._model)return this._model;var t=this._getMarkers();this._model=new K(this._editor,t),this._markerService.onMarkerChanged(this._onMarkerChanged,this,this._disposeOnClose);var n=this._keybindingService.lookupKeybinding(Z.ID),i=this._keybindingService.lookupKeybinding(Y.ID),o=[new F.a(Y.ID,Y.LABEL+(i?" ("+i.getLabel()+")":""),"show-next-problem codicon-chevron-down",this._model.canNavigate(),(function(){return z(e,void 0,void 0,(function(){return U(this,(function(e){return this._model&&this._model.move(!0,!0),[2]}))}))})),new F.a(Z.ID,Z.LABEL+(n?" ("+n.getLabel()+")":""),"show-previous-problem codicon-chevron-up",this._model.canNavigate(),(function(){return z(e,void 0,void 0,(function(){return U(this,(function(e){return this._model&&this._model.move(!1,!0),[2]}))}))}))];this._widget=new L(this._editor,o,this._themeService,this._openerService),this._widgetVisible.set(!0),this._widget.onDidClose((function(){return e.closeMarkersNavigation()}),this,this._disposeOnClose),this._disposeOnClose.add(this._model),this._disposeOnClose.add(this._widget);for(var r=0,s=o;re.length)return!1;for(var o=0;o=65&&r<=90&&r+32===s||s>=65&&s<=90&&s+32===r))return!1}return!0},e.prototype._createOperationsForBlockComment=function(t,n,i,o,r,s){var a,u=t.startLineNumber,l=t.startColumn,d=t.endLineNumber,h=t.endColumn,p=r.getLineContent(u),f=r.getLineContent(d),g=p.lastIndexOf(n,l-1+n.length),m=f.indexOf(i,h-1-i.length);if(-1!==g&&-1!==m)if(u===d){p.substring(g+n.length,m).indexOf(i)>=0&&(g=-1,m=-1)}else{var v=p.substring(g+n.length),_=f.substring(0,m);(v.indexOf(i)>=0||_.indexOf(i)>=0)&&(g=-1,m=-1)}-1!==g&&-1!==m?(o&&g+n.length0&&32===f.charCodeAt(m-1)&&(i=" "+i,m-=1),a=e._createRemoveBlockCommentOperations(new c.a(u,g+n.length+1,d,m+1),n,i)):(a=e._createAddBlockCommentOperations(t,n,i,this._insertSpace),this._usedEndToken=1===a.length?i:null);for(var b=0,y=a;ba?r-1:r}},e}(),m=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),v=function(e){function t(t,n){var i=e.call(this,n)||this;return i._type=t,i}return m(t,e),t.prototype.run=function(e,t){if(t.hasModel()){for(var n=t.getModel(),i=[],o=t.getSelections(),r=n.getOptions(),s=t.getOption(13),a=0,u=o;a=u?o=Math.max(o,u+l-i):(t[n++]=new F(i,o),i=u,o=l)}return t[n++]=new F(i,o),t},e._createHorizontalRangesFromClientRects=function(e,t){if(!e||0===e.length)return null;for(var n=[],i=0,o=e.length;ia)return null;(t=Math.min(a,Math.max(0,t)))!==(i=Math.min(a,Math.max(0,i)))&&i>0&&0===o&&(i--,o=1073741824);var u=e.children[t].firstChild,l=e.children[i].firstChild;if(u&&l||(!u&&0===n&&t>0&&(u=e.children[t-1].firstChild,n=1073741824),!l&&0===o&&i>0&&(l=e.children[i-1].firstChild,o=1073741824)),!u||!l)return null;n=Math.min(u.textContent.length,Math.max(0,n)),o=Math.min(l.textContent.length,Math.max(0,o));var c=this._readClientRects(u,n,l,o,s);return this._createHorizontalRangesFromClientRects(c,r)},e}(),H=n("dBaI"),z=n("baJR"),U=n("t9D7"),K=n("/UlZ"),q=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),G=!!f.f||!(f.d||m.h||m.k),Y=m.f,Z=function(){function e(e,t){this._domNode=e,this._clientRectDeltaLeft=0,this._clientRectDeltaLeftRead=!1,this.endNode=t}return Object.defineProperty(e.prototype,"clientRectDeltaLeft",{get:function(){return this._clientRectDeltaLeftRead||(this._clientRectDeltaLeftRead=!0,this._clientRectDeltaLeft=this._domNode.getBoundingClientRect().left),this._clientRectDeltaLeft},enumerable:!0,configurable:!0}),e}(),X=function(){function e(e,t){this.themeType=t;var n=e.options,i=n.get(34);this.renderWhitespace=n.get(74),this.renderControlCharacters=n.get(69),this.spaceWidth=i.spaceWidth,this.middotWidth=i.middotWidth,this.useMonospaceOptimizations=i.isMonospace&&!n.get(23),this.canUseHalfwidthRightwardsArrow=i.canUseHalfwidthRightwardsArrow,this.lineHeight=n.get(49),this.stopRenderingLineAfter=n.get(88),this.fontLigatures=n.get(35)}return e.prototype.equals=function(e){return this.themeType===e.themeType&&this.renderWhitespace===e.renderWhitespace&&this.renderControlCharacters===e.renderControlCharacters&&this.spaceWidth===e.spaceWidth&&this.middotWidth===e.middotWidth&&this.useMonospaceOptimizations===e.useMonospaceOptimizations&&this.canUseHalfwidthRightwardsArrow===e.canUseHalfwidthRightwardsArrow&&this.lineHeight===e.lineHeight&&this.stopRenderingLineAfter===e.stopRenderingLineAfter&&this.fontLigatures===e.fontLigatures},e}(),Q=function(){function e(e){this._options=e,this._isMaybeInvalid=!0,this._renderedViewLine=null}return e.prototype.getDomNode=function(){return this._renderedViewLine&&this._renderedViewLine.domNode?this._renderedViewLine.domNode.domNode:null},e.prototype.setDomNode=function(e){if(!this._renderedViewLine)throw new Error("I have no rendered view line to set the dom node to...");this._renderedViewLine.domNode=Object(p.b)(e)},e.prototype.onContentChanged=function(){this._isMaybeInvalid=!0},e.prototype.onTokensChanged=function(){this._isMaybeInvalid=!0},e.prototype.onDecorationsChanged=function(){this._isMaybeInvalid=!0},e.prototype.onOptionsChanged=function(e){this._isMaybeInvalid=!0,this._options=e},e.prototype.onSelectionChanged=function(){return!(!Y&&this._options.themeType!==U.b&&"selection"!==this._options.renderWhitespace)&&(this._isMaybeInvalid=!0,!0)},e.prototype.renderLine=function(t,n,i,o){if(!1===this._isMaybeInvalid)return!1;this._isMaybeInvalid=!1;var r=i.getViewLineRenderingData(t),s=this._options,a=H.a.filter(r.inlineDecorations,t,r.minColumn,r.maxColumn),u=null;if(Y||s.themeType===U.b||"selection"===this._options.renderWhitespace)for(var l=0,c=i.selections;lt)){var h=d.startLineNumber===t?d.startColumn:r.minColumn,p=d.endLineNumber===t?d.endColumn:r.maxColumn;h');var g=Object(z.d)(f,o);o.appendASCIIString("");var m=null;return G&&r.isBasicASCII&&s.useMonospaceOptimizations&&0===g.containsForeignElements&&r.content.length<300&&f.lineTokens.getCount()<100&&(m=new J(this._renderedViewLine?this._renderedViewLine.domNode:null,f,g.characterMapping)),m||(m=te(this._renderedViewLine?this._renderedViewLine.domNode:null,f,g.characterMapping,g.containsRTL,g.containsForeignElements)),this._renderedViewLine=m,!0},e.prototype.layoutLine=function(e,t){this._renderedViewLine&&this._renderedViewLine.domNode&&(this._renderedViewLine.domNode.setTop(t),this._renderedViewLine.domNode.setHeight(this._options.lineHeight))},e.prototype.getWidth=function(){return this._renderedViewLine?this._renderedViewLine.getWidth():0},e.prototype.getWidthIsFast=function(){return!this._renderedViewLine||this._renderedViewLine.getWidthIsFast()},e.prototype.getVisibleRangesForRange=function(e,t,n){if(!this._renderedViewLine)return null;e|=0,t|=0,e=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,e)),t=Math.min(this._renderedViewLine.input.lineContent.length+1,Math.max(1,t));var i=0|this._renderedViewLine.input.stopRenderingLineAfter,o=!1;-1!==i&&e>i+1&&t>i+1&&(o=!0),-1!==i&&e>i+1&&(e=i+1),-1!==i&&t>i+1&&(t=i+1);var r=this._renderedViewLine.getVisibleRangesForRange(e,t,n);return r&&r.length>0?new W(o,r):null},e.prototype.getColumnOfNodeOffset=function(e,t,n){return this._renderedViewLine?this._renderedViewLine.getColumnOfNodeOffset(e,t,n):1},e.CLASS_NAME="view-line",e}(),J=function(){function e(e,t,n){this.domNode=e,this.input=t,this._characterMapping=n,this._charWidth=t.spaceWidth}return e.prototype.getWidth=function(){return this._getCharPosition(this._characterMapping.length)},e.prototype.getWidthIsFast=function(){return!0},e.prototype.getVisibleRangesForRange=function(e,t,n){var i=this._getCharPosition(e),o=this._getCharPosition(t);return[new F(i,o-i)]},e.prototype._getCharPosition=function(e){var t=this._characterMapping.getAbsoluteOffsets();return 0===t.length?0:Math.round(this._charWidth*t[e-1])},e.prototype.getColumnOfNodeOffset=function(e,t,n){for(var i=t.textContent.length,o=-1;t;)t=t.previousSibling,o++;return this._characterMapping.partDataToCharOffset(o,i,n)+1},e}(),$=function(){function e(e,t,n,i,o){if(this.domNode=e,this.input=t,this._characterMapping=n,this._isWhitespaceOnly=/^\s*$/.test(t.lineContent),this._containsForeignElements=o,this._cachedWidth=-1,this._pixelOffsetCache=null,!i||0===this._characterMapping.length){this._pixelOffsetCache=new Int32Array(Math.max(2,this._characterMapping.length+1));for(var r=0,s=this._characterMapping.length;r<=s;r++)this._pixelOffsetCache[r]=-1}}return e.prototype._getReadingTarget=function(e){return e.domNode.firstChild},e.prototype.getWidth=function(){return this.domNode?(-1===this._cachedWidth&&(this._cachedWidth=this._getReadingTarget(this.domNode).offsetWidth),this._cachedWidth):0},e.prototype.getWidthIsFast=function(){return-1!==this._cachedWidth},e.prototype.getVisibleRangesForRange=function(e,t,n){if(!this.domNode)return null;if(null!==this._pixelOffsetCache){var i=this._readPixelOffset(this.domNode,e,n);if(-1===i)return null;var o=this._readPixelOffset(this.domNode,t,n);return-1===o?null:[new F(i,o-i)]}return this._readVisibleRangesForRange(this.domNode,e,t,n)},e.prototype._readVisibleRangesForRange=function(e,t,n,i){if(t===n){var o=this._readPixelOffset(e,t,i);return-1===o?null:[new F(o,0)]}return this._readRawVisibleRangesForRange(e,t,n,i)},e.prototype._readPixelOffset=function(e,t,n){if(0===this._characterMapping.length){if(0===this._containsForeignElements)return 0;if(2===this._containsForeignElements)return 0;if(1===this._containsForeignElements)return this.getWidth();var i=this._getReadingTarget(e);return i.firstChild?i.firstChild.offsetWidth:0}if(null!==this._pixelOffsetCache){var o=this._pixelOffsetCache[t];if(-1!==o)return o;var r=this._actualReadPixelOffset(e,t,n);return this._pixelOffsetCache[t]=r,r}return this._actualReadPixelOffset(e,t,n)},e.prototype._actualReadPixelOffset=function(e,t,n){if(0===this._characterMapping.length){var i=B.readHorizontalRanges(this._getReadingTarget(e),0,0,0,0,n.clientRectDeltaLeft,n.endNode);return i&&0!==i.length?i[0].left:-1}if(t===this._characterMapping.length&&this._isWhitespaceOnly&&0===this._containsForeignElements)return this.getWidth();var o=this._characterMapping.charOffsetToPartData(t-1),r=z.a.getPartIndex(o),s=z.a.getCharIndex(o),a=B.readHorizontalRanges(this._getReadingTarget(e),r,s,r,s,n.clientRectDeltaLeft,n.endNode);return a&&0!==a.length?a[0].left:-1},e.prototype._readRawVisibleRangesForRange=function(e,t,n,i){if(1===t&&n===this._characterMapping.length)return[new F(0,this.getWidth())];var o=this._characterMapping.charOffsetToPartData(t-1),r=z.a.getPartIndex(o),s=z.a.getCharIndex(o),a=this._characterMapping.charOffsetToPartData(n-1),u=z.a.getPartIndex(a),l=z.a.getCharIndex(a);return B.readHorizontalRanges(this._getReadingTarget(e),r,s,u,l,i.clientRectDeltaLeft,i.endNode)},e.prototype.getColumnOfNodeOffset=function(e,t,n){for(var i=t.textContent.length,o=-1;t;)t=t.previousSibling,o++;return this._characterMapping.partDataToCharOffset(o,i,n)+1},e}(),ee=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return q(t,e),t.prototype._readVisibleRangesForRange=function(t,n,i,o){var r=e.prototype._readVisibleRangesForRange.call(this,t,n,i,o);if(!r||0===r.length||n===i||1===n&&i===this._characterMapping.length)return r;if(!this.input.containsRTL){var s=this._readPixelOffset(t,i,o);if(-1!==s){var a=r[r.length-1];a.left=4&&3===e[0]&&7===e[3]},e.isStrictChildOfViewLines=function(e){return e.length>4&&3===e[0]&&7===e[3]},e.isChildOfScrollableElement=function(e){return e.length>=2&&3===e[0]&&5===e[1]},e.isChildOfMinimap=function(e){return e.length>=2&&3===e[0]&&8===e[1]},e.isChildOfContentWidgets=function(e){return e.length>=4&&3===e[0]&&1===e[3]},e.isChildOfOverflowingContentWidgets=function(e){return e.length>=1&&2===e[0]},e.isChildOfOverlayWidgets=function(e){return e.length>=2&&3===e[0]&&4===e[1]},e}(),de=function(){function e(e,t,n){this.model=e.model;var i=e.configuration.options;this.layoutInfo=i.get(107),this.viewDomNode=t.viewDomNode,this.lineHeight=i.get(49),this.typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,this.lastRenderData=n,this._context=e,this._viewHelper=t}return e.prototype.getZoneAtCoord=function(t){return e.getZoneAtCoord(this._context,t)},e.getZoneAtCoord=function(e,t){var n=e.viewLayout.getWhitespaceAtVerticalOffset(t);if(n){var i=n.verticalOffset+n.height/2,o=e.model.getLineCount(),r=null,s=void 0,a=null;return n.afterLineNumber!==o&&(a=new oe.a(n.afterLineNumber+1,1)),n.afterLineNumber>0&&(r=new oe.a(n.afterLineNumber,e.model.getLineMaxColumn(n.afterLineNumber))),s=null===a?r:null===r?a:t=e.layoutInfo.glyphMarginLeft,this.isInContentArea=!this.isInMarginArea,this.mouseColumn=Math.max(0,ge._getMouseColumn(this.mouseContentHorizontalOffset,e.typicalHalfwidthCharacterWidth))})),pe={isAfterLines:!0};function fe(e){return{isAfterLines:!1,horizontalDistanceToText:e}}var ge=function(){function e(e,t){this._context=e,this._viewHelper=t}return e.prototype.mouseTargetIsWidget=function(e){var t=e.target,n=T.collect(t,this._viewHelper.viewDomNode);return!(!ce.isChildOfContentWidgets(n)&&!ce.isChildOfOverflowingContentWidgets(n))||!!ce.isChildOfOverlayWidgets(n)},e.prototype.createMouseTarget=function(t,n,i,o){var r=new de(this._context,this._viewHelper,t),s=new he(r,n,i,o);try{return e._createMouseTarget(r,s,!1)}catch(e){return s.fulfill(0)}},e._createMouseTarget=function(t,n,i){if(null===n.target){if(i)return n.fulfill(0);var o=e._doHitTest(t,n);return o.position?e.createMouseTargetFromHitTestPosition(t,n,o.position.lineNumber,o.position.column):this._createMouseTarget(t,n.withTarget(o.hitTarget),!0)}var r=n,s=null;return(s=(s=(s=(s=(s=(s=(s=(s=(s=(s=s||e._hitTestContentWidget(t,r))||e._hitTestOverlayWidget(t,r))||e._hitTestMinimap(t,r))||e._hitTestScrollbarSlider(t,r))||e._hitTestViewZone(t,r))||e._hitTestMargin(t,r))||e._hitTestViewCursor(t,r))||e._hitTestTextArea(t,r))||e._hitTestViewLines(t,r,i))||e._hitTestScrollbar(t,r))||n.fulfill(0)},e._hitTestContentWidget=function(e,t){if(ce.isChildOfContentWidgets(t.targetPath)||ce.isChildOfOverflowingContentWidgets(t.targetPath)){var n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(9,null,null,n):t.fulfill(0)}return null},e._hitTestOverlayWidget=function(e,t){if(ce.isChildOfOverlayWidgets(t.targetPath)){var n=e.findAttribute(t.target,"widgetId");return n?t.fulfill(12,null,null,n):t.fulfill(0)}return null},e._hitTestViewCursor=function(e,t){if(t.target)for(var n=0,i=r=e.lastRenderData.lastViewCursorsRenderData;no.contentLeft+o.width)){var c=e.getVerticalOffsetForLineNumber(o.position.lineNumber);if(c<=a&&a<=c+o.height)return t.fulfill(6,o.position)}}return null},e._hitTestViewZone=function(e,t){var n=e.getZoneAtCoord(t.mouseVerticalOffset);if(n){var i=t.isInContentArea?8:5;return t.fulfill(i,n.position,null,n)}return null},e._hitTestTextArea=function(e,t){return ce.isTextArea(t.targetPath)?e.lastRenderData.lastTextareaPosition?t.fulfill(6,e.lastRenderData.lastTextareaPosition):t.fulfill(1,e.lastRenderData.lastTextareaPosition):null},e._hitTestMargin=function(e,t){if(t.isInMarginArea){var n=e.getFullLineRangeAtCoord(t.mouseVerticalOffset),i=n.range.getStartPosition(),o=Math.abs(t.pos.x-t.editorPos.x),r={isAfterLines:n.isAfterLines,glyphMarginLeft:e.layoutInfo.glyphMarginLeft,glyphMarginWidth:e.layoutInfo.glyphMarginWidth,lineNumbersWidth:e.layoutInfo.lineNumbersWidth,offsetX:o};return(o-=e.layoutInfo.glyphMarginLeft)<=e.layoutInfo.glyphMarginWidth?t.fulfill(2,i,n.range,r):(o-=e.layoutInfo.glyphMarginWidth)<=e.layoutInfo.lineNumbersWidth?t.fulfill(3,i,n.range,r):(o-=e.layoutInfo.lineNumbersWidth,t.fulfill(4,i,n.range,r))}return null},e._hitTestViewLines=function(t,n,i){if(!ce.isChildOfViewLines(n.targetPath))return null;if(t.isAfterLines(n.mouseVerticalOffset)){var o=t.model.getLineCount(),r=t.model.getLineMaxColumn(o);return n.fulfill(7,new oe.a(o,r),void 0,pe)}if(i){if(ce.isStrictChildOfViewLines(n.targetPath)){var s=t.getLineNumberAtVerticalOffset(n.mouseVerticalOffset);if(0===t.model.getLineLength(s)){var a=t.getLineWidth(s),u=fe(n.mouseContentHorizontalOffset-a);return n.fulfill(7,new oe.a(s,1),void 0,u)}var l=t.getLineWidth(s);if(n.mouseContentHorizontalOffset>=l){u=fe(n.mouseContentHorizontalOffset-l);var c=new oe.a(s,t.model.getLineMaxColumn(s));return n.fulfill(7,c,void 0,u)}}return n.fulfill(0)}var d=e._doHitTest(t,n);return d.position?e.createMouseTargetFromHitTestPosition(t,n,d.position.lineNumber,d.position.column):this._createMouseTarget(t,n.withTarget(d.hitTarget),!0)},e._hitTestMinimap=function(e,t){if(ce.isChildOfMinimap(t.targetPath)){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(n);return t.fulfill(11,new oe.a(n,i))}return null},e._hitTestScrollbarSlider=function(e,t){if(ce.isChildOfScrollableElement(t.targetPath)&&t.target&&1===t.target.nodeType){var n=t.target.className;if(n&&/\b(slider|scrollbar)\b/.test(n)){var i=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),o=e.model.getLineMaxColumn(i);return t.fulfill(11,new oe.a(i,o))}}return null},e._hitTestScrollbar=function(e,t){if(ce.isChildOfScrollableElement(t.targetPath)){var n=e.getLineNumberAtVerticalOffset(t.mouseVerticalOffset),i=e.model.getLineMaxColumn(n);return t.fulfill(11,new oe.a(n,i))}return null},e.prototype.getMouseColumn=function(t,n){var i=this._context.configuration.options,o=i.get(107),r=this._context.viewLayout.getCurrentScrollLeft()+n.x-t.x-o.contentLeft;return e._getMouseColumn(r,i.get(34).typicalHalfwidthCharacterWidth)},e._getMouseColumn=function(e,t){return e<0?1:Math.round(e/t)+1},e.createMouseTargetFromHitTestPosition=function(e,t,n,i){var o=new oe.a(n,i),r=e.getLineWidth(n);if(t.mouseContentHorizontalOffset>r){if(m.e&&1===o.column){var s=fe(t.mouseContentHorizontalOffset-r);return t.fulfill(7,new oe.a(n,e.model.getLineMaxColumn(n)),void 0,s)}var a=fe(t.mouseContentHorizontalOffset-r);return t.fulfill(7,o,void 0,a)}var u=e.visibleRangeForPosition(n,i);if(!u)return t.fulfill(0,o);var l=u.left;if(t.mouseContentHorizontalOffset===l)return t.fulfill(6,o);var c=[];if(c.push({offset:u.left,column:i}),i>1){var d=e.visibleRangeForPosition(n,i-1);d&&c.push({offset:d.left,column:i-1})}if(i=t.editorPos.y+e.layoutInfo.height&&(o=t.editorPos.y+e.layoutInfo.height-1);var r=new C(t.pos.x,o),s=this._actualDoHitTestWithCaretRangeFromPoint(e,r.toClientCoordinates());return s.position?s:this._actualDoHitTestWithCaretRangeFromPoint(e,t.pos.toClientCoordinates())},e._actualDoHitTestWithCaretRangeFromPoint=function(e,t){var n,i=r.E(e.viewDomNode);if(!(n=i?void 0===i.caretRangeFromPoint?function(e,t,n){var i=document.createRange(),o=e.elementFromPoint(t,n);if(null!==o){for(;o&&o.firstChild&&o.firstChild.nodeType!==o.firstChild.TEXT_NODE;)o=o.lastChild;var r=o.getBoundingClientRect(),s=window.getComputedStyle(o,null).getPropertyValue("font"),a=o.innerText,u=r.left,l=0,c=void 0;if(t>r.left+r.width)l=a.length;else for(var d=me.getInstance(),h=0;h0?1:-1;ve.a.setZoomLevel(n+i),t.preventDefault(),t.stopPropagation()}}}),{capture:!0,passive:!1})),s._context.addEventHandler(s),s}return be(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onCursorStateChanged=function(e){return this._mouseDownOperation.onCursorStateChanged(e),!1},t.prototype.onFocusChanged=function(e){return this._isFocused=e.isFocused,!1},t.prototype.onScrollChanged=function(e){return this._mouseDownOperation.onScrollChanged(),!1},t.prototype.getTargetAtClientPoint=function(e,t){var n=new w(e,t).toPageCoordinates(),i=O(this.viewHelper.viewDomNode);return n.yi.y+i.height||n.xi.x+i.width?null:this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),i,n,null)},t.prototype._createMouseTarget=function(e,t){return this.mouseTargetFactory.createMouseTarget(this.viewHelper.getLastRenderData(),e.editorPos,e.pos,t?e.target:null)},t.prototype._getMouseColumn=function(e){return this.mouseTargetFactory.getMouseColumn(e.editorPos,e.pos)},t.prototype._onContextMenu=function(e,t){this.viewController.emitContextMenu({event:e,target:this._createMouseTarget(e,t)})},t.prototype._onMouseMove=function(e){this._mouseDownOperation.isActive()||(e.timestampt.y+t.height){var a,u;r=i.getCurrentScrollTop()+(e.posy-t.y);if(a=de.getZoneAtCoord(this._context,r))if(u=this._helpPositionJumpOverViewZone(a))return new le(null,13,o,u);var l=i.getLineNumberAtVerticalOffset(r);return new le(null,13,o,new oe.a(l,n.getLineMaxColumn(l)))}var c=i.getLineNumberAtVerticalOffset(i.getCurrentScrollTop()+(e.posy-t.y));return e.posxt.x+t.width?new le(null,13,o,new oe.a(c,n.getLineMaxColumn(c))):null},t.prototype._findMousePosition=function(e,t){var n=this._getPositionOutsideEditor(e);if(n)return n;var i=this._createMouseTarget(e,t);if(!i.position)return null;if(8===i.type||5===i.type){var o=this._helpPositionJumpOverViewZone(i.detail);if(o)return new le(i.element,i.type,i.mouseColumn,o,null,i.detail)}return i},t.prototype._helpPositionJumpOverViewZone=function(e){var t=new oe.a(this._currentSelection.selectionStartLineNumber,this._currentSelection.selectionStartColumn),n=e.positionBefore,i=e.positionAfter;return n&&i?n.isBefore(t)?n:i:null},t.prototype._dispatchMouse=function(e,t){e.position&&this._viewController.dispatchMouse({position:e.position,mouseColumn:e.mouseColumn,startedOnLineNumbers:this._mouseState.startedOnLineNumbers,inSelectionMode:t,mouseDownCount:this._mouseState.count,altKey:this._mouseState.altKey,ctrlKey:this._mouseState.ctrlKey,metaKey:this._mouseState.metaKey,shiftKey:this._mouseState.shiftKey,leftButton:this._mouseState.leftButton,middleButton:this._mouseState.middleButton})},t}(u.a),Se=function(){function e(){this._altKey=!1,this._ctrlKey=!1,this._metaKey=!1,this._shiftKey=!1,this._leftButton=!1,this._middleButton=!1,this._startedOnLineNumbers=!1,this._lastMouseDownPosition=null,this._lastMouseDownPositionEqualCount=0,this._lastMouseDownCount=0,this._lastSetMouseDownCountTime=0,this.isDragAndDrop=!1}return Object.defineProperty(e.prototype,"altKey",{get:function(){return this._altKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ctrlKey",{get:function(){return this._ctrlKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"metaKey",{get:function(){return this._metaKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"shiftKey",{get:function(){return this._shiftKey},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"leftButton",{get:function(){return this._leftButton},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"middleButton",{get:function(){return this._middleButton},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"startedOnLineNumbers",{get:function(){return this._startedOnLineNumbers},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"count",{get:function(){return this._lastMouseDownCount},enumerable:!0,configurable:!0}),e.prototype.setModifiers=function(e){this._altKey=e.altKey,this._ctrlKey=e.ctrlKey,this._metaKey=e.metaKey,this._shiftKey=e.shiftKey},e.prototype.setStartButtons=function(e){this._leftButton=e.leftButton,this._middleButton=e.middleButton},e.prototype.setStartedOnLineNumbers=function(e){this._startedOnLineNumbers=e},e.prototype.trySetCount=function(t,n){var i=(new Date).getTime();i-this._lastSetMouseDownCountTime>e.CLEAR_MOUSE_DOWN_COUNT_TIME&&(t=1),this._lastSetMouseDownCountTime=i,t>this._lastMouseDownCount+1&&(t=this._lastMouseDownCount+1),this._lastMouseDownPosition&&this._lastMouseDownPosition.equals(n)?this._lastMouseDownPositionEqualCount++:this._lastMouseDownPositionEqualCount=1,this._lastMouseDownPosition=n,this._lastMouseDownCount=Math.min(t,this._lastMouseDownPositionEqualCount)},e.CLEAR_MOUSE_DOWN_COUNT_TIME=400,e}(),Oe=n("CjF5"),Le=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function De(e,t){var n={translationY:t.translationY,translationX:t.translationX};return e&&(n.translationY+=e.translationY,n.translationX+=e.translationX),n}var xe=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;return o.viewHelper.linesContentDomNode.style.msTouchAction="none",o.viewHelper.linesContentDomNode.style.msContentZooming="none",o._installGestureHandlerTimeout=window.setTimeout((function(){if(o._installGestureHandlerTimeout=-1,window.MSGesture){var e=new MSGesture,t=new MSGesture;e.target=o.viewHelper.linesContentDomNode,t.target=o.viewHelper.linesContentDomNode,o.viewHelper.linesContentDomNode.addEventListener("MSPointerDown",(function(n){var i=n.pointerType;i!==(n.MSPOINTER_TYPE_MOUSE||"mouse")?i===(n.MSPOINTER_TYPE_TOUCH||"touch")?(o._lastPointerType="touch",e.addPointer(n.pointerId)):(o._lastPointerType="pen",t.addPointer(n.pointerId)):o._lastPointerType="mouse"})),o._register(r.m(o.viewHelper.linesContentDomNode,"MSGestureChange",(function(e){return o._onGestureChange(e)}),De)),o._register(r.j(o.viewHelper.linesContentDomNode,"MSGestureTap",(function(e){return o._onCaptureGestureTap(e)}),!0))}}),100),o._lastPointerType="mouse",o}return Le(t,e),t.prototype._onMouseDown=function(t){"mouse"===this._lastPointerType&&e.prototype._onMouseDown.call(this,t)},t.prototype._onCaptureGestureTap=function(e){var t=this,n=new L(e,this.viewHelper.viewDomNode),i=this._createMouseTarget(n,!1);i.position&&this.viewController.moveTo(i.position),n.browserEvent.fromElement?(n.preventDefault(),this.viewHelper.focusTextArea()):setTimeout((function(){t.viewHelper.focusTextArea()}))},t.prototype._onGestureChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),e.prototype.dispose.call(this)},t}(Ce),Ne=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;return o.viewHelper.linesContentDomNode.style.touchAction="none",o._installGestureHandlerTimeout=window.setTimeout((function(){if(o._installGestureHandlerTimeout=-1,window.MSGesture){var e=new MSGesture,t=new MSGesture;e.target=o.viewHelper.linesContentDomNode,t.target=o.viewHelper.linesContentDomNode,o.viewHelper.linesContentDomNode.addEventListener("pointerdown",(function(n){var i=n.pointerType;"mouse"!==i?"touch"===i?(o._lastPointerType="touch",e.addPointer(n.pointerId)):(o._lastPointerType="pen",t.addPointer(n.pointerId)):o._lastPointerType="mouse"})),o._register(r.m(o.viewHelper.linesContentDomNode,"MSGestureChange",(function(e){return o._onGestureChange(e)}),De)),o._register(r.j(o.viewHelper.linesContentDomNode,"MSGestureTap",(function(e){return o._onCaptureGestureTap(e)}),!0))}}),100),o._lastPointerType="mouse",o}return Le(t,e),t.prototype._onMouseDown=function(t){"mouse"===this._lastPointerType&&e.prototype._onMouseDown.call(this,t)},t.prototype._onCaptureGestureTap=function(e){var t=this,n=new L(e,this.viewHelper.viewDomNode),i=this._createMouseTarget(n,!1);i.position&&this.viewController.moveTo(i.position),n.browserEvent.fromElement?(n.preventDefault(),this.viewHelper.focusTextArea()):setTimeout((function(){t.viewHelper.focusTextArea()}))},t.prototype._onGestureChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype.dispose=function(){window.clearTimeout(this._installGestureHandlerTimeout),e.prototype.dispose.call(this)},t}(Ce),ke=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;o._register(g.b.addTarget(o.viewHelper.linesContentDomNode)),o._register(r.j(o.viewHelper.linesContentDomNode,g.a.Tap,(function(e){return o.onTap(e)}))),o._register(r.j(o.viewHelper.linesContentDomNode,g.a.Change,(function(e){return o.onChange(e)}))),o._register(r.j(o.viewHelper.linesContentDomNode,g.a.Contextmenu,(function(e){return o._onContextMenu(new L(e,o.viewHelper.viewDomNode),!1)}))),o._lastPointerType="mouse",o._register(r.j(o.viewHelper.linesContentDomNode,"pointerdown",(function(e){var t=e.pointerType;o._lastPointerType="mouse"!==t?"touch"===t?"touch":"pen":"mouse"})));var s=new x(o.viewHelper.viewDomNode);return o._register(s.onPointerMoveThrottled(o.viewHelper.viewDomNode,(function(e){return o._onMouseMove(e)}),ye(o.mouseTargetFactory),Ce.MOUSE_MOVE_MINIMUM_TIME)),o._register(s.onPointerUp(o.viewHelper.viewDomNode,(function(e){return o._onMouseUp(e)}))),o._register(s.onPointerLeave(o.viewHelper.viewDomNode,(function(e){return o._onMouseLeave(e)}))),o._register(s.onPointerDown(o.viewHelper.viewDomNode,(function(e){return o._onMouseDown(e)}))),o}return Le(t,e),t.prototype.onTap=function(e){if(e.initialTarget&&this.viewHelper.linesContentDomNode.contains(e.initialTarget)){e.preventDefault(),this.viewHelper.focusTextArea();var t=this._createMouseTarget(new L(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.dispatchMouse({position:t.position,mouseColumn:t.position.column,startedOnLineNumbers:!1,mouseDownCount:e.tapCount,inSelectionMode:!1,altKey:!1,ctrlKey:!1,metaKey:!1,shiftKey:!1,leftButton:!1,middleButton:!1})}},t.prototype.onChange=function(e){"touch"===this._lastPointerType&&this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t.prototype._onMouseDown=function(t){t.target&&this.viewHelper.linesContentDomNode.contains(t.target)&&"touch"===this._lastPointerType||e.prototype._onMouseDown.call(this,t)},t}(Ce),Ee=function(e){function t(t,n,i){var o=e.call(this,t,n,i)||this;return o._register(g.b.addTarget(o.viewHelper.linesContentDomNode)),o._register(r.j(o.viewHelper.linesContentDomNode,g.a.Tap,(function(e){return o.onTap(e)}))),o._register(r.j(o.viewHelper.linesContentDomNode,g.a.Change,(function(e){return o.onChange(e)}))),o._register(r.j(o.viewHelper.linesContentDomNode,g.a.Contextmenu,(function(e){return o._onContextMenu(new L(e,o.viewHelper.viewDomNode),!1)}))),o}return Le(t,e),t.prototype.onTap=function(e){e.preventDefault(),this.viewHelper.focusTextArea();var t=this._createMouseTarget(new L(e,this.viewHelper.viewDomNode),!1);t.position&&this.viewController.moveTo(t.position)},t.prototype.onChange=function(e){this._context.viewLayout.deltaScrollNow(-e.translationX,-e.translationY)},t}(Ce),Ie=function(e){function t(t,n,i){var o=e.call(this)||this;return window.navigator.msPointerEnabled?o.handler=o._register(new xe(t,n,i)):f.c&&Oe.a.pointerEvents?o.handler=o._register(new ke(t,n,i)):window.TouchEvent?o.handler=o._register(new Ee(t,n,i)):window.navigator.pointerEnabled||window.PointerEvent?o.handler=o._register(new Ne(t,n,i)):o.handler=o._register(new Ce(t,n,i)),o}return Le(t,e),t.prototype.getTargetAtClientPoint=function(e,t){return this.handler.getTargetAtClientPoint(e,t)},t}(u.a),Me=(n("VvMK"),n("N0LK")),Te=n("5TxY"),Pe=n("Comh"),Re=(n("Krc3"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Ae=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Re(t,e),t}(E),Fe=n("kYye"),je=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),We=function(e){function t(t){var n=e.call(this)||this;return n._context=t,n._readConfig(),n._lastCursorModelPosition=new oe.a(1,1),n._renderResult=null,n._context.addEventHandler(n),n}return je(t,e),t.prototype._readConfig=function(){var e=this._context.configuration.options;this._lineHeight=e.get(49);var t=e.get(50);this._renderLineNumbers=t.renderType,this._renderCustomLineNumbers=t.renderFn,this._renderFinalNewline=e.get(71);var n=e.get(107);this._lineNumbersLeft=n.lineNumbersLeft,this._lineNumbersWidth=n.lineNumbersWidth},t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){return this._readConfig(),!0},t.prototype.onCursorStateChanged=function(e){var t=e.selections[0].getPosition();return this._lastCursorModelPosition=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(t),2===this._renderLineNumbers||3===this._renderLineNumbers},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getLineRenderLineNumber=function(e){var t=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new oe.a(e,1));if(1!==t.column)return"";var n=t.lineNumber;if(this._renderCustomLineNumbers)return this._renderCustomLineNumbers(n);if(2===this._renderLineNumbers){var i=Math.abs(this._lastCursorModelPosition.lineNumber-n);return 0===i?''+n+"":String(i)}return 3===this._renderLineNumbers?this._lastCursorModelPosition.lineNumber===n||n%10==0?String(n):"":String(n)},t.prototype.prepareRender=function(e){if(0!==this._renderLineNumbers){for(var n=f.d?this._lineHeight%2==0?" lh-even":" lh-odd":"",i=e.visibleRange.startLineNumber,o=e.visibleRange.endLineNumber,r='
',s=this._context.model.getLineCount(),a=[],u=i;u<=o;u++){var l=u-i;if(this._renderFinalNewline||u!==s||0!==this._context.model.getLineLength(u)){var c=this._getLineRenderLineNumber(u);a[l]=c?r+c+"
":""}else a[l]=""}this._renderResult=a}else this._renderResult=null},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t.CLASS_NAME="line-numbers",t}(Ae);Object(U.e)((function(e,t){var n=e.getColor(Fe.k);n&&t.addRule(".monaco-editor .line-numbers { color: "+n+"; }");var i=e.getColor(Fe.b);i&&t.addRule(".monaco-editor .current-line ~ .line-numbers { color: "+i+"; }")}));var Ve=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Be=function(e){function t(n){var i=e.call(this,n)||this,o=i._context.configuration.options,r=o.get(107);return i._canUseLayerHinting=!o.get(22),i._contentLeft=r.contentLeft,i._glyphMarginLeft=r.glyphMarginLeft,i._glyphMarginWidth=r.glyphMarginWidth,i._domNode=Object(p.b)(document.createElement("div")),i._domNode.setClassName(t.OUTER_CLASS_NAME),i._domNode.setPosition("absolute"),i._domNode.setAttribute("role","presentation"),i._domNode.setAttribute("aria-hidden","true"),i._glyphMarginBackgroundDomNode=Object(p.b)(document.createElement("div")),i._glyphMarginBackgroundDomNode.setClassName(t.CLASS_NAME),i._domNode.appendChild(i._glyphMarginBackgroundDomNode),i}return Ve(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this._domNode},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._canUseLayerHinting=!t.get(22),this._contentLeft=n.contentLeft,this._glyphMarginLeft=n.glyphMarginLeft,this._glyphMarginWidth=n.glyphMarginWidth,!0},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollTopChanged},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setLayerHinting(this._canUseLayerHinting),this._domNode.setContain("strict");var t=e.scrollTop-e.bigNumbersDelta;this._domNode.setTop(-t);var n=Math.min(e.scrollHeight,1e6);this._domNode.setHeight(n),this._domNode.setWidth(this._contentLeft),this._glyphMarginBackgroundDomNode.setLeft(this._glyphMarginLeft),this._glyphMarginBackgroundDomNode.setWidth(this._glyphMarginWidth),this._glyphMarginBackgroundDomNode.setHeight(n)},t.CLASS_NAME="glyph-margin",t.OUTER_CLASS_NAME="margin",t}(M),He=n("5v8Y"),ze=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ue=function(){function e(e){this.type=1,this._source=e}return e.prototype.hasChanged=function(e){return this._source.hasChanged(e)},e}(),Ke=function(e){this.type=2,this.contentWidth=e.contentWidth,this.contentHeight=e.contentHeight,this.contentWidthChanged=e.contentWidthChanged,this.contentHeightChanged=e.contentHeightChanged},qe=function(e,t){this.type=3,this.selections=e,this.modelSelections=t},Ge=function(){this.type=4},Ye=function(){this.type=5},Ze=function(e){this.type=6,this.isFocused=e},Xe=function(){this.type=7},Qe=function(){this.type=8},Je=function(e,t){this.type=9,this.fromLineNumber=e,this.toLineNumber=t},$e=function(e,t){this.type=10,this.fromLineNumber=e,this.toLineNumber=t},et=function(e,t){this.type=11,this.fromLineNumber=e,this.toLineNumber=t},tt=function(e,t,n,i,o){this.type=12,this.source=e,this.range=t,this.verticalType=n,this.revealHorizontal=i,this.scrollType=o},nt=function(e){this.type=13,this.scrollWidth=e.scrollWidth,this.scrollLeft=e.scrollLeft,this.scrollHeight=e.scrollHeight,this.scrollTop=e.scrollTop,this.scrollWidthChanged=e.scrollWidthChanged,this.scrollLeftChanged=e.scrollLeftChanged,this.scrollHeightChanged=e.scrollHeightChanged,this.scrollTopChanged=e.scrollTopChanged},it=function(){this.type=14},ot=function(e){this.type=15,this.ranges=e},rt=function(){this.type=16},st=function(){this.type=17},at=function(e){function t(){var t=e.call(this)||this;return t._listeners=[],t._collector=null,t._collectorCnt=0,t}return ze(t,e),t.prototype.dispose=function(){this._listeners=[],e.prototype.dispose.call(this)},t.prototype._beginEmit=function(){return this._collectorCnt++,1===this._collectorCnt&&(this._collector=new ut),this._collector},t.prototype._endEmit=function(){if(this._collectorCnt--,0===this._collectorCnt){var e=this._collector.finalize();this._collector=null,e.length>0&&this._emit(e)}},t.prototype._emit=function(e){for(var t=this._listeners.slice(0),n=0,i=t.length;n0)return new Pe.b(i,i.length,i.length,n,n)}}return Pe.b.EMPTY}return Pe.a.fromEditorSelection(e,a,o._selections[0],o._accessibilityPageSize,0===o._accessibilitySupport)},deduceModelPosition:function(e,t,n){return o._context.model.deduceModelPositionRelativeToViewPosition(e,t,n)}};return o._textAreaInput=o._register(new Te.b(u,o.textArea)),o._register(o._textAreaInput.onKeyDown((function(e){o._viewController.emitKeyDown(e)}))),o._register(o._textAreaInput.onKeyUp((function(e){o._viewController.emitKeyUp(e)}))),o._register(o._textAreaInput.onPaste((function(e){var t=!1,n=null,i=null;e.metadata&&(t=o._emptySelectionClipboard&&!!e.metadata.isFromEmptySelection,n=void 0!==e.metadata.multicursorText?e.metadata.multicursorText:null,i=e.metadata.mode),o._viewController.paste("keyboard",e.text,t,n,i)}))),o._register(o._textAreaInput.onCut((function(){o._viewController.cut("keyboard")}))),o._register(o._textAreaInput.onType((function(e){e.replaceCharCnt?o._viewController.replacePreviousChar("keyboard",e.text,e.replaceCharCnt):o._viewController.type("keyboard",e.text)}))),o._register(o._textAreaInput.onSelectionChangeRequest((function(e){o._viewController.setSelection("keyboard",e)}))),o._register(o._textAreaInput.onCompositionStart((function(){var e=o._selections[0].startLineNumber,t=o._selections[0].startColumn;o._context.privateViewEventBus.emit(new tt("keyboard",new re.a(e,t,e,t),0,!0,1));var n=o._viewHelper.visibleRangeForPositionRelativeToEditor(e,t);n&&(o._visibleTextArea=new dt(o._context.viewLayout.getVerticalOffsetForLineNumber(e),n.left,ht?0:1),o._render()),o.textArea.setClassName("inputarea ime-input"),o._viewController.compositionStart("keyboard")}))),o._register(o._textAreaInput.onCompositionUpdate((function(e){m.f?o._visibleTextArea=o._visibleTextArea.setWidth(0):o._visibleTextArea=o._visibleTextArea.setWidth(function(e,t){var n=document.createElement("canvas").getContext("2d");n.font=(i=t,o="normal",r=i.fontWeight,s=i.fontSize,a=i.lineHeight,u=i.fontFamily,o+" normal "+r+" "+s+"px / "+a+"px "+u);var i,o,r,s,a,u;var l=n.measureText(e);return m.h?l.width+2:l.width}(e.data,o._fontInfo)),o._render()}))),o._register(o._textAreaInput.onCompositionEnd((function(){o._visibleTextArea=null,o._render(),o.textArea.setClassName("inputarea"),o._viewController.compositionEnd("keyboard")}))),o._register(o._textAreaInput.onFocus((function(){o._context.privateViewEventBus.emit(new Ze(!0))}))),o._register(o._textAreaInput.onBlur((function(){o._context.privateViewEventBus.emit(new Ze(!1))}))),o}return ct(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._getWordBeforePosition=function(e){for(var t=this._context.model.getLineContent(e.lineNumber),n=Object(He.a)(this._context.configuration.options.get(96)),i=e.column,o=0;i>1;){var r=t.charCodeAt(i-2);if(0!==n.get(r)||o>50)return t.substring(i-1,e.column-1);o++,i--}return t.substring(0,e.column-1)},t.prototype._getCharacterBeforePosition=function(e){if(e.column>1){var t=this._context.model.getLineContent(e.lineNumber).charAt(e.column-2);if(!Me.z(t.charCodeAt(0)))return t}return""},t.prototype._getAriaLabel=function(e){return 1===e.get(2)?o.a("accessibilityOffAriaLabel","The editor is not accessible at this time. Press Alt+F1 for options."):e.get(4)},t.prototype._setAccessibilityOptions=function(e){this._accessibilitySupport=e.get(2);var t=e.get(3);2===this._accessibilitySupport&&t===K.e.accessibilityPageSize.defaultValue?this._accessibilityPageSize=160:this._accessibilityPageSize=t},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._setAccessibilityOptions(t),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,this._contentHeight=n.height,this._fontInfo=t.get(34),this._lineHeight=t.get(49),this._emptySelectionClipboard=t.get(25),this._copyWithSyntaxHighlighting=t.get(15),this.textArea.setAttribute("aria-label",this._getAriaLabel(t)),f.g&&e.hasChanged(68)&&(t.get(68)?this.textArea.setAttribute("readonly","true"):this.textArea.removeAttribute("readonly")),e.hasChanged(2)&&this._textAreaInput.writeScreenReaderContent("strategy changed"),!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections.slice(0),this._modelSelections=e.modelSelections.slice(0),this._textAreaInput.writeScreenReaderContent("selection changed"),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return this._scrollLeft=e.scrollLeft,this._scrollTop=e.scrollTop,!0},t.prototype.onZonesChanged=function(e){return!0},t.prototype.isFocused=function(){return this._textAreaInput.isFocused()},t.prototype.focusTextArea=function(){this._textAreaInput.focusTextArea()},t.prototype.getLastRenderData=function(){return this._lastRenderPosition},t.prototype.setAriaOptions=function(e){e.activeDescendant?(this.textArea.setAttribute("aria-haspopup","true"),this.textArea.setAttribute("aria-autocomplete","list"),this.textArea.setAttribute("aria-activedescendant",e.activeDescendant)):(this.textArea.setAttribute("aria-haspopup","false"),this.textArea.setAttribute("aria-autocomplete","both"),this.textArea.removeAttribute("aria-activedescendant"))},t.prototype.prepareRender=function(e){this._primaryCursorPosition=new oe.a(this._selections[0].positionLineNumber,this._selections[0].positionColumn),this._primaryCursorVisibleRange=e.visibleRangeForPosition(this._primaryCursorPosition)},t.prototype.render=function(e){this._textAreaInput.writeScreenReaderContent("render"),this._render()},t.prototype._render=function(){if(this._visibleTextArea)this._renderInsideEditor(null,this._visibleTextArea.top-this._scrollTop,this._contentLeft+this._visibleTextArea.left-this._scrollLeft,this._visibleTextArea.width,this._lineHeight);else if(this._primaryCursorVisibleRange){var e=this._contentLeft+this._primaryCursorVisibleRange.left-this._scrollLeft;if(ethis._contentLeft+this._contentWidth)this._renderAtTopLeft();else{var t=this._context.viewLayout.getVerticalOffsetForLineNumber(this._selections[0].positionLineNumber)-this._scrollTop;t<0||t>this._contentHeight?this._renderAtTopLeft():f.e?this._renderInsideEditor(this._primaryCursorPosition,t,e,ht?0:1,this._lineHeight):this._renderInsideEditor(this._primaryCursorPosition,t,e,ht?0:1,ht?0:1)}}else this._renderAtTopLeft()},t.prototype._renderInsideEditor=function(e,t,n,i,o){this._lastRenderPosition=e;var r=this.textArea,s=this.textAreaCover;c.a.applyFontInfo(r,this._fontInfo),r.setTop(t),r.setLeft(n),r.setWidth(i),r.setHeight(o),s.setTop(0),s.setLeft(0),s.setWidth(0),s.setHeight(0)},t.prototype._renderAtTopLeft=function(){this._lastRenderPosition=null;var e=this.textArea,t=this.textAreaCover;if(c.a.applyFontInfo(e,this._fontInfo),e.setTop(0),e.setLeft(0),t.setTop(0),t.setLeft(0),ht)return e.setWidth(0),e.setHeight(0),t.setWidth(0),void t.setHeight(0);e.setWidth(1),e.setHeight(1),t.setWidth(1),t.setHeight(1);var n=this._context.configuration.options;n.get(40)?t.setClassName("monaco-editor-background textAreaCover "+Be.OUTER_CLASS_NAME):0!==n.get(50).renderType?t.setClassName("monaco-editor-background textAreaCover "+We.CLASS_NAME):t.setClassName("monaco-editor-background textAreaCover")},t}(M);var ft=n("1YUG"),gt=function(){function e(e,t,n,i){this.configuration=e,this.viewModel=t,this.outgoingEvents=n,this.commandDelegate=i}return e.prototype._execMouseCommand=function(e,t){t.source="mouse",this.commandDelegate.executeEditorCommand(e,t)},e.prototype.paste=function(e,t,n,i,o){this.commandDelegate.paste(e,t,n,i,o)},e.prototype.type=function(e,t){this.commandDelegate.type(e,t)},e.prototype.replacePreviousChar=function(e,t,n){this.commandDelegate.replacePreviousChar(e,t,n)},e.prototype.compositionStart=function(e){this.commandDelegate.compositionStart(e)},e.prototype.compositionEnd=function(e){this.commandDelegate.compositionEnd(e)},e.prototype.cut=function(e){this.commandDelegate.cut(e)},e.prototype.setSelection=function(e,t){this.commandDelegate.executeEditorCommand(ft.CoreNavigationCommands.SetSelection,{source:e,selection:t})},e.prototype._validateViewColumn=function(e){var t=this.viewModel.getLineMinColumn(e.lineNumber);return e.column=4?this._selectAll():3===e.mouseDownCount?this._hasMulticursorModifier(e)?e.inSelectionMode?this._lastCursorLineSelectDrag(e.position):this._lastCursorLineSelect(e.position):e.inSelectionMode?this._lineSelectDrag(e.position):this._lineSelect(e.position):2===e.mouseDownCount?this._hasMulticursorModifier(e)?this._lastCursorWordSelect(e.position):e.inSelectionMode?this._wordSelectDrag(e.position):this._wordSelect(e.position):this._hasMulticursorModifier(e)?this._hasNonMulticursorModifier(e)||(e.shiftKey?this._columnSelect(e.position,e.mouseColumn,!0):e.inSelectionMode?this._lastCursorMoveToSelect(e.position):this._createCursor(e.position,!1)):e.inSelectionMode?e.altKey?this._columnSelect(e.position,e.mouseColumn,!0):this._moveToSelect(e.position):this.moveTo(e.position)},e.prototype._usualArgs=function(e){return e=this._validateViewColumn(e),{position:this._convertViewToModelPosition(e),viewPosition:e}},e.prototype.moveTo=function(e){this._execMouseCommand(ft.CoreNavigationCommands.MoveTo,this._usualArgs(e))},e.prototype._moveToSelect=function(e){this._execMouseCommand(ft.CoreNavigationCommands.MoveToSelect,this._usualArgs(e))},e.prototype._columnSelect=function(e,t,n){e=this._validateViewColumn(e),this._execMouseCommand(ft.CoreNavigationCommands.ColumnSelect,{position:this._convertViewToModelPosition(e),viewPosition:e,mouseColumn:t,doColumnSelect:n})},e.prototype._createCursor=function(e,t){e=this._validateViewColumn(e),this._execMouseCommand(ft.CoreNavigationCommands.CreateCursor,{position:this._convertViewToModelPosition(e),viewPosition:e,wholeLine:t})},e.prototype._lastCursorMoveToSelect=function(e){this._execMouseCommand(ft.CoreNavigationCommands.LastCursorMoveToSelect,this._usualArgs(e))},e.prototype._wordSelect=function(e){this._execMouseCommand(ft.CoreNavigationCommands.WordSelect,this._usualArgs(e))},e.prototype._wordSelectDrag=function(e){this._execMouseCommand(ft.CoreNavigationCommands.WordSelectDrag,this._usualArgs(e))},e.prototype._lastCursorWordSelect=function(e){this._execMouseCommand(ft.CoreNavigationCommands.LastCursorWordSelect,this._usualArgs(e))},e.prototype._lineSelect=function(e){this._execMouseCommand(ft.CoreNavigationCommands.LineSelect,this._usualArgs(e))},e.prototype._lineSelectDrag=function(e){this._execMouseCommand(ft.CoreNavigationCommands.LineSelectDrag,this._usualArgs(e))},e.prototype._lastCursorLineSelect=function(e){this._execMouseCommand(ft.CoreNavigationCommands.LastCursorLineSelect,this._usualArgs(e))},e.prototype._lastCursorLineSelectDrag=function(e){this._execMouseCommand(ft.CoreNavigationCommands.LastCursorLineSelectDrag,this._usualArgs(e))},e.prototype._selectAll=function(){this._execMouseCommand(ft.CoreNavigationCommands.SelectAll,{})},e.prototype._convertViewToModelPosition=function(e){return this.viewModel.coordinatesConverter.convertViewPositionToModelPosition(e)},e.prototype.emitKeyDown=function(e){this.outgoingEvents.emitKeyDown(e)},e.prototype.emitKeyUp=function(e){this.outgoingEvents.emitKeyUp(e)},e.prototype.emitContextMenu=function(e){this.outgoingEvents.emitContextMenu(e)},e.prototype.emitMouseMove=function(e){this.outgoingEvents.emitMouseMove(e)},e.prototype.emitMouseLeave=function(e){this.outgoingEvents.emitMouseLeave(e)},e.prototype.emitMouseUp=function(e){this.outgoingEvents.emitMouseUp(e)},e.prototype.emitMouseDown=function(e){this.outgoingEvents.emitMouseDown(e)},e.prototype.emitMouseDrag=function(e){this.outgoingEvents.emitMouseDrag(e)},e.prototype.emitMouseDrop=function(e){this.outgoingEvents.emitMouseDrop(e)},e.prototype.emitMouseWheel=function(e){this.outgoingEvents.emitMouseWheel(e)},e}(),mt=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),vt=function(e){function t(t){var n=e.call(this)||this;return n.onDidContentSizeChange=null,n.onDidScroll=null,n.onDidGainFocus=null,n.onDidLoseFocus=null,n.onKeyDown=null,n.onKeyUp=null,n.onContextMenu=null,n.onMouseMove=null,n.onMouseLeave=null,n.onMouseUp=null,n.onMouseDown=null,n.onMouseDrag=null,n.onMouseDrop=null,n.onMouseWheel=null,n._viewModel=t,n}return mt(t,e),t.prototype.emitContentSizeChange=function(e){this.onDidContentSizeChange&&this.onDidContentSizeChange(e)},t.prototype.emitScrollChanged=function(e){this.onDidScroll&&this.onDidScroll(e)},t.prototype.emitViewFocusGained=function(){this.onDidGainFocus&&this.onDidGainFocus(void 0)},t.prototype.emitViewFocusLost=function(){this.onDidLoseFocus&&this.onDidLoseFocus(void 0)},t.prototype.emitKeyDown=function(e){this.onKeyDown&&this.onKeyDown(e)},t.prototype.emitKeyUp=function(e){this.onKeyUp&&this.onKeyUp(e)},t.prototype.emitContextMenu=function(e){this.onContextMenu&&this.onContextMenu(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseMove=function(e){this.onMouseMove&&this.onMouseMove(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseLeave=function(e){this.onMouseLeave&&this.onMouseLeave(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseUp=function(e){this.onMouseUp&&this.onMouseUp(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseDown=function(e){this.onMouseDown&&this.onMouseDown(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseDrag=function(e){this.onMouseDrag&&this.onMouseDrag(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseDrop=function(e){this.onMouseDrop&&this.onMouseDrop(this._convertViewToModelMouseEvent(e))},t.prototype.emitMouseWheel=function(e){this.onMouseWheel&&this.onMouseWheel(e)},t.prototype._convertViewToModelMouseEvent=function(e){return e.target?{event:e.event,target:this._convertViewToModelMouseTarget(e.target)}:e},t.prototype._convertViewToModelMouseTarget=function(e){return t.convertViewToModelMouseTarget(e,this._viewModel.coordinatesConverter)},t.convertViewToModelMouseTarget=function(e,t){return new _t(e.element,e.type,e.mouseColumn,e.position?t.convertViewPositionToModelPosition(e.position):null,e.range?t.convertViewRangeToModelRange(e.range):null,e.detail)},t}(u.a),_t=function(){function e(e,t,n,i,o,r){this.element=e,this.type=t,this.mouseColumn=n,this.position=i,this.range=o,this.detail=r}return e.prototype.toString=function(){return le.toString(this)},e}(),bt=n("erNZ"),yt=function(){function e(e){this._createLine=e,this._set(1,[])}return e.prototype.flush=function(){this._set(1,[])},e.prototype._set=function(e,t){this._lines=t,this._rendLineNumberStart=e},e.prototype._get=function(){return{rendLineNumberStart:this._rendLineNumberStart,lines:this._lines}},e.prototype.getStartLineNumber=function(){return this._rendLineNumberStart},e.prototype.getEndLineNumber=function(){return this._rendLineNumberStart+this._lines.length-1},e.prototype.getCount=function(){return this._lines.length},e.prototype.getLine=function(e){var t=e-this._rendLineNumberStart;if(t<0||t>=this._lines.length)throw new Error("Illegal value for lineNumber");return this._lines[t]},e.prototype.onLinesDeleted=function(e,t){if(0===this.getCount())return null;var n=this.getStartLineNumber(),i=this.getEndLineNumber();if(ti)return null;for(var r=0,s=0,a=n;a<=i;a++){var u=a-this._rendLineNumberStart;e<=a&&a<=t&&(0===s?(r=u,s=1):s++)}if(e=n&&r<=i&&(this._lines[r-this._rendLineNumberStart].onContentChanged(),o=!0);return o},e.prototype.onLinesInserted=function(e,t){if(0===this.getCount())return null;var n=t-e+1,i=this.getStartLineNumber(),o=this.getEndLineNumber();if(e<=i)return this._rendLineNumberStart+=n,null;if(e>o)return null;if(n+e>o)return this._lines.splice(e-this._rendLineNumberStart,o-e+1);for(var r=[],s=0;sn))for(var a=Math.max(t,s.fromLineNumber),u=Math.min(n,s.toLineNumber),l=a;l<=u;l++){var c=l-this._rendLineNumberStart;this._lines[c].onTokensChanged(),i=!0}}return i},e}(),Ct=function(){function e(e){var t=this;this._host=e,this.domNode=this._createDomNode(),this._linesCollection=new yt((function(){return t._host.createVisibleLine()}))}return e.prototype._createDomNode=function(){var e=Object(p.b)(document.createElement("div"));return e.setClassName("view-layer"),e.setPosition("absolute"),e.domNode.setAttribute("role","presentation"),e.domNode.setAttribute("aria-hidden","true"),e},e.prototype.onConfigurationChanged=function(e){return!!e.hasChanged(107)},e.prototype.onFlushed=function(e){return this._linesCollection.flush(),!0},e.prototype.onLinesChanged=function(e){return this._linesCollection.onLinesChanged(e.fromLineNumber,e.toLineNumber)},e.prototype.onLinesDeleted=function(e){var t=this._linesCollection.onLinesDeleted(e.fromLineNumber,e.toLineNumber);if(t)for(var n=0,i=t.length;nt)(u=t)<=(s=Math.min(n,o.rendLineNumberStart-1))&&(this._insertLinesBefore(o,u,s,i,t),o.linesLength+=s-u+1);else if(o.rendLineNumberStart0&&(this._removeLinesBefore(o,a),o.linesLength-=a)}if(o.rendLineNumberStart=t,o.rendLineNumberStart+o.linesLength-1n){var s,a,u=Math.max(0,n-o.rendLineNumberStart+1);(a=(s=o.linesLength-1)-u+1)>0&&(this._removeLinesAfter(o,a),o.linesLength-=a)}return this._finishRendering(o,!1,i),o},e.prototype._renderUntouchedLines=function(e,t,n,i,o){for(var r=e.rendLineNumberStart,s=e.lines,a=t;a<=n;a++){var u=r+a;s[a].layoutLine(u,i[u-o])}},e.prototype._insertLinesBefore=function(e,t,n,i,o){for(var r=[],s=0,a=t;a<=n;a++)r[s++]=this.host.createVisibleLine();e.lines=r.concat(e.lines)},e.prototype._removeLinesBefore=function(e,t){for(var n=0;n=0;s--){var a=e.lines[s];i[s]&&(a.setDomNode(r),r=r.previousSibling)}},e.prototype._finishRenderingInvalidLines=function(e,t,n){var i=document.createElement("div");i.innerHTML=t;for(var o=0;o'),i.appendASCIIString(o),i.appendASCIIString(""),!0)},e.prototype.layoutLine=function(e,t){this._domNode&&(this._domNode.setTop(t),this._domNode.setHeight(this._lineHeight))},e}(),Dt=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options.get(107);return n._contentWidth=i.contentWidth,n.domNode.setHeight(0),n}return St(t,e),t.prototype.onConfigurationChanged=function(t){var n=this._context.configuration.options.get(107);return this._contentWidth=n.contentWidth,e.prototype.onConfigurationChanged.call(this,t)||!0},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollWidthChanged},t.prototype._viewOverlaysRender=function(t){e.prototype._viewOverlaysRender.call(this,t),this.domNode.setWidth(Math.max(t.scrollWidth,this._contentWidth))},t}(Ot),xt=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options,o=i.get(107);return n._contentLeft=o.contentLeft,n.domNode.setClassName("margin-view-overlays"),n.domNode.setWidth(1),c.a.applyFontInfo(n.domNode,i.get(34)),n}return St(t,e),t.prototype.onConfigurationChanged=function(t){var n=this._context.configuration.options;c.a.applyFontInfo(this.domNode,n.get(34));var i=n.get(107);return this._contentLeft=i.contentLeft,e.prototype.onConfigurationChanged.call(this,t)||!0},t.prototype.onScrollChanged=function(t){return e.prototype.onScrollChanged.call(this,t)||t.scrollHeightChanged},t.prototype._viewOverlaysRender=function(t){e.prototype._viewOverlaysRender.call(this,t);var n=Math.min(t.scrollHeight,1e6);this.domNode.setHeight(n),this.domNode.setWidth(this._contentLeft)},t}(Ot),Nt=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),kt=function(e,t){this.top=e,this.left=t},Et=function(e){function t(t,n){var i=e.call(this,t)||this;return i._viewDomNode=n,i._widgets={},i.domNode=Object(p.b)(document.createElement("div")),T.write(i.domNode,1),i.domNode.setClassName("contentWidgets"),i.domNode.setPosition("absolute"),i.domNode.setTop(0),i.overflowingContentWidgetsDomNode=Object(p.b)(document.createElement("div")),T.write(i.overflowingContentWidgetsDomNode,2),i.overflowingContentWidgetsDomNode.setClassName("overflowingContentWidgets"),i}return Nt(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._widgets={}},t.prototype.onConfigurationChanged=function(e){for(var t=0,n=Object.keys(this._widgets);t=i,c=a,d=o.viewportHeight-a>=i,h=e.left,p=t.left;return h+n>o.scrollLeft+o.viewportWidth&&(h=o.scrollLeft+o.viewportWidth-n),p+n>o.scrollLeft+o.viewportWidth&&(p=o.scrollLeft+o.viewportWidth-n),ha&&(u-=o=u-(a-i),n-=o);u=22,b=c+i<=d.height-22;return this._fixedOverflowWidgets?{fitsAbove:_,aboveTop:Math.max(l,22),aboveLeft:f,fitsBelow:b,belowTop:c,belowLeft:v}:{fitsAbove:_,aboveTop:Math.max(s,22),aboveLeft:p,fitsBelow:b,belowTop:a,belowLeft:m}},e.prototype._prepareRenderWidgetAtExactPositionOverflowing=function(e){return new kt(e.top,e.left+this._contentLeft)},e.prototype._getTopAndBottomLeft=function(e){if(!this._viewRange)return[null,null];var t=e.linesVisibleRangesForRange(this._viewRange,!1);if(!t||0===t.length)return[null,null];for(var n=t[0],i=t[0],o=0,r=t;oi.lineNumber&&(i=s)}for(var a=1073741824,u=0,l=n.ranges;ue.endLineNumber||this.domNode.setMaxWidth(this._maxWidth))},e.prototype.prepareRender=function(e){this._renderData=this._prepareRenderWidget(e)},e.prototype.render=function(e){this._renderData?(this.allowEditorOverflow?(this.domNode.setTop(this._renderData.top),this.domNode.setLeft(this._renderData.left)):(this.domNode.setTop(this._renderData.top+e.scrollTop-e.bigNumbersDelta),this.domNode.setLeft(this._renderData.left)),this._isVisible||(this.domNode.setVisibility("inherit"),this.domNode.setAttribute("monaco-visible-content-widget","true"),this._isVisible=!0)):this._isVisible&&(this.domNode.removeAttribute("monaco-visible-content-widget"),this._isVisible=!1,this.domNode.setVisibility("hidden"))},e}(),Mt=(n("kw+w"),n("6OMU")),Tt=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Pt=!0,Rt=function(e){function t(t){var n=e.call(this)||this;n._context=t;var i=n._context.configuration.options,o=i.get(107);return n._lineHeight=i.get(49),n._renderLineHighlight=i.get(72),n._contentLeft=o.contentLeft,n._contentWidth=o.contentWidth,n._selectionIsEmpty=!0,n._cursorLineNumbers=[],n._selections=[],n._renderData=null,n._context.addEventHandler(n),n}return Tt(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype._readFromSelections=function(){var e=!1,t=Pt?this._selections.slice(0,1):this._selections,n=t.map((function(e){return e.positionLineNumber}));n.sort((function(e,t){return e-t})),Mt.g(this._cursorLineNumbers,n)||(this._cursorLineNumbers=n,e=!0);var i=t.every((function(e){return e.isEmpty()}));return this._selectionIsEmpty!==i&&(this._selectionIsEmpty=i,e=!0),e},t.prototype.onThemeChanged=function(e){return this._readFromSelections()},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(107);return this._lineHeight=t.get(49),this._renderLineHighlight=t.get(72),this._contentLeft=n.contentLeft,this._contentWidth=n.contentWidth,!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections,this._readFromSelections()},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollWidthChanged||e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.prepareRender=function(e){if(this._shouldRenderThis()){for(var t=this._renderOne(e),n=e.visibleRange.startLineNumber,i=e.visibleRange.endLineNumber,o=this._cursorLineNumbers.length,r=0,s=[],a=n;a<=i;a++){for(var u=a-n;r=this._renderData.length?"":this._renderData[n]},t}(Ae),At=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Tt(t,e),t.prototype._renderOne=function(e){return'
'},t.prototype._shouldRenderThis=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},t.prototype._shouldRenderOther=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},t}(Rt),Ft=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Tt(t,e),t.prototype._renderOne=function(e){return'
'},t.prototype._shouldRenderThis=function(){return"gutter"===this._renderLineHighlight||"all"===this._renderLineHighlight},t.prototype._shouldRenderOther=function(){return("line"===this._renderLineHighlight||"all"===this._renderLineHighlight)&&this._selectionIsEmpty},t}(Rt);Object(U.e)((function(e,t){Pt=!1;var n=e.getColor(Fe.i);if(n&&(t.addRule(".monaco-editor .view-overlays .current-line { background-color: "+n+"; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { background-color: "+n+"; border: none; }")),!n||n.isTransparent()||e.defines(Fe.j)){var i=e.getColor(Fe.j);i&&(Pt=!0,t.addRule(".monaco-editor .view-overlays .current-line { border: 2px solid "+i+"; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border: 2px solid "+i+"; }"),"hc"===e.type&&(t.addRule(".monaco-editor .view-overlays .current-line { border-width: 1px; }"),t.addRule(".monaco-editor .margin-view-overlays .current-line-margin { border-width: 1px; }")))}}));n("Vtyv");var jt=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Wt=function(e){function t(t){var n=e.call(this)||this;n._context=t;var i=n._context.configuration.options;return n._lineHeight=i.get(49),n._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,n._renderResult=null,n._context.addEventHandler(n),n}return jt(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=t.get(34).typicalHalfwidthCharacterWidth,!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged||e.scrollWidthChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.prepareRender=function(e){for(var t=e.getDecorationsInViewport(),n=[],i=0,o=0,r=t.length;ot.options.zIndex)return 1;var n=e.options.className,i=t.options.className;return ni?1:re.a.compareRangesUsingStarts(e.range,t.range)}));for(var a=e.visibleRange.startLineNumber,u=e.visibleRange.endLineNumber,l=[],c=a;c<=u;c++){l[c-a]=""}this._renderWholeLineDecorations(e,n,l),this._renderNormalDecorations(e,n,l),this._renderResult=l},t.prototype._renderWholeLineDecorations=function(e,t,n){for(var i=String(this._lineHeight),o=e.visibleRange.startLineNumber,r=e.visibleRange.endLineNumber,s=0,a=t.length;s',c=Math.max(u.range.startLineNumber,o),d=Math.min(u.range.endLineNumber,r),h=c;h<=d;h++){n[h-o]+=l}}},t.prototype._renderNormalDecorations=function(e,t,n){for(var i=String(this._lineHeight),o=e.visibleRange.startLineNumber,r=null,s=!1,a=null,u=0,l=t.length;u';s[d]+=m}}}},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t}(Ae),Vt=n("GJhM"),Bt=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Ht=function(e){function t(t,n,i,o){var s=e.call(this,t)||this,a=s._context.configuration.options,u=a.get(78),l=a.get(56),c=a.get(27),d={listenOnDomNode:i.domNode,className:"editor-scrollable "+Object(U.d)(t.theme.type),useShadows:!1,lazyRender:!0,vertical:u.vertical,horizontal:u.horizontal,verticalHasArrows:u.verticalHasArrows,horizontalHasArrows:u.horizontalHasArrows,verticalScrollbarSize:u.verticalScrollbarSize,verticalSliderSize:u.verticalSliderSize,horizontalScrollbarSize:u.horizontalScrollbarSize,horizontalSliderSize:u.horizontalSliderSize,handleMouseWheel:u.handleMouseWheel,alwaysConsumeMouseWheel:u.alwaysConsumeMouseWheel,arrowSize:u.arrowSize,mouseWheelScrollSensitivity:l,fastScrollSensitivity:c};s.scrollbar=s._register(new Vt.c(n.domNode,d,s._context.viewLayout.getScrollable())),T.write(s.scrollbar.getDomNode(),5),s.scrollbarDomNode=Object(p.b)(s.scrollbar.getDomNode()),s.scrollbarDomNode.setPosition("absolute"),s._setLayout();var h=function(e,t,n){var i={};if(t){var o=e.scrollTop;o&&(i.scrollTop=s._context.viewLayout.getCurrentScrollTop()+o,e.scrollTop=0)}if(n){var r=e.scrollLeft;r&&(i.scrollLeft=s._context.viewLayout.getCurrentScrollLeft()+r,e.scrollLeft=0)}s._context.viewLayout.setScrollPositionNow(i)};return s._register(r.j(i.domNode,"scroll",(function(e){return h(i.domNode,!0,!0)}))),s._register(r.j(n.domNode,"scroll",(function(e){return h(n.domNode,!0,!1)}))),s._register(r.j(o.domNode,"scroll",(function(e){return h(o.domNode,!0,!1)}))),s._register(r.j(s.scrollbarDomNode.domNode,"scroll",(function(e){return h(s.scrollbarDomNode.domNode,!0,!1)}))),s}return Bt(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype._setLayout=function(){var e=this._context.configuration.options,t=e.get(107);this.scrollbarDomNode.setLeft(t.contentLeft),"right"===e.get(54).side?this.scrollbarDomNode.setWidth(t.contentWidth+t.minimapWidth):this.scrollbarDomNode.setWidth(t.contentWidth),this.scrollbarDomNode.setHeight(t.height)},t.prototype.getOverviewRulerLayoutInfo=function(){return this.scrollbar.getOverviewRulerLayoutInfo()},t.prototype.getDomNode=function(){return this.scrollbarDomNode},t.prototype.delegateVerticalScrollbarMouseDown=function(e){this.scrollbar.delegateVerticalScrollbarMouseDown(e)},t.prototype.onConfigurationChanged=function(e){if(e.hasChanged(78)||e.hasChanged(56)||e.hasChanged(27)){var t=this._context.configuration.options,n=t.get(78),i=t.get(56),o=t.get(27),r={handleMouseWheel:n.handleMouseWheel,mouseWheelScrollSensitivity:i,fastScrollSensitivity:o};this.scrollbar.updateOptions(r)}return e.hasChanged(107)&&this._setLayout(),!0},t.prototype.onScrollChanged=function(e){return!0},t.prototype.onThemeChanged=function(e){return this.scrollbar.updateClassName("editor-scrollable "+Object(U.d)(this._context.theme.type)),!0},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this.scrollbar.renderNow()},t}(M),zt=(n("hHjc"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Ut=function(e,t,n){this.startLineNumber=+e,this.endLineNumber=+t,this.className=String(n)},Kt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return zt(t,e),t.prototype._render=function(e,t,n){for(var i=[],o=e;o<=t;o++){i[o-e]=[]}if(0===n.length)return i;n.sort((function(e,t){return e.className===t.className?e.startLineNumber===t.startLineNumber?e.endLineNumber-t.endLineNumber:e.startLineNumber-t.startLineNumber:e.className',s=[],a=t;a<=n;a++){var u=a-t,l=i[u];0===l.length?s[u]="":s[u]='
=this._renderResult.length?"":this._renderResult[n]},t}(Kt),Gt=(n("C6rC"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Yt=function(e){function t(t){var n=e.call(this)||this;n._context=t,n._primaryLineNumber=0;var i=n._context.configuration.options,o=i.get(108),r=i.get(34);return n._lineHeight=i.get(49),n._spaceWidth=r.spaceWidth,n._enabled=i.get(70),n._activeIndentEnabled=i.get(43),n._maxIndentLeft=-1===o.wrappingColumn?-1:o.wrappingColumn*r.typicalHalfwidthCharacterWidth,n._renderResult=null,n._context.addEventHandler(n),n}return Gt(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(108),i=t.get(34);return this._lineHeight=t.get(49),this._spaceWidth=i.spaceWidth,this._enabled=t.get(70),this._activeIndentEnabled=t.get(43),this._maxIndentLeft=-1===n.wrappingColumn?-1:n.wrappingColumn*i.typicalHalfwidthCharacterWidth,!0},t.prototype.onCursorStateChanged=function(e){var t=e.selections[0],n=t.isEmpty()?t.positionLineNumber:0;return this._primaryLineNumber!==n&&(this._primaryLineNumber=n,!0)},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype.onLanguageConfigurationChanged=function(e){return!0},t.prototype.prepareRender=function(e){if(this._enabled){var t=e.visibleRange.startLineNumber,n=e.visibleRange.endLineNumber,i=this._context.model.getOptions().indentSize*this._spaceWidth,o=e.scrollWidth,r=this._lineHeight,s=this._context.model.getLinesIndentGuides(t,n),a=0,u=0,l=0;if(this._activeIndentEnabled&&this._primaryLineNumber){var c=this._context.model.getActiveIndentGuide(this._primaryLineNumber,t,n);a=c.startLineNumber,u=c.endLineNumber,l=c.indent}for(var d=[],h=t;h<=n;h++){var p=a<=h&&h<=u,f=h-t,g=s[f],m="";if(g>=1)for(var v=e.visibleRangeForPosition(new oe.a(h,1)),_=v?v.left:0,b=1;b<=g;b++){if(m+='
',(_+=i)>o||this._maxIndentLeft>0&&_>this._maxIndentLeft)break}d[f]=m}this._renderResult=d}else this._renderResult=null},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t}(Ae);Object(U.e)((function(e,t){var n=e.getColor(Fe.h);n&&t.addRule(".monaco-editor .lines-content .cigr { box-shadow: 1px 0 0 0 "+n+" inset; }");var i=e.getColor(Fe.a)||n;i&&t.addRule(".monaco-editor .lines-content .cigra { box-shadow: 1px 0 0 0 "+i+" inset; }")}));n("OKK6");var Zt=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Xt=function(){function e(){this._currentVisibleRange=new re.a(1,1,1,1)}return e.prototype.getCurrentVisibleRange=function(){return this._currentVisibleRange},e.prototype.setCurrentVisibleRange=function(e){this._currentVisibleRange=e},e}(),Qt=function(e,t,n,i,o,r){this.lineNumber=e,this.startColumn=t,this.endColumn=n,this.startScrollTop=i,this.stopScrollTop=o,this.scrollType=r},Jt=function(e){function t(t,n){var i=e.call(this,t)||this;i._linesContent=n,i._textRangeRestingSpot=document.createElement("div"),i._visibleLines=new Ct(i),i.domNode=i._visibleLines.domNode;var o=i._context.configuration,r=i._context.configuration.options,s=r.get(34),a=r.get(108);return i._lineHeight=r.get(49),i._typicalHalfwidthCharacterWidth=s.typicalHalfwidthCharacterWidth,i._isViewportWrapping=a.isViewportWrapping,i._revealHorizontalRightPadding=r.get(75),i._cursorSurroundingLines=r.get(19),i._cursorSurroundingLinesStyle=r.get(20),i._canUseLayerHinting=!r.get(22),i._viewLineOptions=new X(o,i._context.theme.type),T.write(i.domNode,7),i.domNode.setClassName("view-lines"),c.a.applyFontInfo(i.domNode,s),i._maxLineWidth=0,i._asyncUpdateLineWidths=new _.d((function(){i._updateLineWidthsSlow()}),200),i._lastRenderedData=new Xt,i._horizontalRevealRequest=null,i}return Zt(t,e),t.prototype.dispose=function(){this._asyncUpdateLineWidths.dispose(),e.prototype.dispose.call(this)},t.prototype.getDomNode=function(){return this.domNode},t.prototype.createVisibleLine=function(){return new Q(this._viewLineOptions)},t.prototype.onConfigurationChanged=function(e){this._visibleLines.onConfigurationChanged(e),e.hasChanged(108)&&(this._maxLineWidth=0);var t=this._context.configuration.options,n=t.get(34),i=t.get(108);return this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._isViewportWrapping=i.isViewportWrapping,this._revealHorizontalRightPadding=t.get(75),this._cursorSurroundingLines=t.get(19),this._cursorSurroundingLinesStyle=t.get(20),this._canUseLayerHinting=!t.get(22),c.a.applyFontInfo(this.domNode,n),this._onOptionsMaybeChanged(),e.hasChanged(107)&&(this._maxLineWidth=0),!0},t.prototype._onOptionsMaybeChanged=function(){var e=this._context.configuration,t=new X(e,this._context.theme.type);if(!this._viewLineOptions.equals(t)){this._viewLineOptions=t;for(var n=this._visibleLines.getStartLineNumber(),i=this._visibleLines.getEndLineNumber(),o=n;o<=i;o++){this._visibleLines.getVisibleLine(o).onOptionsChanged(this._viewLineOptions)}return!0}return!1},t.prototype.onCursorStateChanged=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),i=!1,o=t;o<=n;o++)i=this._visibleLines.getVisibleLine(o).onSelectionChanged()||i;return i},t.prototype.onDecorationsChanged=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),i=t;i<=n;i++)this._visibleLines.getVisibleLine(i).onDecorationsChanged();return!0},t.prototype.onFlushed=function(e){var t=this._visibleLines.onFlushed(e);return this._maxLineWidth=0,t},t.prototype.onLinesChanged=function(e){return this._visibleLines.onLinesChanged(e)},t.prototype.onLinesDeleted=function(e){return this._visibleLines.onLinesDeleted(e)},t.prototype.onLinesInserted=function(e){return this._visibleLines.onLinesInserted(e)},t.prototype.onRevealRangeRequest=function(e){var t=this._computeScrollTopToRevealRange(this._context.viewLayout.getFutureViewport(),e.source,e.range,e.verticalType),n=this._context.viewLayout.validateScrollPosition({scrollTop:t});e.revealHorizontal?e.range.startLineNumber!==e.range.endLineNumber?n={scrollTop:n.scrollTop,scrollLeft:0}:this._horizontalRevealRequest=new Qt(e.range.startLineNumber,e.range.startColumn,e.range.endColumn,this._context.viewLayout.getCurrentScrollTop(),n.scrollTop,e.scrollType):this._horizontalRevealRequest=null;var i=Math.abs(this._context.viewLayout.getCurrentScrollTop()-n.scrollTop);return 0===e.scrollType&&i>this._lineHeight?this._context.viewLayout.setScrollPositionSmooth(n):this._context.viewLayout.setScrollPositionNow(n),!0},t.prototype.onScrollChanged=function(e){if(this._horizontalRevealRequest&&e.scrollLeftChanged&&(this._horizontalRevealRequest=null),this._horizontalRevealRequest&&e.scrollTopChanged){var t=Math.min(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop),n=Math.max(this._horizontalRevealRequest.startScrollTop,this._horizontalRevealRequest.stopScrollTop);(e.scrollTopn)&&(this._horizontalRevealRequest=null)}return this.domNode.setWidth(e.scrollWidth),this._visibleLines.onScrollChanged(e)||!0},t.prototype.onTokensChanged=function(e){return this._visibleLines.onTokensChanged(e)},t.prototype.onZonesChanged=function(e){return this._context.viewLayout.onMaxLineWidthChanged(this._maxLineWidth),this._visibleLines.onZonesChanged(e)},t.prototype.onThemeChanged=function(e){return this._onOptionsMaybeChanged()},t.prototype.getPositionFromDOMInfo=function(e,t){var n=this._getViewLineDomNode(e);if(null===n)return null;var i=this._getLineNumberFor(n);if(-1===i)return null;if(i<1||i>this._context.model.getLineCount())return null;if(1===this._context.model.getLineMaxColumn(i))return new oe.a(i,1);var o=this._visibleLines.getStartLineNumber(),r=this._visibleLines.getEndLineNumber();if(ir)return null;var s=this._visibleLines.getVisibleLine(i).getColumnOfNodeOffset(i,e,t),a=this._context.model.getLineMinColumn(i);return sn?-1:this._visibleLines.getVisibleLine(e).getWidth()},t.prototype.linesVisibleRangesForRange=function(e,t){if(this.shouldRender())return null;var n=e.endLineNumber,i=re.a.intersectRanges(e,this._lastRenderedData.getCurrentVisibleRange());if(!i)return null;var o=[],r=0,s=new Z(this.domNode.domNode,this._textRangeRestingSpot),a=0;t&&(a=this._context.model.coordinatesConverter.convertViewPositionToModelPosition(new oe.a(i.startLineNumber,1)).lineNumber);for(var u=this._visibleLines.getStartLineNumber(),l=this._visibleLines.getEndLineNumber(),c=i.startLineNumber;c<=i.endLineNumber;c++)if(!(cl)){var d=c===i.startLineNumber?i.startColumn:1,h=c===i.endLineNumber?i.endColumn:this._context.model.getLineMaxColumn(c),p=this._visibleLines.getVisibleLine(c).getVisibleRangesForRange(d,h,s);if(p){if(t&&cthis._visibleLines.getEndLineNumber()?null:this._visibleLines.getVisibleLine(e).getVisibleRangesForRange(t,n,new Z(this.domNode.domNode,this._textRangeRestingSpot))},t.prototype.visibleRangeForPosition=function(e){var t=this._visibleRangesForLineRange(e.lineNumber,e.column,e.column);return t?new j(t.outsideRenderedLine,t.ranges[0].left):null},t.prototype.updateLineWidths=function(){this._updateLineWidths(!1)},t.prototype._updateLineWidthsFast=function(){return this._updateLineWidths(!0)},t.prototype._updateLineWidthsSlow=function(){this._updateLineWidths(!1)},t.prototype._updateLineWidths=function(e){for(var t=this._visibleLines.getStartLineNumber(),n=this._visibleLines.getEndLineNumber(),i=1,o=!0,r=t;r<=n;r++){var s=this._visibleLines.getVisibleLine(r);!e||s.getWidthIsFast()?i=Math.max(i,s.getWidth()):o=!1}return o&&1===t&&n===this._context.model.getLineCount()&&(this._maxLineWidth=0),this._ensureMaxLineWidth(i),o},t.prototype.prepareRender=function(){throw new Error("Not supported")},t.prototype.render=function(){throw new Error("Not supported")},t.prototype.renderText=function(e){if(this._visibleLines.renderLines(e),this._lastRenderedData.setCurrentVisibleRange(e.visibleRange),this.domNode.setWidth(this._context.viewLayout.getScrollWidth()),this.domNode.setHeight(Math.min(this._context.viewLayout.getScrollHeight(),1e6)),this._horizontalRevealRequest){var t=this._horizontalRevealRequest.lineNumber,n=this._horizontalRevealRequest.startColumn,i=this._horizontalRevealRequest.endColumn,o=this._horizontalRevealRequest.scrollType;if(e.startLineNumber<=t&&t<=e.endLineNumber){this._horizontalRevealRequest=null,this.onDidRender();var r=this._computeScrollLeftToRevealRange(t,n,i);this._isViewportWrapping||this._ensureMaxLineWidth(r.maxHorizontalOffset),0===o?this._context.viewLayout.setScrollPositionSmooth({scrollLeft:r.scrollLeft}):this._context.viewLayout.setScrollPositionNow({scrollLeft:r.scrollLeft})}}this._updateLineWidthsFast()||this._asyncUpdateLineWidths.schedule(),this._linesContent.setLayerHinting(this._canUseLayerHinting),this._linesContent.setContain("strict");var s=this._context.viewLayout.getCurrentScrollTop()-e.bigNumbersDelta;this._linesContent.setTop(-s),this._linesContent.setLeft(-this._context.viewLayout.getCurrentScrollLeft())},t.prototype._ensureMaxLineWidth=function(e){var t=Math.ceil(e);this._maxLineWidthu)s=o;else if(1===i||2===i)if(2===i&&a<=o&&r<=l)s=a;else{var d=(o+r)/2;s=Math.max(0,d-u/2)}else s=this._computeMinimumScrolling(a,l,o,r,3===i,4===i);return s},t.prototype._computeScrollLeftToRevealRange=function(e,n,i){var o=0,r=this._context.viewLayout.getCurrentViewport(),s=r.left,a=s+r.width,u=this._visibleRangesForLineRange(e,n,i),l=1073741824,c=0;if(!u)return{scrollLeft:s,maxHorizontalOffset:o};for(var d=0,h=u.ranges;dc&&(c=p.left+p.width)}return o=c,l=Math.max(0,l-t.HORIZONTAL_EXTRA_PX),c+=this._revealHorizontalRightPadding,{scrollLeft:this._computeMinimumScrolling(s,a,l,c),maxHorizontalOffset:o}},t.prototype._computeMinimumScrolling=function(e,t,n,i,o,r){o=!!o,r=!!r;var s=(t|=0)-(e|=0);return(i|=0)-(n|=0)t?Math.max(0,i-s):e:n},t.HORIZONTAL_EXTRA_PX=30,t}(M),$t=(n("J+ZK"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),en=function(e){function t(t){var n=e.call(this)||this;n._context=t;var i=n._context.configuration.options.get(107);return n._decorationsLeft=i.decorationsLeft,n._decorationsWidth=i.decorationsWidth,n._renderResult=null,n._context.addEventHandler(n),n}return $t(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options.get(107);return this._decorationsLeft=t.decorationsLeft,this._decorationsWidth=t.decorationsWidth,!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._getDecorations=function(e){for(var t=e.getDecorationsInViewport(),n=[],i=0,o=0,r=t.length;o
',r=[],s=t;s<=n;s++){for(var a=s-t,u=i[a],l="",c=0,d=u.length;c';o[s]=u}this._renderResult=o},t.prototype.render=function(e,t){return this._renderResult?this._renderResult[t-e]:""},t}(Kt),on=(n("8gvo"),function(){function e(t,n,i,o){this.r=e._clamp(t),this.g=e._clamp(n),this.b=e._clamp(i),this.a=e._clamp(o)}return e._clamp=function(e){return e<0?0:e>255?255:0|e},e.Empty=new e(0,0,0,0),e}()),rn=n("twdY"),sn=function(){function e(){var e=this;this._onDidChange=new a.a,this.onDidChange=this._onDidChange.event,this._updateColorMap(),rn.B.onDidChange((function(t){t.changedColorMap&&e._updateColorMap()}))}return e.getInstance=function(){return this._INSTANCE||(this._INSTANCE=new e),this._INSTANCE},e.prototype._updateColorMap=function(){var e=rn.B.getColorMap();if(!e)return this._colors=[on.Empty],void(this._backgroundIsLight=!0);this._colors=[on.Empty];for(var t=1;t=.5,this._onDidChange.fire(void 0)},e.prototype.getColor=function(e){return(e<1||e>=this._colors.length)&&(e=2),this._colors[e]},e.prototype.backgroundIsLight=function(){return this._backgroundIsLight},e._INSTANCE=null,e}(),an=n("MD5Z"),un=function(){for(var e=[],t=32;t<=126;t++)e.push(t);return e.push(65533),e}(),ln=function(){function e(t,n){this.scale=n,this.charDataNormal=e.soften(t,.8),this.charDataLight=e.soften(t,50/60)}return e.soften=function(e,t){for(var n=new Uint8ClampedArray(e.length),i=0,o=e.length;ie.width||n+l>e.height)console.warn("bad render request outside image data");else for(var c=a?this.charDataLight:this.charDataNormal,d=function(e,t){return(e-=32)<0||e>96?t<=2?(e+96)%96:95:e}(i,s),h=4*e.width,p=r.r,f=r.g,g=r.b,m=o.r-p,v=o.g-f,_=o.b-g,b=e.data,y=d*u*l,C=n*h+4*t,w=0;we.width||n+a>e.height)console.warn("bad render request outside image data");else for(var u=4*e.width,l=o.r,c=o.g,d=o.b,h=l+.5*(i.r-l),p=c+.5*(i.g-c),f=d+.5*(i.b-d),g=e.data,m=n*u+4*t,v=0;v>1]=dn[e[n]]<<4|15&dn[e[n+1]];return t},pn={1:Object(cn.a)((function(){return hn("0000511D6300CF609C709645A78432005642574171487021003C451900274D35D762755E8B629C5BA856AF57BA649530C167D1512A272A3F6038604460398526BCA2A968DB6F8957C768BE5FBE2FB467CF5D8D5B795DC7625B5DFF50DE64C466DB2FC47CD860A65E9A2EB96CB54CE06DA763AB2EA26860524D3763536601005116008177A8705E53AB738E6A982F88BAA35B5F5B626D9C636B449B737E5B7B678598869A662F6B5B8542706C704C80736A607578685B70594A49715A4522E792")})),2:Object(cn.a)((function(){return hn("000000000000000055394F383D2800008B8B1F210002000081B1CBCBCC820000847AAF6B9AAF2119BE08B8881AD60000A44FD07DCCF107015338130C00000000385972265F390B406E2437634B4B48031B12B8A0847000001E15B29A402F0000000000004B33460B00007A752C2A0000000000004D3900000084394B82013400ABA5CFC7AD9C0302A45A3E5A98AB000089A43382D97900008BA54AA087A70A0248A6A7AE6DBE0000BF6F94987EA40A01A06DCFA7A7A9030496C32F77891D0000A99FB1A0AFA80603B29AB9CA75930D010C0948354D3900000C0948354F37460D0028BE673D8400000000AF9D7B6E00002B007AA8933400007AA642675C2700007984CFB9C3985B768772A8A6B7B20000CAAECAAFC4B700009F94A6009F840009D09F9BA4CA9C0000CC8FC76DC87F0000C991C472A2000000A894A48CA7B501079BA2C9C69BA20000B19A5D3FA89000005CA6009DA2960901B0A7F0669FB200009D009E00B7890000DAD0F5D092820000D294D4C48BD10000B5A7A4A3B1A50402CAB6CBA6A2000000B5A7A4A3B1A8044FCDADD19D9CB00000B7778F7B8AAE0803C9AB5D3F5D3F00009EA09EA0BAB006039EA0989A8C7900009B9EF4D6B7C00000A9A7816CACA80000ABAC84705D3F000096DA635CDC8C00006F486F266F263D4784006124097B00374F6D2D6D2D6D4A3A95872322000000030000000000008D8939130000000000002E22A5C9CBC70600AB25C0B5C9B400061A2DB04CA67001082AA6BEBEBFC606002321DACBC19E03087AA08B6768380000282FBAC0B8CA7A88AD25BBA5A29900004C396C5894A6000040485A6E356E9442A32CD17EADA70000B4237923628600003E2DE9C1D7B500002F25BBA5A2990000231DB6AFB4A804023025C0B5CAB588062B2CBDBEC0C706882435A75CA20000002326BD6A82A908048B4B9A5A668000002423A09CB4BB060025259C9D8A7900001C1FCAB2C7C700002A2A9387ABA200002626A4A47D6E9D14333163A0C87500004B6F9C2D643A257049364936493647358A34438355497F1A0000A24C1D590000D38DFFBDD4CD3126")}))},fn=function(){function e(){}return e.create=function(t,n){return this.lastCreated&&t===this.lastCreated.scale&&n===this.lastFontFamily?this.lastCreated:(i=pn[t]?new ln(pn[t](),t):e.createFromSampleData(e.createSampleData(n).data,t),this.lastFontFamily=n,this.lastCreated=i,i);var i},e.createSampleData=function(e){var t=document.createElement("canvas"),n=t.getContext("2d");t.style.height="16px",t.height=16,t.width=960,t.style.width="960px",n.fillStyle="#ffffff",n.font="bold 16px "+e,n.textBaseline="middle";for(var i=0,o=0,r=un;o0)for(var l=255/a,c=0;c=s+y)return new e(a,u,_,b,c,C=1,s);var C=Math.max(1,Math.floor(n-b*h/p));return l&&l.scrollHeight===u&&(l.scrollTop>a&&(C=Math.min(C,l.startLineNumber)),l.scrollTop140)n._context.viewLayout.setScrollPositionNow({scrollTop:o.scrollTop});else{var s=e.posy-t;n._context.viewLayout.setScrollPositionNow({scrollTop:o.getDesiredScrollTopFromDelta(s)})}}),(function(){n._slider.toggleClassName("active",!1)}))}})),n._gestureDisposable=g.b.addTarget(n._domNode.domNode),n._sliderTouchStartListener=r.j(n._domNode.domNode,g.a.Start,(function(e){e.preventDefault(),e.stopPropagation(),n._lastRenderData&&(n._slider.toggleClassName("active",!0),n._gestureInProgress=!0,n.scrollDueToTouchEvent(e))})),n._sliderTouchMoveListener=r.o(n._domNode.domNode,g.a.Change,(function(e){e.preventDefault(),e.stopPropagation(),n._lastRenderData&&n._gestureInProgress&&n.scrollDueToTouchEvent(e)})),n._sliderTouchEndListener=r.o(n._domNode.domNode,g.a.End,(function(e){e.preventDefault(),e.stopPropagation(),n._gestureInProgress=!1,n._slider.toggleClassName("active",!1)})),n}return mn(t,e),t.prototype.scrollDueToTouchEvent=function(e){var t=this._domNode.domNode.getBoundingClientRect().top,n=this._lastRenderData.renderedLayout.getDesiredScrollTopFromTouchLocation(e.pageY-t);this._context.viewLayout.setScrollPositionNow({scrollTop:n})},t.prototype.dispose=function(){this._mouseDownListener.dispose(),this._sliderMouseMoveMonitor.dispose(),this._sliderMouseDownListener.dispose(),this._gestureDisposable.dispose(),this._sliderTouchStartListener.dispose(),this._sliderTouchMoveListener.dispose(),this._sliderTouchEndListener.dispose(),e.prototype.dispose.call(this)},t.prototype._getMinimapDomNodeClassName=function(){return"always"===this._options.showSlider?"minimap slider-always":"minimap slider-mouseover"},t.prototype.getDomNode=function(){return this._domNode},t.prototype._applyLayout=function(){this._domNode.setLeft(this._options.minimapLeft),this._domNode.setWidth(this._options.minimapWidth),this._domNode.setHeight(this._options.minimapHeight),this._shadow.setHeight(this._options.minimapHeight),this._canvas.setWidth(this._options.canvasOuterWidth),this._canvas.setHeight(this._options.canvasOuterHeight),this._canvas.domNode.width=this._options.canvasInnerWidth,this._canvas.domNode.height=this._options.canvasInnerHeight,this._decorationsCanvas.setWidth(this._options.canvasOuterWidth),this._decorationsCanvas.setHeight(this._options.canvasOuterHeight),this._decorationsCanvas.domNode.width=this._options.canvasInnerWidth,this._decorationsCanvas.domNode.height=this._options.canvasInnerHeight,this._slider.setWidth(this._options.minimapWidth)},t.prototype._getBuffer=function(){return this._buffers||this._options.canvasInnerWidth>0&&this._options.canvasInnerHeight>0&&(this._buffers=new Sn(this._canvas.domNode.getContext("2d"),this._options.canvasInnerWidth,this._options.canvasInnerHeight,this._tokensColorTracker.getColor(2))),this._buffers?this._buffers.getBuffer():null},t.prototype._onOptionsMaybeChanged=function(){var e=new bn(this._context.configuration);return!this._options.equals(e)&&(this._options=e,this._lastRenderData=null,this._buffers=null,this._applyLayout(),this._domNode.setClassName(this._getMinimapDomNodeClassName()),!0)},t.prototype.onConfigurationChanged=function(e){return this._onOptionsMaybeChanged()},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections,this._renderDecorations=!0,!0},t.prototype.onFlushed=function(e){return this._lastRenderData=null,!0},t.prototype.onLinesChanged=function(e){return!!this._lastRenderData&&this._lastRenderData.onLinesChanged(e)},t.prototype.onLinesDeleted=function(e){return this._lastRenderData&&this._lastRenderData.onLinesDeleted(e),!0},t.prototype.onLinesInserted=function(e){return this._lastRenderData&&this._lastRenderData.onLinesInserted(e),!0},t.prototype.onScrollChanged=function(e){return this._renderDecorations=!0,!0},t.prototype.onTokensChanged=function(e){return!!this._lastRenderData&&this._lastRenderData.onTokensChanged(e)},t.prototype.onTokensColorsChanged=function(e){return this._lastRenderData=null,this._buffers=null,!0},t.prototype.onZonesChanged=function(e){return this._lastRenderData=null,!0},t.prototype.onDecorationsChanged=function(e){return this._renderDecorations=!0,!0},t.prototype.onThemeChanged=function(e){return this._context.model.invalidateMinimapColorCache(),this._selectionColor=this._context.theme.getColor(an.Ib),this._renderDecorations=!0,!0},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){if(0===this._options.renderMinimap)return this._shadow.setClassName("minimap-shadow-hidden"),this._sliderHorizontal.setWidth(0),void this._sliderHorizontal.setHeight(0);e.scrollLeft+e.viewportWidth>=e.scrollWidth?this._shadow.setClassName("minimap-shadow-hidden"):this._shadow.setClassName("minimap-shadow-visible");var t=yn.create(this._options,e.visibleRange.startLineNumber,e.visibleRange.endLineNumber,e.viewportHeight,e.viewportData.whitespaceViewportData.length>0,this._context.model.getLineCount(),e.scrollTop,e.scrollHeight,this._lastRenderData?this._lastRenderData.renderedLayout:null);this._slider.setTop(t.sliderTop),this._slider.setHeight(t.sliderHeight);var n=e.scrollLeft/this._options.typicalHalfwidthCharacterWidth,i=Math.min(this._options.minimapWidth,Math.round(n*_n(this._options.renderMinimap,this._options.fontScale)/this._options.pixelRatio));this._sliderHorizontal.setLeft(i),this._sliderHorizontal.setWidth(this._options.minimapWidth-i),this._sliderHorizontal.setTop(0),this._sliderHorizontal.setHeight(t.sliderHeight),this.renderDecorations(t),this._lastRenderData=this.renderLines(t)},t.prototype.renderDecorations=function(e){if(this._renderDecorations){this._renderDecorations=!1;var t=this._context.model.getDecorationsInViewport(new re.a(e.startLineNumber,1,e.endLineNumber,this._context.model.getLineMaxColumn(e.endLineNumber))),n=this._options,i=n.renderMinimap,o=n.canvasInnerWidth,r=n.canvasInnerHeight,s=vn(i,this._options.fontScale),a=_n(0,this._options.fontScale),u=this._context.model.getOptions().tabSize,l=this._decorationsCanvas.domNode.getContext("2d");l.clearRect(0,0,o,r);for(var c=new Map,d=0;dthis._options.canvasInnerHeight)){var d=t.get(r),h=!d;if(!d){var p=this._context.model.getLineContent(r);d=[K.f];for(var f=1;fr?d.length-1:_-1;if(w>0){var S=d[w]-C||2;this.renderDecoration(e,i,C,c,S,s)}h&&this.renderLineHighlight(e,i,c,s)}},t.prototype.renderLineHighlight=function(e,t,n,i){e.fillStyle=t&&t.transparent(.5).toString()||"",e.fillRect(K.f,n,e.canvas.width,i)},t.prototype.renderDecoration=function(e,t,n,i,o,r){e.fillStyle=t&&t.toString()||"",e.fillRect(n,i,o,r)},t.prototype.renderLines=function(e){var n=this._options.renderMinimap,i=this._options.charRenderer(),o=e.startLineNumber,r=e.endLineNumber,s=vn(n,this._options.fontScale);if(this._lastRenderData&&this._lastRenderData.linesEquals(e)){var a=this._lastRenderData._get();return new wn(e,a.imageData,a.lines)}var u=this._getBuffer();if(!u)return null;for(var l=t._renderUntouchedLines(u,o,r,s,this._lastRenderData),c=l[0],d=l[1],h=l[2],p=this._context.model.getMinimapLinesRenderingData(o,r,h),f=p.tabSize,g=this._tokensColorTracker.getColor(2),m=this._tokensColorTracker.backgroundIsLight(),v=0,_=[],b=0,y=r-o+1;b=0&&Lp)return;var w=c.charCodeAt(g);if(9===w){var S=a-(g+m)%a;m+=S-1,f+=S*h}else if(32===w)f+=h;else for(var O=Me.y(w)?2:1,L=0;Lp)return}},t}(M);Object(U.e)((function(e,t){var n=e.getColor(an.Xb);if(n){var i=n.transparent(.5);t.addRule(".monaco-editor .minimap-slider, .monaco-editor .minimap-slider .minimap-slider-horizontal { background: "+i+"; }")}var o=e.getColor(an.Yb);if(o){var r=o.transparent(.5);t.addRule(".monaco-editor .minimap-slider:hover, .monaco-editor .minimap-slider:hover .minimap-slider-horizontal { background: "+r+"; }")}var s=e.getColor(an.Wb);if(s){var a=s.transparent(.5);t.addRule(".monaco-editor .minimap-slider.active, .monaco-editor .minimap-slider.active .minimap-slider-horizontal { background: "+a+"; }")}var u=e.getColor(an.Vb);u&&t.addRule(".monaco-editor .minimap-shadow-visible { box-shadow: "+u+" -6px 0 6px -6px inset; }")}));n("cl4r");var Ln=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Dn=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options.get(107);return n._widgets={},n._verticalScrollbarWidth=i.verticalScrollbarWidth,n._minimapWidth=i.minimapWidth,n._horizontalScrollbarHeight=i.horizontalScrollbarHeight,n._editorHeight=i.height,n._editorWidth=i.width,n._domNode=Object(p.b)(document.createElement("div")),T.write(n._domNode,4),n._domNode.setClassName("overlayWidgets"),n}return Ln(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._widgets={}},t.prototype.getDomNode=function(){return this._domNode},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options.get(107);return this._verticalScrollbarWidth=t.verticalScrollbarWidth,this._minimapWidth=t.minimapWidth,this._horizontalScrollbarHeight=t.horizontalScrollbarHeight,this._editorHeight=t.height,this._editorWidth=t.width,!0},t.prototype.addWidget=function(e){var t=Object(p.b)(e.getDomNode());this._widgets[e.getId()]={widget:e,preference:null,domNode:t},t.setPosition("absolute"),t.setAttribute("widgetId",e.getId()),this._domNode.appendChild(t),this.setShouldRender()},t.prototype.setWidgetPosition=function(e,t){var n=this._widgets[e.getId()];return n.preference!==t&&(n.preference=t,this.setShouldRender(),!0)},t.prototype.removeWidget=function(e){var t=e.getId();if(this._widgets.hasOwnProperty(t)){var n=this._widgets[t].domNode.domNode;delete this._widgets[t],n.parentNode.removeChild(n),this.setShouldRender()}},t.prototype._renderWidget=function(e){var t=e.domNode;if(null!==e.preference)if(0===e.preference)t.setTop(0),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth);else if(1===e.preference){var n=t.domNode.clientHeight;t.setTop(this._editorHeight-n-2*this._horizontalScrollbarHeight),t.setRight(2*this._verticalScrollbarWidth+this._minimapWidth)}else 2===e.preference&&(t.setTop(0),t.domNode.style.right="50%");else t.unsetTop()},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setWidth(this._editorWidth);for(var t=Object.keys(this._widgets),n=0,i=t.length;n=3){var o,r,s,a=i-(o=Math.floor(i/3))-(r=Math.floor(i/3)),u=(s=e)+o;return[[0,s,u,s,s+o+a,s,u,s],[0,o,a,o+a,r,o+a+r,a+r,o+a+r]]}if(2===n)return[[0,s=e,s,s,s+(o=Math.floor(i/2)),s,s,s],[0,o,o,o,r=i-o,o+r,o+r,o+r]];return[[0,e,e,e,e,e,e,e],[0,i,i,i,i,i,i,i]]},e.prototype.equals=function(e){return this.lineHeight===e.lineHeight&&this.pixelRatio===e.pixelRatio&&this.overviewRulerLanes===e.overviewRulerLanes&&this.renderBorder===e.renderBorder&&this.borderColor===e.borderColor&&this.hideCursor===e.hideCursor&&this.cursorColor===e.cursorColor&&this.themeType===e.themeType&&this.backgroundColor===e.backgroundColor&&this.top===e.top&&this.right===e.right&&this.domWidth===e.domWidth&&this.domHeight===e.domHeight&&this.canvasWidth===e.canvasWidth&&this.canvasHeight===e.canvasHeight},e}(),En=function(e){function t(t){var n=e.call(this,t)||this;return n._domNode=Object(p.b)(document.createElement("canvas")),n._domNode.setClassName("decorationsOverviewRuler"),n._domNode.setPosition("absolute"),n._domNode.setLayerHinting(!0),n._domNode.setContain("strict"),n._domNode.setAttribute("aria-hidden","true"),n._updateSettings(!1),n._tokensColorTrackerListener=rn.B.onDidChange((function(e){e.changedColorMap&&n._updateSettings(!0)})),n._cursorPositions=[],n}return Nn(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._tokensColorTrackerListener.dispose()},t.prototype._updateSettings=function(e){var t=new kn(this._context.configuration,this._context.theme);return(!this._settings||!this._settings.equals(t))&&(this._settings=t,this._domNode.setTop(this._settings.top),this._domNode.setRight(this._settings.right),this._domNode.setWidth(this._settings.domWidth),this._domNode.setHeight(this._settings.domHeight),this._domNode.domNode.width=this._settings.canvasWidth,this._domNode.domNode.height=this._settings.canvasHeight,e&&this._render(),!0)},t.prototype.onConfigurationChanged=function(e){return this._updateSettings(!1)},t.prototype.onCursorStateChanged=function(e){this._cursorPositions=[];for(var t=0,n=e.selections.length;tt&&(k=t-a),O=k-a,I=k+a;O>_+1||C!==m?(0!==b&&u.fillRect(l[m],v,c[m],_-v),m=C,v=O,_=I):I>_&&(_=I)}u.fillRect(l[m],v,c[m],_-v)}if(!this._settings.hideCursor&&this._settings.cursorColor){var L=2*this._settings.pixelRatio|0,D=L/2|0,x=this._settings.x[7],N=this._settings.w[7];u.fillStyle=this._settings.cursorColor;for(v=-100,_=-100,b=0,y=this._cursorPositions.length;bt&&(k=t-D);var I=(O=k-D)+L;O>_+1?(0!==b&&u.fillRect(x,v,N,_-v),v=O,_=I):I>_&&(_=I)}u.fillRect(x,v,N,_-v)}this._settings.renderBorder&&this._settings.borderColor&&this._settings.overviewRulerLanes>0&&(u.beginPath(),u.lineWidth=1,u.strokeStyle=this._settings.borderColor,u.moveTo(0,0),u.lineTo(0,t),u.stroke(),u.moveTo(0,0),u.lineTo(e,0),u.stroke())}else this._domNode.setBackgroundColor(this._settings.backgroundColor?this._settings.backgroundColor:"")},t}(M),In=n("MvK1"),Mn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Tn=function(e){function t(t,n){var i=e.call(this)||this;i._context=t;var o=i._context.configuration.options;return i._domNode=Object(p.b)(document.createElement("canvas")),i._domNode.setClassName(n),i._domNode.setPosition("absolute"),i._domNode.setLayerHinting(!0),i._domNode.setContain("strict"),i._zoneManager=new In.b((function(e){return i._context.viewLayout.getVerticalOffsetForLineNumber(e)})),i._zoneManager.setDOMWidth(0),i._zoneManager.setDOMHeight(0),i._zoneManager.setOuterHeight(i._context.viewLayout.getScrollHeight()),i._zoneManager.setLineHeight(o.get(49)),i._zoneManager.setPixelRatio(o.get(105)),i._context.addEventHandler(i),i}return Mn(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return e.hasChanged(49)&&(this._zoneManager.setLineHeight(t.get(49)),this._render()),e.hasChanged(105)&&(this._zoneManager.setPixelRatio(t.get(105)),this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render()),!0},t.prototype.onFlushed=function(e){return this._render(),!0},t.prototype.onScrollChanged=function(e){return e.scrollHeightChanged&&(this._zoneManager.setOuterHeight(e.scrollHeight),this._render()),!0},t.prototype.onZonesChanged=function(e){return this._render(),!0},t.prototype.getDomNode=function(){return this._domNode.domNode},t.prototype.setLayout=function(e){this._domNode.setTop(e.top),this._domNode.setRight(e.right);var t=!1;t=this._zoneManager.setDOMWidth(e.width)||t,(t=this._zoneManager.setDOMHeight(e.height)||t)&&(this._domNode.setWidth(this._zoneManager.getDOMWidth()),this._domNode.setHeight(this._zoneManager.getDOMHeight()),this._domNode.domNode.width=this._zoneManager.getCanvasWidth(),this._domNode.domNode.height=this._zoneManager.getCanvasHeight(),this._render())},t.prototype.setZones=function(e){this._zoneManager.setZones(e),this._render()},t.prototype._render=function(){if(0===this._zoneManager.getOuterHeight())return!1;var e=this._zoneManager.getCanvasWidth(),t=this._zoneManager.getCanvasHeight(),n=this._zoneManager.resolveColorZones(),i=this._zoneManager.getId2Color(),o=this._domNode.domNode.getContext("2d");return o.clearRect(0,0,e,t),n.length>0&&this._renderOneLane(o,n,i,e),!0},t.prototype._renderOneLane=function(e,t,n,i){for(var o=0,r=0,s=0,a=0,u=t;a=d?s=Math.max(s,h):(e.fillRect(0,r,i,s-r),r=d,s=h)}e.fillRect(0,r,i,s-r)},t}(E),Pn=(n("7zd4"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),Rn=function(e){function t(t){var n=e.call(this,t)||this;n.domNode=Object(p.b)(document.createElement("div")),n.domNode.setAttribute("role","presentation"),n.domNode.setAttribute("aria-hidden","true"),n.domNode.setClassName("view-rulers"),n._renderedRulers=[];var i=n._context.configuration.options;return n._rulers=i.get(77),n._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,n}return Pn(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return this._rulers=t.get(77),this._typicalHalfwidthCharacterWidth=t.get(34).typicalHalfwidthCharacterWidth,!0},t.prototype.onScrollChanged=function(e){return e.scrollHeightChanged},t.prototype.prepareRender=function(e){},t.prototype._ensureRulersCount=function(){var e=this._renderedRulers.length,t=this._rulers.length;if(e!==t)if(e0;){(r=Object(p.b)(document.createElement("div"))).setClassName("view-ruler"),r.setWidth(n),this.domNode.appendChild(r),this._renderedRulers.push(r),i--}else for(var o=e-t;o>0;){var r=this._renderedRulers.pop();this.domNode.removeChild(r),o--}},t.prototype.render=function(e){this._ensureRulersCount();for(var t=0,n=this._rulers.length;t0;return this._shouldShow!==e&&(this._shouldShow=e,!0)},t.prototype.getDomNode=function(){return this._domNode},t.prototype._updateWidth=function(){var e=this._context.configuration.options.get(107);0===e.renderMinimap||e.minimapWidth>0&&0===e.minimapLeft?this._width=e.width:this._width=e.width-e.minimapWidth-e.verticalScrollbarWidth},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options.get(78);return this._useShadows=t.useShadows,this._updateWidth(),this._updateShouldShow(),!0},t.prototype.onScrollChanged=function(e){return this._scrollTop=e.scrollTop,this._updateShouldShow()},t.prototype.prepareRender=function(e){},t.prototype.render=function(e){this._domNode.setWidth(this._width),this._domNode.setClassName(this._shouldShow?"scroll-decoration":"")},t}(M);Object(U.e)((function(e,t){var n=e.getColor(an.Vb);n&&t.addRule(".monaco-editor .scroll-decoration { box-shadow: "+n+" 0 6px 6px -6px inset; }")}));n("eC1c");var jn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Wn=function(e){this.left=e.left,this.width=e.width,this.startStyle=null,this.endStyle=null},Vn=function(e,t){this.lineNumber=e,this.ranges=t};function Bn(e){return new Wn(e)}function Hn(e){return new Vn(e.lineNumber,e.ranges.map(Bn))}var zn=m.f,Un=function(e){function t(t){var n=e.call(this)||this;n._previousFrameVisibleRangesWithStyle=[],n._context=t;var i=n._context.configuration.options;return n._lineHeight=i.get(49),n._roundedSelection=i.get(76),n._typicalHalfwidthCharacterWidth=i.get(34).typicalHalfwidthCharacterWidth,n._selections=[],n._renderResult=null,n._context.addEventHandler(n),n}return jn(t,e),t.prototype.dispose=function(){this._context.removeEventHandler(this),this._renderResult=null,e.prototype.dispose.call(this)},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;return this._lineHeight=t.get(49),this._roundedSelection=t.get(76),this._typicalHalfwidthCharacterWidth=t.get(34).typicalHalfwidthCharacterWidth,!0},t.prototype.onCursorStateChanged=function(e){return this._selections=e.selections.slice(0),!0},t.prototype.onDecorationsChanged=function(e){return!0},t.prototype.onFlushed=function(e){return!0},t.prototype.onLinesChanged=function(e){return!0},t.prototype.onLinesDeleted=function(e){return!0},t.prototype.onLinesInserted=function(e){return!0},t.prototype.onScrollChanged=function(e){return e.scrollTopChanged},t.prototype.onZonesChanged=function(e){return!0},t.prototype._visibleRangesHaveGaps=function(e){for(var t=0,n=e.length;t1)return!0}return!1},t.prototype._enrichVisibleRangesWithStyle=function(e,t,n){var i=this._typicalHalfwidthCharacterWidth/4,o=null,r=null;if(n&&n.length>0&&t.length>0){var s=t[0].lineNumber;if(s===e.startLineNumber)for(var a=0;!o&&a=0;a--)n[a].lineNumber===u&&(r=n[a].ranges[0]);o&&!o.startStyle&&(o=null),r&&!r.startStyle&&(r=null)}a=0;for(var l=t.length;a0){var g=t[a-1].ranges[0].left,m=t[a-1].ranges[0].left+t[a-1].ranges[0].width;Kn(d-g)g&&(p.top=1),Kn(h-m)'},t.prototype._actualRenderOneSelection=function(e,n,i,o){if(0!==o.length)for(var r=!!o[0].ranges[0].startStyle,s=this._lineHeight.toString(),a=(this._lineHeight-1).toString(),u=o[0].lineNumber,l=o[o.length-1].lineNumber,c=0,d=o.length;c1,l)}}this._previousFrameVisibleRangesWithStyle=r,this._renderResult=t.map((function(e){return e[0]+e[1]}))},t.prototype.render=function(e,t){if(!this._renderResult)return"";var n=t-e;return n<0||n>=this._renderResult.length?"":this._renderResult[n]},t.SELECTION_CLASS_NAME="selected-text",t.SELECTION_TOP_LEFT="top-left-radius",t.SELECTION_BOTTOM_LEFT="bottom-left-radius",t.SELECTION_TOP_RIGHT="top-right-radius",t.SELECTION_BOTTOM_RIGHT="bottom-right-radius",t.EDITOR_BACKGROUND_CLASS_NAME="monaco-editor-background",t.ROUNDED_PIECE_WIDTH=10,t}(Ae);function Kn(e){return e<0?-e:e}Object(U.e)((function(e,t){var n=e.getColor(an.K);n&&t.addRule(".monaco-editor .focused .selected-text { background-color: "+n+"; }");var i=e.getColor(an.F);i&&t.addRule(".monaco-editor .selected-text { background-color: "+i+"; }");var o=e.getColor(an.L);o&&t.addRule(".monaco-editor .view-line span.inline-selected-text { color: "+o+"; }")}));n("2Tsy");var qn=function(e,t,n,i,o,r){this.top=e,this.left=t,this.width=n,this.height=i,this.textContent=o,this.textContentClassName=r},Gn=function(){function e(e){this._context=e;var t=this._context.configuration.options,n=t.get(34);this._cursorStyle=t.get(18),this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(21),this._typicalHalfwidthCharacterWidth),this._isVisible=!0,this._domNode=Object(p.b)(document.createElement("div")),this._domNode.setClassName("cursor"),this._domNode.setHeight(this._lineHeight),this._domNode.setTop(0),this._domNode.setLeft(0),c.a.applyFontInfo(this._domNode,n),this._domNode.setDisplay("none"),this._position=new oe.a(1,1),this._lastRenderedContent="",this._renderData=null}return e.prototype.getDomNode=function(){return this._domNode},e.prototype.getPosition=function(){return this._position},e.prototype.show=function(){this._isVisible||(this._domNode.setVisibility("inherit"),this._isVisible=!0)},e.prototype.hide=function(){this._isVisible&&(this._domNode.setVisibility("hidden"),this._isVisible=!1)},e.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options,n=t.get(34);return this._cursorStyle=t.get(18),this._lineHeight=t.get(49),this._typicalHalfwidthCharacterWidth=n.typicalHalfwidthCharacterWidth,this._lineCursorWidth=Math.min(t.get(21),this._typicalHalfwidthCharacterWidth),c.a.applyFontInfo(this._domNode,n),!0},e.prototype.onCursorPositionChanged=function(e){return this._position=e,!0},e.prototype._prepareRender=function(e){var t="";if(this._cursorStyle===K.g.Line||this._cursorStyle===K.g.LineThin){var n,i=e.visibleRangeForPosition(this._position);if(!i||i.outsideRenderedLine)return null;if(this._cursorStyle===K.g.Line){if((n=r.u(this._lineCursorWidth>0?this._lineCursorWidth:2))>2){var o=this._context.model.getLineContent(this._position.lineNumber),s=Me.E(o,this._position.column-1);t=o.substr(this._position.column-1,s)}}else n=r.u(1);var a=i.left;n>=2&&a>=1&&(a-=1);var u=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta;return new qn(u,a,n,this._lineHeight,t,"")}var l=this._context.model.getLineContent(this._position.lineNumber),c=Me.E(l,this._position.column-1),d=e.linesVisibleRangesForRange(new re.a(this._position.lineNumber,this._position.column,this._position.lineNumber,this._position.column+c),!1);if(!d||0===d.length)return null;var h=d[0];if(h.outsideRenderedLine||0===h.ranges.length)return null;var p=h.ranges[0],f=p.width<1?this._typicalHalfwidthCharacterWidth:p.width,g="";if(this._cursorStyle===K.g.Block){var m=this._context.model.getViewLineData(this._position.lineNumber);t=l.substr(this._position.column-1,c);var v=m.tokens.findTokenIndexAtOffset(this._position.column-1);g=m.tokens.getClassName(v)}var _=e.getVerticalOffsetForLineNumber(this._position.lineNumber)-e.bigNumbersDelta,b=this._lineHeight;return this._cursorStyle!==K.g.Underline&&this._cursorStyle!==K.g.UnderlineThin||(_+=this._lineHeight-2,b=2),new qn(_,p.left,f,b,t,g)},e.prototype.prepareRender=function(e){this._renderData=this._prepareRender(e)},e.prototype.render=function(e){return this._renderData?(this._lastRenderedContent!==this._renderData.textContent&&(this._lastRenderedContent=this._renderData.textContent,this._domNode.domNode.textContent=this._lastRenderedContent),this._domNode.setClassName("cursor "+this._renderData.textContentClassName),this._domNode.setDisplay("block"),this._domNode.setTop(this._renderData.top),this._domNode.setLeft(this._renderData.left),this._domNode.setWidth(this._renderData.width),this._domNode.setLineHeight(this._renderData.height),this._domNode.setHeight(this._renderData.height),{domNode:this._domNode.domNode,position:this._position,contentLeft:this._renderData.left,height:this._renderData.height,width:2}):(this._domNode.setDisplay("none"),null)},e}(),Yn=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Zn=function(e){function t(t){var n=e.call(this,t)||this,i=n._context.configuration.options;return n._readOnly=i.get(68),n._cursorBlinking=i.get(16),n._cursorStyle=i.get(18),n._cursorSmoothCaretAnimation=i.get(17),n._selectionIsEmpty=!0,n._isVisible=!1,n._primaryCursor=new Gn(n._context),n._secondaryCursors=[],n._renderData=[],n._domNode=Object(p.b)(document.createElement("div")),n._domNode.setAttribute("role","presentation"),n._domNode.setAttribute("aria-hidden","true"),n._updateDomClassName(),n._domNode.appendChild(n._primaryCursor.getDomNode()),n._startCursorBlinkAnimation=new _.e,n._cursorFlatBlinkInterval=new _.c,n._blinkingEnabled=!1,n._editorHasFocus=!1,n._updateBlinking(),n}return Yn(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this),this._startCursorBlinkAnimation.dispose(),this._cursorFlatBlinkInterval.dispose()},t.prototype.getDomNode=function(){return this._domNode},t.prototype.onConfigurationChanged=function(e){var t=this._context.configuration.options;this._readOnly=t.get(68),this._cursorBlinking=t.get(16),this._cursorStyle=t.get(18),this._cursorSmoothCaretAnimation=t.get(17),this._updateBlinking(),this._updateDomClassName(),this._primaryCursor.onConfigurationChanged(e);for(var n=0,i=this._secondaryCursors.length;nt.length){var r=this._secondaryCursors.length-t.length;for(i=0;in){var r=t-n;for(o=0;o=e+1&&this.lastAddedCursorIndex--,this.secondaryCursors[e].dispose(this.context),this.secondaryCursors.splice(e,1)},e.prototype._getAll=function(){var e=[];e[0]=this.primaryCursor;for(var t=0,n=this.secondaryCursors.length;td&&S.index--}e.splice(d,1),t.splice(c,1),this._removeSecondaryCursor(d-1),o--}}}}},e}(),ai=n("snIX"),ui=n("GR/f"),li=n("iuje"),ci=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();var di=function(e,t,n,i,o,r){this.selections=e,this.modelVersionId=t,this.oldSelections=n,this.oldModelVersionId=i,this.source=o,this.reason=r},hi=function(){function e(e,t){this.modelVersionId=e.getVersionId(),this.cursorState=t.getAll()}return e.prototype.equals=function(e){if(!e)return!1;if(this.modelVersionId!==e.modelVersionId)return!1;if(this.cursorState.length!==e.cursorState.length)return!1;for(var t=0,n=this.cursorState.length;t=t.length)return!1;if(!t[n].strictContainsRange(e[n]))return!1}return!0},e}(),fi=function(e){function t(t,n,i){var o=e.call(this)||this;o._onDidReachMaxCursorCount=o._register(new a.a),o.onDidReachMaxCursorCount=o._onDidReachMaxCursorCount.event,o._onDidAttemptReadOnlyEdit=o._register(new a.a),o.onDidAttemptReadOnlyEdit=o._onDidAttemptReadOnlyEdit.event,o._onDidChange=o._register(new a.a),o.onDidChange=o._onDidChange.event,o._configuration=t,o._model=n,o._knownModelVersionId=o._model.getVersionId(),o._viewModel=i,o.context=new se.c(o._configuration,o._model,o._viewModel),o._cursors=new si(o.context),o._isHandling=!1,o._isDoingComposition=!1,o._selectionsWhenCompositionStarted=null,o._columnSelectData=null,o._autoClosedActions=[],o._prevEditOperationType=0,o._register(o._model.onDidChangeRawContent((function(e){if(o._knownModelVersionId=e.versionId,!o._isHandling){var t=e.containsEvent(1);o._onModelContentChanged(t)}}))),o._register(i.addEventListener((function(e){(function(e){for(var t=0,n=e.length;t0)for(var e=this._cursors.getSelections(),t=0;tt.MAX_CURSOR_COUNT&&(i=i.slice(0,t.MAX_CURSOR_COUNT),this._onDidReachMaxCursorCount.fire(void 0));var o=new hi(this._model,this);this._cursors.setStates(i),this._cursors.normalize(),this._columnSelectData=null,this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,n,o)},t.prototype.setColumnSelectData=function(e){this._columnSelectData=e},t.prototype.reveal=function(e,t,n,i){this._revealRange(e,n,0,t,i)},t.prototype.revealRange=function(e,t,n,i,o){this.emitCursorRevealRange(e,n,i,t,o)},t.prototype.scrollTo=function(e){this._viewModel.viewLayout.setScrollPositionSmooth({scrollTop:e})},t.prototype.saveState=function(){for(var e=[],t=this._cursors.getSelections(),n=0,i=t.length;n0&&this._pushAutoClosedAction(n,i),this._prevEditOperationType=e.type}e.shouldPushStackElementAfter&&this._model.pushStackElement()}},t.prototype._interpretCommandResult=function(e){e&&0!==e.length||(e=this._cursors.readSelectionFromMarkers()),this._columnSelectData=null,this._cursors.setSelections(e),this._cursors.normalize()},t.prototype._emitStateChangedIfNecessary=function(e,t,n){var i=new hi(this._model,this);if(i.equals(n))return!1;var o=this._cursors.getSelections(),r=this._cursors.getViewSelections();try{this._beginEmit().emit(new qe(r,o))}finally{this._endEmit()}if(!n||n.cursorState.length!==i.cursorState.length||i.cursorState.some((function(e,t){return!e.modelState.equals(n.cursorState[t].modelState)}))){var s=n?n.cursorState.map((function(e){return e.modelState.selection})):null,a=n?n.modelVersionId:0;this._onDidChange.fire(new di(o,i.modelVersionId,s,a,e||"keyboard",t))}return!0},t.prototype._revealRange=function(e,t,n,i,o){var r=this._cursors.getViewPositions(),s=r[0];if(1===t)for(var a=1;a1)return;var u=new re.a(s.lineNumber,s.column,s.lineNumber,s.column);this.emitCursorRevealRange(e,u,n,i,o)},t.prototype.emitCursorRevealRange=function(e,t,n,i,o){try{this._beginEmit().emit(new tt(e,t,n,i,o))}finally{this._endEmit()}},t.prototype._findAutoClosingPairs=function(e){if(!e.length)return null;for(var t=[],n=0,i=e.length;n=0)return null;var r=o.text.match(/([)\]}>'"`])([^)\]}>'"`]*)$/);if(!r)return null;var s=r[1],a=this.context.config.autoClosingPairsClose2.get(s);if(!a||1!==a.length)return null;var u=a[0].open,l=o.text.length-r[2].length-1,c=o.text.lastIndexOf(u,l-1);if(-1===c)return null;t.push([c,l])}return t},t.prototype.executeEdits=function(e,t,n){var i=this,o=null;"snippet"===e&&(o=this._findAutoClosingPairs(t)),o&&(t[0]._isTracked=!0);var r=[],s=[],a=this._model.pushEditOperations(this.getSelections(),t,(function(e){if(o)for(var t=0,a=o.length;t0&&this._pushAutoClosedAction(r,s)},t.prototype.trigger=function(e,t,n){var i=li.b;if(t===i.CompositionStart)return this._isDoingComposition=!0,void(this._selectionsWhenCompositionStarted=this.getSelections().slice(0));if(t===i.CompositionEnd&&(this._isDoingComposition=!1),this._configuration.options.get(68))this._onDidAttemptReadOnlyEdit.fire(void 0);else{var o=new hi(this._model,this),r=0;t!==i.Undo&&t!==i.Redo&&this._cursors.stopTrackingSelections(),this._cursors.ensureValidState(),this._isHandling=!0;try{switch(t){case i.Type:this._type(e,n.text);break;case i.ReplacePreviousChar:this._replacePreviousChar(n.text,n.replaceCharCnt);break;case i.Paste:r=4,this._paste(n.text,n.pasteOnNewLine,n.multicursorText||[]);break;case i.Cut:this._cut();break;case i.Undo:r=5,this._interpretCommandResult(this._model.undo());break;case i.Redo:r=6,this._interpretCommandResult(this._model.redo());break;case i.ExecuteCommand:this._externalExecuteCommand(n);break;case i.ExecuteCommands:this._externalExecuteCommands(n);break;case i.CompositionEnd:this._interpretCompositionEnd(e)}}catch(e){Object(s.e)(e)}this._isHandling=!1,t!==i.Undo&&t!==i.Redo&&this._cursors.startTrackingSelections(),this._validateAutoClosedActions(),this._emitStateChangedIfNecessary(e,r,o)&&this._revealRange(e,0,0,!0,0)}},t.prototype._interpretCompositionEnd=function(e){if(!this._isDoingComposition&&"keyboard"===e){var t=pi.getAllAutoClosedCharacters(this._autoClosedActions);this._executeEditOperation(ui.a.compositionEndWithInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this._selectionsWhenCompositionStarted,this.getSelections(),t)),this._selectionsWhenCompositionStarted=null}},t.prototype._type=function(e,t){if(this._isDoingComposition||"keyboard"!==e)this._executeEditOperation(ui.a.typeWithoutInterceptors(this._prevEditOperationType,this.context.config,this.context.model,this.getSelections(),t));else for(var n=t.length,i=0;i0&&(r[0]._isTracked=!0);var u=e.model.pushEditOperations(e.selectionsBefore,r,(function(n){for(var i=[],o=0;o0?(i[n].sort(u),l[n]=t[n].computeCursorState(e.model,{getInverseEditOperations:function(){return i[n]},getTrackedSelection:function(t){var n=parseInt(t,10),i=e.model._getTrackedRange(e.trackedRanges[n]);return 0===e.trackedRangesDirection[n]?new _e.a(i.startLineNumber,i.startColumn,i.endLineNumber,i.endColumn):new _e.a(i.endLineNumber,i.endColumn,i.startLineNumber,i.startColumn)}})):l[n]=e.selectionsBefore[n]};for(o=0;oo.identifier.major?i.identifier.major:o.identifier.major).toString()]=!0;for(var s=0;s0&&n--}}return t},e}(),mi=n("9Y+e"),vi=n("wQH0"),_i=n("TQUy"),bi=n("QuOb"),yi=function(){function e(){this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[]}return e.prototype.insert=function(e){this._hasPending=!0,this._inserts.push(e)},e.prototype.change=function(e){this._hasPending=!0,this._changes.push(e)},e.prototype.remove=function(e){this._hasPending=!0,this._removes.push(e)},e.prototype.mustCommit=function(){return this._hasPending},e.prototype.commit=function(e){if(this._hasPending){var t=this._inserts,n=this._changes,i=this._removes;this._hasPending=!1,this._inserts=[],this._changes=[],this._removes=[],e._commitPendingChanges(t,n,i)}},e}(),Ci=function(e,t,n,i,o){this.id=e,this.afterLineNumber=t,this.ordinal=n,this.height=i,this.minWidth=o,this.prefixSum=0},wi=function(){function e(t,n){this._instanceId=Me.M(++e.INSTANCE_COUNT),this._pendingChanges=new yi,this._lastWhitespaceId=0,this._arr=[],this._prefixSumValidIndex=-1,this._minWidth=-1,this._lineCount=t,this._lineHeight=n}return e.findInsertionIndex=function(e,t,n){for(var i=0,o=e.length;i>>1;t===e[r].afterLineNumber?n0||n.length>0)&&(this._minWidth=-1),e.length+t.length+n.length<=1){for(var i=0,o=e;it&&(this._arr[n].afterLineNumber-=t-e+1)}},e.prototype.onLinesInserted=function(e,t){this._checkPendingChanges(),e|=0,t|=0,this._lineCount+=t-e+1;for(var n=0,i=this._arr.length;n=t.length||t[o+1].afterLineNumber>=e)return o;n=o+1|0}else i=o-1|0}return-1},e.prototype._findFirstWhitespaceAfterLineNumber=function(e){e|=0;var t=this._findLastWhitespaceBeforeLineNumber(e)+1;return t1?this._lineHeight*(e-1):0)+this.getWhitespaceAccumulatedHeightBeforeLineNumber(e)},e.prototype.getWhitespaceMinWidth=function(){if(this._checkPendingChanges(),-1===this._minWidth){for(var e=0,t=0,n=this._arr.length;tthis.getLinesTotalHeight()},e.prototype.getLineNumberAtOrAfterVerticalOffset=function(e){if(this._checkPendingChanges(),(e|=0)<0)return 1;for(var t=0|this._lineCount,n=this._lineHeight,i=1,o=t;i=s+n)i=r+1;else{if(e>=s)return r;o=r}}return i>t?t:i},e.prototype.getLinesViewportData=function(e,t){this._checkPendingChanges(),e|=0,t|=0;var n,i,o=this._lineHeight,r=0|this.getLineNumberAtOrAfterVerticalOffset(e),s=0|this.getVerticalOffsetForLineNumber(r),a=0|this._lineCount,u=0|this.getFirstWhitespaceIndexAfterLineNumber(r),l=0|this.getWhitespacesCount();-1===u?(u=l,i=a+1,n=0):(i=0|this.getAfterLineNumberForWhitespaceIndex(u),n=0|this.getHeightForWhitespaceIndex(u));var c=s,d=c,h=0;s>=5e5&&(h=5e5*Math.floor(s/5e5),d-=h=Math.floor(h/o)*o);for(var p=[],f=e+(t-e)/2,g=-1,m=r;m<=a;m++){if(-1===g){(c<=f&&ff)&&(g=m)}for(c+=o,p[m-r]=d,d+=o;i===m;)d+=n,c+=n,++u>=l?i=a+1:(i=0|this.getAfterLineNumberForWhitespaceIndex(u),n=0|this.getHeightForWhitespaceIndex(u));if(c>=t){a=m;break}}-1===g&&(g=a);var v=0|this.getVerticalOffsetForLineNumber(a),_=r,b=a;return _t&&b--,{bigNumbersDelta:h,startLineNumber:r,endLineNumber:a,relativeVerticalOffset:p,centeredLineNumber:g,completelyVisibleStartLineNumber:_,completelyVisibleEndLineNumber:b}},e.prototype.getVerticalOffsetForWhitespaceIndex=function(e){this._checkPendingChanges(),e|=0;var t=this.getAfterLineNumberForWhitespaceIndex(e);return(t>=1?this._lineHeight*t:0)+(e>0?this.getWhitespacesAccumulatedHeight(e-1):0)},e.prototype.getWhitespaceIndexAtOrAfterVerticallOffset=function(e){this._checkPendingChanges(),e|=0;var t=0,n=this.getWhitespacesCount()-1;if(n<0)return-1;if(e>=this.getVerticalOffsetForWhitespaceIndex(n)+this.getHeightForWhitespaceIndex(n))return-1;for(;t=o+this.getHeightForWhitespaceIndex(i))t=i+1;else{if(e>=o)return i;n=i}}return t},e.prototype.getWhitespaceAtVerticalOffset=function(e){this._checkPendingChanges(),e|=0;var t=this.getWhitespaceIndexAtOrAfterVerticallOffset(e);if(t<0)return null;if(t>=this.getWhitespacesCount())return null;var n=this.getVerticalOffsetForWhitespaceIndex(t);if(n>e)return null;var i=this.getHeightForWhitespaceIndex(t);return{id:this.getIdForWhitespaceIndex(t),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(t),verticalOffset:n,height:i}},e.prototype.getWhitespaceViewportData=function(e,t){this._checkPendingChanges(),e|=0,t|=0;var n=this.getWhitespaceIndexAtOrAfterVerticallOffset(e),i=this.getWhitespacesCount()-1;if(n<0)return[];for(var o=[],r=n;r<=i;r++){var s=this.getVerticalOffsetForWhitespaceIndex(r),a=this.getHeightForWhitespaceIndex(r);if(s>=t)break;o.push({id:this.getIdForWhitespaceIndex(r),afterLineNumber:this.getAfterLineNumberForWhitespaceIndex(r),verticalOffset:s,height:a})}return o},e.prototype.getWhitespaces=function(){return this._checkPendingChanges(),this._arr.slice(0)},e.prototype.getWhitespacesCount=function(){return this._checkPendingChanges(),this._arr.length},e.prototype.getIdForWhitespaceIndex=function(e){return this._checkPendingChanges(),e|=0,this._arr[e].id},e.prototype.getAfterLineNumberForWhitespaceIndex=function(e){return this._checkPendingChanges(),e|=0,this._arr[e].afterLineNumber},e.prototype.getHeightForWhitespaceIndex=function(e){return this._checkPendingChanges(),e|=0,this._arr[e].height},e.INSTANCE_COUNT=0,e}(),Si=n("qNAo"),Oi=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Li=function(){function e(e,t,n,i){(e|=0)<0&&(e=0),(t|=0)<0&&(t=0),(n|=0)<0&&(n=0),(i|=0)<0&&(i=0),this.width=e,this.contentWidth=t,this.scrollWidth=Math.max(e,t),this.height=n,this.contentHeight=i,this.scrollHeight=Math.max(n,i)}return e.prototype.equals=function(e){return this.width===e.width&&this.contentWidth===e.contentWidth&&this.height===e.height&&this.contentHeight===e.contentHeight},e}(),Di=function(e){function t(t,n){var i=e.call(this)||this;return i._onDidContentSizeChange=i._register(new a.a),i.onDidContentSizeChange=i._onDidContentSizeChange.event,i._dimensions=new Li(0,0,0,0),i._scrollable=i._register(new bi.a(t,n)),i.onDidScroll=i._scrollable.onScroll,i}return Oi(t,e),t.prototype.getScrollable=function(){return this._scrollable},t.prototype.setSmoothScrollDuration=function(e){this._scrollable.setSmoothScrollDuration(e)},t.prototype.validateScrollPosition=function(e){return this._scrollable.validateScrollPosition(e)},t.prototype.getScrollDimensions=function(){return this._dimensions},t.prototype.setScrollDimensions=function(e){if(!this._dimensions.equals(e)){var t=this._dimensions;this._dimensions=e,this._scrollable.setScrollDimensions({width:e.width,scrollWidth:e.scrollWidth,height:e.height,scrollHeight:e.scrollHeight});var n=t.contentWidth!==e.contentWidth,i=t.contentHeight!==e.contentHeight;(n||i)&&this._onDidContentSizeChange.fire({contentWidth:e.contentWidth,contentHeight:e.contentHeight,contentWidthChanged:n,contentHeightChanged:i})}},t.prototype.getFutureScrollPosition=function(){return this._scrollable.getFutureScrollPosition()},t.prototype.getCurrentScrollPosition=function(){return this._scrollable.getCurrentScrollPosition()},t.prototype.setScrollPositionNow=function(e){this._scrollable.setScrollPositionNow(e)},t.prototype.setScrollPositionSmooth=function(e){this._scrollable.setScrollPositionSmooth(e)},t}(u.a),xi=function(e){function t(t,n,i){var o=e.call(this)||this;o._configuration=t;var r=o._configuration.options,s=r.get(107);return o._linesLayout=new wi(n,r.get(49)),o._scrollable=o._register(new Di(0,i)),o._configureSmoothScrollDuration(),o._scrollable.setScrollDimensions(new Li(s.contentWidth,0,s.height,0)),o.onDidScroll=o._scrollable.onDidScroll,o.onDidContentSizeChange=o._scrollable.onDidContentSizeChange,o._updateHeight(),o}return Oi(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.getScrollable=function(){return this._scrollable.getScrollable()},t.prototype.onHeightMaybeChanged=function(){this._updateHeight()},t.prototype._configureSmoothScrollDuration=function(){this._scrollable.setSmoothScrollDuration(this._configuration.options.get(87)?125:0)},t.prototype.onConfigurationChanged=function(e){var t=this._configuration.options;if(e.hasChanged(49)&&this._linesLayout.setLineHeight(t.get(49)),e.hasChanged(107)){var n=t.get(107),i=n.contentWidth,o=n.height,r=this._scrollable.getScrollDimensions(),s=r.scrollWidth;this._scrollable.setScrollDimensions(new Li(i,r.contentWidth,o,this._getContentHeight(i,o,s)))}else this._updateHeight();e.hasChanged(87)&&this._configureSmoothScrollDuration()},t.prototype.onFlushed=function(e){this._linesLayout.onFlushed(e)},t.prototype.onLinesDeleted=function(e,t){this._linesLayout.onLinesDeleted(e,t)},t.prototype.onLinesInserted=function(e,t){this._linesLayout.onLinesInserted(e,t)},t.prototype._getHorizontalScrollbarHeight=function(e,t){var n=this._configuration.options.get(78);return 2===n.horizontal||e>=t?0:n.horizontalScrollbarSize},t.prototype._getContentHeight=function(e,t,n){var i=this._configuration.options,o=this._linesLayout.getLinesTotalHeight();return i.get(80)?o+=t-i.get(49):o+=this._getHorizontalScrollbarHeight(e,n),o},t.prototype._updateHeight=function(){var e=this._scrollable.getScrollDimensions(),t=e.width,n=e.height,i=e.scrollWidth;this._scrollable.setScrollDimensions(new Li(t,e.contentWidth,n,this._getContentHeight(t,n,i)))},t.prototype.getCurrentViewport=function(){var e=this._scrollable.getScrollDimensions(),t=this._scrollable.getCurrentScrollPosition();return new Si.f(t.scrollTop,t.scrollLeft,e.width,e.height)},t.prototype.getFutureViewport=function(){var e=this._scrollable.getScrollDimensions(),t=this._scrollable.getFutureScrollPosition();return new Si.f(t.scrollTop,t.scrollLeft,e.width,e.height)},t.prototype._computeContentWidth=function(e){var t=this._configuration.options,n=t.get(108),i=t.get(34);if(n.isViewportWrapping){var o=t.get(107),r=t.get(54);return e>o.contentWidth+i.typicalHalfwidthCharacterWidth&&r.enabled&&"right"===r.side?e+o.verticalScrollbarWidth:e}var s=t.get(79)*i.typicalHalfwidthCharacterWidth,a=this._linesLayout.getWhitespaceMinWidth();return Math.max(e+s,a)},t.prototype.onMaxLineWidthChanged=function(e){var t=this._scrollable.getScrollDimensions();this._scrollable.setScrollDimensions(new Li(t.width,this._computeContentWidth(e),t.height,t.contentHeight)),this._updateHeight()},t.prototype.saveState=function(){var e=this._scrollable.getFutureScrollPosition(),t=e.scrollTop,n=this._linesLayout.getLineNumberAtOrAfterVerticalOffset(t);return{scrollTop:t,scrollTopWithoutViewZones:t-this._linesLayout.getWhitespaceAccumulatedHeightBeforeLineNumber(n),scrollLeft:e.scrollLeft}},t.prototype.changeWhitespace=function(e){return this._linesLayout.changeWhitespace(e)},t.prototype.getVerticalOffsetForLineNumber=function(e){return this._linesLayout.getVerticalOffsetForLineNumber(e)},t.prototype.isAfterLines=function(e){return this._linesLayout.isAfterLines(e)},t.prototype.getLineNumberAtVerticalOffset=function(e){return this._linesLayout.getLineNumberAtOrAfterVerticalOffset(e)},t.prototype.getWhitespaceAtVerticalOffset=function(e){return this._linesLayout.getWhitespaceAtVerticalOffset(e)},t.prototype.getLinesViewportData=function(){var e=this.getCurrentViewport();return this._linesLayout.getLinesViewportData(e.top,e.top+e.height)},t.prototype.getLinesViewportDataAtScrollTop=function(e){var t=this._scrollable.getScrollDimensions();return e+t.height>t.scrollHeight&&(e=t.scrollHeight-t.height),e<0&&(e=0),this._linesLayout.getLinesViewportData(e,e+t.height)},t.prototype.getWhitespaceViewportData=function(){var e=this.getCurrentViewport();return this._linesLayout.getWhitespaceViewportData(e.top,e.top+e.height)},t.prototype.getWhitespaces=function(){return this._linesLayout.getWhitespaces()},t.prototype.getContentWidth=function(){return this._scrollable.getScrollDimensions().contentWidth},t.prototype.getScrollWidth=function(){return this._scrollable.getScrollDimensions().scrollWidth},t.prototype.getContentHeight=function(){return this._scrollable.getScrollDimensions().contentHeight},t.prototype.getScrollHeight=function(){return this._scrollable.getScrollDimensions().scrollHeight},t.prototype.getCurrentScrollLeft=function(){return this._scrollable.getCurrentScrollPosition().scrollLeft},t.prototype.getCurrentScrollTop=function(){return this._scrollable.getCurrentScrollPosition().scrollTop},t.prototype.validateScrollPosition=function(e){return this._scrollable.validateScrollPosition(e)},t.prototype.setScrollPositionNow=function(e){this._scrollable.setScrollPositionNow(e)},t.prototype.setScrollPositionSmooth=function(e){this._scrollable.setScrollPositionSmooth(e)},t.prototype.deltaScrollNow=function(e,t){var n=this._scrollable.getCurrentScrollPosition();this._scrollable.setScrollPositionNow({scrollLeft:n.scrollLeft+e,scrollTop:n.scrollTop+t})},t}(u.a),Ni=n("tX9W"),ki=n("LeU+"),Ei=function(e,t){this.outputLineIndex=e,this.outputOffset=t},Ii=function(){function e(e,t,n){this.breakOffsets=e,this.breakOffsetsVisibleColumn=t,this.wrappedTextIndentLength=n}return e.getInputOffsetOfOutputPosition=function(e,t,n){return 0===t?n:e[t-1]+n},e.getOutputPositionOfInputOffset=function(e,t){for(var n=0,i=e.length-1,o=0,r=0;n<=i;){var s=e[o=n+(i-n)/2|0];if(t<(r=o>0?e[o-1]:0))i=o-1;else{if(!(t>=s))break;n=o+1}}return new Ei(o,t-r)},e}(),Mi=function(){function e(e){this._lines=e}return e.prototype.convertViewPositionToModelPosition=function(e){return this._lines.convertViewPositionToModelPosition(e.lineNumber,e.column)},e.prototype.convertViewRangeToModelRange=function(e){return this._lines.convertViewRangeToModelRange(e)},e.prototype.validateViewPosition=function(e,t){return this._lines.validateViewPosition(e.lineNumber,e.column,t)},e.prototype.validateViewRange=function(e,t){return this._lines.validateViewRange(e,t)},e.prototype.convertModelPositionToViewPosition=function(e){return this._lines.convertModelPositionToViewPosition(e.lineNumber,e.column)},e.prototype.convertModelRangeToViewRange=function(e){return this._lines.convertModelRangeToViewRange(e)},e.prototype.modelPositionIsVisible=function(e){return this._lines.modelPositionIsVisible(e.lineNumber,e.column)},e}(),Ti=function(){function e(e){this._counts=e,this._isValid=!1,this._validEndIndex=-1,this._modelToView=[],this._viewToModel=[]}return e.prototype._invalidate=function(e){this._isValid=!1,this._validEndIndex=Math.min(this._validEndIndex,e-1)},e.prototype._ensureValid=function(){if(!this._isValid){for(var e=this._validEndIndex+1,t=this._counts.length;e0?this._modelToView[e-1]:0;this._modelToView[e]=i+n;for(var o=0;o0?this._modelToView[t-1]:0;return new ki.b(t,e-n)},e}(),Pi=function(){function e(e,t,n,i,o,r,s,a){this.model=e,this._validModelVersionId=-1,this._domLineBreaksComputerFactory=t,this._monospaceLineBreaksComputerFactory=n,this.fontInfo=i,this.tabSize=o,this.wrappingStrategy=r,this.wrappingColumn=s,this.wrappingIndent=a,this._constructLines(!0,null)}return e.prototype.dispose=function(){this.hiddenAreasIds=this.model.deltaDecorations(this.hiddenAreasIds,[])},e.prototype.createCoordinatesConverter=function(){return new Mi(this)},e.prototype._constructLines=function(e,t){var n=this;this.lines=[],e&&(this.hiddenAreasIds=[]);for(var i=this.model.getLinesContent(),o=i.length,r=this.createLineBreaksComputer(),s=0;s=c&&f<=d,m=Bi(a[s],!g);u[s]=m.getViewLineCount(),this.lines[s]=m}this._validModelVersionId=this.model.getVersionId(),this.prefixSumComputer=new Ti(u)},e.prototype.getHiddenAreas=function(){var e=this;return this.hiddenAreasIds.map((function(t){return e.model.getDecorationRange(t)}))},e.prototype._reduceRanges=function(e){var t=this;if(0===e.length)return[];for(var n=e.map((function(e){return t.model.validateRange(e)})).sort(re.a.compareRangesUsingStarts),i=[],o=n[0].startLineNumber,r=n[0].endLineNumber,s=1,a=n.length;sr+1?(i.push(new re.a(o,1,r,1)),o=u.startLineNumber,r=u.endLineNumber):u.endLineNumber>r&&(r=u.endLineNumber)}return i.push(new re.a(o,1,r,1)),i},e.prototype.setHiddenAreas=function(e){var t=this,n=this._reduceRanges(e),i=this.hiddenAreasIds.map((function(e){return t.model.getDecorationRange(e)})).sort(re.a.compareRangesUsingStarts);if(n.length===i.length){for(var o=!1,r=0;r=d&&m<=h?this.lines[r].isVisible()&&(this.lines[r]=this.lines[r].setVisible(!1),v=!0):(g=!0,this.lines[r].isVisible()||(this.lines[r]=this.lines[r].setVisible(!0),v=!0)),v){var _=this.lines[r].getViewLineCount();this.prefixSumComputer.changeValue(r,_)}}return g||this.setHiddenAreas([]),!0},e.prototype.modelPositionIsVisible=function(e,t){return!(e<1||e>this.lines.length)&&this.lines[e-1].isVisible()},e.prototype.setTabSize=function(e){return this.tabSize!==e&&(this.tabSize=e,this._constructLines(!1,null),!0)},e.prototype.setWrappingSettings=function(e,t,n,i){var o=this.fontInfo.equals(e),r=this.wrappingStrategy===t,s=this.wrappingColumn===n,a=this.wrappingIndent===i;if(o&&r&&s&&a)return!1;var u=o&&r&&!s&&a;this.fontInfo=e,this.wrappingStrategy=t,this.wrappingColumn=n,this.wrappingIndent=i;var l=null;if(u){l=[];for(var c=0,d=this.lines.length;cs?(p=(h=(l=(u=1===t?1:this.prefixSumComputer.getAccumulatedValue(t-2)+1)+s-1)+1)+(o-s)-1,a=!0):ot?t:0|e},e.prototype.getActiveIndentGuide=function(e,t,n){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t),n=this._toValidViewLineNumber(n);var i=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),o=this.convertViewPositionToModelPosition(t,this.getViewLineMinColumn(t)),r=this.convertViewPositionToModelPosition(n,this.getViewLineMinColumn(n)),s=this.model.getActiveIndentGuide(i.lineNumber,o.lineNumber,r.lineNumber),a=this.convertModelPositionToViewPosition(s.startLineNumber,1),u=this.convertModelPositionToViewPosition(s.endLineNumber,this.model.getLineMaxColumn(s.endLineNumber));return{startLineNumber:a.lineNumber,endLineNumber:u.lineNumber,indent:s.indent}},e.prototype.getViewLinesIndentGuides=function(e,t){e=this._toValidViewLineNumber(e),t=this._toValidViewLineNumber(t);for(var n=this.convertViewPositionToModelPosition(e,this.getViewLineMinColumn(e)),i=this.convertViewPositionToModelPosition(t,this.getViewLineMaxColumn(t)),o=[],r=[],s=[],a=n.lineNumber-1,u=i.lineNumber-1,l=null,c=a;c<=u;c++){var d=this.lines[c];if(d.isVisible()){var h=d.getViewLineNumberOfModelPosition(0,c===a?n.column:1),p=d.getViewLineNumberOfModelPosition(0,this.model.getLineMaxColumn(c+1)),f=0;(C=p-h+1)>1&&1===d.getViewLineMinColumn(this.model,c+1,p)&&(f=0===h?1:2),r.push(C),s.push(f),null===l&&(l=new oe.a(c+1,0))}else null!==l&&(o=o.concat(this.model.getLinesIndentGuides(l.lineNumber,c)),l=null)}null!==l&&(o=o.concat(this.model.getLinesIndentGuides(l.lineNumber,i.lineNumber)),l=null);for(var g=t-e+1,m=new Array(g),v=0,_=0,b=o.length;_t&&(p=!0,h=t-o+1);var f=d+h;if(c.getViewLinesData(this.model,u+1,d,f,o-e,n,a),o+=h,p)break}}return a},e.prototype.validateViewPosition=function(e,t,n){e=this._toValidViewLineNumber(e);var i=this.prefixSumComputer.getIndexOf(e-1),o=i.index,r=i.remainder,s=this.lines[o],a=s.getViewLineMinColumn(this.model,o+1,r),u=s.getViewLineMaxColumn(this.model,o+1,r);tu&&(t=u);var l=s.getModelColumnOfViewPosition(r,t);return this.model.validatePosition(new oe.a(o+1,l)).equals(n)?new oe.a(e,t):this.convertModelPositionToViewPosition(n.lineNumber,n.column)},e.prototype.validateViewRange=function(e,t){var n=this.validateViewPosition(e.startLineNumber,e.startColumn,t.getStartPosition()),i=this.validateViewPosition(e.endLineNumber,e.endColumn,t.getEndPosition());return new re.a(n.lineNumber,n.column,i.lineNumber,i.column)},e.prototype.convertViewPositionToModelPosition=function(e,t){e=this._toValidViewLineNumber(e);var n=this.prefixSumComputer.getIndexOf(e-1),i=n.index,o=n.remainder,r=this.lines[i].getModelColumnOfViewPosition(o,t);return this.model.validatePosition(new oe.a(i+1,r))},e.prototype.convertViewRangeToModelRange=function(e){var t=this.convertViewPositionToModelPosition(e.startLineNumber,e.startColumn),n=this.convertViewPositionToModelPosition(e.endLineNumber,e.endColumn);return new re.a(t.lineNumber,t.column,n.lineNumber,n.column)},e.prototype.convertModelPositionToViewPosition=function(e,t){for(var n=this.model.validatePosition(new oe.a(e,t)),i=n.lineNumber,o=n.column,r=i-1,s=!1;r>0&&!this.lines[r].isVisible();)r--,s=!0;if(0===r&&!this.lines[r].isVisible())return new oe.a(1,1);var a=1+(0===r?0:this.prefixSumComputer.getAccumulatedValue(r-1));return s?this.lines[r].getViewPositionOfModelPosition(a,this.model.getLineMaxColumn(r+1)):this.lines[i-1].getViewPositionOfModelPosition(a,o)},e.prototype.convertModelRangeToViewRange=function(e){var t=this.convertModelPositionToViewPosition(e.startLineNumber,e.startColumn),n=this.convertModelPositionToViewPosition(e.endLineNumber,e.endColumn);return e.startLineNumber===e.endLineNumber&&t.lineNumber!==n.lineNumber&&n.column===this.getViewLineMinColumn(n.lineNumber)?new re.a(t.lineNumber,t.column,n.lineNumber-1,this.getViewLineMaxColumn(n.lineNumber-1)):new re.a(t.lineNumber,t.column,n.lineNumber,n.column)},e.prototype._getViewLineNumberForModelPosition=function(e,t){var n=e-1;if(this.lines[n].isVisible()){var i=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(i,t)}for(;n>0&&!this.lines[n].isVisible();)n--;if(0===n&&!this.lines[n].isVisible())return 1;var o=1+(0===n?0:this.prefixSumComputer.getAccumulatedValue(n-1));return this.lines[n].getViewLineNumberOfModelPosition(o,this.model.getLineMaxColumn(n+1))},e.prototype.getAllOverviewRulerDecorations=function(e,t,n){for(var i=this.model.getOverviewRulerDecorations(e,t),o=new Ui,r=0,s=i;rt.id?1:0:n}));for(var d=[],h=0,p=null,f=0,g=r;f0&&(r=Wi(this._lineBreakData.wrappedTextIndentLength)+r),r},e.prototype.getViewLineLength=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var i=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n)-i;return n>0&&(o=this._lineBreakData.wrappedTextIndentLength+o),o},e.prototype.getViewLineMinColumn=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");return n>0?this._lineBreakData.wrappedTextIndentLength+1:1},e.prototype.getViewLineMaxColumn=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");return this.getViewLineContent(e,t,n).length+1},e.prototype.getViewLineData=function(e,t,n){if(!this._isVisible)throw new Error("Not supported");var i=this.getInputStartOffsetOfOutputLineIndex(n),o=this.getInputEndOffsetOfOutputLineIndex(e,t,n),r=e.getValueInRange({startLineNumber:t,startColumn:i+1,endLineNumber:t,endColumn:o+1});n>0&&(r=Wi(this._lineBreakData.wrappedTextIndentLength)+r);var s=n>0?this._lineBreakData.wrappedTextIndentLength+1:1,a=r.length+1,u=n+10&&(l=this._lineBreakData.wrappedTextIndentLength);var c=e.getLineTokens(t),d=0===n?0:this._lineBreakData.breakOffsetsVisibleColumn[n-1];return new Si.c(r,u,s,a,d,c.sliceAndInflate(i,o,l))},e.prototype.getViewLinesData=function(e,t,n,i,o,r,s){if(!this._isVisible)throw new Error("Not supported");for(var a=n;a0&&(n0&&(o+=this._lineBreakData.wrappedTextIndentLength),new oe.a(e+i,o)},e.prototype.getViewLineNumberOfModelPosition=function(e,t){if(!this._isVisible)throw new Error("Not supported");return e+Ii.getOutputPositionOfInputOffset(this._lineBreakData.breakOffsets,t-1).outputLineIndex},e}(),ji=[""];function Wi(e){if(e>=ji.length)for(var t=1;t<=e;t++)ji[t]=Vi(t);return ji[e]}function Vi(e){return new Array(e+1).join(" ")}function Bi(e,t){return null===e?t?Ri.INSTANCE:Ai.INSTANCE:new Fi(e,t)}var Hi=function(){function e(e){this._lines=e}return e.prototype._validPosition=function(e){return this._lines.model.validatePosition(e)},e.prototype._validRange=function(e){return this._lines.model.validateRange(e)},e.prototype.convertViewPositionToModelPosition=function(e){return this._validPosition(e)},e.prototype.convertViewRangeToModelRange=function(e){return this._validRange(e)},e.prototype.validateViewPosition=function(e,t){return this._validPosition(t)},e.prototype.validateViewRange=function(e,t){return this._validRange(t)},e.prototype.convertModelPositionToViewPosition=function(e){return this._validPosition(e)},e.prototype.convertModelRangeToViewRange=function(e){return this._validRange(e)},e.prototype.modelPositionIsVisible=function(e){var t=this._lines.model.getLineCount();return!(e.lineNumber<1||e.lineNumber>t)},e}(),zi=function(){function e(e){this.model=e}return e.prototype.dispose=function(){},e.prototype.createCoordinatesConverter=function(){return new Hi(this)},e.prototype.getHiddenAreas=function(){return[]},e.prototype.setHiddenAreas=function(e){return!1},e.prototype.setTabSize=function(e){return!1},e.prototype.setWrappingSettings=function(e,t,n,i){return!1},e.prototype.createLineBreaksComputer=function(){var e=[];return{addRequest:function(t,n){e.push(null)},finalize:function(){return e}}},e.prototype.onModelFlushed=function(){},e.prototype.onModelLinesDeleted=function(e,t,n){return new $e(t,n)},e.prototype.onModelLinesInserted=function(e,t,n,i){return new et(t,n)},e.prototype.onModelLineChanged=function(e,t,n){return[!1,new Je(t,t),null,null]},e.prototype.acceptVersionId=function(e){},e.prototype.getViewLineCount=function(){return this.model.getLineCount()},e.prototype.getActiveIndentGuide=function(e,t,n){return{startLineNumber:e,endLineNumber:e,indent:0}},e.prototype.getViewLinesIndentGuides=function(e,t){for(var n=t-e+1,i=new Array(n),o=0;o=t)return void(n>s&&(o[o.length-1]=n));o.push(i,t,n)}else this.result[e]=[i,t,n]},e}(),Ki=function(){function e(e,t,n,i,o){this.editorId=e,this.model=t,this.configuration=n,this._linesCollection=i,this._coordinatesConverter=o,this._decorationsCache=Object.create(null),this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null}return e.prototype._clearCachedModelDecorationsResolver=function(){this._cachedModelDecorationsResolver=null,this._cachedModelDecorationsResolverViewRange=null},e.prototype.dispose=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.reset=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.onModelDecorationsChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype.onLineMappingChanged=function(){this._decorationsCache=Object.create(null),this._clearCachedModelDecorationsResolver()},e.prototype._getOrCreateViewModelDecoration=function(e){var t=e.id,n=this._decorationsCache[t];if(!n){var i=e.range,o=e.options,r=void 0;if(o.isWholeLine){var s=this._coordinatesConverter.convertModelPositionToViewPosition(new oe.a(i.startLineNumber,1)),a=this._coordinatesConverter.convertModelPositionToViewPosition(new oe.a(i.endLineNumber,this.model.getLineMaxColumn(i.endLineNumber)));r=new re.a(s.lineNumber,s.column,a.lineNumber,a.column)}else r=this._coordinatesConverter.convertModelRangeToViewRange(i);n=new Si.e(r,o),this._decorationsCache[t]=n}return n},e.prototype.getDecorationsViewportData=function(e){var t=null!==this._cachedModelDecorationsResolver;return(t=t&&e.equalsRange(this._cachedModelDecorationsResolverViewRange))||(this._cachedModelDecorationsResolver=this._getDecorationsViewportData(e),this._cachedModelDecorationsResolverViewRange=e),this._cachedModelDecorationsResolver},e.prototype._getDecorationsViewportData=function(e){for(var t=this._linesCollection.getDecorationsInRange(e,this.editorId,Object(K.j)(this.configuration.options)),n=e.startLineNumber,i=e.endLineNumber,o=[],r=0,s=[],a=n;a<=i;a++)s[a-n]=[];for(var u=0,l=t.length;u=2&&e.viewportStartLineTrackedRange){var L=e.model._getTrackedRange(e.viewportStartLineTrackedRange);if(L){var D=e.coordinatesConverter.convertModelPositionToViewPosition(L.getStartPosition()),x=e.viewLayout.getVerticalOffsetForLineNumber(D.lineNumber);e.viewLayout.setScrollPositionNow({scrollTop:x+e.viewportStartLineDelta})}}}))),this._register(this.model.onDidChangeTokens((function(t){for(var n=[],i=0,o=t.ranges.length;ia||(r0&&u[c-1]===u[c]||(l+=this.model.getLineContent(u[c])+i);return l}if(o&&t){for(var d=[],h=0,p=0,f=e;p'+this._getHTMLToCopy(i,s)+""}},t.prototype._getHTMLToCopy=function(e,t){for(var n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn,s=this.getTabSize(),a="",u=n;u<=o;u++){var l=this.model.getLineTokens(u),c=l.getLineContent(),d=u===n?i-1:0,h=u===o?r-1:c.length;a+=""===c?"
":Object(_i.a)(c,l.inflate(),t,d,h,s,f.h)}return a},t.prototype._getColorMap=function(){var e=rn.B.getColorMap(),t=["#000000"];if(e)for(var n=1,i=e.length;n=0&&e<256?this._asciiMap[e]:e>=12352&&e<=12543||e>=13312&&e<=19903||e>=19968&&e<=40959?3:this._map.get(e)||this._defaultValue},t}(to.a),oo=[],ro=[],so=function(){function e(e,t){this.classifier=new io(e,t)}return e.create=function(t){return new e(t.get(99),t.get(98))},e.prototype.createLineBreaksComputer=function(e,t,n,i){var o=this;t|=0,n=+n;var r=[],s=[];return{addRequest:function(e,t){r.push(e),s.push(t)},finalize:function(){for(var a=e.typicalFullwidthCharacterWidth/e.typicalHalfwidthCharacterWidth,u=[],l=0,c=r.length;l=0)for(var _=Math.abs(l[v]-g);v+1=_)break;_=j,v++}for(;vg){S=E,O=L-T,L-w>d&&(C=0),N=!1;break}D=I,x=M}if(N){f>0&&(h[f]=u[u.length-1],p[f]=l[u.length-1],f++);break}}if(0===C){L=y,I=n.charCodeAt(b),M=e.get(I);var P=!1;for(k=b-1;k>=0;k--){E=k+1;if(9===(D=n.charCodeAt(k))){P=!0;break}x=void 0;var R=void 0;if(Me.A(D)?(k--,x=0,R=2):(x=e.get(D),R=Me.y(D)?r:1),L<=g){if(0===S&&(S=E,O=L),L<=g-d)break;if(ho(D,x,I,M)){C=E,w=L;break}}L-=R,I=D,M=x}if(0!==C){var A=d-(O-w);if(A<=i){var F=n.charCodeAt(S);T=void 0;A-(T=Me.z(F)?2:lo(F,O,i,r))<0&&(C=0)}}if(P){v--;continue}}for(0===C&&(C=S,w=O),h[f]=C,p[f]=w,f++,g=w+d;v<0||v=_)break;_=j,v++}}return 0===f?null:(h.length=f,p.length=f,oo=t.breakOffsets,ro=t.breakOffsetsVisibleColumn,t.breakOffsets=h,t.breakOffsetsVisibleColumn=p,t.wrappedTextIndentLength=c,t)}function uo(e,t,n,i,o,r){if(-1===i)return null;var s=t.length;if(s<=1)return null;var a=po(t,n,i,o,r),u=i-a,l=[],c=[],d=0,h=0,p=0,f=i,g=t.charCodeAt(0),m=e.get(g),v=lo(g,0,n,o),_=1;Me.z(g)&&(v+=1,g=t.charCodeAt(1),m=e.get(g),_++);for(var b=_;bf&&((0===h||v-p>u)&&(h=y,p=v-S),l[d]=h,c[d]=p,d++,f=p+u,h=0),g=C,m=w}return 0===d?null:(l[d]=s,c[d]=v,new Ii(l,c,a))}function lo(e,t,n,i){return 9===e?n-t%n:Me.y(e)?i:1}function co(e,t){return t-e%t}function ho(e,t,n,i){return 32!==n&&(2===t||3===t&&2!==i||1===i||3===i&&1!==t)}function po(e,t,n,i,o){var r=0;if(0!==o){var s=Me.q(e);if(-1!==s){for(var a=0;an&&(r=0)}}return r}var fo=function(){function e(){}return e.create=function(){return new e},e.prototype.createLineBreaksComputer=function(e,t,n,i){t|=0,n=+n;var o=[];return{addRequest:function(e,t){o.push(e)},finalize:function(){return function(e,t,n,i,o){if(-1===i){for(var r=[],s=0,a=e.length;su?(_=0,b=0):y=u-S}var O=v.substr(_),L=go(O,b,n,y,d);h[s]=_,p[s]=b,f[s]=O,g[s]=L[0],m[s]=L[1]}l.innerHTML=d.build(),l.style.position="absolute",l.style.top="10000",l.style.wordWrap="break-word",document.body.appendChild(l);var D=document.createRange(),x=Array.prototype.slice.call(l.children,0),N=[];for(s=0;s');for(var r=e.length,s=t,a=0,u=[],l=[],c=0"),[u,l]}function mo(e,t,n,i){if(n.length<=1)return null;var o=[];return function e(t,n,i,o,r,s,a,u){if(o===s)return;if(r=r||vo(t,n,i[o],i[o+1]),a=a||vo(t,n,i[s],i[s+1]),Math.abs(r[0].top-a[0].top)<=.1)return;if(o+1===s)return void u.push(s);var l=o+(s-o)/2|0,c=vo(t,n,i[l],i[l+1]);e(t,n,i,o,r,l,c,u),e(t,n,i,l,c,s,a,u)}(e,t.firstChild,i,0,null,n.length-1,null,o),0===o.length?null:(o.push(n.length),o)}function vo(e,t,n,i){return e.setStart(t,n),e.setEnd(t,i),e.getClientRects()}var _o=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),bo=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},yo=function(e,t){return function(n,i){t(n,i,e)}},Co=0,wo=function(){function e(e,t,n,i,o,r){this.model=e,this.viewModel=t,this.cursor=n,this.view=i,this.hasRealView=o,this.listenersToRemove=r}return e.prototype.dispose=function(){Object(u.f)(this.listenersToRemove),this.model.onBeforeDetached(),this.hasRealView&&this.view.dispose(),this.cursor.dispose(),this.viewModel.dispose()},e}(),So=function(e){function t(t,n,i,o,r,u,l,c,h,p){var f=e.call(this)||this;f._onDidDispose=f._register(new a.a),f.onDidDispose=f._onDidDispose.event,f._onDidChangeModelContent=f._register(new a.a),f.onDidChangeModelContent=f._onDidChangeModelContent.event,f._onDidChangeModelLanguage=f._register(new a.a),f.onDidChangeModelLanguage=f._onDidChangeModelLanguage.event,f._onDidChangeModelLanguageConfiguration=f._register(new a.a),f.onDidChangeModelLanguageConfiguration=f._onDidChangeModelLanguageConfiguration.event,f._onDidChangeModelOptions=f._register(new a.a),f.onDidChangeModelOptions=f._onDidChangeModelOptions.event,f._onDidChangeModelDecorations=f._register(new a.a),f.onDidChangeModelDecorations=f._onDidChangeModelDecorations.event,f._onDidChangeConfiguration=f._register(new a.a),f.onDidChangeConfiguration=f._onDidChangeConfiguration.event,f._onDidChangeModel=f._register(new a.a),f.onDidChangeModel=f._onDidChangeModel.event,f._onDidChangeCursorPosition=f._register(new a.a),f.onDidChangeCursorPosition=f._onDidChangeCursorPosition.event,f._onDidChangeCursorSelection=f._register(new a.a),f.onDidChangeCursorSelection=f._onDidChangeCursorSelection.event,f._onDidAttemptReadOnlyEdit=f._register(new a.a),f.onDidAttemptReadOnlyEdit=f._onDidAttemptReadOnlyEdit.event,f._onDidLayoutChange=f._register(new a.a),f.onDidLayoutChange=f._onDidLayoutChange.event,f._editorTextFocus=f._register(new Oo),f.onDidFocusEditorText=f._editorTextFocus.onDidChangeToTrue,f.onDidBlurEditorText=f._editorTextFocus.onDidChangeToFalse,f._editorWidgetFocus=f._register(new Oo),f.onDidFocusEditorWidget=f._editorWidgetFocus.onDidChangeToTrue,f.onDidBlurEditorWidget=f._editorWidgetFocus.onDidChangeToFalse,f._onWillType=f._register(new a.a),f.onWillType=f._onWillType.event,f._onDidType=f._register(new a.a),f.onDidType=f._onDidType.event,f._onDidCompositionStart=f._register(new a.a),f.onDidCompositionStart=f._onDidCompositionStart.event,f._onDidCompositionEnd=f._register(new a.a),f.onDidCompositionEnd=f._onDidCompositionEnd.event,f._onDidPaste=f._register(new a.a),f.onDidPaste=f._onDidPaste.event,f._onMouseUp=f._register(new a.a),f.onMouseUp=f._onMouseUp.event,f._onMouseDown=f._register(new a.a),f.onMouseDown=f._onMouseDown.event,f._onMouseDrag=f._register(new a.a),f.onMouseDrag=f._onMouseDrag.event,f._onMouseDrop=f._register(new a.a),f.onMouseDrop=f._onMouseDrop.event,f._onContextMenu=f._register(new a.a),f.onContextMenu=f._onContextMenu.event,f._onMouseMove=f._register(new a.a),f.onMouseMove=f._onMouseMove.event,f._onMouseLeave=f._register(new a.a),f.onMouseLeave=f._onMouseLeave.event,f._onMouseWheel=f._register(new a.a),f.onMouseWheel=f._onMouseWheel.event,f._onKeyUp=f._register(new a.a),f.onKeyUp=f._onKeyUp.event,f._onKeyDown=f._register(new a.a),f.onKeyDown=f._onKeyDown.event,f._onDidContentSizeChange=f._register(new a.a),f.onDidContentSizeChange=f._onDidContentSizeChange.event,f._onDidScrollChange=f._register(new a.a),f.onDidScrollChange=f._onDidScrollChange.event,f._onDidChangeViewZones=f._register(new a.a),f.onDidChangeViewZones=f._onDidChangeViewZones.event,f._domElement=t,f._id=++Co,f._decorationTypeKeysToIds={},f._decorationTypeSubtypes={},f.isSimpleWidget=i.isSimpleWidget||!1,f._telemetryData=i.telemetryData,n=n||{},f._configuration=f._register(f._createConfiguration(n,p)),f._register(f._configuration.onDidChange((function(e){f._onDidChangeConfiguration.fire(e);var t=f._configuration.options;if(e.hasChanged(107)){var n=t.get(107);f._onDidLayoutChange.fire(n)}}))),f._contextKeyService=f._register(l.createScoped(f._domElement)),f._notificationService=h,f._codeEditorService=r,f._commandService=u,f._themeService=c,f._register(new Lo(f,f._contextKeyService)),f._register(new Do(f,f._contextKeyService)),f._instantiationService=o.createChild(new Qi.a([Zi.c,f._contextKeyService])),f._modelData=null,f._contributions={},f._actions={},f._focusTracker=new xo(t),f._focusTracker.onChange((function(){f._editorWidgetFocus.setValue(f._focusTracker.hasFocus())})),f._contentWidgets={},f._overlayWidgets={};for(var g=0,m=Array.isArray(i.contributions)?i.contributions:d.d.getEditorContributions();g1),this._hasNonEmptySelection.set(e.some((function(e){return!e.isEmpty()})))):(this._hasMultipleSelections.reset(),this._hasNonEmptySelection.reset())},t.prototype._updateFromFocus=function(){this._editorFocus.set(this._editor.hasWidgetFocus()&&!this._editor.isSimpleWidget),this._editorTextFocus.set(this._editor.hasTextFocus()&&!this._editor.isSimpleWidget),this._textInputFocus.set(this._editor.hasTextFocus())},t.prototype._updateFromModel=function(){var e=this._editor.getModel();this._canUndo.set(Boolean(e&&e.canUndo())),this._canRedo.set(Boolean(e&&e.canRedo()))},t}(u.a),Do=function(e){function t(t,n){var i=e.call(this)||this;i._editor=t,i._contextKeyService=n,i._langId=vi.a.languageId.bindTo(n),i._hasCompletionItemProvider=vi.a.hasCompletionItemProvider.bindTo(n),i._hasCodeActionsProvider=vi.a.hasCodeActionsProvider.bindTo(n),i._hasCodeLensProvider=vi.a.hasCodeLensProvider.bindTo(n),i._hasDefinitionProvider=vi.a.hasDefinitionProvider.bindTo(n),i._hasDeclarationProvider=vi.a.hasDeclarationProvider.bindTo(n),i._hasImplementationProvider=vi.a.hasImplementationProvider.bindTo(n),i._hasTypeDefinitionProvider=vi.a.hasTypeDefinitionProvider.bindTo(n),i._hasHoverProvider=vi.a.hasHoverProvider.bindTo(n),i._hasDocumentHighlightProvider=vi.a.hasDocumentHighlightProvider.bindTo(n),i._hasDocumentSymbolProvider=vi.a.hasDocumentSymbolProvider.bindTo(n),i._hasReferenceProvider=vi.a.hasReferenceProvider.bindTo(n),i._hasRenameProvider=vi.a.hasRenameProvider.bindTo(n),i._hasSignatureHelpProvider=vi.a.hasSignatureHelpProvider.bindTo(n),i._hasDocumentFormattingProvider=vi.a.hasDocumentFormattingProvider.bindTo(n),i._hasDocumentSelectionFormattingProvider=vi.a.hasDocumentSelectionFormattingProvider.bindTo(n),i._hasMultipleDocumentFormattingProvider=vi.a.hasMultipleDocumentFormattingProvider.bindTo(n),i._hasMultipleDocumentSelectionFormattingProvider=vi.a.hasMultipleDocumentSelectionFormattingProvider.bindTo(n),i._isInWalkThrough=vi.a.isInEmbeddedEditor.bindTo(n);var o=function(){return i._update()};return i._register(t.onDidChangeModel(o)),i._register(t.onDidChangeModelLanguage(o)),i._register(rn.d.onDidChange(o)),i._register(rn.a.onDidChange(o)),i._register(rn.b.onDidChange(o)),i._register(rn.f.onDidChange(o)),i._register(rn.e.onDidChange(o)),i._register(rn.q.onDidChange(o)),i._register(rn.C.onDidChange(o)),i._register(rn.p.onDidChange(o)),i._register(rn.i.onDidChange(o)),i._register(rn.m.onDidChange(o)),i._register(rn.u.onDidChange(o)),i._register(rn.v.onDidChange(o)),i._register(rn.g.onDidChange(o)),i._register(rn.j.onDidChange(o)),i._register(rn.x.onDidChange(o)),o(),i}return _o(t,e),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t.prototype.reset=function(){var e=this;this._contextKeyService.bufferChangeEvents((function(){e._langId.reset(),e._hasCompletionItemProvider.reset(),e._hasCodeActionsProvider.reset(),e._hasCodeLensProvider.reset(),e._hasDefinitionProvider.reset(),e._hasDeclarationProvider.reset(),e._hasImplementationProvider.reset(),e._hasTypeDefinitionProvider.reset(),e._hasHoverProvider.reset(),e._hasDocumentHighlightProvider.reset(),e._hasDocumentSymbolProvider.reset(),e._hasReferenceProvider.reset(),e._hasRenameProvider.reset(),e._hasDocumentFormattingProvider.reset(),e._hasDocumentSelectionFormattingProvider.reset(),e._hasSignatureHelpProvider.reset(),e._isInWalkThrough.reset()}))},t.prototype._update=function(){var e=this,t=this._editor.getModel();t?this._contextKeyService.bufferChangeEvents((function(){e._langId.set(t.getLanguageIdentifier().language),e._hasCompletionItemProvider.set(rn.d.has(t)),e._hasCodeActionsProvider.set(rn.a.has(t)),e._hasCodeLensProvider.set(rn.b.has(t)),e._hasDefinitionProvider.set(rn.f.has(t)),e._hasDeclarationProvider.set(rn.e.has(t)),e._hasImplementationProvider.set(rn.q.has(t)),e._hasTypeDefinitionProvider.set(rn.C.has(t)),e._hasHoverProvider.set(rn.p.has(t)),e._hasDocumentHighlightProvider.set(rn.i.has(t)),e._hasDocumentSymbolProvider.set(rn.m.has(t)),e._hasReferenceProvider.set(rn.u.has(t)),e._hasRenameProvider.set(rn.v.has(t)),e._hasSignatureHelpProvider.set(rn.x.has(t)),e._hasDocumentFormattingProvider.set(rn.g.has(t)||rn.j.has(t)),e._hasDocumentSelectionFormattingProvider.set(rn.j.has(t)),e._hasMultipleDocumentFormattingProvider.set(rn.g.all(t).length+rn.j.all(t).length>1),e._hasMultipleDocumentSelectionFormattingProvider.set(rn.j.all(t).length>1),e._isInWalkThrough.set(t.uri.scheme===l.b.walkThroughSnippet)})):this.reset()},t}(u.a),xo=function(e){function t(t){var n=e.call(this)||this;return n._onChange=n._register(new a.a),n.onChange=n._onChange.event,n._hasFocus=!1,n._domFocusTracker=n._register(r.Z(t)),n._register(n._domFocusTracker.onDidFocus((function(){n._hasFocus=!0,n._onChange.fire(void 0)}))),n._register(n._domFocusTracker.onDidBlur((function(){n._hasFocus=!1,n._onChange.fire(void 0)}))),n}return _o(t,e),t.prototype.hasFocus=function(){return this._hasFocus},t}(u.a),No=encodeURIComponent("");function Eo(e){return No+encodeURIComponent(e.toString())+ko}var Io=encodeURIComponent('');Object(U.e)((function(e,t){var n=e.getColor(an.p);n&&t.addRule(".monaco-editor .squiggly-error { border-bottom: 4px double "+n+"; }");var i=e.getColor(an.q);i&&t.addRule('.monaco-editor .squiggly-error { background: url("data:image/svg+xml,'+Eo(i)+'") repeat-x bottom left; }');var o=e.getColor(an.O);o&&t.addRule(".monaco-editor .squiggly-warning { border-bottom: 4px double "+o+"; }");var r=e.getColor(an.P);r&&t.addRule('.monaco-editor .squiggly-warning { background: url("data:image/svg+xml,'+Eo(r)+'") repeat-x bottom left; }');var s=e.getColor(an.G);s&&t.addRule(".monaco-editor .squiggly-info { border-bottom: 4px double "+s+"; }");var a=e.getColor(an.H);a&&t.addRule('.monaco-editor .squiggly-info { background: url("data:image/svg+xml,'+Eo(a)+'") repeat-x bottom left; }');var u=e.getColor(an.y);u&&t.addRule(".monaco-editor .squiggly-hint { border-bottom: 2px dotted "+u+"; }");var l=e.getColor(an.z);l&&t.addRule('.monaco-editor .squiggly-hint { background: url("data:image/svg+xml,'+(Io+encodeURIComponent(l.toString())+Mo+'") no-repeat bottom left; }'));var c=e.getColor(Fe.o);c&&t.addRule(".monaco-editor.showUnused .squiggly-inline-unnecessary { opacity: "+c.rgba.a+"; }");var d=e.getColor(Fe.n);d&&t.addRule(".monaco-editor.showUnused .squiggly-unnecessary { border-bottom: 2px dashed "+d+"; }");var h=e.getColor(an.x)||"inherit";t.addRule(".monaco-editor .squiggly-inline-deprecated { text-decoration: line-through; text-decoration-color: "+h+"}")}))},nD70: /*!**********************************************************************!*\ @@ -2273,7 +2273,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dom.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/aria/aria.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/inputbox/inputBox.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickOpen/quickCommand.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/sash/sash.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/sash/sash.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/ui/widget.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/async.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/color.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -2284,14 +2284,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/platform.js (<- Module uses injected variables (process, global)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/strings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/commands/replaceCommand.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/caretOperations/transpose.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/commands/replaceCommand.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/position.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/nls.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/clipboard/common/clipboardService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -2299,7 +2299,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybinding.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/keybinding/common/keybindingsRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/notification/common/notification.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/storage/common/storage.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/referenceSearch/standaloneReferenceSearch.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/themeService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */function(e,t,n){"use strict";n.r(t),n.d(t,"getSelectionSearchString",(function(){return vt})),n.d(t,"CommonFindController",(function(){return _t})),n.d(t,"FindController",(function(){return bt})),n.d(t,"StartFindAction",(function(){return yt})),n.d(t,"StartFindWithSelectionAction",(function(){return Ct})),n.d(t,"MatchFindAction",(function(){return wt})),n.d(t,"NextMatchFindAction",(function(){return St})),n.d(t,"NextMatchFindAction2",(function(){return Ot})),n.d(t,"PreviousMatchFindAction",(function(){return Lt})),n.d(t,"PreviousMatchFindAction2",(function(){return Dt})),n.d(t,"SelectionMatchFindAction",(function(){return xt})),n.d(t,"NextSelectionMatchFindAction",(function(){return Nt})),n.d(t,"PreviousSelectionMatchFindAction",(function(){return kt})),n.d(t,"StartFindReplaceAction",(function(){return Et}));var i=n("3/fG"),o=n("X+cX"),r=n("pmY6"),s=n("N0LK"),a=n("sswD"),u=n("wQH0"),l=n("LCkn"),c=n("cGHE"),d=n("aokT"),h=n("gCVg"),p=n("jAJ/"),f=n("M1Kb"),g=n("tX9W"),m=n("MD5Z"),v=n("t9D7"),_=function(){function e(e){this._editor=e,this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null,this._startPosition=this._editor.getPosition()}return e.prototype.dispose=function(){this._editor.deltaDecorations(this._allDecorations(),[]),this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null},e.prototype.reset=function(){this._decorations=[],this._overviewRulerApproximateDecorations=[],this._findScopeDecorationId=null,this._rangeHighlightDecorationId=null,this._highlightedDecorationId=null},e.prototype.getCount=function(){return this._decorations.length},e.prototype.getFindScope=function(){return this._findScopeDecorationId?this._editor.getModel().getDecorationRange(this._findScopeDecorationId):null},e.prototype.getStartPosition=function(){return this._startPosition},e.prototype.setStartPosition=function(e){this._startPosition=e,this.setCurrentFindMatch(null)},e.prototype._getDecorationIndex=function(e){var t=this._decorations.indexOf(e);return t>=0?t+1:1},e.prototype.getCurrentMatchesPosition=function(t){for(var n=0,i=this._editor.getModel().getDecorationsInRange(t);n1e3){r=e._FIND_MATCH_NO_OVERVIEW_DECORATION;for(var a=i._editor.getModel().getLineCount(),u=i._editor.getLayoutInfo().height/a,l=Math.max(2,Math.ceil(3/u)),c=t[0].range.startLineNumber,h=t[0].range.endLineNumber,p=1,f=t.length;p=g.startLineNumber?g.endLineNumber>h&&(h=g.endLineNumber):(s.push({range:new d.a(c,1,h,1),options:e._FIND_MATCH_ONLY_OVERVIEW_DECORATION}),c=g.startLineNumber,h=g.endLineNumber)}s.push({range:new d.a(c,1,h,1),options:e._FIND_MATCH_ONLY_OVERVIEW_DECORATION})}var m=new Array(t.length);for(p=0,f=t.length;p=0;t--){var n=this._decorations[t],i=this._editor.getModel().getDecorationRange(n);if(i&&!(i.endLineNumber>e.lineNumber)){if(i.endLineNumbere.column))return i}}return this._editor.getModel().getDecorationRange(this._decorations[this._decorations.length-1])},e.prototype.matchAfterPosition=function(e){if(0===this._decorations.length)return null;for(var t=0,n=this._decorations.length;te.lineNumber)return o;if(!(o.startColumn0){for(var n=[],i=0;i0;){if(e0},e.prototype._cannotFind=function(){if(!this._hasMatches()){var e=this._decorations.getFindScope();return e&&this._editor.revealRangeInCenterIfOutsideViewport(e,0),!0}return!1},e.prototype._setCurrentFindMatch=function(e){var t=this._decorations.setCurrentFindMatch(e);this._state.changeMatchInfo(t,this._decorations.getCount(),e),this._editor.setSelection(e),this._editor.revealRangeInCenterIfOutsideViewport(e,0)},e.prototype._prevSearchPosition=function(e){var t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),n=e.lineNumber,i=e.column,o=this._editor.getModel();return t||1===i?(1===n?n=o.getLineCount():n--,i=o.getLineMaxColumn(n)):i--,new c.a(n,i)},e.prototype._moveToPrevMatch=function(t,n){if(void 0===n&&(n=!1),this._decorations.getCount()<19999){var i=this._decorations.matchBeforePosition(t);return i&&i.isEmpty()&&i.getStartPosition().equals(t)&&(t=this._prevSearchPosition(t),i=this._decorations.matchBeforePosition(t)),void(i&&this._setCurrentFindMatch(i))}if(!this._cannotFind()){var o=this._decorations.getFindScope(),r=e._getSearchRange(this._editor.getModel(),o);r.getEndPosition().isBefore(t)&&(t=r.getEndPosition()),t.isBefore(r.getStartPosition())&&(t=r.getEndPosition());var s=t.lineNumber,a=t.column,u=this._editor.getModel(),l=new c.a(s,a),d=u.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,!1);if(d&&d.range.isEmpty()&&d.range.getStartPosition().equals(l)&&(l=this._prevSearchPosition(l),d=u.findPreviousMatch(this._state.searchString,l,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,!1)),d)return n||r.containsRange(d.range)?void this._setCurrentFindMatch(d.range):this._moveToPrevMatch(d.range.getStartPosition(),!0)}},e.prototype.moveToPrevMatch=function(){this._moveToPrevMatch(this._editor.getSelection().getStartPosition())},e.prototype._nextSearchPosition=function(e){var t=this._state.isRegex&&(this._state.searchString.indexOf("^")>=0||this._state.searchString.indexOf("$")>=0),n=e.lineNumber,i=e.column,o=this._editor.getModel();return t||i===o.getLineMaxColumn(n)?(n===o.getLineCount()?n=1:n++,i=1):i++,new c.a(n,i)},e.prototype._moveToNextMatch=function(e){if(this._decorations.getCount()<19999){var t=this._decorations.matchAfterPosition(e);return t&&t.isEmpty()&&t.getStartPosition().equals(e)&&(e=this._nextSearchPosition(e),t=this._decorations.matchAfterPosition(e)),void(t&&this._setCurrentFindMatch(t))}var n=this._getNextMatch(e,!1,!0);n&&this._setCurrentFindMatch(n.range)},e.prototype._getNextMatch=function(t,n,i,o){if(void 0===o&&(o=!1),this._cannotFind())return null;var r=this._decorations.getFindScope(),s=e._getSearchRange(this._editor.getModel(),r);s.getEndPosition().isBefore(t)&&(t=s.getStartPosition()),t.isBefore(s.getStartPosition())&&(t=s.getStartPosition());var a=t.lineNumber,u=t.column,l=this._editor.getModel(),d=new c.a(a,u),h=l.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,n);return i&&h&&h.range.isEmpty()&&h.range.getStartPosition().equals(d)&&(d=this._nextSearchPosition(d),h=l.findNextMatch(this._state.searchString,d,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,n)),h?o||s.containsRange(h.range)?h:this._getNextMatch(h.range.getEndPosition(),n,i,!0):null},e.prototype.moveToNextMatch=function(){this._moveToNextMatch(this._editor.getSelection().getEndPosition())},e.prototype._getReplacePattern=function(){return this._state.isRegex?function(e){if(!e||0===e.length)return new L(null);for(var t=new x(e),n=0,i=e.length;n=i)break;if(36===(a=e.charCodeAt(n))){t.emitUnchanged(n-1),t.emitStatic("$",n+1);continue}if(48===a||38===a){t.emitUnchanged(n-1),t.emitMatchIndex(0,n+1);continue}if(49<=a&&a<=57){var r=a-48;if(n+1=i)break;var a;switch(a=e.charCodeAt(n)){case 92:t.emitUnchanged(n-1),t.emitStatic("\\",n+1);break;case 110:t.emitUnchanged(n-1),t.emitStatic("\n",n+1);break;case 116:t.emitUnchanged(n-1),t.emitStatic("\t",n+1)}}}return t.finalize()}(this._state.replaceString):L.fromStaticValue(this._state.replaceString)},e.prototype.replace=function(){if(this._hasMatches()){var e=this._getReplacePattern(),t=this._editor.getSelection(),n=this._getNextMatch(t.getStartPosition(),!0,!1);if(n)if(t.equalsRange(n.range)){var i=e.buildReplaceString(n.matches,this._state.preserveCase),o=new l.a(t,i);this._executeEditorCommand("replace",o),this._decorations.setStartPosition(new c.a(t.startLineNumber,t.startColumn+i.length)),this.research(!0)}else this._decorations.setStartPosition(this._editor.getPosition()),this._setCurrentFindMatch(n.range)}},e.prototype._findMatches=function(t,n,i){var o=e._getSearchRange(this._editor.getModel(),t);return this._editor.getModel().findMatches(this._state.searchString,o,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null,n,i)},e.prototype.replaceAll=function(){if(this._hasMatches()){var e=this._decorations.getFindScope();null===e&&this._state.matchesCount>=19999?this._largeReplaceAll():this._regularReplaceAll(e),this.research(!1)}},e.prototype._largeReplaceAll=function(){var e=new p.a(this._state.searchString,this._state.isRegex,this._state.matchCase,this._state.wholeWord?this._editor.getOption(96):null).parseSearchRequest();if(e){var t=e.regex;if(!t.multiline){var n="mu";t.ignoreCase&&(n+="i"),t.global&&(n+="g"),t=new RegExp(t.source,n)}var i,o=this._editor.getModel(),r=o.getValue(1),s=o.getFullModelRange(),a=this._getReplacePattern(),u=this._state.preserveCase;i=a.hasReplacementPatterns||u?r.replace(t,(function(){return a.buildReplaceString(arguments,u)})):r.replace(t,a.buildReplaceString(null,u));var c=new l.b(s,i,this._editor.getSelection());this._executeEditorCommand("replaceAll",c)}},e.prototype._regularReplaceAll=function(e){for(var t=this._getReplacePattern(),n=this._findMatches(e,t.hasReplacementPatterns||this._state.preserveCase,1073741824),i=[],o=0,r=n.length;ot&&(e=t),this._matchesPosition!==e&&(this._matchesPosition=e,i.matchesPosition=!0,o=!0),this._matchesCount!==t&&(this._matchesCount=t,i.matchesCount=!0,o=!0),void 0!==n&&(d.a.equalsRange(this._currentMatch,n)||(this._currentMatch=n,i.currentMatch=!0,o=!0)),o&&this._onFindReplaceStateChange.fire(i)},t.prototype.change=function(e,t,n){void 0===n&&(n=!0);var i={moveCursor:t,updateHistory:n,searchString:!1,replaceString:!1,isRevealed:!1,isReplaceRevealed:!1,isRegex:!1,wholeWord:!1,matchCase:!1,preserveCase:!1,searchScope:!1,matchesPosition:!1,matchesCount:!1,currentMatch:!1},o=!1,r=this.isRegex,s=this.wholeWord,a=this.matchCase,u=this.preserveCase;void 0!==e.searchString&&this._searchString!==e.searchString&&(this._searchString=e.searchString,i.searchString=!0,o=!0),void 0!==e.replaceString&&this._replaceString!==e.replaceString&&(this._replaceString=e.replaceString,i.replaceString=!0,o=!0),void 0!==e.isRevealed&&this._isRevealed!==e.isRevealed&&(this._isRevealed=e.isRevealed,i.isRevealed=!0,o=!0),void 0!==e.isReplaceRevealed&&this._isReplaceRevealed!==e.isReplaceRevealed&&(this._isReplaceRevealed=e.isReplaceRevealed,i.isReplaceRevealed=!0,o=!0),void 0!==e.isRegex&&(this._isRegex=e.isRegex),void 0!==e.wholeWord&&(this._wholeWord=e.wholeWord),void 0!==e.matchCase&&(this._matchCase=e.matchCase),void 0!==e.preserveCase&&(this._preserveCase=e.preserveCase),void 0!==e.searchScope&&(d.a.equalsRange(this._searchScope,e.searchScope)||(this._searchScope=e.searchScope,i.searchScope=!0,o=!0)),this._isRegexOverride=void 0!==e.isRegexOverride?e.isRegexOverride:0,this._wholeWordOverride=void 0!==e.wholeWordOverride?e.wholeWordOverride:0,this._matchCaseOverride=void 0!==e.matchCaseOverride?e.matchCaseOverride:0,this._preserveCaseOverride=void 0!==e.preserveCaseOverride?e.preserveCaseOverride:0,r!==this.isRegex&&(o=!0,i.isRegex=!0),s!==this.wholeWord&&(o=!0,i.wholeWord=!0),a!==this.matchCase&&(o=!0,i.matchCase=!0),u!==this.preserveCase&&(o=!0,i.preserveCase=!0),o&&this._onFindReplaceStateChange.fire(i)},t}(r.a),be=(n("AbCa"),n("OBOq")),ye=n("cMOf"),Ce=n("/cxE"),we=n("MNsG"),Se=(n("yqFB"),n("0+8E")),Oe=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Le=i.a("defaultLabel","input"),De=function(e){function t(t,n,i,o){var r=e.call(this)||this;r._showOptionButtons=i,r.fixFocusOnOptionClickEnabled=!0,r._onDidOptionChange=r._register(new ne.a),r.onDidOptionChange=r._onDidOptionChange.event,r._onKeyDown=r._register(new ne.a),r.onKeyDown=r._onKeyDown.event,r._onMouseDown=r._register(new ne.a),r.onMouseDown=r._onMouseDown.event,r._onInput=r._register(new ne.a),r._onKeyUp=r._register(new ne.a),r._onCaseSensitiveKeyDown=r._register(new ne.a),r.onCaseSensitiveKeyDown=r._onCaseSensitiveKeyDown.event,r._onRegexKeyDown=r._register(new ne.a),r.onRegexKeyDown=r._onRegexKeyDown.event,r._lastHighlightFindOptions=0,r.contextViewProvider=n,r.placeholder=o.placeholder||"",r.validation=o.validation,r.label=o.label||Le,r.inputActiveOptionBorder=o.inputActiveOptionBorder,r.inputActiveOptionBackground=o.inputActiveOptionBackground,r.inputBackground=o.inputBackground,r.inputForeground=o.inputForeground,r.inputBorder=o.inputBorder,r.inputValidationInfoBorder=o.inputValidationInfoBorder,r.inputValidationInfoBackground=o.inputValidationInfoBackground,r.inputValidationInfoForeground=o.inputValidationInfoForeground,r.inputValidationWarningBorder=o.inputValidationWarningBorder,r.inputValidationWarningBackground=o.inputValidationWarningBackground,r.inputValidationWarningForeground=o.inputValidationWarningForeground,r.inputValidationErrorBorder=o.inputValidationErrorBorder,r.inputValidationErrorBackground=o.inputValidationErrorBackground,r.inputValidationErrorForeground=o.inputValidationErrorForeground;var s=o.appendCaseSensitiveLabel||"",a=o.appendWholeWordsLabel||"",u=o.appendRegexLabel||"",l=o.history||[],c=!!o.flexibleHeight,d=!!o.flexibleWidth,h=o.flexibleMaxHeight;r.domNode=document.createElement("div"),$.f(r.domNode,"monaco-findInput"),r.inputBox=r._register(new Se.a(r.domNode,r.contextViewProvider,{placeholder:r.placeholder||"",ariaLabel:r.label||"",validationOptions:{validation:r.validation},inputBackground:r.inputBackground,inputForeground:r.inputForeground,inputBorder:r.inputBorder,inputValidationInfoBackground:r.inputValidationInfoBackground,inputValidationInfoForeground:r.inputValidationInfoForeground,inputValidationInfoBorder:r.inputValidationInfoBorder,inputValidationWarningBackground:r.inputValidationWarningBackground,inputValidationWarningForeground:r.inputValidationWarningForeground,inputValidationWarningBorder:r.inputValidationWarningBorder,inputValidationErrorBackground:r.inputValidationErrorBackground,inputValidationErrorForeground:r.inputValidationErrorForeground,inputValidationErrorBorder:r.inputValidationErrorBorder,history:l,flexibleHeight:c,flexibleWidth:d,flexibleMaxHeight:h})),r.regex=r._register(new pe({appendTitle:u,isChecked:!1,inputActiveOptionBorder:r.inputActiveOptionBorder,inputActiveOptionBackground:r.inputActiveOptionBackground})),r._register(r.regex.onChange((function(e){r._onDidOptionChange.fire(e),!e&&r.fixFocusOnOptionClickEnabled&&r.inputBox.focus(),r.validate()}))),r._register(r.regex.onKeyDown((function(e){r._onRegexKeyDown.fire(e)}))),r.wholeWords=r._register(new he({appendTitle:a,isChecked:!1,inputActiveOptionBorder:r.inputActiveOptionBorder,inputActiveOptionBackground:r.inputActiveOptionBackground})),r._register(r.wholeWords.onChange((function(e){r._onDidOptionChange.fire(e),!e&&r.fixFocusOnOptionClickEnabled&&r.inputBox.focus(),r.validate()}))),r.caseSensitive=r._register(new de({appendTitle:s,isChecked:!1,inputActiveOptionBorder:r.inputActiveOptionBorder,inputActiveOptionBackground:r.inputActiveOptionBackground})),r._register(r.caseSensitive.onChange((function(e){r._onDidOptionChange.fire(e),!e&&r.fixFocusOnOptionClickEnabled&&r.inputBox.focus(),r.validate()}))),r._register(r.caseSensitive.onKeyDown((function(e){r._onCaseSensitiveKeyDown.fire(e)}))),r._showOptionButtons&&(r.inputBox.paddingRight=r.caseSensitive.width()+r.wholeWords.width()+r.regex.width());var p=[r.caseSensitive.domNode,r.wholeWords.domNode,r.regex.domNode];r.onkeydown(r.domNode,(function(e){if(e.equals(15)||e.equals(17)||e.equals(9)){var t=p.indexOf(document.activeElement);if(t>=0){var n=-1;e.equals(17)?n=(t+1)%p.length:e.equals(15)&&(n=0===t?p.length-1:t-1),e.equals(9)?p[t].blur():n>=0&&p[n].focus(),$.c.stop(e,!0)}}}));var f=document.createElement("div");return f.className="controls",f.style.display=r._showOptionButtons?"block":"none",f.appendChild(r.caseSensitive.domNode),f.appendChild(r.wholeWords.domNode),f.appendChild(r.regex.domNode),r.domNode.appendChild(f),t&&t.appendChild(r.domNode),r.onkeydown(r.inputBox.inputElement,(function(e){return r._onKeyDown.fire(e)})),r.onkeyup(r.inputBox.inputElement,(function(e){return r._onKeyUp.fire(e)})),r.oninput(r.inputBox.inputElement,(function(e){return r._onInput.fire()})),r.onmousedown(r.inputBox.inputElement,(function(e){return r._onMouseDown.fire(e)})),r}return Oe(t,e),t.prototype.enable=function(){$.P(this.domNode,"disabled"),this.inputBox.enable(),this.regex.enable(),this.wholeWords.enable(),this.caseSensitive.enable()},t.prototype.disable=function(){$.f(this.domNode,"disabled"),this.inputBox.disable(),this.regex.disable(),this.wholeWords.disable(),this.caseSensitive.disable()},t.prototype.setFocusInputOnOptionClick=function(e){this.fixFocusOnOptionClickEnabled=e},t.prototype.setEnabled=function(e){e?this.enable():this.disable()},t.prototype.getValue=function(){return this.inputBox.value},t.prototype.setValue=function(e){this.inputBox.value!==e&&(this.inputBox.value=e)},t.prototype.style=function(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()},t.prototype.applyStyles=function(){if(this.domNode){var e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionBackground:this.inputActiveOptionBackground};this.regex.style(e),this.wholeWords.style(e),this.caseSensitive.style(e);var t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}},t.prototype.select=function(){this.inputBox.select()},t.prototype.focus=function(){this.inputBox.focus()},t.prototype.getCaseSensitive=function(){return this.caseSensitive.checked},t.prototype.setCaseSensitive=function(e){this.caseSensitive.checked=e},t.prototype.getWholeWords=function(){return this.wholeWords.checked},t.prototype.setWholeWords=function(e){this.wholeWords.checked=e},t.prototype.getRegex=function(){return this.regex.checked},t.prototype.setRegex=function(e){this.regex.checked=e,this.validate()},t.prototype.focusOnCaseSensitive=function(){this.caseSensitive.focus()},t.prototype.highlightFindOptions=function(){$.P(this.domNode,"highlight-"+this._lastHighlightFindOptions),this._lastHighlightFindOptions=1-this._lastHighlightFindOptions,$.f(this.domNode,"highlight-"+this._lastHighlightFindOptions)},t.prototype.validate=function(){this.inputBox.validate()},t.prototype.clearMessage=function(){this.inputBox.hideMessage()},t}(ee.a),xe=n("nrhi"),Ne=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),ke=i.a("defaultLabel","input"),Ee=i.a("label.preserveCaseCheckbox","Preserve Case"),Ie=function(e){function t(t){return e.call(this,{actionClassName:"codicon-preserve-case",title:Ee+t.appendTitle,isChecked:t.isChecked,inputActiveOptionBorder:t.inputActiveOptionBorder,inputActiveOptionBackground:t.inputActiveOptionBackground})||this}return Ne(t,e),t}(se),Me=function(e){function t(t,n,i,o){var r=e.call(this)||this;r._showOptionButtons=i,r.fixFocusOnOptionClickEnabled=!0,r.cachedOptionsWidth=0,r._onDidOptionChange=r._register(new ne.a),r.onDidOptionChange=r._onDidOptionChange.event,r._onKeyDown=r._register(new ne.a),r.onKeyDown=r._onKeyDown.event,r._onMouseDown=r._register(new ne.a),r._onInput=r._register(new ne.a),r._onKeyUp=r._register(new ne.a),r._onPreserveCaseKeyDown=r._register(new ne.a),r.onPreserveCaseKeyDown=r._onPreserveCaseKeyDown.event,r.contextViewProvider=n,r.placeholder=o.placeholder||"",r.validation=o.validation,r.label=o.label||ke,r.inputActiveOptionBorder=o.inputActiveOptionBorder,r.inputActiveOptionBackground=o.inputActiveOptionBackground,r.inputBackground=o.inputBackground,r.inputForeground=o.inputForeground,r.inputBorder=o.inputBorder,r.inputValidationInfoBorder=o.inputValidationInfoBorder,r.inputValidationInfoBackground=o.inputValidationInfoBackground,r.inputValidationInfoForeground=o.inputValidationInfoForeground,r.inputValidationWarningBorder=o.inputValidationWarningBorder,r.inputValidationWarningBackground=o.inputValidationWarningBackground,r.inputValidationWarningForeground=o.inputValidationWarningForeground,r.inputValidationErrorBorder=o.inputValidationErrorBorder,r.inputValidationErrorBackground=o.inputValidationErrorBackground,r.inputValidationErrorForeground=o.inputValidationErrorForeground;var s=o.history||[],a=!!o.flexibleHeight,u=!!o.flexibleWidth,l=o.flexibleMaxHeight;r.domNode=document.createElement("div"),$.f(r.domNode,"monaco-findInput"),r.inputBox=r._register(new Se.a(r.domNode,r.contextViewProvider,{ariaLabel:r.label||"",placeholder:r.placeholder||"",validationOptions:{validation:r.validation},inputBackground:r.inputBackground,inputForeground:r.inputForeground,inputBorder:r.inputBorder,inputValidationInfoBackground:r.inputValidationInfoBackground,inputValidationInfoForeground:r.inputValidationInfoForeground,inputValidationInfoBorder:r.inputValidationInfoBorder,inputValidationWarningBackground:r.inputValidationWarningBackground,inputValidationWarningForeground:r.inputValidationWarningForeground,inputValidationWarningBorder:r.inputValidationWarningBorder,inputValidationErrorBackground:r.inputValidationErrorBackground,inputValidationErrorForeground:r.inputValidationErrorForeground,inputValidationErrorBorder:r.inputValidationErrorBorder,history:s,flexibleHeight:a,flexibleWidth:u,flexibleMaxHeight:l})),r.preserveCase=r._register(new Ie({appendTitle:"",isChecked:!1,inputActiveOptionBorder:r.inputActiveOptionBorder,inputActiveOptionBackground:r.inputActiveOptionBackground})),r._register(r.preserveCase.onChange((function(e){r._onDidOptionChange.fire(e),!e&&r.fixFocusOnOptionClickEnabled&&r.inputBox.focus(),r.validate()}))),r._register(r.preserveCase.onKeyDown((function(e){r._onPreserveCaseKeyDown.fire(e)}))),r._showOptionButtons?r.cachedOptionsWidth=r.preserveCase.width():r.cachedOptionsWidth=0;var c=[r.preserveCase.domNode];r.onkeydown(r.domNode,(function(e){if(e.equals(15)||e.equals(17)||e.equals(9)){var t=c.indexOf(document.activeElement);if(t>=0){var n=-1;e.equals(17)?n=(t+1)%c.length:e.equals(15)&&(n=0===t?c.length-1:t-1),e.equals(9)?c[t].blur():n>=0&&c[n].focus(),$.c.stop(e,!0)}}}));var d=document.createElement("div");return d.className="controls",d.style.display=r._showOptionButtons?"block":"none",d.appendChild(r.preserveCase.domNode),r.domNode.appendChild(d),t&&t.appendChild(r.domNode),r.onkeydown(r.inputBox.inputElement,(function(e){return r._onKeyDown.fire(e)})),r.onkeyup(r.inputBox.inputElement,(function(e){return r._onKeyUp.fire(e)})),r.oninput(r.inputBox.inputElement,(function(e){return r._onInput.fire()})),r.onmousedown(r.inputBox.inputElement,(function(e){return r._onMouseDown.fire(e)})),r}return Ne(t,e),t.prototype.enable=function(){$.P(this.domNode,"disabled"),this.inputBox.enable(),this.preserveCase.enable()},t.prototype.disable=function(){$.f(this.domNode,"disabled"),this.inputBox.disable(),this.preserveCase.disable()},t.prototype.setEnabled=function(e){e?this.enable():this.disable()},t.prototype.style=function(e){this.inputActiveOptionBorder=e.inputActiveOptionBorder,this.inputActiveOptionBackground=e.inputActiveOptionBackground,this.inputBackground=e.inputBackground,this.inputForeground=e.inputForeground,this.inputBorder=e.inputBorder,this.inputValidationInfoBackground=e.inputValidationInfoBackground,this.inputValidationInfoForeground=e.inputValidationInfoForeground,this.inputValidationInfoBorder=e.inputValidationInfoBorder,this.inputValidationWarningBackground=e.inputValidationWarningBackground,this.inputValidationWarningForeground=e.inputValidationWarningForeground,this.inputValidationWarningBorder=e.inputValidationWarningBorder,this.inputValidationErrorBackground=e.inputValidationErrorBackground,this.inputValidationErrorForeground=e.inputValidationErrorForeground,this.inputValidationErrorBorder=e.inputValidationErrorBorder,this.applyStyles()},t.prototype.applyStyles=function(){if(this.domNode){var e={inputActiveOptionBorder:this.inputActiveOptionBorder,inputActiveOptionBackground:this.inputActiveOptionBackground};this.preserveCase.style(e);var t={inputBackground:this.inputBackground,inputForeground:this.inputForeground,inputBorder:this.inputBorder,inputValidationInfoBackground:this.inputValidationInfoBackground,inputValidationInfoForeground:this.inputValidationInfoForeground,inputValidationInfoBorder:this.inputValidationInfoBorder,inputValidationWarningBackground:this.inputValidationWarningBackground,inputValidationWarningForeground:this.inputValidationWarningForeground,inputValidationWarningBorder:this.inputValidationWarningBorder,inputValidationErrorBackground:this.inputValidationErrorBackground,inputValidationErrorForeground:this.inputValidationErrorForeground,inputValidationErrorBorder:this.inputValidationErrorBorder};this.inputBox.style(t)}},t.prototype.select=function(){this.inputBox.select()},t.prototype.focus=function(){this.inputBox.focus()},t.prototype.getPreserveCase=function(){return this.preserveCase.checked},t.prototype.setPreserveCase=function(e){this.preserveCase.checked=e},t.prototype.focusOnPreserve=function(){this.preserveCase.focus()},t.prototype.validate=function(){this.inputBox&&this.inputBox.validate()},Object.defineProperty(t.prototype,"width",{set:function(e){this.inputBox.paddingRight=this.cachedOptionsWidth,this.inputBox.width=e,this.domNode.style.width=e+"px"},enumerable:!0,configurable:!0}),t.prototype.dispose=function(){e.prototype.dispose.call(this)},t}(ee.a),Te=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Pe=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},Re=function(e,t){return function(n,i){t(n,i,e)}};function Ae(e,t){return e.getContext(document.activeElement).getValue(t)}function Fe(e,t){var n=function(e,t){return e.createScoped(t.target)}(e,t);return function(e,t,n){new k.d(n,t).bindTo(e)}(n,t,"historyNavigationWidget"),{scopedContextKeyService:n,historyNavigationEnablement:new k.d("historyNavigationEnabled",!0).bindTo(n)}}var je=function(e){function t(t,n,i,o,r){void 0===r&&(r=!1);var s=e.call(this,t,n,r,i)||this;return s._register(Fe(o,{target:s.inputBox.element,historyNavigator:s.inputBox}).scopedContextKeyService),s}return Te(t,e),t=Pe([Re(3,k.c)],t)}(De),We=function(e){function t(t,n,i,o,r){void 0===r&&(r=!1);var s=e.call(this,t,n,r,i)||this;return s._register(Fe(o,{target:s.inputBox.element,historyNavigator:s.inputBox}).scopedContextKeyService),s}return Te(t,e),t=Pe([Re(3,k.c)],t)}(Me);xe.a.registerCommandAndKeybindingRule({id:"history.showPrevious",weight:200,when:k.a.and(k.a.has("historyNavigationWidget"),k.a.equals("historyNavigationEnabled",!0)),primary:16,secondary:[528],handler:function(e,t){var n=Ae(e.get(k.c),"historyNavigationWidget");n&&n.historyNavigator.showPreviousValue()}}),xe.a.registerCommandAndKeybindingRule({id:"history.showNext",weight:200,when:k.a.and(k.a.has("historyNavigationWidget"),k.a.equals("historyNavigationEnabled",!0)),primary:18,secondary:[530],handler:function(e,t){var n=Ae(e.get(k.c),"historyNavigationWidget");n&&n.historyNavigator.showNextValue()}});var Ve=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),Be=i.a("label.find","Find"),He=i.a("placeholder.find","Find"),ze=i.a("label.previousMatchButton","Previous match"),Ue=i.a("label.nextMatchButton","Next match"),Ke=i.a("label.toggleSelectionFind","Find in selection"),qe=i.a("label.closeButton","Close"),Ge=i.a("label.replace","Replace"),Ye=i.a("placeholder.replace","Replace"),Ze=i.a("label.replaceButton","Replace"),Xe=i.a("label.replaceAllButton","Replace All"),Qe=i.a("label.toggleReplaceButton","Toggle Replace mode"),Je=i.a("title.matchesCountLimit","Only the first {0} results are highlighted, but all find operations work on the entire text.",19999),$e=i.a("label.matchesLocation","{0} of {1}"),et=i.a("label.noResults","No Results"),tt=69,nt=we.e?256:2048,it=function(e){this.afterLineNumber=e,this.heightInPx=33,this.suppressMouseDown=!1,this.domNode=document.createElement("div"),this.domNode.className="dock-find-viewzone"};function ot(e,t,n){var i=!!t.match(/\n/);n&&i&&n.selectionStart>0&&e.stopPropagation()}function rt(e,t,n){var i=!!t.match(/\n/);n&&i&&n.selectionEnd0&&0===this._state.matchesCount;$.Y(this._domNode,"no-results",t),this._updateMatchesCount(),this._updateButtons()}(e.searchString||e.currentMatch)&&this._layoutViewZone(),e.updateHistory&&this._delayedUpdateHistory()},t.prototype._delayedUpdateHistory=function(){this._updateHistoryDelayer.trigger(this._updateHistory.bind(this))},t.prototype._updateHistory=function(){this._state.searchString&&this._findInput.inputBox.addToHistory(),this._state.replaceString&&this._replaceInput.inputBox.addToHistory()},t.prototype._updateMatchesCount=function(){var e;if(this._matchesCount.style.minWidth=tt+"px",this._state.matchesCount>=19999?this._matchesCount.title=Je:this._matchesCount.title="",this._matchesCount.firstChild&&this._matchesCount.removeChild(this._matchesCount.firstChild),this._state.matchesCount>0){var t=String(this._state.matchesCount);this._state.matchesCount>=19999&&(t+="+");var n=String(this._state.matchesPosition);"0"===n&&(n="?"),e=s.r($e,n,t)}else e=et;this._matchesCount.appendChild(document.createTextNode(e)),Object(be.a)(this._getAriaLabel(e,this._state.currentMatch,this._state.searchString),!0),tt=Math.max(tt,this._matchesCount.clientWidth)},t.prototype._getAriaLabel=function(e,t,n){return e===et?""===n?i.a("ariaSearchNoResultEmpty","{0} found",e):i.a("ariaSearchNoResult","{0} found for {1}",e,n):t?i.a("ariaSearchNoResultWithLineNum","{0} found for {1} at {2}",e,n,t.startLineNumber+":"+t.startColumn):i.a("ariaSearchNoResultWithLineNumNoCurrentMatch","{0} found for {1}",e,n)},t.prototype._updateToggleSelectionFindButton=function(){var e=this._codeEditor.getSelection(),t=!!e&&(e.startLineNumber!==e.endLineNumber||e.startColumn!==e.endColumn),n=this._toggleSelectionFind.checked;this._isVisible&&(n||t)?this._toggleSelectionFind.enable():this._toggleSelectionFind.disable()},t.prototype._updateButtons=function(){this._findInput.setEnabled(this._isVisible),this._replaceInput.setEnabled(this._isVisible&&this._isReplaceVisible),this._updateToggleSelectionFindButton(),this._closeBtn.setEnabled(this._isVisible);var e=this._state.searchString.length>0,t=!!this._state.matchesCount;this._prevBtn.setEnabled(this._isVisible&&e&&t),this._nextBtn.setEnabled(this._isVisible&&e&&t),this._replaceBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),this._replaceAllBtn.setEnabled(this._isVisible&&this._isReplaceVisible&&e),$.Y(this._domNode,"replaceToggled",this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-right",!this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-down",this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible);var n=!this._codeEditor.getOption(68);this._toggleReplaceBtn.setEnabled(this._isVisible&&n)},t.prototype._reveal=function(){var e=this;if(!this._isVisible){this._isVisible=!0;var t=this._codeEditor.getSelection();switch(this._codeEditor.getOption(28).autoFindInSelection){case"always":this._toggleSelectionFind.checked=!0;break;case"never":this._toggleSelectionFind.checked=!1;break;case"multiline":var n=!!t&&t.startLineNumber!==t.endLineNumber;this._toggleSelectionFind.checked=n}this._tryUpdateWidgetWidth(),this._updateButtons(),setTimeout((function(){$.f(e._domNode,"visible"),e._domNode.setAttribute("aria-hidden","false")}),0),setTimeout((function(){e._findInput.validate()}),200),this._codeEditor.layoutOverlayWidget(this);var i=!0;if(this._codeEditor.getOption(28).seedSearchStringFromSelection&&t){var o=this._codeEditor.getDomNode();if(o){var r=$.C(o),s=this._codeEditor.getScrolledVisiblePosition(t.getStartPosition()),a=r.left+(s?s.left:0),u=s?s.top:0;if(this._viewZone&&ut.startLineNumber&&(i=!1);var l=$.F(this._domNode).left;a>l&&(i=!1);var c=this._codeEditor.getScrolledVisiblePosition(t.getEndPosition());r.left+(c?c.left:0)>l&&(i=!1)}}}this._showViewZone(i)}},t.prototype._hide=function(e){this._isVisible&&(this._isVisible=!1,this._updateButtons(),$.P(this._domNode,"visible"),this._domNode.setAttribute("aria-hidden","true"),this._findInput.clearMessage(),e&&this._codeEditor.focus(),this._codeEditor.layoutOverlayWidget(this),this._removeViewZone())},t.prototype._layoutViewZone=function(){var e=this;if(this._codeEditor.getOption(28).addExtraSpaceOnTop){if(this._isVisible){var t=this._viewZone;void 0===this._viewZoneId&&t&&this._codeEditor.changeViewZones((function(n){t.heightInPx=e._getHeight(),e._viewZoneId=n.addZone(t),e._codeEditor.setScrollTop(e._codeEditor.getScrollTop()+t.heightInPx)}))}}else this._removeViewZone()},t.prototype._showViewZone=function(e){var t=this;if((void 0===e&&(e=!0),this._isVisible)&&this._codeEditor.getOption(28).addExtraSpaceOnTop){void 0===this._viewZone&&(this._viewZone=new it(0));var n=this._viewZone;this._codeEditor.changeViewZones((function(i){if(void 0!==t._viewZoneId){var o=t._getHeight();if(o===n.heightInPx)return;var r=o-n.heightInPx;return n.heightInPx=o,i.layoutZone(t._viewZoneId),void(e&&t._codeEditor.setScrollTop(t._codeEditor.getScrollTop()+r))}r=t._getHeight();n.heightInPx=r,t._viewZoneId=i.addZone(n),e&&t._codeEditor.setScrollTop(t._codeEditor.getScrollTop()+r)}))}},t.prototype._removeViewZone=function(){var e=this;this._codeEditor.changeViewZones((function(t){void 0!==e._viewZoneId&&(t.removeZone(e._viewZoneId),e._viewZoneId=void 0,e._viewZone&&(e._codeEditor.setScrollTop(e._codeEditor.getScrollTop()-e._viewZone.heightInPx),e._viewZone=void 0))}))},t.prototype._applyTheme=function(e){var t={inputActiveOptionBorder:e.getColor(m.Y),inputActiveOptionBackground:e.getColor(m.X),inputBackground:e.getColor(m.Z),inputForeground:e.getColor(m.bb),inputBorder:e.getColor(m.ab),inputValidationInfoBackground:e.getColor(m.fb),inputValidationInfoForeground:e.getColor(m.hb),inputValidationInfoBorder:e.getColor(m.gb),inputValidationWarningBackground:e.getColor(m.ib),inputValidationWarningForeground:e.getColor(m.kb),inputValidationWarningBorder:e.getColor(m.jb),inputValidationErrorBackground:e.getColor(m.cb),inputValidationErrorForeground:e.getColor(m.eb),inputValidationErrorBorder:e.getColor(m.db)};this._findInput.style(t),this._replaceInput.style(t),this._toggleSelectionFind.style(t)},t.prototype._tryUpdateWidgetWidth=function(){if(this._isVisible&&$.M(this._domNode)){var e=this._codeEditor.getLayoutInfo();if(e.contentWidth<=0)$.f(this._domNode,"hiddenEditor");else{$.I(this._domNode,"hiddenEditor")&&$.P(this._domNode,"hiddenEditor");var t=e.width,n=e.minimapWidth,i=!1,o=!1,r=!1;if(this._resized)if($.H(this._domNode)>419)return this._domNode.style.maxWidth=t-28-n-15+"px",void(this._replaceInput.width=$.H(this._findInput.domNode));if(447+n>=t&&(o=!0),447+n-tt>=t&&(r=!0),447+n-tt>=t+50&&(i=!0),$.Y(this._domNode,"collapsed-find-widget",i),$.Y(this._domNode,"narrow-find-widget",r),$.Y(this._domNode,"reduced-find-widget",o),r||i||(this._domNode.style.maxWidth=t-28-n-15+"px"),this._resized){this._findInput.inputBox.layout();var s=this._findInput.inputBox.element.clientWidth;s>0&&(this._replaceInput.width=s)}else this._isReplaceVisible&&(this._replaceInput.width=$.H(this._findInput.domNode))}}},t.prototype._getHeight=function(){var e=0;return e+=4,e+=this._findInput.inputBox.height+2,this._isReplaceVisible&&(e+=4,e+=this._replaceInput.inputBox.height+2),e+=4},t.prototype._tryUpdateHeight=function(){var e=this._getHeight();return(null===this._cachedHeight||this._cachedHeight!==e)&&(this._cachedHeight=e,this._domNode.style.height=e+"px",!0)},t.prototype.focusFindInput=function(){this._findInput.select(),this._findInput.focus()},t.prototype.focusReplaceInput=function(){this._replaceInput.select(),this._replaceInput.focus()},t.prototype.highlightFindOptions=function(){this._findInput.highlightFindOptions()},t.prototype._updateSearchScope=function(){if(this._codeEditor.hasModel()&&this._toggleSelectionFind.checked){var e=this._codeEditor.getSelection();1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._codeEditor.getModel().getLineMaxColumn(e.endLineNumber-1)));var t=this._state.currentMatch;e.startLineNumber!==e.endLineNumber&&(d.a.equalsRange(e,t)||this._state.change({searchScope:e},!0))}},t.prototype._onFindInputMouseDown=function(e){e.middleButton&&e.stopPropagation()},t.prototype._onFindInputKeyDown=function(e){return e.equals(3|nt)?(this._findInput.inputBox.insertAtCursor("\n"),void e.preventDefault()):e.equals(2)?(this._isReplaceVisible?this._replaceInput.focus():this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?ot(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):e.equals(18)?rt(e,this._findInput.getValue(),this._findInput.domNode.querySelector("textarea")):void 0},t.prototype._onReplaceInputKeyDown=function(e){return e.equals(3|nt)?(we.h&&we.f&&!this._ctrlEnterReplaceAllWarningPrompted&&(this._notificationService.info(i.a("ctrlEnter.keybindingChanged","Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.")),this._ctrlEnterReplaceAllWarningPrompted=!0,this._storageService.store("ctrlEnterReplaceAll.windows.donotask",!0,0)),this._replaceInput.inputBox.insertAtCursor("\n"),void e.preventDefault()):e.equals(2)?(this._findInput.focusOnCaseSensitive(),void e.preventDefault()):e.equals(1026)?(this._findInput.focus(),void e.preventDefault()):e.equals(2066)?(this._codeEditor.focus(),void e.preventDefault()):e.equals(16)?ot(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):e.equals(18)?rt(e,this._replaceInput.inputBox.value,this._replaceInput.inputBox.element.querySelector("textarea")):void 0},t.prototype.getHorizontalSashTop=function(e){return 0},t.prototype.getHorizontalSashLeft=function(e){return 0},t.prototype.getHorizontalSashWidth=function(e){return 500},t.prototype._keybindingLabelFor=function(e){var t=this._keybindingService.lookupKeybinding(e);return t?" ("+t.getLabel()+")":""},t.prototype._buildDomNode=function(){var e=this;this._findInput=this._register(new je(null,this._contextViewProvider,{width:221,label:Be,placeholder:He,appendCaseSensitiveLabel:this._keybindingLabelFor(K),appendWholeWordsLabel:this._keybindingLabelFor(q),appendRegexLabel:this._keybindingLabelFor(G),validation:function(t){if(0===t.length||!e._findInput.getRegex())return null;try{return new RegExp(t),null}catch(e){return{content:e.message}}},flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._findInput.setRegex(!!this._state.isRegex),this._findInput.setCaseSensitive(!!this._state.matchCase),this._findInput.setWholeWords(!!this._state.wholeWord),this._register(this._findInput.onKeyDown((function(t){return e._onFindInputKeyDown(t)}))),this._register(this._findInput.inputBox.onDidChange((function(){e._ignoreChangeEvent||e._state.change({searchString:e._findInput.getValue()},!0)}))),this._register(this._findInput.onDidOptionChange((function(){e._state.change({isRegex:e._findInput.getRegex(),wholeWord:e._findInput.getWholeWords(),matchCase:e._findInput.getCaseSensitive()},!0)}))),this._register(this._findInput.onCaseSensitiveKeyDown((function(t){t.equals(1026)&&e._isReplaceVisible&&(e._replaceInput.focus(),t.preventDefault())}))),this._register(this._findInput.onRegexKeyDown((function(t){t.equals(2)&&e._isReplaceVisible&&(e._replaceInput.focusOnPreserve(),t.preventDefault())}))),this._register(this._findInput.inputBox.onDidHeightChange((function(t){e._tryUpdateHeight()&&e._showViewZone()}))),we.d&&this._register(this._findInput.onMouseDown((function(t){return e._onFindInputMouseDown(t)}))),this._matchesCount=document.createElement("div"),this._matchesCount.className="matchesCount",this._updateMatchesCount(),this._prevBtn=this._register(new at({label:ze+this._keybindingLabelFor(V),className:"codicon codicon-arrow-up",onTrigger:function(){e._codeEditor.getAction(V).run().then(void 0,Ce.e)}})),this._nextBtn=this._register(new at({label:Ue+this._keybindingLabelFor(W),className:"codicon codicon-arrow-down",onTrigger:function(){e._codeEditor.getAction(W).run().then(void 0,Ce.e)}}));var t=document.createElement("div");t.className="find-part",t.appendChild(this._findInput.domNode);var n=document.createElement("div");n.className="find-actions",t.appendChild(n),n.appendChild(this._matchesCount),n.appendChild(this._prevBtn.domNode),n.appendChild(this._nextBtn.domNode),this._toggleSelectionFind=this._register(new se({actionClassName:"codicon codicon-selection",title:Ke+this._keybindingLabelFor(Y),isChecked:!1})),this._register(this._toggleSelectionFind.onChange((function(){if(e._toggleSelectionFind.checked){if(e._codeEditor.hasModel()){var t=e._codeEditor.getSelection();1===t.endColumn&&t.endLineNumber>t.startLineNumber&&(t=t.setEndPosition(t.endLineNumber-1,e._codeEditor.getModel().getLineMaxColumn(t.endLineNumber-1))),t.isEmpty()||e._state.change({searchScope:t},!0)}}else e._state.change({searchScope:null},!0)}))),n.appendChild(this._toggleSelectionFind.domNode),this._closeBtn=this._register(new at({label:qe+this._keybindingLabelFor(U),className:"codicon codicon-close",onTrigger:function(){e._state.change({isRevealed:!1,searchScope:null},!1)},onKeyDown:function(t){t.equals(2)&&e._isReplaceVisible&&(e._replaceBtn.isEnabled()?e._replaceBtn.focus():e._codeEditor.focus(),t.preventDefault())}})),n.appendChild(this._closeBtn.domNode),this._replaceInput=this._register(new We(null,void 0,{label:Ge,placeholder:Ye,history:[],flexibleHeight:!0,flexibleWidth:!0,flexibleMaxHeight:118},this._contextKeyService,!0)),this._replaceInput.setPreserveCase(!!this._state.preserveCase),this._register(this._replaceInput.onKeyDown((function(t){return e._onReplaceInputKeyDown(t)}))),this._register(this._replaceInput.inputBox.onDidChange((function(){e._state.change({replaceString:e._replaceInput.inputBox.value},!1)}))),this._register(this._replaceInput.inputBox.onDidHeightChange((function(t){e._isReplaceVisible&&e._tryUpdateHeight()&&e._showViewZone()}))),this._register(this._replaceInput.onDidOptionChange((function(){e._state.change({preserveCase:e._replaceInput.getPreserveCase()},!0)}))),this._register(this._replaceInput.onPreserveCaseKeyDown((function(t){t.equals(2)&&(e._prevBtn.isEnabled()?e._prevBtn.focus():e._nextBtn.isEnabled()?e._nextBtn.focus():e._toggleSelectionFind.enabled?e._toggleSelectionFind.focus():e._closeBtn.isEnabled()&&e._closeBtn.focus(),t.preventDefault())}))),this._replaceBtn=this._register(new at({label:Ze+this._keybindingLabelFor(Z),className:"codicon codicon-replace",onTrigger:function(){e._controller.replace()},onKeyDown:function(t){t.equals(1026)&&(e._closeBtn.focus(),t.preventDefault())}})),this._replaceAllBtn=this._register(new at({label:Xe+this._keybindingLabelFor(X),className:"codicon codicon-replace-all",onTrigger:function(){e._controller.replaceAll()}}));var i=document.createElement("div");i.className="replace-part",i.appendChild(this._replaceInput.domNode);var o=document.createElement("div");o.className="replace-actions",i.appendChild(o),o.appendChild(this._replaceBtn.domNode),o.appendChild(this._replaceAllBtn.domNode),this._toggleReplaceBtn=this._register(new at({label:Qe,className:"codicon toggle left",onTrigger:function(){e._state.change({isReplaceRevealed:!e._isReplaceVisible},!1),e._isReplaceVisible&&(e._replaceInput.width=$.H(e._findInput.domNode),e._replaceInput.inputBox.layout()),e._showViewZone()}})),this._toggleReplaceBtn.toggleClass("codicon-chevron-down",this._isReplaceVisible),this._toggleReplaceBtn.toggleClass("codicon-chevron-right",!this._isReplaceVisible),this._toggleReplaceBtn.setExpanded(this._isReplaceVisible),this._domNode=document.createElement("div"),this._domNode.className="editor-widget find-widget",this._domNode.setAttribute("aria-hidden","true"),this._domNode.style.width="419px",this._domNode.appendChild(this._toggleReplaceBtn.domNode),this._domNode.appendChild(t),this._domNode.appendChild(i),this._resizeSash=new ye.a(this._domNode,this,{orientation:0}),this._resized=!1;var r=419;this._register(this._resizeSash.onDidStart((function(){r=$.H(e._domNode)}))),this._register(this._resizeSash.onDidChange((function(t){e._resized=!0;var n=r+t.startX-t.currentX;n<419||(n>(parseFloat($.z(e._domNode).maxWidth)||0)||(e._domNode.style.width=n+"px",e._isReplaceVisible&&(e._replaceInput.width=$.H(e._findInput.domNode)),e._findInput.inputBox.layout(),e._tryUpdateHeight()))}))),this._register(this._resizeSash.onDidReset((function(){var t=$.H(e._domNode);if(!(t<419)){var n=419;if(!e._resized||419===t){var i=e._codeEditor.getLayoutInfo();n=i.width-28-i.minimapWidth-15,e._resized=!0}e._domNode.style.width=n+"px",e._isReplaceVisible&&(e._replaceInput.width=$.H(e._findInput.domNode)),e._findInput.inputBox.layout()}})))},t.prototype.updateAccessibilitySupport=function(){var e=this._codeEditor.getOption(2);this._findInput.setFocusInputOnOptionClick(2!==e)},t.ID="editor.contrib.findWidget",t}(ee.a),at=function(e){function t(t){var n=e.call(this)||this;return n._opts=t,n._domNode=document.createElement("div"),n._domNode.title=n._opts.label,n._domNode.tabIndex=0,n._domNode.className="button "+n._opts.className,n._domNode.setAttribute("role","button"),n._domNode.setAttribute("aria-label",n._opts.label),n.onclick(n._domNode,(function(e){n._opts.onTrigger(),e.preventDefault()})),n.onkeydown(n._domNode,(function(e){if(e.equals(10)||e.equals(3))return n._opts.onTrigger(),void e.preventDefault();n._opts.onKeyDown&&n._opts.onKeyDown(e)})),n}return Ve(t,e),Object.defineProperty(t.prototype,"domNode",{get:function(){return this._domNode},enumerable:!0,configurable:!0}),t.prototype.isEnabled=function(){return this._domNode.tabIndex>=0},t.prototype.focus=function(){this._domNode.focus()},t.prototype.setEnabled=function(e){$.Y(this._domNode,"disabled",!e),this._domNode.setAttribute("aria-disabled",String(!e)),this._domNode.tabIndex=e?0:-1},t.prototype.setExpanded=function(e){this._domNode.setAttribute("aria-expanded",String(!!e))},t.prototype.toggleClass=function(e,t){$.Y(this._domNode,e,t)},t}(ee.a);Object(v.e)((function(e,t){var n=function(e,n){n&&t.addRule(".monaco-editor "+e+" { background-color: "+n+"; }")};n(".findMatch",e.getColor(m.t)),n(".currentFindMatch",e.getColor(m.r)),n(".findScope",e.getColor(m.v)),n(".find-widget",e.getColor(m.Q));var i=e.getColor(m.hc);i&&t.addRule(".monaco-editor .find-widget { box-shadow: 0 2px 8px "+i+"; }");var o=e.getColor(m.u);o&&t.addRule(".monaco-editor .findMatch { border: 1px "+("hc"===e.type?"dotted":"solid")+" "+o+"; box-sizing: border-box; }");var r=e.getColor(m.s);r&&t.addRule(".monaco-editor .currentFindMatch { border: 2px solid "+r+"; padding: 1px; box-sizing: border-box; }");var s=e.getColor(m.w);s&&t.addRule(".monaco-editor .findScope { border: 1px "+("hc"===e.type?"dashed":"solid")+" "+s+"; }");var a=e.getColor(m.e);a&&t.addRule(".monaco-editor .find-widget { border: 1px solid "+a+"; }");var u=e.getColor(m.S);u&&t.addRule(".monaco-editor .find-widget { color: "+u+"; }");var l=e.getColor(m.U);l&&t.addRule(".monaco-editor .find-widget.no-results .matchesCount { color: "+l+"; }");var c=e.getColor(m.T);if(c)t.addRule(".monaco-editor .find-widget .monaco-sash { background-color: "+c+"; width: 3px !important; margin-left: -4px;}");else{var d=e.getColor(m.R);d&&t.addRule(".monaco-editor .find-widget .monaco-sash { background-color: "+d+"; width: 3px !important; margin-left: -4px;}")}var h=e.getColor(m.V);h&&t.addRule(".monaco-editor .find-widget .monaco-inputbox.synthetic-focus { outline-color: "+h+"; }")}));var ut=n("9XeP"),lt=n("Uzvx"),ct=n("Cg/j"),dt=n("bexQ"),ht=n("A+jI"),pt=n("sM1p"),ft=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),gt=function(e,t,n,i){var o,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},mt=function(e,t){return function(n,i){t(n,i,e)}};function vt(e){if(!e.hasModel())return null;var t=e.getSelection();if(t.startLineNumber===t.endLineNumber)if(t.isEmpty()){var n=e.getModel().getWordAtPosition(t.getStartPosition());if(n)return n.word}else if(e.getModel().getValueLengthInRange(t)<524288)return e.getModel().getValueInRange(t);return null}var _t=function(e){function t(t,n,i,r){var s=e.call(this)||this;return s._editor=t,s._findWidgetVisible=E.bindTo(n),s._contextKeyService=n,s._storageService=i,s._clipboardService=r,s._updateHistoryDelayer=new o.a(500),s._state=s._register(new _e),s.loadQueryState(),s._register(s._state.onFindReplaceStateChange((function(e){return s._onStateChanged(e)}))),s._model=null,s._register(s._editor.onDidChangeModel((function(){var e=s._editor.getModel()&&s._state.isRevealed;s.disposeModel(),s._state.change({searchScope:null,matchCase:s._storageService.getBoolean("editor.matchCase",1,!1),wholeWord:s._storageService.getBoolean("editor.wholeWord",1,!1),isRegex:s._storageService.getBoolean("editor.isRegex",1,!1),preserveCase:s._storageService.getBoolean("editor.preserveCase",1,!1)},!1),e&&s._start({forceRevealReplace:!1,seedSearchStringFromSelection:!1,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!1,updateSearchScope:!1})}))),s}return ft(t,e),t.get=function(e){return e.getContribution(t.ID)},t.prototype.dispose=function(){this.disposeModel(),e.prototype.dispose.call(this)},t.prototype.disposeModel=function(){this._model&&(this._model.dispose(),this._model=null)},t.prototype._onStateChanged=function(e){this.saveQueryState(e),e.isRevealed&&(this._state.isRevealed?this._findWidgetVisible.set(!0):(this._findWidgetVisible.reset(),this.disposeModel())),e.searchString&&this.setGlobalBufferTerm(this._state.searchString)},t.prototype.saveQueryState=function(e){e.isRegex&&this._storageService.store("editor.isRegex",this._state.actualIsRegex,1),e.wholeWord&&this._storageService.store("editor.wholeWord",this._state.actualWholeWord,1),e.matchCase&&this._storageService.store("editor.matchCase",this._state.actualMatchCase,1),e.preserveCase&&this._storageService.store("editor.preserveCase",this._state.actualPreserveCase,1)},t.prototype.loadQueryState=function(){this._state.change({matchCase:this._storageService.getBoolean("editor.matchCase",1,this._state.matchCase),wholeWord:this._storageService.getBoolean("editor.wholeWord",1,this._state.wholeWord),isRegex:this._storageService.getBoolean("editor.isRegex",1,this._state.isRegex),preserveCase:this._storageService.getBoolean("editor.preserveCase",1,this._state.preserveCase)},!1)},t.prototype.isFindInputFocused=function(){return!!I.getValue(this._contextKeyService)},t.prototype.getState=function(){return this._state},t.prototype.closeFindWidget=function(){this._state.change({isRevealed:!1,searchScope:null},!1),this._editor.focus()},t.prototype.toggleCaseSensitive=function(){this._state.change({matchCase:!this._state.matchCase},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleWholeWords=function(){this._state.change({wholeWord:!this._state.wholeWord},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleRegex=function(){this._state.change({isRegex:!this._state.isRegex},!1),this._state.isRevealed||this.highlightFindOptions()},t.prototype.toggleSearchScope=function(){if(this._state.searchScope)this._state.change({searchScope:null},!0);else if(this._editor.hasModel()){var e=this._editor.getSelection();1===e.endColumn&&e.endLineNumber>e.startLineNumber&&(e=e.setEndPosition(e.endLineNumber-1,this._editor.getModel().getLineMaxColumn(e.endLineNumber-1))),e.isEmpty()||this._state.change({searchScope:e},!0)}},t.prototype.setSearchString=function(e){this._state.isRegex&&(e=s.p(e)),this._state.change({searchString:e},!1)},t.prototype.highlightFindOptions=function(){},t.prototype._start=function(e){if(this.disposeModel(),this._editor.hasModel()){var t,n={isRevealed:!0};if(e.seedSearchStringFromSelection)(t=vt(this._editor))&&(this._state.isRegex?n.searchString=s.p(t):n.searchString=t);if(!n.searchString&&e.seedSearchStringFromGlobalClipboard)(t=this.getGlobalBufferTerm())&&(n.searchString=t);if(e.forceRevealReplace?n.isReplaceRevealed=!0:this._findWidgetVisible.get()||(n.isReplaceRevealed=!1),e.updateSearchScope){var i=this._editor.getSelection();i.isEmpty()||(n.searchScope=i)}this._state.change(n,!1),this._model||(this._model=new J(this._editor,this._state))}},t.prototype.start=function(e){this._start(e)},t.prototype.moveToNextMatch=function(){return!!this._model&&(this._model.moveToNextMatch(),!0)},t.prototype.moveToPrevMatch=function(){return!!this._model&&(this._model.moveToPrevMatch(),!0)},t.prototype.replace=function(){return!!this._model&&(this._model.replace(),!0)},t.prototype.replaceAll=function(){return!!this._model&&(this._model.replaceAll(),!0)},t.prototype.selectAllMatches=function(){return!!this._model&&(this._model.selectAllMatches(),this._editor.focus(),!0)},t.prototype.getGlobalBufferTerm=function(){return this._editor.getOption(28).globalFindClipboard&&this._clipboardService&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()?this._clipboardService.readFindText():""},t.prototype.setGlobalBufferTerm=function(e){this._editor.getOption(28).globalFindClipboard&&this._clipboardService&&this._editor.hasModel()&&!this._editor.getModel().isTooLargeForSyncing()&&this._clipboardService.writeFindText(e)},t.ID="editor.contrib.findController",t=gt([mt(1,k.c),mt(2,ht.a),mt(3,ut.a)],t)}(r.a),bt=function(e){function t(t,n,i,o,r,s,a,u){var l=e.call(this,t,i,a,u)||this;return l._contextViewService=n,l._keybindingService=o,l._themeService=r,l._notificationService=s,l._widget=null,l._findOptionsWidget=null,l}return ft(t,e),t.prototype._start=function(t){this._widget||this._createFindWidget();var n=this._editor.getSelection(),i=!1;switch(this._editor.getOption(28).autoFindInSelection){case"always":i=!0;break;case"never":i=!1;break;case"multiline":i=!!n&&n.startLineNumber!==n.endLineNumber}t.updateSearchScope=i,e.prototype._start.call(this,t),2===t.shouldFocus?this._widget.focusReplaceInput():1===t.shouldFocus&&this._widget.focusFindInput()},t.prototype.highlightFindOptions=function(){this._widget||this._createFindWidget(),this._state.isRevealed?this._widget.highlightFindOptions():this._findOptionsWidget.highlightFindOptions()},t.prototype._createFindWidget=function(){this._widget=this._register(new st(this._editor,this,this._state,this._contextViewService,this._keybindingService,this._contextKeyService,this._themeService,this._storageService,this._notificationService)),this._findOptionsWidget=this._register(new ge(this._editor,this._state,this._keybindingService,this._themeService))},t=gt([mt(1,lt.b),mt(2,k.c),mt(3,dt.a),mt(4,v.c),mt(5,pt.a),mt(6,ht.a),mt(7,Object(ct.d)(ut.a))],t)}(_t),yt=function(e){function t(){return e.call(this,{id:F,label:i.a("startFindAction","Find"),alias:"Find",precondition:void 0,kbOpts:{kbExpr:null,primary:2084,weight:100},menuOpts:{menuId:17,group:"3_find",title:i.a({key:"miFind",comment:["&& denotes a mnemonic"]},"&&Find"),order:1}})||this}return ft(t,e),t.prototype.run=function(e,t){var n=_t.get(t);n&&n.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:t.getOption(28).globalFindClipboard,shouldFocus:1,shouldAnimate:!0,updateSearchScope:!1})},t}(a.b),Ct=function(e){function t(){return e.call(this,{id:j,label:i.a("startFindWithSelectionAction","Find With Selection"),alias:"Find With Selection",precondition:void 0,kbOpts:{kbExpr:null,primary:0,mac:{primary:2083},weight:100}})||this}return ft(t,e),t.prototype.run=function(e,t){var n=_t.get(t);n&&(n.start({forceRevealReplace:!1,seedSearchStringFromSelection:!0,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),n.setGlobalBufferTerm(n.getState().searchString))},t}(a.b),wt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ft(t,e),t.prototype.run=function(e,t){var n=_t.get(t);n&&!this._run(n)&&(n.start({forceRevealReplace:!1,seedSearchStringFromSelection:0===n.getState().searchString.length&&t.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!0,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),this._run(n))},t}(a.b),St=function(e){function t(){return e.call(this,{id:W,label:i.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:u.a.focus,primary:61,mac:{primary:2085,secondary:[61]},weight:100}})||this}return ft(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(wt),Ot=function(e){function t(){return e.call(this,{id:W,label:i.a("findNextMatchAction","Find Next"),alias:"Find Next",precondition:void 0,kbOpts:{kbExpr:k.a.and(u.a.focus,I),primary:3,weight:100}})||this}return ft(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(wt),Lt=function(e){function t(){return e.call(this,{id:V,label:i.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:u.a.focus,primary:1085,mac:{primary:3109,secondary:[1085]},weight:100}})||this}return ft(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(wt),Dt=function(e){function t(){return e.call(this,{id:V,label:i.a("findPreviousMatchAction","Find Previous"),alias:"Find Previous",precondition:void 0,kbOpts:{kbExpr:k.a.and(u.a.focus,I),primary:1027,weight:100}})||this}return ft(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(wt),xt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return ft(t,e),t.prototype.run=function(e,t){var n=_t.get(t);if(n){var i=vt(t);i&&n.setSearchString(i),this._run(n)||(n.start({forceRevealReplace:!1,seedSearchStringFromSelection:t.getOption(28).seedSearchStringFromSelection,seedSearchStringFromGlobalClipboard:!1,shouldFocus:0,shouldAnimate:!0,updateSearchScope:!1}),this._run(n))}},t}(a.b),Nt=function(e){function t(){return e.call(this,{id:B,label:i.a("nextSelectionMatchFindAction","Find Next Selection"),alias:"Find Next Selection",precondition:void 0,kbOpts:{kbExpr:u.a.focus,primary:2109,weight:100}})||this}return ft(t,e),t.prototype._run=function(e){return e.moveToNextMatch()},t}(xt),kt=function(e){function t(){return e.call(this,{id:H,label:i.a("previousSelectionMatchFindAction","Find Previous Selection"),alias:"Find Previous Selection",precondition:void 0,kbOpts:{kbExpr:u.a.focus,primary:3133,weight:100}})||this}return ft(t,e),t.prototype._run=function(e){return e.moveToPrevMatch()},t}(xt),Et=function(e){function t(){return e.call(this,{id:z,label:i.a("startReplace","Replace"),alias:"Replace",precondition:void 0,kbOpts:{kbExpr:null,primary:2086,mac:{primary:2596},weight:100},menuOpts:{menuId:17,group:"3_find",title:i.a({key:"miReplace",comment:["&& denotes a mnemonic"]},"&&Replace"),order:2}})||this}return ft(t,e),t.prototype.run=function(e,t){if(t.hasModel()&&!t.getOption(68)){var n=_t.get(t),i=t.getSelection(),o=n.isFindInputFocused(),r=!i.isEmpty()&&i.startLineNumber===i.endLineNumber&&t.getOption(28).seedSearchStringFromSelection&&!o,s=o||r?2:1;n&&n.start({forceRevealReplace:!0,seedSearchStringFromSelection:r,seedSearchStringFromGlobalClipboard:t.getOption(28).seedSearchStringFromSelection,shouldFocus:s,shouldAnimate:!0,updateSearchScope:!1})}},t}(a.b);Object(a.h)(_t.ID,bt),Object(a.f)(yt),Object(a.f)(Ct),Object(a.f)(St),Object(a.f)(Ot),Object(a.f)(Lt),Object(a.f)(Dt),Object(a.f)(Nt),Object(a.f)(kt),Object(a.f)(Et);var It=a.c.bindToContribution(_t.get);Object(a.g)(new It({id:U,precondition:E,handler:function(e){return e.closeFindWidget()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:9,secondary:[1033]}})),Object(a.g)(new It({id:K,precondition:void 0,handler:function(e){return e.toggleCaseSensitive()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:T.primary,mac:T.mac,win:T.win,linux:T.linux}})),Object(a.g)(new It({id:q,precondition:void 0,handler:function(e){return e.toggleWholeWords()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:P.primary,mac:P.mac,win:P.win,linux:P.linux}})),Object(a.g)(new It({id:G,precondition:void 0,handler:function(e){return e.toggleRegex()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:R.primary,mac:R.mac,win:R.win,linux:R.linux}})),Object(a.g)(new It({id:Y,precondition:void 0,handler:function(e){return e.toggleSearchScope()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:A.primary,mac:A.mac,win:A.win,linux:A.linux}})),Object(a.g)(new It({id:Z,precondition:E,handler:function(e){return e.replace()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:3094}})),Object(a.g)(new It({id:Z,precondition:E,handler:function(e){return e.replace()},kbOpts:{weight:105,kbExpr:k.a.and(u.a.focus,M),primary:3}})),Object(a.g)(new It({id:X,precondition:E,handler:function(e){return e.replaceAll()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:2563}})),Object(a.g)(new It({id:X,precondition:E,handler:function(e){return e.replaceAll()},kbOpts:{weight:105,kbExpr:k.a.and(u.a.focus,M),primary:void 0,mac:{primary:2051}}})),Object(a.g)(new It({id:Q,precondition:E,handler:function(e){return e.selectAllMatches()},kbOpts:{weight:105,kbExpr:u.a.focus,primary:515}}))},oiKk: @@ -2402,7 +2402,7 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/position.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/markersDecorationService.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/services/modeService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/link/goToDefinitionAtPosition.js */ @@ -2426,7 +2426,7 @@ /*! exports provided: QuickOpenController, BaseEditorQuickOpenAction */ /*! exports used: BaseEditorQuickOpenAction */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/browser.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dnd.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoError/gotoError.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dnd.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/dom.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/keyboardEvent.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/browser/mouseEvent.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ @@ -2447,10 +2447,10 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/strings.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/base/common/types.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/browser/editorExtensions.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/nls.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/styler.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/styler.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/themeService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return Oe}));n("qH2V");var i,o=n("sswD"),r=n("tX9W"),s=n("EffR"),a=(n("UsjR"),n("3/fG")),u=n("MNsG"),l=n("746U"),c=function(){function e(e){this.modelProvider=Object(l.g)(e.getModel)?e:{getModel:function(){return e}}}return e.prototype.getId=function(e,t){if(!t)return null;var n=this.modelProvider.getModel();return n===t?"__root__":n.dataSource.getId(t)},e.prototype.hasChildren=function(e,t){var n=this.modelProvider.getModel();return!!(n&&n===t&&n.entries.length>0)},e.prototype.getChildren=function(e,t){var n=this.modelProvider.getModel();return Promise.resolve(n===t?n.entries:[])},e.prototype.getParent=function(e,t){return Promise.resolve(null)},e}(),d=function(){function e(e){this.modelProvider=e}return e.prototype.getAriaLabel=function(e,t){var n=this.modelProvider.getModel();return n.accessibilityProvider?n.accessibilityProvider.getAriaLabel(t):null},e.prototype.getPosInSet=function(e,t){var n=this.modelProvider.getModel(),i=0;if(n.filter)for(var o=0,r=n.entries;o=0;t--){var n=this._arr[t];if(e.toChord().equals(n.keybinding))return n.callback}return null},e}(),_=function(){function e(e){var t=this;void 0===e&&(e={clickBehavior:0,keyboardSupport:!0,openMode:0}),this.options=e,this.downKeyBindingDispatcher=new v,this.upKeyBindingDispatcher=new v,("boolean"!=typeof e.keyboardSupport||e.keyboardSupport)&&(this.downKeyBindingDispatcher.set(16,(function(e,n){return t.onUp(e,n)})),this.downKeyBindingDispatcher.set(18,(function(e,n){return t.onDown(e,n)})),this.downKeyBindingDispatcher.set(15,(function(e,n){return t.onLeft(e,n)})),this.downKeyBindingDispatcher.set(17,(function(e,n){return t.onRight(e,n)})),u.e&&(this.downKeyBindingDispatcher.set(2064,(function(e,n){return t.onLeft(e,n)})),this.downKeyBindingDispatcher.set(300,(function(e,n){return t.onDown(e,n)})),this.downKeyBindingDispatcher.set(302,(function(e,n){return t.onUp(e,n)}))),this.downKeyBindingDispatcher.set(11,(function(e,n){return t.onPageUp(e,n)})),this.downKeyBindingDispatcher.set(12,(function(e,n){return t.onPageDown(e,n)})),this.downKeyBindingDispatcher.set(14,(function(e,n){return t.onHome(e,n)})),this.downKeyBindingDispatcher.set(13,(function(e,n){return t.onEnd(e,n)})),this.downKeyBindingDispatcher.set(10,(function(e,n){return t.onSpace(e,n)})),this.downKeyBindingDispatcher.set(9,(function(e,n){return t.onEscape(e,n)})),this.upKeyBindingDispatcher.set(3,this.onEnter.bind(this)),this.upKeyBindingDispatcher.set(2051,this.onEnter.bind(this)))}return e.prototype.onMouseDown=function(e,t,n,i){if(void 0===i&&(i="mouse"),0===this.options.clickBehavior&&(n.leftButton||n.middleButton)){if(n.target){if(n.target.tagName&&"input"===n.target.tagName.toLowerCase())return!1;if(s.x(n.target,"scrollbar","monaco-tree"))return!1;if(s.x(n.target,"monaco-action-bar","row"))return!1}return this.onLeftClick(e,t,n,i)}return!1},e.prototype.onClick=function(e,t,n){return u.e&&n.ctrlKey?(n.preventDefault(),n.stopPropagation(),!1):(!n.target||!n.target.tagName||"input"!==n.target.tagName.toLowerCase())&&((0!==this.options.clickBehavior||!n.leftButton&&!n.middleButton)&&this.onLeftClick(e,t,n))},e.prototype.onLeftClick=function(e,t,n,i){void 0===i&&(i="mouse");var o=n,r={origin:i,originalEvent:n,didClickOnTwistie:this.isClickOnTwistie(o)};e.getInput()===t?(e.clearFocus(r),e.clearSelection(r)):(n&&o.browserEvent&&"mousedown"===o.browserEvent.type&&1===o.browserEvent.detail||n.preventDefault(),n.stopPropagation(),e.domFocus(),e.setSelection([t],r),e.setFocus(t,r),this.shouldToggleExpansion(t,o,i)&&(e.isExpanded(t)?e.collapse(t).then(void 0,g.e):e.expand(t).then(void 0,g.e)));return!0},e.prototype.shouldToggleExpansion=function(e,t,n){var i="mouse"===n&&2===t.detail;return this.openOnSingleClick||i||this.isClickOnTwistie(t)},Object.defineProperty(e.prototype,"openOnSingleClick",{get:function(){return 0===this.options.openMode},enumerable:!0,configurable:!0}),e.prototype.isClickOnTwistie=function(e){var t=e.target;if(!s.I(t,"content"))return!1;var n=window.getComputedStyle(t,":before");if("none"===n.backgroundImage||"none"===n.display)return!1;var i=parseInt(n.width)+parseInt(n.paddingRight);return e.browserEvent.offsetX<=i},e.prototype.onContextMenu=function(e,t,n){return n.target&&n.target.tagName&&"input"===n.target.tagName.toLowerCase()||n&&(n.preventDefault(),n.stopPropagation()),!1},e.prototype.onTap=function(e,t,n){var i=n.initialTarget;return(!i||!i.tagName||"input"!==i.tagName.toLowerCase())&&this.onLeftClick(e,t,n,"touch")},e.prototype.onKeyDown=function(e,t){return this.onKey(this.downKeyBindingDispatcher,e,t)},e.prototype.onKeyUp=function(e,t){return this.onKey(this.upKeyBindingDispatcher,e,t)},e.prototype.onKey=function(e,t,n){var i=e.dispatch(n.toKeybinding());return!(!i||!i(t,n))&&(n.preventDefault(),n.stopPropagation(),!0)},e.prototype.onUp=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusPrevious(1,n),e.reveal(e.getFocus()).then(void 0,g.e)),!0},e.prototype.onPageUp=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusPreviousPage(n),e.reveal(e.getFocus()).then(void 0,g.e)),!0},e.prototype.onDown=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusNext(1,n),e.reveal(e.getFocus()).then(void 0,g.e)),!0},e.prototype.onPageDown=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusNextPage(n),e.reveal(e.getFocus()).then(void 0,g.e)),!0},e.prototype.onHome=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusFirst(n),e.reveal(e.getFocus()).then(void 0,g.e)),!0},e.prototype.onEnd=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?e.clearHighlight(n):(e.focusLast(n),e.reveal(e.getFocus()).then(void 0,g.e)),!0},e.prototype.onLeft=function(e,t){var n={origin:"keyboard",originalEvent:t};if(e.getHighlight())e.clearHighlight(n);else{var i=e.getFocus();e.collapse(i).then((function(t){if(i&&!t)return e.focusParent(n),e.reveal(e.getFocus())})).then(void 0,g.e)}return!0},e.prototype.onRight=function(e,t){var n={origin:"keyboard",originalEvent:t};if(e.getHighlight())e.clearHighlight(n);else{var i=e.getFocus();e.expand(i).then((function(t){if(i&&!t)return e.focusFirstChild(n),e.reveal(e.getFocus())})).then(void 0,g.e)}return!0},e.prototype.onEnter=function(e,t){var n={origin:"keyboard",originalEvent:t};if(e.getHighlight())return!1;var i=e.getFocus();return i&&e.setSelection([i],n),!0},e.prototype.onSpace=function(e,t){if(e.getHighlight())return!1;var n=e.getFocus();return n&&e.toggleExpansion(n),!0},e.prototype.onEscape=function(e,t){var n={origin:"keyboard",originalEvent:t};return e.getHighlight()?(e.clearHighlight(n),!0):e.getSelection().length?(e.clearSelection(n),!0):!!e.getFocus()&&(e.clearFocus(n),!0)},e}(),b=function(){function e(){}return e.prototype.getDragURI=function(e,t){return null},e.prototype.onDragStart=function(e,t,n){},e.prototype.onDragOver=function(e,t,n,i){return null},e.prototype.drop=function(e,t,n,i){},e}(),y=function(){function e(){}return e.prototype.isVisible=function(e,t){return!0},e}(),C=function(){function e(){}return e.prototype.getAriaLabel=function(e,t){return null},e}(),w=function(){function e(e,t){this.styleElement=e,this.selectorSuffix=t}return e.prototype.style=function(e){var t=this.selectorSuffix?"."+this.selectorSuffix:"",n=[];e.listFocusBackground&&n.push(".monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.focused:not(.highlighted) { background-color: "+e.listFocusBackground+"; }"),e.listFocusForeground&&n.push(".monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.focused:not(.highlighted) { color: "+e.listFocusForeground+"; }"),e.listActiveSelectionBackground&&n.push(".monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { background-color: "+e.listActiveSelectionBackground+"; }"),e.listActiveSelectionForeground&&n.push(".monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { color: "+e.listActiveSelectionForeground+"; }"),e.listFocusAndSelectionBackground&&n.push("\n\t\t\t\t.monaco-tree-drag-image,\n\t\t\t\t.monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.focused.selected:not(.highlighted) { background-color: "+e.listFocusAndSelectionBackground+"; }\n\t\t\t"),e.listFocusAndSelectionForeground&&n.push("\n\t\t\t\t.monaco-tree-drag-image,\n\t\t\t\t.monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.focused.selected:not(.highlighted) { color: "+e.listFocusAndSelectionForeground+"; }\n\t\t\t"),e.listInactiveSelectionBackground&&n.push(".monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { background-color: "+e.listInactiveSelectionBackground+"; }"),e.listInactiveSelectionForeground&&n.push(".monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) { color: "+e.listInactiveSelectionForeground+"; }"),e.listHoverBackground&&n.push(".monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row:hover:not(.highlighted):not(.selected):not(.focused) { background-color: "+e.listHoverBackground+"; }"),e.listHoverForeground&&n.push(".monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row:hover:not(.highlighted):not(.selected):not(.focused) { color: "+e.listHoverForeground+"; }"),e.listDropBackground&&n.push("\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-wrapper.drop-target,\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row.drop-target { background-color: "+e.listDropBackground+" !important; color: inherit !important; }\n\t\t\t"),e.listFocusOutline&&n.push("\n\t\t\t\t.monaco-tree-drag-image\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{ border: 1px solid "+e.listFocusOutline+"; background: #000; }\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row \t\t\t\t\t\t\t\t\t\t\t\t\t\t{ border: 1px solid transparent; }\n\t\t\t\t.monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.focused:not(.highlighted) \t\t\t\t\t\t{ border: 1px dotted "+e.listFocusOutline+"; }\n\t\t\t\t.monaco-tree"+t+".focused .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) \t\t\t\t\t\t{ border: 1px solid "+e.listFocusOutline+"; }\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row.selected:not(.highlighted) \t\t\t\t\t\t\t{ border: 1px solid "+e.listFocusOutline+"; }\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row:hover:not(.highlighted):not(.selected):not(.focused) \t{ border: 1px dashed "+e.listFocusOutline+"; }\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-wrapper.drop-target,\n\t\t\t\t.monaco-tree"+t+" .monaco-tree-rows > .monaco-tree-row.drop-target\t\t\t\t\t\t\t\t\t\t\t\t{ border: 1px dashed "+e.listFocusOutline+"; }\n\t\t\t");var i=n.join("\n");i!==this.styleElement.innerHTML&&(this.styleElement.innerHTML=i)},e}(),S=n("FWmy"),O=n("pmY6"),L=n("MI8n"),D=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),x=function(){function e(e){this._onDispose=new L.a,this.onDispose=this._onDispose.event,this._item=e}return Object.defineProperty(e.prototype,"item",{get:function(){return this._item},enumerable:!0,configurable:!0}),e.prototype.dispose=function(){this._onDispose&&(this._onDispose.fire(),this._onDispose.dispose(),this._onDispose=void 0)},e}(),N=function(){function e(){this.locks=Object.create({})}return e.prototype.isLocked=function(e){return!!this.locks[e.id]},e.prototype.run=function(e,t){var n=this,i=this.getLock(e);return new Promise(i?function(o,r){L.b.once(i.onDispose)((function(){return n.run(e,t).then(o,r)}))}:function(i,o){if(e.isDisposed())return o(new Error("Item is disposed."));var r=n.locks[e.id]=new x(e);return t().then((function(t){return delete n.locks[e.id],r.dispose(),t})).then(i,o)})},e.prototype.getLock=function(e){var t;for(t in this.locks){var n=this.locks[t];if(e.intersects(n.item))return n}return null},e}(),k=function(){function e(){this._isDisposed=!1,this._onDidRevealItem=new L.d,this.onDidRevealItem=this._onDidRevealItem.event,this._onExpandItem=new L.d,this.onExpandItem=this._onExpandItem.event,this._onDidExpandItem=new L.d,this.onDidExpandItem=this._onDidExpandItem.event,this._onCollapseItem=new L.d,this.onCollapseItem=this._onCollapseItem.event,this._onDidCollapseItem=new L.d,this.onDidCollapseItem=this._onDidCollapseItem.event,this._onDidAddTraitItem=new L.d,this.onDidAddTraitItem=this._onDidAddTraitItem.event,this._onDidRemoveTraitItem=new L.d,this.onDidRemoveTraitItem=this._onDidRemoveTraitItem.event,this._onDidRefreshItem=new L.d,this.onDidRefreshItem=this._onDidRefreshItem.event,this._onRefreshItemChildren=new L.d,this.onRefreshItemChildren=this._onRefreshItemChildren.event,this._onDidRefreshItemChildren=new L.d,this.onDidRefreshItemChildren=this._onDidRefreshItemChildren.event,this._onDidDisposeItem=new L.d,this.onDidDisposeItem=this._onDidDisposeItem.event,this.items={}}return e.prototype.register=function(e){S.a(!this.isRegistered(e.id),"item already registered: "+e.id);var t=Object(O.e)(this._onDidRevealItem.add(e.onDidReveal),this._onExpandItem.add(e.onExpand),this._onDidExpandItem.add(e.onDidExpand),this._onCollapseItem.add(e.onCollapse),this._onDidCollapseItem.add(e.onDidCollapse),this._onDidAddTraitItem.add(e.onDidAddTrait),this._onDidRemoveTraitItem.add(e.onDidRemoveTrait),this._onDidRefreshItem.add(e.onDidRefresh),this._onRefreshItemChildren.add(e.onRefreshChildren),this._onDidRefreshItemChildren.add(e.onDidRefreshChildren),this._onDidDisposeItem.add(e.onDidDispose));this.items[e.id]={item:e,disposable:t}},e.prototype.deregister=function(e){S.a(this.isRegistered(e.id),"item not registered: "+e.id),this.items[e.id].disposable.dispose(),delete this.items[e.id]},e.prototype.isRegistered=function(e){return this.items.hasOwnProperty(e)},e.prototype.getItem=function(e){var t=this.items[e];return t?t.item:null},e.prototype.dispose=function(){this.items={},this._onDidRevealItem.dispose(),this._onExpandItem.dispose(),this._onDidExpandItem.dispose(),this._onCollapseItem.dispose(),this._onDidCollapseItem.dispose(),this._onDidAddTraitItem.dispose(),this._onDidRemoveTraitItem.dispose(),this._onDidRefreshItem.dispose(),this._onRefreshItemChildren.dispose(),this._onDidRefreshItemChildren.dispose(),this._isDisposed=!0},e.prototype.isDisposed=function(){return this._isDisposed},e}(),E=function(){function e(e,t,n,i,o){this._onDidCreate=new L.a,this._onDidReveal=new L.a,this.onDidReveal=this._onDidReveal.event,this._onExpand=new L.a,this.onExpand=this._onExpand.event,this._onDidExpand=new L.a,this.onDidExpand=this._onDidExpand.event,this._onCollapse=new L.a,this.onCollapse=this._onCollapse.event,this._onDidCollapse=new L.a,this.onDidCollapse=this._onDidCollapse.event,this._onDidAddTrait=new L.a,this.onDidAddTrait=this._onDidAddTrait.event,this._onDidRemoveTrait=new L.a,this.onDidRemoveTrait=this._onDidRemoveTrait.event,this._onDidRefresh=new L.a,this.onDidRefresh=this._onDidRefresh.event,this._onRefreshChildren=new L.a,this.onRefreshChildren=this._onRefreshChildren.event,this._onDidRefreshChildren=new L.a,this.onDidRefreshChildren=this._onDidRefreshChildren.event,this._onDidDispose=new L.a,this.onDidDispose=this._onDidDispose.event,this.registry=t,this.context=n,this.lock=i,this.element=o,this.id=e,this.registry.register(this),this.doesHaveChildren=this.context.dataSource.hasChildren(this.context.tree,this.element),this.needsChildrenRefresh=!0,this.parent=null,this.previous=null,this.next=null,this.firstChild=null,this.lastChild=null,this.traits={},this.depth=0,this.expanded=!(!this.context.dataSource.shouldAutoexpand||!this.context.dataSource.shouldAutoexpand(this.context.tree,o)),this._onDidCreate.fire(this),this.visible=this._isVisible(),this.height=this._getHeight(),this._isDisposed=!1}return e.prototype.getElement=function(){return this.element},e.prototype.hasChildren=function(){return this.doesHaveChildren},e.prototype.getDepth=function(){return this.depth},e.prototype.isVisible=function(){return this.visible},e.prototype.setVisible=function(e){this.visible=e},e.prototype.isExpanded=function(){return this.expanded},e.prototype._setExpanded=function(e){this.expanded=e},e.prototype.reveal=function(e){void 0===e&&(e=null);var t={item:this,relativeTop:e};this._onDidReveal.fire(t)},e.prototype.expand=function(){var e=this;return this.isExpanded()||!this.doesHaveChildren||this.lock.isLocked(this)?Promise.resolve(!1):this.lock.run(this,(function(){if(e.isExpanded()||!e.doesHaveChildren)return Promise.resolve(!1);var t={item:e};return e._onExpand.fire(t),(e.needsChildrenRefresh?e.refreshChildren(!1,!0,!0):Promise.resolve(null)).then((function(){return e._setExpanded(!0),e._onDidExpand.fire(t),!0}))})).then((function(t){return!e.isDisposed()&&(e.context.options.autoExpandSingleChildren&&t&&null!==e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.isVisible()?e.firstChild.expand().then((function(){return!0})):t)}))},e.prototype.collapse=function(e){var t=this;if(void 0===e&&(e=!1),e){var n=Promise.resolve(null);return this.forEachChild((function(e){n=n.then((function(){return e.collapse(!0)}))})),n.then((function(){return t.collapse(!1)}))}return!this.isExpanded()||this.lock.isLocked(this)?Promise.resolve(!1):this.lock.run(this,(function(){var e={item:t};return t._onCollapse.fire(e),t._setExpanded(!1),t._onDidCollapse.fire(e),Promise.resolve(!0)}))},e.prototype.addTrait=function(e){var t={item:this,trait:e};this.traits[e]=!0,this._onDidAddTrait.fire(t)},e.prototype.removeTrait=function(e){var t={item:this,trait:e};delete this.traits[e],this._onDidRemoveTrait.fire(t)},e.prototype.hasTrait=function(e){return this.traits[e]||!1},e.prototype.getAllTraits=function(){var e,t=[];for(e in this.traits)this.traits.hasOwnProperty(e)&&this.traits[e]&&t.push(e);return t},e.prototype.getHeight=function(){return this.height},e.prototype.refreshChildren=function(t,n,i){var o=this;if(void 0===n&&(n=!1),void 0===i&&(i=!1),!i&&!this.isExpanded()){var r=function(e){e.needsChildrenRefresh=!0,e.forEachChild(r)};return r(this),Promise.resolve(this)}this.needsChildrenRefresh=!1;var s=function(){var i={item:o,isNested:n};return o._onRefreshChildren.fire(i),(o.doesHaveChildren?o.context.dataSource.getChildren(o.context.tree,o.element):Promise.resolve([])).then((function(n){if(o.isDisposed()||o.registry.isDisposed())return Promise.resolve(null);if(!Array.isArray(n))return Promise.reject(new Error("Please return an array of children."));n=n?n.slice(0):[],n=o.sort(n);for(var i={};null!==o.firstChild;)i[o.firstChild.id]=o.firstChild,o.removeChild(o.firstChild);for(var r=0,s=n.length;r=0;o--)this.onInsertItem(l[o]);for(o=this.heightMap.length-1;o>=i;o--)this.onRefreshItem(this.heightMap[o]);return a},e.prototype.onInsertItem=function(e){},e.prototype.onRemoveItems=function(e){for(var t,n=null,i=null,o=0,r=0;n=e.next();){if(o=this.indexes[n],!(t=this.heightMap[o]))return void console.error("view item doesnt exist");r-=t.height,delete this.indexes[n],this.onRemoveItem(t),null===i&&(i=o)}if(0!==r&&null!==i)for(this.heightMap.splice(i,o-i+1),o=i;o=n.top+n.height))return t;if(i===t)break;i=t}return this.heightMap.length},e.prototype.indexAfter=function(e){return Math.min(this.indexAt(e)+1,this.heightMap.length)},e.prototype.itemAtIndex=function(e){return this.heightMap[e]},e.prototype.itemAfter=function(e){return this.heightMap[this.indexes[e.model.id]+1]||null},e.prototype.createViewItem=function(e){throw new Error("not implemented")},e.prototype.dispose=function(){this.heightMap=[],this.indexes={}},e}(),q=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),G=function(){function e(e,t,n){this._posx=e,this._posy=t,this._target=n}return e.prototype.preventDefault=function(){},e.prototype.stopPropagation=function(){},Object.defineProperty(e.prototype,"target",{get:function(){return this._target},enumerable:!0,configurable:!0}),e}(),Y=function(e){function t(t){var n=e.call(this,t.posx,t.posy,t.target)||this;return n.originalEvent=t,n}return q(t,e),t.prototype.preventDefault=function(){this.originalEvent.preventDefault()},t.prototype.stopPropagation=function(){this.originalEvent.stopPropagation()},t}(G),Z=function(e){function t(t,n,i){var o=e.call(this,t,n,i.target)||this;return o.originalEvent=i,o}return q(t,e),t.prototype.preventDefault=function(){this.originalEvent.preventDefault()},t.prototype.stopPropagation=function(){this.originalEvent.stopPropagation()},t}(G),X=n("ZQ78"),Q=n("X+cX"),J=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();var $=function(){function e(e){this.context=e,this._cache={"":[]}}return e.prototype.alloc=function(e){var t=this.cache(e).pop();if(!t){var n=document.createElement("div");n.className="content";var i=document.createElement("div");i.appendChild(n);var o=null;try{o=this.context.renderer.renderTemplate(this.context.tree,e,n)}catch(e){console.error("Tree usage error: exception while rendering template"),console.error(e)}t={element:i,templateId:e,templateData:o}}return t},e.prototype.release=function(e,t){!function(e){try{e.parentElement.removeChild(e)}catch(e){}}(t.element),this.cache(e).push(t)},e.prototype.cache=function(e){return this._cache[e]||(this._cache[e]=[])},e.prototype.garbageCollect=function(){var e=this;this._cache&&Object.keys(this._cache).forEach((function(t){e._cache[t].forEach((function(n){e.context.renderer.disposeTemplate(e.context.tree,t,n.templateData),n.element=null,n.templateData=null})),delete e._cache[t]}))},e.prototype.dispose=function(){this.garbageCollect(),this._cache=null},e}(),ee=function(){function e(e,t){var n=this;this.width=0,this.needsRender=!1,this.uri=null,this.unbindDragStart=O.a.None,this._draggable=!1,this.context=e,this.model=t,this.id=this.model.id,this.row=null,this.top=0,this.height=t.getHeight(),this._styles={},t.getAllTraits().forEach((function(e){return n._styles[e]=!0})),t.isExpanded()&&this.addClass("expanded")}return Object.defineProperty(e.prototype,"expanded",{set:function(e){e?this.addClass("expanded"):this.removeClass("expanded")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"loading",{set:function(e){e?this.addClass("codicon-loading"):this.removeClass("codicon-loading")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"draggable",{get:function(){return this._draggable},set:function(e){this._draggable=e,this.render(!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dropTarget",{set:function(e){e?this.addClass("drop-target"):this.removeClass("drop-target")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this.row&&this.row.element},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"templateId",{get:function(){return this._templateId||(this._templateId=this.context.renderer.getTemplateId&&this.context.renderer.getTemplateId(this.context.tree,this.model.getElement()))},enumerable:!0,configurable:!0}),e.prototype.addClass=function(e){this._styles[e]=!0,this.render(!0)},e.prototype.removeClass=function(e){delete this._styles[e],this.render(!0)},e.prototype.render=function(e){var t=this;if(void 0===e&&(e=!1),this.model&&this.element){var n=["monaco-tree-row"];n.push.apply(n,Object.keys(this._styles)),this.model.hasChildren()&&n.push("has-children"),this.element.className=n.join(" "),this.element.draggable=this.draggable,this.element.style.height=this.height+"px",this.element.setAttribute("role","treeitem");var i=this.context.accessibilityProvider,o=i.getAriaLabel(this.context.tree,this.model.getElement());if(o&&this.element.setAttribute("aria-label",o),i.getPosInSet&&i.getSetSize&&(this.element.setAttribute("aria-setsize",i.getSetSize()),this.element.setAttribute("aria-posinset",i.getPosInSet(this.context.tree,this.model.getElement()))),this.model.hasTrait("focused")){var r=F.L(this.model.id);this.element.setAttribute("aria-selected","true"),this.element.setAttribute("id",r)}else this.element.setAttribute("aria-selected","false"),this.element.removeAttribute("id");this.model.hasChildren()?this.element.setAttribute("aria-expanded",String(!!this._styles.expanded)):this.element.removeAttribute("aria-expanded"),this.element.setAttribute("aria-level",String(this.model.getDepth())),this.context.options.paddingOnRow?this.element.style.paddingLeft=this.context.options.twistiePixels+(this.model.getDepth()-1)*this.context.options.indentPixels+"px":(this.element.style.paddingLeft=(this.model.getDepth()-1)*this.context.options.indentPixels+"px",this.row.element.firstElementChild.style.paddingLeft=this.context.options.twistiePixels+"px");var a=this.context.dnd.getDragURI(this.context.tree,this.model.getElement());if(a!==this.uri&&(this.unbindDragStart&&this.unbindDragStart.dispose(),a?(this.uri=a,this.draggable=!0,this.unbindDragStart=s.j(this.element,"dragstart",(function(e){t.onDragStart(e)}))):this.uri=null),!e&&this.element){var u=0;if(this.context.horizontalScrolling){var l=window.getComputedStyle(this.element);u=parseFloat(l.paddingLeft)}this.context.horizontalScrolling&&(this.element.style.width=P.h?"-moz-fit-content":"fit-content");try{this.context.renderer.renderElement(this.context.tree,this.model.getElement(),this.templateId,this.row.templateData)}catch(e){console.error("Tree usage error: exception while rendering element"),console.error(e)}this.context.horizontalScrolling&&(this.width=s.B(this.element)+u,this.element.style.width="")}}},e.prototype.insertInDOM=function(e,t){if(this.row||(this.row=this.context.cache.alloc(this.templateId),this.element[ne.BINDING]=this),!this.element.parentElement){if(null===t)e.appendChild(this.element);else try{e.insertBefore(this.element,t)}catch(t){console.warn("Failed to locate previous tree element"),e.appendChild(this.element)}this.render()}},e.prototype.removeFromDOM=function(){this.row&&(this.unbindDragStart.dispose(),this.uri=null,this.element[ne.BINDING]=null,this.context.cache.release(this.templateId,this.row),this.row=null)},e.prototype.dispose=function(){this.row=null},e}(),te=function(e){function t(t,n,i){var o=e.call(this,t,n)||this;return o.row={element:i,templateData:null,templateId:null},o}return J(t,e),t.prototype.render=function(){if(this.model&&this.element){var e=["monaco-tree-wrapper"];e.push.apply(e,Object.keys(this._styles)),this.model.hasChildren()&&e.push("has-children"),this.element.className=e.join(" ")}},t.prototype.insertInDOM=function(e,t){},t.prototype.removeFromDOM=function(){},t}(ee);var ne=function(e){function t(n,i){var o=e.call(this)||this;o.model=null,o.lastPointerType="",o.lastClickTimeStamp=0,o.contentWidthUpdateDelayer=new Q.a(50),o.isRefreshing=!1,o.refreshingPreviousChildrenIds={},o.currentDragAndDropData=null,o.currentDropTarget=null,o.currentDropTargets=null,o.currentDropDisposable=O.a.None,o.gestureDisposable=O.a.None,o.dragAndDropScrollInterval=null,o.dragAndDropScrollTimeout=null,o.dragAndDropMouseY=null,o.highlightedItemWasDraggable=!1,o.onHiddenScrollTop=null,o._onDOMFocus=new L.a,o.onDOMFocus=o._onDOMFocus.event,o._onDOMBlur=new L.a,o._onDidScroll=new L.a,t.counter++,o.instance=t.counter;var r=void 0===n.options.horizontalScrollMode?2:n.options.horizontalScrollMode;o.horizontalScrolling=2!==r,o.context={dataSource:n.dataSource,renderer:n.renderer,controller:n.controller,dnd:n.dnd,filter:n.filter,sorter:n.sorter,tree:n.tree,accessibilityProvider:n.accessibilityProvider,options:n.options,cache:new $(n),horizontalScrolling:o.horizontalScrolling},o.modelListeners=[],o.viewListeners=[],o.items={},o.domNode=document.createElement("div"),o.domNode.className="monaco-tree no-focused-item monaco-tree-instance-"+o.instance,o.domNode.tabIndex=n.options.preventRootFocus?-1:0,o.styleElement=s.w(o.domNode),o.treeStyler=n.styler||new w(o.styleElement,"monaco-tree-instance-"+o.instance),o.domNode.setAttribute("role","tree"),o.context.options.ariaLabel&&o.domNode.setAttribute("aria-label",o.context.options.ariaLabel),o.context.options.alwaysFocused&&s.f(o.domNode,"focused"),o.context.options.paddingOnRow||s.f(o.domNode,"no-row-padding"),o.wrapper=document.createElement("div"),o.wrapper.className="monaco-tree-wrapper",o.scrollableElement=new U.b(o.wrapper,{alwaysConsumeMouseWheel:!0,horizontal:r,vertical:void 0!==n.options.verticalScrollMode?n.options.verticalScrollMode:1,useShadows:n.options.useShadows}),o.scrollableElement.onScroll((function(e){o.render(e.scrollTop,e.height,e.scrollLeft,e.width,e.scrollWidth),o._onDidScroll.fire()})),P.i?(o.wrapper.style.msTouchAction="none",o.wrapper.style.msContentZooming="none"):o.gestureDisposable=A.b.addTarget(o.wrapper),o.rowsContainer=document.createElement("div"),o.rowsContainer.className="monaco-tree-rows",n.options.showTwistie&&(o.rowsContainer.className+=" show-twisties");var a=s.Z(o.domNode);return o.viewListeners.push(a.onDidFocus((function(){return o.onFocus()}))),o.viewListeners.push(a.onDidBlur((function(){return o.onBlur()}))),o.viewListeners.push(a),o.viewListeners.push(s.j(o.domNode,"keydown",(function(e){return o.onKeyDown(e)}))),o.viewListeners.push(s.j(o.domNode,"keyup",(function(e){return o.onKeyUp(e)}))),o.viewListeners.push(s.j(o.domNode,"mousedown",(function(e){return o.onMouseDown(e)}))),o.viewListeners.push(s.j(o.domNode,"mouseup",(function(e){return o.onMouseUp(e)}))),o.viewListeners.push(s.j(o.wrapper,"auxclick",(function(e){e&&1===e.button&&o.onMouseMiddleClick(e)}))),o.viewListeners.push(s.j(o.wrapper,"click",(function(e){return o.onClick(e)}))),o.viewListeners.push(s.j(o.domNode,"contextmenu",(function(e){return o.onContextMenu(e)}))),o.viewListeners.push(s.j(o.wrapper,A.a.Tap,(function(e){return o.onTap(e)}))),o.viewListeners.push(s.j(o.wrapper,A.a.Change,(function(e){return o.onTouchChange(e)}))),P.i&&(o.viewListeners.push(s.j(o.wrapper,"MSPointerDown",(function(e){return o.onMsPointerDown(e)}))),o.viewListeners.push(s.j(o.wrapper,"MSGestureTap",(function(e){return o.onMsGestureTap(e)}))),o.viewListeners.push(s.m(o.wrapper,"MSGestureChange",(function(e){return o.onThrottledMsGestureChange(e)}),(function(e,t){t.stopPropagation(),t.preventDefault();var n={translationY:t.translationY,translationX:t.translationX};return e&&(n.translationY+=e.translationY,n.translationX+=e.translationX),n})))),o.viewListeners.push(s.j(window,"dragover",(function(e){return o.onDragOver(e)}))),o.viewListeners.push(s.j(o.wrapper,"drop",(function(e){return o.onDrop(e)}))),o.viewListeners.push(s.j(window,"dragend",(function(e){return o.onDragEnd(e)}))),o.viewListeners.push(s.j(window,"dragleave",(function(e){return o.onDragOver(e)}))),o.wrapper.appendChild(o.rowsContainer),o.domNode.appendChild(o.scrollableElement.getDomNode()),i.appendChild(o.domNode),o.lastRenderTop=0,o.lastRenderHeight=0,o.didJustPressContextMenuKey=!1,o.currentDropTarget=null,o.currentDropTargets=[],o.shouldInvalidateDropReaction=!1,o.dragAndDropScrollInterval=null,o.dragAndDropScrollTimeout=null,o.onRowsChanged(),o.layout(),o.setupMSGesture(),o.applyStyles(n.options),o}return J(t,e),t.prototype.applyStyles=function(e){this.treeStyler.style(e)},t.prototype.createViewItem=function(e){return new ee(this.context,e)},t.prototype.getHTMLElement=function(){return this.domNode},t.prototype.focus=function(){this.domNode.focus()},t.prototype.isFocused=function(){return document.activeElement===this.domNode},t.prototype.blur=function(){this.domNode.blur()},t.prototype.setupMSGesture=function(){var e=this;window.MSGesture&&(this.msGesture=new MSGesture,setTimeout((function(){return e.msGesture.target=e.wrapper}),100))},t.prototype.isTreeVisible=function(){return null===this.onHiddenScrollTop},t.prototype.layout=function(e,t){this.isTreeVisible()&&(this.viewHeight=e||s.A(this.wrapper),this.scrollHeight=this.getContentHeight(),this.horizontalScrolling&&(this.viewWidth=t||s.B(this.wrapper)))},t.prototype.render=function(e,t,n,i,o){var r,s,a=e,u=e+t,l=this.lastRenderTop+this.lastRenderHeight;for(r=this.indexAfter(u)-1,s=this.indexAt(Math.max(l,a));r>=s;r--)this.insertItemInDOM(this.itemAtIndex(r));for(r=Math.min(this.indexAt(this.lastRenderTop),this.indexAfter(u))-1,s=this.indexAt(a);r>=s;r--)this.insertItemInDOM(this.itemAtIndex(r));for(r=this.indexAt(this.lastRenderTop),s=Math.min(this.indexAt(a),this.indexAfter(l));r1e3,l=[],c=!1;if(!u)c=(l=new R.a({getElements:function(){return o}},{getElements:function(){return r.map((function(e){return e.id}))}},null).ComputeDiff(!1).changes).some((function(e){if(e.modifiedLength>0)for(var n=e.modifiedStart,i=e.modifiedStart+e.modifiedLength;n0&&this.onRemoveItems(new z.a(o,p.originalStart,p.originalStart+p.originalLength)),p.modifiedLength>0){var f=r[p.modifiedStart-1]||n;f=f.getDepth()>0?f:null,this.onInsertItems(new z.a(r,p.modifiedStart,p.modifiedStart+p.modifiedLength),f?f.id:null)}}else(u||l.length)&&(this.onRemoveItems(new z.a(o)),this.onInsertItems(new z.a(r),n.getDepth()>0?n.id:null));(u||l.length)&&this.onRowsChanged()}},t.prototype.onItemRefresh=function(e){this.onItemsRefresh([e])},t.prototype.onItemsRefresh=function(e){var t=this;this.onRefreshItemSet(e.filter((function(e){return t.items.hasOwnProperty(e.id)}))),this.onRowsChanged()},t.prototype.onItemExpanding=function(e){var t=this.items[e.item.id];t&&(t.expanded=!0)},t.prototype.onItemExpanded=function(e){var t=e.item,n=this.items[t.id];if(n){n.expanded=!0;var i=this.onInsertItems(t.getNavigator(),t.id)||0,o=this.scrollTop;n.top+n.height<=this.scrollTop&&(o+=i),this.onRowsChanged(o)}},t.prototype.onItemCollapsing=function(e){var t=e.item,n=this.items[t.id];n&&(n.expanded=!1,this.onRemoveItems(new z.e(t.getNavigator(),(function(e){return e&&e.id}))),this.onRowsChanged())},t.prototype.onItemReveal=function(e){var t=e.item,n=e.relativeTop,i=this.items[t.id];if(i)if(null!==n){n=(n=n<0?0:n)>1?1:n;var o=i.height-this.viewHeight;this.scrollTop=o*n+i.top}else{var r=i.top+i.height,s=this.scrollTop+this.viewHeight;i.top=s&&(this.scrollTop=r-this.viewHeight)}},t.prototype.onItemAddTrait=function(e){var t=e.item,n=e.trait,i=this.items[t.id];i&&i.addClass(n),"highlighted"===n&&(s.f(this.domNode,n),i&&(this.highlightedItemWasDraggable=!!i.draggable,i.draggable&&(i.draggable=!1)))},t.prototype.onItemRemoveTrait=function(e){var t=e.item,n=e.trait,i=this.items[t.id];i&&i.removeClass(n),"highlighted"===n&&(s.P(this.domNode,n),this.highlightedItemWasDraggable&&(i.draggable=!0),this.highlightedItemWasDraggable=!1)},t.prototype.onModelFocusChange=function(){var e=this.model&&this.model.getFocus();s.Y(this.domNode,"no-focused-item",!e),e?this.domNode.setAttribute("aria-activedescendant",F.L(this.context.dataSource.getId(this.context.tree,e))):this.domNode.removeAttribute("aria-activedescendant")},t.prototype.onInsertItem=function(e){var t=this;e.onDragStart=function(n){t.onDragStart(e,n)},e.needsRender=!0,this.refreshViewItem(e),this.items[e.id]=e},t.prototype.onRefreshItem=function(e,t){void 0===t&&(t=!1),e.needsRender=e.needsRender||t,this.refreshViewItem(e)},t.prototype.onRemoveItem=function(e){this.removeItemFromDOM(e),e.dispose(),delete this.items[e.id]},t.prototype.refreshViewItem=function(e){e.render(),this.shouldBeRendered(e)?this.insertItemInDOM(e):this.removeItemFromDOM(e)},t.prototype.onClick=function(e){if(!this.lastPointerType||"mouse"===this.lastPointerType){var t=new j.b(e),n=this.getItemAround(t.target);n&&(P.i&&Date.now()-this.lastClickTimeStamp<300&&(t.detail=2),this.lastClickTimeStamp=Date.now(),this.context.controller.onClick(this.context.tree,n.model.getElement(),t))}},t.prototype.onMouseMiddleClick=function(e){if(this.context.controller.onMouseMiddleClick){var t=new j.b(e),n=this.getItemAround(t.target);n&&this.context.controller.onMouseMiddleClick(this.context.tree,n.model.getElement(),t)}},t.prototype.onMouseDown=function(e){if(this.didJustPressContextMenuKey=!1,this.context.controller.onMouseDown&&(!this.lastPointerType||"mouse"===this.lastPointerType)){var t=new j.b(e);if(!(t.ctrlKey&&u.f&&u.e)){var n=this.getItemAround(t.target);n&&this.context.controller.onMouseDown(this.context.tree,n.model.getElement(),t)}}},t.prototype.onMouseUp=function(e){if(this.context.controller.onMouseUp&&(!this.lastPointerType||"mouse"===this.lastPointerType)){var t=new j.b(e);if(!(t.ctrlKey&&u.f&&u.e)){var n=this.getItemAround(t.target);n&&this.context.controller.onMouseUp(this.context.tree,n.model.getElement(),t)}}},t.prototype.onTap=function(e){var t=this.getItemAround(e.initialTarget);t&&this.context.controller.onTap(this.context.tree,t.model.getElement(),e)},t.prototype.onTouchChange=function(e){e.preventDefault(),e.stopPropagation(),this.scrollTop-=e.translationY},t.prototype.onContextMenu=function(e){var t,n;if(e instanceof KeyboardEvent||this.didJustPressContextMenuKey){this.didJustPressContextMenuKey=!1;var i=new W.a(e),o=void 0;if(n=this.model.getFocus()){var r=this.context.dataSource.getId(this.context.tree,n),a=this.items[r];o=s.C(a.element)}else n=this.model.getInput(),o=s.C(this.inputItem.element);t=new Z(o.left+o.width,o.top,i)}else{var u=new j.b(e),l=this.getItemAround(u.target);if(!l)return;n=l.model.getElement(),t=new Y(u)}this.context.controller.onContextMenu(this.context.tree,n,t)},t.prototype.onKeyDown=function(e){var t=new W.a(e);this.didJustPressContextMenuKey=58===t.keyCode||t.shiftKey&&68===t.keyCode,t.target&&t.target.tagName&&"input"===t.target.tagName.toLowerCase()||(this.didJustPressContextMenuKey&&(t.preventDefault(),t.stopPropagation()),this.context.controller.onKeyDown(this.context.tree,t))},t.prototype.onKeyUp=function(e){this.didJustPressContextMenuKey&&this.onContextMenu(e),this.didJustPressContextMenuKey=!1,this.context.controller.onKeyUp(this.context.tree,new W.a(e))},t.prototype.onDragStart=function(e,t){if(!this.model.getHighlight()){var n,i=e.model.getElement(),o=this.model.getSelection();if(n=o.indexOf(i)>-1?o:[i],t.dataTransfer.effectAllowed="copyMove",t.dataTransfer.setData(X.a.RESOURCES,JSON.stringify([e.uri])),t.dataTransfer.setDragImage){var r=void 0;r=this.context.dnd.getDragLabel?this.context.dnd.getDragLabel(this.context.tree,n):String(n.length);var s=document.createElement("div");s.className="monaco-tree-drag-image",s.textContent=r,document.body.appendChild(s),t.dataTransfer.setDragImage(s,-10,-10),setTimeout((function(){return document.body.removeChild(s)}),0)}this.currentDragAndDropData=new V(n),X.c.CurrentDragAndDropData=new B(n),this.context.dnd.onDragStart(this.context.tree,this.currentDragAndDropData,new j.a(t))}},t.prototype.setupDragAndDropScrollInterval=function(){var e=this,t=s.F(this.wrapper).top;this.dragAndDropScrollInterval||(this.dragAndDropScrollInterval=window.setInterval((function(){if(null!==e.dragAndDropMouseY){var n=e.dragAndDropMouseY-t,i=0,o=e.viewHeight-35;n<35?i=Math.max(-14,.2*(n-35)):n>o&&(i=Math.min(14,.2*(n-o))),e.scrollTop+=i}}),10),this.cancelDragAndDropScrollTimeout(),this.dragAndDropScrollTimeout=window.setTimeout((function(){e.cancelDragAndDropScrollInterval(),e.dragAndDropScrollTimeout=null}),1e3))},t.prototype.cancelDragAndDropScrollInterval=function(){this.dragAndDropScrollInterval&&(window.clearInterval(this.dragAndDropScrollInterval),this.dragAndDropScrollInterval=null),this.cancelDragAndDropScrollTimeout()},t.prototype.cancelDragAndDropScrollTimeout=function(){this.dragAndDropScrollTimeout&&(window.clearTimeout(this.dragAndDropScrollTimeout),this.dragAndDropScrollTimeout=null)},t.prototype.onDragOver=function(e){var t=this;e.preventDefault();var n,i=new j.a(e),o=this.getItemAround(i.target);if(!o||0===i.posx&&0===i.posy&&i.browserEvent.type===s.d.DRAG_LEAVE)return this.currentDropTarget&&(this.currentDropTargets.forEach((function(e){return e.dropTarget=!1})),this.currentDropTargets=[],this.currentDropDisposable.dispose()),this.cancelDragAndDropScrollInterval(),this.currentDropTarget=null,this.currentDropElement=null,this.dragAndDropMouseY=null,!1;if(this.setupDragAndDropScrollInterval(),this.dragAndDropMouseY=i.posy,!this.currentDragAndDropData)if(X.c.CurrentDragAndDropData)this.currentDragAndDropData=X.c.CurrentDragAndDropData;else{if(!i.dataTransfer.types)return!1;this.currentDragAndDropData=new H}this.currentDragAndDropData.update(i.browserEvent.dataTransfer);var r,a=o.model;do{if(n=a?a.getElement():this.model.getInput(),!(r=this.context.dnd.onDragOver(this.context.tree,this.currentDragAndDropData,n,i))||1!==r.bubble)break;a=a&&a.parent}while(a);if(!a)return this.currentDropElement=null,!1;var u=r&&r.accept;u?(this.currentDropElement=a.getElement(),i.preventDefault(),i.dataTransfer.dropEffect=0===r.effect?"copy":"move"):this.currentDropElement=null;var l,c,d=a.id===this.inputItem.id?this.inputItem:this.items[a.id];if((this.shouldInvalidateDropReaction||this.currentDropTarget!==d||(l=this.currentDropElementReaction,c=r,!(!l&&!c||l&&c&&l.accept===c.accept&&l.bubble===c.bubble&&l.effect===c.effect)))&&(this.shouldInvalidateDropReaction=!1,this.currentDropTarget&&(this.currentDropTargets.forEach((function(e){return e.dropTarget=!1})),this.currentDropTargets=[],this.currentDropDisposable.dispose()),this.currentDropTarget=d,this.currentDropElementReaction=r,u)){if(this.currentDropTarget&&(this.currentDropTarget.dropTarget=!0,this.currentDropTargets.push(this.currentDropTarget)),0===r.bubble)for(var h=a.getNavigator(),p=void 0;p=h.next();)(o=this.items[p.id])&&(o.dropTarget=!0,this.currentDropTargets.push(o));if(r.autoExpand){var f=Object(Q.l)(500);this.currentDropDisposable=O.h((function(){return f.cancel()})),f.then((function(){return t.context.tree.expand(t.currentDropElement)})).then((function(){return t.shouldInvalidateDropReaction=!0}))}}return!0},t.prototype.onDrop=function(e){if(this.currentDropElement){var t=new j.a(e);t.preventDefault(),this.currentDragAndDropData.update(t.browserEvent.dataTransfer),this.context.dnd.drop(this.context.tree,this.currentDragAndDropData,this.currentDropElement,t),this.onDragEnd(e)}this.cancelDragAndDropScrollInterval()},t.prototype.onDragEnd=function(e){this.currentDropTarget&&(this.currentDropTargets.forEach((function(e){return e.dropTarget=!1})),this.currentDropTargets=[]),this.currentDropDisposable.dispose(),this.cancelDragAndDropScrollInterval(),this.currentDragAndDropData=null,X.c.CurrentDragAndDropData=void 0,this.currentDropElement=null,this.currentDropTarget=null,this.dragAndDropMouseY=null},t.prototype.onFocus=function(){this.context.options.alwaysFocused||s.f(this.domNode,"focused"),this._onDOMFocus.fire()},t.prototype.onBlur=function(){this.context.options.alwaysFocused||s.P(this.domNode,"focused"),this.domNode.removeAttribute("aria-activedescendant"),this._onDOMBlur.fire()},t.prototype.onMsPointerDown=function(e){if(this.msGesture){var t=e.pointerType;t!==(e.MSPOINTER_TYPE_MOUSE||"mouse")?t===(e.MSPOINTER_TYPE_TOUCH||"touch")&&(this.lastPointerType="touch",e.stopPropagation(),e.preventDefault(),this.msGesture.addPointer(e.pointerId)):this.lastPointerType="mouse"}},t.prototype.onThrottledMsGestureChange=function(e){this.scrollTop-=e.translationY},t.prototype.onMsGestureTap=function(e){e.initialTarget=document.elementFromPoint(e.clientX,e.clientY),this.onTap(e)},t.prototype.insertItemInDOM=function(e){var t=null,n=this.itemAfter(e);n&&n.element&&(t=n.element),e.insertInDOM(this.rowsContainer,t)},t.prototype.removeItemFromDOM=function(e){e&&e.removeFromDOM()},t.prototype.shouldBeRendered=function(e){return e.topthis.lastRenderTop},t.prototype.getItemAround=function(e){var n=this.inputItem,i=e;do{if(i[t.BINDING]&&(n=i[t.BINDING]),i===this.wrapper||i===this.domNode)return n;if(i===this.scrollableElement.getDomNode()||i===document.body)return}while(i=i.parentElement)},t.prototype.releaseModel=function(){this.model&&(this.modelListeners=O.f(this.modelListeners),this.model=null)},t.prototype.dispose=function(){var t=this;this.scrollableElement.dispose(),this.releaseModel(),this.viewListeners=O.f(this.viewListeners),this._onDOMFocus.dispose(),this._onDOMBlur.dispose(),this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.items&&Object.keys(this.items).forEach((function(e){return t.items[e].removeFromDOM()})),this.context.cache&&this.context.cache.dispose(),this.gestureDisposable.dispose(),e.prototype.dispose.call(this)},t.BINDING="monaco-tree-row",t.LOADING_DECORATION_DELAY=800,t.counter=0,t}(K),ie=n("zrhQ"),oe=n("qj0h"),re=function(e,t,n){if(void 0===n&&(n={}),this.tree=e,this.configuration=t,this.options=n,!t.dataSource)throw new Error("You must provide a Data Source to the tree.");this.dataSource=t.dataSource,this.renderer=t.renderer,this.controller=t.controller||new _({clickBehavior:1,keyboardSupport:"boolean"!=typeof n.keyboardSupport||n.keyboardSupport}),this.dnd=t.dnd||new b,this.filter=t.filter||new y,this.sorter=t.sorter,this.accessibilityProvider=t.accessibilityProvider||new C,this.styler=t.styler},se={listFocusBackground:ie.a.fromHex("#073655"),listActiveSelectionBackground:ie.a.fromHex("#0E639C"),listActiveSelectionForeground:ie.a.fromHex("#FFFFFF"),listFocusAndSelectionBackground:ie.a.fromHex("#094771"),listFocusAndSelectionForeground:ie.a.fromHex("#FFFFFF"),listInactiveSelectionBackground:ie.a.fromHex("#3F3F46"),listHoverBackground:ie.a.fromHex("#2A2D2E"),listDropBackground:ie.a.fromHex("#383B3D")},ae=function(){function e(e,t,n){void 0===n&&(n={}),this._onDidChangeFocus=new L.f,this.onDidChangeFocus=this._onDidChangeFocus.event,this._onDidChangeSelection=new L.f,this.onDidChangeSelection=this._onDidChangeSelection.event,this._onHighlightChange=new L.f,this._onDidExpandItem=new L.f,this._onDidCollapseItem=new L.f,this._onDispose=new L.a,this.onDidDispose=this._onDispose.event,this.container=e,Object(oe.g)(n,se,!1),n.twistiePixels="number"==typeof n.twistiePixels?n.twistiePixels:32,n.showTwistie=!1!==n.showTwistie,n.indentPixels="number"==typeof n.indentPixels?n.indentPixels:12,n.alwaysFocused=!0===n.alwaysFocused,n.useShadows=!1!==n.useShadows,n.paddingOnRow=!1!==n.paddingOnRow,n.showLoading=!1!==n.showLoading,this.context=new re(this,t,n),this.model=new T(this.context),this.view=new ne(this.context,this.container),this.view.setModel(this.model),this._onDidChangeFocus.input=this.model.onDidFocus,this._onDidChangeSelection.input=this.model.onDidSelect,this._onHighlightChange.input=this.model.onDidHighlight,this._onDidExpandItem.input=this.model.onDidExpandItem,this._onDidCollapseItem.input=this.model.onDidCollapseItem}return e.prototype.style=function(e){this.view.applyStyles(e)},Object.defineProperty(e.prototype,"onDidFocus",{get:function(){return this.view.onDOMFocus},enumerable:!0,configurable:!0}),e.prototype.getHTMLElement=function(){return this.view.getHTMLElement()},e.prototype.layout=function(e,t){this.view.layout(e,t)},e.prototype.domFocus=function(){this.view.focus()},e.prototype.isDOMFocused=function(){return this.view.isFocused()},e.prototype.domBlur=function(){this.view.blur()},e.prototype.setInput=function(e){return this.model.setInput(e)},e.prototype.getInput=function(){return this.model.getInput()},e.prototype.expand=function(e){return this.model.expand(e)},e.prototype.collapse=function(e,t){return void 0===t&&(t=!1),this.model.collapse(e,t)},e.prototype.toggleExpansion=function(e,t){return void 0===t&&(t=!1),this.model.toggleExpansion(e,t)},e.prototype.isExpanded=function(e){return this.model.isExpanded(e)},e.prototype.reveal=function(e,t){return void 0===t&&(t=null),this.model.reveal(e,t)},e.prototype.getHighlight=function(){return this.model.getHighlight()},e.prototype.clearHighlight=function(e){this.model.setHighlight(null,e)},e.prototype.setSelection=function(e,t){this.model.setSelection(e,t)},e.prototype.getSelection=function(){return this.model.getSelection()},e.prototype.clearSelection=function(e){this.model.setSelection([],e)},e.prototype.setFocus=function(e,t){this.model.setFocus(e,t)},e.prototype.getFocus=function(){return this.model.getFocus()},e.prototype.focusNext=function(e,t){this.model.focusNext(e,t)},e.prototype.focusPrevious=function(e,t){this.model.focusPrevious(e,t)},e.prototype.focusParent=function(e){this.model.focusParent(e)},e.prototype.focusFirstChild=function(e){this.model.focusFirstChild(e)},e.prototype.focusFirst=function(e,t){this.model.focusFirst(e,t)},e.prototype.focusNth=function(e,t){this.model.focusNth(e,t)},e.prototype.focusLast=function(e,t){this.model.focusLast(e,t)},e.prototype.focusNextPage=function(e){this.view.focusNextPage(e)},e.prototype.focusPreviousPage=function(e){this.view.focusPreviousPage(e)},e.prototype.clearFocus=function(e){this.model.setFocus(null,e)},e.prototype.dispose=function(){this._onDispose.fire(),this.model.dispose(),this.view.dispose(),this._onDidChangeFocus.dispose(),this._onDidChangeSelection.dispose(),this._onHighlightChange.dispose(),this._onDidExpandItem.dispose(),this._onDidCollapseItem.dispose(),this._onDispose.dispose()},e}(),ue=(n("HyZH"),function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}()),le={progressBarBackground:ie.a.fromHex("#0E70C0")},ce=function(e){function t(t,n){var i=e.call(this)||this;return i.options=n||Object.create(null),Object(oe.g)(i.options,le,!1),i.workedVal=0,i.progressBarBackground=i.options.progressBarBackground,i._register(i.showDelayedScheduler=new Q.d((function(){return Object(s.X)(i.element)}),0)),i.create(t),i}return ue(t,e),t.prototype.create=function(e){this.element=document.createElement("div"),Object(s.f)(this.element,"monaco-progress-container"),e.appendChild(this.element),this.bit=document.createElement("div"),Object(s.f)(this.bit,"progress-bit"),this.element.appendChild(this.bit),this.applyStyles()},t.prototype.off=function(){this.bit.style.width="inherit",this.bit.style.opacity="1",Object(s.Q)(this.element,"active","infinite","discrete"),this.workedVal=0,this.totalWork=void 0},t.prototype.stop=function(){return this.doDone(!1)},t.prototype.doDone=function(e){var t=this;return Object(s.f)(this.element,"done"),Object(s.I)(this.element,"infinite")?(this.bit.style.opacity="0",e?setTimeout((function(){return t.off()}),200):this.off()):(this.bit.style.width="inherit",e?setTimeout((function(){return t.off()}),200):this.off()),this},t.prototype.hide=function(){Object(s.J)(this.element),this.showDelayedScheduler.cancel()},t.prototype.style=function(e){this.progressBarBackground=e.progressBarBackground,this.applyStyles()},t.prototype.applyStyles=function(){if(this.bit){var e=this.progressBarBackground?this.progressBarBackground.toString():"";this.bit.style.backgroundColor=e}},t}(O.a),de=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),he=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return de(t,e),t.prototype.onContextMenu=function(t,n,i){return u.e?this.onLeftClick(t,n,i):e.prototype.onContextMenu.call(this,t,n,i)},t}(_),pe={background:ie.a.fromHex("#1E1E1E"),foreground:ie.a.fromHex("#CCCCCC"),pickerGroupForeground:ie.a.fromHex("#0097FB"),pickerGroupBorder:ie.a.fromHex("#3F3F46"),widgetShadow:ie.a.fromHex("#000000"),progressBarBackground:ie.a.fromHex("#0E70C0")},fe=a.a("quickOpenAriaLabel","Quick picker. Type to narrow down results."),ge=function(e){function t(t,n,i){var o=e.call(this)||this;return o.isDisposed=!1,o.container=t,o.callbacks=n,o.options=i,o.styles=i||Object.create(null),Object(oe.g)(o.styles,pe,!1),o.model=null,o}return de(t,e),t.prototype.getModel=function(){return this.model},t.prototype.create=function(){var e=this;this.element=document.createElement("div"),s.f(this.element,"monaco-quick-open-widget"),this.container.appendChild(this.element),this._register(s.j(this.element,s.d.CONTEXT_MENU,(function(e){return s.c.stop(e,!0)}))),this._register(s.j(this.element,s.d.FOCUS,(function(t){return e.gainingFocus()}),!0)),this._register(s.j(this.element,s.d.BLUR,(function(t){return e.loosingFocus(t)}),!0)),this._register(s.j(this.element,s.d.KEY_DOWN,(function(t){var n=new W.a(t);if(9===n.keyCode)s.c.stop(t,!0),e.hide(2);else if(2===n.keyCode&&!n.altKey&&!n.ctrlKey&&!n.metaKey){var i=t.currentTarget.querySelectorAll("input, .monaco-tree, .monaco-tree-row.focused .action-label.icon");n.shiftKey&&n.target===i[0]?(s.c.stop(t,!0),i[i.length-1].focus()):n.shiftKey||n.target!==i[i.length-1]||(s.c.stop(t,!0),i[0].focus())}}))),this.progressBar=this._register(new ce(this.element,{progressBarBackground:this.styles.progressBarBackground})),this.progressBar.hide(),this.inputContainer=document.createElement("div"),s.f(this.inputContainer,"quick-open-input"),this.element.appendChild(this.inputContainer),this.inputBox=this._register(new f.b(this.inputContainer,void 0,{placeholder:this.options.inputPlaceHolder||"",ariaLabel:fe,inputBackground:this.styles.inputBackground,inputForeground:this.styles.inputForeground,inputBorder:this.styles.inputBorder,inputValidationInfoBackground:this.styles.inputValidationInfoBackground,inputValidationInfoForeground:this.styles.inputValidationInfoForeground,inputValidationInfoBorder:this.styles.inputValidationInfoBorder,inputValidationWarningBackground:this.styles.inputValidationWarningBackground,inputValidationWarningForeground:this.styles.inputValidationWarningForeground,inputValidationWarningBorder:this.styles.inputValidationWarningBorder,inputValidationErrorBackground:this.styles.inputValidationErrorBackground,inputValidationErrorForeground:this.styles.inputValidationErrorForeground,inputValidationErrorBorder:this.styles.inputValidationErrorBorder})),this.inputElement=this.inputBox.inputElement,this.inputElement.setAttribute("role","combobox"),this.inputElement.setAttribute("aria-haspopup","false"),this.inputElement.setAttribute("aria-autocomplete","list"),this._register(s.j(this.inputBox.inputElement,s.d.INPUT,(function(t){return e.onType()}))),this._register(s.j(this.inputBox.inputElement,s.d.KEY_DOWN,(function(t){var n=new W.a(t),i=e.shouldOpenInBackground(n);if(2!==n.keyCode)if(18===n.keyCode||16===n.keyCode||12===n.keyCode||11===n.keyCode)s.c.stop(t,!0),e.navigateInTree(n.keyCode,n.shiftKey),e.inputBox.inputElement.selectionStart===e.inputBox.inputElement.selectionEnd&&(e.inputBox.inputElement.selectionStart=e.inputBox.value.length);else if(3===n.keyCode||i){s.c.stop(t,!0);var o=e.tree.getFocus();o&&e.elementSelected(o,t,i?2:1)}}))),this.resultCount=document.createElement("div"),s.f(this.resultCount,"quick-open-result-count"),this.resultCount.setAttribute("aria-live","polite"),this.resultCount.setAttribute("aria-atomic","true"),this.element.appendChild(this.resultCount),this.treeContainer=document.createElement("div"),s.f(this.treeContainer,"quick-open-tree"),this.element.appendChild(this.treeContainer);var t=this.options.treeCreator||function(e,t,n){return new ae(e,t,n)};return this.tree=this._register(t(this.treeContainer,{dataSource:new c(this),controller:new he({clickBehavior:1,keyboardSupport:this.options.keyboardSupport}),renderer:this.renderer=new p(this,this.styles),filter:new h(this),accessibilityProvider:new d(this)},{twistiePixels:11,indentPixels:0,alwaysFocused:!0,verticalScrollMode:3,horizontalScrollMode:2,ariaLabel:a.a("treeAriaLabel","Quick Picker"),keyboardSupport:this.options.keyboardSupport,preventRootFocus:!1})),this.treeElement=this.tree.getHTMLElement(),this._register(this.tree.onDidChangeFocus((function(t){e.elementFocused(t.focus,t)}))),this._register(this.tree.onDidChangeSelection((function(t){if(t.selection&&t.selection.length>0){var n=t.payload&&t.payload.originalEvent instanceof j.b?t.payload.originalEvent:void 0,i=!!n&&e.shouldOpenInBackground(n);e.elementSelected(t.selection[0],t,i?2:1)}}))),this._register(s.j(this.treeContainer,s.d.KEY_DOWN,(function(t){var n=new W.a(t);if(e.quickNavigateConfiguration)if(18===n.keyCode||16===n.keyCode||12===n.keyCode||11===n.keyCode)s.c.stop(t,!0),e.navigateInTree(n.keyCode);else if(3===n.keyCode){s.c.stop(t,!0);var i=e.tree.getFocus();i&&e.elementSelected(i,t)}}))),this._register(s.j(this.treeContainer,s.d.KEY_UP,(function(t){var n=new W.a(t),i=n.keyCode;if(e.quickNavigateConfiguration&&e.quickNavigateConfiguration.keybindings.some((function(e){var t=e.getParts(),o=t[0];return!t[1]&&(o.shiftKey&&4===i?!(n.ctrlKey||n.altKey||n.metaKey):!(!o.altKey||6!==i)||(!(!o.ctrlKey||5!==i)||!(!o.metaKey||57!==i)))}))){var o=e.tree.getFocus();o&&e.elementSelected(o,t)}}))),this.layoutDimensions&&this.layout(this.layoutDimensions),this.applyStyles(),this._register(s.j(this.treeContainer,s.d.KEY_DOWN,(function(t){var n=new W.a(t);e.quickNavigateConfiguration||18!==n.keyCode&&16!==n.keyCode&&12!==n.keyCode&&11!==n.keyCode||(s.c.stop(t,!0),e.navigateInTree(n.keyCode,n.shiftKey),e.treeElement.focus())}))),this.element},t.prototype.style=function(e){this.styles=e,this.applyStyles()},t.prototype.applyStyles=function(){if(this.element){var e=this.styles.foreground?this.styles.foreground.toString():"",t=this.styles.background?this.styles.background.toString():"",n=this.styles.borderColor?this.styles.borderColor.toString():"",i=this.styles.widgetShadow?this.styles.widgetShadow.toString():"";this.element.style.color=e,this.element.style.backgroundColor=t,this.element.style.borderColor=n,this.element.style.borderWidth=n?"1px":"",this.element.style.borderStyle=n?"solid":"",this.element.style.boxShadow=i?"0 5px 8px "+i:""}this.progressBar&&this.progressBar.style({progressBarBackground:this.styles.progressBarBackground}),this.inputBox&&this.inputBox.style({inputBackground:this.styles.inputBackground,inputForeground:this.styles.inputForeground,inputBorder:this.styles.inputBorder,inputValidationInfoBackground:this.styles.inputValidationInfoBackground,inputValidationInfoForeground:this.styles.inputValidationInfoForeground,inputValidationInfoBorder:this.styles.inputValidationInfoBorder,inputValidationWarningBackground:this.styles.inputValidationWarningBackground,inputValidationWarningForeground:this.styles.inputValidationWarningForeground,inputValidationWarningBorder:this.styles.inputValidationWarningBorder,inputValidationErrorBackground:this.styles.inputValidationErrorBackground,inputValidationErrorForeground:this.styles.inputValidationErrorForeground,inputValidationErrorBorder:this.styles.inputValidationErrorBorder}),this.tree&&!this.options.treeCreator&&this.tree.style(this.styles),this.renderer&&this.renderer.updateStyles(this.styles)},t.prototype.shouldOpenInBackground=function(e){if(e instanceof W.a){if(17!==e.keyCode)return!1;if(e.metaKey||e.ctrlKey||e.shiftKey||e.altKey)return!1;var t=this.inputBox.inputElement;return t.selectionEnd===this.inputBox.value.length&&t.selectionStart===t.selectionEnd}return e.middleButton},t.prototype.onType=function(){var e=this.inputBox.value;this.helpText&&(e?s.J(this.helpText):s.X(this.helpText)),this.callbacks.onType(e)},t.prototype.navigateInTree=function(e,t){var n=this.tree.getInput(),i=n?n.entries:[],o=this.tree.getFocus();switch(e){case 18:this.tree.focusNext();break;case 16:this.tree.focusPrevious();break;case 12:this.tree.focusNextPage();break;case 11:this.tree.focusPreviousPage();break;case 2:t?this.tree.focusPrevious():this.tree.focusNext()}var r=this.tree.getFocus();i.length>1&&o===r&&(16===e||2===e&&t?this.tree.focusLast():(18===e||2===e&&!t)&&this.tree.focusFirst()),(r=this.tree.getFocus())&&this.tree.reveal(r)},t.prototype.elementFocused=function(e,t){if(e&&this.isVisible()){var n=this.treeElement.getAttribute("aria-activedescendant");n?this.inputElement.setAttribute("aria-activedescendant",n):this.inputElement.removeAttribute("aria-activedescendant");var i={event:t,keymods:this.extractKeyMods(t),quickNavigateConfiguration:this.quickNavigateConfiguration};this.model.runner.run(e,0,i)}},t.prototype.elementSelected=function(e,t,n){var i=!0;if(this.isVisible()){var o=n||1,r={event:t,keymods:this.extractKeyMods(t),quickNavigateConfiguration:this.quickNavigateConfiguration};i=this.model.runner.run(e,o,r)}i&&this.hide(0)},t.prototype.extractKeyMods=function(e){return{ctrlCmd:e&&(e.ctrlKey||e.metaKey||e.payload&&e.payload.originalEvent&&(e.payload.originalEvent.ctrlKey||e.payload.originalEvent.metaKey)),alt:e&&(e.altKey||e.payload&&e.payload.originalEvent&&e.payload.originalEvent.altKey)}},t.prototype.show=function(e,t){this.visible=!0,this.isLoosingFocus=!1,this.quickNavigateConfiguration=t?t.quickNavigateConfiguration:void 0,this.quickNavigateConfiguration?(s.J(this.inputContainer),s.X(this.element),this.tree.domFocus()):(s.X(this.inputContainer),s.X(this.element),this.inputBox.focus()),this.helpText&&(this.quickNavigateConfiguration||l.j(e)?s.J(this.helpText):s.X(this.helpText)),l.j(e)?this.doShowWithPrefix(e):(t&&t.value&&this.restoreLastInput(t.value),this.doShowWithInput(e,t&&t.autoFocus?t.autoFocus:{})),t&&t.inputSelection&&!this.quickNavigateConfiguration&&this.inputBox.select(t.inputSelection),this.callbacks.onShow&&this.callbacks.onShow()},t.prototype.restoreLastInput=function(e){this.inputBox.value=e,this.inputBox.select(),this.callbacks.onType(e)},t.prototype.doShowWithPrefix=function(e){this.inputBox.value=e,this.callbacks.onType(e)},t.prototype.doShowWithInput=function(e,t){this.setInput(e,t)},t.prototype.setInputAndLayout=function(e,t){var n=this;this.treeContainer.style.height=this.getHeight(e)+"px",this.tree.setInput(null).then((function(){return n.model=e,n.inputElement.setAttribute("aria-haspopup",String(e&&e.entries&&e.entries.length>0)),n.tree.setInput(e)})).then((function(){n.tree.layout();var i=e?e.entries.filter((function(t){return n.isElementVisible(e,t)})):[];n.updateResultCount(i.length),i.length&&n.autoFocus(e,i,t)}))},t.prototype.isElementVisible=function(e,t){return!e.filter||e.filter.isVisible(t)},t.prototype.autoFocus=function(e,t,n){if(void 0===n&&(n={}),n.autoFocusPrefixMatch){for(var i=void 0,o=void 0,r=n.autoFocusPrefixMatch,s=r.toLowerCase(),a=0,u=t;an.autoFocusIndex&&(this.tree.focusNth(n.autoFocusIndex),this.tree.reveal(this.tree.getFocus())):n.autoFocusSecondEntry?t.length>1&&this.tree.focusNth(1):n.autoFocusLastEntry&&t.length>1&&(this.tree.focusLast(),this.tree.reveal(this.tree.getFocus()))},t.prototype.getHeight=function(e){var n=this,i=e.renderer;if(!e){var o=i.getHeight(null);return this.options.minItemsToShow?this.options.minItemsToShow*o:0}var r,s=0;this.layoutDimensions&&this.layoutDimensions.height&&(r=.4*(this.layoutDimensions.height-50)),(!r||r>t.MAX_ITEMS_HEIGHT)&&(r=t.MAX_ITEMS_HEIGHT);for(var a=e.entries.filter((function(t){return n.isElementVisible(e,t)})),u=this.options.maxItemsToShow||a.length,l=0;l=0;a--)(o=e[a])&&(s=(r<3?o(s):r>3?o(t,n,s):o(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},we=function(e,t){return function(n,i){t(n,i,e)}},Se=function(){function e(e,t){this.themeService=t,this.widget=null,this.rangeHighlightDecorationId=null,this.lastKnownEditorSelection=null,this.editor=e}return e.get=function(t){return t.getContribution(e.ID)},e.prototype.dispose=function(){this.widget&&(this.widget.destroy(),this.widget=null)},e.prototype.run=function(e){var t=this;this.widget&&(this.widget.destroy(),this.widget=null);var n=function(e){t.clearDecorations(),e&&t.lastKnownEditorSelection&&(t.editor.setSelection(t.lastKnownEditorSelection),t.editor.revealRangeInCenterIfOutsideViewport(t.lastKnownEditorSelection,0)),t.lastKnownEditorSelection=null,document.activeElement!==document.body&&e||t.editor.focus()};this.widget=new _e(this.editor,(function(){return n(!1)}),(function(){return n(!0)}),(function(n){t.widget.setInput(e.getModel(n),e.getAutoFocus(n))}),{inputAriaLabel:e.inputAriaLabel},this.themeService),this.lastKnownEditorSelection||(this.lastKnownEditorSelection=this.editor.getSelection()),this.widget.show("")},e.prototype.decorateLine=function(t,n){var i=[];this.rangeHighlightDecorationId&&(i.push(this.rangeHighlightDecorationId),this.rangeHighlightDecorationId=null);var o=[{range:t,options:e._RANGE_HIGHLIGHT_DECORATION}],r=n.deltaDecorations(i,o);this.rangeHighlightDecorationId=r[0]},e.prototype.clearDecorations=function(){this.rangeHighlightDecorationId&&(this.editor.deltaDecorations([this.rangeHighlightDecorationId],[]),this.rangeHighlightDecorationId=null)},e.ID="editor.controller.quickOpenController",e._RANGE_HIGHLIGHT_DECORATION=r.a.register({className:"rangeHighlight",isWholeLine:!0}),e=Ce([we(1,be.c)],e)}(),Oe=function(e){function t(t,n){var i=e.call(this,n)||this;return i._inputAriaLabel=t,i}return ye(t,e),t.prototype.getController=function(e){return Se.get(e)},t.prototype._show=function(e,t){e.run({inputAriaLabel:this._inputAriaLabel,getModel:function(e){return t.getModel(e)},getAutoFocus:function(e){return t.getAutoFocus(e)}})},t}(o.b);Object(o.h)(Se.ID,Se)},s7Km: /*!*******************************************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/editor/contrib/wordOperations/wordOperations.js ***! @@ -2539,15 +2539,15 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/position.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModelSearch.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/tokensStore.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/wordHelper.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/toggleTabFocusMode/toggleTabFocusMode.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/folding/folding.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/nullMode.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/supports.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/folding/folding.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/supports/richEditBrackets.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/folding/folding.js */function(e,t,n){"use strict";n.d(t,"b",(function(){return Ue})),n.d(t,"a",(function(){return Xe}));var i=n("/cxE"),o=n("MI8n"),r=n("pmY6"),s=n("N0LK"),a=n("bY76"),u=n("/UlZ"),l=n("cGHE"),c=n("aokT"),d=n("gCVg"),h=n("M1Kb"),p=function(){function e(e,t){this.beforeVersionId=e,this.beforeCursorState=t,this.afterCursorState=null,this.afterVersionId=-1,this.editOperations=[]}return e.prototype.undo=function(e){for(var t=this.editOperations.length-1;t>=0;t--)this.editOperations[t]={operations:e.applyEdits(this.editOperations[t].operations)}},e.prototype.redo=function(e){for(var t=0;t0){var e=this.past.pop();try{e.undo(this.model)}catch(e){return Object(i.e)(e),this.clear(),null}return this.future.push(e),{selections:e.beforeCursorState,recordedVersionId:e.beforeVersionId}}return null},e.prototype.canUndo=function(){return this.past.length>0||null!==this.currentOpenStackElement},e.prototype.redo=function(){if(this.future.length>0){var e=this.future.pop();try{e.redo(this.model)}catch(e){return Object(i.e)(e),this.clear(),null}return this.past.push(e),{selections:e.afterCursorState,recordedVersionId:e.afterVersionId}}return null},e.prototype.canRedo=function(){return this.future.length>0},e}(),v=function(){this.spacesDiff=0,this.looksLikeAlignment=!1};function _(e,t,n,i,o){var r;for(o.spacesDiff=0,o.looksLikeAlignment=!1,r=0;r0&&a>0||l>0&&c>0)){var d=Math.abs(a-c),h=Math.abs(s-l);if(0===d)return o.spacesDiff=h,void(h>0&&0<=l-1&&l-10?o++:m>1&&r++,_(s,a,h,g,l),!l.looksLikeAlignment||n&&t===l.spacesDiff)){var S=l.spacesDiff;S<=8&&u[S]++,s=h,a=g}}var O=n;o!==r&&(O=oD&&(D=t,L=e)})),4===L&&u[4]>0&&u[2]>0&&u[2]>=u[4]/2&&(L=2)}return{insertSpaces:O,tabSize:L}}function y(e){return(1&e.metadata)>>>0}function C(e,t){e.metadata=254&e.metadata|t<<0}function w(e){return(2&e.metadata)>>>1==1}function S(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function O(e){return(4&e.metadata)>>>2==1}function L(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function D(e){return(8&e.metadata)>>>3==1}function x(e,t){e.metadata=247&e.metadata|(t?1:0)<<3}function N(e,t){e.metadata=207&e.metadata|t<<4}function k(e,t){e.metadata=191&e.metadata|(t?1:0)<<6}var E=function(){function e(e,t,n){this.metadata=0,this.parent=this,this.left=this,this.right=this,C(this,1),this.start=t,this.end=n,this.delta=0,this.maxEnd=n,this.id=e,this.ownerId=0,this.options=null,L(this,!1),N(this,1),x(this,!1),k(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=null,S(this,!1)}return e.prototype.reset=function(e,t,n,i){this.start=t,this.end=n,this.maxEnd=n,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=i},e.prototype.setOptions=function(e){this.options=e;var t=this.options.className;L(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),N(this,this.options.stickiness),x(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),k(this,this.options.collapseOnReplaceEdit)},e.prototype.setCachedOffsets=function(e,t,n){this.cachedVersionId!==n&&(this.range=null),this.cachedVersionId=n,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t},e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},e}(),I=new E(null,0,0);I.parent=I,I.left=I,I.right=I,C(I,0);var M=function(){function e(){this.root=I,this.requestNormalizeDelta=!1}return e.prototype.intervalSearch=function(e,t,n,i,o){return this.root===I?[]:function(e,t,n,i,o,r){var s=e.root,a=0,u=0,l=0,c=[],d=0;for(;s!==I;)if(w(s))S(s.left,!1),S(s.right,!1),s===s.parent.right&&(a-=s.parent.delta),s=s.parent;else{if(!w(s.left)){if(a+s.maxEndn)S(s,!0);else{if((l=a+s.end)>=t){s.setCachedOffsets(u,l,r);var h=!0;i&&s.ownerId&&s.ownerId!==i&&(h=!1),o&&O(s)&&(h=!1),h&&(c[d++]=s)}S(s,!0),s.right===I||w(s.right)||(a+=s.delta,s=s.right)}}return S(e.root,!1),c}(this,e,t,n,i,o)},e.prototype.search=function(e,t,n){return this.root===I?[]:function(e,t,n,i){var o=e.root,r=0,s=0,a=0,u=[],l=0;for(;o!==I;)if(w(o))S(o.left,!1),S(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),o=o.parent;else if(o.left===I||w(o.left)){s=r+o.start,a=r+o.end,o.setCachedOffsets(s,a,i);var c=!0;t&&o.ownerId&&o.ownerId!==t&&(c=!1),n&&O(o)&&(c=!1),c&&(u[l++]=o),S(o,!0),o.right===I||w(o.right)||(r+=o.delta,o=o.right)}else o=o.left;return S(e.root,!1),u}(this,e,t,n)},e.prototype.collectNodesFromOwner=function(e){return function(e,t){var n=e.root,i=[],o=0;for(;n!==I;)w(n)?(S(n.left,!1),S(n.right,!1),n=n.parent):n.left===I||w(n.left)?(n.ownerId===t&&(i[o++]=n),S(n,!0),n.right===I||w(n.right)||(n=n.right)):n=n.left;return S(e.root,!1),i}(this,e)},e.prototype.collectNodesPostOrder=function(){return function(e){var t=e.root,n=[],i=0;for(;t!==I;)w(t)?(S(t.left,!1),S(t.right,!1),t=t.parent):t.left===I||w(t.left)?t.right===I||w(t.right)?(n[i++]=t,S(t,!0)):t=t.right:t=t.left;return S(e.root,!1),n}(this)},e.prototype.insert=function(e){R(this,e),this._normalizeDeltaIfNecessary()},e.prototype.delete=function(e){A(this,e),this._normalizeDeltaIfNecessary()},e.prototype.resolveNode=function(e,t){for(var n=e,i=0;e!==this.root;)e===e.parent.right&&(i+=e.parent.delta),e=e.parent;var o=n.start+i,r=n.end+i;n.setCachedOffsets(o,r,t)},e.prototype.acceptReplace=function(e,t,n,i){for(var o=function(e,t,n){var i=e.root,o=0,r=0,s=0,a=[],u=0;for(;i!==I;)if(w(i))S(i.left,!1),S(i.right,!1),i===i.parent.right&&(o-=i.parent.delta),i=i.parent;else{if(!w(i.left)){if(o+i.maxEndn?S(i,!0):((s=o+i.end)>=t&&(i.setCachedOffsets(r,s,0),a[u++]=i),S(i,!0),i.right===I||w(i.right)||(o+=i.delta,i=i.right))}return S(e.root,!1),a}(this,e,e+t),r=0,s=o.length;rn?(o.start+=s,o.end+=s,o.delta+=s,(o.delta<-1073741824||o.delta>1073741824)&&(e.requestNormalizeDelta=!0),S(o,!0)):(S(o,!0),o.right===I||w(o.right)||(r+=o.delta,o=o.right))}S(e.root,!1)}(this,e,e+t,n),this._normalizeDeltaIfNecessary();for(r=0,s=o.length;rn)&&(1!==i&&(2===i||t))}function P(e,t,n,i,o){var r=function(e){return(48&e.metadata)>>>4}(e),s=0===r||2===r,a=1===r||2===r,u=n-t,l=i,c=Math.min(u,l),d=e.start,h=!1,p=e.end,f=!1;t<=d&&p<=n&&function(e){return(64&e.metadata)>>>6==1}(e)&&(e.start=t,h=!0,e.end=t,f=!0);var g=o?1:u>0?2:0;if(!h&&T(d,s,t,g)&&(h=!0),!f&&T(p,a,t,g)&&(f=!0),c>0&&!o){g=u>l?2:0;!h&&T(d,s,t+c,g)&&(h=!0),!f&&T(p,a,t+c,g)&&(f=!0)}g=o?1:0;!h&&T(d,s,n,g)&&(e.start=t+l,h=!0),!f&&T(p,a,n,g)&&(e.end=t+l,f=!0);var m=l-u;h||(e.start=Math.max(0,d+m)),f||(e.end=Math.max(0,p+m)),e.start>e.end&&(e.end=e.start)}function R(e,t){if(e.root===I)return t.parent=I,t.left=I,t.right=I,C(t,0),e.root=t,e.root;!function(e,t){var n=0,i=e.root,o=t.start,r=t.end;for(;;){if(z(o,r,i.start+n,i.end+n)<0){if(i.left===I){t.start-=n,t.end-=n,t.maxEnd-=n,i.left=t;break}i=i.left}else{if(i.right===I){t.start-=n+i.delta,t.end-=n+i.delta,t.maxEnd-=n+i.delta,i.right=t;break}n+=i.delta,i=i.right}}t.parent=i,t.left=I,t.right=I,C(t,1)}(e,t),H(t.parent);for(var n=t;n!==e.root&&1===y(n.parent);){var i;if(n.parent===n.parent.parent.left)1===y(i=n.parent.parent.right)?(C(n.parent,0),C(i,0),C(n.parent.parent,1),n=n.parent.parent):(n===n.parent.right&&j(e,n=n.parent),C(n.parent,0),C(n.parent.parent,1),W(e,n.parent.parent));else 1===y(i=n.parent.parent.left)?(C(n.parent,0),C(i,0),C(n.parent.parent,1),n=n.parent.parent):(n===n.parent.left&&W(e,n=n.parent),C(n.parent,0),C(n.parent.parent,1),j(e,n.parent.parent))}return C(e.root,0),t}function A(e,t){var n,i;if(t.left===I?(i=t,(n=t.right).delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta):t.right===I?(n=t.left,i=t):((n=(i=function(e){for(;e.left!==I;)e=e.left;return e}(t.right)).right).start+=i.delta,n.end+=i.delta,n.delta+=i.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta,i.delta=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0)),i===e.root)return e.root=n,C(n,0),t.detach(),F(),B(n),void(e.root.parent=I);var o,r=1===y(i);if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?n.parent=i.parent:(i.parent===t?n.parent=i:n.parent=i.parent,i.left=t.left,i.right=t.right,i.parent=t.parent,C(i,y(t)),t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==I&&(i.left.parent=i),i.right!==I&&(i.right.parent=i)),t.detach(),r)return H(n.parent),i!==t&&(H(i),H(i.parent)),void F();for(H(n),H(n.parent),i!==t&&(H(i),H(i.parent));n!==e.root&&0===y(n);)n===n.parent.left?(1===y(o=n.parent.right)&&(C(o,0),C(n.parent,1),j(e,n.parent),o=n.parent.right),0===y(o.left)&&0===y(o.right)?(C(o,1),n=n.parent):(0===y(o.right)&&(C(o.left,0),C(o,1),W(e,o),o=n.parent.right),C(o,y(n.parent)),C(n.parent,0),C(o.right,0),j(e,n.parent),n=e.root)):(1===y(o=n.parent.left)&&(C(o,0),C(n.parent,1),W(e,n.parent),o=n.parent.left),0===y(o.left)&&0===y(o.right)?(C(o,1),n=n.parent):(0===y(o.left)&&(C(o.right,0),C(o,1),j(e,o),o=n.parent.left),C(o,y(n.parent)),C(n.parent,0),C(o.left,0),W(e,n.parent),n=e.root));C(n,0),F()}function F(){I.parent=I,I.delta=0,I.start=0,I.end=0}function j(e,t){var n=t.right;n.delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta,t.right=n.left,n.left!==I&&(n.left.parent=t),n.parent=t.parent,t.parent===I?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n,B(t),B(n)}function W(e,t){var n=t.left;t.delta-=n.delta,(t.delta<-1073741824||t.delta>1073741824)&&(e.requestNormalizeDelta=!0),t.start-=n.delta,t.end-=n.delta,t.left=n.right,n.right!==I&&(n.right.parent=t),n.parent=t.parent,t.parent===I?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n,B(t),B(n)}function V(e){var t=e.end;if(e.left!==I){var n=e.left.maxEnd;n>t&&(t=n)}if(e.right!==I){var i=e.right.maxEnd+e.delta;i>t&&(t=i)}return t}function B(e){e.maxEnd=V(e)}function H(e){for(;e!==I;){var t=V(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}function z(e,t,n,i){return e===n?t-i:e-n}var U=function(){function e(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}return e.prototype.next=function(){if(this.right!==K)return q(this.right);for(var e=this;e.parent!==K&&e.parent.left!==e;)e=e.parent;return e.parent===K?K:e.parent},e.prototype.prev=function(){if(this.left!==K)return G(this.left);for(var e=this;e.parent!==K&&e.parent.right!==e;)e=e.parent;return e.parent===K?K:e.parent},e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},e}(),K=new U(null,0);function q(e){for(;e.left!==K;)e=e.left;return e}function G(e){for(;e.right!==K;)e=e.right;return e}function Y(e){return e===K?0:e.size_left+e.piece.length+Y(e.right)}function Z(e){return e===K?0:e.lf_left+e.piece.lineFeedCnt+Z(e.right)}function X(){K.parent=K}function Q(e,t){var n=t.right;n.size_left+=t.size_left+(t.piece?t.piece.length:0),n.lf_left+=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),t.right=n.left,n.left!==K&&(n.left.parent=t),n.parent=t.parent,t.parent===K?e.root=n:t.parent.left===t?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n}function J(e,t){var n=t.left;t.left=n.right,n.right!==K&&(n.right.parent=t),n.parent=t.parent,t.size_left-=n.size_left+(n.piece?n.piece.length:0),t.lf_left-=n.lf_left+(n.piece?n.piece.lineFeedCnt:0),t.parent===K?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n}function $(e,t){var n,i;if(n=t.left===K?(i=t).right:t.right===K?(i=t).left:(i=q(t.right)).right,i===e.root)return e.root=n,n.color=0,t.detach(),X(),void(e.root.parent=K);var o=1===i.color;if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?(n.parent=i.parent,ne(e,n)):(i.parent===t?n.parent=i:n.parent=i.parent,ne(e,n),i.left=t.left,i.right=t.right,i.parent=t.parent,i.color=t.color,t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==K&&(i.left.parent=i),i.right!==K&&(i.right.parent=i),i.size_left=t.size_left,i.lf_left=t.lf_left,ne(e,i)),t.detach(),n.parent.left===n){var r=Y(n),s=Z(n);if(r!==n.parent.size_left||s!==n.parent.lf_left){var a=r-n.parent.size_left,u=s-n.parent.lf_left;n.parent.size_left=r,n.parent.lf_left=s,te(e,n.parent,a,u)}}if(ne(e,n.parent),o)X();else{for(var l;n!==e.root&&0===n.color;)n===n.parent.left?(1===(l=n.parent.right).color&&(l.color=0,n.parent.color=1,Q(e,n.parent),l=n.parent.right),0===l.left.color&&0===l.right.color?(l.color=1,n=n.parent):(0===l.right.color&&(l.left.color=0,l.color=1,J(e,l),l=n.parent.right),l.color=n.parent.color,n.parent.color=0,l.right.color=0,Q(e,n.parent),n=e.root)):(1===(l=n.parent.left).color&&(l.color=0,n.parent.color=1,J(e,n.parent),l=n.parent.left),0===l.left.color&&0===l.right.color?(l.color=1,n=n.parent):(0===l.left.color&&(l.right.color=0,l.color=1,Q(e,l),l=n.parent.left),l.color=n.parent.color,n.parent.color=0,l.left.color=0,J(e,n.parent),n=e.root));n.color=0,X()}}function ee(e,t){for(ne(e,t);t!==e.root&&1===t.parent.color;){var n;if(t.parent===t.parent.parent.left)1===(n=t.parent.parent.right).color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&Q(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,J(e,t.parent.parent));else 1===(n=t.parent.parent.left).color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&J(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,Q(e,t.parent.parent))}e.root.color=0}function te(e,t,n,i){for(;t!==e.root&&t!==K;)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}function ne(e,t){var n=0,i=0;if(t!==e.root){if(0===n){for(;t!==e.root&&t===t.parent.right;)t=t.parent;if(t===e.root)return;n=Y((t=t.parent).left)-t.size_left,i=Z(t.left)-t.lf_left,t.size_left+=n,t.lf_left+=i}for(;t!==e.root&&(0!==n||0!==i);)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}}K.parent=K,K.left=K,K.right=K,K.color=0;var ie=n("jAJ/");function oe(e){var t;return(t=e[e.length-1]<65536?new Uint16Array(e.length):new Uint32Array(e.length)).set(e,0),t}var re=function(e,t,n,i,o){this.lineStarts=e,this.cr=t,this.lf=n,this.crlf=i,this.isBasicASCII=o};function se(e,t){void 0===t&&(t=!0);for(var n=[0],i=1,o=0,r=e.length;o=0;t--){var n=this._cache[t];if(n.nodeStartOffset<=e&&n.nodeStartOffset+n.node.piece.length>=e)return n}return null},e.prototype.get2=function(e){for(var t=this._cache.length-1;t>=0;t--){var n=this._cache[t];if(n.nodeStartLineNumber&&n.nodeStartLineNumber=e)return n}return null},e.prototype.set=function(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)},e.prototype.valdiate=function(e){for(var t=!1,n=this._cache,i=0;i=e)&&(n[i]=null,t=!0)}if(t){for(var r=[],s=0,a=n;s0){e[o].lineStarts||(e[o].lineStarts=se(e[o].buffer));var s=new ue(o+1,{line:0,column:0},{line:e[o].lineStarts.length-1,column:e[o].buffer.length-e[o].lineStarts[e[o].lineStarts.length-1]},e[o].lineStarts.length-1,e[o].buffer.length);this._buffers.push(e[o]),i=this.rbInsertRight(i,s)}this._searchCache=new ce(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()},e.prototype.normalizeEOL=function(e){var t=this,n=65535-Math.floor(21845),i=2*n,o="",r=0,s=[];if(this.iterate(this.root,(function(a){var u=t.getNodeContent(a),l=u.length;if(r<=n||r+l0){var a=o.replace(/\r\n|\r|\n/g,e);s.push(new le(a,se(a)))}this.create(s,e,!0)},e.prototype.getEOL=function(){return this._EOL},e.prototype.setEOL=function(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)},e.prototype.getOffsetAt=function(e,t){for(var n=0,i=this.root;i!==K;)if(i.left!==K&&i.lf_left+1>=e)i=i.left;else{if(i.lf_left+i.piece.lineFeedCnt+1>=e)return(n+=i.size_left)+(this.getAccumulatedValue(i,e-i.lf_left-2)+t-1);e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right}return n},e.prototype.getPositionAt=function(e){e=Math.floor(e),e=Math.max(0,e);for(var t=this.root,n=0,i=e;t!==K;)if(0!==t.size_left&&t.size_left>=e)t=t.left;else{if(t.size_left+t.piece.length>=e){var o=this.getIndexOf(t,e-t.size_left);if(n+=t.lf_left+o.index,0===o.index){var r=i-this.getOffsetAt(n+1,1);return new l.a(n+1,r+1)}return new l.a(n+1,o.remainder+1)}if(e-=t.size_left+t.piece.length,n+=t.lf_left+t.piece.lineFeedCnt,t.right===K){r=i-e-this.getOffsetAt(n+1,1);return new l.a(n+1,r+1)}t=t.right}return new l.a(1,1)},e.prototype.getValueInRange=function(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";var n=this.nodeAt2(e.startLineNumber,e.startColumn),i=this.nodeAt2(e.endLineNumber,e.endColumn),o=this.getValueInRange2(n,i);return t?t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?o:o.replace(/\r\n|\r|\n/g,t):o},e.prototype.getValueInRange2=function(e,t){if(e.node===t.node){var n=e.node,i=this._buffers[n.piece.bufferIndex].buffer,o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i.substring(o+e.remainder,o+t.remainder)}var r=e.node,s=this._buffers[r.piece.bufferIndex].buffer,a=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start),u=s.substring(a+e.remainder,a+r.piece.length);for(r=r.next();r!==K;){var l=this._buffers[r.piece.bufferIndex].buffer,c=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start);if(r===t.node){u+=l.substring(c,c+t.remainder);break}u+=l.substr(c,r.piece.length),r=r.next()}return u},e.prototype.getLinesContent=function(){var e=this,t=[],n=0,i="",o=!1;return this.iterate(this.root,(function(r){if(r===K)return!0;var s=r.piece,a=s.length;if(0===a)return!0;var u=e._buffers[s.bufferIndex].buffer,l=e._buffers[s.bufferIndex].lineStarts,c=s.start.line,d=s.end.line,h=l[c]+s.start.column;if(o&&(10===u.charCodeAt(h)&&(h++,a--),t[n++]=i,i="",o=!1,0===a))return!0;if(c===d)return e._EOLNormalized||13!==u.charCodeAt(h+a-1)?i+=u.substr(h,a):(o=!0,i+=u.substr(h,a-1)),!0;i+=e._EOLNormalized?u.substring(h,Math.max(h,l[c+1]-e._EOLLength)):u.substring(h,l[c+1]).replace(/(\r\n|\r|\n)$/,""),t[n++]=i;for(var p=c+1;p=_)return l;this.positionInBuffer(e,f(h.index)-m,b);var y=this.getLineFeedCnt(e.piece.bufferIndex,o,b),C=b.line===o.line?b.column-o.column+i:b.column+1,w=C+h[0].length;if(d[l++]=Object(ie.d)(new c.a(n+y,C,n+y,w),h,a),f(h.index)+h[0].length>=_)return l;if(l>=u)return l}}while(h);return l},e.prototype.findMatchesLineByLine=function(e,t,n,i){var o=[],r=0,s=new ie.b(t.wordSeparators,t.regex),a=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===a)return[];var u=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===u)return[];var l=this.positionInBuffer(a.node,a.remainder),c=this.positionInBuffer(u.node,u.remainder);if(a.node===u.node)return this.findMatchesInNode(a.node,s,e.startLineNumber,e.startColumn,l,c,t,n,i,r,o),o;for(var d=e.startLineNumber,h=a.node;h!==u.node;){var p=this.getLineFeedCnt(h.piece.bufferIndex,l,h.piece.end);if(p>=1){var f=this._buffers[h.piece.bufferIndex].lineStarts,g=this.offsetInBuffer(h.piece.bufferIndex,h.piece.start),m=f[l.line+p],v=d===e.startLineNumber?e.startColumn:1;if((r=this.findMatchesInNode(h,s,d,v,l,this.positionInBuffer(h,m-g),t,n,i,r,o))>=i)return o;d+=p}var _=d===e.startLineNumber?e.startColumn-1:0;if(d===e.endLineNumber){var b=this.getLineContent(d).substring(_,e.endColumn-1);return r=this._findMatchesInLine(t,s,b,e.endLineNumber,_,r,o,n,i),o}if((r=this._findMatchesInLine(t,s,this.getLineContent(d).substr(_),d,_,r,o,n,i))>=i)return o;d++,h=(a=this.nodeAt2(d,1)).node,l=this.positionInBuffer(a.node,a.remainder)}if(d===e.endLineNumber){var y=d===e.startLineNumber?e.startColumn-1:0;b=this.getLineContent(d).substring(y,e.endColumn-1);return r=this._findMatchesInLine(t,s,b,e.endLineNumber,y,r,o,n,i),o}var C=d===e.startLineNumber?e.startColumn:1;return r=this.findMatchesInNode(u.node,s,d,C,l,c,t,n,i,r,o),o},e.prototype._findMatchesInLine=function(e,t,n,i,o,r,s,a,u){var l,d=e.wordSeparators;if(!a&&e.simpleSearch){for(var p=e.simpleSearch,f=p.length,g=n.length,m=-f;-1!==(m=n.indexOf(p,m+f));)if((!d||Object(ie.e)(d,n,g,m,f))&&(s[r++]=new h.b(new c.a(i,m+1+o,i,m+1+f+o),null),r>=u))return r;return r}t.reset(0);do{if((l=t.next(n))&&(s[r++]=Object(ie.d)(new c.a(i,l.index+1+o,i,l.index+1+l[0].length+o),l,a),r>=u))return r}while(l);return r},e.prototype.insert=function(e,t,n){if(void 0===n&&(n=!1),this._EOLNormalized=this._EOLNormalized&&n,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==K){var i=this.nodeAt(e),o=i.node,r=i.remainder,s=i.nodeStartOffset,a=o.piece,u=a.bufferIndex,l=this.positionInBuffer(o,r);if(0===o.piece.bufferIndex&&a.end.line===this._lastChangeBufferPos.line&&a.end.column===this._lastChangeBufferPos.column&&s+a.length===e&&t.length<65535)return this.appendToNode(o,t),void this.computeBufferMetadata();if(s===e)this.insertContentToNodeLeft(t,o),this._searchCache.valdiate(e);else if(s+o.piece.length>e){var c=[],d=new ue(a.bufferIndex,l,a.end,this.getLineFeedCnt(a.bufferIndex,l,a.end),this.offsetInBuffer(u,a.end)-this.offsetInBuffer(u,l));if(this.shouldCheckCRLF()&&this.endWithCR(t))if(10===this.nodeCharCodeAt(o,r)){var h={line:d.start.line+1,column:0};d=new ue(d.bufferIndex,h,d.end,this.getLineFeedCnt(d.bufferIndex,h,d.end),d.length-1),t+="\n"}if(this.shouldCheckCRLF()&&this.startWithLF(t))if(13===this.nodeCharCodeAt(o,r-1)){var p=this.positionInBuffer(o,r-1);this.deleteNodeTail(o,p),t="\r"+t,0===o.piece.length&&c.push(o)}else this.deleteNodeTail(o,l);else this.deleteNodeTail(o,l);var f=this.createNewPieces(t);d.length>0&&this.rbInsertRight(o,d);for(var g=o,m=0;m=0;u--)a=this.rbInsertLeft(a,s[u]);this.validateCRLFWithPrevNode(a),this.deleteNodes(n)},e.prototype.insertContentToNodeRight=function(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+="\n");for(var n=this.createNewPieces(e),i=this.rbInsertRight(t,n[0]),o=i,r=1;r=c))break;a=l+1}return n?(n.line=l,n.column=s-d,null):{line:l,column:s-d}},e.prototype.getLineFeedCnt=function(e,t,n){if(0===n.column)return n.line-t.line;var i=this._buffers[e].lineStarts;if(n.line===i.length-1)return n.line-t.line;var o=i[n.line+1],r=i[n.line]+n.column;if(o>r+1)return n.line-t.line;var s=r-1;return 13===this._buffers[e].buffer.charCodeAt(s)?n.line-t.line+1:n.line-t.line},e.prototype.offsetInBuffer=function(e,t){return this._buffers[e].lineStarts[t.line]+t.column},e.prototype.deleteNodes=function(e){for(var t=0;t65535){for(var t=[];e.length>65535;){var n=e.charCodeAt(65534),i=void 0;13===n||n>=55296&&n<=56319?(i=e.substring(0,65534),e=e.substring(65534)):(i=e.substring(0,65535),e=e.substring(65535));var o=se(i);t.push(new ue(this._buffers.length,{line:0,column:0},{line:o.length-1,column:i.length-o[o.length-1]},o.length-1,i.length)),this._buffers.push(new le(i,o))}var r=se(e);return t.push(new ue(this._buffers.length,{line:0,column:0},{line:r.length-1,column:e.length-r[r.length-1]},r.length-1,e.length)),this._buffers.push(new le(e,r)),t}var s=this._buffers[0].buffer.length,a=se(e,!1),u=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===s&&0!==s&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},u=this._lastChangeBufferPos;for(var l=0;l=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){r=this.getAccumulatedValue(n,e-n.lf_left-2),u=this.getAccumulatedValue(n,e-n.lf_left-1),s=this._buffers[n.piece.bufferIndex].buffer,a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return l+=n.size_left,this._searchCache.set({node:n,nodeStartOffset:l,nodeStartLineNumber:c-(e-1-n.lf_left)}),s.substring(a+r,a+u-t)}if(n.lf_left+n.piece.lineFeedCnt===e-1){r=this.getAccumulatedValue(n,e-n.lf_left-2),s=this._buffers[n.piece.bufferIndex].buffer,a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i=s.substring(a+r,a+n.piece.length);break}e-=n.lf_left+n.piece.lineFeedCnt,l+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==K;){s=this._buffers[n.piece.bufferIndex].buffer;if(n.piece.lineFeedCnt>0){u=this.getAccumulatedValue(n,0),a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i+=s.substring(a,a+u-t)}a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i+=s.substr(a,n.piece.length),n=n.next()}return i},e.prototype.computeBufferMetadata=function(){for(var e=this.root,t=1,n=0;e!==K;)t+=e.lf_left+e.piece.lineFeedCnt,n+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=n,this._searchCache.valdiate(this._length)},e.prototype.getIndexOf=function(e,t){var n=e.piece,i=this.positionInBuffer(e,t),o=i.line-n.start.line;if(this.offsetInBuffer(n.bufferIndex,n.end)-this.offsetInBuffer(n.bufferIndex,n.start)===t){var r=this.getLineFeedCnt(e.piece.bufferIndex,n.start,i);if(r!==o)return{index:r,remainder:0}}return{index:o,remainder:i.column}},e.prototype.getAccumulatedValue=function(e,t){if(t<0)return 0;var n=e.piece,i=this._buffers[n.bufferIndex].lineStarts,o=n.start.line+t+1;return o>n.end.line?i[n.end.line]+n.end.column-i[n.start.line]-n.start.column:i[o]-i[n.start.line]-n.start.column},e.prototype.deleteNodeTail=function(e,t){var n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.end),r=t,s=this.offsetInBuffer(n.bufferIndex,r),a=this.getLineFeedCnt(n.bufferIndex,n.start,r),u=a-i,l=s-o,c=n.length+l;e.piece=new ue(n.bufferIndex,n.start,r,a,c),te(this,e,l,u)},e.prototype.deleteNodeHead=function(e,t){var n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.start),r=t,s=this.getLineFeedCnt(n.bufferIndex,r,n.end),a=s-i,u=o-this.offsetInBuffer(n.bufferIndex,r),l=n.length+u;e.piece=new ue(n.bufferIndex,r,n.end,s,l),te(this,e,u,a)},e.prototype.shrinkNode=function(e,t,n){var i=e.piece,o=i.start,r=i.end,s=i.length,a=i.lineFeedCnt,u=t,l=this.getLineFeedCnt(i.bufferIndex,i.start,u),c=this.offsetInBuffer(i.bufferIndex,t)-this.offsetInBuffer(i.bufferIndex,o);e.piece=new ue(i.bufferIndex,i.start,u,l,c),te(this,e,c-s,l-a);var d=new ue(i.bufferIndex,n,r,this.getLineFeedCnt(i.bufferIndex,n,r),this.offsetInBuffer(i.bufferIndex,r)-this.offsetInBuffer(i.bufferIndex,n)),h=this.rbInsertRight(e,d);this.validateCRLFWithPrevNode(h)},e.prototype.appendToNode=function(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");var n=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),i=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;for(var o=se(t,!1),r=0;re)t=t.left;else{if(t.size_left+t.piece.length>=e){i+=t.size_left;var o={node:t,remainder:e-t.size_left,nodeStartOffset:i};return this._searchCache.set(o),o}e-=t.size_left+t.piece.length,i+=t.size_left+t.piece.length,t=t.right}return null},e.prototype.nodeAt2=function(e,t){for(var n=this.root,i=0;n!==K;)if(n.left!==K&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){var o=this.getAccumulatedValue(n,e-n.lf_left-2),r=this.getAccumulatedValue(n,e-n.lf_left-1);return i+=n.size_left,{node:n,remainder:Math.min(o+t-1,r),nodeStartOffset:i}}if(n.lf_left+n.piece.lineFeedCnt===e-1){if((o=this.getAccumulatedValue(n,e-n.lf_left-2))+t-1<=n.piece.length)return{node:n,remainder:o+t-1,nodeStartOffset:i};t-=n.piece.length-o;break}e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==K;){if(n.piece.lineFeedCnt>0){r=this.getAccumulatedValue(n,0);var s=this.offsetOfNode(n);return{node:n,remainder:Math.min(t-1,r),nodeStartOffset:s}}if(n.piece.length>=t-1)return{node:n,remainder:t-1,nodeStartOffset:this.offsetOfNode(n)};t-=n.piece.length,n=n.next()}return null},e.prototype.nodeCharCodeAt=function(e,t){if(e.piece.lineFeedCnt<1)return-1;var n=this._buffers[e.piece.bufferIndex],i=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return n.buffer.charCodeAt(i)},e.prototype.offsetOfNode=function(e){if(!e)return 0;for(var t=e.size_left;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t},e.prototype.shouldCheckCRLF=function(){return!(this._EOLNormalized&&"\n"===this._EOL)},e.prototype.startWithLF=function(e){if("string"==typeof e)return 10===e.charCodeAt(0);if(e===K||0===e.piece.lineFeedCnt)return!1;var t=e.piece,n=this._buffers[t.bufferIndex].lineStarts,i=t.start.line,o=n[i]+t.start.column;return i!==n.length-1&&(!(n[i+1]>o+1)&&10===this._buffers[t.bufferIndex].buffer.charCodeAt(o))},e.prototype.endWithCR=function(e){return"string"==typeof e?13===e.charCodeAt(e.length-1):e!==K&&0!==e.piece.lineFeedCnt&&13===this.nodeCharCodeAt(e,e.piece.length-1)},e.prototype.validateCRLFWithPrevNode=function(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){var t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}},e.prototype.validateCRLFWithNextNode=function(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){var t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}},e.prototype.fixCRLF=function(e,t){var n,i=[],o=this._buffers[e.piece.bufferIndex].lineStarts;n=0===e.piece.end.column?{line:e.piece.end.line-1,column:o[e.piece.end.line]-o[e.piece.end.line-1]-1}:{line:e.piece.end.line,column:e.piece.end.column-1};var r=e.piece.length-1,s=e.piece.lineFeedCnt-1;e.piece=new ue(e.piece.bufferIndex,e.piece.start,n,s,r),te(this,e,-1,-1),0===e.piece.length&&i.push(e);var a={line:t.piece.start.line+1,column:0},u=t.piece.length-1,l=this.getLineFeedCnt(t.piece.bufferIndex,a,t.piece.end);t.piece=new ue(t.piece.bufferIndex,a,t.piece.end,l,u),te(this,t,-1,-1),0===t.piece.length&&i.push(t);var c=this.createNewPieces("\r\n");this.rbInsertRight(e,c[0]);for(var d=0;d0){v.sort((function(e,t){return t.lineNumber-e.lineNumber})),S=[];u=0;for(var O=v.length;u0&&v[u-1].lineNumber===b)){var L=v[u].oldContent,D=this.getLineContent(b);0!==D.length&&D!==L&&-1===s.q(D)&&S.push(b)}}}return new h.a(C,w,S)},e.prototype._reduceOperations=function(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]},e.prototype._toSingleEditOperation=function(e){for(var t=!1,n=e[0].range,i=e[e.length-1].range,o=new c.a(n.startLineNumber,n.startColumn,i.endLineNumber,i.endColumn),r=n.startLineNumber,s=n.startColumn,a=[],u=0,l=e.length;u0){var h=a.lines.length,p=a.lines[0],f=a.lines[h-1];d=1===h?new c.a(u,l,u,l+p.length):new c.a(u,l,u+h-1,f.length+1)}else d=new c.a(u,l,u,l);n=d.endLineNumber,i=d.endColumn,t.push(d),o=a}return t},e._sortOpsAscending=function(e,t){var n=c.a.compareRangesUsingEnds(e.range,t.range);return 0===n?e.sortIndex-t.sortIndex:n},e._sortOpsDescending=function(e,t){var n=c.a.compareRangesUsingEnds(e.range,t.range);return 0===n?t.sortIndex-e.sortIndex:-n},e}(),pe=function(){function e(e,t,n,i,o,r,s,a){this._chunks=e,this._bom=t,this._cr=n,this._lf=i,this._crlf=o,this._containsRTL=r,this._isBasicASCII=s,this._normalizeEOL=a}return e.prototype._getEOL=function(e){var t=this._cr+this._lf+this._crlf,n=this._cr+this._crlf;return 0===t?1===e?"\n":"\r\n":n>t/2?"\r\n":"\n"},e.prototype.create=function(e){var t=this._getEOL(e),n=this._chunks;if(this._normalizeEOL&&("\r\n"===t&&(this._cr>0||this._lf>0)||"\n"===t&&(this._cr>0||this._crlf>0)))for(var i=0,o=n.length;i=55296&&t<=56319?(this._acceptChunk1(e.substr(0,e.length-1),!1),this._hasPreviousChar=!0,this._previousChar=t):(this._acceptChunk1(e,!1),this._hasPreviousChar=!1,this._previousChar=t)}},e.prototype._acceptChunk1=function(e,t){(t||0!==e.length)&&(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+e):this._acceptChunk2(e))},e.prototype._acceptChunk2=function(e){var t=function(e,t){e.length=0,e[0]=0;for(var n=1,i=0,o=0,r=0,s=!0,a=0,u=t.length;a126)&&(s=!1)}var c=new re(oe(e),i,o,r,s);return e.length=0,c}(this._tmpLineStarts,e);this.chunks.push(new le(e,t.lineStarts)),this.cr+=t.cr,this.lf+=t.lf,this.crlf+=t.crlf,this.isBasicASCII&&(this.isBasicASCII=t.isBasicASCII),this.isBasicASCII||this.containsRTL||(this.containsRTL=s.i(e))},e.prototype.finish=function(e){return void 0===e&&(e=!0),this._finish(),new pe(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.isBasicASCII,e)},e.prototype._finish=function(){if(0===this.chunks.length&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;var e=this.chunks[this.chunks.length-1];e.buffer+=String.fromCharCode(this._previousChar);var t=se(e.buffer);e.lineStarts=t,13===this._previousChar&&this.cr++}},e}(),ge=function(){this.changeType=1},me=function(e,t){this.changeType=2,this.lineNumber=e,this.detail=t},ve=function(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t},_e=function(e,t,n){this.changeType=4,this.fromLineNumber=e,this.toLineNumber=t,this.detail=n},be=function(){this.changeType=5},ye=function(){function e(e,t,n,i){this.changes=e,this.versionId=t,this.isUndoing=n,this.isRedoing=i}return e.prototype.containsEvent=function(e){for(var t=0,n=this.changes.length;t=this._len;)this._beginState[this._len]=null,this._valid[this._len]=!1,this._len++},e.prototype._deleteLines=function(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._beginState.splice(e,t),this._valid.splice(e,t),this._len-=t)},e.prototype._insertLines=function(e,t){if(0!==t){for(var n=[],i=[],o=0;o=0;o--)this._invalidateLine(e.startLineNumber+o-1);this._acceptDeleteRange(e),this._acceptInsertText(new l.a(e.startLineNumber,e.startColumn),t)},e.prototype._acceptDeleteRange=function(e){e.startLineNumber-1>=this._len||this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)},e.prototype._acceptInsertText=function(e,t){e.lineNumber-1>=this._len||this._insertLines(e.lineNumber,t)},e}(),Ie=function(e){function t(t){var n=e.call(this)||this;return n._isDisposed=!1,n._textModel=t,n._tokenizationStateStore=new Ee,n._tokenizationSupport=null,n._register(Oe.B.onDidChange((function(e){var t=n._textModel.getLanguageIdentifier();-1!==e.changedLanguages.indexOf(t.language)&&(n._resetTokenizationState(),n._textModel.clearTokens())}))),n._register(n._textModel.onDidChangeRawContentFast((function(e){e.containsEvent(1)&&n._resetTokenizationState()}))),n._register(n._textModel.onDidChangeContentFast((function(e){for(var t=0,i=e.changes.length;t1);){if(this._tokenizeOneInvalidLine(t)>=e)break}this._beginBackgroundTokenization(),this._textModel.setTokens(t.tokens)},t.prototype.tokenizeViewport=function(e,t){var n=new xe.b;this._tokenizeViewport(n,e,t),this._textModel.setTokens(n.tokens)},t.prototype.reset=function(){this._resetTokenizationState(),this._textModel.clearTokens()},t.prototype.forceTokenization=function(e){var t=new xe.b;this._updateTokensUntilLine(t,e),this._textModel.setTokens(t.tokens)},t.prototype.isCheapToTokenize=function(e){if(!this._tokenizationSupport)return!0;var t=this._tokenizationStateStore.invalidLineStartIndex+1;return!(e>t)&&(e0&&s>=1;s--){var a=this._textModel.getLineFirstNonWhitespaceColumn(s);if(0!==a&&a=0;s--){l=(h=Me(u,this._tokenizationSupport,o[s],l)).endState}for(var c=t;c<=n;c++){var d=this._textModel.getLineContent(c),h=Me(u,this._tokenizationSupport,d,l);e.add(c,h.tokens),this._tokenizationStateStore.setFakeTokens(c-1),l=h.endState}}},t}(r.a);function Me(e,t,n,o){var r=null;if(t)try{r=t.tokenize2(n,o.clone(),0)}catch(e){Object(i.e)(e)}return r||(r=Object(Le.e)(e.id,n,o,0)),Se.a.convertToEndOffset(r.tokens,n.length),r}var Te=n("0JNc"),Pe=n("cMvZ"),Re=n("BFtn"),Ae=n("EIAu"),Fe=n("746U"),je=n("zrhQ"),We=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function Ve(e){var t=new fe;return t.acceptChunk(e),t.finish()}function Be(e,t){return("string"==typeof e?Ve(e):e).create(t)}var He=0,ze=function(){throw new Error("Invalid change accessor")},Ue=function(e){function t(n,i,r,u){void 0===u&&(u=null);var l=e.call(this)||this;l._onWillDispose=l._register(new o.a),l.onWillDispose=l._onWillDispose.event,l._onDidChangeDecorations=l._register(new $e),l.onDidChangeDecorations=l._onDidChangeDecorations.event,l._onDidChangeLanguage=l._register(new o.a),l.onDidChangeLanguage=l._onDidChangeLanguage.event,l._onDidChangeLanguageConfiguration=l._register(new o.a),l.onDidChangeLanguageConfiguration=l._onDidChangeLanguageConfiguration.event,l._onDidChangeTokens=l._register(new o.a),l.onDidChangeTokens=l._onDidChangeTokens.event,l._onDidChangeOptions=l._register(new o.a),l.onDidChangeOptions=l._onDidChangeOptions.event,l._onDidChangeAttached=l._register(new o.a),l.onDidChangeAttached=l._onDidChangeAttached.event,l._eventEmitter=l._register(new et),He++,l.id="$model"+He,l.isForSimpleWidget=i.isForSimpleWidget,l._associatedResource=null==u?a.a.parse("inmemory://model/"+He):u,l._attachedEditorCount=0,l._buffer=Be(n,i.defaultEOL),l._options=t.resolveOptions(l._buffer,i);var d=l._buffer.getLineCount(),h=l._buffer.getValueLengthInRange(new c.a(1,1,d,l._buffer.getLineLength(d)+1),0);return i.largeFileOptimizations?l._isTooLargeForTokenization=h>t.LARGE_FILE_SIZE_THRESHOLD||d>t.LARGE_FILE_LINE_COUNT_THRESHOLD:l._isTooLargeForTokenization=!1,l._isTooLargeForSyncing=h>t.MODEL_SYNC_LIMIT,l._versionId=1,l._alternativeVersionId=1,l._isDisposed=!1,l._isDisposing=!1,l._languageIdentifier=r||Le.a,l._languageRegistryListener=Pe.a.onDidChange((function(e){e.languageIdentifier.id===l._languageIdentifier.id&&l._onDidChangeLanguageConfiguration.fire({})})),l._instanceId=s.M(He),l._lastDecorationId=0,l._decorations=Object.create(null),l._decorationsTree=new Ke,l._commandManager=new m(l),l._isUndoing=!1,l._isRedoing=!1,l._trimAutoWhitespaceLines=null,l._tokens=new xe.d,l._tokens2=new xe.e,l._tokenization=new Ie(l),l}return We(t,e),t.createFromString=function(e,n,i,o){return void 0===n&&(n=t.DEFAULT_CREATION_OPTIONS),void 0===i&&(i=null),void 0===o&&(o=null),new t(e,n,i,o)},t.resolveOptions=function(e,t){if(t.detectIndentation){var n=b(e,t.tabSize,t.insertSpaces);return new h.e({tabSize:n.tabSize,indentSize:n.tabSize,insertSpaces:n.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})}return new h.e({tabSize:t.tabSize,indentSize:t.indentSize,insertSpaces:t.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})},t.prototype.onDidChangeRawContentFast=function(e){return this._eventEmitter.fastEvent((function(t){return e(t.rawContentChangedEvent)}))},t.prototype.onDidChangeRawContent=function(e){return this._eventEmitter.slowEvent((function(t){return e(t.rawContentChangedEvent)}))},t.prototype.onDidChangeContentFast=function(e){return this._eventEmitter.fastEvent((function(t){return e(t.contentChangedEvent)}))},t.prototype.onDidChangeContent=function(e){return this._eventEmitter.slowEvent((function(t){return e(t.contentChangedEvent)}))},t.prototype.dispose=function(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,e.prototype.dispose.call(this),this._isDisposing=!1},t.prototype._assertNotDisposed=function(){if(this._isDisposed)throw new Error("Model is disposed!")},t.prototype._emitContentChangedEvent=function(e,t){this._isDisposing||this._eventEmitter.fire(new Ce(e,t))},t.prototype.setValue=function(e){if(this._assertNotDisposed(),null!==e){var t=Be(e,this._options.defaultEOL);this.setValueFromTextBuffer(t)}},t.prototype._createContentChanged2=function(e,t,n,i,o,r,s){return{changes:[{range:e,rangeOffset:t,rangeLength:n,text:i}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:o,isRedoing:r,isFlush:s}},t.prototype.setValueFromTextBuffer=function(e){if(this._assertNotDisposed(),null!==e){var t=this.getFullModelRange(),n=this.getValueLengthInRange(t),i=this.getLineCount(),o=this.getLineMaxColumn(i);this._buffer=e,this._increaseVersionId(),this._tokens.flush(),this._tokens2.flush(),this._decorations=Object.create(null),this._decorationsTree=new Ke,this._commandManager=new m(this),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new ye([new ge],this._versionId,!1,!1),this._createContentChanged2(new c.a(1,1,i,o),0,n,this.getValue(),!1,!1,!0))}},t.prototype.setEOL=function(e){this._assertNotDisposed();var t=1===e?"\r\n":"\n";if(this._buffer.getEOL()!==t){var n=this.getFullModelRange(),i=this.getValueLengthInRange(n),o=this.getLineCount(),r=this.getLineMaxColumn(o);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new ye([new be],this._versionId,!1,!1),this._createContentChanged2(new c.a(1,1,o,r),0,i,this.getValue(),!1,!1,!1))}},t.prototype._onBeforeEOLChange=function(){var e=this.getVersionId(),t=this._decorationsTree.search(0,!1,!1,e);this._ensureNodesHaveRanges(t)},t.prototype._onAfterEOLChange=function(){for(var e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder(),n=0,i=t.length;n0},t.prototype.getAttachedEditorCount=function(){return this._attachedEditorCount},t.prototype.isTooLargeForSyncing=function(){return this._isTooLargeForSyncing},t.prototype.isTooLargeForTokenization=function(){return this._isTooLargeForTokenization},t.prototype.isDisposed=function(){return this._isDisposed},t.prototype.isDominatedByLongLines=function(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;for(var e=0,t=0,n=this._buffer.getLineCount(),i=1;i<=n;i++){var o=this._buffer.getLineLength(i);o>=1e4?t+=o:e+=o}return t>e},Object.defineProperty(t.prototype,"uri",{get:function(){return this._associatedResource},enumerable:!0,configurable:!0}),t.prototype.getOptions=function(){return this._assertNotDisposed(),this._options},t.prototype.getFormattingOptions=function(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}},t.prototype.updateOptions=function(e){this._assertNotDisposed();var t=void 0!==e.tabSize?e.tabSize:this._options.tabSize,n=void 0!==e.indentSize?e.indentSize:this._options.indentSize,i=void 0!==e.insertSpaces?e.insertSpaces:this._options.insertSpaces,o=void 0!==e.trimAutoWhitespace?e.trimAutoWhitespace:this._options.trimAutoWhitespace,r=new h.e({tabSize:t,indentSize:n,insertSpaces:i,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:o});if(!this._options.equals(r)){var s=this._options.createChangeEvent(r);this._options=r,this._onDidChangeOptions.fire(s)}},t.prototype.detectIndentation=function(e,t){this._assertNotDisposed();var n=b(this._buffer,t,e);this.updateOptions({insertSpaces:n.insertSpaces,tabSize:n.tabSize,indentSize:n.tabSize})},t._normalizeIndentationFromWhitespace=function(e,t,n){for(var i=0,o=0;othis.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(e)},t.prototype.getLineLength=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)},t.prototype.getLinesContent=function(){return this._assertNotDisposed(),this._buffer.getLinesContent()},t.prototype.getEOL=function(){return this._assertNotDisposed(),this._buffer.getEOL()},t.prototype.getLineMinColumn=function(e){return this._assertNotDisposed(),1},t.prototype.getLineMaxColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1},t.prototype.getLineFirstNonWhitespaceColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)},t.prototype.getLineLastNonWhitespaceColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)},t.prototype._validateRangeRelaxedNoAllocations=function(e){var t,n,i=this._buffer.getLineCount(),o=e.startLineNumber,r=e.startColumn;if(o<1)t=1,n=1;else if(o>i)t=i,n=this.getLineMaxColumn(t);else{if(t=0|o,r<=1)n=1;else n=r>=(h=this.getLineMaxColumn(t))?h:0|r}var s,a,u=e.endLineNumber,l=e.endColumn;if(u<1)s=1,a=1;else if(u>i)s=i,a=this.getLineMaxColumn(s);else{var h;if(s=0|u,l<=1)a=1;else a=l>=(h=this.getLineMaxColumn(s))?h:0|l}return o===t&&r===n&&u===s&&l===a&&e instanceof c.a&&!(e instanceof d.a)?e:new c.a(t,n,s,a)},t.prototype._isValidPosition=function(e,t,n){if("number"!=typeof e||"number"!=typeof t)return!1;if(isNaN(e)||isNaN(t))return!1;if(e<1||t<1)return!1;if((0|e)!==e||(0|t)!==t)return!1;if(e>this._buffer.getLineCount())return!1;if(1===t)return!0;if(t>this.getLineMaxColumn(e))return!1;if(1===n){var i=this._buffer.getLineCharCode(e,t-2);if(s.z(i))return!1}return!0},t.prototype._validatePosition=function(e,t,n){var i=Math.floor("number"!=typeof e||isNaN(e)?1:e),o=Math.floor("number"!=typeof t||isNaN(t)?1:t),r=this._buffer.getLineCount();if(i<1)return new l.a(1,1);if(i>r)return new l.a(r,this.getLineMaxColumn(r));if(o<=1)return new l.a(i,1);var a=this.getLineMaxColumn(i);if(o>=a)return new l.a(i,a);if(1===n){var u=this._buffer.getLineCharCode(i,o-2);if(s.z(u))return new l.a(i,o-1)}return new l.a(i,o)},t.prototype.validatePosition=function(e){return this._assertNotDisposed(),e instanceof l.a&&this._isValidPosition(e.lineNumber,e.column,1)?e:this._validatePosition(e.lineNumber,e.column,1)},t.prototype._isValidRange=function(e,t){var n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn;if(!this._isValidPosition(n,i,0))return!1;if(!this._isValidPosition(o,r,0))return!1;if(1===t){var a=i>1?this._buffer.getLineCharCode(n,i-2):0,u=r>1&&r<=this._buffer.getLineLength(o)?this._buffer.getLineCharCode(o,r-2):0,l=s.z(a),c=s.z(u);return!l&&!c}return!0},t.prototype.validateRange=function(e){if(this._assertNotDisposed(),e instanceof c.a&&!(e instanceof d.a)&&this._isValidRange(e,1))return e;var t=this._validatePosition(e.startLineNumber,e.startColumn,0),n=this._validatePosition(e.endLineNumber,e.endColumn,0),i=t.lineNumber,o=t.column,r=n.lineNumber,a=n.column,u=o>1?this._buffer.getLineCharCode(i,o-2):0,l=a>1&&a<=this._buffer.getLineLength(r)?this._buffer.getLineCharCode(r,a-2):0,h=s.z(u),p=s.z(l);return h||p?i===r&&o===a?new c.a(i,o-1,r,a-1):h&&p?new c.a(i,o-1,r,a+1):h?new c.a(i,o-1,r,a):new c.a(i,o,r,a+1):new c.a(i,o,r,a)},t.prototype.modifyPosition=function(e,t){this._assertNotDisposed();var n=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,n)))},t.prototype.getFullModelRange=function(){this._assertNotDisposed();var e=this.getLineCount();return new c.a(1,1,e,this.getLineMaxColumn(e))},t.prototype.findMatchesLineByLine=function(e,t,n,i){return this._buffer.findMatchesLineByLine(e,t,n,i)},t.prototype.findMatches=function(e,t,n,i,o,r,s){var a;if(void 0===s&&(s=999),this._assertNotDisposed(),a=c.a.isIRange(t)?this.validateRange(t):this.getFullModelRange(),!n&&e.indexOf("\n")<0){var u=new ie.a(e,n,i,o).parseSearchRequest();return u?this.findMatchesLineByLine(a,u,r,s):[]}return ie.c.findMatches(this,new ie.a(e,n,i,o),a,r,s)},t.prototype.findNextMatch=function(e,t,n,i,o,r){this._assertNotDisposed();var s=this.validatePosition(t);if(!n&&e.indexOf("\n")<0){var a=new ie.a(e,n,i,o).parseSearchRequest();if(!a)return null;var u=this.getLineCount(),l=new c.a(s.lineNumber,s.column,u,this.getLineMaxColumn(u)),d=this.findMatchesLineByLine(l,a,r,1);return ie.c.findNextMatch(this,new ie.a(e,n,i,o),s,r),d.length>0?d[0]:(l=new c.a(1,1,s.lineNumber,this.getLineMaxColumn(s.lineNumber)),(d=this.findMatchesLineByLine(l,a,r,1)).length>0?d[0]:null)}return ie.c.findNextMatch(this,new ie.a(e,n,i,o),s,r)},t.prototype.findPreviousMatch=function(e,t,n,i,o,r){this._assertNotDisposed();var s=this.validatePosition(t);return ie.c.findPreviousMatch(this,new ie.a(e,n,i,o),s,r)},t.prototype.pushStackElement=function(){this._commandManager.pushStackElement()},t.prototype.pushEOL=function(e){if(("\n"===this.getEOL()?0:1)!==e)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._commandManager.pushEOL(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype.pushEditOperations=function(e,t,n){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(e,t,n)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._pushEditOperations=function(e,t,n){var i=this;if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){for(var o=t.map((function(e){return{range:i.validateRange(e.range),text:e.text}})),r=!0,s=0,a=e.length;su.endLineNumber,f=u.startLineNumber>_.endLineNumber;if(!p&&!f){l=!0;break}}if(!l){r=!1;break}}if(r)for(s=0,a=this._trimAutoWhitespaceLines.length;s_.endLineNumber)&&!(g===_.startLineNumber&&_.startColumn===m&&_.isEmpty()&&b&&b.length>0&&"\n"===b.charAt(0)||g===_.startLineNumber&&1===_.startColumn&&_.isEmpty()&&b&&b.length>0&&"\n"===b.charAt(b.length-1))){v=!1;break}}v&&t.push({range:new c.a(g,1,g,m),text:null})}this._trimAutoWhitespaceLines=null}return this._commandManager.pushEditOperation(e,t,n)},t.prototype.applyEdits=function(e){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._applyEdits(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._applyEdits=function(e){for(var t=0,n=e.length;t0?l.text.charCodeAt(0):0),this._onDidChangeDecorations.fire(),this._decorationsTree.acceptReplace(l.rangeOffset,l.rangeLength,l.text.length,l.forceMoveMarkers);for(var f=l.range.startLineNumber,g=l.range.endLineNumber,m=g-f,v=d,_=Math.min(m,v),b=v-m,y=_;y>=0;y--){var C=f+y,w=r-u-b+C;a.push(new me(C,this.getLineContent(w)))}if(_this.getLineCount()?[]:this.getLinesDecorations(e,e,t,n)},t.prototype.getLinesDecorations=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o=this.getLineCount(),r=Math.min(o,Math.max(1,e)),s=Math.min(o,Math.max(1,t)),a=this.getLineMaxColumn(s);return this._getDecorationsInRange(new c.a(r,1,s,a),n,i)},t.prototype.getDecorationsInRange=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=!1);var i=this.validateRange(e);return this._getDecorationsInRange(i,t,n)},t.prototype.getOverviewRulerDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),i=this._decorationsTree.search(e,t,!0,n);return this._ensureNodesHaveRanges(i)},t.prototype.getAllDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),i=this._decorationsTree.search(e,t,!1,n);return this._ensureNodesHaveRanges(i)},t.prototype._getDecorationsInRange=function(e,t,n){var i=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),o=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn),r=this.getVersionId(),s=this._decorationsTree.intervalSearch(i,o,t,n,r);return this._ensureNodesHaveRanges(s)},t.prototype._ensureNodesHaveRanges=function(e){for(var t=0,n=e.length;tthis.getLineCount())throw new Error("Illegal value for lineNumber");this._tokens.setTokens(this._languageIdentifier.id,e-1,this._buffer.getLineLength(e),t)},t.prototype.setTokens=function(e){if(0!==e.length){for(var t=[],n=0,i=e.length;nthis.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(e)},t.prototype.isCheapToTokenize=function(e){return this._tokenization.isCheapToTokenize(e)},t.prototype.tokenizeIfCheap=function(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)},t.prototype.getLineTokens=function(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(e)},t.prototype._getLineTokens=function(e){var t=this.getLineContent(e),n=this._tokens.getTokens(this._languageIdentifier.id,e-1,t);return this._tokens2.addSemanticTokens(e,n)},t.prototype.getLanguageIdentifier=function(){return this._languageIdentifier},t.prototype.getModeId=function(){return this._languageIdentifier.language},t.prototype.setMode=function(e){if(this._languageIdentifier.id!==e.id){var t={oldLanguage:this._languageIdentifier.language,newLanguage:e.language};this._languageIdentifier=e,this._onDidChangeLanguage.fire(t),this._onDidChangeLanguageConfiguration.fire({})}},t.prototype.getLanguageIdAtPosition=function(e,t){var n=this.validatePosition(new l.a(e,t)),i=this.getLineTokens(n.lineNumber);return i.getLanguageId(i.findTokenIndexAtOffset(n.column-1))},t.prototype.getWordAtPosition=function(e){this._assertNotDisposed();var n=this.validatePosition(e),i=this.getLineContent(n.lineNumber),o=this._getLineTokens(n.lineNumber),r=o.findTokenIndexAtOffset(n.column-1),s=t._findLanguageBoundaries(o,r),a=s[0],u=s[1],l=Object(Te.d)(n.column,Pe.a.getWordDefinition(o.getLanguageId(r)),i.substring(a,u),a);if(l&&l.startColumn<=e.column&&e.column<=l.endColumn)return l;if(r>0&&a===n.column-1){var c=t._findLanguageBoundaries(o,r-1),d=c[0],h=c[1],p=Object(Te.d)(n.column,Pe.a.getWordDefinition(o.getLanguageId(r-1)),i.substring(d,h),d);if(p&&p.startColumn<=e.column&&e.column<=p.endColumn)return p}return null},t._findLanguageBoundaries=function(e,t){for(var n=e.getLanguageId(t),i=0,o=t;o>=0&&e.getLanguageId(o)===n;o--)i=e.getStartOffset(o);for(var r=e.getLineContent().length,s=(o=t,e.getCount());o=0;u--){var l=n.getEndOffset(u);if(l<=a)break;Object(Re.b)(n.getStandardTokenType(u))&&(a=l)}for(var c=Math.min(o.length,e.column-1+s.maxBracketLength),d=null;;){if(!(m=Ae.a.findNextBracketInRange(s.forwardRegex,t,o,a,c)))break;if(m.startColumn<=e.column&&e.column<=m.endColumn){var h=o.substring(m.startColumn-1,m.endColumn-1).toLowerCase();(v=this._matchFoundBracket(m,s.textIsBracket[h],s.textIsOpenBracket[h]))&&(d=v)}a=m.endColumn-1}if(d)return d}if(r>0&&n.getStartOffset(r)===e.column-1){var p=r-1,f=Pe.a.getBracketsSupport(n.getLanguageId(p));if(f&&!Object(Re.b)(n.getStandardTokenType(p))){for(a=Math.max(0,e.column-1-f.maxBracketLength),c=Math.min(o.length,e.column-1+f.maxBracketLength),u=p+1;u=c)break;Object(Re.b)(n.getStandardTokenType(u))&&(c=g)}var m;if((m=Ae.a.findPrevBracketInRange(f.reversedRegex,t,o,a,c))&&m.startColumn<=e.column&&e.column<=m.endColumn){var v;h=o.substring(m.startColumn-1,m.endColumn-1).toLowerCase();if(v=this._matchFoundBracket(m,f.textIsBracket[h],f.textIsOpenBracket[h]))return v}}}return null},t.prototype._matchFoundBracket=function(e,t,n){if(!t)return null;var i;if(n){if(i=this._findMatchingBracketDown(t,e.getEndPosition()))return[e,i]}else if(i=this._findMatchingBracketUp(t,e.getStartPosition()))return[e,i];return null},t.prototype._findMatchingBracketUp=function(e,t){for(var n=e.languageIdentifier.id,i=e.reversedRegex,o=-1,r=function(t,n,r,s){for(;;){var a=Ae.a.findPrevBracketInRange(i,t,n,r,s);if(!a)break;var u=n.substring(a.startColumn-1,a.endColumn-1).toLowerCase();if(e.isOpen(u)?o++:e.isClose(u)&&o--,0===o)return a;s=a.startColumn-1}return null},s=t.lineNumber;s>=1;s--){var a=this._getLineTokens(s),u=a.getCount(),l=this._buffer.getLineContent(s),c=u-1,d=l.length,h=l.length;s===t.lineNumber&&(c=a.findTokenIndexAtOffset(t.column-1),d=t.column-1,h=t.column-1);for(var p=!0;c>=0;c--){var f,g=a.getLanguageId(c)===n&&!Object(Re.b)(a.getStandardTokenType(c));if(g)p?d=a.getStartOffset(c):(d=a.getStartOffset(c),h=a.getEndOffset(c));else if(p&&d!==h)if(f=r(s,l,d,h))return f;p=g}if(p&&d!==h)if(f=r(s,l,d,h))return f}return null},t.prototype._findMatchingBracketDown=function(e,t){for(var n=e.languageIdentifier.id,i=e.forwardRegex,o=1,r=function(t,n,r,s){for(;;){var a=Ae.a.findNextBracketInRange(i,t,n,r,s);if(!a)break;var u=n.substring(a.startColumn-1,a.endColumn-1).toLowerCase();if(e.isOpen(u)?o++:e.isClose(u)&&o--,0===o)return a;r=a.endColumn-1}return null},s=this.getLineCount(),a=t.lineNumber;a<=s;a++){var u=this._getLineTokens(a),l=u.getCount(),c=this._buffer.getLineContent(a),d=0,h=0,p=0;a===t.lineNumber&&(d=u.findTokenIndexAtOffset(t.column-1),h=t.column-1,p=t.column-1);for(var f=!0;d=1;o--){var r=this._getLineTokens(o),s=r.getCount(),a=this._buffer.getLineContent(o),u=s-1,l=a.length,c=a.length;if(o===t.lineNumber)u=r.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1,n!==(h=r.getLanguageId(u))&&(n=h,i=Pe.a.getBracketsSupport(n));for(var d=!0;u>=0;u--){var h;if(n!==(h=r.getLanguageId(u))){if(i&&d&&l!==c){if(p=Ae.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,p);d=!1}n=h,i=Pe.a.getBracketsSupport(n)}var p,f=!!i&&!Object(Re.b)(r.getStandardTokenType(u));if(f)d?l=r.getStartOffset(u):(l=r.getStartOffset(u),c=r.getEndOffset(u));else if(i&&d&&l!==c)if(p=Ae.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,p);d=f}if(i&&d&&l!==c)if(p=Ae.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,p)}return null},t.prototype.findNextBracket=function(e){for(var t=this.validatePosition(e),n=this.getLineCount(),i=-1,o=null,r=t.lineNumber;r<=n;r++){var s=this._getLineTokens(r),a=s.getCount(),u=this._buffer.getLineContent(r),l=0,c=0,d=0;if(r===t.lineNumber)l=s.findTokenIndexAtOffset(t.column-1),c=t.column-1,d=t.column-1,i!==(p=s.getLanguageId(l))&&(i=p,o=Pe.a.getBracketsSupport(i));for(var h=!0;lt)return null;var p=this._getLineTokens(h),f=p.getCount(),g=this._buffer.getLineContent(h),m=0,v=0,_=0;if(h===i.lineNumber)m=p.findTokenIndexAtOffset(i.column-1),v=i.column-1,_=i.column-1,l!==(y=p.getLanguageId(m))&&a(l=y,c=Pe.a.getBracketsSupport(l));for(var b=!0;mo)throw new Error("Illegal value for lineNumber");for(var r=Pe.a.getFoldingRules(this._languageIdentifier.id),s=Boolean(r&&r.offSide),a=-2,u=-1,l=-2,c=-1,d=function(e){if(-1!==a&&(-2===a||a>e-1)){a=-1,u=-1;for(var t=e-2;t>=0;t--){var n=i._computeIndentLevel(t);if(n>=0){a=t,u=n;break}}}if(-2===l){l=-1,c=-1;for(t=e;t=0){l=t,c=r;break}}}},h=-2,p=-1,f=-2,g=-1,m=function(e){if(-2===h){h=-1,p=-1;for(var t=e-2;t>=0;t--){var n=i._computeIndentLevel(t);if(n>=0){h=t,p=n;break}}}if(-1!==f&&(-2===f||f=0){f=t,g=r;break}}}},v=0,_=!0,b=0,y=!0,C=0,w=0;_||y;w++){var S=e-w,O=e+w;if(0!==w&&(S<1||So||O>n)&&(y=!1),w>5e4&&(_=!1,y=!1),_){var L=void 0;if((D=this._computeIndentLevel(S-1))>=0?(l=S-1,c=D,L=Math.ceil(D/this._options.indentSize)):(d(S),L=this._getIndentLevelForWhitespaceLine(s,u,c)),0===w){if(v=S,b=O,0===(C=L))return{startLineNumber:v,endLineNumber:b,indent:C};continue}L>=C?v=S:_=!1}if(y){var D,x=void 0;(D=this._computeIndentLevel(O-1))>=0?(h=O-1,p=D,x=Math.ceil(D/this._options.indentSize)):(m(O),x=this._getIndentLevelForWhitespaceLine(s,p,g)),x>=C?b=O:y=!1}}return{startLineNumber:v,endLineNumber:b,indent:C}},t.prototype.getLinesIndentGuides=function(e,t){this._assertNotDisposed();var n=this.getLineCount();if(e<1||e>n)throw new Error("Illegal value for startLineNumber");if(t<1||t>n)throw new Error("Illegal value for endLineNumber");for(var i=Pe.a.getFoldingRules(this._languageIdentifier.id),o=Boolean(i&&i.offSide),r=new Array(t-e+1),s=-2,a=-1,u=-2,l=-1,c=e;c<=t;c++){var d=c-e,h=this._computeIndentLevel(c-1);if(h>=0)s=c-1,a=h,r[d]=Math.ceil(h/this._options.indentSize);else{if(-2===s){s=-1,a=-1;for(var p=c-2;p>=0;p--){if((f=this._computeIndentLevel(p))>=0){s=p,a=f;break}}}if(-1!==u&&(-2===u||u=0){u=p,l=f;break}}}r[d]=this._getIndentLevelForWhitespaceLine(o,a,l)}}return r},t.prototype._getIndentLevelForWhitespaceLine=function(e,t,n){return-1===t||-1===n?0:t0?this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(e):this._deferredEvent=e:(this._fastEmitter.fire(e),this._slowEmitter.fire(e))},t}(r.a)},tXSY: +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/supports.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/supports/richEditBrackets.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js */function(e,t,n){"use strict";n.d(t,"b",(function(){return Ue})),n.d(t,"a",(function(){return Xe}));var i=n("/cxE"),o=n("MI8n"),r=n("pmY6"),s=n("N0LK"),a=n("bY76"),u=n("/UlZ"),l=n("cGHE"),c=n("aokT"),d=n("gCVg"),h=n("M1Kb"),p=function(){function e(e,t){this.beforeVersionId=e,this.beforeCursorState=t,this.afterCursorState=null,this.afterVersionId=-1,this.editOperations=[]}return e.prototype.undo=function(e){for(var t=this.editOperations.length-1;t>=0;t--)this.editOperations[t]={operations:e.applyEdits(this.editOperations[t].operations)}},e.prototype.redo=function(e){for(var t=0;t0){var e=this.past.pop();try{e.undo(this.model)}catch(e){return Object(i.e)(e),this.clear(),null}return this.future.push(e),{selections:e.beforeCursorState,recordedVersionId:e.beforeVersionId}}return null},e.prototype.canUndo=function(){return this.past.length>0||null!==this.currentOpenStackElement},e.prototype.redo=function(){if(this.future.length>0){var e=this.future.pop();try{e.redo(this.model)}catch(e){return Object(i.e)(e),this.clear(),null}return this.past.push(e),{selections:e.afterCursorState,recordedVersionId:e.afterVersionId}}return null},e.prototype.canRedo=function(){return this.future.length>0},e}(),v=function(){this.spacesDiff=0,this.looksLikeAlignment=!1};function _(e,t,n,i,o){var r;for(o.spacesDiff=0,o.looksLikeAlignment=!1,r=0;r0&&a>0||l>0&&c>0)){var d=Math.abs(a-c),h=Math.abs(s-l);if(0===d)return o.spacesDiff=h,void(h>0&&0<=l-1&&l-10?o++:m>1&&r++,_(s,a,h,g,l),!l.looksLikeAlignment||n&&t===l.spacesDiff)){var S=l.spacesDiff;S<=8&&u[S]++,s=h,a=g}}var O=n;o!==r&&(O=oD&&(D=t,L=e)})),4===L&&u[4]>0&&u[2]>0&&u[2]>=u[4]/2&&(L=2)}return{insertSpaces:O,tabSize:L}}function y(e){return(1&e.metadata)>>>0}function C(e,t){e.metadata=254&e.metadata|t<<0}function w(e){return(2&e.metadata)>>>1==1}function S(e,t){e.metadata=253&e.metadata|(t?1:0)<<1}function O(e){return(4&e.metadata)>>>2==1}function L(e,t){e.metadata=251&e.metadata|(t?1:0)<<2}function D(e){return(8&e.metadata)>>>3==1}function x(e,t){e.metadata=247&e.metadata|(t?1:0)<<3}function N(e,t){e.metadata=207&e.metadata|t<<4}function k(e,t){e.metadata=191&e.metadata|(t?1:0)<<6}var E=function(){function e(e,t,n){this.metadata=0,this.parent=this,this.left=this,this.right=this,C(this,1),this.start=t,this.end=n,this.delta=0,this.maxEnd=n,this.id=e,this.ownerId=0,this.options=null,L(this,!1),N(this,1),x(this,!1),k(this,!1),this.cachedVersionId=0,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=null,S(this,!1)}return e.prototype.reset=function(e,t,n,i){this.start=t,this.end=n,this.maxEnd=n,this.cachedVersionId=e,this.cachedAbsoluteStart=t,this.cachedAbsoluteEnd=n,this.range=i},e.prototype.setOptions=function(e){this.options=e;var t=this.options.className;L(this,"squiggly-error"===t||"squiggly-warning"===t||"squiggly-info"===t),N(this,this.options.stickiness),x(this,!(!this.options.overviewRuler||!this.options.overviewRuler.color)),k(this,this.options.collapseOnReplaceEdit)},e.prototype.setCachedOffsets=function(e,t,n){this.cachedVersionId!==n&&(this.range=null),this.cachedVersionId=n,this.cachedAbsoluteStart=e,this.cachedAbsoluteEnd=t},e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},e}(),I=new E(null,0,0);I.parent=I,I.left=I,I.right=I,C(I,0);var M=function(){function e(){this.root=I,this.requestNormalizeDelta=!1}return e.prototype.intervalSearch=function(e,t,n,i,o){return this.root===I?[]:function(e,t,n,i,o,r){var s=e.root,a=0,u=0,l=0,c=[],d=0;for(;s!==I;)if(w(s))S(s.left,!1),S(s.right,!1),s===s.parent.right&&(a-=s.parent.delta),s=s.parent;else{if(!w(s.left)){if(a+s.maxEndn)S(s,!0);else{if((l=a+s.end)>=t){s.setCachedOffsets(u,l,r);var h=!0;i&&s.ownerId&&s.ownerId!==i&&(h=!1),o&&O(s)&&(h=!1),h&&(c[d++]=s)}S(s,!0),s.right===I||w(s.right)||(a+=s.delta,s=s.right)}}return S(e.root,!1),c}(this,e,t,n,i,o)},e.prototype.search=function(e,t,n){return this.root===I?[]:function(e,t,n,i){var o=e.root,r=0,s=0,a=0,u=[],l=0;for(;o!==I;)if(w(o))S(o.left,!1),S(o.right,!1),o===o.parent.right&&(r-=o.parent.delta),o=o.parent;else if(o.left===I||w(o.left)){s=r+o.start,a=r+o.end,o.setCachedOffsets(s,a,i);var c=!0;t&&o.ownerId&&o.ownerId!==t&&(c=!1),n&&O(o)&&(c=!1),c&&(u[l++]=o),S(o,!0),o.right===I||w(o.right)||(r+=o.delta,o=o.right)}else o=o.left;return S(e.root,!1),u}(this,e,t,n)},e.prototype.collectNodesFromOwner=function(e){return function(e,t){var n=e.root,i=[],o=0;for(;n!==I;)w(n)?(S(n.left,!1),S(n.right,!1),n=n.parent):n.left===I||w(n.left)?(n.ownerId===t&&(i[o++]=n),S(n,!0),n.right===I||w(n.right)||(n=n.right)):n=n.left;return S(e.root,!1),i}(this,e)},e.prototype.collectNodesPostOrder=function(){return function(e){var t=e.root,n=[],i=0;for(;t!==I;)w(t)?(S(t.left,!1),S(t.right,!1),t=t.parent):t.left===I||w(t.left)?t.right===I||w(t.right)?(n[i++]=t,S(t,!0)):t=t.right:t=t.left;return S(e.root,!1),n}(this)},e.prototype.insert=function(e){R(this,e),this._normalizeDeltaIfNecessary()},e.prototype.delete=function(e){A(this,e),this._normalizeDeltaIfNecessary()},e.prototype.resolveNode=function(e,t){for(var n=e,i=0;e!==this.root;)e===e.parent.right&&(i+=e.parent.delta),e=e.parent;var o=n.start+i,r=n.end+i;n.setCachedOffsets(o,r,t)},e.prototype.acceptReplace=function(e,t,n,i){for(var o=function(e,t,n){var i=e.root,o=0,r=0,s=0,a=[],u=0;for(;i!==I;)if(w(i))S(i.left,!1),S(i.right,!1),i===i.parent.right&&(o-=i.parent.delta),i=i.parent;else{if(!w(i.left)){if(o+i.maxEndn?S(i,!0):((s=o+i.end)>=t&&(i.setCachedOffsets(r,s,0),a[u++]=i),S(i,!0),i.right===I||w(i.right)||(o+=i.delta,i=i.right))}return S(e.root,!1),a}(this,e,e+t),r=0,s=o.length;rn?(o.start+=s,o.end+=s,o.delta+=s,(o.delta<-1073741824||o.delta>1073741824)&&(e.requestNormalizeDelta=!0),S(o,!0)):(S(o,!0),o.right===I||w(o.right)||(r+=o.delta,o=o.right))}S(e.root,!1)}(this,e,e+t,n),this._normalizeDeltaIfNecessary();for(r=0,s=o.length;rn)&&(1!==i&&(2===i||t))}function P(e,t,n,i,o){var r=function(e){return(48&e.metadata)>>>4}(e),s=0===r||2===r,a=1===r||2===r,u=n-t,l=i,c=Math.min(u,l),d=e.start,h=!1,p=e.end,f=!1;t<=d&&p<=n&&function(e){return(64&e.metadata)>>>6==1}(e)&&(e.start=t,h=!0,e.end=t,f=!0);var g=o?1:u>0?2:0;if(!h&&T(d,s,t,g)&&(h=!0),!f&&T(p,a,t,g)&&(f=!0),c>0&&!o){g=u>l?2:0;!h&&T(d,s,t+c,g)&&(h=!0),!f&&T(p,a,t+c,g)&&(f=!0)}g=o?1:0;!h&&T(d,s,n,g)&&(e.start=t+l,h=!0),!f&&T(p,a,n,g)&&(e.end=t+l,f=!0);var m=l-u;h||(e.start=Math.max(0,d+m)),f||(e.end=Math.max(0,p+m)),e.start>e.end&&(e.end=e.start)}function R(e,t){if(e.root===I)return t.parent=I,t.left=I,t.right=I,C(t,0),e.root=t,e.root;!function(e,t){var n=0,i=e.root,o=t.start,r=t.end;for(;;){if(z(o,r,i.start+n,i.end+n)<0){if(i.left===I){t.start-=n,t.end-=n,t.maxEnd-=n,i.left=t;break}i=i.left}else{if(i.right===I){t.start-=n+i.delta,t.end-=n+i.delta,t.maxEnd-=n+i.delta,i.right=t;break}n+=i.delta,i=i.right}}t.parent=i,t.left=I,t.right=I,C(t,1)}(e,t),H(t.parent);for(var n=t;n!==e.root&&1===y(n.parent);){var i;if(n.parent===n.parent.parent.left)1===y(i=n.parent.parent.right)?(C(n.parent,0),C(i,0),C(n.parent.parent,1),n=n.parent.parent):(n===n.parent.right&&j(e,n=n.parent),C(n.parent,0),C(n.parent.parent,1),W(e,n.parent.parent));else 1===y(i=n.parent.parent.left)?(C(n.parent,0),C(i,0),C(n.parent.parent,1),n=n.parent.parent):(n===n.parent.left&&W(e,n=n.parent),C(n.parent,0),C(n.parent.parent,1),j(e,n.parent.parent))}return C(e.root,0),t}function A(e,t){var n,i;if(t.left===I?(i=t,(n=t.right).delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta):t.right===I?(n=t.left,i=t):((n=(i=function(e){for(;e.left!==I;)e=e.left;return e}(t.right)).right).start+=i.delta,n.end+=i.delta,n.delta+=i.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),i.start+=t.delta,i.end+=t.delta,i.delta=t.delta,(i.delta<-1073741824||i.delta>1073741824)&&(e.requestNormalizeDelta=!0)),i===e.root)return e.root=n,C(n,0),t.detach(),F(),B(n),void(e.root.parent=I);var o,r=1===y(i);if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?n.parent=i.parent:(i.parent===t?n.parent=i:n.parent=i.parent,i.left=t.left,i.right=t.right,i.parent=t.parent,C(i,y(t)),t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==I&&(i.left.parent=i),i.right!==I&&(i.right.parent=i)),t.detach(),r)return H(n.parent),i!==t&&(H(i),H(i.parent)),void F();for(H(n),H(n.parent),i!==t&&(H(i),H(i.parent));n!==e.root&&0===y(n);)n===n.parent.left?(1===y(o=n.parent.right)&&(C(o,0),C(n.parent,1),j(e,n.parent),o=n.parent.right),0===y(o.left)&&0===y(o.right)?(C(o,1),n=n.parent):(0===y(o.right)&&(C(o.left,0),C(o,1),W(e,o),o=n.parent.right),C(o,y(n.parent)),C(n.parent,0),C(o.right,0),j(e,n.parent),n=e.root)):(1===y(o=n.parent.left)&&(C(o,0),C(n.parent,1),W(e,n.parent),o=n.parent.left),0===y(o.left)&&0===y(o.right)?(C(o,1),n=n.parent):(0===y(o.left)&&(C(o.right,0),C(o,1),j(e,o),o=n.parent.left),C(o,y(n.parent)),C(n.parent,0),C(o.left,0),W(e,n.parent),n=e.root));C(n,0),F()}function F(){I.parent=I,I.delta=0,I.start=0,I.end=0}function j(e,t){var n=t.right;n.delta+=t.delta,(n.delta<-1073741824||n.delta>1073741824)&&(e.requestNormalizeDelta=!0),n.start+=t.delta,n.end+=t.delta,t.right=n.left,n.left!==I&&(n.left.parent=t),n.parent=t.parent,t.parent===I?e.root=n:t===t.parent.left?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n,B(t),B(n)}function W(e,t){var n=t.left;t.delta-=n.delta,(t.delta<-1073741824||t.delta>1073741824)&&(e.requestNormalizeDelta=!0),t.start-=n.delta,t.end-=n.delta,t.left=n.right,n.right!==I&&(n.right.parent=t),n.parent=t.parent,t.parent===I?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n,B(t),B(n)}function V(e){var t=e.end;if(e.left!==I){var n=e.left.maxEnd;n>t&&(t=n)}if(e.right!==I){var i=e.right.maxEnd+e.delta;i>t&&(t=i)}return t}function B(e){e.maxEnd=V(e)}function H(e){for(;e!==I;){var t=V(e);if(e.maxEnd===t)return;e.maxEnd=t,e=e.parent}}function z(e,t,n,i){return e===n?t-i:e-n}var U=function(){function e(e,t){this.piece=e,this.color=t,this.size_left=0,this.lf_left=0,this.parent=this,this.left=this,this.right=this}return e.prototype.next=function(){if(this.right!==K)return q(this.right);for(var e=this;e.parent!==K&&e.parent.left!==e;)e=e.parent;return e.parent===K?K:e.parent},e.prototype.prev=function(){if(this.left!==K)return G(this.left);for(var e=this;e.parent!==K&&e.parent.right!==e;)e=e.parent;return e.parent===K?K:e.parent},e.prototype.detach=function(){this.parent=null,this.left=null,this.right=null},e}(),K=new U(null,0);function q(e){for(;e.left!==K;)e=e.left;return e}function G(e){for(;e.right!==K;)e=e.right;return e}function Y(e){return e===K?0:e.size_left+e.piece.length+Y(e.right)}function Z(e){return e===K?0:e.lf_left+e.piece.lineFeedCnt+Z(e.right)}function X(){K.parent=K}function Q(e,t){var n=t.right;n.size_left+=t.size_left+(t.piece?t.piece.length:0),n.lf_left+=t.lf_left+(t.piece?t.piece.lineFeedCnt:0),t.right=n.left,n.left!==K&&(n.left.parent=t),n.parent=t.parent,t.parent===K?e.root=n:t.parent.left===t?t.parent.left=n:t.parent.right=n,n.left=t,t.parent=n}function J(e,t){var n=t.left;t.left=n.right,n.right!==K&&(n.right.parent=t),n.parent=t.parent,t.size_left-=n.size_left+(n.piece?n.piece.length:0),t.lf_left-=n.lf_left+(n.piece?n.piece.lineFeedCnt:0),t.parent===K?e.root=n:t===t.parent.right?t.parent.right=n:t.parent.left=n,n.right=t,t.parent=n}function $(e,t){var n,i;if(n=t.left===K?(i=t).right:t.right===K?(i=t).left:(i=q(t.right)).right,i===e.root)return e.root=n,n.color=0,t.detach(),X(),void(e.root.parent=K);var o=1===i.color;if(i===i.parent.left?i.parent.left=n:i.parent.right=n,i===t?(n.parent=i.parent,ne(e,n)):(i.parent===t?n.parent=i:n.parent=i.parent,ne(e,n),i.left=t.left,i.right=t.right,i.parent=t.parent,i.color=t.color,t===e.root?e.root=i:t===t.parent.left?t.parent.left=i:t.parent.right=i,i.left!==K&&(i.left.parent=i),i.right!==K&&(i.right.parent=i),i.size_left=t.size_left,i.lf_left=t.lf_left,ne(e,i)),t.detach(),n.parent.left===n){var r=Y(n),s=Z(n);if(r!==n.parent.size_left||s!==n.parent.lf_left){var a=r-n.parent.size_left,u=s-n.parent.lf_left;n.parent.size_left=r,n.parent.lf_left=s,te(e,n.parent,a,u)}}if(ne(e,n.parent),o)X();else{for(var l;n!==e.root&&0===n.color;)n===n.parent.left?(1===(l=n.parent.right).color&&(l.color=0,n.parent.color=1,Q(e,n.parent),l=n.parent.right),0===l.left.color&&0===l.right.color?(l.color=1,n=n.parent):(0===l.right.color&&(l.left.color=0,l.color=1,J(e,l),l=n.parent.right),l.color=n.parent.color,n.parent.color=0,l.right.color=0,Q(e,n.parent),n=e.root)):(1===(l=n.parent.left).color&&(l.color=0,n.parent.color=1,J(e,n.parent),l=n.parent.left),0===l.left.color&&0===l.right.color?(l.color=1,n=n.parent):(0===l.left.color&&(l.right.color=0,l.color=1,Q(e,l),l=n.parent.left),l.color=n.parent.color,n.parent.color=0,l.left.color=0,J(e,n.parent),n=e.root));n.color=0,X()}}function ee(e,t){for(ne(e,t);t!==e.root&&1===t.parent.color;){var n;if(t.parent===t.parent.parent.left)1===(n=t.parent.parent.right).color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.right&&Q(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,J(e,t.parent.parent));else 1===(n=t.parent.parent.left).color?(t.parent.color=0,n.color=0,t.parent.parent.color=1,t=t.parent.parent):(t===t.parent.left&&J(e,t=t.parent),t.parent.color=0,t.parent.parent.color=1,Q(e,t.parent.parent))}e.root.color=0}function te(e,t,n,i){for(;t!==e.root&&t!==K;)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}function ne(e,t){var n=0,i=0;if(t!==e.root){if(0===n){for(;t!==e.root&&t===t.parent.right;)t=t.parent;if(t===e.root)return;n=Y((t=t.parent).left)-t.size_left,i=Z(t.left)-t.lf_left,t.size_left+=n,t.lf_left+=i}for(;t!==e.root&&(0!==n||0!==i);)t.parent.left===t&&(t.parent.size_left+=n,t.parent.lf_left+=i),t=t.parent}}K.parent=K,K.left=K,K.right=K,K.color=0;var ie=n("jAJ/");function oe(e){var t;return(t=e[e.length-1]<65536?new Uint16Array(e.length):new Uint32Array(e.length)).set(e,0),t}var re=function(e,t,n,i,o){this.lineStarts=e,this.cr=t,this.lf=n,this.crlf=i,this.isBasicASCII=o};function se(e,t){void 0===t&&(t=!0);for(var n=[0],i=1,o=0,r=e.length;o=0;t--){var n=this._cache[t];if(n.nodeStartOffset<=e&&n.nodeStartOffset+n.node.piece.length>=e)return n}return null},e.prototype.get2=function(e){for(var t=this._cache.length-1;t>=0;t--){var n=this._cache[t];if(n.nodeStartLineNumber&&n.nodeStartLineNumber=e)return n}return null},e.prototype.set=function(e){this._cache.length>=this._limit&&this._cache.shift(),this._cache.push(e)},e.prototype.valdiate=function(e){for(var t=!1,n=this._cache,i=0;i=e)&&(n[i]=null,t=!0)}if(t){for(var r=[],s=0,a=n;s0){e[o].lineStarts||(e[o].lineStarts=se(e[o].buffer));var s=new ue(o+1,{line:0,column:0},{line:e[o].lineStarts.length-1,column:e[o].buffer.length-e[o].lineStarts[e[o].lineStarts.length-1]},e[o].lineStarts.length-1,e[o].buffer.length);this._buffers.push(e[o]),i=this.rbInsertRight(i,s)}this._searchCache=new ce(1),this._lastVisitedLine={lineNumber:0,value:""},this.computeBufferMetadata()},e.prototype.normalizeEOL=function(e){var t=this,n=65535-Math.floor(21845),i=2*n,o="",r=0,s=[];if(this.iterate(this.root,(function(a){var u=t.getNodeContent(a),l=u.length;if(r<=n||r+l0){var a=o.replace(/\r\n|\r|\n/g,e);s.push(new le(a,se(a)))}this.create(s,e,!0)},e.prototype.getEOL=function(){return this._EOL},e.prototype.setEOL=function(e){this._EOL=e,this._EOLLength=this._EOL.length,this.normalizeEOL(e)},e.prototype.getOffsetAt=function(e,t){for(var n=0,i=this.root;i!==K;)if(i.left!==K&&i.lf_left+1>=e)i=i.left;else{if(i.lf_left+i.piece.lineFeedCnt+1>=e)return(n+=i.size_left)+(this.getAccumulatedValue(i,e-i.lf_left-2)+t-1);e-=i.lf_left+i.piece.lineFeedCnt,n+=i.size_left+i.piece.length,i=i.right}return n},e.prototype.getPositionAt=function(e){e=Math.floor(e),e=Math.max(0,e);for(var t=this.root,n=0,i=e;t!==K;)if(0!==t.size_left&&t.size_left>=e)t=t.left;else{if(t.size_left+t.piece.length>=e){var o=this.getIndexOf(t,e-t.size_left);if(n+=t.lf_left+o.index,0===o.index){var r=i-this.getOffsetAt(n+1,1);return new l.a(n+1,r+1)}return new l.a(n+1,o.remainder+1)}if(e-=t.size_left+t.piece.length,n+=t.lf_left+t.piece.lineFeedCnt,t.right===K){r=i-e-this.getOffsetAt(n+1,1);return new l.a(n+1,r+1)}t=t.right}return new l.a(1,1)},e.prototype.getValueInRange=function(e,t){if(e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn)return"";var n=this.nodeAt2(e.startLineNumber,e.startColumn),i=this.nodeAt2(e.endLineNumber,e.endColumn),o=this.getValueInRange2(n,i);return t?t===this._EOL&&this._EOLNormalized&&t===this.getEOL()&&this._EOLNormalized?o:o.replace(/\r\n|\r|\n/g,t):o},e.prototype.getValueInRange2=function(e,t){if(e.node===t.node){var n=e.node,i=this._buffers[n.piece.bufferIndex].buffer,o=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i.substring(o+e.remainder,o+t.remainder)}var r=e.node,s=this._buffers[r.piece.bufferIndex].buffer,a=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start),u=s.substring(a+e.remainder,a+r.piece.length);for(r=r.next();r!==K;){var l=this._buffers[r.piece.bufferIndex].buffer,c=this.offsetInBuffer(r.piece.bufferIndex,r.piece.start);if(r===t.node){u+=l.substring(c,c+t.remainder);break}u+=l.substr(c,r.piece.length),r=r.next()}return u},e.prototype.getLinesContent=function(){var e=this,t=[],n=0,i="",o=!1;return this.iterate(this.root,(function(r){if(r===K)return!0;var s=r.piece,a=s.length;if(0===a)return!0;var u=e._buffers[s.bufferIndex].buffer,l=e._buffers[s.bufferIndex].lineStarts,c=s.start.line,d=s.end.line,h=l[c]+s.start.column;if(o&&(10===u.charCodeAt(h)&&(h++,a--),t[n++]=i,i="",o=!1,0===a))return!0;if(c===d)return e._EOLNormalized||13!==u.charCodeAt(h+a-1)?i+=u.substr(h,a):(o=!0,i+=u.substr(h,a-1)),!0;i+=e._EOLNormalized?u.substring(h,Math.max(h,l[c+1]-e._EOLLength)):u.substring(h,l[c+1]).replace(/(\r\n|\r|\n)$/,""),t[n++]=i;for(var p=c+1;p=_)return l;this.positionInBuffer(e,f(h.index)-m,b);var y=this.getLineFeedCnt(e.piece.bufferIndex,o,b),C=b.line===o.line?b.column-o.column+i:b.column+1,w=C+h[0].length;if(d[l++]=Object(ie.d)(new c.a(n+y,C,n+y,w),h,a),f(h.index)+h[0].length>=_)return l;if(l>=u)return l}}while(h);return l},e.prototype.findMatchesLineByLine=function(e,t,n,i){var o=[],r=0,s=new ie.b(t.wordSeparators,t.regex),a=this.nodeAt2(e.startLineNumber,e.startColumn);if(null===a)return[];var u=this.nodeAt2(e.endLineNumber,e.endColumn);if(null===u)return[];var l=this.positionInBuffer(a.node,a.remainder),c=this.positionInBuffer(u.node,u.remainder);if(a.node===u.node)return this.findMatchesInNode(a.node,s,e.startLineNumber,e.startColumn,l,c,t,n,i,r,o),o;for(var d=e.startLineNumber,h=a.node;h!==u.node;){var p=this.getLineFeedCnt(h.piece.bufferIndex,l,h.piece.end);if(p>=1){var f=this._buffers[h.piece.bufferIndex].lineStarts,g=this.offsetInBuffer(h.piece.bufferIndex,h.piece.start),m=f[l.line+p],v=d===e.startLineNumber?e.startColumn:1;if((r=this.findMatchesInNode(h,s,d,v,l,this.positionInBuffer(h,m-g),t,n,i,r,o))>=i)return o;d+=p}var _=d===e.startLineNumber?e.startColumn-1:0;if(d===e.endLineNumber){var b=this.getLineContent(d).substring(_,e.endColumn-1);return r=this._findMatchesInLine(t,s,b,e.endLineNumber,_,r,o,n,i),o}if((r=this._findMatchesInLine(t,s,this.getLineContent(d).substr(_),d,_,r,o,n,i))>=i)return o;d++,h=(a=this.nodeAt2(d,1)).node,l=this.positionInBuffer(a.node,a.remainder)}if(d===e.endLineNumber){var y=d===e.startLineNumber?e.startColumn-1:0;b=this.getLineContent(d).substring(y,e.endColumn-1);return r=this._findMatchesInLine(t,s,b,e.endLineNumber,y,r,o,n,i),o}var C=d===e.startLineNumber?e.startColumn:1;return r=this.findMatchesInNode(u.node,s,d,C,l,c,t,n,i,r,o),o},e.prototype._findMatchesInLine=function(e,t,n,i,o,r,s,a,u){var l,d=e.wordSeparators;if(!a&&e.simpleSearch){for(var p=e.simpleSearch,f=p.length,g=n.length,m=-f;-1!==(m=n.indexOf(p,m+f));)if((!d||Object(ie.e)(d,n,g,m,f))&&(s[r++]=new h.b(new c.a(i,m+1+o,i,m+1+f+o),null),r>=u))return r;return r}t.reset(0);do{if((l=t.next(n))&&(s[r++]=Object(ie.d)(new c.a(i,l.index+1+o,i,l.index+1+l[0].length+o),l,a),r>=u))return r}while(l);return r},e.prototype.insert=function(e,t,n){if(void 0===n&&(n=!1),this._EOLNormalized=this._EOLNormalized&&n,this._lastVisitedLine.lineNumber=0,this._lastVisitedLine.value="",this.root!==K){var i=this.nodeAt(e),o=i.node,r=i.remainder,s=i.nodeStartOffset,a=o.piece,u=a.bufferIndex,l=this.positionInBuffer(o,r);if(0===o.piece.bufferIndex&&a.end.line===this._lastChangeBufferPos.line&&a.end.column===this._lastChangeBufferPos.column&&s+a.length===e&&t.length<65535)return this.appendToNode(o,t),void this.computeBufferMetadata();if(s===e)this.insertContentToNodeLeft(t,o),this._searchCache.valdiate(e);else if(s+o.piece.length>e){var c=[],d=new ue(a.bufferIndex,l,a.end,this.getLineFeedCnt(a.bufferIndex,l,a.end),this.offsetInBuffer(u,a.end)-this.offsetInBuffer(u,l));if(this.shouldCheckCRLF()&&this.endWithCR(t))if(10===this.nodeCharCodeAt(o,r)){var h={line:d.start.line+1,column:0};d=new ue(d.bufferIndex,h,d.end,this.getLineFeedCnt(d.bufferIndex,h,d.end),d.length-1),t+="\n"}if(this.shouldCheckCRLF()&&this.startWithLF(t))if(13===this.nodeCharCodeAt(o,r-1)){var p=this.positionInBuffer(o,r-1);this.deleteNodeTail(o,p),t="\r"+t,0===o.piece.length&&c.push(o)}else this.deleteNodeTail(o,l);else this.deleteNodeTail(o,l);var f=this.createNewPieces(t);d.length>0&&this.rbInsertRight(o,d);for(var g=o,m=0;m=0;u--)a=this.rbInsertLeft(a,s[u]);this.validateCRLFWithPrevNode(a),this.deleteNodes(n)},e.prototype.insertContentToNodeRight=function(e,t){this.adjustCarriageReturnFromNext(e,t)&&(e+="\n");for(var n=this.createNewPieces(e),i=this.rbInsertRight(t,n[0]),o=i,r=1;r=c))break;a=l+1}return n?(n.line=l,n.column=s-d,null):{line:l,column:s-d}},e.prototype.getLineFeedCnt=function(e,t,n){if(0===n.column)return n.line-t.line;var i=this._buffers[e].lineStarts;if(n.line===i.length-1)return n.line-t.line;var o=i[n.line+1],r=i[n.line]+n.column;if(o>r+1)return n.line-t.line;var s=r-1;return 13===this._buffers[e].buffer.charCodeAt(s)?n.line-t.line+1:n.line-t.line},e.prototype.offsetInBuffer=function(e,t){return this._buffers[e].lineStarts[t.line]+t.column},e.prototype.deleteNodes=function(e){for(var t=0;t65535){for(var t=[];e.length>65535;){var n=e.charCodeAt(65534),i=void 0;13===n||n>=55296&&n<=56319?(i=e.substring(0,65534),e=e.substring(65534)):(i=e.substring(0,65535),e=e.substring(65535));var o=se(i);t.push(new ue(this._buffers.length,{line:0,column:0},{line:o.length-1,column:i.length-o[o.length-1]},o.length-1,i.length)),this._buffers.push(new le(i,o))}var r=se(e);return t.push(new ue(this._buffers.length,{line:0,column:0},{line:r.length-1,column:e.length-r[r.length-1]},r.length-1,e.length)),this._buffers.push(new le(e,r)),t}var s=this._buffers[0].buffer.length,a=se(e,!1),u=this._lastChangeBufferPos;if(this._buffers[0].lineStarts[this._buffers[0].lineStarts.length-1]===s&&0!==s&&this.startWithLF(e)&&this.endWithCR(this._buffers[0].buffer)){this._lastChangeBufferPos={line:this._lastChangeBufferPos.line,column:this._lastChangeBufferPos.column+1},u=this._lastChangeBufferPos;for(var l=0;l=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){r=this.getAccumulatedValue(n,e-n.lf_left-2),u=this.getAccumulatedValue(n,e-n.lf_left-1),s=this._buffers[n.piece.bufferIndex].buffer,a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return l+=n.size_left,this._searchCache.set({node:n,nodeStartOffset:l,nodeStartLineNumber:c-(e-1-n.lf_left)}),s.substring(a+r,a+u-t)}if(n.lf_left+n.piece.lineFeedCnt===e-1){r=this.getAccumulatedValue(n,e-n.lf_left-2),s=this._buffers[n.piece.bufferIndex].buffer,a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i=s.substring(a+r,a+n.piece.length);break}e-=n.lf_left+n.piece.lineFeedCnt,l+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==K;){s=this._buffers[n.piece.bufferIndex].buffer;if(n.piece.lineFeedCnt>0){u=this.getAccumulatedValue(n,0),a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);return i+=s.substring(a,a+u-t)}a=this.offsetInBuffer(n.piece.bufferIndex,n.piece.start);i+=s.substr(a,n.piece.length),n=n.next()}return i},e.prototype.computeBufferMetadata=function(){for(var e=this.root,t=1,n=0;e!==K;)t+=e.lf_left+e.piece.lineFeedCnt,n+=e.size_left+e.piece.length,e=e.right;this._lineCnt=t,this._length=n,this._searchCache.valdiate(this._length)},e.prototype.getIndexOf=function(e,t){var n=e.piece,i=this.positionInBuffer(e,t),o=i.line-n.start.line;if(this.offsetInBuffer(n.bufferIndex,n.end)-this.offsetInBuffer(n.bufferIndex,n.start)===t){var r=this.getLineFeedCnt(e.piece.bufferIndex,n.start,i);if(r!==o)return{index:r,remainder:0}}return{index:o,remainder:i.column}},e.prototype.getAccumulatedValue=function(e,t){if(t<0)return 0;var n=e.piece,i=this._buffers[n.bufferIndex].lineStarts,o=n.start.line+t+1;return o>n.end.line?i[n.end.line]+n.end.column-i[n.start.line]-n.start.column:i[o]-i[n.start.line]-n.start.column},e.prototype.deleteNodeTail=function(e,t){var n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.end),r=t,s=this.offsetInBuffer(n.bufferIndex,r),a=this.getLineFeedCnt(n.bufferIndex,n.start,r),u=a-i,l=s-o,c=n.length+l;e.piece=new ue(n.bufferIndex,n.start,r,a,c),te(this,e,l,u)},e.prototype.deleteNodeHead=function(e,t){var n=e.piece,i=n.lineFeedCnt,o=this.offsetInBuffer(n.bufferIndex,n.start),r=t,s=this.getLineFeedCnt(n.bufferIndex,r,n.end),a=s-i,u=o-this.offsetInBuffer(n.bufferIndex,r),l=n.length+u;e.piece=new ue(n.bufferIndex,r,n.end,s,l),te(this,e,u,a)},e.prototype.shrinkNode=function(e,t,n){var i=e.piece,o=i.start,r=i.end,s=i.length,a=i.lineFeedCnt,u=t,l=this.getLineFeedCnt(i.bufferIndex,i.start,u),c=this.offsetInBuffer(i.bufferIndex,t)-this.offsetInBuffer(i.bufferIndex,o);e.piece=new ue(i.bufferIndex,i.start,u,l,c),te(this,e,c-s,l-a);var d=new ue(i.bufferIndex,n,r,this.getLineFeedCnt(i.bufferIndex,n,r),this.offsetInBuffer(i.bufferIndex,r)-this.offsetInBuffer(i.bufferIndex,n)),h=this.rbInsertRight(e,d);this.validateCRLFWithPrevNode(h)},e.prototype.appendToNode=function(e,t){this.adjustCarriageReturnFromNext(t,e)&&(t+="\n");var n=this.shouldCheckCRLF()&&this.startWithLF(t)&&this.endWithCR(e),i=this._buffers[0].buffer.length;this._buffers[0].buffer+=t;for(var o=se(t,!1),r=0;re)t=t.left;else{if(t.size_left+t.piece.length>=e){i+=t.size_left;var o={node:t,remainder:e-t.size_left,nodeStartOffset:i};return this._searchCache.set(o),o}e-=t.size_left+t.piece.length,i+=t.size_left+t.piece.length,t=t.right}return null},e.prototype.nodeAt2=function(e,t){for(var n=this.root,i=0;n!==K;)if(n.left!==K&&n.lf_left>=e-1)n=n.left;else{if(n.lf_left+n.piece.lineFeedCnt>e-1){var o=this.getAccumulatedValue(n,e-n.lf_left-2),r=this.getAccumulatedValue(n,e-n.lf_left-1);return i+=n.size_left,{node:n,remainder:Math.min(o+t-1,r),nodeStartOffset:i}}if(n.lf_left+n.piece.lineFeedCnt===e-1){if((o=this.getAccumulatedValue(n,e-n.lf_left-2))+t-1<=n.piece.length)return{node:n,remainder:o+t-1,nodeStartOffset:i};t-=n.piece.length-o;break}e-=n.lf_left+n.piece.lineFeedCnt,i+=n.size_left+n.piece.length,n=n.right}for(n=n.next();n!==K;){if(n.piece.lineFeedCnt>0){r=this.getAccumulatedValue(n,0);var s=this.offsetOfNode(n);return{node:n,remainder:Math.min(t-1,r),nodeStartOffset:s}}if(n.piece.length>=t-1)return{node:n,remainder:t-1,nodeStartOffset:this.offsetOfNode(n)};t-=n.piece.length,n=n.next()}return null},e.prototype.nodeCharCodeAt=function(e,t){if(e.piece.lineFeedCnt<1)return-1;var n=this._buffers[e.piece.bufferIndex],i=this.offsetInBuffer(e.piece.bufferIndex,e.piece.start)+t;return n.buffer.charCodeAt(i)},e.prototype.offsetOfNode=function(e){if(!e)return 0;for(var t=e.size_left;e!==this.root;)e.parent.right===e&&(t+=e.parent.size_left+e.parent.piece.length),e=e.parent;return t},e.prototype.shouldCheckCRLF=function(){return!(this._EOLNormalized&&"\n"===this._EOL)},e.prototype.startWithLF=function(e){if("string"==typeof e)return 10===e.charCodeAt(0);if(e===K||0===e.piece.lineFeedCnt)return!1;var t=e.piece,n=this._buffers[t.bufferIndex].lineStarts,i=t.start.line,o=n[i]+t.start.column;return i!==n.length-1&&(!(n[i+1]>o+1)&&10===this._buffers[t.bufferIndex].buffer.charCodeAt(o))},e.prototype.endWithCR=function(e){return"string"==typeof e?13===e.charCodeAt(e.length-1):e!==K&&0!==e.piece.lineFeedCnt&&13===this.nodeCharCodeAt(e,e.piece.length-1)},e.prototype.validateCRLFWithPrevNode=function(e){if(this.shouldCheckCRLF()&&this.startWithLF(e)){var t=e.prev();this.endWithCR(t)&&this.fixCRLF(t,e)}},e.prototype.validateCRLFWithNextNode=function(e){if(this.shouldCheckCRLF()&&this.endWithCR(e)){var t=e.next();this.startWithLF(t)&&this.fixCRLF(e,t)}},e.prototype.fixCRLF=function(e,t){var n,i=[],o=this._buffers[e.piece.bufferIndex].lineStarts;n=0===e.piece.end.column?{line:e.piece.end.line-1,column:o[e.piece.end.line]-o[e.piece.end.line-1]-1}:{line:e.piece.end.line,column:e.piece.end.column-1};var r=e.piece.length-1,s=e.piece.lineFeedCnt-1;e.piece=new ue(e.piece.bufferIndex,e.piece.start,n,s,r),te(this,e,-1,-1),0===e.piece.length&&i.push(e);var a={line:t.piece.start.line+1,column:0},u=t.piece.length-1,l=this.getLineFeedCnt(t.piece.bufferIndex,a,t.piece.end);t.piece=new ue(t.piece.bufferIndex,a,t.piece.end,l,u),te(this,t,-1,-1),0===t.piece.length&&i.push(t);var c=this.createNewPieces("\r\n");this.rbInsertRight(e,c[0]);for(var d=0;d0){v.sort((function(e,t){return t.lineNumber-e.lineNumber})),S=[];u=0;for(var O=v.length;u0&&v[u-1].lineNumber===b)){var L=v[u].oldContent,D=this.getLineContent(b);0!==D.length&&D!==L&&-1===s.q(D)&&S.push(b)}}}return new h.a(C,w,S)},e.prototype._reduceOperations=function(e){return e.length<1e3?e:[this._toSingleEditOperation(e)]},e.prototype._toSingleEditOperation=function(e){for(var t=!1,n=e[0].range,i=e[e.length-1].range,o=new c.a(n.startLineNumber,n.startColumn,i.endLineNumber,i.endColumn),r=n.startLineNumber,s=n.startColumn,a=[],u=0,l=e.length;u0){var h=a.lines.length,p=a.lines[0],f=a.lines[h-1];d=1===h?new c.a(u,l,u,l+p.length):new c.a(u,l,u+h-1,f.length+1)}else d=new c.a(u,l,u,l);n=d.endLineNumber,i=d.endColumn,t.push(d),o=a}return t},e._sortOpsAscending=function(e,t){var n=c.a.compareRangesUsingEnds(e.range,t.range);return 0===n?e.sortIndex-t.sortIndex:n},e._sortOpsDescending=function(e,t){var n=c.a.compareRangesUsingEnds(e.range,t.range);return 0===n?t.sortIndex-e.sortIndex:-n},e}(),pe=function(){function e(e,t,n,i,o,r,s,a){this._chunks=e,this._bom=t,this._cr=n,this._lf=i,this._crlf=o,this._containsRTL=r,this._isBasicASCII=s,this._normalizeEOL=a}return e.prototype._getEOL=function(e){var t=this._cr+this._lf+this._crlf,n=this._cr+this._crlf;return 0===t?1===e?"\n":"\r\n":n>t/2?"\r\n":"\n"},e.prototype.create=function(e){var t=this._getEOL(e),n=this._chunks;if(this._normalizeEOL&&("\r\n"===t&&(this._cr>0||this._lf>0)||"\n"===t&&(this._cr>0||this._crlf>0)))for(var i=0,o=n.length;i=55296&&t<=56319?(this._acceptChunk1(e.substr(0,e.length-1),!1),this._hasPreviousChar=!0,this._previousChar=t):(this._acceptChunk1(e,!1),this._hasPreviousChar=!1,this._previousChar=t)}},e.prototype._acceptChunk1=function(e,t){(t||0!==e.length)&&(this._hasPreviousChar?this._acceptChunk2(String.fromCharCode(this._previousChar)+e):this._acceptChunk2(e))},e.prototype._acceptChunk2=function(e){var t=function(e,t){e.length=0,e[0]=0;for(var n=1,i=0,o=0,r=0,s=!0,a=0,u=t.length;a126)&&(s=!1)}var c=new re(oe(e),i,o,r,s);return e.length=0,c}(this._tmpLineStarts,e);this.chunks.push(new le(e,t.lineStarts)),this.cr+=t.cr,this.lf+=t.lf,this.crlf+=t.crlf,this.isBasicASCII&&(this.isBasicASCII=t.isBasicASCII),this.isBasicASCII||this.containsRTL||(this.containsRTL=s.i(e))},e.prototype.finish=function(e){return void 0===e&&(e=!0),this._finish(),new pe(this.chunks,this.BOM,this.cr,this.lf,this.crlf,this.containsRTL,this.isBasicASCII,e)},e.prototype._finish=function(){if(0===this.chunks.length&&this._acceptChunk1("",!0),this._hasPreviousChar){this._hasPreviousChar=!1;var e=this.chunks[this.chunks.length-1];e.buffer+=String.fromCharCode(this._previousChar);var t=se(e.buffer);e.lineStarts=t,13===this._previousChar&&this.cr++}},e}(),ge=function(){this.changeType=1},me=function(e,t){this.changeType=2,this.lineNumber=e,this.detail=t},ve=function(e,t){this.changeType=3,this.fromLineNumber=e,this.toLineNumber=t},_e=function(e,t,n){this.changeType=4,this.fromLineNumber=e,this.toLineNumber=t,this.detail=n},be=function(){this.changeType=5},ye=function(){function e(e,t,n,i){this.changes=e,this.versionId=t,this.isUndoing=n,this.isRedoing=i}return e.prototype.containsEvent=function(e){for(var t=0,n=this.changes.length;t=this._len;)this._beginState[this._len]=null,this._valid[this._len]=!1,this._len++},e.prototype._deleteLines=function(e,t){0!==t&&(e+t>this._len&&(t=this._len-e),this._beginState.splice(e,t),this._valid.splice(e,t),this._len-=t)},e.prototype._insertLines=function(e,t){if(0!==t){for(var n=[],i=[],o=0;o=0;o--)this._invalidateLine(e.startLineNumber+o-1);this._acceptDeleteRange(e),this._acceptInsertText(new l.a(e.startLineNumber,e.startColumn),t)},e.prototype._acceptDeleteRange=function(e){e.startLineNumber-1>=this._len||this._deleteLines(e.startLineNumber,e.endLineNumber-e.startLineNumber)},e.prototype._acceptInsertText=function(e,t){e.lineNumber-1>=this._len||this._insertLines(e.lineNumber,t)},e}(),Ie=function(e){function t(t){var n=e.call(this)||this;return n._isDisposed=!1,n._textModel=t,n._tokenizationStateStore=new Ee,n._tokenizationSupport=null,n._register(Oe.B.onDidChange((function(e){var t=n._textModel.getLanguageIdentifier();-1!==e.changedLanguages.indexOf(t.language)&&(n._resetTokenizationState(),n._textModel.clearTokens())}))),n._register(n._textModel.onDidChangeRawContentFast((function(e){e.containsEvent(1)&&n._resetTokenizationState()}))),n._register(n._textModel.onDidChangeContentFast((function(e){for(var t=0,i=e.changes.length;t1);){if(this._tokenizeOneInvalidLine(t)>=e)break}this._beginBackgroundTokenization(),this._textModel.setTokens(t.tokens)},t.prototype.tokenizeViewport=function(e,t){var n=new xe.b;this._tokenizeViewport(n,e,t),this._textModel.setTokens(n.tokens)},t.prototype.reset=function(){this._resetTokenizationState(),this._textModel.clearTokens()},t.prototype.forceTokenization=function(e){var t=new xe.b;this._updateTokensUntilLine(t,e),this._textModel.setTokens(t.tokens)},t.prototype.isCheapToTokenize=function(e){if(!this._tokenizationSupport)return!0;var t=this._tokenizationStateStore.invalidLineStartIndex+1;return!(e>t)&&(e0&&s>=1;s--){var a=this._textModel.getLineFirstNonWhitespaceColumn(s);if(0!==a&&a=0;s--){l=(h=Me(u,this._tokenizationSupport,o[s],l)).endState}for(var c=t;c<=n;c++){var d=this._textModel.getLineContent(c),h=Me(u,this._tokenizationSupport,d,l);e.add(c,h.tokens),this._tokenizationStateStore.setFakeTokens(c-1),l=h.endState}}},t}(r.a);function Me(e,t,n,o){var r=null;if(t)try{r=t.tokenize2(n,o.clone(),0)}catch(e){Object(i.e)(e)}return r||(r=Object(Le.e)(e.id,n,o,0)),Se.a.convertToEndOffset(r.tokens,n.length),r}var Te=n("0JNc"),Pe=n("cMvZ"),Re=n("BFtn"),Ae=n("EIAu"),Fe=n("746U"),je=n("zrhQ"),We=function(){var e=function(t,n){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}();function Ve(e){var t=new fe;return t.acceptChunk(e),t.finish()}function Be(e,t){return("string"==typeof e?Ve(e):e).create(t)}var He=0,ze=function(){throw new Error("Invalid change accessor")},Ue=function(e){function t(n,i,r,u){void 0===u&&(u=null);var l=e.call(this)||this;l._onWillDispose=l._register(new o.a),l.onWillDispose=l._onWillDispose.event,l._onDidChangeDecorations=l._register(new $e),l.onDidChangeDecorations=l._onDidChangeDecorations.event,l._onDidChangeLanguage=l._register(new o.a),l.onDidChangeLanguage=l._onDidChangeLanguage.event,l._onDidChangeLanguageConfiguration=l._register(new o.a),l.onDidChangeLanguageConfiguration=l._onDidChangeLanguageConfiguration.event,l._onDidChangeTokens=l._register(new o.a),l.onDidChangeTokens=l._onDidChangeTokens.event,l._onDidChangeOptions=l._register(new o.a),l.onDidChangeOptions=l._onDidChangeOptions.event,l._onDidChangeAttached=l._register(new o.a),l.onDidChangeAttached=l._onDidChangeAttached.event,l._eventEmitter=l._register(new et),He++,l.id="$model"+He,l.isForSimpleWidget=i.isForSimpleWidget,l._associatedResource=null==u?a.a.parse("inmemory://model/"+He):u,l._attachedEditorCount=0,l._buffer=Be(n,i.defaultEOL),l._options=t.resolveOptions(l._buffer,i);var d=l._buffer.getLineCount(),h=l._buffer.getValueLengthInRange(new c.a(1,1,d,l._buffer.getLineLength(d)+1),0);return i.largeFileOptimizations?l._isTooLargeForTokenization=h>t.LARGE_FILE_SIZE_THRESHOLD||d>t.LARGE_FILE_LINE_COUNT_THRESHOLD:l._isTooLargeForTokenization=!1,l._isTooLargeForSyncing=h>t.MODEL_SYNC_LIMIT,l._versionId=1,l._alternativeVersionId=1,l._isDisposed=!1,l._isDisposing=!1,l._languageIdentifier=r||Le.a,l._languageRegistryListener=Pe.a.onDidChange((function(e){e.languageIdentifier.id===l._languageIdentifier.id&&l._onDidChangeLanguageConfiguration.fire({})})),l._instanceId=s.M(He),l._lastDecorationId=0,l._decorations=Object.create(null),l._decorationsTree=new Ke,l._commandManager=new m(l),l._isUndoing=!1,l._isRedoing=!1,l._trimAutoWhitespaceLines=null,l._tokens=new xe.d,l._tokens2=new xe.e,l._tokenization=new Ie(l),l}return We(t,e),t.createFromString=function(e,n,i,o){return void 0===n&&(n=t.DEFAULT_CREATION_OPTIONS),void 0===i&&(i=null),void 0===o&&(o=null),new t(e,n,i,o)},t.resolveOptions=function(e,t){if(t.detectIndentation){var n=b(e,t.tabSize,t.insertSpaces);return new h.e({tabSize:n.tabSize,indentSize:n.tabSize,insertSpaces:n.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})}return new h.e({tabSize:t.tabSize,indentSize:t.indentSize,insertSpaces:t.insertSpaces,trimAutoWhitespace:t.trimAutoWhitespace,defaultEOL:t.defaultEOL})},t.prototype.onDidChangeRawContentFast=function(e){return this._eventEmitter.fastEvent((function(t){return e(t.rawContentChangedEvent)}))},t.prototype.onDidChangeRawContent=function(e){return this._eventEmitter.slowEvent((function(t){return e(t.rawContentChangedEvent)}))},t.prototype.onDidChangeContentFast=function(e){return this._eventEmitter.fastEvent((function(t){return e(t.contentChangedEvent)}))},t.prototype.onDidChangeContent=function(e){return this._eventEmitter.slowEvent((function(t){return e(t.contentChangedEvent)}))},t.prototype.dispose=function(){this._isDisposing=!0,this._onWillDispose.fire(),this._languageRegistryListener.dispose(),this._tokenization.dispose(),this._isDisposed=!0,e.prototype.dispose.call(this),this._isDisposing=!1},t.prototype._assertNotDisposed=function(){if(this._isDisposed)throw new Error("Model is disposed!")},t.prototype._emitContentChangedEvent=function(e,t){this._isDisposing||this._eventEmitter.fire(new Ce(e,t))},t.prototype.setValue=function(e){if(this._assertNotDisposed(),null!==e){var t=Be(e,this._options.defaultEOL);this.setValueFromTextBuffer(t)}},t.prototype._createContentChanged2=function(e,t,n,i,o,r,s){return{changes:[{range:e,rangeOffset:t,rangeLength:n,text:i}],eol:this._buffer.getEOL(),versionId:this.getVersionId(),isUndoing:o,isRedoing:r,isFlush:s}},t.prototype.setValueFromTextBuffer=function(e){if(this._assertNotDisposed(),null!==e){var t=this.getFullModelRange(),n=this.getValueLengthInRange(t),i=this.getLineCount(),o=this.getLineMaxColumn(i);this._buffer=e,this._increaseVersionId(),this._tokens.flush(),this._tokens2.flush(),this._decorations=Object.create(null),this._decorationsTree=new Ke,this._commandManager=new m(this),this._trimAutoWhitespaceLines=null,this._emitContentChangedEvent(new ye([new ge],this._versionId,!1,!1),this._createContentChanged2(new c.a(1,1,i,o),0,n,this.getValue(),!1,!1,!0))}},t.prototype.setEOL=function(e){this._assertNotDisposed();var t=1===e?"\r\n":"\n";if(this._buffer.getEOL()!==t){var n=this.getFullModelRange(),i=this.getValueLengthInRange(n),o=this.getLineCount(),r=this.getLineMaxColumn(o);this._onBeforeEOLChange(),this._buffer.setEOL(t),this._increaseVersionId(),this._onAfterEOLChange(),this._emitContentChangedEvent(new ye([new be],this._versionId,!1,!1),this._createContentChanged2(new c.a(1,1,o,r),0,i,this.getValue(),!1,!1,!1))}},t.prototype._onBeforeEOLChange=function(){var e=this.getVersionId(),t=this._decorationsTree.search(0,!1,!1,e);this._ensureNodesHaveRanges(t)},t.prototype._onAfterEOLChange=function(){for(var e=this.getVersionId(),t=this._decorationsTree.collectNodesPostOrder(),n=0,i=t.length;n0},t.prototype.getAttachedEditorCount=function(){return this._attachedEditorCount},t.prototype.isTooLargeForSyncing=function(){return this._isTooLargeForSyncing},t.prototype.isTooLargeForTokenization=function(){return this._isTooLargeForTokenization},t.prototype.isDisposed=function(){return this._isDisposed},t.prototype.isDominatedByLongLines=function(){if(this._assertNotDisposed(),this.isTooLargeForTokenization())return!1;for(var e=0,t=0,n=this._buffer.getLineCount(),i=1;i<=n;i++){var o=this._buffer.getLineLength(i);o>=1e4?t+=o:e+=o}return t>e},Object.defineProperty(t.prototype,"uri",{get:function(){return this._associatedResource},enumerable:!0,configurable:!0}),t.prototype.getOptions=function(){return this._assertNotDisposed(),this._options},t.prototype.getFormattingOptions=function(){return{tabSize:this._options.indentSize,insertSpaces:this._options.insertSpaces}},t.prototype.updateOptions=function(e){this._assertNotDisposed();var t=void 0!==e.tabSize?e.tabSize:this._options.tabSize,n=void 0!==e.indentSize?e.indentSize:this._options.indentSize,i=void 0!==e.insertSpaces?e.insertSpaces:this._options.insertSpaces,o=void 0!==e.trimAutoWhitespace?e.trimAutoWhitespace:this._options.trimAutoWhitespace,r=new h.e({tabSize:t,indentSize:n,insertSpaces:i,defaultEOL:this._options.defaultEOL,trimAutoWhitespace:o});if(!this._options.equals(r)){var s=this._options.createChangeEvent(r);this._options=r,this._onDidChangeOptions.fire(s)}},t.prototype.detectIndentation=function(e,t){this._assertNotDisposed();var n=b(this._buffer,t,e);this.updateOptions({insertSpaces:n.insertSpaces,tabSize:n.tabSize,indentSize:n.tabSize})},t._normalizeIndentationFromWhitespace=function(e,t,n){for(var i=0,o=0;othis.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineContent(e)},t.prototype.getLineLength=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)},t.prototype.getLinesContent=function(){return this._assertNotDisposed(),this._buffer.getLinesContent()},t.prototype.getEOL=function(){return this._assertNotDisposed(),this._buffer.getEOL()},t.prototype.getLineMinColumn=function(e){return this._assertNotDisposed(),1},t.prototype.getLineMaxColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLength(e)+1},t.prototype.getLineFirstNonWhitespaceColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineFirstNonWhitespaceColumn(e)},t.prototype.getLineLastNonWhitespaceColumn=function(e){if(this._assertNotDisposed(),e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._buffer.getLineLastNonWhitespaceColumn(e)},t.prototype._validateRangeRelaxedNoAllocations=function(e){var t,n,i=this._buffer.getLineCount(),o=e.startLineNumber,r=e.startColumn;if(o<1)t=1,n=1;else if(o>i)t=i,n=this.getLineMaxColumn(t);else{if(t=0|o,r<=1)n=1;else n=r>=(h=this.getLineMaxColumn(t))?h:0|r}var s,a,u=e.endLineNumber,l=e.endColumn;if(u<1)s=1,a=1;else if(u>i)s=i,a=this.getLineMaxColumn(s);else{var h;if(s=0|u,l<=1)a=1;else a=l>=(h=this.getLineMaxColumn(s))?h:0|l}return o===t&&r===n&&u===s&&l===a&&e instanceof c.a&&!(e instanceof d.a)?e:new c.a(t,n,s,a)},t.prototype._isValidPosition=function(e,t,n){if("number"!=typeof e||"number"!=typeof t)return!1;if(isNaN(e)||isNaN(t))return!1;if(e<1||t<1)return!1;if((0|e)!==e||(0|t)!==t)return!1;if(e>this._buffer.getLineCount())return!1;if(1===t)return!0;if(t>this.getLineMaxColumn(e))return!1;if(1===n){var i=this._buffer.getLineCharCode(e,t-2);if(s.z(i))return!1}return!0},t.prototype._validatePosition=function(e,t,n){var i=Math.floor("number"!=typeof e||isNaN(e)?1:e),o=Math.floor("number"!=typeof t||isNaN(t)?1:t),r=this._buffer.getLineCount();if(i<1)return new l.a(1,1);if(i>r)return new l.a(r,this.getLineMaxColumn(r));if(o<=1)return new l.a(i,1);var a=this.getLineMaxColumn(i);if(o>=a)return new l.a(i,a);if(1===n){var u=this._buffer.getLineCharCode(i,o-2);if(s.z(u))return new l.a(i,o-1)}return new l.a(i,o)},t.prototype.validatePosition=function(e){return this._assertNotDisposed(),e instanceof l.a&&this._isValidPosition(e.lineNumber,e.column,1)?e:this._validatePosition(e.lineNumber,e.column,1)},t.prototype._isValidRange=function(e,t){var n=e.startLineNumber,i=e.startColumn,o=e.endLineNumber,r=e.endColumn;if(!this._isValidPosition(n,i,0))return!1;if(!this._isValidPosition(o,r,0))return!1;if(1===t){var a=i>1?this._buffer.getLineCharCode(n,i-2):0,u=r>1&&r<=this._buffer.getLineLength(o)?this._buffer.getLineCharCode(o,r-2):0,l=s.z(a),c=s.z(u);return!l&&!c}return!0},t.prototype.validateRange=function(e){if(this._assertNotDisposed(),e instanceof c.a&&!(e instanceof d.a)&&this._isValidRange(e,1))return e;var t=this._validatePosition(e.startLineNumber,e.startColumn,0),n=this._validatePosition(e.endLineNumber,e.endColumn,0),i=t.lineNumber,o=t.column,r=n.lineNumber,a=n.column,u=o>1?this._buffer.getLineCharCode(i,o-2):0,l=a>1&&a<=this._buffer.getLineLength(r)?this._buffer.getLineCharCode(r,a-2):0,h=s.z(u),p=s.z(l);return h||p?i===r&&o===a?new c.a(i,o-1,r,a-1):h&&p?new c.a(i,o-1,r,a+1):h?new c.a(i,o-1,r,a):new c.a(i,o,r,a+1):new c.a(i,o,r,a)},t.prototype.modifyPosition=function(e,t){this._assertNotDisposed();var n=this.getOffsetAt(e)+t;return this.getPositionAt(Math.min(this._buffer.getLength(),Math.max(0,n)))},t.prototype.getFullModelRange=function(){this._assertNotDisposed();var e=this.getLineCount();return new c.a(1,1,e,this.getLineMaxColumn(e))},t.prototype.findMatchesLineByLine=function(e,t,n,i){return this._buffer.findMatchesLineByLine(e,t,n,i)},t.prototype.findMatches=function(e,t,n,i,o,r,s){var a;if(void 0===s&&(s=999),this._assertNotDisposed(),a=c.a.isIRange(t)?this.validateRange(t):this.getFullModelRange(),!n&&e.indexOf("\n")<0){var u=new ie.a(e,n,i,o).parseSearchRequest();return u?this.findMatchesLineByLine(a,u,r,s):[]}return ie.c.findMatches(this,new ie.a(e,n,i,o),a,r,s)},t.prototype.findNextMatch=function(e,t,n,i,o,r){this._assertNotDisposed();var s=this.validatePosition(t);if(!n&&e.indexOf("\n")<0){var a=new ie.a(e,n,i,o).parseSearchRequest();if(!a)return null;var u=this.getLineCount(),l=new c.a(s.lineNumber,s.column,u,this.getLineMaxColumn(u)),d=this.findMatchesLineByLine(l,a,r,1);return ie.c.findNextMatch(this,new ie.a(e,n,i,o),s,r),d.length>0?d[0]:(l=new c.a(1,1,s.lineNumber,this.getLineMaxColumn(s.lineNumber)),(d=this.findMatchesLineByLine(l,a,r,1)).length>0?d[0]:null)}return ie.c.findNextMatch(this,new ie.a(e,n,i,o),s,r)},t.prototype.findPreviousMatch=function(e,t,n,i,o,r){this._assertNotDisposed();var s=this.validatePosition(t);return ie.c.findPreviousMatch(this,new ie.a(e,n,i,o),s,r)},t.prototype.pushStackElement=function(){this._commandManager.pushStackElement()},t.prototype.pushEOL=function(e){if(("\n"===this.getEOL()?0:1)!==e)try{this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._commandManager.pushEOL(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype.pushEditOperations=function(e,t,n){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._pushEditOperations(e,t,n)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._pushEditOperations=function(e,t,n){var i=this;if(this._options.trimAutoWhitespace&&this._trimAutoWhitespaceLines){for(var o=t.map((function(e){return{range:i.validateRange(e.range),text:e.text}})),r=!0,s=0,a=e.length;su.endLineNumber,f=u.startLineNumber>_.endLineNumber;if(!p&&!f){l=!0;break}}if(!l){r=!1;break}}if(r)for(s=0,a=this._trimAutoWhitespaceLines.length;s_.endLineNumber)&&!(g===_.startLineNumber&&_.startColumn===m&&_.isEmpty()&&b&&b.length>0&&"\n"===b.charAt(0)||g===_.startLineNumber&&1===_.startColumn&&_.isEmpty()&&b&&b.length>0&&"\n"===b.charAt(b.length-1))){v=!1;break}}v&&t.push({range:new c.a(g,1,g,m),text:null})}this._trimAutoWhitespaceLines=null}return this._commandManager.pushEditOperation(e,t,n)},t.prototype.applyEdits=function(e){try{return this._onDidChangeDecorations.beginDeferredEmit(),this._eventEmitter.beginDeferredEmit(),this._applyEdits(e)}finally{this._eventEmitter.endDeferredEmit(),this._onDidChangeDecorations.endDeferredEmit()}},t.prototype._applyEdits=function(e){for(var t=0,n=e.length;t0?l.text.charCodeAt(0):0),this._onDidChangeDecorations.fire(),this._decorationsTree.acceptReplace(l.rangeOffset,l.rangeLength,l.text.length,l.forceMoveMarkers);for(var f=l.range.startLineNumber,g=l.range.endLineNumber,m=g-f,v=d,_=Math.min(m,v),b=v-m,y=_;y>=0;y--){var C=f+y,w=r-u-b+C;a.push(new me(C,this.getLineContent(w)))}if(_this.getLineCount()?[]:this.getLinesDecorations(e,e,t,n)},t.prototype.getLinesDecorations=function(e,t,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var o=this.getLineCount(),r=Math.min(o,Math.max(1,e)),s=Math.min(o,Math.max(1,t)),a=this.getLineMaxColumn(s);return this._getDecorationsInRange(new c.a(r,1,s,a),n,i)},t.prototype.getDecorationsInRange=function(e,t,n){void 0===t&&(t=0),void 0===n&&(n=!1);var i=this.validateRange(e);return this._getDecorationsInRange(i,t,n)},t.prototype.getOverviewRulerDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),i=this._decorationsTree.search(e,t,!0,n);return this._ensureNodesHaveRanges(i)},t.prototype.getAllDecorations=function(e,t){void 0===e&&(e=0),void 0===t&&(t=!1);var n=this.getVersionId(),i=this._decorationsTree.search(e,t,!1,n);return this._ensureNodesHaveRanges(i)},t.prototype._getDecorationsInRange=function(e,t,n){var i=this._buffer.getOffsetAt(e.startLineNumber,e.startColumn),o=this._buffer.getOffsetAt(e.endLineNumber,e.endColumn),r=this.getVersionId(),s=this._decorationsTree.intervalSearch(i,o,t,n,r);return this._ensureNodesHaveRanges(s)},t.prototype._ensureNodesHaveRanges=function(e){for(var t=0,n=e.length;tthis.getLineCount())throw new Error("Illegal value for lineNumber");this._tokens.setTokens(this._languageIdentifier.id,e-1,this._buffer.getLineLength(e),t)},t.prototype.setTokens=function(e){if(0!==e.length){for(var t=[],n=0,i=e.length;nthis.getLineCount())throw new Error("Illegal value for lineNumber");this._tokenization.forceTokenization(e)},t.prototype.isCheapToTokenize=function(e){return this._tokenization.isCheapToTokenize(e)},t.prototype.tokenizeIfCheap=function(e){this.isCheapToTokenize(e)&&this.forceTokenization(e)},t.prototype.getLineTokens=function(e){if(e<1||e>this.getLineCount())throw new Error("Illegal value for lineNumber");return this._getLineTokens(e)},t.prototype._getLineTokens=function(e){var t=this.getLineContent(e),n=this._tokens.getTokens(this._languageIdentifier.id,e-1,t);return this._tokens2.addSemanticTokens(e,n)},t.prototype.getLanguageIdentifier=function(){return this._languageIdentifier},t.prototype.getModeId=function(){return this._languageIdentifier.language},t.prototype.setMode=function(e){if(this._languageIdentifier.id!==e.id){var t={oldLanguage:this._languageIdentifier.language,newLanguage:e.language};this._languageIdentifier=e,this._onDidChangeLanguage.fire(t),this._onDidChangeLanguageConfiguration.fire({})}},t.prototype.getLanguageIdAtPosition=function(e,t){var n=this.validatePosition(new l.a(e,t)),i=this.getLineTokens(n.lineNumber);return i.getLanguageId(i.findTokenIndexAtOffset(n.column-1))},t.prototype.getWordAtPosition=function(e){this._assertNotDisposed();var n=this.validatePosition(e),i=this.getLineContent(n.lineNumber),o=this._getLineTokens(n.lineNumber),r=o.findTokenIndexAtOffset(n.column-1),s=t._findLanguageBoundaries(o,r),a=s[0],u=s[1],l=Object(Te.d)(n.column,Pe.a.getWordDefinition(o.getLanguageId(r)),i.substring(a,u),a);if(l&&l.startColumn<=e.column&&e.column<=l.endColumn)return l;if(r>0&&a===n.column-1){var c=t._findLanguageBoundaries(o,r-1),d=c[0],h=c[1],p=Object(Te.d)(n.column,Pe.a.getWordDefinition(o.getLanguageId(r-1)),i.substring(d,h),d);if(p&&p.startColumn<=e.column&&e.column<=p.endColumn)return p}return null},t._findLanguageBoundaries=function(e,t){for(var n=e.getLanguageId(t),i=0,o=t;o>=0&&e.getLanguageId(o)===n;o--)i=e.getStartOffset(o);for(var r=e.getLineContent().length,s=(o=t,e.getCount());o=0;u--){var l=n.getEndOffset(u);if(l<=a)break;Object(Re.b)(n.getStandardTokenType(u))&&(a=l)}for(var c=Math.min(o.length,e.column-1+s.maxBracketLength),d=null;;){if(!(m=Ae.a.findNextBracketInRange(s.forwardRegex,t,o,a,c)))break;if(m.startColumn<=e.column&&e.column<=m.endColumn){var h=o.substring(m.startColumn-1,m.endColumn-1).toLowerCase();(v=this._matchFoundBracket(m,s.textIsBracket[h],s.textIsOpenBracket[h]))&&(d=v)}a=m.endColumn-1}if(d)return d}if(r>0&&n.getStartOffset(r)===e.column-1){var p=r-1,f=Pe.a.getBracketsSupport(n.getLanguageId(p));if(f&&!Object(Re.b)(n.getStandardTokenType(p))){for(a=Math.max(0,e.column-1-f.maxBracketLength),c=Math.min(o.length,e.column-1+f.maxBracketLength),u=p+1;u=c)break;Object(Re.b)(n.getStandardTokenType(u))&&(c=g)}var m;if((m=Ae.a.findPrevBracketInRange(f.reversedRegex,t,o,a,c))&&m.startColumn<=e.column&&e.column<=m.endColumn){var v;h=o.substring(m.startColumn-1,m.endColumn-1).toLowerCase();if(v=this._matchFoundBracket(m,f.textIsBracket[h],f.textIsOpenBracket[h]))return v}}}return null},t.prototype._matchFoundBracket=function(e,t,n){if(!t)return null;var i;if(n){if(i=this._findMatchingBracketDown(t,e.getEndPosition()))return[e,i]}else if(i=this._findMatchingBracketUp(t,e.getStartPosition()))return[e,i];return null},t.prototype._findMatchingBracketUp=function(e,t){for(var n=e.languageIdentifier.id,i=e.reversedRegex,o=-1,r=function(t,n,r,s){for(;;){var a=Ae.a.findPrevBracketInRange(i,t,n,r,s);if(!a)break;var u=n.substring(a.startColumn-1,a.endColumn-1).toLowerCase();if(e.isOpen(u)?o++:e.isClose(u)&&o--,0===o)return a;s=a.startColumn-1}return null},s=t.lineNumber;s>=1;s--){var a=this._getLineTokens(s),u=a.getCount(),l=this._buffer.getLineContent(s),c=u-1,d=l.length,h=l.length;s===t.lineNumber&&(c=a.findTokenIndexAtOffset(t.column-1),d=t.column-1,h=t.column-1);for(var p=!0;c>=0;c--){var f,g=a.getLanguageId(c)===n&&!Object(Re.b)(a.getStandardTokenType(c));if(g)p?d=a.getStartOffset(c):(d=a.getStartOffset(c),h=a.getEndOffset(c));else if(p&&d!==h)if(f=r(s,l,d,h))return f;p=g}if(p&&d!==h)if(f=r(s,l,d,h))return f}return null},t.prototype._findMatchingBracketDown=function(e,t){for(var n=e.languageIdentifier.id,i=e.forwardRegex,o=1,r=function(t,n,r,s){for(;;){var a=Ae.a.findNextBracketInRange(i,t,n,r,s);if(!a)break;var u=n.substring(a.startColumn-1,a.endColumn-1).toLowerCase();if(e.isOpen(u)?o++:e.isClose(u)&&o--,0===o)return a;r=a.endColumn-1}return null},s=this.getLineCount(),a=t.lineNumber;a<=s;a++){var u=this._getLineTokens(a),l=u.getCount(),c=this._buffer.getLineContent(a),d=0,h=0,p=0;a===t.lineNumber&&(d=u.findTokenIndexAtOffset(t.column-1),h=t.column-1,p=t.column-1);for(var f=!0;d=1;o--){var r=this._getLineTokens(o),s=r.getCount(),a=this._buffer.getLineContent(o),u=s-1,l=a.length,c=a.length;if(o===t.lineNumber)u=r.findTokenIndexAtOffset(t.column-1),l=t.column-1,c=t.column-1,n!==(h=r.getLanguageId(u))&&(n=h,i=Pe.a.getBracketsSupport(n));for(var d=!0;u>=0;u--){var h;if(n!==(h=r.getLanguageId(u))){if(i&&d&&l!==c){if(p=Ae.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,p);d=!1}n=h,i=Pe.a.getBracketsSupport(n)}var p,f=!!i&&!Object(Re.b)(r.getStandardTokenType(u));if(f)d?l=r.getStartOffset(u):(l=r.getStartOffset(u),c=r.getEndOffset(u));else if(i&&d&&l!==c)if(p=Ae.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,p);d=f}if(i&&d&&l!==c)if(p=Ae.a.findPrevBracketInRange(i.reversedRegex,o,a,l,c))return this._toFoundBracket(i,p)}return null},t.prototype.findNextBracket=function(e){for(var t=this.validatePosition(e),n=this.getLineCount(),i=-1,o=null,r=t.lineNumber;r<=n;r++){var s=this._getLineTokens(r),a=s.getCount(),u=this._buffer.getLineContent(r),l=0,c=0,d=0;if(r===t.lineNumber)l=s.findTokenIndexAtOffset(t.column-1),c=t.column-1,d=t.column-1,i!==(p=s.getLanguageId(l))&&(i=p,o=Pe.a.getBracketsSupport(i));for(var h=!0;lt)return null;var p=this._getLineTokens(h),f=p.getCount(),g=this._buffer.getLineContent(h),m=0,v=0,_=0;if(h===i.lineNumber)m=p.findTokenIndexAtOffset(i.column-1),v=i.column-1,_=i.column-1,l!==(y=p.getLanguageId(m))&&a(l=y,c=Pe.a.getBracketsSupport(l));for(var b=!0;mo)throw new Error("Illegal value for lineNumber");for(var r=Pe.a.getFoldingRules(this._languageIdentifier.id),s=Boolean(r&&r.offSide),a=-2,u=-1,l=-2,c=-1,d=function(e){if(-1!==a&&(-2===a||a>e-1)){a=-1,u=-1;for(var t=e-2;t>=0;t--){var n=i._computeIndentLevel(t);if(n>=0){a=t,u=n;break}}}if(-2===l){l=-1,c=-1;for(t=e;t=0){l=t,c=r;break}}}},h=-2,p=-1,f=-2,g=-1,m=function(e){if(-2===h){h=-1,p=-1;for(var t=e-2;t>=0;t--){var n=i._computeIndentLevel(t);if(n>=0){h=t,p=n;break}}}if(-1!==f&&(-2===f||f=0){f=t,g=r;break}}}},v=0,_=!0,b=0,y=!0,C=0,w=0;_||y;w++){var S=e-w,O=e+w;if(0!==w&&(S<1||So||O>n)&&(y=!1),w>5e4&&(_=!1,y=!1),_){var L=void 0;if((D=this._computeIndentLevel(S-1))>=0?(l=S-1,c=D,L=Math.ceil(D/this._options.indentSize)):(d(S),L=this._getIndentLevelForWhitespaceLine(s,u,c)),0===w){if(v=S,b=O,0===(C=L))return{startLineNumber:v,endLineNumber:b,indent:C};continue}L>=C?v=S:_=!1}if(y){var D,x=void 0;(D=this._computeIndentLevel(O-1))>=0?(h=O-1,p=D,x=Math.ceil(D/this._options.indentSize)):(m(O),x=this._getIndentLevelForWhitespaceLine(s,p,g)),x>=C?b=O:y=!1}}return{startLineNumber:v,endLineNumber:b,indent:C}},t.prototype.getLinesIndentGuides=function(e,t){this._assertNotDisposed();var n=this.getLineCount();if(e<1||e>n)throw new Error("Illegal value for startLineNumber");if(t<1||t>n)throw new Error("Illegal value for endLineNumber");for(var i=Pe.a.getFoldingRules(this._languageIdentifier.id),o=Boolean(i&&i.offSide),r=new Array(t-e+1),s=-2,a=-1,u=-2,l=-1,c=e;c<=t;c++){var d=c-e,h=this._computeIndentLevel(c-1);if(h>=0)s=c-1,a=h,r[d]=Math.ceil(h/this._options.indentSize);else{if(-2===s){s=-1,a=-1;for(var p=c-2;p>=0;p--){if((f=this._computeIndentLevel(p))>=0){s=p,a=f;break}}}if(-1!==u&&(-2===u||u=0){u=p,l=f;break}}}r[d]=this._getIndentLevelForWhitespaceLine(o,a,l)}}return r},t.prototype._getIndentLevelForWhitespaceLine=function(e,t,n){return-1===t||-1===n?0:t0?this._deferredEvent?this._deferredEvent=this._deferredEvent.merge(e):this._deferredEvent=e:(this._fastEmitter.fire(e),this._slowEmitter.fire(e))},t}(r.a)},tXSY: /*!****************************************************************************************************!*\ !*** ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetController2.js + 3 modules ***! \****************************************************************************************************/ @@ -2565,15 +2565,15 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/range.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/core/selection.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/editorContextKeys.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/wordHighlighter/wordHighlighter.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/folding/folding.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/model/textModel.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/inPlaceReplace/inPlaceReplace.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/common/modes/languageConfigurationRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/linesOperations/linesOperations.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/snippet/snippetParser.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggest.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/suggest/suggestController.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/nls.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/clipboard/common/clipboardService.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/find/findController.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/contextkey/common/contextkey.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/instantiation/common/instantiation.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/label/common/label.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/label/common/label.js because of ./node_modules/monaco-editor/esm/vs/editor/contrib/gotoSymbol/goToCommands.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/log/common/log.js because of ./node_modules/monaco-editor/esm/vs/editor/editor.api.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/colorRegistry.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/monaco-editor/esm/vs/platform/theme/common/themeService.js because of ./node_modules/monaco-editor/esm/vs/editor/standalone/browser/accessibilityHelp/accessibilityHelp.js */ diff --git a/p__Classrooms__Lists__Attachment__index.44557b1f.async.js b/p__Classrooms__Lists__Attachment__index.44557b1f.async.js index 64ab33a856..9a7bd2ac76 100644 --- a/p__Classrooms__Lists__Attachment__index.44557b1f.async.js +++ b/p__Classrooms__Lists__Attachment__index.44557b1f.async.js @@ -467,14 +467,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Attendance__Detail__index.c4dab1a7.async.js b/p__Classrooms__Lists__Attendance__Detail__index.c4dab1a7.async.js index b1f255d79a..c39c2e753d 100644 --- a/p__Classrooms__Lists__Attendance__Detail__index.c4dab1a7.async.js +++ b/p__Classrooms__Lists__Attendance__Detail__index.c4dab1a7.async.js @@ -265,14 +265,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index.63533672.async.js b/p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index.63533672.async.js index 2a380d6991..45da281f65 100644 --- a/p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index.63533672.async.js +++ b/p__Classrooms__Lists__CommonHomework__Detail__components__CodeReview__Detail__index.63533672.async.js @@ -213,14 +213,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__CommonHomework__Detail__index.8235f455.async.js b/p__Classrooms__Lists__CommonHomework__Detail__index.8235f455.async.js index f3466b7716..3db0202762 100644 --- a/p__Classrooms__Lists__CommonHomework__Detail__index.8235f455.async.js +++ b/p__Classrooms__Lists__CommonHomework__Detail__index.8235f455.async.js @@ -1220,14 +1220,14 @@ t.read=function(e,t,n,r,i){var a,o,s=8*i-r-1,l=(1<>1,u=-7,h=n?i-1:0,d= /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__CommonHomework__index.f01bdafa.async.js b/p__Classrooms__Lists__CommonHomework__index.f01bdafa.async.js index 0093697b71..89f38e3246 100644 --- a/p__Classrooms__Lists__CommonHomework__index.f01bdafa.async.js +++ b/p__Classrooms__Lists__CommonHomework__index.f01bdafa.async.js @@ -736,14 +736,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__CourseGroup__Detail__index.96da160f.async.js b/p__Classrooms__Lists__CourseGroup__Detail__index.96da160f.async.js index 001e0c6de9..cff7ef4aa5 100644 --- a/p__Classrooms__Lists__CourseGroup__Detail__index.96da160f.async.js +++ b/p__Classrooms__Lists__CourseGroup__Detail__index.96da160f.async.js @@ -218,14 +218,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__CourseGroup__List__index.b7b6118b.async.js b/p__Classrooms__Lists__CourseGroup__List__index.b7b6118b.async.js index 497e98a67a..f69185c041 100644 --- a/p__Classrooms__Lists__CourseGroup__List__index.b7b6118b.async.js +++ b/p__Classrooms__Lists__CourseGroup__List__index.b7b6118b.async.js @@ -431,14 +431,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__CourseGroup__NotList__index.dce48ab4.async.js b/p__Classrooms__Lists__CourseGroup__NotList__index.dce48ab4.async.js index cfa7506e52..8da8d55459 100644 --- a/p__Classrooms__Lists__CourseGroup__NotList__index.dce48ab4.async.js +++ b/p__Classrooms__Lists__CourseGroup__NotList__index.dce48ab4.async.js @@ -332,14 +332,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Exercise__Abnormal__index.02bcdbb5.async.js b/p__Classrooms__Lists__Exercise__Abnormal__index.02bcdbb5.async.js index 2a25358989..20cd7bc68a 100644 --- a/p__Classrooms__Lists__Exercise__Abnormal__index.02bcdbb5.async.js +++ b/p__Classrooms__Lists__Exercise__Abnormal__index.02bcdbb5.async.js @@ -173,14 +173,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Exercise__Answer__index.e0fcda4c.async.js b/p__Classrooms__Lists__Exercise__Answer__index.e0fcda4c.async.js index 3e3505ac37..1be83271b8 100644 --- a/p__Classrooms__Lists__Exercise__Answer__index.e0fcda4c.async.js +++ b/p__Classrooms__Lists__Exercise__Answer__index.e0fcda4c.async.js @@ -1267,14 +1267,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail.a6dcb0e3.async.js b/p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail.a6dcb0e3.async.js index 2eab2572b7..29cb9e85b1 100644 --- a/p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail.a6dcb0e3.async.js +++ b/p__Classrooms__Lists__Exercise__Detail__components__DuplicateChecking__CheckDetail.a6dcb0e3.async.js @@ -224,14 +224,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Exercise__Detail__index.fefae518.async.js b/p__Classrooms__Lists__Exercise__Detail__index.fefae518.async.js index bbc4419eb3..d90b2845b0 100644 --- a/p__Classrooms__Lists__Exercise__Detail__index.fefae518.async.js +++ b/p__Classrooms__Lists__Exercise__Detail__index.fefae518.async.js @@ -737,7 +737,7 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-infinite-scroller/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-router-dom/esm/react-router-dom.js */ /*! 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("Znn+");var r=n("ZTPi"),i=(n("qVdP"),n("jsC+")),a=(n("+L6B"),n("2/Rp")),o=(n("sPJy"),n("bE4q")),s=(n("miYZ"),n("tsqr")),l=(n("lUTK"),n("BvKs")),c=n("9og8"),u=(n("2qtc"),n("kLXV")),d=n("oBTY"),h=n("k1fw"),f=n("tJVT"),p=n("PpiC"),m=n("WmNS"),g=n.n(m),v=n("q1tI"),b=n.n(v),y=n("ErOA"),E=n("Ty5D"),x=n("55Ip"),_=n("9kvl"),k=n("jhfD"),w=n("Llu2"),C=n("0NbB"),S=n("V0Rq"),O=n("1vsH"),A=n("mgmH"),T=(n("7Kak"),n("9yH6")),I=(n("DjyN"),n("NUBc")),D=(n("giR+"),n("fyUT")),L=(n("5NDa"),n("5rEg")),R=(n("sRBo"),n("kaz8")),N=(n("g9YV"),n("wCAj")),j=(n("BoS7"),n("Sdc0")),M=(n("14J3"),n("BMrR")),P=(n("jCWc"),n("kPKH")),B=(n("5Dmo"),n("3S7+")),F=n("jrin"),U=(n("y8nQ"),n("Vl3Y")),H=n("wd/R"),G=n.n(H),z=Object(_.a)((function(e){return{shixunHomeworks:e.shixunHomeworks}}))((function(e){var t=e.shixunHomeworks,n=e.dispatch,r=Object(E.i)();return b.a.createElement(u.a,{centered:!0,title:"提示",visible:"打回重做"===t.actionTabs.key,okText:"确定",cancelText:"取消",onOk:Object(c.a)(g.a.mark((function e(){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(y.a)("/api/myshixuns/".concat(t.actionTabs.selectArrs.myshixun_identifier,"/reset_my_game.json"),{method:"post",body:{course_id:r.coursesId}});case 2:0===e.sent.status&&(s.b.success("删除成功"),n({type:"shixunHomeworks/setActionTabs",payload:{}}),n({type:"shixunHomeworks/getWorkList",payload:Object(h.a)({},t.actionTabs.params)}));case 4:case"end":return e.stop()}}),e)}))),onCancel:function(){n({type:"shixunHomeworks/setActionTabs",payload:{}})}},b.a.createElement("p",null,"该作业将被打回重做,学生实训记录将被清空!"),b.a.createElement("p",null,"确定打回?"))})),V=Object(_.a)((function(e){return{exercise:e.exercise}}))((function(e){var t,n,r,i,a,o,l,d,p=e.exercise,m=e.dispatch,y=Object(E.i)(),x=Object(v.useState)(!0),_=Object(f.a)(x,2),k=(_[0],_[1],U.a.useForm()),w=Object(f.a)(k,1)[0],C=p.actionTabs;return Object(v.useEffect)((function(){var e,t,n,r;"更改评阅"===p.actionTabs.key&&(w.resetFields(),w.setFieldsValue({subjective_score:null==C||null===(e=C.selectArrs)||void 0===e||null===(t=e.record)||void 0===t?void 0:t.subjective_score,objective_score:null==C||null===(n=C.selectArrs)||void 0===n||null===(r=n.record)||void 0===r?void 0:r.objective_score}))}),[p.actionTabs.key]),b.a.createElement(b.a.Fragment,null,b.a.createElement(u.a,{centered:!0,title:"评阅",visible:"更改评阅"===p.actionTabs.key,okText:"确定",cancelText:"取消",onOk:Object(c.a)(g.a.mark((function e(){var t,n,r;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w.validateFields();case 2:return r=w.getFieldValue(),e.next=5,Object(S.O)(Object(h.a)(Object(h.a)({},r),{},{id:y.categoryId,user_id:null==C||null===(t=C.selectArrs)||void 0===t||null===(n=t.record)||void 0===n?void 0:n.user_id}));case 5:0===e.sent.status&&(s.b.success("评阅成功"),w.resetFields(),m({type:"exercise/setActionTabs",payload:{}}),m({type:"exercise/getExerciseList",payload:Object(h.a)({},p.actionTabs.params)}));case 7:case"end":return e.stop()}}),e)}))),onCancel:function(){m({type:"exercise/setActionTabs",payload:{}})}},b.a.createElement("div",{className:"pl30"},b.a.createElement(U.a,{form:w},b.a.createElement(M.a,null,b.a.createElement(P.a,null,b.a.createElement(U.a.Item,{name:"subjective_score",label:"问答题成绩",rules:[{required:!0,message:"请输入!"}]},b.a.createElement(D.a,{min:0,max:1*(null==C||null===(t=C.selectArrs)||void 0===t||null===(n=t.exercise_types)||void 0===n?void 0:n.subjective_score),style:{width:150},placeholder:"请填写问答题成绩"}))),b.a.createElement(P.a,{flex:1},b.a.createElement("div",null,b.a.createElement("span",{className:"ml10"},"分,总共:",null==C||null===(r=C.selectArrs)||void 0===r||null===(i=r.exercise_types)||void 0===i?void 0:i.subjective_score,"分")))),b.a.createElement(M.a,null,b.a.createElement(P.a,null,b.a.createElement(U.a.Item,{name:"objective_score",label:"客观题成绩",rules:[{required:!0,message:"请输入!"}]},b.a.createElement(D.a,{min:0,max:1*(null==C||null===(a=C.selectArrs)||void 0===a||null===(o=a.exercise_types)||void 0===o?void 0:o.objective_score),style:{width:150},width:150,placeholder:"请填写客观题成绩"}))),b.a.createElement(P.a,{flex:1},b.a.createElement("div",null,b.a.createElement("span",{className:"ml10"},"分,总共:",null==C||null===(l=C.selectArrs)||void 0===l||null===(d=l.exercise_types)||void 0===d?void 0:d.objective_score,"分"))))))))})),W=[{name:"未评阅",id:0,type:"unreview_counts"},{name:"评阅中",id:2,type:"reviewing_counts"},{name:"已评阅",id:1,type:"review_counts"}],K=[{name:"未开始",id:0,type:"unanswer_users"},{name:"进行中",id:1,type:"answering_users"},{name:"已完成",id:2,type:"answer_users"},{name:"已提交/未答",id:3,type:"commit_with_no_answers_users"}],q=[{name:"无需补考",id:0,type:"unmake_up_users_count"},{name:"参加补考",id:1,type:"make_up_users_count"}],Y=n("BdwD"),Q=(n("iQDF"),n("+eQT")),J=Object(_.a)((function(e){return{exercise:e.exercise}}))((function(e){var t,n,r=e.exercise,i=e.dispatch,a=Object(E.i)(),o=Object(v.useState)(!0),l=Object(f.a)(o,2),d=(l[0],l[1],U.a.useForm()),p=Object(f.a)(d,1)[0],m=Object(v.useState)(!1),y=Object(f.a)(m,2),x=y[0],_=y[1],k=Object(v.useState)({}),w=Object(f.a)(k,2),C=w[0],O=w[1],A=r.actionTabs;Object(v.useEffect)((function(){var e,t,n,i;"延时"===r.actionTabs.key&&(_(!1),p.resetFields(),p.setFieldsValue({subjective_score:null==A||null===(e=A.selectArrs)||void 0===e||null===(t=e.record)||void 0===t?void 0:t.subjective_score,objective_score:null==A||null===(n=A.selectArrs)||void 0===n||null===(i=n.record)||void 0===i?void 0:i.objective_score}))}),[r.actionTabs.key]);function T(e,t){for(var n=[],r=e;rG()(null==A||null===(n=A.selectArrs)||void 0===n?void 0:n.exercise_end_at).endOf("minute")||e<=G()().startOf("day"))},disabledTime:function(e){var t,n=null==A||null===(t=A.selectArrs)||void 0===t?void 0:t.exercise_end_at,r=G()(e).format("HH");if(G()(e).isSame(G()(n),"day")){var i=G()(n).format("HH"),a=G()(n).format("mm");return{disabledHours:function(){return T(0,24).splice(1*i+1,24-i)},disabledMinutes:function(){return G()(e).isSame(G()(n),"hour")&&r<=i?T(a,60):T(60,60)}}}if(G()(e).isSame(G()(),"day")){var o=G()().format("HH"),s=G()().format("mm");return{disabledHours:function(){return T(0,24).splice(0,o)},disabledMinutes:function(){return r<=o?T(0,s):T(60,60)}}}return!1},getPopupContainer:function(e){return e.parentNode},allowClear:!1,onChange:function(e,t){var n,r;G()(t)>G()(null==A||null===(n=A.selectArrs)||void 0===n?void 0:n.exercise_end_at)&&p.setFieldsValue({time:G()(null==A||null===(r=A.selectArrs)||void 0===r?void 0:r.exercise_end_at).format("YYYY-MM-DD HH:mm")})}})))),b.a.createElement(M.a,{style:{marginLeft:78,marginTop:4}},b.a.createElement(U.a.Item,{name:"is_clear",className:"ml10",initialValue:!1,valuePropName:"checked"},b.a.createElement(R.a,null,"确认清除该学生的已切屏次数")))))))})),X=n("kaH+"),Z=n("dhSg"),$=n("xKgJ"),ee=n("hjlX"),te=n.n(ee),ne=function(e){var t=e.item,n=e.renderText,r=Object(E.i)(),i=Object(v.useState)(),a=Object(f.a)(i,2),o=a[0],s=a[1],l=function(){var e=Object(c.a)(g.a.mark((function e(){var n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!o){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Object(S.B)({id:r.categoryId,user_id:null==t?void 0:t.user_id});case 4:(n=e.sent)&&s(n);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return b.a.createElement(B.a,{onVisibleChange:l,title:b.a.createElement("div",null,"单选题 ",null==o?void 0:o.single_question_score,"分 ",b.a.createElement("br",null),"多选题 ",null==o?void 0:o.multiple_question_score,"分 ",b.a.createElement("br",null),"判断题 ",null==o?void 0:o.judgement_question_score,"分 ",b.a.createElement("br",null),"填空题 ",null==o?void 0:o.completion_question_score,"分 ",b.a.createElement("br",null),"实训题 ",null==o?void 0:o.shixun_question_score,"分")},n)},re=Object(_.a)((function(e){var t=e.exercise,n=e.loading,r=e.globalSetting;return{exercise:t,loading:n.effects,globalSetting:r}}))((function(e){var t,n,r,i,o,l,m,k,w,C,A,H,Q,ee,re,ie,ae,oe,se,le,ce,ue,de,he,fe,pe,me,ge,ve,be,ye,Ee,xe,_e,ke,we,Ce,Se=e.exercise,Oe=e.loading,Ae=e.dispatch,Te=e.globalSetting,Ie=e.checkDomainAuthority,De=e.getparams,Le=(Object(p.a)(e,["exercise","loading","dispatch","globalSetting","checkDomainAuthority","getparams"]),Object(E.h)()),Re=Object(E.i)(),Ne=Object(v.useState)(Object(h.a)({},Re)),je=Object(f.a)(Ne,2),Me=je[0],Pe=je[1],Be=Se.exerciseList,Fe=Se.commonHeader,Ue=Object(v.useState)({}),He=Object(f.a)(Ue,2),Ge=He[0],ze=(He[1],Object(v.useState)("")),Ve=Object(f.a)(ze,2),We=(Ve[0],Ve[1],Object(v.useState)(0)),Ke=Object(f.a)(We,2),qe=Ke[0],Ye=Ke[1],Qe=Object(v.useState)({}),Je=Object(f.a)(Qe,2),Xe=(Je[0],Je[1],Object(v.useState)(!1)),Ze=Object(f.a)(Xe,2),$e=Ze[0],et=Ze[1],tt=Object(v.useState)("alert"),nt=Object(f.a)(tt,2),rt=nt[0],it=nt[1],at=Object(v.useState)(0),ot=Object(f.a)(at,2),st=ot[0],lt=ot[1],ct=Object(v.useState)(!1),ut=Object(f.a)(ct,2),dt=(ut[0],ut[1]),ht=Object(v.useState)(!1),ft=Object(f.a)(ht,2),pt=ft[0],mt=ft[1],gt=U.a.useForm(),vt=Object(f.a)(gt,1)[0],bt=Object(v.useState)([]),yt=Object(f.a)(bt,2),Et=yt[0],xt=yt[1],_t=Object(v.useState)(!0),kt=Object(f.a)(_t,2),wt=(kt[0],kt[1],Object(v.useRef)(),Object(v.useState)(1)),Ct=Object(f.a)(wt,2),St=Ct[0],Ot=Ct[1],At=Object(v.useState)(""),Tt=Object(f.a)(At,2),It=Tt[0],Dt=Tt[1],Lt=Object(v.useState)(),Rt=Object(f.a)(Lt,2),Nt=Rt[0],jt=Rt[1],Mt=Object(v.useState)(!1),Pt=Object(f.a)(Mt,2),Bt=Pt[0],Ft=Pt[1];function Ut(){return(Ut=Object(c.a)(g.a.mark((function e(t){var n,r,i,a,o;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return jt(null==t?void 0:t.exercise_user_id),Ft(2===t.commit_status||3===t.commit_status),dt(!0),e.next=5,Object(y.a)("/api/exercises/".concat(Me.categoryId,"/student_info.json"),{method:"get",params:{exercise_user_id:null==t?void 0:t.exercise_user_id}});case 5:(null==(o=e.sent)||null===(n=o.data)||void 0===n||null===(r=n.exercise_user_photos)||void 0===r?void 0:r.length)>0?et(!0):s.b.info("当前暂无照片"),xt(null==o||null===(i=o.data)||void 0===i?void 0:i.exercise_user_photos),lt(null==o||null===(a=o.data)||void 0===a?void 0:a.alert_count),dt(!1);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(v.useEffect)((function(){var e,t;if(Object($.c)())Ye(null===(t=Be.exercise_types)||void 0===t?void 0:t.total_users);else if(null!=Be&&null!==(e=Be.exercise_types)&&void 0!==e&&e.score_open){var n;Ye(null===(n=Be.exercise_types)||void 0===n?void 0:n.unanswer_users)}}),[Be]),Object(v.useEffect)((function(){var e,t={};if(null!=Le&&null!==(e=Le.query)&&void 0!==e&&e.exercise_group_id){var n,r;if(t={review:[0,2],commit_status:[2,3]},"0"!==(null==Le||null===(n=Le.query)||void 0===n?void 0:n.exercise_group_id))t.exercise_group_id=[Number(null==Le||null===(r=Le.query)||void 0===r?void 0:r.exercise_group_id)];vt.setFieldsValue(Object(h.a)({},t))}Me=Object(h.a)(Object(h.a)({},Me),t),Pe(Object(h.a)({},Me)),Ae({type:"exercise/getExerciseList",payload:Me}),Ae({type:"exercise/clearData",payload:{key:"reviewExercise"}})}),[]);var Ht=[{title:"序号",dataIndex:"name",fixed:"left",width:80,align:"center",render:function(e,t,n){return b.a.createElement(B.a,{title:20*((Me.page||1)-1)+n+1},b.a.createElement("span",null,20*((Me.page||1)-1)+n+1))}},{title:"姓名",dataIndex:"user_name",fixed:"left",width:120,ellipsis:!0,align:"left",render:function(e,t){return b.a.createElement("div",null,e||"--",!(null==t||!t.delayed_at)&&b.a.createElement(B.a,{title:b.a.createElement("div",null,"交卷截止时间调整至",b.a.createElement("span",{className:"ml5"},G()(t.delayed_at).format("YYYY-MM-DD HH:mm")))},b.a.createElement("span",{className:"iconfont icon-shizhong c-blue"})))}},!(null!=Be&&null!==(t=Be.exercise_types)&&void 0!==t&&t.is_excellent)&&{title:"学号",ellipsis:!0,dataIndex:"student_id",width:140,align:"left",sorter:!0,render:function(e){return e||"--"}},!(null!=Be&&null!==(n=Be.exercise_types)&&void 0!==n&&n.is_excellent)&&0!==(null==Be||null===(r=Be.exercise_types)||void 0===r?void 0:r.groups_count)&&{title:"分班",width:220,ellipsis:!0,dataIndex:"user_group_name",align:"left",render:function(e){return e||"--"}},{title:"异常行为",dataIndex:"exception_count",width:145,ellipsis:!0,align:"left",render:function(e,t){return 0===e?"0次":b.a.createElement("a",{target:"_blank",href:"/classrooms/".concat(Me.coursesId,"/exercise/").concat(Me.categoryId,"/abnormal?userid=").concat(null==t?void 0:t.exercise_user_id)},e+"次"||!1)}},{title:"最终成绩",width:100,dataIndex:"score",align:"center",sorter:!0,render:function(e,t){return!t.open_total_score&&Object($.s)()?"老师审核中":100===(e="number"==typeof e?Number(e):e)?b.a.createElement("span",{className:"c-green"},e||"--"):e>60?b.a.createElement("span",{className:"c-orange"},e||"--"):b.a.createElement("span",null,e||"--")}},!(1!==(null==Be||null===(i=Be.exercise_types)||void 0===i?void 0:i.objective)||1===(null==Be||null===(o=Be.exercise_types)||void 0===o?void 0:o.objective)&&1!==(null==Be||null===(l=Be.exercise_types)||void 0===l?void 0:l.subjective))&&{title:"客观题得分",dataIndex:"objective_score",align:"center",width:100,render:function(e,t){return!t.open_total_score&&Object($.s)()?"老师审核中":(n=(e="number"==typeof e?Number(e):e)>=0&&e<=60?b.a.createElement("span",null,e):100===e?b.a.createElement("span",{className:"c-green"},e):e>60?b.a.createElement("span",{className:"c-orange"},e):"--",b.a.createElement(ne,{renderText:n,item:t}));var n}},!(1!==(null==Be||null===(m=Be.exercise_types)||void 0===m?void 0:m.subjective)||1===(null==Be||null===(k=Be.exercise_types)||void 0===k?void 0:k.subjective)&&1!==(null==Be||null===(w=Be.exercise_types)||void 0===w?void 0:w.objective))&&{title:"问答题得分",width:100,dataIndex:"subjective_score",align:"center",render:function(e,t){return!t.open_total_score&&Object($.s)()?"老师审核中":0===(e="number"==typeof e?Number(e):e)?b.a.createElement("span",null,e," ",b.a.createElement("span",{className:"c-red"}," (待评审)")):e>0&&e<=60?b.a.createElement("span",null,e):100===e?b.a.createElement("span",{className:"c-green"},e):e>60?b.a.createElement("span",{className:"c-orange"},e):"--"}},{title:"提交状态",dataIndex:"commit_status",width:130,align:"left",render:function(e,t){return 0===e?b.a.createElement("span",{style:{color:"#666666"}},"未开始"):1===e?b.a.createElement("span",{style:{color:"#DF3042"}},!t.is_make_up&&"进行中",t.is_make_up&&"进行中 (补考)"):2===e?b.a.createElement("span",{style:{color:"#5AB891"}},!t.is_make_up&&"已完成",t.is_make_up&&"已完成 (补考)"):b.a.createElement("span",{style:{color:"#5AB891"}},!t.is_make_up&&"已提交(未答)",t.is_make_up&&"已提交/未答(补考)")}},{title:"开始答题时间",dataIndex:"start_at",width:145,ellipsis:!0,align:"left",sorter:!0,render:function(e){return e?G()(e).format("YYYY-MM-DD HH:mm"):"--"}},{title:"提交时间",dataIndex:"end_at",width:145,ellipsis:!0,align:"left",sorter:!0,render:function(e){return e?G()(e).format("YYYY-MM-DD HH:mm"):"--"}},(null==Fe?void 0:Fe.screen_open)&&{title:b.a.createElement("span",null,"切屏次数 ",b.a.createElement(B.a,{title:"红色代表学生切屏超过规定次数被强制交卷"},b.a.createElement("span",{className:"icon-xiaowenhao"}))),dataIndex:"screen_used_num",width:145,ellipsis:!0,align:"center",render:function(e,t){return b.a.createElement("span",{className:e>(null==t?void 0:t.screen_total_num)&&"c-red"},e,"/",null==t?void 0:t.screen_total_num)}},(null==Fe?void 0:Fe.exercise_status)>1&&(null==Fe?void 0:Fe.open_camera)&&Object($.c)()&&!(null!==(C=Te.setting)&&void 0!==C&&C.is_local)&&{title:"作业与测验照片",dataIndex:"photo_count",align:"center",width:100,render:function(e,t){return t.commit_status>0?b.a.createElement("a",{onClick:function(){!function(e){Ut.apply(this,arguments)}(t)}},"".concat(e||0,"/").concat(null==Fe?void 0:Fe.photo_count)):"--"}},(null==Fe?void 0:Fe.ip_bind)&&Object($.e)()&&{title:"作业与测验IP",dataIndex:"last_ip",align:"center",width:100,render:function(e,t){return b.a.createElement(b.a.Fragment,null,e||"--",1===t.commit_status&&Fe.ip_bind&&t.last_ip&&b.a.createElement(a.a,{type:"link",onClick:Object(c.a)(g.a.mark((function e(){var n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=u.a.confirm({title:b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"1"},"解除绑定"),b.a.createElement(P.a,null,b.a.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:function(){return n.destroy()}}))),width:500,icon:null,okText:"确定",cancelText:"取消",className:"custom-modal-divider",content:b.a.createElement("div",null,"为学生解除作业与测验IP绑定后,学生可以使用新的IP地址进入作业与测验。",b.a.createElement("span",{className:"c-red"},"如果该学生正在进行中,将无法作答,需要重新进入作业与测验。"),"您确定要解除该学生的作业与测验IP绑定?"),onOk:function(){var e=Object(c.a)(g.a.mark((function e(){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(S.ab)({id:Me.categoryId,exercise_user_id:t.exercise_user_id});case 2:0===e.sent.status&&(s.b.success("解绑成功"),Ae({type:"exercise/getExerciseList",payload:Me}));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 1:case"end":return e.stop()}}),e)})))},"解绑"))}},(null==Fe?void 0:Fe.open_camera)&&Object($.e)()&&Fe.exercise_status<3&&!(null!==(A=Te.setting)&&void 0!==A&&A.is_local)&&{title:"允许不拍摄",dataIndex:"close_camera",align:"center",width:100,render:function(e,t){return b.a.createElement(j.a,{checked:e,onClick:Object(c.a)(g.a.mark((function n(){return g.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:e?u.a.info({title:"提示",content:b.a.createElement("div",null,"不允许修改"),okText:"确认"}):u.a.confirm({title:"允许不摄像警告",content:b.a.createElement("div",null,"为保证作业与测验公平,本次作业与测验已开启防作弊设置,这需要调用学生的摄像头。如学生硬件设施确有问题,为保证学生作业与测验权利,教师可临时取消限制,允许学生参考。 本操作不可撤回,不可修改。 您确认同意该学生不开启摄像头参加作业与测验吗?"),onOk:function(){var e=Object(c.a)(g.a.mark((function e(){var n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(S.c)(Object(h.a)(Object(h.a)({},Me),{},{exercise_user_id:t.exercise_user_id}));case 2:0===(null==(n=e.sent)?void 0:n.status)&&(s.b.success("操作成功"),Ae({type:"exercise/getExerciseList",payload:Object(h.a)({},Me)}));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 1:case"end":return n.stop()}}),n)})))})}},Object($.c)()&&{title:"评阅状态",width:130,dataIndex:"has_comment",align:"center",render:function(e,t){return!e&&t.review_status?"评阅中":e?"已评阅":"未评阅"}},((null==Fe?void 0:Fe.assistant_auth)||Object($.c)()||Object($.s)())&&Ie&&{title:"操作",fixed:"right",dataInex:"action",align:"center",width:236,render:function(e,t){return b.a.createElement("div",null,Object($.c)()&&b.a.createElement(a.a,{ghost:!0,type:"primary",size:"small",disabled:t.commit_status<2},b.a.createElement("a",{className:t.commit_status>1?"c-blue":"c-black",href:t.commit_status>1&&"/classrooms/".concat(Me.coursesId,"/exercise/").concat(Me.categoryId,"/review/").concat(t.login),onClick:function(e){t.commit_status<2&&e.preventDefault(),3===t.commit_status&&(e.preventDefault(),Ae({type:"exercise/setActionTabs",payload:{key:"更改评阅",selectArrs:{record:Object(h.a)({},t),exercise_types:Object(h.a)({},null==Be?void 0:Be.exercise_types)},params:Object(h.a)({},Me)}}))}},t.has_comment&&"更改评阅",!t.has_comment&&"评阅")),!Object($.s)()&&["考试中"].includes(O.c[Fe.exercise_status])&&b.a.createElement(a.a,{ghost:!0,type:"primary",disabled:(null==t?void 0:t.commit_status)>1,className:"ml10",size:"small",onClick:function(){u.a.confirm({centered:!0,okText:"确定",cancelText:"取消",title:"提示",icon:null,className:"custom-modal-divider",content:"确认将该学生的作业与测验状态调整为已交卷吗?",onOk:function(){var e;u.a.confirm({centered:!0,okText:"确定",cancelText:"取消",title:"提示",icon:null,className:"custom-modal-divider",content:"确认将".concat(null==t?void 0:t.user_name,"的作业与测验状态调整为已交卷吗?"),onOk:(e=Object(c.a)(g.a.mark((function e(){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(y.a)("/api/exercises/".concat(Me.categoryId,"/commit_exercise_force.json"),{method:"post",body:{user_id:null==t?void 0:t.user_id}});case 2:0===e.sent.status&&Ae({type:"exercise/getExerciseList",payload:Me});case 4:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)})})}})}},"强制提交"),Object($.s)()&&t.commit_status>1&&b.a.createElement("span",{style:{color:"#0152d9",marginRight:"5px",cursor:"pointer"},onClick:function(){var e;null!=Be&&null!==(e=Be.exercise_types)&&void 0!==e&&e.answered_open?_.d.push("/classrooms/".concat(Me.coursesId,"/exercise/").concat(Me.categoryId,"/users/").concat(null==t?void 0:t.login,"?check=true")):s.b.info("老师已设置本作业与测验在交卷后不可查看")}},"查看"),(null==Fe?void 0:Fe.exercise_time)>0&&Object($.e)()&&b.a.createElement(B.a,{title:Object($.k)()?"您的权限不足,请联系本课堂管理员":3===Fe.exercise_status&&"本作业与测验已截止,请先修改截止时间使本作业与测验处于“进行中”"},b.a.createElement(a.a,{danger:!0,className:"c-red ml10",size:"small",disabled:!!Object($.k)()||3===Fe.exercise_status,onClick:function(){Object($.i)()&&Ae({type:"exercise/setActionTabs",payload:{key:"延时",selectArrs:t,exercise_time:Fe.exercise_time,params:Object(h.a)({},Me)}})}},"延时")))}}].filter((function(e){return!!e})),Gt=Object(d.a)(Ht);return Gt[0]=Object(h.a)({},Gt[0]),Gt[(null==Gt?void 0:Gt.length)-1]=Object(h.a)({},Gt[(null==Gt?void 0:Gt.length)-1]),Gt[0].render=function(){return"我"},Gt[(null==Gt?void 0:Gt.length)-1].render=function(){var e;return null!=Be&&null!==(e=Be.current_answer_user)&&void 0!==e&&e.login?b.a.createElement("span",{style:{color:"#0152d9",marginRight:"5px",cursor:"pointer"},onClick:function(){var e,t;null!=Be&&null!==(e=Be.exercise_types)&&void 0!==e&&e.answered_open?_.d.push("/classrooms/".concat(Me.coursesId,"/exercise/").concat(Me.categoryId,"/users/").concat(null==Be||null===(t=Be.current_answer_user)||void 0===t?void 0:t.login)):s.b.info("老师已设置本作业与测验在交卷后不可查看")}},"查看"):"--"},b.a.createElement("section",{className:"minH500 bg-white mb50 inline-block w100"},(null==Be||null===(H=Be.exercise_types)||void 0===H?void 0:H.score_open)&&Object($.s)()&&b.a.createElement(N.a,{hideOnSinglePage:!0,pagination:!1,showHeader:!1,dataSource:[Object(h.a)({},null==Be?void 0:Be.current_answer_user)],columns:Gt,scroll:{x:120*(null==Ht?void 0:Ht.length)}}),!Object($.c)()&&b.a.createElement("div",{className:"bg-white pt10 pl25 mt15"},!(null==Be||null===(Q=Be.exercise_types)||void 0===Q||!Q.answer_users)&&b.a.createElement("span",{className:"mr10"},b.a.createElement("span",{style:{color:"#FF954C"}},null==Be||null===(ee=Be.exercise_types)||void 0===ee?void 0:ee.answer_users," "),"已交"),!(null==Be||null===(re=Be.exercise_types)||void 0===re||!re.unanswer_users)&&b.a.createElement("span",{className:"mr10"},null==Be||null===(ie=Be.exercise_types)||void 0===ie?void 0:ie.unanswer_users,"未交"),"--"!==(null==Be||null===(ae=Be.exercise_types)||void 0===ae?void 0:ae.exercise_end_time)&&b.a.createElement("span",null,"剩余提交时间:",b.a.createElement("span",{style:{color:"#FF954C"}},null==Be||null===(oe=Be.exercise_types)||void 0===oe?void 0:oe.exercise_end_time))),!(null!==(se=Be.exercise_types)&&void 0!==se&&se.exercise_all_users)&&!Object($.s)()&&b.a.createElement(Y.a,null),(!(null===(le=Be.exercise_types)||void 0===le||!le.exercise_all_users)||Object($.s)())&&b.a.createElement("aside",null,Object($.c)()&&b.a.createElement("aside",{className:"pt20"},b.a.createElement(U.a,{form:vt,onValuesChange:function(e){Me.page=1;var t=Object.assign({},vt.getFieldValue());if(Object.keys(t).map((function(e){"objective_score_gte"!==e&&"objective_score_lte"!==e&&(t[e].includes("all")?(delete Me[e],vt.setFieldsValue(Object(F.a)({},e,"all"))):(Me[e]=t[e],""!=t[e]&&t[e]?vt.setFieldsValue(Object(F.a)({},e,Me[e])):vt.setFieldsValue(Object(F.a)({},e,"all"))))})),e.objective_score_gte||e.objective_score_lte){if(t.objective_score_gte>t.objective_score_lte)return vt.setFieldsValue({objective_score_lte:t.objective_score_gte}),!1;if(""==t.objective_score_gte||""==t.objective_score_lte||!t.objective_score_gte||!t.objective_score_lte)return delete Me.objective_score_lte,delete Me.objective_score_gte,!1;Me.objective_score_lte=t.objective_score_lte,Me.objective_score_gte=t.objective_score_gte}Pe(Object(h.a)({},Me)),De(Object(h.a)({},Me)),Ae({type:"exercise/getExerciseList",payload:Me})},initialValues:(ce={},Object(F.a)(ce,"commit_status","all"),Object(F.a)(ce,"exercise_group_id","all"),Object(F.a)(ce,"review","all"),Object(F.a)(ce,"is_make_up","all"),ce)},b.a.createElement(U.a.Item,{name:"exercise_group_id"},b.a.createElement(R.a.Group,{style:{width:"100%"}},b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"80px"},"选择班级:"),b.a.createElement(P.a,{flex:"80px"},b.a.createElement(R.a,{value:"all",checked:!(null!==(ue=Ge.course_group)&&void 0!==ue&&ue.length)},"全部")),b.a.createElement(P.a,{flex:"1"},Be.course_groups&&Be.course_groups.map((function(e,t){return b.a.createElement(R.a,{value:e.exercise_group_id,className:"ml0 mr8"},e.exercise_group_name,"(",e.exercise_group_students,")")})))))),b.a.createElement(U.a.Item,{name:"commit_status"},b.a.createElement(R.a.Group,{value:[],style:{width:"100%"}},b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"80px"},"提交状态:"),b.a.createElement(P.a,{flex:"80px"},b.a.createElement(R.a,{value:"all",checked:!(null!==(de=Ge.commit_status)&&void 0!==de&&de.length)},"全部")),b.a.createElement(P.a,{flex:"1"},K.map((function(e,t){var n;return b.a.createElement(R.a,{name:"commit_status",value:e.id},e.name,"(",null==Be||null===(n=Be.exercise_types)||void 0===n?void 0:n[e.type],")")})))))),b.a.createElement(U.a.Item,{name:"review"},b.a.createElement(R.a.Group,{style:{width:"100%"}},b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"80px"},"评阅状态:"),b.a.createElement(P.a,{flex:"80px"},b.a.createElement(R.a,{value:"all",checked:!(null!==(he=Ge.review)&&void 0!==he&&he.length)},"全部")),b.a.createElement(P.a,{flex:"1"},null==W?void 0:W.map((function(e,t){var n;return b.a.createElement(R.a,{value:e.id,key:t},e.name,"(",null==Be||null===(n=Be.exercise_types)||void 0===n?void 0:n[e.type],")")})))))),(null==Be||null===(fe=Be.exercise_types)||void 0===fe?void 0:fe.open_make_up)&&b.a.createElement(U.a.Item,{name:"is_make_up"},b.a.createElement(R.a.Group,{value:[],style:{width:"100%"}},b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"80px"},"补考状态:"),b.a.createElement(P.a,{flex:"80px"},b.a.createElement(R.a,{value:"all",checked:!(null!==(pe=Ge.is_make_up)&&void 0!==pe&&pe.length)},"全部")),b.a.createElement(P.a,{flex:"1"},q.map((function(e,t){var n;return b.a.createElement(R.a,{name:"is_make_up",value:e.id},e.name,"(",null==Be||null===(n=Be.exercise_types)||void 0===n?void 0:n[e.type],")")})))))),b.a.createElement(M.a,{align:"middle"},b.a.createElement(P.a,{flex:"1"},b.a.createElement(M.a,{align:"middle"},b.a.createElement(P.a,null,b.a.createElement(L.a.Search,{allowClear:!0,placeholder:"请输入姓名或者学号搜索",onSearch:function(e){Me.search=e,Ae({type:"exercise/getExerciseList",payload:Object(h.a)(Object(h.a)({},Me),{},{page:1})})},style:{width:240}})))),!(null!=Fe&&Fe.is_random)&&b.a.createElement(P.a,{className:["tr",te.a.rightFilter].join(" ")},1===(null===(me=Be.exercise_types)||void 0===me?void 0:me.objective)&&1===(null===(ge=Be.exercise_types)||void 0===ge?void 0:ge.subjective)&&b.a.createElement(b.a.Fragment,null,"按客观题得分分组",b.a.createElement("span",null,b.a.createElement(U.a.Item,{name:"objective_score_gte"},b.a.createElement(D.a,{min:0,max:null==Be||null===(ve=Be.exercise_types)||void 0===ve?void 0:ve.objective_score,placeholder:"最低"}))),b.a.createElement("span",null,b.a.createElement(U.a.Item,{name:"objective_score_lte"},b.a.createElement(D.a,{min:(null===(be=Me)||void 0===be?void 0:be.objective_score_gte)||0,max:null==Be||null===(ye=Be.exercise_types)||void 0===ye?void 0:ye.objective_score,placeholder:"最高"})))),1===(null===(Ee=Be.exercise_types)||void 0===Ee?void 0:Ee.subjective)&&Ie&&b.a.createElement(b.a.Fragment,null,b.a.createElement(a.a,{type:"default",disabled:(null==Be||null===(xe=Be.total_exercise_users)||void 0===xe?void 0:xe.length)<1},b.a.createElement(x.a,{target:"_blank",to:"/classrooms/".concat(Me.coursesId,"/exercise/").concat(Me.categoryId,"/abnormal")},b.a.createElement("span",{className:"iconfont icon-filesync3x"}),b.a.createElement("span",null,"学生异常行为"))),b.a.createElement(a.a,{type:"default",disabled:(null==Be||null===(_e=Be.total_exercise_users)||void 0===_e?void 0:_e.length)<1},b.a.createElement(x.a,{to:"/classrooms/".concat(Me.coursesId,"/exercise/").concat(Me.categoryId,"/reviews/group")},b.a.createElement("span",{className:"iconfont icon-tijiaozongjie"}),b.a.createElement("span",null,"集中批量批阅"))),b.a.createElement(a.a,{type:"default",disabled:(null==Be||null===(ke=Be.total_exercise_users)||void 0===ke?void 0:ke.length)<1},b.a.createElement(x.a,{to:"/classrooms/".concat(Me.coursesId,"/exercise/").concat(Me.categoryId,"/review/").concat(null==Be||null===(we=Be.total_exercise_users)||void 0===we||null===(Ce=we[0])||void 0===Ce?void 0:Ce.user_login)},b.a.createElement("span",{className:"iconfont icon-filesync3x"}),b.a.createElement("span",null,"组内顺序批阅")))))))),b.a.createElement(N.a,{className:"mt30",loading:Oe["exercise/getExerciseList"],hideOnSinglePage:!0,pagination:!1,dataSource:(null==Be?void 0:Be.exercise_users)||[],columns:Ht,scroll:{x:120*(null==Ht?void 0:Ht.length)},size:"large",onChange:function(e,t,n){Me.page=1,console.log(n,444),void 0===n.order?(Me.order_type=null,Me.order=null):(Me.order_type="descend"===n.order?"desc":"asc",Me.order=n.field),Ae({type:"exercise/getExerciseList",payload:Object(h.a)({},Me)})}}),qe>20&&b.a.createElement("aside",{className:"tc mb50 pb30 mt30"},b.a.createElement(I.a,{onChange:function(e,t){Me.page=e,Me.limit=20,Ae({type:"exercise/getExerciseList",payload:Object(h.a)({},Me)})},current:Me.page||1,defaultPageSize:20,total:qe,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,showTotal:function(e){return b.a.createElement("span",{className:"mr10"},"共",b.a.createElement("span",{className:"c-orange"},e),"条数据")}}))),b.a.createElement(V,null),b.a.createElement(z,null),b.a.createElement(J,null),$e&&b.a.createElement(u.a,{title:"防作弊头像",visible:$e,centered:!0,onCancel:function(){Ot(1),et(!1),xt([]),it("alert"),Dt("")},footer:b.a.createElement("div",{style:{display:"flex"}},b.a.createElement("div",{style:{flex:1,textAlign:"left"}}," ",b.a.createElement(a.a,{onClick:Object(c.a)(g.a.mark((function e(){var t;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(It){e.next=3;break}return s.b.info("输入框内容不能为空"),e.abrupt("return");case 3:return mt(!0),e.next=6,Object(y.a)("/api/exercises/".concat(Me.categoryId,"/send_alert.json"),{method:"post",body:{content:It,clazz:rt,exercise_user_id:Nt}});case 6:0===(null==(t=e.sent)?void 0:t.status)&&(s.b.info("发送成功"),Ot(1),et(!1),xt([]),it("alert"),Dt("")),mt(!1);case 9:case"end":return e.stop()}}),e)}))),disabled:Bt,loading:pt},"发送")),b.a.createElement(a.a,{disabled:0===(null==Et?void 0:Et.length),style:{marginRight:"10px"},onClick:Object(c.a)(g.a.mark((function e(){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ot(St-1==0?null==Et?void 0:Et.length:St-1);case 2:case"end":return e.stop()}}),e)})))},"上一张"),b.a.createElement(a.a,{disabled:0===(null==Et?void 0:Et.length),type:"primary",onClick:Object(c.a)(g.a.mark((function e(){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ot(St===(null==Et?void 0:Et.length)?1:St+1);case 2:case"end":return e.stop()}}),e)})))},"下一张"))},b.a.createElement("img",{style:{width:"234px !important",height:"132px",borderRadius:"5px"},src:Et[St-1]}),b.a.createElement("span",{onClick:function(){Z.a.publish("preview-image",Et[St-1]),console.log("src:",Et[St-1],Et,St-1)},style:{background:"#0152d9",color:"#fff",display:"inline-flex",width:"54px",height:"20px",borderRadius:"10px",justifyContent:"center",lineHeight:"20px",alignItems:"center",position:"absolute",top:"70px",left:"190px",zIndex:5,cursor:"pointer"}},"预览"),b.a.createElement("span",{style:{color:"#0152d9",marginTop:"16px",width:"234px",justifyContent:"center",display:"flex"}},St+"/"+(null==Et?void 0:Et.length)),b.a.createElement(T.a,{className:"mt20",checked:"alert"===rt,onChange:function(){return it("alert")}},"发送警告",b.a.createElement("span",{className:"font14 c-grey-999"},"(如发现学生在进行中的照片存在异常时,可发送消息给学生)")),b.a.createElement(T.a,{className:"mt10",checked:"notice"===rt,onChange:function(){return it("notice")}},"发送通知",b.a.createElement("span",{className:"font14 c-grey-999"},"(进行中如有消息通知,可发送消息给学生)")),b.a.createElement(L.a.TextArea,{className:"mt20",value:It,onChange:function(e){return Dt(e.target.value)},placeholder:"请输入".concat("alert"===rt?"警告":"通知","内容").concat("alert"===rt?",如:扭头低头大幅度动作检测":"")}),b.a.createElement("div",{style:{color:"#E30000",fontSize:12,margin:"10px 0"}},"已发送",st,"次警告")),b.a.createElement(X.a,null))})),ie=(n("OaEy"),n("2fM7")),ae=n("8Skl"),oe=n("y3Kf"),se=n("mxOx"),le=n.n(se),ce=n("LvDl"),ue=n.n(ce),de=n("GUcZ"),he=(n("ulZh"),/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i),fe=Object(v.forwardRef)((function(e,t){var n,r,i,a=e.src,o=(e.videoId,e.logWatchHistory,e.courseId,e.startTime,e.handlePause,e.handlePlay,e.handlePlayEnded,e.videoSpeed,"flv"===(null===(r=a=null===(n=a)||void 0===n?void 0:n.replace("http://","http://"))||void 0===r||null===(i=r.split("."))||void 0===i?void 0:i.pop())),s=Object(v.useRef)(),l=Object(v.useRef)(),c=Object(v.useRef)(0),u=Object(v.useRef)(0),d=Object(v.useState)(0),h=Object(f.a)(d,2),p=h[0],m=h[1],g=navigator.userAgent.toLowerCase().match(he);g&&g[0];Object(v.useImperativeHandle)(t,(function(){return{getLastUpdatedTime:function(){return s.current.currentTime},getDuration:function(){return s.current.duration}}})),Object(v.useEffect)((function(){u.current=void 0;try{var e;de.a.isSupported&&o&&a&&(null===(e=a)||void 0===e?void 0:e.indexOf(".m3u8"))<0?(u.current=de.a.createPlayer({type:"flv",volume:.8,cors:!0,url:a+"?t="+Date.now(),muted:!1,isLive:!0}),u.current.on("play",(function(){console.log(21111)})),s.current&&(u.current.detachMediaElement(s.current),u.current.attachMediaElement(s.current),u.current.load(),u.current.play())):s.current.setAttribute("src",a+"?t="+Date.now())}catch(e){setTimeout((function(){m(p+1)}),1e3)}return console.log("src:",a),function(){var e,t,n,r,i,a,o,l;u.current&&(null===(e=u.current)||void 0===e||null===(t=e.unload)||void 0===t||t.call(e),null===(n=u.current)||void 0===n||null===(r=n.pause)||void 0===r||r.call(n),null===(i=u.current)||void 0===i||null===(a=i.destroy)||void 0===a||a.call(i),null===(o=u.current)||void 0===o||null===(l=o.detachMediaElement)||void 0===l||l.call(o,s.current),u.current=void 0,s.current.src="")}}),[s,o,a,p]),Object(v.useEffect)((function(){return l.current=setInterval((function(){c.current>0&&c.current===s.current.currentTime&&(console.log("播放一次"),m(p+1)),c.current=s.current.currentTime}),3e3),function(){clearInterval(l.current)}}),[]);return b.a.createElement("video",{ref:s,onerr:!0,onErrorCapture:function(){m(p+1)},autoPlay:!0,muted:!0})})),pe=Object(_.a)((function(e){return{exercise:e.exercise,user:e.user}}))((function(e){var t,n=e.exercise,r=e.dispatch,i=(e.user,Object(E.i)()),a=Object(v.useState)({page:1,limit:20,sort_by:null,sort_direction:null,state:null,audit:null,name:"",save_name:"",exercise_id:null==i?void 0:i.categoryId}),o=Object(f.a)(a,2),l=o[0],d=o[1],p=U.a.useForm(),m=Object(f.a)(p,1)[0],x=Object(v.useState)(),_=Object(f.a)(x,2),k=_[0],w=_[1],C=Object(v.useState)(!1),S=Object(f.a)(C,2),A=S[0],T=S[1],I=n.exerciseList,D=n.commonHeader,j=Object(v.useState)([]),H=Object(f.a)(j,2),G=H[0],z=H[1],V=Object(v.useState)([]),W=Object(f.a)(V,2),K=W[0],q=W[1],Y=Object(v.useState)(0),Q=Object(f.a)(Y,2),J=Q[0],$=Q[1],ee=Object(v.useState)(!0),te=Object(f.a)(ee,2),ne=te[0],re=te[1],se=Object(v.useState)(!1),ce=Object(f.a)(se,2),de=ce[0],he=ce[1],pe=Object(v.useRef)(null);Object(v.useEffect)((function(){ge(),ve(l)}),[]),Object(v.useEffect)((function(){return clearInterval(pe.current),2===(null==D?void 0:D.exercise_status)&&(pe.current=setInterval((function(){ve(l)}),3e4)),function(){clearInterval(pe.current)}}),[null==D?void 0:D.exercise_status,l]);var ge=function(){r({type:"exercise/getExerciseList",payload:i})},ve=function(){var e=Object(c.a)(g.a.mark((function e(t){var n,r;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=ue.a.cloneDeep(t),console.log(n,"sendData"),re(!0),z([]),e.next=6,Object(y.a)("/api/exercises/".concat(null==t?void 0:t.exercise_id,"/exercise_identity_photos.json"),{method:"get",params:n});case 6:r=e.sent,q([]),re(!1),$(null==r?void 0:r.count),z((null==r?void 0:r.exercise_users)||[]);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),be=function(e,t){l.page=1,l[t]=e,d(Object(h.a)({},l)),ve(l)};Object(v.useEffect)((function(){document.getElementById("divhe")&&(document.getElementById("divhe").scrollHeight>47&&(w(47),T(!0)))}),[document.getElementById("divhe"),I]);var ye=[{title:"序号",dataIndex:"number",width:80,render:function(e,t,n){return l.limit*(l.page-1)+n+1}},{title:"姓名",dataIndex:"user_name",width:110,ellipsis:{showTitle:!1},render:function(e){return b.a.createElement(B.a,{placement:"bottomLeft",title:e},b.a.createElement("span",null,e))}},{title:"学号",dataIndex:"student_id",sorter:!0,width:140,showSorterTooltip:!1,ellipsis:{showTitle:!1},render:function(e){return b.a.createElement(B.a,{placement:"bottomLeft",title:e||"--"},b.a.createElement("span",null,e||"--"))}},{title:"分班",dataIndex:"user_group_name",ellipsis:{showTitle:!1},render:function(e,t){return e?b.a.createElement(B.a,{placement:"bottom",title:e},b.a.createElement("span",{className:le.a.es},e)):"--"}},{title:"人脸照片",dataIndex:"photo_url",width:90,ellipsis:{showTitle:!1},render:function(e,t){return b.a.createElement("img",{width:40,style:{maxHeight:30},src:e,className:"current",onClick:function(){_e(t)}})}},{title:"审核状态",width:100,dataIndex:"exercise_identity_photo_state",ellipsis:{showTitle:!1},render:function(e,t){return b.a.createElement(b.a.Fragment,null,"passed"===e&&b.a.createElement("span",{style:{color:"#44D7B6"}},"审核通过"),"rejected"===e&&b.a.createElement("span",{style:{color:"#E53333"}},"审核不通过"),"submitted"===e&&b.a.createElement("span",{style:{color:"#666666"}},"待审核"))}},{title:"审核时间",dataIndex:"audit_time",width:180,ellipsis:{showTitle:!1},render:function(e){return b.a.createElement("span",null,e||"--")}},{title:"审核类型",dataIndex:"audit_clazz",width:90,ellipsis:{showTitle:!1},render:function(e){return b.a.createElement("span",null,e||"--")}},{title:"操作",dataIndex:"action",width:180,ellipsis:{showTitle:!1},render:function(e,t){var n;return b.a.createElement(b.a.Fragment,null,"submitted"===(null==t?void 0:t.exercise_identity_photo_state)?b.a.createElement("span",{className:"c-light-primary current",onClick:function(){return he(t)}},"审核"):b.a.createElement("span",{className:"c-grey-999 cursorNotAllowed"},"审核"),"submitted"!==(null==t?void 0:t.exercise_identity_photo_state)?b.a.createElement("span",{className:"c-light-primary current ml10 mr10",onClick:function(){return Ee(t)}},"审核记录"):b.a.createElement("span",{className:"c-grey-999 ml10 mr10 cursorNotAllowed"},"审核记录"),"passed"===(null==t?void 0:t.exercise_identity_photo_state)&&null!=t&&null!==(n=t.play_url)&&void 0!==n&&n.length?b.a.createElement("span",{className:"c-light-primary current",onClick:function(){return xe(t)}},"摄像监控"):b.a.createElement("span",{className:"c-grey-999 cursorNotAllowed"},"摄像监控"))}}],Ee=function(e){var t=[{title:"审核时间",dataIndex:"audit_time",width:170,render:function(e,t){return b.a.createElement("span",null,e||"--")}},{title:"审核状态",dataIndex:"exercise_identity_photo_state",width:110,render:function(e,t){return b.a.createElement(b.a.Fragment,null,"passed"===e&&b.a.createElement("span",{style:{color:"#44D7B6"}},"审核通过"),"rejected"===e&&b.a.createElement("span",{style:{color:"#E53333"}},"审核不通过"),"submitted"===e&&b.a.createElement("span",{style:{color:"#666666"}},"待审核"))}},{title:"审核意见",dataIndex:"comment",render:function(e,t){return e?b.a.createElement(B.a,{placement:"bottom",title:e},b.a.createElement("span",null,e)):"--"}},{title:"采集照片",dataIndex:"photo_url",width:90,render:function(e,t){return b.a.createElement("span",{className:"current c-light-primary",onClick:function(){Z.a.publish("preview-image",e)}},"查看")}}],n=u.a.confirm({icon:null,width:700,className:"".concat(le.a.cusModal," custom-modal-divider"),centered:!0,title:b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"1"},"审核记录"),b.a.createElement(P.a,null,b.a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:function(){return n.destroy()}}))),content:b.a.createElement("div",null,b.a.createElement(N.a,{className:le.a.customTable,dataSource:[Object(h.a)({},e)],bordered:!1,columns:t,rowKey:"exercise_identity_photo_id",rowClassName:le.a.row,pagination:!1}))})},xe=function(e){var t,n,r=u.a.confirm({icon:null,className:"".concat(le.a.cusModal," custom-modal-divider"),centered:!0,width:(null==e||null===(t=e.play_url)||void 0===t?void 0:t.length)<6?724:744,title:b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"1"},"视频"),b.a.createElement(P.a,null,b.a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:function(){return r.destroy()}}))),content:b.a.createElement("ul",{className:le.a.sys},null==e||null===(n=e.play_url)||void 0===n?void 0:n.map((function(e,t){return b.a.createElement("li",{className:le.a.li,key:t},b.a.createElement("div",{className:le.a.d1},b.a.createElement("div",{className:le.a.img},b.a.createElement(fe,{src:null==e?void 0:e.replace(".m3u8",".flv"),autoPlay:!0})),b.a.createElement("div",{className:le.a.btn},b.a.createElement("div",{className:le.a.b1},"回放视频",t+1))))})))})},_e=function(e){var t=u.a.confirm({icon:null,className:"".concat(le.a.cusModal," custom-modal-divider"),centered:!0,width:710,title:b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"1"},"人脸照片"),b.a.createElement(P.a,null,b.a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:function(){return t.destroy()}}))),content:b.a.createElement(M.a,null,b.a.createElement("aside",{className:le.a.imgWrap,style:{marginBottom:40}},b.a.createElement("div",{className:le.a.img},b.a.createElement("img",{width:326,src:Object(O.g)(null==e?void 0:e.photo_url)}),b.a.createElement("div",{className:le.a.textP},"采集照片")),b.a.createElement("div",{className:le.a.img,style:{marginLeft:20}},null!=e&&e.identity_url?b.a.createElement("img",{width:326,src:Object(O.g)(null==e?void 0:e.identity_url)}):b.a.createElement("div",{className:le.a.no,style:{width:326}},b.a.createElement("span",null,"暂无证件照片")),b.a.createElement("div",{className:le.a.textP},"证件照片"))))})},ke={selectedRowKeys:K,columnWidth:40,onChange:function(e){q(e)},getCheckboxProps:function(e){return{disabled:!("passed"!==(null==e?void 0:e.exercise_identity_photo_state))}}};return b.a.createElement("section",{className:le.a.wrap},b.a.createElement(U.a,{form:m,onChange:function(){l.page=1;var e=Object.assign({},m.getFieldsValue());Object.keys(e).map((function(t){switch(t){case"exercise_group_id":e[t].includes("all")||!e[t].length?(delete l.course_group,m.setFieldsValue(Object(F.a)({},"exercise_group_id","all"))):(l.course_group=e[t],m.setFieldsValue(Object(F.a)({},"exercise_group_id",l.course_group)))}})),d(Object(h.a)({},l)),ve(l)},initialValues:Object(F.a)({},"exercise_group_id","all")},b.a.createElement(U.a.Item,{name:"exercise_group_id"},b.a.createElement(R.a.Group,{style:{width:"100%"}},b.a.createElement(M.a,null,b.a.createElement(P.a,{className:"font14",flex:"80px"},"选择分班:"),b.a.createElement(P.a,{flex:"80px"},b.a.createElement(R.a,{value:"all"},"全部")),b.a.createElement(P.a,{flex:"1",id:"divhe",style:{height:k+"px",overflow:"hidden"}},null===(t=I.course_groups)||void 0===t?void 0:t.map((function(e,t){return b.a.createElement(R.a,{key:t,value:e.exercise_group_id,className:"ml0 mr8"},e.exercise_group_name,"(",e.exercise_group_students,")")}))),A&&b.a.createElement("span",{onClick:function(){var e=document.getElementById("divhe").scrollHeight;w(k>47?47:e)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},47===k?"展开":"收起",47===k?b.a.createElement(ae.a,{style:{marginBottom:"3px",marginLeft:"2px"}}):b.a.createElement(oe.a,{style:{marginBottom:"3px",marginLeft:"2px"}})))))),b.a.createElement("div",{className:le.a.control},b.a.createElement(L.a.Search,{placeholder:"请输入姓名或者学号搜索",value:null==l?void 0:l.save_name,onChange:function(e){return t=e.target.value,l.page=1,l.save_name=t,void d(Object(h.a)({},l));var t},onSearch:function(){l.page=1,l.name=l.save_name,d(Object(h.a)({},l)),ve(l)}}),b.a.createElement(ie.a,{placeholder:"请选择审核状态",value:null==l?void 0:l.state,onChange:function(e){return be(e,"state")}},b.a.createElement(ie.a.Option,{value:null},"全部"),b.a.createElement(ie.a.Option,{value:"submitted"},"待审核"),b.a.createElement(ie.a.Option,{value:"passed"},"审核通过"),b.a.createElement(ie.a.Option,{value:"rejected"},"审核不通过")),b.a.createElement(ie.a,{placeholder:"请选择审核类型",value:null==l?void 0:l.audit,onChange:function(e){return be(e,"audit")}},b.a.createElement(ie.a.Option,{value:null},"全部"),b.a.createElement(ie.a.Option,{value:1},"自动审核"),b.a.createElement(ie.a.Option,{value:2},"人工审核")),b.a.createElement("span",{className:le.a.btn,style:{cursor:"pointer"},onClick:function(){K.length?he(!0):s.b.warn("请选择学生")}},b.a.createElement("i",{className:"iconfont icon-piliangcaozuo font14 mr5"}),"批量审核")),b.a.createElement("div",{className:le.a.bgH}),b.a.createElement(N.a,{rowSelection:ke,className:le.a.customTable,dataSource:G,bordered:!1,columns:ye,rowKey:"exercise_identity_photo_id",rowClassName:le.a.row,loading:ne,onChange:function(e,t,n){l.page=null==e?void 0:e.current,l.limit=null==e?void 0:e.pageSize,null!=n&&n.order?(l.sort_by=null==n?void 0:n.field,l.sort_direction="ascend"===(null==n?void 0:n.order)?"asc":"desc"):(l.sort_by=null,l.sort_direction=null),d(Object(h.a)({},l)),ve(l)},pagination:{pageSize:l.limit,total:J,current:l.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,position:["bottomCenter"],showTotal:function(e){return b.a.createElement("span",{className:"mr10"},"共",b.a.createElement("span",{className:"c-orange"},e),"条数据")}}}),b.a.createElement(me,{selectIds:K,visible:de,onCancel:function(){return he(!1)},onOk:function(){he(!1),ve(l)},params:l}),b.a.createElement(X.a,null))})),me=function(e){var t=e.visible,n=e.onOk,r=e.onCancel,i=e.selectIds,a=e.params,o=Object(v.useState)(!1),s=Object(f.a)(o,2),l=s[0],d=s[1],p=Object(v.useState)({}),m=Object(f.a)(p,2),E=m[0],x=m[1],_=U.a.useForm(),k=Object(f.a)(_,1)[0],w=function(){var e=Object(c.a)(g.a.mark((function e(r){var o,s;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(d(!0),!0!==t){e.next=7;break}return e.next=4,Object(y.a)("/api/exercises/".concat(null==a?void 0:a.exercise_id,"/batch_audit_identity_photo.json"),{method:"post",body:Object(h.a)({identity_photo_ids:i},r)});case 4:s=e.sent,e.next=10;break;case 7:return e.next=9,Object(y.a)("/api/exercises/".concat(null==a?void 0:a.exercise_id,"/audit_identity_photo.json"),{method:"post",body:Object(h.a)({identity_photo_id:null==t?void 0:t.exercise_identity_photo_id},r)});case 9:s=e.sent;case 10:0===(null===(o=s)||void 0===o?void 0:o.status)&&n(),d(!1);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return b.a.createElement(u.a,{title:!0!==t?"人脸身份审核":"批量审核",visible:!!t,centered:!0,width:650,destroyOnClose:!0,onCancel:function(){r()},afterClose:function(){k.resetFields(),x({})},confirmLoading:l,onOk:function(){return k.submit()}},b.a.createElement(U.a,{className:le.a.formWrap,form:k,labelCol:{span:4},wrapperCol:{span:18},onFinish:w,onValuesChange:function(){x(Object(h.a)({},k.getFieldsValue()))}},!0!==t&&b.a.createElement(M.a,{style:{marginLeft:28,marginBottom:38}},b.a.createElement(P.a,null,"采集照片:"),b.a.createElement(P.a,null,b.a.createElement("aside",{className:le.a.imgWrap},b.a.createElement("div",{className:le.a.img},b.a.createElement("img",{width:234,src:Object(O.g)(null==t?void 0:t.photo_url)}),b.a.createElement("div",{onClick:function(){Z.a.publish("preview-image",null==t?void 0:t.photo_url)},className:le.a.iBtn},"预览"),b.a.createElement("div",{className:le.a.text},"采集照片")),b.a.createElement("div",{className:le.a.img,style:{marginLeft:20}},null!=t&&t.identity_url?b.a.createElement("img",{width:234,src:Object(O.g)(null==t?void 0:t.identity_url)}):b.a.createElement("div",{className:le.a.no,style:{width:326}},b.a.createElement("span",null,"暂无证件照片")),!(null==t||!t.identity_url)&&b.a.createElement("div",{onClick:function(){Z.a.publish("preview-image",Object(O.g)(null==t?void 0:t.identity_url))},className:le.a.iBtn},"预览"),b.a.createElement("div",{className:le.a.text},"证件照片"))))),b.a.createElement(U.a.Item,{label:"审核状态",name:"state",rules:[{required:!0,message:"请输入审核状态"}]},b.a.createElement(T.a.Group,null,b.a.createElement(T.a,{value:"passed"},"审核通过"),b.a.createElement(T.a,{value:"rejected"},"审核不通过"))),"rejected"===(null==E?void 0:E.state)&&b.a.createElement(U.a.Item,{label:"审核意见",name:"comment",rules:[{required:!0,message:"请输入审核意见"}]},b.a.createElement(L.a,{placeholder:"如:你的个人信息与照片不一致。",maxLength:30})),b.a.createElement("div",{style:{color:"#FA6400",paddingLeft:32}},"注意:审核通过后,该学生在本场作业与测验的认证状态将更新为“审核通过”,且能够进入作业与测验。")))},ge=(n("cWXX"),n("/ezw")),ve=(n("R9oj"),n("ECub")),be=n("hZbv"),ye=n.n(be),Ee=Object(_.a)((function(e){return{exercise:e.exercise,user:e.user}}))((function(e){var t,n,i,o,l,d,p,m,x,_=e.exercise,k=e.dispatch,w=(e.user,Object(E.i)()),C=Object(v.useState)({page:1,limit:10,name:"",save_name:"",exercise_id:null==w?void 0:w.categoryId}),S=Object(f.a)(C,2),A=S[0],D=S[1],j=U.a.useForm(),H=Object(f.a)(j,1)[0],z=Object(v.useState)(),V=Object(f.a)(z,2),W=V[0],K=V[1],q=Object(v.useState)(!1),Y=Object(f.a)(q,2),Q=Y[0],J=Y[1],$=_.exerciseList,ee=Object(v.useState)([]),te=Object(f.a)(ee,2),ne=te[0],re=te[1],se=Object(v.useState)(0),le=Object(f.a)(se,2),ce=le[0],de=le[1],he=Object(v.useState)(!0),fe=Object(f.a)(he,2),pe=fe[0],me=fe[1],be=Object(v.useState)(!1),Ee=Object(f.a)(be,2),xe=Ee[0],_e=Ee[1],ke=Object(v.useState)("1"),we=Object(f.a)(ke,2),Ce=we[0],Se=we[1],Oe=Object(v.useState)(1),Ae=Object(f.a)(Oe,2),Te=Ae[0],Ie=Ae[1],De=Object(v.useState)("alert"),Le=Object(f.a)(De,2),Re=Le[0],Ne=Le[1],je=Object(v.useState)(1),Me=Object(f.a)(je,2),Pe=Me[0],Be=Me[1],Fe=Object(v.useState)(""),Ue=Object(f.a)(Fe,2),He=Ue[0],Ge=Ue[1],ze=Object(v.useState)(!1),Ve=Object(f.a)(ze,2),We=Ve[0],Ke=Ve[1],qe=Object(v.useState)(!1),Ye=Object(f.a)(qe,2),Qe=Ye[0],Je=Ye[1],Xe=Object(v.useState)([]),Ze=Object(f.a)(Xe,2),$e=Ze[0],et=Ze[1];Object(v.useEffect)((function(){tt(),nt(A)}),[]);var tt=function(){k({type:"exercise/getExerciseList",payload:w})},nt=function(){var e=Object(c.a)(g.a.mark((function e(t){var n,r;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=ue.a.cloneDeep(t),me(!0),re([]),e.next=5,Object(y.a)("/api/exercises/".concat(null==t?void 0:t.exercise_id,"/exercise_videos.json"),{method:"get",params:n});case 5:r=e.sent,me(!1),de(null==r?void 0:r.count),re((null==r?void 0:r.exercise_users)||[]);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();Object(v.useEffect)((function(){document.getElementById("divhe")&&(document.getElementById("divhe").scrollHeight>47&&(K(47),J(!0)))}),[document.getElementById("divhe"),$]);var rt=function(){var e=Object(c.a)(g.a.mark((function e(t){var n,r;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Ke(!0),_e({}),e.next=4,Object(y.a)("/api/exercises/".concat(null==A?void 0:A.exercise_id,"/student_info.json"),{method:"get",params:{exercise_user_id:null==t?void 0:t.exercise_user_id}});case 4:return n=e.sent,e.next=7,Object(y.a)("/api/exercises/".concat(null==A?void 0:A.exercise_id,"/video_push_logs.json"),{method:"get",params:{exercise_user_id:null==t?void 0:t.exercise_user_id}});case 7:null!=(r=e.sent)&&r.data&&et((null==r?void 0:r.data)||[]),null!=n&&n.data&&_e(Object(h.a)(Object(h.a)({},null==n?void 0:n.data),{},{exercise_user_id:null==t?void 0:t.exercise_user_id,datas:t})),Ke(!1);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),it=function(e){var t,n;"prev"===e?Ie(Te-1==0?null==xe||null===(t=xe.exercise_user_photos)||void 0===t?void 0:t.length:Te-1):Ie(Te===(null==xe||null===(n=xe.exercise_user_photos)||void 0===n?void 0:n.length)?1:Te+1)},at=function(e){Ne(e),Be(1),Ge("")},ot=[{key:1,value:"手机录像异常,请重新扫描左侧二维码开启手机摄像录制。"},{key:2,value:"请勿离开监控范围!"},{key:3,value:"请不要与其他人交谈!"},{key:4,value:"请不要做与作业与测验无关的行为!"},{key:5,value:"请勿切屏,超过3次将被强制交卷!"},{key:6,value:"请勿遮挡或关闭电脑摄像监控!"},{key:0,value:"其他"}],st=[{key:1,value:"请将手机放置于侧后方45°,离桌面1米左右,保证能拍摄到上半身、电脑屏幕和桌面。"},{key:2,value:"手机录像异常,请重新扫描左侧二维码开启手机摄像录制。"},{key:0,value:"其他"}],lt="alert"===Re?ot:st;return b.a.createElement("section",{className:ye.a.wrap},b.a.createElement(U.a,{form:H,onChange:function(){A.page=1;var e=Object.assign({},H.getFieldsValue());Object.keys(e).map((function(t){switch(t){case"exercise_group_id":e[t].includes("all")||!e[t].length?(delete A.course_group,H.setFieldsValue(Object(F.a)({},"exercise_group_id","all"))):(A.course_group=e[t],H.setFieldsValue(Object(F.a)({},"exercise_group_id",A.course_group)))}})),nt(A)},initialValues:Object(F.a)({},"exercise_group_id","all")},b.a.createElement(U.a.Item,{name:"exercise_group_id"},b.a.createElement(R.a.Group,{style:{width:"100%"}},b.a.createElement(M.a,null,b.a.createElement(P.a,{className:"font14",flex:"80px"},"选择分班:"),b.a.createElement(P.a,{flex:"80px"},b.a.createElement(R.a,{value:"all"},"全部")),b.a.createElement(P.a,{flex:"1",id:"divhe",style:{height:W+"px",overflow:"hidden"}},null===(t=$.course_groups)||void 0===t?void 0:t.map((function(e,t){return b.a.createElement(R.a,{key:t,value:e.exercise_group_id,className:"ml0 mr8"},e.exercise_group_name,"(",e.exercise_group_students,")")}))),Q&&b.a.createElement("span",{onClick:function(){var e=document.getElementById("divhe").scrollHeight;K(W>47?47:e)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},47===W?"展开":"收起",47===W?b.a.createElement(ae.a,{style:{marginBottom:"3px",marginLeft:"2px"}}):b.a.createElement(oe.a,{style:{marginBottom:"3px",marginLeft:"2px"}})))))),b.a.createElement("div",{className:ye.a.control},b.a.createElement(L.a.Search,{placeholder:"请输入姓名或者学号搜索",value:null==A?void 0:A.save_name,onChange:function(e){return t=e.target.value,A.page=1,A.save_name=t,void D(Object(h.a)({},A));var t},onSearch:function(){A.page=1,A.name=A.save_name,D(Object(h.a)({},A)),nt(A)}})),b.a.createElement("div",{className:ye.a.bgH}),b.a.createElement("div",{className:ye.a.warpList},b.a.createElement(ge.a,{loading:pe,active:!0,paragraph:{rows:5}},b.a.createElement("div",{className:"c-grey-666 mb20 mt20"},"共",b.a.createElement("span",{className:"c-orange"},ce),"名学生已开启手机摄影"),ne.length?b.a.createElement("ul",{className:ye.a.sys},ne.map((function(e,t){var n=e.user_name,r=e.user_group_name,i=e.video_url,a=e.login,o=e.student_id;return b.a.createElement("li",{className:ye.a.li,key:t},b.a.createElement("div",{className:ye.a.d1},b.a.createElement("div",{className:ye.a.img},b.a.createElement("iframe",{style:{height:340,width:"100%",border:"none"},src:"/live-play.html?key=".concat(t,"&video_url=").concat(null==i?void 0:i.replace(".m3u8",".flv"))})),b.a.createElement(B.a,{title:"姓名+学号"},b.a.createElement("div",{className:ye.a.btn,onClick:function(){return Object(O.s)("".concat(A.exercise_id,"-").concat(a),!0)}},b.a.createElement("div",{title:n,className:ye.a.b1},n),b.a.createElement("div",{title:r,className:ye.a.b2},"(",o,")"))),b.a.createElement("div",{onClick:function(){return rt(e)},className:ye.a.big},"查看")))}))):b.a.createElement(ve.a,null)),b.a.createElement(I.a,{showTotal:function(e){return b.a.createElement("span",{className:"mr10"},"共",b.a.createElement("span",{className:"c-orange"},e),"条数据")},className:"tc",showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,onChange:function(e,t){A.page=e,A.limit=t,D(Object(h.a)({},A)),nt(A)},pageSize:null==A?void 0:A.limit,current:A.page,total:ce})),b.a.createElement(u.a,{title:"查看详细信息",visible:xe,centered:!0,width:850,destroyOnClose:!0,onCancel:function(){_e(!1)},afterClose:function(){Ie(1),Ne("alert"),Ge(""),Se("1"),Be(1)},footer:null},b.a.createElement(ge.a,{loading:We,active:!0,paragraph:{rows:5}},b.a.createElement("div",null,b.a.createElement("span",null,"姓名:",null==xe||null===(n=xe.datas)||void 0===n?void 0:n.user_name),b.a.createElement("span",{className:"ml20"},"学号:",null==xe||null===(i=xe.datas)||void 0===i?void 0:i.student_id),b.a.createElement("span",{className:"ml20"},"班级:",null==xe||null===(o=xe.datas)||void 0===o?void 0:o.user_group_name)),b.a.createElement(r.a,{className:"mt10",defaultActiveKey:Ce,onChange:function(e){Se(e)}},b.a.createElement(r.a.TabPane,{tab:"防作弊头像",key:"1"},b.a.createElement("aside",{className:ye.a.imgWrap},b.a.createElement("div",{className:ye.a.img,style:{width:234,marginLeft:30,textAlign:"center"}},null!=xe&&null!==(l=xe.exercise_user_photos)&&void 0!==l&&l.length?b.a.createElement(v.Fragment,null,b.a.createElement("img",{height:131,src:null==xe||null===(d=xe.exercise_user_photos)||void 0===d?void 0:d[Te-1]}),b.a.createElement("div",{onClick:function(){var e;Z.a.publish("preview-image",null==xe||null===(e=xe.exercise_user_photos)||void 0===e?void 0:e[Te-1])},className:ye.a.iBtn},"预览"),b.a.createElement("div",{className:ye.a.text},"进行中照片",b.a.createElement("span",{className:"c-light-primary"},Te,"/",null==xe||null===(p=xe.exercise_user_photos)||void 0===p?void 0:p.length)),1===Te?b.a.createElement("div",{style:{color:"#ccc",cursor:"not-allowed"},className:ye.a.l}," ",b.a.createElement("i",{className:"iconfont icon-fanhui2"})):b.a.createElement("div",{onClick:function(){return it("prev")},className:ye.a.l}," ",b.a.createElement("i",{className:"iconfont icon-fanhui2"})),b.a.createElement("div",{onClick:function(){return it("next")},className:ye.a.r},b.a.createElement("i",{className:"iconfont icon-lujing"}))):b.a.createElement("div",{className:ye.a.no},b.a.createElement("span",null,"暂无进行中照片"))),b.a.createElement("div",{className:ye.a.img,style:{marginLeft:60,width:234,textAlign:"center"}},null!=xe&&xe.identity_url?b.a.createElement("img",{height:131,src:Object(O.g)(null==xe?void 0:xe.identity_url)}):b.a.createElement("div",{className:ye.a.no},b.a.createElement("span",null,"暂无证件照片")),!(null==xe||!xe.identity_url)&&b.a.createElement("div",{onClick:function(){Z.a.publish("preview-image",Object(O.g)(null==xe?void 0:xe.identity_url))},className:ye.a.iBtn},"预览"),b.a.createElement("div",{className:ye.a.text},"证件照片")))),b.a.createElement(r.a.TabPane,{tab:"人脸照片",key:"2"},b.a.createElement("aside",{className:ye.a.imgWrap,style:{marginLeft:70}},b.a.createElement("div",{className:ye.a.img},b.a.createElement("img",{width:234,src:null==xe?void 0:xe.exercise_identity_photo}),b.a.createElement("div",{onClick:function(){Z.a.publish("preview-image",null==xe?void 0:xe.exercise_identity_photo)},className:ye.a.iBtn},"预览"),b.a.createElement("div",{className:ye.a.text},"采集照片")),b.a.createElement("div",{className:ye.a.img,style:{marginLeft:20,width:234,textAlign:"center"}},null!=xe&&xe.identity_url?b.a.createElement("img",{height:131,src:Object(O.g)(null==xe?void 0:xe.identity_url)}):b.a.createElement("div",{className:ye.a.no},b.a.createElement("span",null,"暂无证件照片")),!(null==xe||!xe.identity_url)&&b.a.createElement("div",{onClick:function(){Z.a.publish("preview-image",Object(O.g)(null==xe?void 0:xe.identity_url))},className:ye.a.iBtn},"预览"),b.a.createElement("div",{className:ye.a.text},"证件照片")))),b.a.createElement(r.a.TabPane,{tab:"警告和通知",key:"3"},b.a.createElement("div",{className:ye.a.fo},b.a.createElement(T.a,{className:"mt20",checked:"alert"===Re,onChange:function(){return at("alert")}},"发送警告",b.a.createElement("span",{className:"font14 c-grey-999"},"(如发现学生在进行中的照片存在异常时,可发送消息给学生)")),b.a.createElement(T.a,{className:"mt10",checked:"notice"===Re,onChange:function(){return at("notice")}},"发送通知",b.a.createElement("span",{className:"font14 c-grey-999"},"(进行中如有消息通知,可发送消息给学生)")),b.a.createElement("div",{className:"mt20"},b.a.createElement("span",{className:"mr10"},"原因:"),b.a.createElement(ie.a,{getPopupContainer:function(e){return e.parentNode.parentNode},style:{width:570},value:Pe,onChange:function(e){Be(e)}},null==lt?void 0:lt.map((function(e){return b.a.createElement(ie.a.Option,{key:e.key,value:e.key},e.value)})))),0===Pe&&b.a.createElement(L.a.TextArea,{className:"mt20",value:He,onChange:function(e){return Ge(e.target.value)},placeholder:"请填写其他原因"}),b.a.createElement(M.a,{className:"mt10",align:"middle"},b.a.createElement("div",{className:"mr10"},"发送记录"),b.a.createElement("div",{style:{color:"#E30000",fontSize:12,margin:"10px 0"}},"已发送",null==xe?void 0:xe.alert_count,"次警告和",(null==xe||null===(m=xe.alerts)||void 0===m?void 0:m.length)-(null==xe?void 0:xe.alert_count),"次通知")),b.a.createElement(N.a,{dataSource:(null==xe?void 0:xe.alerts)||[],bordered:!1,scroll:(null==xe||null===(x=xe.alerts)||void 0===x?void 0:x.length)>4?{y:200}:{},columns:[{title:"开始时间",dataIndex:"created_at",width:164},{title:"发送人",dataIndex:"sender",width:100,ellipsis:{showTitle:!1},render:function(e){return e?b.a.createElement("span",{title:e},e):"--"}},{title:"发送类型",dataIndex:"clazz",width:80,render:function(e){return"alert"===e?"警告":"通知"}},{title:"发送内容",dataIndex:"content",ellipsis:!0}],pagination:!1}),b.a.createElement(a.a,{className:ye.a.b,onClick:Object(c.a)(g.a.mark((function e(){var t,n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(He||0!==Pe){e.next=3;break}return s.b.info("请输入其他原因"),e.abrupt("return");case 3:return t=He,Pe&&(t=("alert"===Re?ot:st).find((function(e){return e.key===Pe})).value),Je(!0),e.next=8,Object(y.a)("/api/exercises/".concat(A.exercise_id,"/send_alert.json"),{method:"post",body:{content:t,clazz:Re,exercise_user_id:null==xe?void 0:xe.exercise_user_id}});case 8:0===(null==(n=e.sent)?void 0:n.status)&&(s.b.info("发送成功"),_e(!1)),Je(!1);case 11:case"end":return e.stop()}}),e)}))),loading:Qe,type:"primary"},b.a.createElement("i",{className:"iconfont icon-fasongtongzhi mr5"}),"发送"))),b.a.createElement(r.a.TabPane,{tab:"断流记录",key:"4"},b.a.createElement(N.a,{dataSource:$e,bordered:!1,scroll:$e.length>7?{y:300}:{},columns:[{title:"开始时间",dataIndex:"start_time",width:164},{title:"结束时间",dataIndex:"end_time",width:164,render:function(e){return G()(e).format("YYYY-MM-DD HH:mm:ss")||"--"}},{title:"推流时长",dataIndex:"push_duration",ellipsis:!0,width:120,render:function(e){return e&&Object(O.Z)(Number(e)/1e3)||0}},{title:"断流原因",dataIndex:"msg",ellipsis:!0}]}))))),b.a.createElement(X.a,null))})),xe=n("wNxg"),_e=n.n(xe),ke=n("b6Jr"),we=n.n(ke),Ce=function(e){var t=e.index,n=e.bottomLine,r=e.gather,i=e.search,a=Object(v.useState)([]),o=Object(f.a)(a,2),s=o[0],l=o[1],u=Object(v.useState)(!1),d=Object(f.a)(u,2),p=d[0],m=d[1],_=Object(v.useState)(!1),k=Object(f.a)(_,2),w=k[0],C=k[1],S=Object(E.i)(),O=Object(E.h)(),A=Object(v.useState)({page:1,limit:6,total:0}),T=Object(f.a)(A,2),I=T[0],D=T[1];Object(v.useEffect)((function(){console.log(r,"gather"),0===t&&C(!0)}),[]),Object(v.useEffect)((function(){w&&R()}),[w]);var L=[{title:"序号",dataIndex:"index",key:"index",align:"left",ellipsis:!0,render:function(e,t,n){return I.limit*(I.page-1)+n+1}},{title:"姓名",dataIndex:"username",key:"username",align:"left",ellipsis:!0},{title:"班级",dataIndex:"user_group_name",key:"user_group_name",align:"left",render:function(e){return e||"--"}},{title:"学号",dataIndex:"student_id",key:"student_id",align:"left"},{title:"相似度",dataIndex:"code_rate",key:"code_rate",align:"left",render:function(e){return e+"%"}},{title:"操作",dataIndex:"id",key:"id",align:"left",render:function(e){var t,n,r="/classrooms/".concat(null==S?void 0:S.coursesId,"/exercise/").concat(null==S?void 0:S.categoryId,"/detail/").concat(e,"/review_detail");null!=O&&null!==(t=O.query)&&void 0!==t&&t.random&&(r+="?random=".concat(null==O||null===(n=O.query)||void 0===n?void 0:n.random));return b.a.createElement(x.a,{to:r,target:"_blank"},"查看")}}],R=function(){var e=Object(c.a)(g.a.mark((function e(t){var n,a,o;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m(!0),n=t||{page:1,limit:10,total:0},a=Object(h.a)({id:null==S?void 0:S.categoryId,question_id:null==r?void 0:r.question_id,search:i},n),e.next=5,Object(y.a)("/api/courses/".concat(null==S?void 0:S.coursesId,"/exercises/code_review_users.json"),{method:"get",params:a});case 5:(o=e.sent)&&(l(null==o?void 0:o.users),m(!1),D(Object(h.a)(Object(h.a)({},n),{},{total:(null==o?void 0:o.count)||0})));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return b.a.createElement("div",{className:we.a.subjectTable},b.a.createElement("aside",{className:we.a.title},b.a.createElement("span",{className:"c-light-primary"},t+1,"、",5===(null==r?void 0:r.question_type)?"实训题":"编程题"),b.a.createElement("span",{className:"c-grey-333"},"(",null==r?void 0:r.score,"分):",null==r?void 0:r.question_title),b.a.createElement("span",{className:"ml40 c-grey-999"},b.a.createElement("b",{className:"c-red-ee4"},null==r?void 0:r.checked_count)," 个疑似抄袭作品(共",null==r?void 0:r.total_count,"个作品)"),b.a.createElement("span",{onClick:function(){C(!w)},style:{marginLeft:"auto",cursor:"pointer",color:"#0152d9"}},w?"收起":"展开",w?b.a.createElement(oe.a,null):b.a.createElement(ae.a,null)),5===(null==r?void 0:r.question_type)&&b.a.createElement("a",{style:{marginLeft:20},target:"_blank",href:"/shixuns/".concat(null==r?void 0:r.shixun_identifier,"/challenges")},"实训详情")),b.a.createElement(N.a,{className:we.a.customTable,style:{display:w?"block":"none"},dataSource:s,bordered:!1,rowKey:function(e){return e.id},rowClassName:we.a.row,columns:L,loading:p,pagination:{pageSize:I.limit,total:I.total,current:I.page,onChange:function(e){var t=Object(h.a)(Object(h.a)({},I),{},{page:e});D(t),R(t)},showQuickJumper:!0,showSizeChanger:!1,hideOnSinglePage:!0,position:["bottomCenter"]}}),b.a.createElement("div",{className:we.a.line,style:{visibility:n?"hidden":"visible"}}))},Se=n("lzim"),Oe=Object(_.a)((function(e){return{exercise:e.exercise,globalSetting:e.globalSetting}}))((function(e){e.exercise,e.globalSetting,e.dispatch;var t=Object(v.useState)(""),n=Object(f.a)(t,2),r=n[0],i=n[1],a=Object(v.useState)([]),o=Object(f.a)(a,2),s=o[0],l=o[1],u=Object(v.useState)(""),d=Object(f.a)(u,2),h=d[0],p=d[1],m=Object(v.useState)(!1),x=Object(f.a)(m,2),_=x[0],k=x[1],w=Object(E.i)();Object(v.useEffect)((function(){C()}),[]);var C=function(){var e=Object(c.a)(g.a.mark((function e(t){var n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(!0),e.next=3,Object(y.a)("/api/courses/".concat(null==w?void 0:w.coursesId,"/exercises/code_review_results.json"),{method:"get",params:{id:null==w?void 0:w.categoryId,search:r}});case 3:if(-2!==(null==(n=e.sent)?void 0:n.status)){e.next=7;break}return C(),e.abrupt("return");case 7:n&&(k(!1),l((null==n?void 0:n.exercise_questions)||[]),p(null==n?void 0:n.last_review_time));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),S=function(){C()};return b.a.createElement("section",{className:_e.a.warp},b.a.createElement("aside",{className:_e.a.header},b.a.createElement("div",null,"查重时间:",h||"--"),!!h&&b.a.createElement(L.a,{value:r,onChange:function(e){return i(e.target.value)},suffix:b.a.createElement("i",{onClick:S,className:"iconfont icon-sousuo2 c-grey-c"}),bordered:!1,placeholder:"请输入姓名或学号搜索",onPressEnter:S})),b.a.createElement(ge.a,{loading:_,active:!0,paragraph:{rows:5}},s.length>0?b.a.createElement("aside",{className:_e.a.subject},s.map((function(e,t){return b.a.createElement(Ce,{key:t,index:t,bottomLine:t===s.length-1,gather:e,search:r})}))):b.a.createElement("div",{className:_e.a.empty},b.a.createElement("img",{src:Se.l,width:"258"}),b.a.createElement("span",{className:"c-grey-c"},"暂无数据"))))})),Ae=(n("/zsF"),n("PArb")),Te=n("LYsE"),Ie=n("k5F3"),De=Object(_.a)((function(e){return{exercise:e.exercise,loading:e.loading.effects}}))((function(e){var t=e.exercise,n=(e.loading,e.dispatch),r=e.activeTabs,i=Object(E.i)(),a=Object(v.useState)(Object(h.a)(Object(h.a)({},i),{page:1,per_page:10})),o=Object(f.a)(a,1)[0],s=t.editData;Object(v.useEffect)((function(){"2"===r&&l()}),[i.categoryId,r]);var l=function(){n({type:"exercise/editExercise",payload:Object(h.a)({},o)})};return Object(v.useEffect)((function(){return n({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),n({type:"globalSetting/onlyShowBackTopIconToggle",payload:!1}),function(){n({type:"globalSetting/onlyShowBackTopToggle",payload:!0}),n({type:"globalSetting/onlyShowBackTopIconToggle",payload:!0})}}),[]),b.a.createElement("section",{className:"minH1050 mb20 pt30 pb30 pl60 bg-white relative"},b.a.createElement(Ie.a,{isPreview:!0,activeTabs:r}),b.a.createElement(Ae.a,null),b.a.createElement(Te.a,{data:null==s?void 0:s.exercise_question_types,isDragDisabled:!0}))})),Le=(n("T2oS"),n("W9HT")),Re=(n("Q9mQ"),n("diRs")),Ne=n("CCdo"),je=n.n(Ne),Me=n("RotF"),Pe=n.n(Me),Be=n("6K3P"),Fe=n.n(Be),Ue=n("0owl"),He=n("ek7X"),Ge=Object(_.a)((function(e){return{exercise:e.exercise,loading:e.loading}}))((function(e){var t,n,r,i=e.exercise,a=(e.loading,e.dispatch),o=e.cb,l=Object(h.a)(Object(h.a)({},Object(E.i)()),{},{page:0,limit:50,one:null,two:null,save_one:null,save_two:null,sort:null,course_group:"",student_id:"",realname:"",save_course_group:"",save_student_id:"",save_realname:""}),p=Object(v.useState)(Object(h.a)({},l)),m=Object(f.a)(p,2),y=m[0],x=m[1],_=Object(v.useState)([]),k=Object(f.a)(_,2),w=k[0],O=k[1],A=Object(v.useState)(!0),T=Object(f.a)(A,2),I=T[0],N=T[1],j=Object(v.useState)(!0),M=Object(f.a)(j,2),P=M[0],B=M[1],F=Object(v.useState)(0),U=Object(f.a)(F,2),H=U[0],G=U[1],z=Object(v.useState)(!1),V=Object(f.a)(z,2),W=V[0],K=(V[1],Object(v.useState)([])),q=Object(f.a)(K,2),Y=q[0],Q=q[1];Object(v.useEffect)((function(){"打回重做"===i.actionTabs.key&&(w=[],J(1))}),[i.actionTabs.key]);var J=function(){var e=Object(c.a)(g.a.mark((function e(t){var n,r;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return 1==t&&(w=[]),N(!0),y.page=t,B(!0),e.next=6,a({type:"exercise/getRedoModal",payload:Object(h.a)(Object(h.a)({},y),{},{score:((null==y?void 0:y.one)||0)+"".concat(null!=y&&y.two?","+(null==y?void 0:y.two):"")})});case 6:(null==(r=e.sent)||null===(n=r.exercise_users)||void 0===n?void 0:n.length)0?b.a.createElement("p",null,"选择班级:"):b.a.createElement("p",null,"暂无分班"),b.a.createElement(R.a.Group,{value:m,onChange:function(e){x(e),A(e.length===l.length)}},l.map((function(e){return b.a.createElement(R.a,{key:e.id,value:e.id},e.name)})))),b.a.createElement("p",{style:{marginBottom:40},className:"c-grey-999 mt40"},"说明:平台目前仅支持java、python、c、c++语言的实训题和编程题的代码查重。")),b.a.createElement("div",{className:Ke.a.footer},b.a.createElement(R.a,{checked:O,onChange:function(e){var t=e.target.checked?l.map((function(e){return e.id})):[];x(t),A(e.target.checked)}},"全选"),b.a.createElement(a.a,{onClick:I},"取消"),b.a.createElement(a.a,{onClick:function(){r(m)},type:"primary"},"确认"))))})),Ye=n("Fzz4"),Qe=(n("DZo9"),n("8z0m")),Je=n("/MfK"),Xe=n("w5pM"),Ze=n("jN4g"),$e=n("xvlK"),et=n("dfu6"),tt=r.a.TabPane,nt=Object(_.a)((function(e){return{exercise:e.exercise,loading:e.loading}}))((function(e){var t,n=e.exercise,i=(e.loading,e.dispatch),a=(Object(E.i)(),Object(E.h)(),U.a.useForm()),o=Object(f.a)(a,1)[0],l=Object(v.useState)({}),p=Object(f.a)(l,2),m=p[0],y=p[1],x=Object(v.useState)("1"),_=Object(f.a)(x,2),k=_[0],w=_[1];return Object(v.useEffect)((function(){"addIp"===n.actionTabs.key&&(o.resetFields(),w("1"))}),[n.actionTabs]),b.a.createElement(u.a,{centered:!0,title:"添加IP范围",visible:"addIp"===n.actionTabs.key,okText:"确认",cancelText:"取消",width:600,bodyStyle:{minHeight:200},onOk:Object(c.a)(g.a.mark((function e(){var t;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.validateFields();case 2:if(m.zz){e.next=8;break}if(m.ip){e.next=8;break}if(t=m.startIP.split(".")[3],!(parseInt(t)>parseInt(m.endIP))){e.next=8;break}return s.b.warn("IP区间段不合法"),e.abrupt("return");case 8:i({type:"exercise/setActionTabs",payload:{key:"insterIp",data:Object(h.a)({},o.getFieldValue()),type:n.actionTabs.type}});case 9:case"end":return e.stop()}}),e)}))),onCancel:function(){i({type:"exercise/setActionTabs",payload:{}})}},b.a.createElement("section",{className:"pl10 pr10"},b.a.createElement(r.a,{activeKey:k,onChange:function(e){w(e),o.resetFields()}},b.a.createElement(tt,{tab:"新增IP地址",key:"1"}),b.a.createElement(tt,{tab:"新增IP范围",key:"2"}),b.a.createElement(tt,{tab:"新增IP规则",key:"3"})),b.a.createElement(U.a,{form:o,className:"pt30",name:"form",layout:"vertical",onValuesChange:function(e,t){y(Object(h.a)({},t))}},"1"===k&&b.a.createElement(U.a.Item,{name:"ip",rules:[{required:!0,message:"请输入IP地址"}],label:"IP地址"},b.a.createElement(ie.a,{open:!1,tokenSeparators:[";",",",";"],size:"large",mode:"tags",style:{width:"100%"},placeholder:"请输入IP地址,可同时添加多个IP地址,中间用英文的分号间隔。",onChange:function(e){o.setFieldsValue({ip:Object(d.a)(e.filter((function(e){return!!Object(et.a)(e)||(s.b.warn("IP不合法,请重新输入"),!1)})))})}})),"2"===k&&b.a.createElement(M.a,{gutter:[20,20]},b.a.createElement(P.a,{flex:"1"},b.a.createElement(U.a.Item,{name:"startIP",rules:[{required:!0,message:"请输入起始IP地址"}],label:"起始IP地址"},b.a.createElement(L.a,{maxLength:15,placeholder:"请输入起始IP地址",onBlur:function(e){var t="";Object(et.a)(e.target.value)?t=e.target.value:(t="",s.b.warn("IP不合法,请重新输入")),o.setFieldsValue({startIP:t})}}))),b.a.createElement(P.a,{flex:"1"},b.a.createElement(U.a.Item,{name:"endIP",rules:[{required:!0,message:"请输入结束IP地址"},{pattern:/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/,message:"请输入0-255的网段"}],label:"结束IP地址"},b.a.createElement(L.a,{onBlur:function(e){},prefix:b.a.createElement("span",{className:"font14"},null===(t=m.startIP)||void 0===t?void 0:t.substring(0,m.startIP.lastIndexOf("."))),maxLength:3,placeholder:"请输入结束IP地址的后三位"})))),"3"===k&&b.a.createElement(M.a,{gutter:[20,20]},b.a.createElement(P.a,{flex:"1"},b.a.createElement(U.a.Item,{name:"zz",rules:[{required:!0,message:"请输入IP规则正则表达式"}],label:"IP规则正则表达式"},b.a.createElement(L.a,{placeholder:"请输入IP规则正则表达式",onBlur:function(e){try{new RegExp(e.target.value,"g")}catch(e){console.log("-----",11111),s.b.info("请输入正确的正则表达式")}}})))))))})),rt=n("2JKx"),it=n.n(rt),at=n("Ot1p"),ot=(n("+BJd"),n("mr32")),st=(r.a.TabPane,ie.a.Option),lt=Object(_.a)((function(e){return{exercise:e.exercise,loading:e.loading}}))((function(e){var t,n,r,i=e.exercise,a=(e.loading,e.data),o=e.disabled,l=e.updata,p=(e.dispatch,Object(E.i)()),m=(Object(E.h)(),U.a.useForm()),y=(Object(f.a)(m,1)[0],Object(v.useState)({})),x=Object(f.a)(y,2),_=(x[0],x[1],Object(v.useState)("1")),k=Object(f.a)(_,2),w=(k[0],k[1],i.workSetting),C=i.commonHeader,O=Object(v.useState)(!1),A=Object(f.a)(O,2),I=A[0],L=A[1],j=Object(v.useState)([]),B=Object(f.a)(j,2),F=B[0],H=B[1],G=Object(v.useState)([]),z=Object(f.a)(G,2),V=z[0],W=z[1],K=Object(v.useState)(!1),q=Object(f.a)(K,2),Y=q[0],Q=q[1],J=Object(v.useState)([]),X=Object(f.a)(J,2),Z=X[0],$=X[1],ee=Object(v.useState)([]),te=Object(f.a)(ee,2),ne=te[0],re=te[1],ae=Object(v.useState)({id:p.categoryId,exercise_group_id:[]}),oe=Object(f.a)(ae,2),se=oe[0],le=(oe[1],Object(v.useState)(0)),ce=Object(f.a)(le,2),ue=ce[0],de=ce[1];Object(v.useMemo)((function(){var e,t,n,r;if(null!=w&&null!==(e=w.published_course_groups)&&void 0!==e&&e.length){var i,a=Object(d.a)(null==w||null===(i=w.published_course_groups)||void 0===i?void 0:i.map((function(e){return Object(d.a)(e.course_group_id)})).flat());H(Object(d.a)(a))}else if(null!=w&&w.published_course_groups){var o;H(Object(d.a)(null==w||null===(o=w.course_groups)||void 0===o?void 0:o.map((function(e){return e.course_group_id}))))}if((null!=w&&null!==(t=w.exercise)&&void 0!==t&&t.group_make_ups||null!=w&&null!==(n=w.exercise)&&void 0!==n&&n.unified_make_up)&&(Q(!0),null!=w&&null!==(r=w.exercise)&&void 0!==r&&r.group_make_ups)){var s,l,c=V;null==w||null===(s=w.exercise)||void 0===s||null===(l=s.group_make_ups)||void 0===l||l.map((function(e,t){c[t]=e.course_group_id||[]})),W(Object(d.a)(c))}}),[w]),Object(v.useEffect)((function(){console.log("groupIds:",F)}),[F]),Object(v.useEffect)((function(){console.log("selectGroupIds:",V)}),[V]);var he=function(){var e=Object(c.a)(g.a.mark((function e(t){var n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(S.K)(Object(h.a)({},se));case 2:n=e.sent,re(Object(d.a)(n.users.map((function(e){return e.key=String(e.id),e})).filter((function(e){var t;return console.log("openKeys",a.group_make_ups[ue].students,ue),null===(t=a.group_make_ups[ue].students)||void 0===t||!t.some((function(t){return t.id===e.id}))}))));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),fe={onChange:function(e,t){$(Object(d.a)(t)),console.log("selectedRowKeys: ".concat(e),"selectedRows: ",t)},getCheckboxProps:function(e){return{disabled:"Disabled User"===e.name,name:e.name}}},pe=function(e){var t,n,r;return!!o||!!(2!==C.exercise_status||null!=w&&null!==(t=w.exercise)&&void 0!==t&&null!==(n=t.group_make_ups)&&void 0!==n&&null!==(r=n[e])&&void 0!==r&&r.course_groups)&&3!==C.exercise_status},me=function(e){return!!o||(2===C.exercise_status?null==w||null===(t=w.exercise)||void 0===t||null===(n=t.group_make_ups)||void 0===n||null===(r=n[e])||void 0===r?void 0:r.is_all:3!==C.exercise_status);var t,n,r};return b.a.createElement(b.a.Fragment,null,b.a.createElement(M.a,null,b.a.createElement(P.a,{span:24},b.a.createElement(M.a,{align:"middle"},b.a.createElement(P.a,{flex:"1"},b.a.createElement("h1",{className:"mt15"},"补考设置 ",b.a.createElement("span",{className:"c-red font14"},"(正式开始补考前,切记修改作业与测验截止时间大于当前时间)"))))),b.a.createElement(P.a,{span:24,className:"mt10"},b.a.createElement(R.a,{checked:a.unified_make_up||(null===(t=a.group_make_ups)||void 0===t?void 0:t.length),disabled:o,onChange:function(e){e.target.checked?a.unified_make_up=!0:(a.unified_make_up=!1,delete a.group_make_ups),Q(e.target.checked)}},b.a.createElement("strong",null,"开启补考")),b.a.createElement("span",{className:"c-grey-c font12"},"(开启后可针对未答卷的学生设置补考,补考与延长截止时间不可共存)"))),Y&&b.a.createElement("section",{className:"ml40"},b.a.createElement(M.a,{align:"middle",className:"mt10"},b.a.createElement(P.a,null,b.a.createElement(T.a,{checked:a.unified_make_up,disabled:o,onClick:function(){a.unified_make_up=!0,delete a.group_make_ups,l(Object(h.a)({},a))}},"所有分班统一补考")),b.a.createElement(P.a,null,b.a.createElement(M.a,{align:"middle"},b.a.createElement(P.a,{className:"ml50"},"补考扣分"),b.a.createElement(P.a,{className:"ml10 mr10"},b.a.createElement(D.a,{min:0,max:100,placeholder:"为空代表不扣分",disabled:o||3!==C.exercise_status,onChange:function(e){a.make_up_score=e,l(Object(h.a)({},a))},value:a.make_up_score,style:{width:150}})),b.a.createElement(P.a,null,"(分)")))),(null===(n=w.course_groups)||void 0===n?void 0:n.length)>0&&b.a.createElement(M.a,{align:"middle",className:"mt10"},b.a.createElement(P.a,null,b.a.createElement(T.a,{disabled:o||3!==C.exercise_status,checked:a.group_make_ups,onClick:function(){var e;delete a.unified_make_up,a.group_make_ups=(null==w||null===(e=w.exercise)||void 0===e?void 0:e.group_make_ups)||[{students:[],course_group_id:[],score:0}],l(Object(h.a)({},a))}},"各班分别补考"))),null===(r=a.group_make_ups)||void 0===r?void 0:r.map((function(e,t){var n,r;return b.a.createElement("div",{key:t},b.a.createElement(M.a,{align:"middle",className:"mt10"},b.a.createElement(P.a,{flex:"100px"},"补考规则",t+1),b.a.createElement(P.a,{className:"ml10"},b.a.createElement(ie.a,{style:{width:307},value:e.course_group_id,mode:"multiple",placeholder:"请选择分班",disabled:pe(t),onChange:function(e,n,r){V[t]=e,a.group_make_ups[t].course_group_id=e,l(Object(h.a)({},a)),W(Object(d.a)(V))}},null==w||null===(n=w.course_groups)||void 0===n?void 0:n.map((function(e,n){var r=[];if(F.includes(e.course_group_id)&&(V.length&&(r=V.filter((function(n,r){return t!==r&&!!n.includes(e.course_group_id)}))),!r.length))return b.a.createElement(st,{value:e.course_group_id,key:n},e.course_group_name)})))),b.a.createElement(P.a,null,b.a.createElement(M.a,{align:"middle"},b.a.createElement(P.a,{className:"ml50"},"补考扣分"),b.a.createElement(P.a,{className:"ml10 mr10"},b.a.createElement(D.a,{value:e.score,min:0,max:100,style:{width:150},placeholder:"为空代表不扣分",disabled:pe(t),onChange:function(e){a.group_make_ups[t].score=e,l(Object(h.a)({},a))}})),b.a.createElement(P.a,null,"(分)")))),b.a.createElement(M.a,{className:"mt20"},b.a.createElement(P.a,{flex:"220px"},b.a.createElement(T.a.Group,{name:"student",value:e.is_all,disabled:me(t),onChange:function(e){var n,r,i;e.target.value?delete a.group_make_ups[t].students:a.group_make_ups[t].students=(null==w||null===(n=w.exercise)||void 0===n||null===(r=n.group_make_ups)||void 0===r||null===(i=r[t])||void 0===i?void 0:i.students)||[];a.group_make_ups[t].is_all=e.target.value,l(Object(h.a)({},a))}},b.a.createElement(T.a,{value:!0},"全部未答学生"),b.a.createElement(T.a,{value:!1},"指定学生"))),b.a.createElement(P.a,{flex:"1"},!a.group_make_ups[t].is_all&&b.a.createElement("div",{onClick:function(){var e;null!==(e=V[t])&&void 0!==e&&e.length?o||(se.exercise_group_id=V[t],L(!0),$([]),de(t),re([]),he({page:1})):s.b.warn("请先选择补考班级")},className:"".concat(o&&"disabledStyle"),style:{minHeight:28,border:"1px solid #ccc",padding:4}},null===(r=e.students)||void 0===r?void 0:r.map((function(t,n){return b.a.createElement(ot.a,{key:n,closable:t.add||C.exercise_status>2,onClose:function(){e.students.splice(n,1),l(Object(h.a)({},a))}},t.name)})))),b.a.createElement(P.a,{flex:"100px",className:"tr"},t>0&&3===C.exercise_status&&b.a.createElement(Je.a,{onClick:function(){a.group_make_ups.splice(t,1),l(Object(h.a)({},a))}}),b.a.createElement(Xe.a,{className:"c-green ml20",onClick:function(){a.group_make_ups.push({students:[],course_group_id:[],score:0,is_all:!0}),l(Object(h.a)({},a))}}))))})),b.a.createElement(u.a,{title:"指定补考学生",visible:I,onCancel:function(){return L(!1)},destroyOnClose:!0,onOk:function(){a.group_make_ups[ue].students=a.group_make_ups[ue].students.concat(Z.map((function(e){return e.add=!0,e}))),L(!1),console.log("data:",a),l(Object(h.a)({},a))}},b.a.createElement(N.a,{columns:[].concat([,{title:"学生姓名",dataIndex:"name"},{title:"分班",dataIndex:"course_group_name"}]),dataSource:Object(d.a)(ne),rowSelection:Object(h.a)({type:"checkbox"},fe),pagination:{pageSize:10,defaultCurrent:1}}))))})),ct=n("m3rI"),ut=L.a.TextArea,dt=Q.a.RangePicker,ht=ie.a.Option,ft=Object(_.a)((function(e){var t=e.exercise,n=e.loading,r=e.globalSetting;return{exercise:t,loading:n.effects,globalSetting:r}}))((function(e){var t,n,r,i,o,l,p,m,x,_,k=e.exercise,w=(e.globalSetting,e.loading,e.dispatch),C=Object(E.i)(),A=(Object(E.h)(),k.workSetting),I=k.commonHeader,L=Object(v.useState)(!0),N=Object(f.a)(L,2),j=N[0],H=N[1],z=Object(v.useState)([]),V=Object(f.a)(z,2),W=(V[0],V[1]),K=Object(v.useState)({}),q=Object(f.a)(K,2),Y=(q[0],q[1],Object(v.useState)([])),J=Object(f.a)(Y,2),ee=(J[0],J[1],Object(v.useState)()),te=Object(f.a)(ee,2),ne=te[0],re=te[1],ae=U.a.useForm(),oe=(Object(f.a)(ae,1)[0],Object(v.useState)([])),se=Object(f.a)(oe,2),le=se[0],ce=se[1],ue=Object(v.useState)({ip_bind:!1,export_page_num:40,ip_limit:null,public_ip:[],inner_ip:[],screen_open:!1,screen_num:3,screen_sec:5,open_camera:!1,identity_verify:!1,open_phone_video_recording:!1,photo_count:5,open_make_up:!1,unified_setting:!1,publish_time:"",end_time:"",group_make_ups:[],unified_make_up:!1,make_up_score:0,send_role:"random",open_time:"",time:"",choice_random:!1,question_random:!1,show_statistic:!1,assistant_auth:!1,answer_open:!1,score_open:!1,answered_open:!0,open_score:!0,open_total_score:!0,file_list:[],show_title:!1,show_body:!1,show_info:!1,show_table:!0,show_user:!1,show_no:!1,show_group:!0,show_desc:!1,description:"",attachment_id:""}),de=Object(f.a)(ue,2),he=de[0],fe=de[1];function pe(){return(pe=Object(c.a)(g.a.mark((function e(){var t;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(y.a)("/api/courses/".concat(null==C?void 0:C.coursesId,"/exercises/overload_alert.json"),{method:"get",params:{course_id:null==C?void 0:C.coursesId}});case 2:t=e.sent,re(null==t?void 0:t.alert);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}C.category=C.categoryId,Object(v.useEffect)((function(){ge()}),[A]),Object(v.useEffect)((function(){w({type:"exercise/getWorkSetting",payload:Object(h.a)({},C)}),Object($.s)()||function(){pe.apply(this,arguments)}()}),[]),Object(v.useEffect)((function(){"insterIp"===k.actionTabs.key&&(k.actionTabs.data.ip?he[k.actionTabs.type]=[].concat(Object(d.a)(he[k.actionTabs.type]||[]),Object(d.a)(k.actionTabs.data.ip)):k.actionTabs.data.zz?he[k.actionTabs.type]=[].concat(Object(d.a)(he[k.actionTabs.type]||[]),[k.actionTabs.data.zz]):he[k.actionTabs.type]=[].concat(Object(d.a)(he[k.actionTabs.type]||[]),["".concat(k.actionTabs.data.startIP,",").concat(k.actionTabs.data.startIP.substring(0,k.actionTabs.data.startIP.lastIndexOf("."))+"."+k.actionTabs.data.endIP)]),fe(Object(h.a)({},he)))}),[k.actionTabs]);var me,ge=function(){var e,t,n,r,i,a,o,s=JSON.parse(JSON.stringify(A));Object.keys(he).map((function(e){var t,n,r,i,a;(he[e]=(null==s||null===(t=s.exercise)||void 0===t?void 0:t[e])||(null==s||null===(n=s.exercise_header)||void 0===n?void 0:n[e]),null!=s&&null!==(r=s.exercise_header)&&void 0!==r&&r[e])?he[e]=null==s||null===(i=s.exercise_header)||void 0===i?void 0:i[e]:he[e]=null==s||null===(a=s.exercise)||void 0===a?void 0:a[e]})),he.file_list=null!=s&&null!==(e=s.exercise_header)&&void 0!==e&&e.attachment_id?[{uid:null==s||null===(t=s.exercise_header)||void 0===t?void 0:t.attachment_id,id:null==s||null===(n=s.exercise_header)||void 0===n?void 0:n.attachment_id,url:null==s||null===(r=s.exercise_header)||void 0===r?void 0:r.photo_url}]:[],le=(null==s||null===(i=s.published_course_groups)||void 0===i?void 0:i.map((function(e){return{course_group_id:e.course_group_id,end_time:e.course_end_time,publish_time:e.course_publish_time}})))||[{}],null==A||null===(a=A.course_groups)||void 0===a||a.map((function(e,t){e.cilckkey="",e.isselect=!1})),null==A||null===(o=A.course_groups)||void 0===o||o.map((function(e,t){var n;null==A||null===(n=A.published_course_groups)||void 0===n||n.map((function(t,n){var r;null!=t&&null!==(r=t.course_group_id)&&void 0!==r&&r.includes(null==e?void 0:e.course_group_id)&&(e.cilckkey=n,e.isselect=!0)}))})),console.log("data:",he,A),fe(he),ce(le)},ve=function(e){Object(S.cb)(Object(h.a)({},e)).then((function(e){0===e.status&&(s.b.success("更新成功"),w({type:"exercise/getCommonHeader",payload:Object(h.a)({},C)}),w({type:"exercise/getWorkSetting",payload:Object(h.a)({},C)}),H(!0))}))},be=function(e){return e&&e1&&(null==e||!e.new)||!(null==A||null===(n=A.published_course_groups)||void 0===n||!n.some((function(t){return t.course_group_id===e.course_group_id})))&&j},Ee={disabled:j,multiple:!1,listType:"picture-card",onPreview:function(e){Z.a.publish("preview-image",e.thumbUrl)},withCredentials:!0,fileList:he.file_list,beforeUpload:function(e){return!(e.size/1024>200)||(s.b.error("该文件无法上传。超过文件大小限制(200KB),建议上传到百度云等其它共享工具里,然后再txt文档里给出链接以及共享密码并上传"),!1)},action:"".concat(ct.a.API_SERVER,"/api/attachments.json"),onChange:function(e){var t=e.fileList.filter((function(e){return!!e.status}));he.file_list=t,fe(Object.assign({},he))},onRemove:(me=Object(c.a)(g.a.mark((function e(t){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return he.file_list=[],fe(Object.assign({},he)),e.abrupt("return",!0);case 3:case"end":return e.stop()}}),e)}))),function(e){return me.apply(this,arguments)})};return b.a.createElement("section",{className:[it.a.form,"mb50 bg-white"].join(" ")},b.a.createElement(M.a,null,b.a.createElement(P.a,{span:24},b.a.createElement(M.a,{align:"middle"},b.a.createElement(P.a,{flex:"1"},b.a.createElement("h1",{className:"mt15"},"发布设置")),b.a.createElement(P.a,null,Object($.c)()&&j&&b.a.createElement(a.a,{type:"primary",size:"middle",ghost:!0,onClick:function(){return H(!1)}},"编辑设置")))),(null===(t=A.course_groups)||void 0===t?void 0:t.length)>0&&b.a.createElement(P.a,{span:24,className:"mt10"},b.a.createElement(R.a,{checked:he.unified_setting,disabled:j||(null==A||null===(n=A.exercise)||void 0===n?void 0:n.exercise_status)>1,onChange:function(){var e;(null==A||null===(e=A.exercise)||void 0===e?void 0:e.exercise_status)>1?s.b.error("已发布,不能再修改分班统一发布"):(he.unified_setting=!he.unified_setting,!1===he.unified_setting&&""==le&&ce(le.concat({})),fe(Object.assign({},he)))}},b.a.createElement("strong",null,"分班统一发布")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中则所有分班使用相同的发布设置,仅课堂管理员可修改;否则各个分班允许单独设置)")),b.a.createElement("span",{style:{color:"red"}},(null==A||null===(r=A.exercise)||void 0===r?void 0:r.exercise_status)>1&&ne&&"当前课堂中学生人数较多,为提供更好的服务,我们将进行服务器扩容,建议您在30分钟后发起作业与测验。您也可以立即发布。")),he.unified_setting&&b.a.createElement("div",null,b.a.createElement(M.a,{align:"middle",className:"mt25 pl30"},b.a.createElement(P.a,null,"发布时间:"),b.a.createElement(P.a,{className:"ml5"},b.a.createElement(B.a,{placement:"bottom",title:(null==A||null===(i=A.exercise)||void 0===i?void 0:i.exercise_status)>1&&"发布时间已过,不能修改"},b.a.createElement(Q.a,{style:{width:170},placeholder:"请选择发布时间",showTime:{format:"HH:mm",defaultValue:G()(Object(O.d)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabledDate:be,disabled:j||(null==A||null===(o=A.exercise)||void 0===o?void 0:o.exercise_status)>1,value:he.publish_time?G()(he.publish_time):"",allowClear:!1,onChange:function(e,t){he.publish_time=t,he.end_time||(he.end_time=G()(e).add(1,"month").format("YYYY-MM-DD HH:mm:ss")),fe(Object.assign({},he))}}))),b.a.createElement(P.a,null,b.a.createElement("span",{className:"c-grey-c ml10"},"(学生开始答题时间)"))),b.a.createElement(M.a,{align:"middle",className:"mt25 pl30"},b.a.createElement(P.a,null,"截止时间:"),b.a.createElement(P.a,{className:"ml5"},b.a.createElement(Q.a,{style:{width:170},placeholder:"请选择截止时间",showTime:{format:"HH:mm",defaultValue:G()(Object(O.d)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:j,allowClear:!1,value:he.end_time?G()(he.end_time):"",disabledDate:function(e){return he.end_time?e&&(e1?null!=n&&n.new?[!1,!1]:[!0,!1]:null!=A&&null!==(i=A.published_course_groups)&&void 0!==i&&i.some((function(e){return e.course_group_id===n.course_group_id}))&&(j||(null==A||null===(a=A.exercise)||void 0===a?void 0:a.exercise_status)>1)?[!0,!1]:[!1,!1]),disabledDate:be,style:{width:400},placeholder:["请选择发布时间","请选择截止时间"],showTime:{format:"HH:mm",defaultValue:[G()(Object(O.d)(),"HH:mm"),G()(Object(O.d)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",size:"large",value:e.publish_time&&[G()(e.publish_time),e.end_time&&G()(e.end_time)],onChange:function(n,r){ye(e)||(le[t].publish_time=r[0]),le[t].end_time=r[1],ce(Object(d.a)(le))}})),!j&&b.a.createElement(P.a,{span:4},t>0&&(null==e?void 0:e.new)&&b.a.createElement(Je.a,{onClick:function(){le=le.filter((function(e,n){return t!==n})),ce(Object(d.a)(le))}}),b.a.createElement(Xe.a,{className:"c-green ml20",onClick:function(){ce(le.concat({new:!0}))}}))));var n,r,i,a}))),b.a.createElement(Ae.a,null),(3===(null==I?void 0:I.exercise_status)||he.open_make_up)&&b.a.createElement(b.a.Fragment,null,b.a.createElement(lt,{data:he,disabled:j,updata:fe}),b.a.createElement(Ae.a,null)),b.a.createElement(M.a,null,b.a.createElement(P.a,null,b.a.createElement("strong",null,"答题设置")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement("span",null,"答题时长:"),b.a.createElement(D.a,{size:"large",disabled:j,min:1,value:-1===he.time?null:he.time,onChange:function(e){he.time=e,fe(Object(h.a)({},he))}}),b.a.createElement("span",{className:"ml10"},"分钟"),b.a.createElement("span",{className:"c-grey-c font12 ml10"},"(空值,代表不限时长;非空值,代表限制时长,从学生首次答题开始持续计时)")),(null==I?void 0:I.is_random)&&b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement("span",null,"分发规则:"),b.a.createElement(T.a.Group,{disabled:j,value:he.send_role,onChange:function(e){he.send_role=e.target.value,fe(Object(h.a)({},he))}},b.a.createElement(T.a,{value:"random"},"默认随机分发"),b.a.createElement(T.a,{value:"ip"},"根据IP地址分发"),b.a.createElement(T.a,{value:"student_id"},"根据学号分发"))),!(null!=I&&I.is_random)&&b.a.createElement(b.a.Fragment,null,b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.question_random,disabled:j,onChange:function(e){he.question_random=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"题目顺序随机打乱")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则学生答题时,题目顺序按照题型随机显示)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.choice_random,disabled:j,onChange:function(e){he.choice_random=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"选项顺序随机打乱")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则学生答题时,选项顺序随机显示)")))),b.a.createElement(Ae.a,null),b.a.createElement(b.a.Fragment,null,b.a.createElement(M.a,null,b.a.createElement(P.a,null,b.a.createElement("strong",null,"防作弊设置")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.identity_verify,disabled:!Object($.o)()||j,onChange:function(e){he.identity_verify=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"作业与测验前人脸身份核验")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则学生参加作业与测验前将会要求调用摄像头并完成拍照采集,教师/助教审核通过后学生并开启手机录制视频则可以开始作业与测验)"),b.a.createElement("br",null),b.a.createElement("span",{className:"c-grey-c font12"},"如开启,教师/助教可以在该进行中的详情页中对学生人脸身份进行审核。")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.open_camera,disabled:j,onChange:function(e){he.time?(he.open_camera=e.target.checked,he.photo_count=he.photo_count||5,fe(Object.assign({},he))):s.b.error("不限时长的作业与测验不可开启摄像头,请填写作业与测验时长")}},b.a.createElement("strong",null,"进行中启用拍照监考")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则学生参加作业与测验时将会要求调用摄像头)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement("span",null,"本场作业与测验最多拍摄:"),b.a.createElement(D.a,{size:"large",disabled:j||!he.open_camera,min:1,defaultValue:5,max:Object($.v)()?1e3:10,value:he.photo_count,onChange:function(e){he.photo_count=e,fe(Object(h.a)({},he))}}),b.a.createElement("span",{className:"ml10"},"(次)"),b.a.createElement("span",{className:"c-grey-c font12 ml10"},"(请填写不大于10的正整数)")),b.a.createElement(P.a,{className:"c-grey-c font12 pl30 mt10"},"如开启防作弊设置,学生必须同意才可以参加作业与测验。"),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.screen_open,disabled:j,onChange:function(e){he.screen_open=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"切屏后强制交卷"))),he.screen_open&&b.a.createElement(P.a,{span:24,className:"mt15 pl30 font14"},b.a.createElement("span",{className:"c-grey-333 mr10"},"作业与测验过程中切换页面超过"),b.a.createElement(D.a,{size:"large",disabled:j,min:0,defaultValue:3,max:10,value:he.screen_num,onChange:function(e){he.screen_num=e,fe(Object(h.a)({},he))}}),b.a.createElement("span",{className:"c-grey-333 mr10"},"(次)后将被强制交卷,切换到其他页面"),b.a.createElement(D.a,{size:"large",disabled:j,min:0,defaultValue:5,max:60,value:he.screen_sec,onChange:function(e){he.screen_sec=e,fe(Object(h.a)({},he))}}),b.a.createElement("span",{className:"c-grey-333"},"(秒)后即判定为切屏。")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:"no"!==he.ip_limit,disabled:j,onChange:function(e){"no"===he.ip_limit?he.ip_limit="pub":he.ip_limit="no",fe(Object.assign({},he))}},b.a.createElement("strong",null,"限制作业与测验访问IP"),b.a.createElement("span",{className:"font12 c-grey-c"},"(不在IP范围中的将无法参加此作业与测验)"))),"no"!==he.ip_limit&&b.a.createElement(P.a,{className:"mt15 ml50"},b.a.createElement("span",{className:"c-red"},"(只允许在Chrome谷歌浏览器作答,并且要求学生安装WebRTC Leak Prevent插件)"),b.a.createElement("a",{className:"c-blue",target:"_blank",href:"https://www.educoder.net/forums/4478"},"如何安装WebRTC Leak Prevent插件?"))),"no"!==he.ip_limit&&b.a.createElement(b.a.Fragment,null,b.a.createElement(M.a,{className:"mt15 ml50 ".concat(it.a.ipWrp)},b.a.createElement(P.a,null,b.a.createElement("span",null,"公网IP地址范围:")),b.a.createElement(P.a,null,!(null!==(l=he.public_ip)&&void 0!==l&&l.length)&&b.a.createElement("span",null,"当前还未设置IP范围"),null===(p=he.public_ip)||void 0===p?void 0:p.map((function(e,t){return b.a.createElement("span",{className:it.a.ipItem},b.a.createElement("i",null,e," "),!j&&b.a.createElement(Ze.a,{onClick:function(){u.a.confirm({okText:"确定",cancelText:"取消",title:"确定删除该IP吗?",onOk:function(){he.public_ip.splice(t,1),fe(Object(h.a)({},he))}})},className:" c-grey-c",size:20}))})),Object($.c)()&&!j&&b.a.createElement("span",{onClick:function(){w({type:"exercise/setActionTabs",payload:{key:"addIp",type:"public_ip"}})},className:"font14 c-blue ml10"}," ",b.a.createElement("i",{className:"iconfont icon-xuanyong font14"})," 添加"))),b.a.createElement(M.a,{className:"mt15 ml50 ".concat(it.a.ipWrp)},b.a.createElement(P.a,null,b.a.createElement("span",null,"内网IP地址范围:")),b.a.createElement(P.a,null,!(null!==(m=he.inner_ip)&&void 0!==m&&m.length)&&b.a.createElement("span",null,"当前还未设置IP范围"),null===(x=he.inner_ip)||void 0===x?void 0:x.map((function(e,t){return b.a.createElement("span",{className:it.a.ipItem},b.a.createElement("i",null,e," "),!j&&b.a.createElement(Ze.a,{onClick:function(){j||u.a.confirm({title:"确定删除该IP吗?",onOk:function(){he.inner_ip.splice(t,1),fe(Object(h.a)({},he))}})},className:" c-grey-c",size:20}))})),Object($.c)()&&!j&&b.a.createElement("span",{className:"font14 c-blue ml10",onClick:function(){w({type:"exercise/setActionTabs",payload:{key:"addIp",type:"inner_ip"}})}}," ",b.a.createElement("i",{className:"iconfont icon-xuanyong font14"})," 添加")))),b.a.createElement(M.a,null,b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.ip_bind,disabled:j,onChange:function(e){he.ip_bind=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"IP绑定"),b.a.createElement("span",{className:"font12 c-grey-c"},"(作业与测验开始后,学生的账号将自动与机器IP绑定。如遇特殊情况,教师/助教可以解除学生的IP绑定)")))),b.a.createElement(Ae.a,null)),b.a.createElement(M.a,null,b.a.createElement(P.a,null,b.a.createElement("strong",null,"属性设置")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.score_open,disabled:j,onChange:function(e){he.score_open=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"公开成绩")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则在作业与测验截止时间之后,已提交答题的学生可以查看其它学生的成绩,否则只能查看自己的成绩;但未选中“查看总成绩”时自己和其他同学成绩均不可见)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.answer_open,disabled:j,onChange:function(e){he.answer_open=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"公开答案")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则在作业与测验截止时间之后,已提交答题的学生可以查看作业与测验题目的答案,否则不能查看)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30 "},b.a.createElement(R.a,{checked:he.show_statistic,disabled:j,onChange:function(e){he.show_statistic=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"公开统计")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则在作业与测验截止时间之后,已提交答题的学生可以查看答题统计,否则不能查看)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.open_total_score,disabled:j,onChange:function(e){he.open_total_score=e.target.checked,!1===e.target.checked&&(he.open_score=e.target.checked),fe(Object.assign({},he))}},b.a.createElement("strong",null,"查看总成绩")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则学生交卷后能看到自己的总成绩及每个小题的得分,否则总成绩和小题得分均不能查看)")),he.open_total_score&&b.a.createElement(P.a,{style:{marginLeft:20},span:24,className:"mt15 pl30"},b.a.createElement("strong",null,"公开时间"),b.a.createElement(Q.a,{format:"YYYY-MM-DD HH:mm:ss",style:{margin:"0px 15px"},disabled:j,onChange:function(e,t){he.open_time=t,fe(Object.assign({},he))},value:he.open_time?G()(he.open_time):"",disabledDate:be,showTime:{defaultValue:G()("00:00:00","HH:mm:ss")}}),b.a.createElement("span",{className:"c-grey-c font12"},"(可设置成绩公布的时间;未设置时,学生交卷后可立即查看个人成绩)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.open_score,disabled:!he.open_total_score||j,onChange:function(e){he.open_score=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"查看小题得分")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则学生交卷后能看到自己每个小题的得分详情,否则不能查看。选中本项前必须先选中“查看总成绩”)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.answered_open,disabled:j,onChange:function(e){he.answered_open=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"查看已答作业与测验")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则学生交卷后能查看作业与测验和成绩;否则只能查看成绩,不能查看作业与测验)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30 pb40"},b.a.createElement(R.a,{checked:he.assistant_auth,disabled:j,onChange:function(e){he.assistant_auth=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"助教查看答案")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则允许助教查看答案)"))),b.a.createElement(Ae.a,null),Object($.c)()&&b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"600px"},b.a.createElement(M.a,null,b.a.createElement(P.a,null,b.a.createElement("strong",null,"作业与测验导出格式设置")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement("strong",null,"卷头左角标"),b.a.createElement("span",{className:"c-grey-c font12"},"(位于首页左上角,请以图片上传;大小请勿超过200k,尺寸为700x500)")),b.a.createElement("div",{className:"mt15 pl30"},b.a.createElement(Qe.a,Ee,!(null!==(_=he.file_list)&&void 0!==_&&_.length)&&b.a.createElement("div",null,b.a.createElement($e.a,null),b.a.createElement("div",{style:{marginTop:8}},"上传")))),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.show_title,disabled:j,onChange:function(e){he.show_title=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"展示作业与测验标题")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中则在卷头展示作业与测验标题)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30 "},b.a.createElement(R.a,{checked:he.show_body,disabled:j,onChange:function(e){he.show_body=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"展示作业与测验内容")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中则在卷头展示作业与测验内容,即本作业与测验所属课程名称)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.show_info,disabled:j,onChange:function(e){he.show_info=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"展示题量、分值、作业与测验时长")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中则在卷头展示题量、分值、作业与测验时长信息)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.show_table,disabled:j,onChange:function(e){he.show_table=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"展示得分、评分表格")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中则给出学生的得分、评分表格)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement("strong",null,"密封线区域设置"),b.a.createElement(R.a,{className:"pl8",checked:he.show_user,disabled:j,onChange:function(e){he.show_user=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"姓名")),b.a.createElement(R.a,{checked:he.show_no,disabled:j,onChange:function(e){he.show_no=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"学号")),b.a.createElement(R.a,{checked:he.show_group,disabled:j,onChange:function(e){he.show_group=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"专业班级"))),Object($.o)()&&b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement("span",null,"每页导出最大试题数:"),b.a.createElement(D.a,{size:"large",min:1,value:he.export_page_num?he.export_page_num:40,onChange:function(e){he.export_page_num=e,fe(Object(h.a)({},he))}}),b.a.createElement("span",{className:"ml10"},"题")),b.a.createElement("span",{className:"c-grey-c font12 pl30 pt10"},"(勾选项将会出现在首页左侧密封线内,不选则代表不设置密封区)"),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.show_desc,disabled:j,onChange:function(e){he.show_desc=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"作业与测验说明")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中开启文本编辑器,可输入500字以内的作业与测验说明)")),he.show_desc&&b.a.createElement("div",{className:"mt15 pl30 pb40"},j?b.a.createElement(ut,{style:{height:150,width:550},disabled:!0,value:he.description}):b.a.createElement(at.a,{width:550,height:150,defaultValue:he.description,id:"exercise-detail-config-exam-description-id",onChange:function(e){he.description=e,fe(Object.assign({},he))}})))),b.a.createElement(P.a,{flex:1,className:"pt40 mb20"},b.a.createElement("div",{className:"pb10"},"示例图片预览:"),b.a.createElement("img",{src:Se.o}))),!j&&b.a.createElement(P.a,{className:"mb50 pb10 btn-w120"},b.a.createElement(a.a,{type:"primary",size:"large",onClick:function(){return function(){var e,t,n,r,i,a=JSON.parse(JSON.stringify(he));if(a.categoryId=C.categoryId,a.publish_time_groups=le,a.attachment_id=(null===(e=a.file_list)||void 0===e||null===(t=e[0])||void 0===t||null===(n=t.response)||void 0===n?void 0:n.id)||null,delete a.file_list,he.unified_setting){if(!he.publish_time||!he.end_time)throw s.b.error("发布截止时间不能为空"),new String("发布截止时间不能为空")}else{if(!le.length)return void s.b.warn("提交失败:分班发布设置不能为空");delete a.publish_time,delete a.end_time,le.map((function(e){var t;if(!e.course_group_id||null===(t=e.course_group_id)||void 0===t||!t.length)throw s.b.error("分班不能为空"),new String("分班不能为空");if(!e.publish_time||!e.end_time)throw s.b.error("发布截止时间不能为空"),new String("发布截止时间不能为空")}))}if(he.open_camera&&he.photo_count<1)throw s.b.error("请填写本场作业与测验最大拍摄次数"),new String("请填写本场作业与测验最大拍摄次数");if(!("no"===he.ip_limit||null!==(r=he.public_ip)&&void 0!==r&&r.length||null!==(i=he.inner_ip)&&void 0!==i&&i.length))throw s.b.error("请填写公网IP或内网IP地址"),new String("请填写内网IP地址");if(he.open_camera||he.screen_open)var o=u.a.confirm({title:"作业与测验说明",className:"custom-modal-divider",icon:null,width:750,content:b.a.createElement("div",{className:"font16 p20"},he.open_camera&&b.a.createElement(M.a,{align:"",justify:"start",className:"mt20"},b.a.createElement(P.a,{flex:"24px"},b.a.createElement("span",{className:"iconfont icon-kaiqishexiangtou c-blue mr20 font24"})),b.a.createElement(P.a,{flex:"1"},"您已开启进行中摄像防作弊功能,",b.a.createElement("span",{className:"c-red"},"这需要调用学生用户的摄像设备"),"。Educoder平台将会严格保护所有学生的照片和视频,并承诺不在本平台以外使用。",b.a.createElement("br",null),"请确认:为严格监督作业与测验以获得公平,您同意并和要求Educoder平台在本次进行中调用学生用户的摄像设备并获取学生的影像信息。")),he.screen_open&&b.a.createElement(M.a,{justify:"start",className:"mt20"},b.a.createElement(P.a,{flex:"24px",className:"mr20"},b.a.createElement("span",{className:"iconfont icon-kaiqifangqieping c-blue font24"})),b.a.createElement(P.a,{flex:"1"},"您已开启进行中防切屏功能,这项功能暂时仅支持谷歌、火狐浏览器。 请确保:在正式开始作业与测验前通知全体学生,使用 ",b.a.createElement("img",{width:"26",src:Se.g})," ",b.a.createElement("span",{className:"c-red"},"谷歌浏览器"),"或",b.a.createElement("img",{width:"26",src:Se.p})," ",b.a.createElement("span",{className:"c-red"},"火狐浏览器"),"进行作业与测验。")),b.a.createElement("p",{className:"ml40 mt40"},b.a.createElement(R.a,{onChange:function(e){return o.update({okButtonProps:{disabled:!e.target.checked}})}},"我已阅读"))),onOk:function(){ve(a)},okButtonProps:{disabled:!0}});else ve(a)}()}},"提交"),b.a.createElement(a.a,{onClick:function(){H(!0),ge()},type:"primary",size:"large",ghost:!0,className:"ml20"},"取消")),b.a.createElement(X.a,null),b.a.createElement(nt,null))})),pt=(n("MXD1"),n("CFYs")),mt=n("9Bee"),gt=n("51gm"),vt=n.n(gt),bt={0:"单选题",1:"多选题",2:"判断题",3:"填空题",4:"问答题",5:"实训题",6:"编程题",7:"接龙题"},yt={1:"满分作答",2:"部分得分作答",3:"零分作答",4:"未批"},Et=Object(_.a)((function(e){return{exercise:e.exercise,loading:e.loading.effects}}))((function(e){var t,n,r=e.exercise,i=e.loading,a=e.dispatch,o=Object(E.i)(),s=Object(v.useState)(Object(h.a)(Object(h.a)({},o),{sort:"asc",page:1,limit:10})),l=Object(f.a)(s,2),u=l[0],d=l[1],p=(Object(E.h)(),r.statisticsList),m=Object(v.useState)({}),y=Object(f.a)(m,2),x=y[0],_=(y[1],Object(v.useState)([])),k=Object(f.a)(_,2),w=k[0],C=k[1],S=Object(v.useState)(""),A=Object(f.a)(S,2),T=(A[0],A[1],Object(v.useState)("")),D=Object(f.a)(T,2),L=(D[0],D[1],U.a.useForm()),j=Object(f.a)(L,1)[0],B=[{title:"提交率",dataIndex:"commit_percent",align:"center",render:function(e){return b.a.createElement("span",null,0===e?0:(100*e).toFixed(2),"%")}},{title:"最低分",dataIndex:"min_score",align:"center",render:function(e){return b.a.createElement("span",null,e,"分")}},{title:"最高分",dataIndex:"max_score",align:"center",render:function(e){return b.a.createElement("span",{className:"c-orange"},e,"分")}},{title:"平均分",dataIndex:"average_score",align:"center",render:function(e){return b.a.createElement("span",null,e,"分")}},{title:"不及格(得分 低于60%)",dataIndex:"fail_counts",align:"center",render:function(e){return b.a.createElement("span",null,e,"人")}},{title:"及格(得分60%~70%)",dataIndex:"pass_counts",align:"center",render:function(e){return b.a.createElement("span",null,e,"人")}},{title:"良好(得分70%~90%)",dataIndex:"good_counts",align:"center",render:function(e){return b.a.createElement("span",null,e,"人")}},{title:"优秀(得分90%~100%)",dataIndex:"best_counts",align:"center",render:function(e){return b.a.createElement("span",{className:"c-orange"},e,"人")}}],H=function(){var e=Object(c.a)(g.a.mark((function e(){var t;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a({type:"exercise/getExerciseStatistics",payload:Object(h.a)({},u)});case 2:null!=(t=e.sent)&&t.exercise_counts&&C([t.exercise_counts]);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(v.useEffect)((function(){H()}),[u.coursesId]),b.a.createElement(b.a.Fragment,null,b.a.createElement("section",{className:"minH500 bg-white"},b.a.createElement("aside",{className:"pt20"},b.a.createElement(U.a,{form:j,onChange:function(){var e=Object.assign({},j.getFieldValue());Object.keys(e).map((function(t){e[t].includes("all")?(delete u[t],j.setFieldsValue(Object(F.a)({},t,"all"))):(u[t]=e[t],j.setFieldsValue(Object(F.a)({},t,u[t])))})),u.page=1,u.limit=10,H()},initialValues:(t={},Object(F.a)(t,"commit_status","all"),Object(F.a)(t,"exercise_group_id","all"),Object(F.a)(t,"review","all"),t)},b.a.createElement(U.a.Item,{name:"exercise_group_id"},b.a.createElement(R.a.Group,{style:{width:"100%"}},b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"80px",className:"font14"},"分班情况:"),b.a.createElement(P.a,{flex:"80px"},b.a.createElement(R.a,{value:"all",checked:!x.course_group},"全部")),b.a.createElement(P.a,{flex:"1",className:vt.a.wrap},p.course_groups&&p.course_groups.map((function(e,t){return b.a.createElement(R.a,{value:e.exercise_group_id,key:t},e.exercise_group_name,"(",e.exercise_group_students,")")})))))))),b.a.createElement(N.a,{className:"mt30",loading:i["exercise/getExerciseStatistics"],pagination:!1,dataSource:w,columns:B}),b.a.createElement("div",{className:vt.a.title},b.a.createElement(M.a,{align:"middle",style:{height:"100%"},className:"ml5 mr5"},b.a.createElement(P.a,{flex:1,className:"font16"},"统计详情"),b.a.createElement(P.a,{className:"font16"},b.a.createElement("span",{className:"current",onClick:function(){u.sort="desc"===u.sort?"asc":"desc",u.sort_by="cost_time",console.log("xx params.sort: ",u.sort),d(Object(h.a)({},u)),H()}},b.a.createElement("span",null,"平均完成时间"),b.a.createElement("p",{className:"edu-sorter current ".concat("cost_time"===u.sort_by?u.sort:"")},b.a.createElement("span",{className:"iconfont icon-sanjiaoxing-up"}),b.a.createElement("span",{className:"iconfont icon-sanjiaoxing-down"})))),b.a.createElement(P.a,{className:"font16 ml20 mr20"},b.a.createElement("span",{className:"current",onClick:function(){u.sort="desc"===u.sort?"asc":"desc",u.sort_by="right_code_count",console.log("xx params.sort: ",u.sort),d(Object(h.a)({},u)),H()}},b.a.createElement("span",null,"平均正确代码行数"),b.a.createElement("p",{className:"edu-sorter current ".concat("right_code_count"===u.sort_by?u.sort:"")},b.a.createElement("span",{className:"iconfont icon-sanjiaoxing-up"}),b.a.createElement("span",{className:"iconfont icon-sanjiaoxing-down"})))),b.a.createElement(P.a,{className:"font16"},b.a.createElement("span",{className:"current",onClick:function(){u.sort="desc"===u.sort?"asc":"desc",u.sort_by="",console.log("xx params.sort: ",u.sort),d(Object(h.a)({},u)),H()}},b.a.createElement("span",null,"正确率"),b.a.createElement("p",{className:"edu-sorter current ".concat(""===u.sort_by?u.sort:"")},b.a.createElement("span",{className:"iconfont icon-sanjiaoxing-up"}),b.a.createElement("span",{className:"iconfont icon-sanjiaoxing-down"})))))),b.a.createElement(Le.a,{spinning:i["exercise/getExerciseStatistics"]},b.a.createElement("div",{className:"minH200"},null==p||null===(n=p.commit_results)||void 0===n?void 0:n.map((function(e,t){var n;return b.a.createElement("aside",{key:t,className:"font14 c-black mt30"},b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:1},e.ques_position,".",bt[e.ques_type]),6===e.ques_type&&b.a.createElement(b.a.Fragment,null,b.a.createElement(P.a,null,"平均正确代码行数:",b.a.createElement("span",{className:"c-orange"},e.right_code_count)),b.a.createElement(P.a,{className:"ml20 mr20"},"平均完成时间:",b.a.createElement("span",{className:"c-orange"},e.cost_time))),b.a.createElement(P.a,null,"正确率 ",b.a.createElement("span",{className:"c-orange"},e.right_percent,"%"))),b.a.createElement("div",null,b.a.createElement(mt.a,{value:e.ques_title})),b.a.createElement("div",{className:"mt20",style:{display:5===e.ques_type?"none":""}},b.a.createElement(M.a,{className:"c-light-black ",gutter:[24,20]},b.a.createElement(P.a,{flex:1},"选项"),b.a.createElement(P.a,{flex:"60px",className:"tc"},"小计"),b.a.createElement(P.a,{flex:"200px"},"百分比"))),b.a.createElement(Ae.a,{style:{margin:0,marginBottom:20,display:5===e.ques_type?"none":""}}),7===(null==e?void 0:e.ques_type)&&(null==e?void 0:e.sub_exercise_questions.map((function(t,n){var r;return b.a.createElement("div",null,b.a.createElement("div",{style:{marginBottom:10,display:"flex",justifyContent:"space-between"}},b.a.createElement(P.a,null,b.a.createElement("span",null,t.ques_title)),b.a.createElement(P.a,null,"正确率 ",b.a.createElement("span",{className:"c-orange"},t.right_percent,"%"))),null==t||null===(r=t.ques_details)||void 0===r?void 0:r.map((function(t,n){return b.a.createElement(M.a,{key:n,gutter:[24,24],className:"font14 c-black"},b.a.createElement(P.a,{flex:1},b.a.createElement(M.a,{style:{alignItems:"center"}},2===e.ques_type||3===e.ques_type||4===e.ques_type?"":b.a.createElement(P.a,null,O.m[n],". "),4===e.ques_type?b.a.createElement(P.a,{flex:1,className:"ml10"},b.a.createElement(mt.a,{value:yt[t.choice_text]})):b.a.createElement(P.a,{flex:1,className:"ml10"},b.a.createElement(mt.a,{value:"wrong"===t.choice_text?"填写了错误答案":t.choice_text})))),b.a.createElement(P.a,{flex:"60px",className:"tc"},b.a.createElement("span",{className:t.choice_right_boolean&&"c-green"},t.choice_users_count||0)),b.a.createElement(P.a,{flex:"200px"},b.a.createElement(pt.a,{status:"active",strokeColor:"#2abd8b",percent:(100*t.choice_percent).toFixed(),width:200})))})),b.a.createElement(Ae.a,{style:{margin:0,marginBottom:20}}))}))),(null==e?void 0:e.ques_type)<7&&(null==e||null===(n=e.ques_details)||void 0===n?void 0:n.map((function(t,n){return 5===e.ques_type?b.a.createElement("div",{className:"mt20"},b.a.createElement(M.a,{key:n,gutter:[24,24],className:"font14 c-black"},b.a.createElement(P.a,{flex:1},t.challenge_position,".",t.challenge_name),b.a.createElement(P.a,null,"正确率 ",b.a.createElement("span",{className:"c-orange"},t.challenge_percent,"%"))),b.a.createElement("div",null,b.a.createElement(M.a,{className:"c-light-black ",gutter:[24,20]},b.a.createElement(P.a,{flex:1},"选项"),b.a.createElement(P.a,{flex:"60px",className:"tc"},"小计"),b.a.createElement(P.a,{flex:"200px"},"百分比"))),b.a.createElement(Ae.a,{style:{margin:0,marginBottom:20}}),null==t?void 0:t.challenge_details.map((function(e){return b.a.createElement(M.a,{key:n,gutter:[24,24],className:"font14 c-black"},b.a.createElement(P.a,{flex:1},b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:1,className:"ml10"},b.a.createElement(mt.a,{value:yt[e.choice_text]})))),b.a.createElement(P.a,{flex:"60px",className:"tc"},b.a.createElement("span",{className:e.choice_right_boolean&&"c-green"},e.choice_users_count||0)),b.a.createElement(P.a,{flex:"200px"},b.a.createElement(pt.a,{status:"active",strokeColor:"#2abd8b",percent:(100*e.choice_percent).toFixed(),width:200})))})),b.a.createElement(M.a,{className:"",gutter:[24,20]},b.a.createElement(P.a,{className:"ml10",flex:1},"有效填写量"),b.a.createElement(P.a,{flex:"60px",className:"tc"},e.effictive_counts),b.a.createElement(P.a,{flex:"200px"})),b.a.createElement(Ae.a,{style:{margin:0,marginBottom:20}})):b.a.createElement(M.a,{key:n,gutter:[24,24],className:"font14 c-black"},b.a.createElement(P.a,{flex:1},b.a.createElement(M.a,null,2===e.ques_type||3===e.ques_type||4===e.ques_type?"":b.a.createElement(P.a,null,O.m[n],". "),4===e.ques_type?b.a.createElement(P.a,{flex:1,className:"ml10"},b.a.createElement(mt.a,{value:yt[t.choice_text]})):b.a.createElement(P.a,{flex:1,className:"ml10"},b.a.createElement(mt.a,{value:"wrong"===t.choice_text?"填写了错误答案":t.choice_text})))),b.a.createElement(P.a,{flex:"60px",className:"tc"},b.a.createElement("span",{className:t.choice_right_boolean&&"c-green"},t.choice_users_count||0)),b.a.createElement(P.a,{flex:"200px"},b.a.createElement(pt.a,{status:"active",strokeColor:"#2abd8b",percent:(100*t.choice_percent).toFixed(),width:200})))}))),b.a.createElement(M.a,{style:{display:5===e.ques_type?"none":""},className:"",gutter:[24,20]},b.a.createElement(P.a,{className:2===e.ques_type||3===e.ques_type||4===e.ques_type?"ml10":"",flex:1},"有效填写量"),b.a.createElement(P.a,{flex:"60px",className:"tc"},e.effictive_counts),b.a.createElement(P.a,{flex:"200px"})))}))))),b.a.createElement("div",{className:"tc mt30 mb50"},b.a.createElement(I.a,{hideOnSinglePage:!1,total:null==p?void 0:p.questions_count,current:u.page||1,pageSize:u.limit,onChange:function(e,t){u.page=e,u.limit=t,H()}})))})),xt=n("cVA7"),_t=n.n(xt),kt=n("5e8a"),wt=n.n(kt),Ct=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return{title:{left:"center"},tooltip:{trigger:"item",formatter:"{a}
{b} ({d}%)"},color:["#0152d9","#13C2C2","#2FC25B","#FACC14"],series:[{name:"",type:"pie",radius:"55%",center:["40%","50%"],data:e,emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]}},St=function(e){var t=e.names,n=void 0===t?[]:t,r=e.values,i=void 0===r?[]:r,a=e.values1,o=void 0===a?[]:a;return{tooltip:{trigger:"axis",axisPointer:{type:"cross",crossStyle:{color:"#999"}}},legend:{data:["Evaporation","Precipitation","Temperature"]},color:["#0152d9","#13C2C2","#2FC25B","#FACC14"],xAxis:[{type:"category",data:n,axisPointer:{type:"shadow"}}],yAxis:[{type:"value",name:"学员人数",min:0,max:e.num,interval:50,axisLabel:{formatter:"{value}"}},{type:"value",name:"人数占比",min:0,max:100,interval:10,axisLabel:{formatter:"{value}%"}}],series:[{name:"学员人数",type:"bar",tooltip:{valueFormatter:function(e){return e+" 人"}},data:i},{name:"人数占比",type:"line",yAxisIndex:1,tooltip:{valueFormatter:function(e){return e+"%"}},data:o}]}},Ot=function(e){var t=e.names,n=void 0===t?[]:t,r=e.values;return{xAxis:{type:"category",data:n},color:["#0152d9","#13C2C2","#2FC25B","#FACC14"],yAxis:{type:"value"},series:[{data:void 0===r?[]:r,type:"bar"}]}},At=["#0152d9","#13C2C2","#2FC25B","#FACC14"],Tt=["不及格","及格","良好","优秀"],It=Object(_.a)((function(e){var t=e.classroomList,n=e.loading,r=e.user,i=e.problemset,a=e.exercise;return{classroomList:t,globalSetting:e.globalSetting,problemset:i,exercise:a,user:r,loading:n.effects}}))((function(e){e.classroomList,e.globalSetting,e.problemset,e.loading;var t=e.exercise,n=e.user,r=e.dispatch,i=(Object(p.a)(e,["classroomList","globalSetting","problemset","loading","exercise","user","dispatch"]),Object(E.h)(),n.userInfo,t.exerciseList,t.commonHeader,t.checkDomain,Object(v.useState)([])),a=Object(f.a)(i,2),o=a[0],s=a[1],l=Object(v.useState)({}),u=Object(f.a)(l,2),d=u[0],m=u[1],x=Object(v.useState)({}),_=Object(f.a)(x,2),k=_[0],w=_[1],C=Object(v.useState)(Object(h.a)(Object(h.a)({},Object(E.i)()),{},{page:1,per_page:20})),S=Object(f.a)(C,2),O=S[0];S[1];function A(){return(A=Object(c.a)(g.a.mark((function e(){var t,n,r,i,a,o,l,c,u,d,f,p,v,b,E,x,_,k,C,S,A,T,I,D,L,R;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(y.a)("/api/exercises/".concat(null==O?void 0:O.categoryId,"/exercise_analysis_charts.json"),{method:"get"});case 2:null!=(i=e.sent)&&i.grade_chart&&(u=[{name:"不及格",value:null==i||null===(a=i.grade_chart)||void 0===a?void 0:a.fail_percent},{name:"及格",value:null==i||null===(o=i.grade_chart)||void 0===o?void 0:o.pass_percent},{name:"良好",value:null==i||null===(l=i.grade_chart)||void 0===l?void 0:l.good_percent},{name:"优秀",value:null==i||null===(c=i.grade_chart)||void 0===c?void 0:c.best_percent}],s([].concat(u))),(null==i||null===(t=i.score_area_chart)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.length)>0&&(_=null==i||null===(d=i.score_area_chart)||void 0===d||null===(f=d.data)||void 0===f?void 0:f.map((function(e){return e.area})),k=null==i||null===(p=i.score_area_chart)||void 0===p||null===(v=p.data)||void 0===v?void 0:v.map((function(e){return e.stu_num})),C=null==i||null===(b=i.score_area_chart)||void 0===b||null===(E=b.data)||void 0===E?void 0:E.map((function(e){return e.percent})),S=(null==i||null===(x=i.score_area_chart)||void 0===x?void 0:x.max_stu_num)||0,A={names:_,values:k,values1:C,num:S},m(Object(h.a)({},A))),(null==i||null===(r=i.exercise_time_chart)||void 0===r?void 0:r.length)>0&&(D=null==i||null===(T=i.exercise_time_chart)||void 0===T?void 0:T.map((function(e){return e.area})),L=null==i||null===(I=i.exercise_time_chart)||void 0===I?void 0:I.map((function(e){return e.student_num})),R={names:D,values:L},w(Object(h.a)({},R)));case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return Object(v.useEffect)((function(){r({type:"exercise/getCommonHeader",payload:Object(h.a)({},O)})}),[O.coursesId]),Object(v.useEffect)((function(){!function(){A.apply(this,arguments)}()}),[]),b.a.createElement("section",{className:"edu-container"},b.a.createElement("div",{style:{display:"flex",marginTop:10}},b.a.createElement("div",{style:{flex:5,background:"#fff",marginRight:10}},b.a.createElement("p",{style:{fontSize:16,fontWeight:400,height:40,alignItems:"center",display:"flex",paddingLeft:20,borderBottom:"1px solid #fff9f9"}},"成绩等级占比"),b.a.createElement("div",{className:wt.a.countcenter},b.a.createElement(_t.a,{option:Ct(o),style:{height:400,width:430},opts:{renderer:"svg"}}),b.a.createElement("div",null,b.a.createElement("p",null,"单位:人"),null==At?void 0:At.map((function(e,t){return b.a.createElement("p",{key:t,style:{display:"flex",alignItems:"center"}},b.a.createElement("div",{key:t,className:wt.a.radiusdiv,style:{background:e}})," ",Tt[t])}))))),console.log("---",d),b.a.createElement("div",{style:{flex:5,background:"#fff",marginLeft:10}},b.a.createElement("p",{style:{fontSize:16,fontWeight:400,height:40,display:"flex",paddingLeft:20,borderBottom:"1px solid #fff9f9"}},"分数段分析"),b.a.createElement("div",{className:wt.a.countcenter},b.a.createElement(_t.a,{option:St(Object(h.a)({},d)),style:{height:400,width:550},opts:{renderer:"svg"}})))),b.a.createElement("div",null,b.a.createElement("p",{style:{fontSize:16,fontWeight:400,height:40,alignItems:"center",display:"flex",paddingLeft:20,borderBottom:"1px solid #fff9f9"}},"作业与测验用时分析"),b.a.createElement("div",{className:wt.a.countcenter},b.a.createElement(_t.a,{option:Ot(Object(h.a)({},k)),style:{height:400,width:1100},opts:{renderer:"svg"}}))))})),Dt=function(){var e=Object(c.a)(g.a.mark((function e(t,n){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(y.a)("/api/exercises/".concat(t,"/exercise_analysis.json"),{method:"GET",params:n}));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Lt=n("CY+3"),Rt=n.n(Lt),Nt=(n("h6EL"),Object(v.memo)((function(e){var t=e.data,n=["#307DFE","#13C2C2","#8543E0"],r=Object(v.useMemo)((function(){return{legend:{show:!0,orient:"vertical",top:"middle",right:80,itemWidth:8,itemHeight:8,itemGap:20,icon:"circle",selectedMode:!1},series:[{type:"pie",clockwise:!0,right:134,data:null==t?void 0:t.map((function(e){return{name:e.type,value:parseFloat(e.num)}})),label:{show:!0,position:"inside",formatter:"{d}%",fontSize:14,fontWeight:400},itemStyle:{color:function(e){var t=(e||{}).dataIndex;return n[t]}}}]}}),[t]);return b.a.createElement(_t.a,{option:r})}))),jt=Object(v.memo)((function(e){var t=e.data,n=["#307DFE","#13C2C2","#2FC25B","#FACC14","#F04864","#8543E0","#3436C7","#223273"],r=Object(v.useMemo)((function(){return{legend:{show:!0,orient:"vertical",top:"middle",right:80,itemWidth:8,itemHeight:8,itemGap:20,icon:"circle",selectedMode:!1},series:[{type:"pie",right:134,clockwise:!0,data:null==t?void 0:t.map((function(e){return{name:e.type,value:parseFloat(e.num)}})),label:{show:!0,position:"inside",formatter:"{d}%",fontSize:14,fontWeight:400},itemStyle:{color:function(e){var t=e.dataIndex;return n[t]}}}]}}),[t]);return b.a.createElement(_t.a,{option:r})})),Mt=Object(v.memo)((function(e){var t=e.data,n=Object(v.useMemo)((function(){var e=Object.keys(t),n=e.map((function(e){return t[e]}));return{xAxis:{type:"category",data:e},yAxis:{type:"value",name:"题数",nameLocation:"middle",nameGap:20,minInterval:1},tooltip:{show:!0,position:"top",formatter:"{b}
题数:{c}"},series:[{data:n,type:"bar",itemStyle:{color:"#a3c5fe",borderColor:"#196EFD"}}]}}),[t]);return b.a.createElement(_t.a,{option:n})})),Pt=Object(v.memo)((function(e){var t=e.data,n=new Image;n.src=Se.q;var r=Object(v.useMemo)((function(){return{backgroundColor:"#fff",series:[{type:"wordCloud",sizeRange:[10,30],rotationRange:[-90,90],rotationStep:45,maskImage:n,gridSize:2,shape:"pentagon",textStyle:{normal:{color:function(){return"rgb("+Math.round(255*Math.random())+", "+Math.round(255*Math.random())+", "+Math.round(255*Math.random())+")"}}},left:"center",top:"center",right:null,bottom:null,width:"100%",height:"100%",data:t.map((function(e,t){return{name:e,value:t}}))}]}}),[]);return b.a.createElement(_t.a,{option:r})})),Bt=function(){var e=Object(E.i)(),t=e.coursesId,n=e.categoryId,r=Object(v.useState)(),i=Object(f.a)(r,2),a=i[0],o=i[1];return Object(v.useEffect)((function(){Dt(n,{categoryId:n,coursesId:t}).then((function(e){"status"in e||o(e)}))}),[]),a?b.a.createElement("div",null,b.a.createElement(M.a,{gutter:20,style:{marginBottom:20,marginTop:30}},b.a.createElement(P.a,{span:12},b.a.createElement("div",{className:Rt.a.chartWrapper},b.a.createElement("div",{className:Rt.a.title},"难度分布"),b.a.createElement(Nt,{data:null==a?void 0:a.difficulty_list}))),b.a.createElement(P.a,{span:12},b.a.createElement("div",{className:Rt.a.chartWrapper},b.a.createElement("div",{className:Rt.a.title},"题型分布"),b.a.createElement(jt,{data:null==a?void 0:a.ques_type_list})))),b.a.createElement(M.a,{gutter:20,style:{marginBottom:30}},b.a.createElement(P.a,{span:12},b.a.createElement("div",{className:Rt.a.chartWrapper},b.a.createElement("div",{className:Rt.a.title},"分值分布"),b.a.createElement(Mt,{data:null==a?void 0:a.score_list}))),b.a.createElement(P.a,{span:12},b.a.createElement("div",{className:Rt.a.chartWrapper},b.a.createElement("div",{className:Rt.a.title},"知识点"),b.a.createElement(Pt,{data:null==a?void 0:a.tag_discipline_list}))))):b.a.createElement(Y.a,null)},Ft=Object(_.a)((function(e){var t=e.classroomList,n=e.loading,r=e.user,i=e.problemset,a=e.exercise;return{classroomList:t,globalSetting:e.globalSetting,problemset:i,exercise:a,user:r,loading:n.effects}}))((function(e){e.classroomList,e.globalSetting,e.problemset,e.loading;var t=e.exercise,n=e.user,i=e.dispatch,a=(Object(p.a)(e,["classroomList","globalSetting","problemset","loading","exercise","user","dispatch"]),Object(E.h)(),n.userInfo,t.exerciseList,t.commonHeader,t.checkDomain,Object(v.useState)(Object(h.a)(Object(h.a)({},Object(E.i)()),{},{page:1,per_page:20}))),o=Object(f.a)(a,2),s=o[0];o[1];return Object(v.useEffect)((function(){i({type:"exercise/getCommonHeader",payload:Object(h.a)({},s)})}),[s.coursesId]),b.a.createElement(r.a,{defaultActiveKey:"1"},b.a.createElement(r.a.TabPane,{key:1,tab:"答题统计"},b.a.createElement(Et,null)),b.a.createElement(r.a.TabPane,{key:2,tab:"作业与测验分析"},b.a.createElement(Bt,null),b.a.createElement(It,null)))})),Ut={0:"单选题",1:"多选题",2:"判断题",3:"填空题",4:"简答题",5:"实训题",6:"编程题",7:"接龙题"},Ht=Object(_.a)((function(e){return{exercise:e.exercise,loading:e.loading.effects}}))((function(e){var t,n=e.exercise,r=e.loading,i=e.dispatch,a=Object(E.i)(),o=(Object(E.h)(),n.statisticsList),s=Object(v.useState)({}),l=Object(f.a)(s,2),u=(l[0],l[1],Object(v.useState)([])),d=Object(f.a)(u,2),p=d[0],m=d[1],y=Object(v.useState)(""),x=Object(f.a)(y,2),_=(x[0],x[1],Object(v.useState)("")),k=Object(f.a)(_,2),w=(k[0],k[1],Object(v.useState)({})),C=Object(f.a)(w,2),S=(C[0],C[1],U.a.useForm());Object(f.a)(S,1)[0];a.sort="asc";var O=function(e){return{title:{text:"『 学生正确率分布图 』",left:"center"},tooltip:{trigger:"item",formatter:"{b} : {c} 人"},legend:{bottom:0,icon:"circle",left:"center",itemWidth:6,itemHeight:6,data:["100%","90%-100%","70%-90%","60%-70%","60%以下"].reverse()},series:[{type:"pie",radius:"55%",minAngle:15,center:["50%","50%"],selectedMode:"single",label:{show:!0,position:"outer",normal:{formatter:"{b} \n {c}人",color:"#5c5c5c",lineHeight:20}},labelLine:{normal:{length:20,length2:20,lineStyle:{color:"rgba(0,0,0,.45)"}}},data:[{value:e.details[0].full_count,name:"100%"},{value:e.details[0].best_count,name:"90%-100%"},{value:e.details[0].good_count,name:"70%-90%"},{value:e.details[0].pass_count,name:"60%-70%"},{value:e.details[0].fails_count,name:"60%以下"}],itemStyle:{emphasis:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"},normal:{color:function(e){return["#99B8FB","#80E0B9","#8190AA","#F7C739","#EB7E65"][e.dataIndex]}}},emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]}},A=[{title:"提交率",dataIndex:"commit_percent",render:function(e){return b.a.createElement("span",null,100*e,"%")}},{title:"最低分",dataIndex:"min_score",render:function(e){return b.a.createElement("span",null,e,"分")}},{title:"最高分",dataIndex:"max_score",render:function(e){return b.a.createElement("span",{className:"c-orange"},e,"分")}},{title:"平均分",dataIndex:"average_score",render:function(e){return b.a.createElement("span",null,e,"分")}},{title:"不及格(得分 低于60%)",dataIndex:"fail_counts",render:function(e){return b.a.createElement("span",null,e,"人")}},{title:"及格(得分60%~70%)",dataIndex:"pass_counts",render:function(e){return b.a.createElement("span",null,e,"人")}},{title:"良好(得分70%~90%)",dataIndex:"good_counts",render:function(e){return b.a.createElement("span",null,e,"人")}},{title:"优秀(得分90%~100%)",dataIndex:"best_counts",render:function(e){return b.a.createElement("span",{className:"c-orange"},e,"人")}}],T=function(){var e=Object(c.a)(g.a.mark((function e(){var t;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i({type:"exercise/getExerciseStatistics",payload:Object(h.a)({},a)});case 2:null!=(t=e.sent)&&t.exercise_counts&&m([t.exercise_counts]);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(v.useEffect)((function(){T()}),[a.coursesId]),b.a.createElement("section",{className:"minH500 ",style:{padding:0}},b.a.createElement("aside",{className:"bg-white inline-block w100 th-bg-white"},b.a.createElement(N.a,{className:"mt10 bg-white",loading:r["exercise/getExerciseStatistics"],pagination:!1,dataSource:p,columns:A})),b.a.createElement("aside",{className:"mt20"},b.a.createElement("span",{className:"bold c-black font16 ml20"},"已交卷学生答题详情")),b.a.createElement("aside",null,null==o||null===(t=o.commit_results)||void 0===t?void 0:t.map((function(e,t){return b.a.createElement("div",{key:t,className:"bg-white pl20 pt20 pr20 pb20 mt20"},b.a.createElement("div",{style:{fontSize:14,color:"#0152d9",fontWeight:500}},t+1,"、",Ut[e.question_type],b.a.createElement("span",{style:{color:"#999",paddingLeft:10}},"(共",e.question_count,"小题,",e.question_score,"分)"),b.a.createElement("span",{style:{color:"#000",float:"right"}},"全班正确率:",100*e.right_percent,"%")),b.a.createElement(_t.a,{option:O(e),style:{height:370},opts:{renderer:"svg"}}))}))))})),Gt=n("tf39"),zt=n.n(Gt);t.default=Object(_.a)((function(e){var t=e.exercise,n=e.loading,r=e.user;return{exercise:t,globalSetting:e.globalSetting,user:r,loading:n.effects}}))((function(e){var t,n,m,T,I,D,L,R,N,j,M,P,B=e.exercise,F=(e.globalSetting,e.loading,e.dispatch),U=e.user,H=(e.match,Object(p.a)(e,["exercise","globalSetting","loading","dispatch","user","match"])),z=Object(E.i)(),V=Object(E.h)(),W=Object(v.useState)([]),K=Object(f.a)(W,2),q=(K[0],K[1],B.exerciseList),Y=B.commonHeader,Q=B.checkDomain,J=Object(v.useState)(V.query.tabs||0),X=Object(f.a)(J,2),Z=X[0],ee=X[1],te=Object(v.useState)(G()(new Date).valueOf()),ne=Object(f.a)(te,2),ie=ne[0],ae=ne[1],oe=Object(v.useState)(),se=Object(f.a)(oe,2),le=se[0],ce=se[1],ue=U.userInfo;Object(E.g)();z.category=V.query.category_id;var de=!Q||Q&&(null==ue||null===(t=ue.course)||void 0===t?void 0:t.course_identity)<3;Object(v.useEffect)((function(){F({type:"exercise/getCommonHeader",payload:Object(h.a)({},z)})}),[z.coursesId]);var he=function(){var e;Object(O.Y)({inner_ip:Y.inner_ip,public_ip:Y.public_ip,ip_limit:Y.ip_limit,ip_bind:Y.ip_bind,open_camera:Y.open_camera,exercise_tips:[Y.open_camera?"已开启防作弊":""],exerciseId:Y.id,screen_open:Y.screen_open,screen_num:Y.screen_num,coursesId:z.coursesId,login:ue.login,history:H.history,identity_verify:Y.identity_verify,current_status:null==Y||null===(e=Y.user_permission)||void 0===e?void 0:e.current_status,open_phone_video_recording:null==Y?void 0:Y.open_phone_video_recording})},fe=function(){F({type:"exercise/getCommonHeader",payload:Object(h.a)({},z)});var e={0:function(){F({type:"exercise/getExerciseList",payload:Object(h.a)({},z)})},3:function(){F({type:"exercise/getWorkSetting",payload:Object(h.a)({},z)})}};e[Z]&&e[Z]()};var me=[{name:"答题列表",id:0,compontent:b.a.createElement(re,{getparams:function(e){ce(Object(h.a)({},e))},checkDomainAuthority:de})},{name:"预览",id:2,compontent:b.a.createElement(De,{activeTabs:Z})},{name:"统计结果",id:1,compontent:b.a.createElement(Ft,null)},{name:"代码查重",id:4,compontent:b.a.createElement(Oe,{key:ie})},{name:"规则设置",id:3,compontent:b.a.createElement(ft,null)},{name:"人脸审核",id:5,compontent:b.a.createElement(pe,null)},{name:"摄像监控",id:6,compontent:b.a.createElement(Ee,null)}].filter((function(e){return null!=Y&&Y.is_random&&("统计结果"===e.name&&(e.compontent=b.a.createElement(Ht,null)),"预览"===e.name&&(e.compontent=b.a.createElement(Ve.default,null))),!0})).filter((function(e){return!!(Object($.k)()&&null!=Y&&Y.assistant_auth||Object($.c)())||(null!=Y&&Y.show_statistic&&3===(null==Y?void 0:Y.exercise_status)?"预览"!==e.name:"答题列表"===e.name||"规则设置"===e.name)})).filter((function(e){return!(Object($.s)()||1===Y.exercise_status||!Y.exist_program)||"代码查重"!==e.name})).filter((function(e){return!!Y.identity_verify||"人脸审核"!==e.name})).filter((function(e){return!!Y.open_phone_video_recording||"摄像监控"!==e.name})).filter((function(e){return!(Object(O.K)()&&!Object($.o)())||"预览"!==e.name&&"统计结果"!==e.name})).filter((function(e){return!!de||"统计结果"!==e.name&&"预览"!==e.name&&"规则设置"!==e.name})).filter((function(e){return!!e}));console.log(me,"tabsArr"),(null==Y?void 0:Y.exercise_status)&&1===(null==Y?void 0:Y.exercise_status)&&me.splice.apply(me,[0,1].concat(Object(d.a)(me.splice(1,1,me[0])))),Object(v.useEffect)((function(){(null==Y?void 0:Y.exercise_status)&&1===(null==Y?void 0:Y.exercise_status)&&ee("2")}),[null==Y?void 0:Y.exercise_status]);var ge="YYYY-MM-DD",ve=G()("2020-11-15",ge),be=function(){return u.a.info({title:"题库改版告知",content:b.a.createElement(b.a.Fragment,null,"EduCoder已升级题库功能,所有试题均需匹配知识点。 当前作业与测验所涉及试题均未匹配知识点,无法随机抽取,已不能有效使用。请在作业与测验库重新组卷后使用。 由此带来的不便,敬请谅解!")})},ye=function(){var e=Object(c.a)(g.a.mark((function e(t){var n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(y.a)("/api/courses/".concat(null==z?void 0:z.coursesId,"/exercises/exercise_code_repeat.json"),{method:"post",body:{group_ids:t,id:null==z?void 0:z.categoryId}});case 2:if(0!==(n=e.sent).status){e.next=8;break}return ee(4),ae(G()(new Date).valueOf()),F({type:"exercise/setActionTabs",payload:{}}),e.abrupt("return");case 8:n.status<-2&&s.b.error(null==n?void 0:n.message);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object($.h)()?b.a.createElement("section",{className:zt.a.bg},b.a.createElement("div",{className:"edu-container"},ue.username&&b.a.createElement("section",{className:"animated fadeIn"},b.a.createElement("aside",{className:"mt10"},b.a.createElement(o.a,{separator:">"},b.a.createElement(o.a.Item,null,b.a.createElement(x.a,{to:"/classrooms/".concat(z.coursesId,"/exercise")},null==U||null===(n=U.userInfo)||void 0===n||null===(m=n.course)||void 0===m?void 0:m.course_name)),b.a.createElement(o.a.Item,null,b.a.createElement(x.a,{to:"/classrooms/".concat(z.coursesId,"/exercise")},"作业与测验")),b.a.createElement(o.a.Item,null,"详情"))),b.a.createElement("aside",{className:[zt.a.title,"mt20"].join(" ")},b.a.createElement(x.a,{to:"/classrooms/".concat(z.coursesId,"/exercise")},b.a.createElement(k.a,{className:"font16 c-black"})),Object(O.z)(null==Y?void 0:Y.exercise_status),b.a.createElement("strong",{className:"font20 ml5"},null==Y?void 0:Y.exercise_name))),b.a.createElement("aside",{className:"mt30 relative"},b.a.createElement("div",{className:zt.a.export},!Object($.s)()&&de&&Y.exercise_status>1&&Y.exist_program&&b.a.createElement(a.a,{onClick:function(e){e.preventDefault(),F({type:"exercise/setActionTabs",payload:{key:"代码查重",params:z}})}},b.a.createElement("span",{className:"iconfont icon-daimachazhong font14 mr5"}),"代码查重"),Object($.c)()&&de&&(null==Y||null===(T=Y.user_permission)||void 0===T?void 0:T.user_commit_counts)>0&&2===(null==Y?void 0:Y.exercise_status)&&b.a.createElement(a.a,{onClick:function(e){e.preventDefault(),F({type:"exercise/setActionTabs",payload:{key:"打回重做",params:z}})}},b.a.createElement("span",{className:"iconfont icon-dahuizhongzuo3x font14 mr5"}),"打回重做"),Object($.c)()&&de&&(null==Y||null===(I=Y.user_permission)||void 0===I?void 0:I.exercise_unpublish_count)>0&&b.a.createElement(a.a,{onClick:function(e){e.preventDefault();var t=G()(null==Y?void 0:Y.created_at,ge);G()(ve).diff(G()(t),"days")>0&&null!=Y&&Y.is_random?be():F({type:"exercise/setActionTabs",payload:{key:"批量发布",selectArrs:[z.categoryId],params:z,disabled:1!==(null==Y?void 0:Y.exercise_status),type:2,cb:fe}})}},b.a.createElement("span",{className:"iconfont icon-fabuzhiwei font14 mr5"}),"发布作业与测验"),Object($.c)()&&de&&(null==Y||null===(D=Y.user_permission)||void 0===D?void 0:D.exercise_publish_count)>0&&b.a.createElement(a.a,{onClick:function(e){e.preventDefault(),F({type:"exercise/setActionTabs",payload:{key:"批量结束",selectArrs:[z.categoryId],params:z,cb:fe}})}},b.a.createElement("span",{className:"iconfont icon-lijijiezhi mr5 font14"}),"结束"),Object($.s)()&&2===(null==Y||null===(L=Y.user_permission)||void 0===L?void 0:L.current_status)&&Y.exercise_status>1&&b.a.createElement(a.a,{style:{color:(null==q||null===(R=q.exercise_types)||void 0===R?void 0:R.is_redo)&&"red"},onClick:he},b.a.createElement("span",{className:"iconfont icon-bianjizuoye mr5 font14"}),null!=q&&null!==(N=q.exercise_types)&&void 0!==N&&N.is_redo?"重新作业与测验":"开始作业与测验"),Object($.s)()&&0===(null==Y||null===(j=Y.user_permission)||void 0===j?void 0:j.current_status)&&Y.exercise_status>1&&b.a.createElement(a.a,{onClick:he},b.a.createElement("span",{className:"iconfont icon-bianjizuoye mr5 font14"}),"继续作业与测验"),Object($.c)()&&de&&(Object($.k)()&&(null==Y?void 0:Y.assistant_auth)||!Object($.k)())&&b.a.createElement(a.a,{onClick:function(){var e=G()(null==Y?void 0:Y.created_at,ge);G()(ve).diff(G()(e),"days")>0&&null!=Y&&Y.is_random?be():_.d.push(null!=Y&&Y.is_random?"/classrooms/".concat(z.coursesId,"/exercise/").concat(z.categoryId,"/random/edit?random=true"):"/classrooms/".concat(z.coursesId,"/exercise/").concat(z.categoryId,"/edit?random=false"))}},b.a.createElement("span",{className:"iconfont icon-bianjizuoye mr5 font14"}),"编辑"),Object($.c)()&&de&&b.a.createElement(i.a,{overlay:function(){return b.a.createElement(l.a,{onClick:function(){var e=Object(c.a)(g.a.mark((function e(t){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=t.key,e.next="1"===e.t0?3:8;break;case 3:return e.next=5,Object(S.n)(Object(h.a)(Object(h.a)({},z),le));case 5:return 0===e.sent.status&&Object(A.i)(Object(h.a)(Object(h.a)({},z),le)),e.abrupt("break",8);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},b.a.createElement(l.a.Item,{key:"1"},"学生成绩"),b.a.createElement(l.a.Item,{key:"2"},b.a.createElement("a",{target:"_blank",href:"/classrooms/".concat(z.coursesId,"/exercise/").concat(z.categoryId,"/export_blank")},"导出作业与测验")),b.a.createElement(l.a.Item,{key:"3"},b.a.createElement(x.a,{to:"/classrooms/".concat(z.coursesId,"/exportlist/exercise_score")},"历史导出")))}},b.a.createElement(a.a,null,b.a.createElement(w.a,null),"导出",b.a.createElement(C.a,null)))),b.a.createElement(r.a,{activeKey:String(Z),className:zt.a.tabs,onChange:function(e){var t=G()(null==Y?void 0:Y.created_at,ge);G()(ve).diff(G()(t),"days")>0&&3===parseInt(e)&&null!=Y&&Y.is_random?be():ee(e)}},me.map((function(e,t){return b.a.createElement(r.a.TabPane,{tab:e.name,key:e.id})}))),b.a.createElement("section",{className:null!=Y&&Y.is_random&&"2"===Z?"":"pl25 pr25 bg-white"},null===(M=me.filter((function(e){return e.id==Z})))||void 0===M||null===(P=M[0])||void 0===P?void 0:P.compontent))),b.a.createElement(ze.a,null),b.a.createElement(qe,{onOk:ye}),b.a.createElement(Ye.a,null),b.a.createElement(Ge,{cb:function(){F({type:"exercise/getExerciseList",payload:Object(h.a)({},z)})}})):""}))},JWDV: +/*! 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("Znn+");var r=n("ZTPi"),i=(n("qVdP"),n("jsC+")),a=(n("+L6B"),n("2/Rp")),o=(n("sPJy"),n("bE4q")),s=(n("miYZ"),n("tsqr")),l=(n("lUTK"),n("BvKs")),c=n("9og8"),u=(n("2qtc"),n("kLXV")),d=n("oBTY"),h=n("k1fw"),f=n("tJVT"),p=n("PpiC"),m=n("WmNS"),g=n.n(m),v=n("q1tI"),b=n.n(v),y=n("ErOA"),E=n("Ty5D"),x=n("55Ip"),_=n("9kvl"),k=n("jhfD"),w=n("Llu2"),C=n("0NbB"),S=n("V0Rq"),O=n("1vsH"),A=n("mgmH"),T=(n("7Kak"),n("9yH6")),I=(n("DjyN"),n("NUBc")),D=(n("giR+"),n("fyUT")),L=(n("5NDa"),n("5rEg")),R=(n("sRBo"),n("kaz8")),N=(n("g9YV"),n("wCAj")),j=(n("BoS7"),n("Sdc0")),M=(n("14J3"),n("BMrR")),P=(n("jCWc"),n("kPKH")),B=(n("5Dmo"),n("3S7+")),F=n("jrin"),U=(n("y8nQ"),n("Vl3Y")),H=n("wd/R"),G=n.n(H),z=Object(_.a)((function(e){return{shixunHomeworks:e.shixunHomeworks}}))((function(e){var t=e.shixunHomeworks,n=e.dispatch,r=Object(E.i)();return b.a.createElement(u.a,{centered:!0,title:"提示",visible:"打回重做"===t.actionTabs.key,okText:"确定",cancelText:"取消",onOk:Object(c.a)(g.a.mark((function e(){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(y.a)("/api/myshixuns/".concat(t.actionTabs.selectArrs.myshixun_identifier,"/reset_my_game.json"),{method:"post",body:{course_id:r.coursesId}});case 2:0===e.sent.status&&(s.b.success("删除成功"),n({type:"shixunHomeworks/setActionTabs",payload:{}}),n({type:"shixunHomeworks/getWorkList",payload:Object(h.a)({},t.actionTabs.params)}));case 4:case"end":return e.stop()}}),e)}))),onCancel:function(){n({type:"shixunHomeworks/setActionTabs",payload:{}})}},b.a.createElement("p",null,"该作业将被打回重做,学生实训记录将被清空!"),b.a.createElement("p",null,"确定打回?"))})),V=Object(_.a)((function(e){return{exercise:e.exercise}}))((function(e){var t,n,r,i,a,o,l,d,p=e.exercise,m=e.dispatch,y=Object(E.i)(),x=Object(v.useState)(!0),_=Object(f.a)(x,2),k=(_[0],_[1],U.a.useForm()),w=Object(f.a)(k,1)[0],C=p.actionTabs;return Object(v.useEffect)((function(){var e,t,n,r;"更改评阅"===p.actionTabs.key&&(w.resetFields(),w.setFieldsValue({subjective_score:null==C||null===(e=C.selectArrs)||void 0===e||null===(t=e.record)||void 0===t?void 0:t.subjective_score,objective_score:null==C||null===(n=C.selectArrs)||void 0===n||null===(r=n.record)||void 0===r?void 0:r.objective_score}))}),[p.actionTabs.key]),b.a.createElement(b.a.Fragment,null,b.a.createElement(u.a,{centered:!0,title:"评阅",visible:"更改评阅"===p.actionTabs.key,okText:"确定",cancelText:"取消",onOk:Object(c.a)(g.a.mark((function e(){var t,n,r;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,w.validateFields();case 2:return r=w.getFieldValue(),e.next=5,Object(S.O)(Object(h.a)(Object(h.a)({},r),{},{id:y.categoryId,user_id:null==C||null===(t=C.selectArrs)||void 0===t||null===(n=t.record)||void 0===n?void 0:n.user_id}));case 5:0===e.sent.status&&(s.b.success("评阅成功"),w.resetFields(),m({type:"exercise/setActionTabs",payload:{}}),m({type:"exercise/getExerciseList",payload:Object(h.a)({},p.actionTabs.params)}));case 7:case"end":return e.stop()}}),e)}))),onCancel:function(){m({type:"exercise/setActionTabs",payload:{}})}},b.a.createElement("div",{className:"pl30"},b.a.createElement(U.a,{form:w},b.a.createElement(M.a,null,b.a.createElement(P.a,null,b.a.createElement(U.a.Item,{name:"subjective_score",label:"问答题成绩",rules:[{required:!0,message:"请输入!"}]},b.a.createElement(D.a,{min:0,max:1*(null==C||null===(t=C.selectArrs)||void 0===t||null===(n=t.exercise_types)||void 0===n?void 0:n.subjective_score),style:{width:150},placeholder:"请填写问答题成绩"}))),b.a.createElement(P.a,{flex:1},b.a.createElement("div",null,b.a.createElement("span",{className:"ml10"},"分,总共:",null==C||null===(r=C.selectArrs)||void 0===r||null===(i=r.exercise_types)||void 0===i?void 0:i.subjective_score,"分")))),b.a.createElement(M.a,null,b.a.createElement(P.a,null,b.a.createElement(U.a.Item,{name:"objective_score",label:"客观题成绩",rules:[{required:!0,message:"请输入!"}]},b.a.createElement(D.a,{min:0,max:1*(null==C||null===(a=C.selectArrs)||void 0===a||null===(o=a.exercise_types)||void 0===o?void 0:o.objective_score),style:{width:150},width:150,placeholder:"请填写客观题成绩"}))),b.a.createElement(P.a,{flex:1},b.a.createElement("div",null,b.a.createElement("span",{className:"ml10"},"分,总共:",null==C||null===(l=C.selectArrs)||void 0===l||null===(d=l.exercise_types)||void 0===d?void 0:d.objective_score,"分"))))))))})),W=[{name:"未评阅",id:0,type:"unreview_counts"},{name:"评阅中",id:2,type:"reviewing_counts"},{name:"已评阅",id:1,type:"review_counts"}],K=[{name:"未开始",id:0,type:"unanswer_users"},{name:"进行中",id:1,type:"answering_users"},{name:"已完成",id:2,type:"answer_users"},{name:"已提交/未答",id:3,type:"commit_with_no_answers_users"}],q=[{name:"无需补考",id:0,type:"unmake_up_users_count"},{name:"参加补考",id:1,type:"make_up_users_count"}],Y=n("BdwD"),Q=(n("iQDF"),n("+eQT")),J=Object(_.a)((function(e){return{exercise:e.exercise}}))((function(e){var t,n,r=e.exercise,i=e.dispatch,a=Object(E.i)(),o=Object(v.useState)(!0),l=Object(f.a)(o,2),d=(l[0],l[1],U.a.useForm()),p=Object(f.a)(d,1)[0],m=Object(v.useState)(!1),y=Object(f.a)(m,2),x=y[0],_=y[1],k=Object(v.useState)({}),w=Object(f.a)(k,2),C=w[0],O=w[1],A=r.actionTabs;Object(v.useEffect)((function(){var e,t,n,i;"延时"===r.actionTabs.key&&(_(!1),p.resetFields(),p.setFieldsValue({subjective_score:null==A||null===(e=A.selectArrs)||void 0===e||null===(t=e.record)||void 0===t?void 0:t.subjective_score,objective_score:null==A||null===(n=A.selectArrs)||void 0===n||null===(i=n.record)||void 0===i?void 0:i.objective_score}))}),[r.actionTabs.key]);function T(e,t){for(var n=[],r=e;rG()(null==A||null===(n=A.selectArrs)||void 0===n?void 0:n.exercise_end_at).endOf("minute")||e<=G()().startOf("day"))},disabledTime:function(e){var t,n=null==A||null===(t=A.selectArrs)||void 0===t?void 0:t.exercise_end_at,r=G()(e).format("HH");if(G()(e).isSame(G()(n),"day")){var i=G()(n).format("HH"),a=G()(n).format("mm");return{disabledHours:function(){return T(0,24).splice(1*i+1,24-i)},disabledMinutes:function(){return G()(e).isSame(G()(n),"hour")&&r<=i?T(a,60):T(60,60)}}}if(G()(e).isSame(G()(),"day")){var o=G()().format("HH"),s=G()().format("mm");return{disabledHours:function(){return T(0,24).splice(0,o)},disabledMinutes:function(){return r<=o?T(0,s):T(60,60)}}}return!1},getPopupContainer:function(e){return e.parentNode},allowClear:!1,onChange:function(e,t){var n,r;G()(t)>G()(null==A||null===(n=A.selectArrs)||void 0===n?void 0:n.exercise_end_at)&&p.setFieldsValue({time:G()(null==A||null===(r=A.selectArrs)||void 0===r?void 0:r.exercise_end_at).format("YYYY-MM-DD HH:mm")})}})))),b.a.createElement(M.a,{style:{marginLeft:78,marginTop:4}},b.a.createElement(U.a.Item,{name:"is_clear",className:"ml10",initialValue:!1,valuePropName:"checked"},b.a.createElement(R.a,null,"确认清除该学生的已切屏次数")))))))})),X=n("kaH+"),Z=n("dhSg"),$=n("xKgJ"),ee=n("hjlX"),te=n.n(ee),ne=function(e){var t=e.item,n=e.renderText,r=Object(E.i)(),i=Object(v.useState)(),a=Object(f.a)(i,2),o=a[0],s=a[1],l=function(){var e=Object(c.a)(g.a.mark((function e(){var n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!o){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Object(S.B)({id:r.categoryId,user_id:null==t?void 0:t.user_id});case 4:(n=e.sent)&&s(n);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return b.a.createElement(B.a,{onVisibleChange:l,title:b.a.createElement("div",null,"单选题 ",null==o?void 0:o.single_question_score,"分 ",b.a.createElement("br",null),"多选题 ",null==o?void 0:o.multiple_question_score,"分 ",b.a.createElement("br",null),"判断题 ",null==o?void 0:o.judgement_question_score,"分 ",b.a.createElement("br",null),"填空题 ",null==o?void 0:o.completion_question_score,"分 ",b.a.createElement("br",null),"实训题 ",null==o?void 0:o.shixun_question_score,"分")},n)},re=Object(_.a)((function(e){var t=e.exercise,n=e.loading,r=e.globalSetting;return{exercise:t,loading:n.effects,globalSetting:r}}))((function(e){var t,n,r,i,o,l,m,k,w,C,A,H,Q,ee,re,ie,ae,oe,se,le,ce,ue,de,he,fe,pe,me,ge,ve,be,ye,Ee,xe,_e,ke,we,Ce,Se=e.exercise,Oe=e.loading,Ae=e.dispatch,Te=e.globalSetting,Ie=e.checkDomainAuthority,De=e.getparams,Le=(Object(p.a)(e,["exercise","loading","dispatch","globalSetting","checkDomainAuthority","getparams"]),Object(E.h)()),Re=Object(E.i)(),Ne=Object(v.useState)(Object(h.a)({},Re)),je=Object(f.a)(Ne,2),Me=je[0],Pe=je[1],Be=Se.exerciseList,Fe=Se.commonHeader,Ue=Object(v.useState)({}),He=Object(f.a)(Ue,2),Ge=He[0],ze=(He[1],Object(v.useState)("")),Ve=Object(f.a)(ze,2),We=(Ve[0],Ve[1],Object(v.useState)(0)),Ke=Object(f.a)(We,2),qe=Ke[0],Ye=Ke[1],Qe=Object(v.useState)({}),Je=Object(f.a)(Qe,2),Xe=(Je[0],Je[1],Object(v.useState)(!1)),Ze=Object(f.a)(Xe,2),$e=Ze[0],et=Ze[1],tt=Object(v.useState)("alert"),nt=Object(f.a)(tt,2),rt=nt[0],it=nt[1],at=Object(v.useState)(0),ot=Object(f.a)(at,2),st=ot[0],lt=ot[1],ct=Object(v.useState)(!1),ut=Object(f.a)(ct,2),dt=(ut[0],ut[1]),ht=Object(v.useState)(!1),ft=Object(f.a)(ht,2),pt=ft[0],mt=ft[1],gt=U.a.useForm(),vt=Object(f.a)(gt,1)[0],bt=Object(v.useState)([]),yt=Object(f.a)(bt,2),Et=yt[0],xt=yt[1],_t=Object(v.useState)(!0),kt=Object(f.a)(_t,2),wt=(kt[0],kt[1],Object(v.useRef)(),Object(v.useState)(1)),Ct=Object(f.a)(wt,2),St=Ct[0],Ot=Ct[1],At=Object(v.useState)(""),Tt=Object(f.a)(At,2),It=Tt[0],Dt=Tt[1],Lt=Object(v.useState)(),Rt=Object(f.a)(Lt,2),Nt=Rt[0],jt=Rt[1],Mt=Object(v.useState)(!1),Pt=Object(f.a)(Mt,2),Bt=Pt[0],Ft=Pt[1];function Ut(){return(Ut=Object(c.a)(g.a.mark((function e(t){var n,r,i,a,o;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return jt(null==t?void 0:t.exercise_user_id),Ft(2===t.commit_status||3===t.commit_status),dt(!0),e.next=5,Object(y.a)("/api/exercises/".concat(Me.categoryId,"/student_info.json"),{method:"get",params:{exercise_user_id:null==t?void 0:t.exercise_user_id}});case 5:(null==(o=e.sent)||null===(n=o.data)||void 0===n||null===(r=n.exercise_user_photos)||void 0===r?void 0:r.length)>0?et(!0):s.b.info("当前暂无照片"),xt(null==o||null===(i=o.data)||void 0===i?void 0:i.exercise_user_photos),lt(null==o||null===(a=o.data)||void 0===a?void 0:a.alert_count),dt(!1);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object(v.useEffect)((function(){var e,t;if(Object($.c)())Ye(null===(t=Be.exercise_types)||void 0===t?void 0:t.total_users);else if(null!=Be&&null!==(e=Be.exercise_types)&&void 0!==e&&e.score_open){var n;Ye(null===(n=Be.exercise_types)||void 0===n?void 0:n.unanswer_users)}}),[Be]),Object(v.useEffect)((function(){var e,t={};if(null!=Le&&null!==(e=Le.query)&&void 0!==e&&e.exercise_group_id){var n,r;if(t={review:[0,2],commit_status:[2,3]},"0"!==(null==Le||null===(n=Le.query)||void 0===n?void 0:n.exercise_group_id))t.exercise_group_id=[Number(null==Le||null===(r=Le.query)||void 0===r?void 0:r.exercise_group_id)];vt.setFieldsValue(Object(h.a)({},t))}Me=Object(h.a)(Object(h.a)({},Me),t),Pe(Object(h.a)({},Me)),Ae({type:"exercise/getExerciseList",payload:Me}),Ae({type:"exercise/clearData",payload:{key:"reviewExercise"}})}),[]);var Ht=[{title:"序号",dataIndex:"name",fixed:"left",width:80,align:"center",render:function(e,t,n){return b.a.createElement(B.a,{title:20*((Me.page||1)-1)+n+1},b.a.createElement("span",null,20*((Me.page||1)-1)+n+1))}},{title:"姓名",dataIndex:"user_name",fixed:"left",width:120,ellipsis:!0,align:"left",render:function(e,t){return b.a.createElement("div",null,e||"--",!(null==t||!t.delayed_at)&&b.a.createElement(B.a,{title:b.a.createElement("div",null,"交卷截止时间调整至",b.a.createElement("span",{className:"ml5"},G()(t.delayed_at).format("YYYY-MM-DD HH:mm")))},b.a.createElement("span",{className:"iconfont icon-shizhong c-blue"})))}},!(null!=Be&&null!==(t=Be.exercise_types)&&void 0!==t&&t.is_excellent)&&{title:"学号",ellipsis:!0,dataIndex:"student_id",width:140,align:"left",sorter:!0,render:function(e){return e||"--"}},!(null!=Be&&null!==(n=Be.exercise_types)&&void 0!==n&&n.is_excellent)&&0!==(null==Be||null===(r=Be.exercise_types)||void 0===r?void 0:r.groups_count)&&{title:"分班",width:220,ellipsis:!0,dataIndex:"user_group_name",align:"left",render:function(e){return e||"--"}},{title:"异常行为",dataIndex:"exception_count",width:145,ellipsis:!0,align:"left",render:function(e,t){return 0===e?"0次":b.a.createElement("a",{target:"_blank",href:"/classrooms/".concat(Me.coursesId,"/exercise/").concat(Me.categoryId,"/abnormal?userid=").concat(null==t?void 0:t.exercise_user_id)},e+"次"||!1)}},{title:"最终成绩",width:100,dataIndex:"score",align:"center",sorter:!0,render:function(e,t){return!t.open_total_score&&Object($.s)()?"老师审核中":100===(e="number"==typeof e?Number(e):e)?b.a.createElement("span",{className:"c-green"},e||"--"):e>60?b.a.createElement("span",{className:"c-orange"},e||"--"):b.a.createElement("span",null,e||"--")}},!(1!==(null==Be||null===(i=Be.exercise_types)||void 0===i?void 0:i.objective)||1===(null==Be||null===(o=Be.exercise_types)||void 0===o?void 0:o.objective)&&1!==(null==Be||null===(l=Be.exercise_types)||void 0===l?void 0:l.subjective))&&{title:"客观题得分",dataIndex:"objective_score",align:"center",width:100,render:function(e,t){return!t.open_total_score&&Object($.s)()?"老师审核中":(n=(e="number"==typeof e?Number(e):e)>=0&&e<=60?b.a.createElement("span",null,e):100===e?b.a.createElement("span",{className:"c-green"},e):e>60?b.a.createElement("span",{className:"c-orange"},e):"--",b.a.createElement(ne,{renderText:n,item:t}));var n}},!(1!==(null==Be||null===(m=Be.exercise_types)||void 0===m?void 0:m.subjective)||1===(null==Be||null===(k=Be.exercise_types)||void 0===k?void 0:k.subjective)&&1!==(null==Be||null===(w=Be.exercise_types)||void 0===w?void 0:w.objective))&&{title:"问答题得分",width:100,dataIndex:"subjective_score",align:"center",render:function(e,t){return!t.open_total_score&&Object($.s)()?"老师审核中":0===(e="number"==typeof e?Number(e):e)?b.a.createElement("span",null,e," ",b.a.createElement("span",{className:"c-red"}," (待评审)")):e>0&&e<=60?b.a.createElement("span",null,e):100===e?b.a.createElement("span",{className:"c-green"},e):e>60?b.a.createElement("span",{className:"c-orange"},e):"--"}},{title:"提交状态",dataIndex:"commit_status",width:130,align:"left",render:function(e,t){return 0===e?b.a.createElement("span",{style:{color:"#666666"}},"未开始"):1===e?b.a.createElement("span",{style:{color:"#DF3042"}},!t.is_make_up&&"进行中",t.is_make_up&&"进行中 (补考)"):2===e?b.a.createElement("span",{style:{color:"#5AB891"}},!t.is_make_up&&"已完成",t.is_make_up&&"已完成 (补考)"):b.a.createElement("span",{style:{color:"#5AB891"}},!t.is_make_up&&"已提交(未答)",t.is_make_up&&"已提交/未答(补考)")}},{title:"开始答题时间",dataIndex:"start_at",width:145,ellipsis:!0,align:"left",sorter:!0,render:function(e){return e?G()(e).format("YYYY-MM-DD HH:mm"):"--"}},{title:"提交时间",dataIndex:"end_at",width:145,ellipsis:!0,align:"left",sorter:!0,render:function(e){return e?G()(e).format("YYYY-MM-DD HH:mm"):"--"}},(null==Fe?void 0:Fe.screen_open)&&{title:b.a.createElement("span",null,"切屏次数 ",b.a.createElement(B.a,{title:"红色代表学生切屏超过规定次数被强制交卷"},b.a.createElement("span",{className:"icon-xiaowenhao"}))),dataIndex:"screen_used_num",width:145,ellipsis:!0,align:"center",render:function(e,t){return b.a.createElement("span",{className:e>(null==t?void 0:t.screen_total_num)&&"c-red"},e,"/",null==t?void 0:t.screen_total_num)}},(null==Fe?void 0:Fe.exercise_status)>1&&(null==Fe?void 0:Fe.open_camera)&&Object($.c)()&&!(null!==(C=Te.setting)&&void 0!==C&&C.is_local)&&{title:"作业与测验照片",dataIndex:"photo_count",align:"center",width:100,render:function(e,t){return t.commit_status>0?b.a.createElement("a",{onClick:function(){!function(e){Ut.apply(this,arguments)}(t)}},"".concat(e||0,"/").concat(null==Fe?void 0:Fe.photo_count)):"--"}},(null==Fe?void 0:Fe.ip_bind)&&Object($.e)()&&{title:"作业与测验IP",dataIndex:"last_ip",align:"center",width:100,render:function(e,t){return b.a.createElement(b.a.Fragment,null,e||"--",1===t.commit_status&&Fe.ip_bind&&t.last_ip&&b.a.createElement(a.a,{type:"link",onClick:Object(c.a)(g.a.mark((function e(){var n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=u.a.confirm({title:b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"1"},"解除绑定"),b.a.createElement(P.a,null,b.a.createElement("span",{className:"iconfont icon-yiguanbi1 current c-grey-c",onClick:function(){return n.destroy()}}))),width:500,icon:null,okText:"确定",cancelText:"取消",className:"custom-modal-divider",content:b.a.createElement("div",null,"为学生解除作业与测验IP绑定后,学生可以使用新的IP地址进入作业与测验。",b.a.createElement("span",{className:"c-red"},"如果该学生正在进行中,将无法作答,需要重新进入作业与测验。"),"您确定要解除该学生的作业与测验IP绑定?"),onOk:function(){var e=Object(c.a)(g.a.mark((function e(){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(S.ab)({id:Me.categoryId,exercise_user_id:t.exercise_user_id});case 2:0===e.sent.status&&(s.b.success("解绑成功"),Ae({type:"exercise/getExerciseList",payload:Me}));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 1:case"end":return e.stop()}}),e)})))},"解绑"))}},(null==Fe?void 0:Fe.open_camera)&&Object($.e)()&&Fe.exercise_status<3&&!(null!==(A=Te.setting)&&void 0!==A&&A.is_local)&&{title:"允许不拍摄",dataIndex:"close_camera",align:"center",width:100,render:function(e,t){return b.a.createElement(j.a,{checked:e,onClick:Object(c.a)(g.a.mark((function n(){return g.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:e?u.a.info({title:"提示",content:b.a.createElement("div",null,"不允许修改"),okText:"确认"}):u.a.confirm({title:"允许不摄像警告",content:b.a.createElement("div",null,"为保证作业与测验公平,本次作业与测验已开启防作弊设置,这需要调用学生的摄像头。如学生硬件设施确有问题,为保证学生作业与测验权利,教师可临时取消限制,允许学生参考。 本操作不可撤回,不可修改。 您确认同意该学生不开启摄像头参加作业与测验吗?"),onOk:function(){var e=Object(c.a)(g.a.mark((function e(){var n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(S.c)(Object(h.a)(Object(h.a)({},Me),{},{exercise_user_id:t.exercise_user_id}));case 2:0===(null==(n=e.sent)?void 0:n.status)&&(s.b.success("操作成功"),Ae({type:"exercise/getExerciseList",payload:Object(h.a)({},Me)}));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()});case 1:case"end":return n.stop()}}),n)})))})}},Object($.c)()&&{title:"评阅状态",width:130,dataIndex:"has_comment",align:"center",render:function(e,t){return!e&&t.review_status?"评阅中":e?"已评阅":"未评阅"}},((null==Fe?void 0:Fe.assistant_auth)||Object($.c)()||Object($.s)())&&Ie&&{title:"操作",fixed:"right",dataInex:"action",align:"center",width:236,render:function(e,t){return b.a.createElement("div",null,Object($.c)()&&b.a.createElement(a.a,{ghost:!0,type:"primary",size:"small",disabled:t.commit_status<2},b.a.createElement("a",{className:t.commit_status>1?"c-blue":"c-black",href:t.commit_status>1&&"/classrooms/".concat(Me.coursesId,"/exercise/").concat(Me.categoryId,"/review/").concat(t.login),onClick:function(e){t.commit_status<2&&e.preventDefault(),3===t.commit_status&&(e.preventDefault(),Ae({type:"exercise/setActionTabs",payload:{key:"更改评阅",selectArrs:{record:Object(h.a)({},t),exercise_types:Object(h.a)({},null==Be?void 0:Be.exercise_types)},params:Object(h.a)({},Me)}}))}},t.has_comment&&"更改评阅",!t.has_comment&&"评阅")),!Object($.s)()&&["考试中"].includes(O.c[Fe.exercise_status])&&b.a.createElement(a.a,{ghost:!0,type:"primary",disabled:(null==t?void 0:t.commit_status)>1,className:"ml10",size:"small",onClick:function(){u.a.confirm({centered:!0,okText:"确定",cancelText:"取消",title:"提示",icon:null,className:"custom-modal-divider",content:"确认将该学生的作业与测验状态调整为已交卷吗?",onOk:function(){var e;u.a.confirm({centered:!0,okText:"确定",cancelText:"取消",title:"提示",icon:null,className:"custom-modal-divider",content:"确认将".concat(null==t?void 0:t.user_name,"的作业与测验状态调整为已交卷吗?"),onOk:(e=Object(c.a)(g.a.mark((function e(){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(y.a)("/api/exercises/".concat(Me.categoryId,"/commit_exercise_force.json"),{method:"post",body:{user_id:null==t?void 0:t.user_id}});case 2:0===e.sent.status&&Ae({type:"exercise/getExerciseList",payload:Me});case 4:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)})})}})}},"强制提交"),Object($.s)()&&t.commit_status>1&&b.a.createElement("span",{style:{color:"#0152d9",marginRight:"5px",cursor:"pointer"},onClick:function(){var e;null!=Be&&null!==(e=Be.exercise_types)&&void 0!==e&&e.answered_open?_.d.push("/classrooms/".concat(Me.coursesId,"/exercise/").concat(Me.categoryId,"/users/").concat(null==t?void 0:t.login,"?check=true")):s.b.info("老师已设置本作业与测验在交卷后不可查看")}},"查看"),(null==Fe?void 0:Fe.exercise_time)>0&&Object($.e)()&&b.a.createElement(B.a,{title:Object($.k)()?"您的权限不足,请联系本课堂管理员":3===Fe.exercise_status&&"本作业与测验已截止,请先修改截止时间使本作业与测验处于“进行中”"},b.a.createElement(a.a,{danger:!0,className:"c-red ml10",size:"small",disabled:!!Object($.k)()||3===Fe.exercise_status,onClick:function(){Object($.i)()&&Ae({type:"exercise/setActionTabs",payload:{key:"延时",selectArrs:t,exercise_time:Fe.exercise_time,params:Object(h.a)({},Me)}})}},"延时")))}}].filter((function(e){return!!e})),Gt=Object(d.a)(Ht);return Gt[0]=Object(h.a)({},Gt[0]),Gt[(null==Gt?void 0:Gt.length)-1]=Object(h.a)({},Gt[(null==Gt?void 0:Gt.length)-1]),Gt[0].render=function(){return"我"},Gt[(null==Gt?void 0:Gt.length)-1].render=function(){var e;return null!=Be&&null!==(e=Be.current_answer_user)&&void 0!==e&&e.login?b.a.createElement("span",{style:{color:"#0152d9",marginRight:"5px",cursor:"pointer"},onClick:function(){var e,t;null!=Be&&null!==(e=Be.exercise_types)&&void 0!==e&&e.answered_open?_.d.push("/classrooms/".concat(Me.coursesId,"/exercise/").concat(Me.categoryId,"/users/").concat(null==Be||null===(t=Be.current_answer_user)||void 0===t?void 0:t.login)):s.b.info("老师已设置本作业与测验在交卷后不可查看")}},"查看"):"--"},b.a.createElement("section",{className:"minH500 bg-white mb50 inline-block w100"},(null==Be||null===(H=Be.exercise_types)||void 0===H?void 0:H.score_open)&&Object($.s)()&&b.a.createElement(N.a,{hideOnSinglePage:!0,pagination:!1,showHeader:!1,dataSource:[Object(h.a)({},null==Be?void 0:Be.current_answer_user)],columns:Gt,scroll:{x:120*(null==Ht?void 0:Ht.length)}}),!Object($.c)()&&b.a.createElement("div",{className:"bg-white pt10 pl25 mt15"},!(null==Be||null===(Q=Be.exercise_types)||void 0===Q||!Q.answer_users)&&b.a.createElement("span",{className:"mr10"},b.a.createElement("span",{style:{color:"#FF954C"}},null==Be||null===(ee=Be.exercise_types)||void 0===ee?void 0:ee.answer_users," "),"已交"),!(null==Be||null===(re=Be.exercise_types)||void 0===re||!re.unanswer_users)&&b.a.createElement("span",{className:"mr10"},null==Be||null===(ie=Be.exercise_types)||void 0===ie?void 0:ie.unanswer_users,"未交"),"--"!==(null==Be||null===(ae=Be.exercise_types)||void 0===ae?void 0:ae.exercise_end_time)&&b.a.createElement("span",null,"剩余提交时间:",b.a.createElement("span",{style:{color:"#FF954C"}},null==Be||null===(oe=Be.exercise_types)||void 0===oe?void 0:oe.exercise_end_time))),!(null!==(se=Be.exercise_types)&&void 0!==se&&se.exercise_all_users)&&!Object($.s)()&&b.a.createElement(Y.a,null),(!(null===(le=Be.exercise_types)||void 0===le||!le.exercise_all_users)||Object($.s)())&&b.a.createElement("aside",null,Object($.c)()&&b.a.createElement("aside",{className:"pt20"},b.a.createElement(U.a,{form:vt,onValuesChange:function(e){Me.page=1;var t=Object.assign({},vt.getFieldValue());if(Object.keys(t).map((function(e){"objective_score_gte"!==e&&"objective_score_lte"!==e&&(t[e].includes("all")?(delete Me[e],vt.setFieldsValue(Object(F.a)({},e,"all"))):(Me[e]=t[e],""!=t[e]&&t[e]?vt.setFieldsValue(Object(F.a)({},e,Me[e])):vt.setFieldsValue(Object(F.a)({},e,"all"))))})),e.objective_score_gte||e.objective_score_lte){if(t.objective_score_gte>t.objective_score_lte)return vt.setFieldsValue({objective_score_lte:t.objective_score_gte}),!1;if(""==t.objective_score_gte||""==t.objective_score_lte||!t.objective_score_gte||!t.objective_score_lte)return delete Me.objective_score_lte,delete Me.objective_score_gte,!1;Me.objective_score_lte=t.objective_score_lte,Me.objective_score_gte=t.objective_score_gte}Pe(Object(h.a)({},Me)),De(Object(h.a)({},Me)),Ae({type:"exercise/getExerciseList",payload:Me})},initialValues:(ce={},Object(F.a)(ce,"commit_status","all"),Object(F.a)(ce,"exercise_group_id","all"),Object(F.a)(ce,"review","all"),Object(F.a)(ce,"is_make_up","all"),ce)},b.a.createElement(U.a.Item,{name:"exercise_group_id"},b.a.createElement(R.a.Group,{style:{width:"100%"}},b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"80px"},"选择班级:"),b.a.createElement(P.a,{flex:"80px"},b.a.createElement(R.a,{value:"all",checked:!(null!==(ue=Ge.course_group)&&void 0!==ue&&ue.length)},"全部")),b.a.createElement(P.a,{flex:"1"},Be.course_groups&&Be.course_groups.map((function(e,t){return b.a.createElement(R.a,{value:e.exercise_group_id,className:"ml0 mr8"},e.exercise_group_name,"(",e.exercise_group_students,")")})))))),b.a.createElement(U.a.Item,{name:"commit_status"},b.a.createElement(R.a.Group,{value:[],style:{width:"100%"}},b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"80px"},"提交状态:"),b.a.createElement(P.a,{flex:"80px"},b.a.createElement(R.a,{value:"all",checked:!(null!==(de=Ge.commit_status)&&void 0!==de&&de.length)},"全部")),b.a.createElement(P.a,{flex:"1"},K.map((function(e,t){var n;return b.a.createElement(R.a,{name:"commit_status",value:e.id},e.name,"(",null==Be||null===(n=Be.exercise_types)||void 0===n?void 0:n[e.type],")")})))))),b.a.createElement(U.a.Item,{name:"review"},b.a.createElement(R.a.Group,{style:{width:"100%"}},b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"80px"},"评阅状态:"),b.a.createElement(P.a,{flex:"80px"},b.a.createElement(R.a,{value:"all",checked:!(null!==(he=Ge.review)&&void 0!==he&&he.length)},"全部")),b.a.createElement(P.a,{flex:"1"},null==W?void 0:W.map((function(e,t){var n;return b.a.createElement(R.a,{value:e.id,key:t},e.name,"(",null==Be||null===(n=Be.exercise_types)||void 0===n?void 0:n[e.type],")")})))))),(null==Be||null===(fe=Be.exercise_types)||void 0===fe?void 0:fe.open_make_up)&&b.a.createElement(U.a.Item,{name:"is_make_up"},b.a.createElement(R.a.Group,{value:[],style:{width:"100%"}},b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"80px"},"补考状态:"),b.a.createElement(P.a,{flex:"80px"},b.a.createElement(R.a,{value:"all",checked:!(null!==(pe=Ge.is_make_up)&&void 0!==pe&&pe.length)},"全部")),b.a.createElement(P.a,{flex:"1"},q.map((function(e,t){var n;return b.a.createElement(R.a,{name:"is_make_up",value:e.id},e.name,"(",null==Be||null===(n=Be.exercise_types)||void 0===n?void 0:n[e.type],")")})))))),b.a.createElement(M.a,{align:"middle"},b.a.createElement(P.a,{flex:"1"},b.a.createElement(M.a,{align:"middle"},b.a.createElement(P.a,null,b.a.createElement(L.a.Search,{allowClear:!0,placeholder:"请输入姓名或者学号搜索",onSearch:function(e){Me.search=e,Ae({type:"exercise/getExerciseList",payload:Object(h.a)(Object(h.a)({},Me),{},{page:1})})},style:{width:240}})))),!(null!=Fe&&Fe.is_random)&&b.a.createElement(P.a,{className:["tr",te.a.rightFilter].join(" ")},1===(null===(me=Be.exercise_types)||void 0===me?void 0:me.objective)&&1===(null===(ge=Be.exercise_types)||void 0===ge?void 0:ge.subjective)&&b.a.createElement(b.a.Fragment,null,"按客观题得分分组",b.a.createElement("span",null,b.a.createElement(U.a.Item,{name:"objective_score_gte"},b.a.createElement(D.a,{min:0,max:null==Be||null===(ve=Be.exercise_types)||void 0===ve?void 0:ve.objective_score,placeholder:"最低"}))),b.a.createElement("span",null,b.a.createElement(U.a.Item,{name:"objective_score_lte"},b.a.createElement(D.a,{min:(null===(be=Me)||void 0===be?void 0:be.objective_score_gte)||0,max:null==Be||null===(ye=Be.exercise_types)||void 0===ye?void 0:ye.objective_score,placeholder:"最高"})))),1===(null===(Ee=Be.exercise_types)||void 0===Ee?void 0:Ee.subjective)&&Ie&&b.a.createElement(b.a.Fragment,null,b.a.createElement(a.a,{type:"default",disabled:(null==Be||null===(xe=Be.total_exercise_users)||void 0===xe?void 0:xe.length)<1},b.a.createElement(x.a,{target:"_blank",to:"/classrooms/".concat(Me.coursesId,"/exercise/").concat(Me.categoryId,"/abnormal")},b.a.createElement("span",{className:"iconfont icon-filesync3x"}),b.a.createElement("span",null,"学生异常行为"))),b.a.createElement(a.a,{type:"default",disabled:(null==Be||null===(_e=Be.total_exercise_users)||void 0===_e?void 0:_e.length)<1},b.a.createElement(x.a,{to:"/classrooms/".concat(Me.coursesId,"/exercise/").concat(Me.categoryId,"/reviews/group")},b.a.createElement("span",{className:"iconfont icon-tijiaozongjie"}),b.a.createElement("span",null,"集中批量批阅"))),b.a.createElement(a.a,{type:"default",disabled:(null==Be||null===(ke=Be.total_exercise_users)||void 0===ke?void 0:ke.length)<1},b.a.createElement(x.a,{to:"/classrooms/".concat(Me.coursesId,"/exercise/").concat(Me.categoryId,"/review/").concat(null==Be||null===(we=Be.total_exercise_users)||void 0===we||null===(Ce=we[0])||void 0===Ce?void 0:Ce.user_login)},b.a.createElement("span",{className:"iconfont icon-filesync3x"}),b.a.createElement("span",null,"组内顺序批阅")))))))),b.a.createElement(N.a,{className:"mt30",loading:Oe["exercise/getExerciseList"],hideOnSinglePage:!0,pagination:!1,dataSource:(null==Be?void 0:Be.exercise_users)||[],columns:Ht,scroll:{x:120*(null==Ht?void 0:Ht.length)},size:"large",onChange:function(e,t,n){Me.page=1,console.log(n,444),void 0===n.order?(Me.order_type=null,Me.order=null):(Me.order_type="descend"===n.order?"desc":"asc",Me.order=n.field),Ae({type:"exercise/getExerciseList",payload:Object(h.a)({},Me)})}}),qe>20&&b.a.createElement("aside",{className:"tc mb50 pb30 mt30"},b.a.createElement(I.a,{onChange:function(e,t){Me.page=e,Me.limit=20,Ae({type:"exercise/getExerciseList",payload:Object(h.a)({},Me)})},current:Me.page||1,defaultPageSize:20,total:qe,showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,showTotal:function(e){return b.a.createElement("span",{className:"mr10"},"共",b.a.createElement("span",{className:"c-orange"},e),"条数据")}}))),b.a.createElement(V,null),b.a.createElement(z,null),b.a.createElement(J,null),$e&&b.a.createElement(u.a,{title:"防作弊头像",visible:$e,centered:!0,onCancel:function(){Ot(1),et(!1),xt([]),it("alert"),Dt("")},footer:b.a.createElement("div",{style:{display:"flex"}},b.a.createElement("div",{style:{flex:1,textAlign:"left"}}," ",b.a.createElement(a.a,{onClick:Object(c.a)(g.a.mark((function e(){var t;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(It){e.next=3;break}return s.b.info("输入框内容不能为空"),e.abrupt("return");case 3:return mt(!0),e.next=6,Object(y.a)("/api/exercises/".concat(Me.categoryId,"/send_alert.json"),{method:"post",body:{content:It,clazz:rt,exercise_user_id:Nt}});case 6:0===(null==(t=e.sent)?void 0:t.status)&&(s.b.info("发送成功"),Ot(1),et(!1),xt([]),it("alert"),Dt("")),mt(!1);case 9:case"end":return e.stop()}}),e)}))),disabled:Bt,loading:pt},"发送")),b.a.createElement(a.a,{disabled:0===(null==Et?void 0:Et.length),style:{marginRight:"10px"},onClick:Object(c.a)(g.a.mark((function e(){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ot(St-1==0?null==Et?void 0:Et.length:St-1);case 2:case"end":return e.stop()}}),e)})))},"上一张"),b.a.createElement(a.a,{disabled:0===(null==Et?void 0:Et.length),type:"primary",onClick:Object(c.a)(g.a.mark((function e(){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Ot(St===(null==Et?void 0:Et.length)?1:St+1);case 2:case"end":return e.stop()}}),e)})))},"下一张"))},b.a.createElement("img",{style:{width:"234px !important",height:"132px",borderRadius:"5px"},src:Et[St-1]}),b.a.createElement("span",{onClick:function(){Z.a.publish("preview-image",Et[St-1]),console.log("src:",Et[St-1],Et,St-1)},style:{background:"#0152d9",color:"#fff",display:"inline-flex",width:"54px",height:"20px",borderRadius:"10px",justifyContent:"center",lineHeight:"20px",alignItems:"center",position:"absolute",top:"70px",left:"190px",zIndex:5,cursor:"pointer"}},"预览"),b.a.createElement("span",{style:{color:"#0152d9",marginTop:"16px",width:"234px",justifyContent:"center",display:"flex"}},St+"/"+(null==Et?void 0:Et.length)),b.a.createElement(T.a,{className:"mt20",checked:"alert"===rt,onChange:function(){return it("alert")}},"发送警告",b.a.createElement("span",{className:"font14 c-grey-999"},"(如发现学生在进行中的照片存在异常时,可发送消息给学生)")),b.a.createElement(T.a,{className:"mt10",checked:"notice"===rt,onChange:function(){return it("notice")}},"发送通知",b.a.createElement("span",{className:"font14 c-grey-999"},"(进行中如有消息通知,可发送消息给学生)")),b.a.createElement(L.a.TextArea,{className:"mt20",value:It,onChange:function(e){return Dt(e.target.value)},placeholder:"请输入".concat("alert"===rt?"警告":"通知","内容").concat("alert"===rt?",如:扭头低头大幅度动作检测":"")}),b.a.createElement("div",{style:{color:"#E30000",fontSize:12,margin:"10px 0"}},"已发送",st,"次警告")),b.a.createElement(X.a,null))})),ie=(n("OaEy"),n("2fM7")),ae=n("8Skl"),oe=n("y3Kf"),se=n("mxOx"),le=n.n(se),ce=n("LvDl"),ue=n.n(ce),de=n("GUcZ"),he=(n("ulZh"),/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i),fe=Object(v.forwardRef)((function(e,t){var n,r,i,a=e.src,o=(e.videoId,e.logWatchHistory,e.courseId,e.startTime,e.handlePause,e.handlePlay,e.handlePlayEnded,e.videoSpeed,"flv"===(null===(r=a=null===(n=a)||void 0===n?void 0:n.replace("http://","https://"))||void 0===r||null===(i=r.split("."))||void 0===i?void 0:i.pop())),s=Object(v.useRef)(),l=Object(v.useRef)(),c=Object(v.useRef)(0),u=Object(v.useRef)(0),d=Object(v.useState)(0),h=Object(f.a)(d,2),p=h[0],m=h[1],g=navigator.userAgent.toLowerCase().match(he);g&&g[0];Object(v.useImperativeHandle)(t,(function(){return{getLastUpdatedTime:function(){return s.current.currentTime},getDuration:function(){return s.current.duration}}})),Object(v.useEffect)((function(){u.current=void 0;try{var e;de.a.isSupported&&o&&a&&(null===(e=a)||void 0===e?void 0:e.indexOf(".m3u8"))<0?(u.current=de.a.createPlayer({type:"flv",volume:.8,cors:!0,url:a+"?t="+Date.now(),muted:!1,isLive:!0}),u.current.on("play",(function(){console.log(21111)})),s.current&&(u.current.detachMediaElement(s.current),u.current.attachMediaElement(s.current),u.current.load(),u.current.play())):s.current.setAttribute("src",a+"?t="+Date.now())}catch(e){setTimeout((function(){m(p+1)}),1e3)}return console.log("src:",a),function(){var e,t,n,r,i,a,o,l;u.current&&(null===(e=u.current)||void 0===e||null===(t=e.unload)||void 0===t||t.call(e),null===(n=u.current)||void 0===n||null===(r=n.pause)||void 0===r||r.call(n),null===(i=u.current)||void 0===i||null===(a=i.destroy)||void 0===a||a.call(i),null===(o=u.current)||void 0===o||null===(l=o.detachMediaElement)||void 0===l||l.call(o,s.current),u.current=void 0,s.current.src="")}}),[s,o,a,p]),Object(v.useEffect)((function(){return l.current=setInterval((function(){c.current>0&&c.current===s.current.currentTime&&(console.log("播放一次"),m(p+1)),c.current=s.current.currentTime}),3e3),function(){clearInterval(l.current)}}),[]);return b.a.createElement("video",{ref:s,onerr:!0,onErrorCapture:function(){m(p+1)},autoPlay:!0,muted:!0})})),pe=Object(_.a)((function(e){return{exercise:e.exercise,user:e.user}}))((function(e){var t,n=e.exercise,r=e.dispatch,i=(e.user,Object(E.i)()),a=Object(v.useState)({page:1,limit:20,sort_by:null,sort_direction:null,state:null,audit:null,name:"",save_name:"",exercise_id:null==i?void 0:i.categoryId}),o=Object(f.a)(a,2),l=o[0],d=o[1],p=U.a.useForm(),m=Object(f.a)(p,1)[0],x=Object(v.useState)(),_=Object(f.a)(x,2),k=_[0],w=_[1],C=Object(v.useState)(!1),S=Object(f.a)(C,2),A=S[0],T=S[1],I=n.exerciseList,D=n.commonHeader,j=Object(v.useState)([]),H=Object(f.a)(j,2),G=H[0],z=H[1],V=Object(v.useState)([]),W=Object(f.a)(V,2),K=W[0],q=W[1],Y=Object(v.useState)(0),Q=Object(f.a)(Y,2),J=Q[0],$=Q[1],ee=Object(v.useState)(!0),te=Object(f.a)(ee,2),ne=te[0],re=te[1],se=Object(v.useState)(!1),ce=Object(f.a)(se,2),de=ce[0],he=ce[1],pe=Object(v.useRef)(null);Object(v.useEffect)((function(){ge(),ve(l)}),[]),Object(v.useEffect)((function(){return clearInterval(pe.current),2===(null==D?void 0:D.exercise_status)&&(pe.current=setInterval((function(){ve(l)}),3e4)),function(){clearInterval(pe.current)}}),[null==D?void 0:D.exercise_status,l]);var ge=function(){r({type:"exercise/getExerciseList",payload:i})},ve=function(){var e=Object(c.a)(g.a.mark((function e(t){var n,r;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=ue.a.cloneDeep(t),console.log(n,"sendData"),re(!0),z([]),e.next=6,Object(y.a)("/api/exercises/".concat(null==t?void 0:t.exercise_id,"/exercise_identity_photos.json"),{method:"get",params:n});case 6:r=e.sent,q([]),re(!1),$(null==r?void 0:r.count),z((null==r?void 0:r.exercise_users)||[]);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),be=function(e,t){l.page=1,l[t]=e,d(Object(h.a)({},l)),ve(l)};Object(v.useEffect)((function(){document.getElementById("divhe")&&(document.getElementById("divhe").scrollHeight>47&&(w(47),T(!0)))}),[document.getElementById("divhe"),I]);var ye=[{title:"序号",dataIndex:"number",width:80,render:function(e,t,n){return l.limit*(l.page-1)+n+1}},{title:"姓名",dataIndex:"user_name",width:110,ellipsis:{showTitle:!1},render:function(e){return b.a.createElement(B.a,{placement:"bottomLeft",title:e},b.a.createElement("span",null,e))}},{title:"学号",dataIndex:"student_id",sorter:!0,width:140,showSorterTooltip:!1,ellipsis:{showTitle:!1},render:function(e){return b.a.createElement(B.a,{placement:"bottomLeft",title:e||"--"},b.a.createElement("span",null,e||"--"))}},{title:"分班",dataIndex:"user_group_name",ellipsis:{showTitle:!1},render:function(e,t){return e?b.a.createElement(B.a,{placement:"bottom",title:e},b.a.createElement("span",{className:le.a.es},e)):"--"}},{title:"人脸照片",dataIndex:"photo_url",width:90,ellipsis:{showTitle:!1},render:function(e,t){return b.a.createElement("img",{width:40,style:{maxHeight:30},src:e,className:"current",onClick:function(){_e(t)}})}},{title:"审核状态",width:100,dataIndex:"exercise_identity_photo_state",ellipsis:{showTitle:!1},render:function(e,t){return b.a.createElement(b.a.Fragment,null,"passed"===e&&b.a.createElement("span",{style:{color:"#44D7B6"}},"审核通过"),"rejected"===e&&b.a.createElement("span",{style:{color:"#E53333"}},"审核不通过"),"submitted"===e&&b.a.createElement("span",{style:{color:"#666666"}},"待审核"))}},{title:"审核时间",dataIndex:"audit_time",width:180,ellipsis:{showTitle:!1},render:function(e){return b.a.createElement("span",null,e||"--")}},{title:"审核类型",dataIndex:"audit_clazz",width:90,ellipsis:{showTitle:!1},render:function(e){return b.a.createElement("span",null,e||"--")}},{title:"操作",dataIndex:"action",width:180,ellipsis:{showTitle:!1},render:function(e,t){var n;return b.a.createElement(b.a.Fragment,null,"submitted"===(null==t?void 0:t.exercise_identity_photo_state)?b.a.createElement("span",{className:"c-light-primary current",onClick:function(){return he(t)}},"审核"):b.a.createElement("span",{className:"c-grey-999 cursorNotAllowed"},"审核"),"submitted"!==(null==t?void 0:t.exercise_identity_photo_state)?b.a.createElement("span",{className:"c-light-primary current ml10 mr10",onClick:function(){return Ee(t)}},"审核记录"):b.a.createElement("span",{className:"c-grey-999 ml10 mr10 cursorNotAllowed"},"审核记录"),"passed"===(null==t?void 0:t.exercise_identity_photo_state)&&null!=t&&null!==(n=t.play_url)&&void 0!==n&&n.length?b.a.createElement("span",{className:"c-light-primary current",onClick:function(){return xe(t)}},"摄像监控"):b.a.createElement("span",{className:"c-grey-999 cursorNotAllowed"},"摄像监控"))}}],Ee=function(e){var t=[{title:"审核时间",dataIndex:"audit_time",width:170,render:function(e,t){return b.a.createElement("span",null,e||"--")}},{title:"审核状态",dataIndex:"exercise_identity_photo_state",width:110,render:function(e,t){return b.a.createElement(b.a.Fragment,null,"passed"===e&&b.a.createElement("span",{style:{color:"#44D7B6"}},"审核通过"),"rejected"===e&&b.a.createElement("span",{style:{color:"#E53333"}},"审核不通过"),"submitted"===e&&b.a.createElement("span",{style:{color:"#666666"}},"待审核"))}},{title:"审核意见",dataIndex:"comment",render:function(e,t){return e?b.a.createElement(B.a,{placement:"bottom",title:e},b.a.createElement("span",null,e)):"--"}},{title:"采集照片",dataIndex:"photo_url",width:90,render:function(e,t){return b.a.createElement("span",{className:"current c-light-primary",onClick:function(){Z.a.publish("preview-image",e)}},"查看")}}],n=u.a.confirm({icon:null,width:700,className:"".concat(le.a.cusModal," custom-modal-divider"),centered:!0,title:b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"1"},"审核记录"),b.a.createElement(P.a,null,b.a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:function(){return n.destroy()}}))),content:b.a.createElement("div",null,b.a.createElement(N.a,{className:le.a.customTable,dataSource:[Object(h.a)({},e)],bordered:!1,columns:t,rowKey:"exercise_identity_photo_id",rowClassName:le.a.row,pagination:!1}))})},xe=function(e){var t,n,r=u.a.confirm({icon:null,className:"".concat(le.a.cusModal," custom-modal-divider"),centered:!0,width:(null==e||null===(t=e.play_url)||void 0===t?void 0:t.length)<6?724:744,title:b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"1"},"视频"),b.a.createElement(P.a,null,b.a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:function(){return r.destroy()}}))),content:b.a.createElement("ul",{className:le.a.sys},null==e||null===(n=e.play_url)||void 0===n?void 0:n.map((function(e,t){return b.a.createElement("li",{className:le.a.li,key:t},b.a.createElement("div",{className:le.a.d1},b.a.createElement("div",{className:le.a.img},b.a.createElement(fe,{src:null==e?void 0:e.replace(".m3u8",".flv"),autoPlay:!0})),b.a.createElement("div",{className:le.a.btn},b.a.createElement("div",{className:le.a.b1},"回放视频",t+1))))})))})},_e=function(e){var t=u.a.confirm({icon:null,className:"".concat(le.a.cusModal," custom-modal-divider"),centered:!0,width:710,title:b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"1"},"人脸照片"),b.a.createElement(P.a,null,b.a.createElement("span",{className:"iconfont icon-guanbi7 font12 current c-grey-c",onClick:function(){return t.destroy()}}))),content:b.a.createElement(M.a,null,b.a.createElement("aside",{className:le.a.imgWrap,style:{marginBottom:40}},b.a.createElement("div",{className:le.a.img},b.a.createElement("img",{width:326,src:Object(O.g)(null==e?void 0:e.photo_url)}),b.a.createElement("div",{className:le.a.textP},"采集照片")),b.a.createElement("div",{className:le.a.img,style:{marginLeft:20}},null!=e&&e.identity_url?b.a.createElement("img",{width:326,src:Object(O.g)(null==e?void 0:e.identity_url)}):b.a.createElement("div",{className:le.a.no,style:{width:326}},b.a.createElement("span",null,"暂无证件照片")),b.a.createElement("div",{className:le.a.textP},"证件照片"))))})},ke={selectedRowKeys:K,columnWidth:40,onChange:function(e){q(e)},getCheckboxProps:function(e){return{disabled:!("passed"!==(null==e?void 0:e.exercise_identity_photo_state))}}};return b.a.createElement("section",{className:le.a.wrap},b.a.createElement(U.a,{form:m,onChange:function(){l.page=1;var e=Object.assign({},m.getFieldsValue());Object.keys(e).map((function(t){switch(t){case"exercise_group_id":e[t].includes("all")||!e[t].length?(delete l.course_group,m.setFieldsValue(Object(F.a)({},"exercise_group_id","all"))):(l.course_group=e[t],m.setFieldsValue(Object(F.a)({},"exercise_group_id",l.course_group)))}})),d(Object(h.a)({},l)),ve(l)},initialValues:Object(F.a)({},"exercise_group_id","all")},b.a.createElement(U.a.Item,{name:"exercise_group_id"},b.a.createElement(R.a.Group,{style:{width:"100%"}},b.a.createElement(M.a,null,b.a.createElement(P.a,{className:"font14",flex:"80px"},"选择分班:"),b.a.createElement(P.a,{flex:"80px"},b.a.createElement(R.a,{value:"all"},"全部")),b.a.createElement(P.a,{flex:"1",id:"divhe",style:{height:k+"px",overflow:"hidden"}},null===(t=I.course_groups)||void 0===t?void 0:t.map((function(e,t){return b.a.createElement(R.a,{key:t,value:e.exercise_group_id,className:"ml0 mr8"},e.exercise_group_name,"(",e.exercise_group_students,")")}))),A&&b.a.createElement("span",{onClick:function(){var e=document.getElementById("divhe").scrollHeight;w(k>47?47:e)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},47===k?"展开":"收起",47===k?b.a.createElement(ae.a,{style:{marginBottom:"3px",marginLeft:"2px"}}):b.a.createElement(oe.a,{style:{marginBottom:"3px",marginLeft:"2px"}})))))),b.a.createElement("div",{className:le.a.control},b.a.createElement(L.a.Search,{placeholder:"请输入姓名或者学号搜索",value:null==l?void 0:l.save_name,onChange:function(e){return t=e.target.value,l.page=1,l.save_name=t,void d(Object(h.a)({},l));var t},onSearch:function(){l.page=1,l.name=l.save_name,d(Object(h.a)({},l)),ve(l)}}),b.a.createElement(ie.a,{placeholder:"请选择审核状态",value:null==l?void 0:l.state,onChange:function(e){return be(e,"state")}},b.a.createElement(ie.a.Option,{value:null},"全部"),b.a.createElement(ie.a.Option,{value:"submitted"},"待审核"),b.a.createElement(ie.a.Option,{value:"passed"},"审核通过"),b.a.createElement(ie.a.Option,{value:"rejected"},"审核不通过")),b.a.createElement(ie.a,{placeholder:"请选择审核类型",value:null==l?void 0:l.audit,onChange:function(e){return be(e,"audit")}},b.a.createElement(ie.a.Option,{value:null},"全部"),b.a.createElement(ie.a.Option,{value:1},"自动审核"),b.a.createElement(ie.a.Option,{value:2},"人工审核")),b.a.createElement("span",{className:le.a.btn,style:{cursor:"pointer"},onClick:function(){K.length?he(!0):s.b.warn("请选择学生")}},b.a.createElement("i",{className:"iconfont icon-piliangcaozuo font14 mr5"}),"批量审核")),b.a.createElement("div",{className:le.a.bgH}),b.a.createElement(N.a,{rowSelection:ke,className:le.a.customTable,dataSource:G,bordered:!1,columns:ye,rowKey:"exercise_identity_photo_id",rowClassName:le.a.row,loading:ne,onChange:function(e,t,n){l.page=null==e?void 0:e.current,l.limit=null==e?void 0:e.pageSize,null!=n&&n.order?(l.sort_by=null==n?void 0:n.field,l.sort_direction="ascend"===(null==n?void 0:n.order)?"asc":"desc"):(l.sort_by=null,l.sort_direction=null),d(Object(h.a)({},l)),ve(l)},pagination:{pageSize:l.limit,total:J,current:l.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,position:["bottomCenter"],showTotal:function(e){return b.a.createElement("span",{className:"mr10"},"共",b.a.createElement("span",{className:"c-orange"},e),"条数据")}}}),b.a.createElement(me,{selectIds:K,visible:de,onCancel:function(){return he(!1)},onOk:function(){he(!1),ve(l)},params:l}),b.a.createElement(X.a,null))})),me=function(e){var t=e.visible,n=e.onOk,r=e.onCancel,i=e.selectIds,a=e.params,o=Object(v.useState)(!1),s=Object(f.a)(o,2),l=s[0],d=s[1],p=Object(v.useState)({}),m=Object(f.a)(p,2),E=m[0],x=m[1],_=U.a.useForm(),k=Object(f.a)(_,1)[0],w=function(){var e=Object(c.a)(g.a.mark((function e(r){var o,s;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(d(!0),!0!==t){e.next=7;break}return e.next=4,Object(y.a)("/api/exercises/".concat(null==a?void 0:a.exercise_id,"/batch_audit_identity_photo.json"),{method:"post",body:Object(h.a)({identity_photo_ids:i},r)});case 4:s=e.sent,e.next=10;break;case 7:return e.next=9,Object(y.a)("/api/exercises/".concat(null==a?void 0:a.exercise_id,"/audit_identity_photo.json"),{method:"post",body:Object(h.a)({identity_photo_id:null==t?void 0:t.exercise_identity_photo_id},r)});case 9:s=e.sent;case 10:0===(null===(o=s)||void 0===o?void 0:o.status)&&n(),d(!1);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return b.a.createElement(u.a,{title:!0!==t?"人脸身份审核":"批量审核",visible:!!t,centered:!0,width:650,destroyOnClose:!0,onCancel:function(){r()},afterClose:function(){k.resetFields(),x({})},confirmLoading:l,onOk:function(){return k.submit()}},b.a.createElement(U.a,{className:le.a.formWrap,form:k,labelCol:{span:4},wrapperCol:{span:18},onFinish:w,onValuesChange:function(){x(Object(h.a)({},k.getFieldsValue()))}},!0!==t&&b.a.createElement(M.a,{style:{marginLeft:28,marginBottom:38}},b.a.createElement(P.a,null,"采集照片:"),b.a.createElement(P.a,null,b.a.createElement("aside",{className:le.a.imgWrap},b.a.createElement("div",{className:le.a.img},b.a.createElement("img",{width:234,src:Object(O.g)(null==t?void 0:t.photo_url)}),b.a.createElement("div",{onClick:function(){Z.a.publish("preview-image",null==t?void 0:t.photo_url)},className:le.a.iBtn},"预览"),b.a.createElement("div",{className:le.a.text},"采集照片")),b.a.createElement("div",{className:le.a.img,style:{marginLeft:20}},null!=t&&t.identity_url?b.a.createElement("img",{width:234,src:Object(O.g)(null==t?void 0:t.identity_url)}):b.a.createElement("div",{className:le.a.no,style:{width:326}},b.a.createElement("span",null,"暂无证件照片")),!(null==t||!t.identity_url)&&b.a.createElement("div",{onClick:function(){Z.a.publish("preview-image",Object(O.g)(null==t?void 0:t.identity_url))},className:le.a.iBtn},"预览"),b.a.createElement("div",{className:le.a.text},"证件照片"))))),b.a.createElement(U.a.Item,{label:"审核状态",name:"state",rules:[{required:!0,message:"请输入审核状态"}]},b.a.createElement(T.a.Group,null,b.a.createElement(T.a,{value:"passed"},"审核通过"),b.a.createElement(T.a,{value:"rejected"},"审核不通过"))),"rejected"===(null==E?void 0:E.state)&&b.a.createElement(U.a.Item,{label:"审核意见",name:"comment",rules:[{required:!0,message:"请输入审核意见"}]},b.a.createElement(L.a,{placeholder:"如:你的个人信息与照片不一致。",maxLength:30})),b.a.createElement("div",{style:{color:"#FA6400",paddingLeft:32}},"注意:审核通过后,该学生在本场作业与测验的认证状态将更新为“审核通过”,且能够进入作业与测验。")))},ge=(n("cWXX"),n("/ezw")),ve=(n("R9oj"),n("ECub")),be=n("hZbv"),ye=n.n(be),Ee=Object(_.a)((function(e){return{exercise:e.exercise,user:e.user}}))((function(e){var t,n,i,o,l,d,p,m,x,_=e.exercise,k=e.dispatch,w=(e.user,Object(E.i)()),C=Object(v.useState)({page:1,limit:10,name:"",save_name:"",exercise_id:null==w?void 0:w.categoryId}),S=Object(f.a)(C,2),A=S[0],D=S[1],j=U.a.useForm(),H=Object(f.a)(j,1)[0],z=Object(v.useState)(),V=Object(f.a)(z,2),W=V[0],K=V[1],q=Object(v.useState)(!1),Y=Object(f.a)(q,2),Q=Y[0],J=Y[1],$=_.exerciseList,ee=Object(v.useState)([]),te=Object(f.a)(ee,2),ne=te[0],re=te[1],se=Object(v.useState)(0),le=Object(f.a)(se,2),ce=le[0],de=le[1],he=Object(v.useState)(!0),fe=Object(f.a)(he,2),pe=fe[0],me=fe[1],be=Object(v.useState)(!1),Ee=Object(f.a)(be,2),xe=Ee[0],_e=Ee[1],ke=Object(v.useState)("1"),we=Object(f.a)(ke,2),Ce=we[0],Se=we[1],Oe=Object(v.useState)(1),Ae=Object(f.a)(Oe,2),Te=Ae[0],Ie=Ae[1],De=Object(v.useState)("alert"),Le=Object(f.a)(De,2),Re=Le[0],Ne=Le[1],je=Object(v.useState)(1),Me=Object(f.a)(je,2),Pe=Me[0],Be=Me[1],Fe=Object(v.useState)(""),Ue=Object(f.a)(Fe,2),He=Ue[0],Ge=Ue[1],ze=Object(v.useState)(!1),Ve=Object(f.a)(ze,2),We=Ve[0],Ke=Ve[1],qe=Object(v.useState)(!1),Ye=Object(f.a)(qe,2),Qe=Ye[0],Je=Ye[1],Xe=Object(v.useState)([]),Ze=Object(f.a)(Xe,2),$e=Ze[0],et=Ze[1];Object(v.useEffect)((function(){tt(),nt(A)}),[]);var tt=function(){k({type:"exercise/getExerciseList",payload:w})},nt=function(){var e=Object(c.a)(g.a.mark((function e(t){var n,r;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=ue.a.cloneDeep(t),me(!0),re([]),e.next=5,Object(y.a)("/api/exercises/".concat(null==t?void 0:t.exercise_id,"/exercise_videos.json"),{method:"get",params:n});case 5:r=e.sent,me(!1),de(null==r?void 0:r.count),re((null==r?void 0:r.exercise_users)||[]);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();Object(v.useEffect)((function(){document.getElementById("divhe")&&(document.getElementById("divhe").scrollHeight>47&&(K(47),J(!0)))}),[document.getElementById("divhe"),$]);var rt=function(){var e=Object(c.a)(g.a.mark((function e(t){var n,r;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Ke(!0),_e({}),e.next=4,Object(y.a)("/api/exercises/".concat(null==A?void 0:A.exercise_id,"/student_info.json"),{method:"get",params:{exercise_user_id:null==t?void 0:t.exercise_user_id}});case 4:return n=e.sent,e.next=7,Object(y.a)("/api/exercises/".concat(null==A?void 0:A.exercise_id,"/video_push_logs.json"),{method:"get",params:{exercise_user_id:null==t?void 0:t.exercise_user_id}});case 7:null!=(r=e.sent)&&r.data&&et((null==r?void 0:r.data)||[]),null!=n&&n.data&&_e(Object(h.a)(Object(h.a)({},null==n?void 0:n.data),{},{exercise_user_id:null==t?void 0:t.exercise_user_id,datas:t})),Ke(!1);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),it=function(e){var t,n;"prev"===e?Ie(Te-1==0?null==xe||null===(t=xe.exercise_user_photos)||void 0===t?void 0:t.length:Te-1):Ie(Te===(null==xe||null===(n=xe.exercise_user_photos)||void 0===n?void 0:n.length)?1:Te+1)},at=function(e){Ne(e),Be(1),Ge("")},ot=[{key:1,value:"手机录像异常,请重新扫描左侧二维码开启手机摄像录制。"},{key:2,value:"请勿离开监控范围!"},{key:3,value:"请不要与其他人交谈!"},{key:4,value:"请不要做与作业与测验无关的行为!"},{key:5,value:"请勿切屏,超过3次将被强制交卷!"},{key:6,value:"请勿遮挡或关闭电脑摄像监控!"},{key:0,value:"其他"}],st=[{key:1,value:"请将手机放置于侧后方45°,离桌面1米左右,保证能拍摄到上半身、电脑屏幕和桌面。"},{key:2,value:"手机录像异常,请重新扫描左侧二维码开启手机摄像录制。"},{key:0,value:"其他"}],lt="alert"===Re?ot:st;return b.a.createElement("section",{className:ye.a.wrap},b.a.createElement(U.a,{form:H,onChange:function(){A.page=1;var e=Object.assign({},H.getFieldsValue());Object.keys(e).map((function(t){switch(t){case"exercise_group_id":e[t].includes("all")||!e[t].length?(delete A.course_group,H.setFieldsValue(Object(F.a)({},"exercise_group_id","all"))):(A.course_group=e[t],H.setFieldsValue(Object(F.a)({},"exercise_group_id",A.course_group)))}})),nt(A)},initialValues:Object(F.a)({},"exercise_group_id","all")},b.a.createElement(U.a.Item,{name:"exercise_group_id"},b.a.createElement(R.a.Group,{style:{width:"100%"}},b.a.createElement(M.a,null,b.a.createElement(P.a,{className:"font14",flex:"80px"},"选择分班:"),b.a.createElement(P.a,{flex:"80px"},b.a.createElement(R.a,{value:"all"},"全部")),b.a.createElement(P.a,{flex:"1",id:"divhe",style:{height:W+"px",overflow:"hidden"}},null===(t=$.course_groups)||void 0===t?void 0:t.map((function(e,t){return b.a.createElement(R.a,{key:t,value:e.exercise_group_id,className:"ml0 mr8"},e.exercise_group_name,"(",e.exercise_group_students,")")}))),Q&&b.a.createElement("span",{onClick:function(){var e=document.getElementById("divhe").scrollHeight;K(W>47?47:e)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},47===W?"展开":"收起",47===W?b.a.createElement(ae.a,{style:{marginBottom:"3px",marginLeft:"2px"}}):b.a.createElement(oe.a,{style:{marginBottom:"3px",marginLeft:"2px"}})))))),b.a.createElement("div",{className:ye.a.control},b.a.createElement(L.a.Search,{placeholder:"请输入姓名或者学号搜索",value:null==A?void 0:A.save_name,onChange:function(e){return t=e.target.value,A.page=1,A.save_name=t,void D(Object(h.a)({},A));var t},onSearch:function(){A.page=1,A.name=A.save_name,D(Object(h.a)({},A)),nt(A)}})),b.a.createElement("div",{className:ye.a.bgH}),b.a.createElement("div",{className:ye.a.warpList},b.a.createElement(ge.a,{loading:pe,active:!0,paragraph:{rows:5}},b.a.createElement("div",{className:"c-grey-666 mb20 mt20"},"共",b.a.createElement("span",{className:"c-orange"},ce),"名学生已开启手机摄影"),ne.length?b.a.createElement("ul",{className:ye.a.sys},ne.map((function(e,t){var n=e.user_name,r=e.user_group_name,i=e.video_url,a=e.login,o=e.student_id;return b.a.createElement("li",{className:ye.a.li,key:t},b.a.createElement("div",{className:ye.a.d1},b.a.createElement("div",{className:ye.a.img},b.a.createElement("iframe",{style:{height:340,width:"100%",border:"none"},src:"/live-play.html?key=".concat(t,"&video_url=").concat(null==i?void 0:i.replace(".m3u8",".flv"))})),b.a.createElement(B.a,{title:"姓名+学号"},b.a.createElement("div",{className:ye.a.btn,onClick:function(){return Object(O.s)("".concat(A.exercise_id,"-").concat(a),!0)}},b.a.createElement("div",{title:n,className:ye.a.b1},n),b.a.createElement("div",{title:r,className:ye.a.b2},"(",o,")"))),b.a.createElement("div",{onClick:function(){return rt(e)},className:ye.a.big},"查看")))}))):b.a.createElement(ve.a,null)),b.a.createElement(I.a,{showTotal:function(e){return b.a.createElement("span",{className:"mr10"},"共",b.a.createElement("span",{className:"c-orange"},e),"条数据")},className:"tc",showSizeChanger:!1,showQuickJumper:!0,hideOnSinglePage:!0,onChange:function(e,t){A.page=e,A.limit=t,D(Object(h.a)({},A)),nt(A)},pageSize:null==A?void 0:A.limit,current:A.page,total:ce})),b.a.createElement(u.a,{title:"查看详细信息",visible:xe,centered:!0,width:850,destroyOnClose:!0,onCancel:function(){_e(!1)},afterClose:function(){Ie(1),Ne("alert"),Ge(""),Se("1"),Be(1)},footer:null},b.a.createElement(ge.a,{loading:We,active:!0,paragraph:{rows:5}},b.a.createElement("div",null,b.a.createElement("span",null,"姓名:",null==xe||null===(n=xe.datas)||void 0===n?void 0:n.user_name),b.a.createElement("span",{className:"ml20"},"学号:",null==xe||null===(i=xe.datas)||void 0===i?void 0:i.student_id),b.a.createElement("span",{className:"ml20"},"班级:",null==xe||null===(o=xe.datas)||void 0===o?void 0:o.user_group_name)),b.a.createElement(r.a,{className:"mt10",defaultActiveKey:Ce,onChange:function(e){Se(e)}},b.a.createElement(r.a.TabPane,{tab:"防作弊头像",key:"1"},b.a.createElement("aside",{className:ye.a.imgWrap},b.a.createElement("div",{className:ye.a.img,style:{width:234,marginLeft:30,textAlign:"center"}},null!=xe&&null!==(l=xe.exercise_user_photos)&&void 0!==l&&l.length?b.a.createElement(v.Fragment,null,b.a.createElement("img",{height:131,src:null==xe||null===(d=xe.exercise_user_photos)||void 0===d?void 0:d[Te-1]}),b.a.createElement("div",{onClick:function(){var e;Z.a.publish("preview-image",null==xe||null===(e=xe.exercise_user_photos)||void 0===e?void 0:e[Te-1])},className:ye.a.iBtn},"预览"),b.a.createElement("div",{className:ye.a.text},"进行中照片",b.a.createElement("span",{className:"c-light-primary"},Te,"/",null==xe||null===(p=xe.exercise_user_photos)||void 0===p?void 0:p.length)),1===Te?b.a.createElement("div",{style:{color:"#ccc",cursor:"not-allowed"},className:ye.a.l}," ",b.a.createElement("i",{className:"iconfont icon-fanhui2"})):b.a.createElement("div",{onClick:function(){return it("prev")},className:ye.a.l}," ",b.a.createElement("i",{className:"iconfont icon-fanhui2"})),b.a.createElement("div",{onClick:function(){return it("next")},className:ye.a.r},b.a.createElement("i",{className:"iconfont icon-lujing"}))):b.a.createElement("div",{className:ye.a.no},b.a.createElement("span",null,"暂无进行中照片"))),b.a.createElement("div",{className:ye.a.img,style:{marginLeft:60,width:234,textAlign:"center"}},null!=xe&&xe.identity_url?b.a.createElement("img",{height:131,src:Object(O.g)(null==xe?void 0:xe.identity_url)}):b.a.createElement("div",{className:ye.a.no},b.a.createElement("span",null,"暂无证件照片")),!(null==xe||!xe.identity_url)&&b.a.createElement("div",{onClick:function(){Z.a.publish("preview-image",Object(O.g)(null==xe?void 0:xe.identity_url))},className:ye.a.iBtn},"预览"),b.a.createElement("div",{className:ye.a.text},"证件照片")))),b.a.createElement(r.a.TabPane,{tab:"人脸照片",key:"2"},b.a.createElement("aside",{className:ye.a.imgWrap,style:{marginLeft:70}},b.a.createElement("div",{className:ye.a.img},b.a.createElement("img",{width:234,src:null==xe?void 0:xe.exercise_identity_photo}),b.a.createElement("div",{onClick:function(){Z.a.publish("preview-image",null==xe?void 0:xe.exercise_identity_photo)},className:ye.a.iBtn},"预览"),b.a.createElement("div",{className:ye.a.text},"采集照片")),b.a.createElement("div",{className:ye.a.img,style:{marginLeft:20,width:234,textAlign:"center"}},null!=xe&&xe.identity_url?b.a.createElement("img",{height:131,src:Object(O.g)(null==xe?void 0:xe.identity_url)}):b.a.createElement("div",{className:ye.a.no},b.a.createElement("span",null,"暂无证件照片")),!(null==xe||!xe.identity_url)&&b.a.createElement("div",{onClick:function(){Z.a.publish("preview-image",Object(O.g)(null==xe?void 0:xe.identity_url))},className:ye.a.iBtn},"预览"),b.a.createElement("div",{className:ye.a.text},"证件照片")))),b.a.createElement(r.a.TabPane,{tab:"警告和通知",key:"3"},b.a.createElement("div",{className:ye.a.fo},b.a.createElement(T.a,{className:"mt20",checked:"alert"===Re,onChange:function(){return at("alert")}},"发送警告",b.a.createElement("span",{className:"font14 c-grey-999"},"(如发现学生在进行中的照片存在异常时,可发送消息给学生)")),b.a.createElement(T.a,{className:"mt10",checked:"notice"===Re,onChange:function(){return at("notice")}},"发送通知",b.a.createElement("span",{className:"font14 c-grey-999"},"(进行中如有消息通知,可发送消息给学生)")),b.a.createElement("div",{className:"mt20"},b.a.createElement("span",{className:"mr10"},"原因:"),b.a.createElement(ie.a,{getPopupContainer:function(e){return e.parentNode.parentNode},style:{width:570},value:Pe,onChange:function(e){Be(e)}},null==lt?void 0:lt.map((function(e){return b.a.createElement(ie.a.Option,{key:e.key,value:e.key},e.value)})))),0===Pe&&b.a.createElement(L.a.TextArea,{className:"mt20",value:He,onChange:function(e){return Ge(e.target.value)},placeholder:"请填写其他原因"}),b.a.createElement(M.a,{className:"mt10",align:"middle"},b.a.createElement("div",{className:"mr10"},"发送记录"),b.a.createElement("div",{style:{color:"#E30000",fontSize:12,margin:"10px 0"}},"已发送",null==xe?void 0:xe.alert_count,"次警告和",(null==xe||null===(m=xe.alerts)||void 0===m?void 0:m.length)-(null==xe?void 0:xe.alert_count),"次通知")),b.a.createElement(N.a,{dataSource:(null==xe?void 0:xe.alerts)||[],bordered:!1,scroll:(null==xe||null===(x=xe.alerts)||void 0===x?void 0:x.length)>4?{y:200}:{},columns:[{title:"开始时间",dataIndex:"created_at",width:164},{title:"发送人",dataIndex:"sender",width:100,ellipsis:{showTitle:!1},render:function(e){return e?b.a.createElement("span",{title:e},e):"--"}},{title:"发送类型",dataIndex:"clazz",width:80,render:function(e){return"alert"===e?"警告":"通知"}},{title:"发送内容",dataIndex:"content",ellipsis:!0}],pagination:!1}),b.a.createElement(a.a,{className:ye.a.b,onClick:Object(c.a)(g.a.mark((function e(){var t,n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(He||0!==Pe){e.next=3;break}return s.b.info("请输入其他原因"),e.abrupt("return");case 3:return t=He,Pe&&(t=("alert"===Re?ot:st).find((function(e){return e.key===Pe})).value),Je(!0),e.next=8,Object(y.a)("/api/exercises/".concat(A.exercise_id,"/send_alert.json"),{method:"post",body:{content:t,clazz:Re,exercise_user_id:null==xe?void 0:xe.exercise_user_id}});case 8:0===(null==(n=e.sent)?void 0:n.status)&&(s.b.info("发送成功"),_e(!1)),Je(!1);case 11:case"end":return e.stop()}}),e)}))),loading:Qe,type:"primary"},b.a.createElement("i",{className:"iconfont icon-fasongtongzhi mr5"}),"发送"))),b.a.createElement(r.a.TabPane,{tab:"断流记录",key:"4"},b.a.createElement(N.a,{dataSource:$e,bordered:!1,scroll:$e.length>7?{y:300}:{},columns:[{title:"开始时间",dataIndex:"start_time",width:164},{title:"结束时间",dataIndex:"end_time",width:164,render:function(e){return G()(e).format("YYYY-MM-DD HH:mm:ss")||"--"}},{title:"推流时长",dataIndex:"push_duration",ellipsis:!0,width:120,render:function(e){return e&&Object(O.Z)(Number(e)/1e3)||0}},{title:"断流原因",dataIndex:"msg",ellipsis:!0}]}))))),b.a.createElement(X.a,null))})),xe=n("wNxg"),_e=n.n(xe),ke=n("b6Jr"),we=n.n(ke),Ce=function(e){var t=e.index,n=e.bottomLine,r=e.gather,i=e.search,a=Object(v.useState)([]),o=Object(f.a)(a,2),s=o[0],l=o[1],u=Object(v.useState)(!1),d=Object(f.a)(u,2),p=d[0],m=d[1],_=Object(v.useState)(!1),k=Object(f.a)(_,2),w=k[0],C=k[1],S=Object(E.i)(),O=Object(E.h)(),A=Object(v.useState)({page:1,limit:6,total:0}),T=Object(f.a)(A,2),I=T[0],D=T[1];Object(v.useEffect)((function(){console.log(r,"gather"),0===t&&C(!0)}),[]),Object(v.useEffect)((function(){w&&R()}),[w]);var L=[{title:"序号",dataIndex:"index",key:"index",align:"left",ellipsis:!0,render:function(e,t,n){return I.limit*(I.page-1)+n+1}},{title:"姓名",dataIndex:"username",key:"username",align:"left",ellipsis:!0},{title:"班级",dataIndex:"user_group_name",key:"user_group_name",align:"left",render:function(e){return e||"--"}},{title:"学号",dataIndex:"student_id",key:"student_id",align:"left"},{title:"相似度",dataIndex:"code_rate",key:"code_rate",align:"left",render:function(e){return e+"%"}},{title:"操作",dataIndex:"id",key:"id",align:"left",render:function(e){var t,n,r="/classrooms/".concat(null==S?void 0:S.coursesId,"/exercise/").concat(null==S?void 0:S.categoryId,"/detail/").concat(e,"/review_detail");null!=O&&null!==(t=O.query)&&void 0!==t&&t.random&&(r+="?random=".concat(null==O||null===(n=O.query)||void 0===n?void 0:n.random));return b.a.createElement(x.a,{to:r,target:"_blank"},"查看")}}],R=function(){var e=Object(c.a)(g.a.mark((function e(t){var n,a,o;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m(!0),n=t||{page:1,limit:10,total:0},a=Object(h.a)({id:null==S?void 0:S.categoryId,question_id:null==r?void 0:r.question_id,search:i},n),e.next=5,Object(y.a)("/api/courses/".concat(null==S?void 0:S.coursesId,"/exercises/code_review_users.json"),{method:"get",params:a});case 5:(o=e.sent)&&(l(null==o?void 0:o.users),m(!1),D(Object(h.a)(Object(h.a)({},n),{},{total:(null==o?void 0:o.count)||0})));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return b.a.createElement("div",{className:we.a.subjectTable},b.a.createElement("aside",{className:we.a.title},b.a.createElement("span",{className:"c-light-primary"},t+1,"、",5===(null==r?void 0:r.question_type)?"实训题":"编程题"),b.a.createElement("span",{className:"c-grey-333"},"(",null==r?void 0:r.score,"分):",null==r?void 0:r.question_title),b.a.createElement("span",{className:"ml40 c-grey-999"},b.a.createElement("b",{className:"c-red-ee4"},null==r?void 0:r.checked_count)," 个疑似抄袭作品(共",null==r?void 0:r.total_count,"个作品)"),b.a.createElement("span",{onClick:function(){C(!w)},style:{marginLeft:"auto",cursor:"pointer",color:"#0152d9"}},w?"收起":"展开",w?b.a.createElement(oe.a,null):b.a.createElement(ae.a,null)),5===(null==r?void 0:r.question_type)&&b.a.createElement("a",{style:{marginLeft:20},target:"_blank",href:"/shixuns/".concat(null==r?void 0:r.shixun_identifier,"/challenges")},"实训详情")),b.a.createElement(N.a,{className:we.a.customTable,style:{display:w?"block":"none"},dataSource:s,bordered:!1,rowKey:function(e){return e.id},rowClassName:we.a.row,columns:L,loading:p,pagination:{pageSize:I.limit,total:I.total,current:I.page,onChange:function(e){var t=Object(h.a)(Object(h.a)({},I),{},{page:e});D(t),R(t)},showQuickJumper:!0,showSizeChanger:!1,hideOnSinglePage:!0,position:["bottomCenter"]}}),b.a.createElement("div",{className:we.a.line,style:{visibility:n?"hidden":"visible"}}))},Se=n("lzim"),Oe=Object(_.a)((function(e){return{exercise:e.exercise,globalSetting:e.globalSetting}}))((function(e){e.exercise,e.globalSetting,e.dispatch;var t=Object(v.useState)(""),n=Object(f.a)(t,2),r=n[0],i=n[1],a=Object(v.useState)([]),o=Object(f.a)(a,2),s=o[0],l=o[1],u=Object(v.useState)(""),d=Object(f.a)(u,2),h=d[0],p=d[1],m=Object(v.useState)(!1),x=Object(f.a)(m,2),_=x[0],k=x[1],w=Object(E.i)();Object(v.useEffect)((function(){C()}),[]);var C=function(){var e=Object(c.a)(g.a.mark((function e(t){var n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(!0),e.next=3,Object(y.a)("/api/courses/".concat(null==w?void 0:w.coursesId,"/exercises/code_review_results.json"),{method:"get",params:{id:null==w?void 0:w.categoryId,search:r}});case 3:if(-2!==(null==(n=e.sent)?void 0:n.status)){e.next=7;break}return C(),e.abrupt("return");case 7:n&&(k(!1),l((null==n?void 0:n.exercise_questions)||[]),p(null==n?void 0:n.last_review_time));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),S=function(){C()};return b.a.createElement("section",{className:_e.a.warp},b.a.createElement("aside",{className:_e.a.header},b.a.createElement("div",null,"查重时间:",h||"--"),!!h&&b.a.createElement(L.a,{value:r,onChange:function(e){return i(e.target.value)},suffix:b.a.createElement("i",{onClick:S,className:"iconfont icon-sousuo2 c-grey-c"}),bordered:!1,placeholder:"请输入姓名或学号搜索",onPressEnter:S})),b.a.createElement(ge.a,{loading:_,active:!0,paragraph:{rows:5}},s.length>0?b.a.createElement("aside",{className:_e.a.subject},s.map((function(e,t){return b.a.createElement(Ce,{key:t,index:t,bottomLine:t===s.length-1,gather:e,search:r})}))):b.a.createElement("div",{className:_e.a.empty},b.a.createElement("img",{src:Se.l,width:"258"}),b.a.createElement("span",{className:"c-grey-c"},"暂无数据"))))})),Ae=(n("/zsF"),n("PArb")),Te=n("LYsE"),Ie=n("k5F3"),De=Object(_.a)((function(e){return{exercise:e.exercise,loading:e.loading.effects}}))((function(e){var t=e.exercise,n=(e.loading,e.dispatch),r=e.activeTabs,i=Object(E.i)(),a=Object(v.useState)(Object(h.a)(Object(h.a)({},i),{page:1,per_page:10})),o=Object(f.a)(a,1)[0],s=t.editData;Object(v.useEffect)((function(){"2"===r&&l()}),[i.categoryId,r]);var l=function(){n({type:"exercise/editExercise",payload:Object(h.a)({},o)})};return Object(v.useEffect)((function(){return n({type:"globalSetting/onlyShowBackTopToggle",payload:!1}),n({type:"globalSetting/onlyShowBackTopIconToggle",payload:!1}),function(){n({type:"globalSetting/onlyShowBackTopToggle",payload:!0}),n({type:"globalSetting/onlyShowBackTopIconToggle",payload:!0})}}),[]),b.a.createElement("section",{className:"minH1050 mb20 pt30 pb30 pl60 bg-white relative"},b.a.createElement(Ie.a,{isPreview:!0,activeTabs:r}),b.a.createElement(Ae.a,null),b.a.createElement(Te.a,{data:null==s?void 0:s.exercise_question_types,isDragDisabled:!0}))})),Le=(n("T2oS"),n("W9HT")),Re=(n("Q9mQ"),n("diRs")),Ne=n("CCdo"),je=n.n(Ne),Me=n("RotF"),Pe=n.n(Me),Be=n("6K3P"),Fe=n.n(Be),Ue=n("0owl"),He=n("ek7X"),Ge=Object(_.a)((function(e){return{exercise:e.exercise,loading:e.loading}}))((function(e){var t,n,r,i=e.exercise,a=(e.loading,e.dispatch),o=e.cb,l=Object(h.a)(Object(h.a)({},Object(E.i)()),{},{page:0,limit:50,one:null,two:null,save_one:null,save_two:null,sort:null,course_group:"",student_id:"",realname:"",save_course_group:"",save_student_id:"",save_realname:""}),p=Object(v.useState)(Object(h.a)({},l)),m=Object(f.a)(p,2),y=m[0],x=m[1],_=Object(v.useState)([]),k=Object(f.a)(_,2),w=k[0],O=k[1],A=Object(v.useState)(!0),T=Object(f.a)(A,2),I=T[0],N=T[1],j=Object(v.useState)(!0),M=Object(f.a)(j,2),P=M[0],B=M[1],F=Object(v.useState)(0),U=Object(f.a)(F,2),H=U[0],G=U[1],z=Object(v.useState)(!1),V=Object(f.a)(z,2),W=V[0],K=(V[1],Object(v.useState)([])),q=Object(f.a)(K,2),Y=q[0],Q=q[1];Object(v.useEffect)((function(){"打回重做"===i.actionTabs.key&&(w=[],J(1))}),[i.actionTabs.key]);var J=function(){var e=Object(c.a)(g.a.mark((function e(t){var n,r;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return 1==t&&(w=[]),N(!0),y.page=t,B(!0),e.next=6,a({type:"exercise/getRedoModal",payload:Object(h.a)(Object(h.a)({},y),{},{score:((null==y?void 0:y.one)||0)+"".concat(null!=y&&y.two?","+(null==y?void 0:y.two):"")})});case 6:(null==(r=e.sent)||null===(n=r.exercise_users)||void 0===n?void 0:n.length)0?b.a.createElement("p",null,"选择班级:"):b.a.createElement("p",null,"暂无分班"),b.a.createElement(R.a.Group,{value:m,onChange:function(e){x(e),A(e.length===l.length)}},l.map((function(e){return b.a.createElement(R.a,{key:e.id,value:e.id},e.name)})))),b.a.createElement("p",{style:{marginBottom:40},className:"c-grey-999 mt40"},"说明:平台目前仅支持java、python、c、c++语言的实训题和编程题的代码查重。")),b.a.createElement("div",{className:Ke.a.footer},b.a.createElement(R.a,{checked:O,onChange:function(e){var t=e.target.checked?l.map((function(e){return e.id})):[];x(t),A(e.target.checked)}},"全选"),b.a.createElement(a.a,{onClick:I},"取消"),b.a.createElement(a.a,{onClick:function(){r(m)},type:"primary"},"确认"))))})),Ye=n("Fzz4"),Qe=(n("DZo9"),n("8z0m")),Je=n("/MfK"),Xe=n("w5pM"),Ze=n("jN4g"),$e=n("xvlK"),et=n("dfu6"),tt=r.a.TabPane,nt=Object(_.a)((function(e){return{exercise:e.exercise,loading:e.loading}}))((function(e){var t,n=e.exercise,i=(e.loading,e.dispatch),a=(Object(E.i)(),Object(E.h)(),U.a.useForm()),o=Object(f.a)(a,1)[0],l=Object(v.useState)({}),p=Object(f.a)(l,2),m=p[0],y=p[1],x=Object(v.useState)("1"),_=Object(f.a)(x,2),k=_[0],w=_[1];return Object(v.useEffect)((function(){"addIp"===n.actionTabs.key&&(o.resetFields(),w("1"))}),[n.actionTabs]),b.a.createElement(u.a,{centered:!0,title:"添加IP范围",visible:"addIp"===n.actionTabs.key,okText:"确认",cancelText:"取消",width:600,bodyStyle:{minHeight:200},onOk:Object(c.a)(g.a.mark((function e(){var t;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.validateFields();case 2:if(m.zz){e.next=8;break}if(m.ip){e.next=8;break}if(t=m.startIP.split(".")[3],!(parseInt(t)>parseInt(m.endIP))){e.next=8;break}return s.b.warn("IP区间段不合法"),e.abrupt("return");case 8:i({type:"exercise/setActionTabs",payload:{key:"insterIp",data:Object(h.a)({},o.getFieldValue()),type:n.actionTabs.type}});case 9:case"end":return e.stop()}}),e)}))),onCancel:function(){i({type:"exercise/setActionTabs",payload:{}})}},b.a.createElement("section",{className:"pl10 pr10"},b.a.createElement(r.a,{activeKey:k,onChange:function(e){w(e),o.resetFields()}},b.a.createElement(tt,{tab:"新增IP地址",key:"1"}),b.a.createElement(tt,{tab:"新增IP范围",key:"2"}),b.a.createElement(tt,{tab:"新增IP规则",key:"3"})),b.a.createElement(U.a,{form:o,className:"pt30",name:"form",layout:"vertical",onValuesChange:function(e,t){y(Object(h.a)({},t))}},"1"===k&&b.a.createElement(U.a.Item,{name:"ip",rules:[{required:!0,message:"请输入IP地址"}],label:"IP地址"},b.a.createElement(ie.a,{open:!1,tokenSeparators:[";",",",";"],size:"large",mode:"tags",style:{width:"100%"},placeholder:"请输入IP地址,可同时添加多个IP地址,中间用英文的分号间隔。",onChange:function(e){o.setFieldsValue({ip:Object(d.a)(e.filter((function(e){return!!Object(et.a)(e)||(s.b.warn("IP不合法,请重新输入"),!1)})))})}})),"2"===k&&b.a.createElement(M.a,{gutter:[20,20]},b.a.createElement(P.a,{flex:"1"},b.a.createElement(U.a.Item,{name:"startIP",rules:[{required:!0,message:"请输入起始IP地址"}],label:"起始IP地址"},b.a.createElement(L.a,{maxLength:15,placeholder:"请输入起始IP地址",onBlur:function(e){var t="";Object(et.a)(e.target.value)?t=e.target.value:(t="",s.b.warn("IP不合法,请重新输入")),o.setFieldsValue({startIP:t})}}))),b.a.createElement(P.a,{flex:"1"},b.a.createElement(U.a.Item,{name:"endIP",rules:[{required:!0,message:"请输入结束IP地址"},{pattern:/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/,message:"请输入0-255的网段"}],label:"结束IP地址"},b.a.createElement(L.a,{onBlur:function(e){},prefix:b.a.createElement("span",{className:"font14"},null===(t=m.startIP)||void 0===t?void 0:t.substring(0,m.startIP.lastIndexOf("."))),maxLength:3,placeholder:"请输入结束IP地址的后三位"})))),"3"===k&&b.a.createElement(M.a,{gutter:[20,20]},b.a.createElement(P.a,{flex:"1"},b.a.createElement(U.a.Item,{name:"zz",rules:[{required:!0,message:"请输入IP规则正则表达式"}],label:"IP规则正则表达式"},b.a.createElement(L.a,{placeholder:"请输入IP规则正则表达式",onBlur:function(e){try{new RegExp(e.target.value,"g")}catch(e){console.log("-----",11111),s.b.info("请输入正确的正则表达式")}}})))))))})),rt=n("2JKx"),it=n.n(rt),at=n("Ot1p"),ot=(n("+BJd"),n("mr32")),st=(r.a.TabPane,ie.a.Option),lt=Object(_.a)((function(e){return{exercise:e.exercise,loading:e.loading}}))((function(e){var t,n,r,i=e.exercise,a=(e.loading,e.data),o=e.disabled,l=e.updata,p=(e.dispatch,Object(E.i)()),m=(Object(E.h)(),U.a.useForm()),y=(Object(f.a)(m,1)[0],Object(v.useState)({})),x=Object(f.a)(y,2),_=(x[0],x[1],Object(v.useState)("1")),k=Object(f.a)(_,2),w=(k[0],k[1],i.workSetting),C=i.commonHeader,O=Object(v.useState)(!1),A=Object(f.a)(O,2),I=A[0],L=A[1],j=Object(v.useState)([]),B=Object(f.a)(j,2),F=B[0],H=B[1],G=Object(v.useState)([]),z=Object(f.a)(G,2),V=z[0],W=z[1],K=Object(v.useState)(!1),q=Object(f.a)(K,2),Y=q[0],Q=q[1],J=Object(v.useState)([]),X=Object(f.a)(J,2),Z=X[0],$=X[1],ee=Object(v.useState)([]),te=Object(f.a)(ee,2),ne=te[0],re=te[1],ae=Object(v.useState)({id:p.categoryId,exercise_group_id:[]}),oe=Object(f.a)(ae,2),se=oe[0],le=(oe[1],Object(v.useState)(0)),ce=Object(f.a)(le,2),ue=ce[0],de=ce[1];Object(v.useMemo)((function(){var e,t,n,r;if(null!=w&&null!==(e=w.published_course_groups)&&void 0!==e&&e.length){var i,a=Object(d.a)(null==w||null===(i=w.published_course_groups)||void 0===i?void 0:i.map((function(e){return Object(d.a)(e.course_group_id)})).flat());H(Object(d.a)(a))}else if(null!=w&&w.published_course_groups){var o;H(Object(d.a)(null==w||null===(o=w.course_groups)||void 0===o?void 0:o.map((function(e){return e.course_group_id}))))}if((null!=w&&null!==(t=w.exercise)&&void 0!==t&&t.group_make_ups||null!=w&&null!==(n=w.exercise)&&void 0!==n&&n.unified_make_up)&&(Q(!0),null!=w&&null!==(r=w.exercise)&&void 0!==r&&r.group_make_ups)){var s,l,c=V;null==w||null===(s=w.exercise)||void 0===s||null===(l=s.group_make_ups)||void 0===l||l.map((function(e,t){c[t]=e.course_group_id||[]})),W(Object(d.a)(c))}}),[w]),Object(v.useEffect)((function(){console.log("groupIds:",F)}),[F]),Object(v.useEffect)((function(){console.log("selectGroupIds:",V)}),[V]);var he=function(){var e=Object(c.a)(g.a.mark((function e(t){var n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(S.K)(Object(h.a)({},se));case 2:n=e.sent,re(Object(d.a)(n.users.map((function(e){return e.key=String(e.id),e})).filter((function(e){var t;return console.log("openKeys",a.group_make_ups[ue].students,ue),null===(t=a.group_make_ups[ue].students)||void 0===t||!t.some((function(t){return t.id===e.id}))}))));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),fe={onChange:function(e,t){$(Object(d.a)(t)),console.log("selectedRowKeys: ".concat(e),"selectedRows: ",t)},getCheckboxProps:function(e){return{disabled:"Disabled User"===e.name,name:e.name}}},pe=function(e){var t,n,r;return!!o||!!(2!==C.exercise_status||null!=w&&null!==(t=w.exercise)&&void 0!==t&&null!==(n=t.group_make_ups)&&void 0!==n&&null!==(r=n[e])&&void 0!==r&&r.course_groups)&&3!==C.exercise_status},me=function(e){return!!o||(2===C.exercise_status?null==w||null===(t=w.exercise)||void 0===t||null===(n=t.group_make_ups)||void 0===n||null===(r=n[e])||void 0===r?void 0:r.is_all:3!==C.exercise_status);var t,n,r};return b.a.createElement(b.a.Fragment,null,b.a.createElement(M.a,null,b.a.createElement(P.a,{span:24},b.a.createElement(M.a,{align:"middle"},b.a.createElement(P.a,{flex:"1"},b.a.createElement("h1",{className:"mt15"},"补考设置 ",b.a.createElement("span",{className:"c-red font14"},"(正式开始补考前,切记修改作业与测验截止时间大于当前时间)"))))),b.a.createElement(P.a,{span:24,className:"mt10"},b.a.createElement(R.a,{checked:a.unified_make_up||(null===(t=a.group_make_ups)||void 0===t?void 0:t.length),disabled:o,onChange:function(e){e.target.checked?a.unified_make_up=!0:(a.unified_make_up=!1,delete a.group_make_ups),Q(e.target.checked)}},b.a.createElement("strong",null,"开启补考")),b.a.createElement("span",{className:"c-grey-c font12"},"(开启后可针对未答卷的学生设置补考,补考与延长截止时间不可共存)"))),Y&&b.a.createElement("section",{className:"ml40"},b.a.createElement(M.a,{align:"middle",className:"mt10"},b.a.createElement(P.a,null,b.a.createElement(T.a,{checked:a.unified_make_up,disabled:o,onClick:function(){a.unified_make_up=!0,delete a.group_make_ups,l(Object(h.a)({},a))}},"所有分班统一补考")),b.a.createElement(P.a,null,b.a.createElement(M.a,{align:"middle"},b.a.createElement(P.a,{className:"ml50"},"补考扣分"),b.a.createElement(P.a,{className:"ml10 mr10"},b.a.createElement(D.a,{min:0,max:100,placeholder:"为空代表不扣分",disabled:o||3!==C.exercise_status,onChange:function(e){a.make_up_score=e,l(Object(h.a)({},a))},value:a.make_up_score,style:{width:150}})),b.a.createElement(P.a,null,"(分)")))),(null===(n=w.course_groups)||void 0===n?void 0:n.length)>0&&b.a.createElement(M.a,{align:"middle",className:"mt10"},b.a.createElement(P.a,null,b.a.createElement(T.a,{disabled:o||3!==C.exercise_status,checked:a.group_make_ups,onClick:function(){var e;delete a.unified_make_up,a.group_make_ups=(null==w||null===(e=w.exercise)||void 0===e?void 0:e.group_make_ups)||[{students:[],course_group_id:[],score:0}],l(Object(h.a)({},a))}},"各班分别补考"))),null===(r=a.group_make_ups)||void 0===r?void 0:r.map((function(e,t){var n,r;return b.a.createElement("div",{key:t},b.a.createElement(M.a,{align:"middle",className:"mt10"},b.a.createElement(P.a,{flex:"100px"},"补考规则",t+1),b.a.createElement(P.a,{className:"ml10"},b.a.createElement(ie.a,{style:{width:307},value:e.course_group_id,mode:"multiple",placeholder:"请选择分班",disabled:pe(t),onChange:function(e,n,r){V[t]=e,a.group_make_ups[t].course_group_id=e,l(Object(h.a)({},a)),W(Object(d.a)(V))}},null==w||null===(n=w.course_groups)||void 0===n?void 0:n.map((function(e,n){var r=[];if(F.includes(e.course_group_id)&&(V.length&&(r=V.filter((function(n,r){return t!==r&&!!n.includes(e.course_group_id)}))),!r.length))return b.a.createElement(st,{value:e.course_group_id,key:n},e.course_group_name)})))),b.a.createElement(P.a,null,b.a.createElement(M.a,{align:"middle"},b.a.createElement(P.a,{className:"ml50"},"补考扣分"),b.a.createElement(P.a,{className:"ml10 mr10"},b.a.createElement(D.a,{value:e.score,min:0,max:100,style:{width:150},placeholder:"为空代表不扣分",disabled:pe(t),onChange:function(e){a.group_make_ups[t].score=e,l(Object(h.a)({},a))}})),b.a.createElement(P.a,null,"(分)")))),b.a.createElement(M.a,{className:"mt20"},b.a.createElement(P.a,{flex:"220px"},b.a.createElement(T.a.Group,{name:"student",value:e.is_all,disabled:me(t),onChange:function(e){var n,r,i;e.target.value?delete a.group_make_ups[t].students:a.group_make_ups[t].students=(null==w||null===(n=w.exercise)||void 0===n||null===(r=n.group_make_ups)||void 0===r||null===(i=r[t])||void 0===i?void 0:i.students)||[];a.group_make_ups[t].is_all=e.target.value,l(Object(h.a)({},a))}},b.a.createElement(T.a,{value:!0},"全部未答学生"),b.a.createElement(T.a,{value:!1},"指定学生"))),b.a.createElement(P.a,{flex:"1"},!a.group_make_ups[t].is_all&&b.a.createElement("div",{onClick:function(){var e;null!==(e=V[t])&&void 0!==e&&e.length?o||(se.exercise_group_id=V[t],L(!0),$([]),de(t),re([]),he({page:1})):s.b.warn("请先选择补考班级")},className:"".concat(o&&"disabledStyle"),style:{minHeight:28,border:"1px solid #ccc",padding:4}},null===(r=e.students)||void 0===r?void 0:r.map((function(t,n){return b.a.createElement(ot.a,{key:n,closable:t.add||C.exercise_status>2,onClose:function(){e.students.splice(n,1),l(Object(h.a)({},a))}},t.name)})))),b.a.createElement(P.a,{flex:"100px",className:"tr"},t>0&&3===C.exercise_status&&b.a.createElement(Je.a,{onClick:function(){a.group_make_ups.splice(t,1),l(Object(h.a)({},a))}}),b.a.createElement(Xe.a,{className:"c-green ml20",onClick:function(){a.group_make_ups.push({students:[],course_group_id:[],score:0,is_all:!0}),l(Object(h.a)({},a))}}))))})),b.a.createElement(u.a,{title:"指定补考学生",visible:I,onCancel:function(){return L(!1)},destroyOnClose:!0,onOk:function(){a.group_make_ups[ue].students=a.group_make_ups[ue].students.concat(Z.map((function(e){return e.add=!0,e}))),L(!1),console.log("data:",a),l(Object(h.a)({},a))}},b.a.createElement(N.a,{columns:[].concat([,{title:"学生姓名",dataIndex:"name"},{title:"分班",dataIndex:"course_group_name"}]),dataSource:Object(d.a)(ne),rowSelection:Object(h.a)({type:"checkbox"},fe),pagination:{pageSize:10,defaultCurrent:1}}))))})),ct=n("m3rI"),ut=L.a.TextArea,dt=Q.a.RangePicker,ht=ie.a.Option,ft=Object(_.a)((function(e){var t=e.exercise,n=e.loading,r=e.globalSetting;return{exercise:t,loading:n.effects,globalSetting:r}}))((function(e){var t,n,r,i,o,l,p,m,x,_,k=e.exercise,w=(e.globalSetting,e.loading,e.dispatch),C=Object(E.i)(),A=(Object(E.h)(),k.workSetting),I=k.commonHeader,L=Object(v.useState)(!0),N=Object(f.a)(L,2),j=N[0],H=N[1],z=Object(v.useState)([]),V=Object(f.a)(z,2),W=(V[0],V[1]),K=Object(v.useState)({}),q=Object(f.a)(K,2),Y=(q[0],q[1],Object(v.useState)([])),J=Object(f.a)(Y,2),ee=(J[0],J[1],Object(v.useState)()),te=Object(f.a)(ee,2),ne=te[0],re=te[1],ae=U.a.useForm(),oe=(Object(f.a)(ae,1)[0],Object(v.useState)([])),se=Object(f.a)(oe,2),le=se[0],ce=se[1],ue=Object(v.useState)({ip_bind:!1,export_page_num:40,ip_limit:null,public_ip:[],inner_ip:[],screen_open:!1,screen_num:3,screen_sec:5,open_camera:!1,identity_verify:!1,open_phone_video_recording:!1,photo_count:5,open_make_up:!1,unified_setting:!1,publish_time:"",end_time:"",group_make_ups:[],unified_make_up:!1,make_up_score:0,send_role:"random",open_time:"",time:"",choice_random:!1,question_random:!1,show_statistic:!1,assistant_auth:!1,answer_open:!1,score_open:!1,answered_open:!0,open_score:!0,open_total_score:!0,file_list:[],show_title:!1,show_body:!1,show_info:!1,show_table:!0,show_user:!1,show_no:!1,show_group:!0,show_desc:!1,description:"",attachment_id:""}),de=Object(f.a)(ue,2),he=de[0],fe=de[1];function pe(){return(pe=Object(c.a)(g.a.mark((function e(){var t;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(y.a)("/api/courses/".concat(null==C?void 0:C.coursesId,"/exercises/overload_alert.json"),{method:"get",params:{course_id:null==C?void 0:C.coursesId}});case 2:t=e.sent,re(null==t?void 0:t.alert);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}C.category=C.categoryId,Object(v.useEffect)((function(){ge()}),[A]),Object(v.useEffect)((function(){w({type:"exercise/getWorkSetting",payload:Object(h.a)({},C)}),Object($.s)()||function(){pe.apply(this,arguments)}()}),[]),Object(v.useEffect)((function(){"insterIp"===k.actionTabs.key&&(k.actionTabs.data.ip?he[k.actionTabs.type]=[].concat(Object(d.a)(he[k.actionTabs.type]||[]),Object(d.a)(k.actionTabs.data.ip)):k.actionTabs.data.zz?he[k.actionTabs.type]=[].concat(Object(d.a)(he[k.actionTabs.type]||[]),[k.actionTabs.data.zz]):he[k.actionTabs.type]=[].concat(Object(d.a)(he[k.actionTabs.type]||[]),["".concat(k.actionTabs.data.startIP,",").concat(k.actionTabs.data.startIP.substring(0,k.actionTabs.data.startIP.lastIndexOf("."))+"."+k.actionTabs.data.endIP)]),fe(Object(h.a)({},he)))}),[k.actionTabs]);var me,ge=function(){var e,t,n,r,i,a,o,s=JSON.parse(JSON.stringify(A));Object.keys(he).map((function(e){var t,n,r,i,a;(he[e]=(null==s||null===(t=s.exercise)||void 0===t?void 0:t[e])||(null==s||null===(n=s.exercise_header)||void 0===n?void 0:n[e]),null!=s&&null!==(r=s.exercise_header)&&void 0!==r&&r[e])?he[e]=null==s||null===(i=s.exercise_header)||void 0===i?void 0:i[e]:he[e]=null==s||null===(a=s.exercise)||void 0===a?void 0:a[e]})),he.file_list=null!=s&&null!==(e=s.exercise_header)&&void 0!==e&&e.attachment_id?[{uid:null==s||null===(t=s.exercise_header)||void 0===t?void 0:t.attachment_id,id:null==s||null===(n=s.exercise_header)||void 0===n?void 0:n.attachment_id,url:null==s||null===(r=s.exercise_header)||void 0===r?void 0:r.photo_url}]:[],le=(null==s||null===(i=s.published_course_groups)||void 0===i?void 0:i.map((function(e){return{course_group_id:e.course_group_id,end_time:e.course_end_time,publish_time:e.course_publish_time}})))||[{}],null==A||null===(a=A.course_groups)||void 0===a||a.map((function(e,t){e.cilckkey="",e.isselect=!1})),null==A||null===(o=A.course_groups)||void 0===o||o.map((function(e,t){var n;null==A||null===(n=A.published_course_groups)||void 0===n||n.map((function(t,n){var r;null!=t&&null!==(r=t.course_group_id)&&void 0!==r&&r.includes(null==e?void 0:e.course_group_id)&&(e.cilckkey=n,e.isselect=!0)}))})),console.log("data:",he,A),fe(he),ce(le)},ve=function(e){Object(S.cb)(Object(h.a)({},e)).then((function(e){0===e.status&&(s.b.success("更新成功"),w({type:"exercise/getCommonHeader",payload:Object(h.a)({},C)}),w({type:"exercise/getWorkSetting",payload:Object(h.a)({},C)}),H(!0))}))},be=function(e){return e&&e1&&(null==e||!e.new)||!(null==A||null===(n=A.published_course_groups)||void 0===n||!n.some((function(t){return t.course_group_id===e.course_group_id})))&&j},Ee={disabled:j,multiple:!1,listType:"picture-card",onPreview:function(e){Z.a.publish("preview-image",e.thumbUrl)},withCredentials:!0,fileList:he.file_list,beforeUpload:function(e){return!(e.size/1024>200)||(s.b.error("该文件无法上传。超过文件大小限制(200KB),建议上传到百度云等其它共享工具里,然后再txt文档里给出链接以及共享密码并上传"),!1)},action:"".concat(ct.a.API_SERVER,"/api/attachments.json"),onChange:function(e){var t=e.fileList.filter((function(e){return!!e.status}));he.file_list=t,fe(Object.assign({},he))},onRemove:(me=Object(c.a)(g.a.mark((function e(t){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return he.file_list=[],fe(Object.assign({},he)),e.abrupt("return",!0);case 3:case"end":return e.stop()}}),e)}))),function(e){return me.apply(this,arguments)})};return b.a.createElement("section",{className:[it.a.form,"mb50 bg-white"].join(" ")},b.a.createElement(M.a,null,b.a.createElement(P.a,{span:24},b.a.createElement(M.a,{align:"middle"},b.a.createElement(P.a,{flex:"1"},b.a.createElement("h1",{className:"mt15"},"发布设置")),b.a.createElement(P.a,null,Object($.c)()&&j&&b.a.createElement(a.a,{type:"primary",size:"middle",ghost:!0,onClick:function(){return H(!1)}},"编辑设置")))),(null===(t=A.course_groups)||void 0===t?void 0:t.length)>0&&b.a.createElement(P.a,{span:24,className:"mt10"},b.a.createElement(R.a,{checked:he.unified_setting,disabled:j||(null==A||null===(n=A.exercise)||void 0===n?void 0:n.exercise_status)>1,onChange:function(){var e;(null==A||null===(e=A.exercise)||void 0===e?void 0:e.exercise_status)>1?s.b.error("已发布,不能再修改分班统一发布"):(he.unified_setting=!he.unified_setting,!1===he.unified_setting&&""==le&&ce(le.concat({})),fe(Object.assign({},he)))}},b.a.createElement("strong",null,"分班统一发布")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中则所有分班使用相同的发布设置,仅课堂管理员可修改;否则各个分班允许单独设置)")),b.a.createElement("span",{style:{color:"red"}},(null==A||null===(r=A.exercise)||void 0===r?void 0:r.exercise_status)>1&&ne&&"当前课堂中学生人数较多,为提供更好的服务,我们将进行服务器扩容,建议您在30分钟后发起作业与测验。您也可以立即发布。")),he.unified_setting&&b.a.createElement("div",null,b.a.createElement(M.a,{align:"middle",className:"mt25 pl30"},b.a.createElement(P.a,null,"发布时间:"),b.a.createElement(P.a,{className:"ml5"},b.a.createElement(B.a,{placement:"bottom",title:(null==A||null===(i=A.exercise)||void 0===i?void 0:i.exercise_status)>1&&"发布时间已过,不能修改"},b.a.createElement(Q.a,{style:{width:170},placeholder:"请选择发布时间",showTime:{format:"HH:mm",defaultValue:G()(Object(O.d)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabledDate:be,disabled:j||(null==A||null===(o=A.exercise)||void 0===o?void 0:o.exercise_status)>1,value:he.publish_time?G()(he.publish_time):"",allowClear:!1,onChange:function(e,t){he.publish_time=t,he.end_time||(he.end_time=G()(e).add(1,"month").format("YYYY-MM-DD HH:mm:ss")),fe(Object.assign({},he))}}))),b.a.createElement(P.a,null,b.a.createElement("span",{className:"c-grey-c ml10"},"(学生开始答题时间)"))),b.a.createElement(M.a,{align:"middle",className:"mt25 pl30"},b.a.createElement(P.a,null,"截止时间:"),b.a.createElement(P.a,{className:"ml5"},b.a.createElement(Q.a,{style:{width:170},placeholder:"请选择截止时间",showTime:{format:"HH:mm",defaultValue:G()(Object(O.d)(),"HH:mm")},format:"YYYY-MM-DD HH:mm",disabled:j,allowClear:!1,value:he.end_time?G()(he.end_time):"",disabledDate:function(e){return he.end_time?e&&(e1?null!=n&&n.new?[!1,!1]:[!0,!1]:null!=A&&null!==(i=A.published_course_groups)&&void 0!==i&&i.some((function(e){return e.course_group_id===n.course_group_id}))&&(j||(null==A||null===(a=A.exercise)||void 0===a?void 0:a.exercise_status)>1)?[!0,!1]:[!1,!1]),disabledDate:be,style:{width:400},placeholder:["请选择发布时间","请选择截止时间"],showTime:{format:"HH:mm",defaultValue:[G()(Object(O.d)(),"HH:mm"),G()(Object(O.d)(),"HH:mm")]},format:"YYYY-MM-DD HH:mm",size:"large",value:e.publish_time&&[G()(e.publish_time),e.end_time&&G()(e.end_time)],onChange:function(n,r){ye(e)||(le[t].publish_time=r[0]),le[t].end_time=r[1],ce(Object(d.a)(le))}})),!j&&b.a.createElement(P.a,{span:4},t>0&&(null==e?void 0:e.new)&&b.a.createElement(Je.a,{onClick:function(){le=le.filter((function(e,n){return t!==n})),ce(Object(d.a)(le))}}),b.a.createElement(Xe.a,{className:"c-green ml20",onClick:function(){ce(le.concat({new:!0}))}}))));var n,r,i,a}))),b.a.createElement(Ae.a,null),(3===(null==I?void 0:I.exercise_status)||he.open_make_up)&&b.a.createElement(b.a.Fragment,null,b.a.createElement(lt,{data:he,disabled:j,updata:fe}),b.a.createElement(Ae.a,null)),b.a.createElement(M.a,null,b.a.createElement(P.a,null,b.a.createElement("strong",null,"答题设置")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement("span",null,"答题时长:"),b.a.createElement(D.a,{size:"large",disabled:j,min:1,value:-1===he.time?null:he.time,onChange:function(e){he.time=e,fe(Object(h.a)({},he))}}),b.a.createElement("span",{className:"ml10"},"分钟"),b.a.createElement("span",{className:"c-grey-c font12 ml10"},"(空值,代表不限时长;非空值,代表限制时长,从学生首次答题开始持续计时)")),(null==I?void 0:I.is_random)&&b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement("span",null,"分发规则:"),b.a.createElement(T.a.Group,{disabled:j,value:he.send_role,onChange:function(e){he.send_role=e.target.value,fe(Object(h.a)({},he))}},b.a.createElement(T.a,{value:"random"},"默认随机分发"),b.a.createElement(T.a,{value:"ip"},"根据IP地址分发"),b.a.createElement(T.a,{value:"student_id"},"根据学号分发"))),!(null!=I&&I.is_random)&&b.a.createElement(b.a.Fragment,null,b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.question_random,disabled:j,onChange:function(e){he.question_random=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"题目顺序随机打乱")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则学生答题时,题目顺序按照题型随机显示)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.choice_random,disabled:j,onChange:function(e){he.choice_random=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"选项顺序随机打乱")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则学生答题时,选项顺序随机显示)")))),b.a.createElement(Ae.a,null),b.a.createElement(b.a.Fragment,null,b.a.createElement(M.a,null,b.a.createElement(P.a,null,b.a.createElement("strong",null,"防作弊设置")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.identity_verify,disabled:!Object($.o)()||j,onChange:function(e){he.identity_verify=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"作业与测验前人脸身份核验")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则学生参加作业与测验前将会要求调用摄像头并完成拍照采集,教师/助教审核通过后学生并开启手机录制视频则可以开始作业与测验)"),b.a.createElement("br",null),b.a.createElement("span",{className:"c-grey-c font12"},"如开启,教师/助教可以在该进行中的详情页中对学生人脸身份进行审核。")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.open_camera,disabled:j,onChange:function(e){he.time?(he.open_camera=e.target.checked,he.photo_count=he.photo_count||5,fe(Object.assign({},he))):s.b.error("不限时长的作业与测验不可开启摄像头,请填写作业与测验时长")}},b.a.createElement("strong",null,"进行中启用拍照监考")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则学生参加作业与测验时将会要求调用摄像头)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement("span",null,"本场作业与测验最多拍摄:"),b.a.createElement(D.a,{size:"large",disabled:j||!he.open_camera,min:1,defaultValue:5,max:Object($.v)()?1e3:10,value:he.photo_count,onChange:function(e){he.photo_count=e,fe(Object(h.a)({},he))}}),b.a.createElement("span",{className:"ml10"},"(次)"),b.a.createElement("span",{className:"c-grey-c font12 ml10"},"(请填写不大于10的正整数)")),b.a.createElement(P.a,{className:"c-grey-c font12 pl30 mt10"},"如开启防作弊设置,学生必须同意才可以参加作业与测验。"),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.screen_open,disabled:j,onChange:function(e){he.screen_open=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"切屏后强制交卷"))),he.screen_open&&b.a.createElement(P.a,{span:24,className:"mt15 pl30 font14"},b.a.createElement("span",{className:"c-grey-333 mr10"},"作业与测验过程中切换页面超过"),b.a.createElement(D.a,{size:"large",disabled:j,min:0,defaultValue:3,max:10,value:he.screen_num,onChange:function(e){he.screen_num=e,fe(Object(h.a)({},he))}}),b.a.createElement("span",{className:"c-grey-333 mr10"},"(次)后将被强制交卷,切换到其他页面"),b.a.createElement(D.a,{size:"large",disabled:j,min:0,defaultValue:5,max:60,value:he.screen_sec,onChange:function(e){he.screen_sec=e,fe(Object(h.a)({},he))}}),b.a.createElement("span",{className:"c-grey-333"},"(秒)后即判定为切屏。")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:"no"!==he.ip_limit,disabled:j,onChange:function(e){"no"===he.ip_limit?he.ip_limit="pub":he.ip_limit="no",fe(Object.assign({},he))}},b.a.createElement("strong",null,"限制作业与测验访问IP"),b.a.createElement("span",{className:"font12 c-grey-c"},"(不在IP范围中的将无法参加此作业与测验)"))),"no"!==he.ip_limit&&b.a.createElement(P.a,{className:"mt15 ml50"},b.a.createElement("span",{className:"c-red"},"(只允许在Chrome谷歌浏览器作答,并且要求学生安装WebRTC Leak Prevent插件)"),b.a.createElement("a",{className:"c-blue",target:"_blank",href:"https://www.educoder.net/forums/4478"},"如何安装WebRTC Leak Prevent插件?"))),"no"!==he.ip_limit&&b.a.createElement(b.a.Fragment,null,b.a.createElement(M.a,{className:"mt15 ml50 ".concat(it.a.ipWrp)},b.a.createElement(P.a,null,b.a.createElement("span",null,"公网IP地址范围:")),b.a.createElement(P.a,null,!(null!==(l=he.public_ip)&&void 0!==l&&l.length)&&b.a.createElement("span",null,"当前还未设置IP范围"),null===(p=he.public_ip)||void 0===p?void 0:p.map((function(e,t){return b.a.createElement("span",{className:it.a.ipItem},b.a.createElement("i",null,e," "),!j&&b.a.createElement(Ze.a,{onClick:function(){u.a.confirm({okText:"确定",cancelText:"取消",title:"确定删除该IP吗?",onOk:function(){he.public_ip.splice(t,1),fe(Object(h.a)({},he))}})},className:" c-grey-c",size:20}))})),Object($.c)()&&!j&&b.a.createElement("span",{onClick:function(){w({type:"exercise/setActionTabs",payload:{key:"addIp",type:"public_ip"}})},className:"font14 c-blue ml10"}," ",b.a.createElement("i",{className:"iconfont icon-xuanyong font14"})," 添加"))),b.a.createElement(M.a,{className:"mt15 ml50 ".concat(it.a.ipWrp)},b.a.createElement(P.a,null,b.a.createElement("span",null,"内网IP地址范围:")),b.a.createElement(P.a,null,!(null!==(m=he.inner_ip)&&void 0!==m&&m.length)&&b.a.createElement("span",null,"当前还未设置IP范围"),null===(x=he.inner_ip)||void 0===x?void 0:x.map((function(e,t){return b.a.createElement("span",{className:it.a.ipItem},b.a.createElement("i",null,e," "),!j&&b.a.createElement(Ze.a,{onClick:function(){j||u.a.confirm({title:"确定删除该IP吗?",onOk:function(){he.inner_ip.splice(t,1),fe(Object(h.a)({},he))}})},className:" c-grey-c",size:20}))})),Object($.c)()&&!j&&b.a.createElement("span",{className:"font14 c-blue ml10",onClick:function(){w({type:"exercise/setActionTabs",payload:{key:"addIp",type:"inner_ip"}})}}," ",b.a.createElement("i",{className:"iconfont icon-xuanyong font14"})," 添加")))),b.a.createElement(M.a,null,b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.ip_bind,disabled:j,onChange:function(e){he.ip_bind=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"IP绑定"),b.a.createElement("span",{className:"font12 c-grey-c"},"(作业与测验开始后,学生的账号将自动与机器IP绑定。如遇特殊情况,教师/助教可以解除学生的IP绑定)")))),b.a.createElement(Ae.a,null)),b.a.createElement(M.a,null,b.a.createElement(P.a,null,b.a.createElement("strong",null,"属性设置")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.score_open,disabled:j,onChange:function(e){he.score_open=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"公开成绩")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则在作业与测验截止时间之后,已提交答题的学生可以查看其它学生的成绩,否则只能查看自己的成绩;但未选中“查看总成绩”时自己和其他同学成绩均不可见)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.answer_open,disabled:j,onChange:function(e){he.answer_open=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"公开答案")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则在作业与测验截止时间之后,已提交答题的学生可以查看作业与测验题目的答案,否则不能查看)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30 "},b.a.createElement(R.a,{checked:he.show_statistic,disabled:j,onChange:function(e){he.show_statistic=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"公开统计")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则在作业与测验截止时间之后,已提交答题的学生可以查看答题统计,否则不能查看)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.open_total_score,disabled:j,onChange:function(e){he.open_total_score=e.target.checked,!1===e.target.checked&&(he.open_score=e.target.checked),fe(Object.assign({},he))}},b.a.createElement("strong",null,"查看总成绩")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则学生交卷后能看到自己的总成绩及每个小题的得分,否则总成绩和小题得分均不能查看)")),he.open_total_score&&b.a.createElement(P.a,{style:{marginLeft:20},span:24,className:"mt15 pl30"},b.a.createElement("strong",null,"公开时间"),b.a.createElement(Q.a,{format:"YYYY-MM-DD HH:mm:ss",style:{margin:"0px 15px"},disabled:j,onChange:function(e,t){he.open_time=t,fe(Object.assign({},he))},value:he.open_time?G()(he.open_time):"",disabledDate:be,showTime:{defaultValue:G()("00:00:00","HH:mm:ss")}}),b.a.createElement("span",{className:"c-grey-c font12"},"(可设置成绩公布的时间;未设置时,学生交卷后可立即查看个人成绩)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.open_score,disabled:!he.open_total_score||j,onChange:function(e){he.open_score=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"查看小题得分")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则学生交卷后能看到自己每个小题的得分详情,否则不能查看。选中本项前必须先选中“查看总成绩”)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.answered_open,disabled:j,onChange:function(e){he.answered_open=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"查看已答作业与测验")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则学生交卷后能查看作业与测验和成绩;否则只能查看成绩,不能查看作业与测验)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30 pb40"},b.a.createElement(R.a,{checked:he.assistant_auth,disabled:j,onChange:function(e){he.assistant_auth=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"助教查看答案")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中,则允许助教查看答案)"))),b.a.createElement(Ae.a,null),Object($.c)()&&b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"600px"},b.a.createElement(M.a,null,b.a.createElement(P.a,null,b.a.createElement("strong",null,"作业与测验导出格式设置")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement("strong",null,"卷头左角标"),b.a.createElement("span",{className:"c-grey-c font12"},"(位于首页左上角,请以图片上传;大小请勿超过200k,尺寸为700x500)")),b.a.createElement("div",{className:"mt15 pl30"},b.a.createElement(Qe.a,Ee,!(null!==(_=he.file_list)&&void 0!==_&&_.length)&&b.a.createElement("div",null,b.a.createElement($e.a,null),b.a.createElement("div",{style:{marginTop:8}},"上传")))),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.show_title,disabled:j,onChange:function(e){he.show_title=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"展示作业与测验标题")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中则在卷头展示作业与测验标题)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30 "},b.a.createElement(R.a,{checked:he.show_body,disabled:j,onChange:function(e){he.show_body=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"展示作业与测验内容")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中则在卷头展示作业与测验内容,即本作业与测验所属课程名称)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.show_info,disabled:j,onChange:function(e){he.show_info=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"展示题量、分值、作业与测验时长")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中则在卷头展示题量、分值、作业与测验时长信息)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.show_table,disabled:j,onChange:function(e){he.show_table=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"展示得分、评分表格")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中则给出学生的得分、评分表格)")),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement("strong",null,"密封线区域设置"),b.a.createElement(R.a,{className:"pl8",checked:he.show_user,disabled:j,onChange:function(e){he.show_user=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"姓名")),b.a.createElement(R.a,{checked:he.show_no,disabled:j,onChange:function(e){he.show_no=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"学号")),b.a.createElement(R.a,{checked:he.show_group,disabled:j,onChange:function(e){he.show_group=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"专业班级"))),Object($.o)()&&b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement("span",null,"每页导出最大试题数:"),b.a.createElement(D.a,{size:"large",min:1,value:he.export_page_num?he.export_page_num:40,onChange:function(e){he.export_page_num=e,fe(Object(h.a)({},he))}}),b.a.createElement("span",{className:"ml10"},"题")),b.a.createElement("span",{className:"c-grey-c font12 pl30 pt10"},"(勾选项将会出现在首页左侧密封线内,不选则代表不设置密封区)"),b.a.createElement(P.a,{span:24,className:"mt15 pl30"},b.a.createElement(R.a,{checked:he.show_desc,disabled:j,onChange:function(e){he.show_desc=e.target.checked,fe(Object.assign({},he))}},b.a.createElement("strong",null,"作业与测验说明")),b.a.createElement("span",{className:"c-grey-c font12"},"(选中开启文本编辑器,可输入500字以内的作业与测验说明)")),he.show_desc&&b.a.createElement("div",{className:"mt15 pl30 pb40"},j?b.a.createElement(ut,{style:{height:150,width:550},disabled:!0,value:he.description}):b.a.createElement(at.a,{width:550,height:150,defaultValue:he.description,id:"exercise-detail-config-exam-description-id",onChange:function(e){he.description=e,fe(Object.assign({},he))}})))),b.a.createElement(P.a,{flex:1,className:"pt40 mb20"},b.a.createElement("div",{className:"pb10"},"示例图片预览:"),b.a.createElement("img",{src:Se.o}))),!j&&b.a.createElement(P.a,{className:"mb50 pb10 btn-w120"},b.a.createElement(a.a,{type:"primary",size:"large",onClick:function(){return function(){var e,t,n,r,i,a=JSON.parse(JSON.stringify(he));if(a.categoryId=C.categoryId,a.publish_time_groups=le,a.attachment_id=(null===(e=a.file_list)||void 0===e||null===(t=e[0])||void 0===t||null===(n=t.response)||void 0===n?void 0:n.id)||null,delete a.file_list,he.unified_setting){if(!he.publish_time||!he.end_time)throw s.b.error("发布截止时间不能为空"),new String("发布截止时间不能为空")}else{if(!le.length)return void s.b.warn("提交失败:分班发布设置不能为空");delete a.publish_time,delete a.end_time,le.map((function(e){var t;if(!e.course_group_id||null===(t=e.course_group_id)||void 0===t||!t.length)throw s.b.error("分班不能为空"),new String("分班不能为空");if(!e.publish_time||!e.end_time)throw s.b.error("发布截止时间不能为空"),new String("发布截止时间不能为空")}))}if(he.open_camera&&he.photo_count<1)throw s.b.error("请填写本场作业与测验最大拍摄次数"),new String("请填写本场作业与测验最大拍摄次数");if(!("no"===he.ip_limit||null!==(r=he.public_ip)&&void 0!==r&&r.length||null!==(i=he.inner_ip)&&void 0!==i&&i.length))throw s.b.error("请填写公网IP或内网IP地址"),new String("请填写内网IP地址");if(he.open_camera||he.screen_open)var o=u.a.confirm({title:"作业与测验说明",className:"custom-modal-divider",icon:null,width:750,content:b.a.createElement("div",{className:"font16 p20"},he.open_camera&&b.a.createElement(M.a,{align:"",justify:"start",className:"mt20"},b.a.createElement(P.a,{flex:"24px"},b.a.createElement("span",{className:"iconfont icon-kaiqishexiangtou c-blue mr20 font24"})),b.a.createElement(P.a,{flex:"1"},"您已开启进行中摄像防作弊功能,",b.a.createElement("span",{className:"c-red"},"这需要调用学生用户的摄像设备"),"。Educoder平台将会严格保护所有学生的照片和视频,并承诺不在本平台以外使用。",b.a.createElement("br",null),"请确认:为严格监督作业与测验以获得公平,您同意并和要求Educoder平台在本次进行中调用学生用户的摄像设备并获取学生的影像信息。")),he.screen_open&&b.a.createElement(M.a,{justify:"start",className:"mt20"},b.a.createElement(P.a,{flex:"24px",className:"mr20"},b.a.createElement("span",{className:"iconfont icon-kaiqifangqieping c-blue font24"})),b.a.createElement(P.a,{flex:"1"},"您已开启进行中防切屏功能,这项功能暂时仅支持谷歌、火狐浏览器。 请确保:在正式开始作业与测验前通知全体学生,使用 ",b.a.createElement("img",{width:"26",src:Se.g})," ",b.a.createElement("span",{className:"c-red"},"谷歌浏览器"),"或",b.a.createElement("img",{width:"26",src:Se.p})," ",b.a.createElement("span",{className:"c-red"},"火狐浏览器"),"进行作业与测验。")),b.a.createElement("p",{className:"ml40 mt40"},b.a.createElement(R.a,{onChange:function(e){return o.update({okButtonProps:{disabled:!e.target.checked}})}},"我已阅读"))),onOk:function(){ve(a)},okButtonProps:{disabled:!0}});else ve(a)}()}},"提交"),b.a.createElement(a.a,{onClick:function(){H(!0),ge()},type:"primary",size:"large",ghost:!0,className:"ml20"},"取消")),b.a.createElement(X.a,null),b.a.createElement(nt,null))})),pt=(n("MXD1"),n("CFYs")),mt=n("9Bee"),gt=n("51gm"),vt=n.n(gt),bt={0:"单选题",1:"多选题",2:"判断题",3:"填空题",4:"问答题",5:"实训题",6:"编程题",7:"接龙题"},yt={1:"满分作答",2:"部分得分作答",3:"零分作答",4:"未批"},Et=Object(_.a)((function(e){return{exercise:e.exercise,loading:e.loading.effects}}))((function(e){var t,n,r=e.exercise,i=e.loading,a=e.dispatch,o=Object(E.i)(),s=Object(v.useState)(Object(h.a)(Object(h.a)({},o),{sort:"asc",page:1,limit:10})),l=Object(f.a)(s,2),u=l[0],d=l[1],p=(Object(E.h)(),r.statisticsList),m=Object(v.useState)({}),y=Object(f.a)(m,2),x=y[0],_=(y[1],Object(v.useState)([])),k=Object(f.a)(_,2),w=k[0],C=k[1],S=Object(v.useState)(""),A=Object(f.a)(S,2),T=(A[0],A[1],Object(v.useState)("")),D=Object(f.a)(T,2),L=(D[0],D[1],U.a.useForm()),j=Object(f.a)(L,1)[0],B=[{title:"提交率",dataIndex:"commit_percent",align:"center",render:function(e){return b.a.createElement("span",null,0===e?0:(100*e).toFixed(2),"%")}},{title:"最低分",dataIndex:"min_score",align:"center",render:function(e){return b.a.createElement("span",null,e,"分")}},{title:"最高分",dataIndex:"max_score",align:"center",render:function(e){return b.a.createElement("span",{className:"c-orange"},e,"分")}},{title:"平均分",dataIndex:"average_score",align:"center",render:function(e){return b.a.createElement("span",null,e,"分")}},{title:"不及格(得分 低于60%)",dataIndex:"fail_counts",align:"center",render:function(e){return b.a.createElement("span",null,e,"人")}},{title:"及格(得分60%~70%)",dataIndex:"pass_counts",align:"center",render:function(e){return b.a.createElement("span",null,e,"人")}},{title:"良好(得分70%~90%)",dataIndex:"good_counts",align:"center",render:function(e){return b.a.createElement("span",null,e,"人")}},{title:"优秀(得分90%~100%)",dataIndex:"best_counts",align:"center",render:function(e){return b.a.createElement("span",{className:"c-orange"},e,"人")}}],H=function(){var e=Object(c.a)(g.a.mark((function e(){var t;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a({type:"exercise/getExerciseStatistics",payload:Object(h.a)({},u)});case 2:null!=(t=e.sent)&&t.exercise_counts&&C([t.exercise_counts]);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(v.useEffect)((function(){H()}),[u.coursesId]),b.a.createElement(b.a.Fragment,null,b.a.createElement("section",{className:"minH500 bg-white"},b.a.createElement("aside",{className:"pt20"},b.a.createElement(U.a,{form:j,onChange:function(){var e=Object.assign({},j.getFieldValue());Object.keys(e).map((function(t){e[t].includes("all")?(delete u[t],j.setFieldsValue(Object(F.a)({},t,"all"))):(u[t]=e[t],j.setFieldsValue(Object(F.a)({},t,u[t])))})),u.page=1,u.limit=10,H()},initialValues:(t={},Object(F.a)(t,"commit_status","all"),Object(F.a)(t,"exercise_group_id","all"),Object(F.a)(t,"review","all"),t)},b.a.createElement(U.a.Item,{name:"exercise_group_id"},b.a.createElement(R.a.Group,{style:{width:"100%"}},b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:"80px",className:"font14"},"分班情况:"),b.a.createElement(P.a,{flex:"80px"},b.a.createElement(R.a,{value:"all",checked:!x.course_group},"全部")),b.a.createElement(P.a,{flex:"1",className:vt.a.wrap},p.course_groups&&p.course_groups.map((function(e,t){return b.a.createElement(R.a,{value:e.exercise_group_id,key:t},e.exercise_group_name,"(",e.exercise_group_students,")")})))))))),b.a.createElement(N.a,{className:"mt30",loading:i["exercise/getExerciseStatistics"],pagination:!1,dataSource:w,columns:B}),b.a.createElement("div",{className:vt.a.title},b.a.createElement(M.a,{align:"middle",style:{height:"100%"},className:"ml5 mr5"},b.a.createElement(P.a,{flex:1,className:"font16"},"统计详情"),b.a.createElement(P.a,{className:"font16"},b.a.createElement("span",{className:"current",onClick:function(){u.sort="desc"===u.sort?"asc":"desc",u.sort_by="cost_time",console.log("xx params.sort: ",u.sort),d(Object(h.a)({},u)),H()}},b.a.createElement("span",null,"平均完成时间"),b.a.createElement("p",{className:"edu-sorter current ".concat("cost_time"===u.sort_by?u.sort:"")},b.a.createElement("span",{className:"iconfont icon-sanjiaoxing-up"}),b.a.createElement("span",{className:"iconfont icon-sanjiaoxing-down"})))),b.a.createElement(P.a,{className:"font16 ml20 mr20"},b.a.createElement("span",{className:"current",onClick:function(){u.sort="desc"===u.sort?"asc":"desc",u.sort_by="right_code_count",console.log("xx params.sort: ",u.sort),d(Object(h.a)({},u)),H()}},b.a.createElement("span",null,"平均正确代码行数"),b.a.createElement("p",{className:"edu-sorter current ".concat("right_code_count"===u.sort_by?u.sort:"")},b.a.createElement("span",{className:"iconfont icon-sanjiaoxing-up"}),b.a.createElement("span",{className:"iconfont icon-sanjiaoxing-down"})))),b.a.createElement(P.a,{className:"font16"},b.a.createElement("span",{className:"current",onClick:function(){u.sort="desc"===u.sort?"asc":"desc",u.sort_by="",console.log("xx params.sort: ",u.sort),d(Object(h.a)({},u)),H()}},b.a.createElement("span",null,"正确率"),b.a.createElement("p",{className:"edu-sorter current ".concat(""===u.sort_by?u.sort:"")},b.a.createElement("span",{className:"iconfont icon-sanjiaoxing-up"}),b.a.createElement("span",{className:"iconfont icon-sanjiaoxing-down"})))))),b.a.createElement(Le.a,{spinning:i["exercise/getExerciseStatistics"]},b.a.createElement("div",{className:"minH200"},null==p||null===(n=p.commit_results)||void 0===n?void 0:n.map((function(e,t){var n;return b.a.createElement("aside",{key:t,className:"font14 c-black mt30"},b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:1},e.ques_position,".",bt[e.ques_type]),6===e.ques_type&&b.a.createElement(b.a.Fragment,null,b.a.createElement(P.a,null,"平均正确代码行数:",b.a.createElement("span",{className:"c-orange"},e.right_code_count)),b.a.createElement(P.a,{className:"ml20 mr20"},"平均完成时间:",b.a.createElement("span",{className:"c-orange"},e.cost_time))),b.a.createElement(P.a,null,"正确率 ",b.a.createElement("span",{className:"c-orange"},e.right_percent,"%"))),b.a.createElement("div",null,b.a.createElement(mt.a,{value:e.ques_title})),b.a.createElement("div",{className:"mt20",style:{display:5===e.ques_type?"none":""}},b.a.createElement(M.a,{className:"c-light-black ",gutter:[24,20]},b.a.createElement(P.a,{flex:1},"选项"),b.a.createElement(P.a,{flex:"60px",className:"tc"},"小计"),b.a.createElement(P.a,{flex:"200px"},"百分比"))),b.a.createElement(Ae.a,{style:{margin:0,marginBottom:20,display:5===e.ques_type?"none":""}}),7===(null==e?void 0:e.ques_type)&&(null==e?void 0:e.sub_exercise_questions.map((function(t,n){var r;return b.a.createElement("div",null,b.a.createElement("div",{style:{marginBottom:10,display:"flex",justifyContent:"space-between"}},b.a.createElement(P.a,null,b.a.createElement("span",null,t.ques_title)),b.a.createElement(P.a,null,"正确率 ",b.a.createElement("span",{className:"c-orange"},t.right_percent,"%"))),null==t||null===(r=t.ques_details)||void 0===r?void 0:r.map((function(t,n){return b.a.createElement(M.a,{key:n,gutter:[24,24],className:"font14 c-black"},b.a.createElement(P.a,{flex:1},b.a.createElement(M.a,{style:{alignItems:"center"}},2===e.ques_type||3===e.ques_type||4===e.ques_type?"":b.a.createElement(P.a,null,O.m[n],". "),4===e.ques_type?b.a.createElement(P.a,{flex:1,className:"ml10"},b.a.createElement(mt.a,{value:yt[t.choice_text]})):b.a.createElement(P.a,{flex:1,className:"ml10"},b.a.createElement(mt.a,{value:"wrong"===t.choice_text?"填写了错误答案":t.choice_text})))),b.a.createElement(P.a,{flex:"60px",className:"tc"},b.a.createElement("span",{className:t.choice_right_boolean&&"c-green"},t.choice_users_count||0)),b.a.createElement(P.a,{flex:"200px"},b.a.createElement(pt.a,{status:"active",strokeColor:"#2abd8b",percent:(100*t.choice_percent).toFixed(),width:200})))})),b.a.createElement(Ae.a,{style:{margin:0,marginBottom:20}}))}))),(null==e?void 0:e.ques_type)<7&&(null==e||null===(n=e.ques_details)||void 0===n?void 0:n.map((function(t,n){return 5===e.ques_type?b.a.createElement("div",{className:"mt20"},b.a.createElement(M.a,{key:n,gutter:[24,24],className:"font14 c-black"},b.a.createElement(P.a,{flex:1},t.challenge_position,".",t.challenge_name),b.a.createElement(P.a,null,"正确率 ",b.a.createElement("span",{className:"c-orange"},t.challenge_percent,"%"))),b.a.createElement("div",null,b.a.createElement(M.a,{className:"c-light-black ",gutter:[24,20]},b.a.createElement(P.a,{flex:1},"选项"),b.a.createElement(P.a,{flex:"60px",className:"tc"},"小计"),b.a.createElement(P.a,{flex:"200px"},"百分比"))),b.a.createElement(Ae.a,{style:{margin:0,marginBottom:20}}),null==t?void 0:t.challenge_details.map((function(e){return b.a.createElement(M.a,{key:n,gutter:[24,24],className:"font14 c-black"},b.a.createElement(P.a,{flex:1},b.a.createElement(M.a,null,b.a.createElement(P.a,{flex:1,className:"ml10"},b.a.createElement(mt.a,{value:yt[e.choice_text]})))),b.a.createElement(P.a,{flex:"60px",className:"tc"},b.a.createElement("span",{className:e.choice_right_boolean&&"c-green"},e.choice_users_count||0)),b.a.createElement(P.a,{flex:"200px"},b.a.createElement(pt.a,{status:"active",strokeColor:"#2abd8b",percent:(100*e.choice_percent).toFixed(),width:200})))})),b.a.createElement(M.a,{className:"",gutter:[24,20]},b.a.createElement(P.a,{className:"ml10",flex:1},"有效填写量"),b.a.createElement(P.a,{flex:"60px",className:"tc"},e.effictive_counts),b.a.createElement(P.a,{flex:"200px"})),b.a.createElement(Ae.a,{style:{margin:0,marginBottom:20}})):b.a.createElement(M.a,{key:n,gutter:[24,24],className:"font14 c-black"},b.a.createElement(P.a,{flex:1},b.a.createElement(M.a,null,2===e.ques_type||3===e.ques_type||4===e.ques_type?"":b.a.createElement(P.a,null,O.m[n],". "),4===e.ques_type?b.a.createElement(P.a,{flex:1,className:"ml10"},b.a.createElement(mt.a,{value:yt[t.choice_text]})):b.a.createElement(P.a,{flex:1,className:"ml10"},b.a.createElement(mt.a,{value:"wrong"===t.choice_text?"填写了错误答案":t.choice_text})))),b.a.createElement(P.a,{flex:"60px",className:"tc"},b.a.createElement("span",{className:t.choice_right_boolean&&"c-green"},t.choice_users_count||0)),b.a.createElement(P.a,{flex:"200px"},b.a.createElement(pt.a,{status:"active",strokeColor:"#2abd8b",percent:(100*t.choice_percent).toFixed(),width:200})))}))),b.a.createElement(M.a,{style:{display:5===e.ques_type?"none":""},className:"",gutter:[24,20]},b.a.createElement(P.a,{className:2===e.ques_type||3===e.ques_type||4===e.ques_type?"ml10":"",flex:1},"有效填写量"),b.a.createElement(P.a,{flex:"60px",className:"tc"},e.effictive_counts),b.a.createElement(P.a,{flex:"200px"})))}))))),b.a.createElement("div",{className:"tc mt30 mb50"},b.a.createElement(I.a,{hideOnSinglePage:!1,total:null==p?void 0:p.questions_count,current:u.page||1,pageSize:u.limit,onChange:function(e,t){u.page=e,u.limit=t,H()}})))})),xt=n("cVA7"),_t=n.n(xt),kt=n("5e8a"),wt=n.n(kt),Ct=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return{title:{left:"center"},tooltip:{trigger:"item",formatter:"{a}
{b} ({d}%)"},color:["#0152d9","#13C2C2","#2FC25B","#FACC14"],series:[{name:"",type:"pie",radius:"55%",center:["40%","50%"],data:e,emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]}},St=function(e){var t=e.names,n=void 0===t?[]:t,r=e.values,i=void 0===r?[]:r,a=e.values1,o=void 0===a?[]:a;return{tooltip:{trigger:"axis",axisPointer:{type:"cross",crossStyle:{color:"#999"}}},legend:{data:["Evaporation","Precipitation","Temperature"]},color:["#0152d9","#13C2C2","#2FC25B","#FACC14"],xAxis:[{type:"category",data:n,axisPointer:{type:"shadow"}}],yAxis:[{type:"value",name:"学员人数",min:0,max:e.num,interval:50,axisLabel:{formatter:"{value}"}},{type:"value",name:"人数占比",min:0,max:100,interval:10,axisLabel:{formatter:"{value}%"}}],series:[{name:"学员人数",type:"bar",tooltip:{valueFormatter:function(e){return e+" 人"}},data:i},{name:"人数占比",type:"line",yAxisIndex:1,tooltip:{valueFormatter:function(e){return e+"%"}},data:o}]}},Ot=function(e){var t=e.names,n=void 0===t?[]:t,r=e.values;return{xAxis:{type:"category",data:n},color:["#0152d9","#13C2C2","#2FC25B","#FACC14"],yAxis:{type:"value"},series:[{data:void 0===r?[]:r,type:"bar"}]}},At=["#0152d9","#13C2C2","#2FC25B","#FACC14"],Tt=["不及格","及格","良好","优秀"],It=Object(_.a)((function(e){var t=e.classroomList,n=e.loading,r=e.user,i=e.problemset,a=e.exercise;return{classroomList:t,globalSetting:e.globalSetting,problemset:i,exercise:a,user:r,loading:n.effects}}))((function(e){e.classroomList,e.globalSetting,e.problemset,e.loading;var t=e.exercise,n=e.user,r=e.dispatch,i=(Object(p.a)(e,["classroomList","globalSetting","problemset","loading","exercise","user","dispatch"]),Object(E.h)(),n.userInfo,t.exerciseList,t.commonHeader,t.checkDomain,Object(v.useState)([])),a=Object(f.a)(i,2),o=a[0],s=a[1],l=Object(v.useState)({}),u=Object(f.a)(l,2),d=u[0],m=u[1],x=Object(v.useState)({}),_=Object(f.a)(x,2),k=_[0],w=_[1],C=Object(v.useState)(Object(h.a)(Object(h.a)({},Object(E.i)()),{},{page:1,per_page:20})),S=Object(f.a)(C,2),O=S[0];S[1];function A(){return(A=Object(c.a)(g.a.mark((function e(){var t,n,r,i,a,o,l,c,u,d,f,p,v,b,E,x,_,k,C,S,A,T,I,D,L,R;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(y.a)("/api/exercises/".concat(null==O?void 0:O.categoryId,"/exercise_analysis_charts.json"),{method:"get"});case 2:null!=(i=e.sent)&&i.grade_chart&&(u=[{name:"不及格",value:null==i||null===(a=i.grade_chart)||void 0===a?void 0:a.fail_percent},{name:"及格",value:null==i||null===(o=i.grade_chart)||void 0===o?void 0:o.pass_percent},{name:"良好",value:null==i||null===(l=i.grade_chart)||void 0===l?void 0:l.good_percent},{name:"优秀",value:null==i||null===(c=i.grade_chart)||void 0===c?void 0:c.best_percent}],s([].concat(u))),(null==i||null===(t=i.score_area_chart)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.length)>0&&(_=null==i||null===(d=i.score_area_chart)||void 0===d||null===(f=d.data)||void 0===f?void 0:f.map((function(e){return e.area})),k=null==i||null===(p=i.score_area_chart)||void 0===p||null===(v=p.data)||void 0===v?void 0:v.map((function(e){return e.stu_num})),C=null==i||null===(b=i.score_area_chart)||void 0===b||null===(E=b.data)||void 0===E?void 0:E.map((function(e){return e.percent})),S=(null==i||null===(x=i.score_area_chart)||void 0===x?void 0:x.max_stu_num)||0,A={names:_,values:k,values1:C,num:S},m(Object(h.a)({},A))),(null==i||null===(r=i.exercise_time_chart)||void 0===r?void 0:r.length)>0&&(D=null==i||null===(T=i.exercise_time_chart)||void 0===T?void 0:T.map((function(e){return e.area})),L=null==i||null===(I=i.exercise_time_chart)||void 0===I?void 0:I.map((function(e){return e.student_num})),R={names:D,values:L},w(Object(h.a)({},R)));case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}return Object(v.useEffect)((function(){r({type:"exercise/getCommonHeader",payload:Object(h.a)({},O)})}),[O.coursesId]),Object(v.useEffect)((function(){!function(){A.apply(this,arguments)}()}),[]),b.a.createElement("section",{className:"edu-container"},b.a.createElement("div",{style:{display:"flex",marginTop:10}},b.a.createElement("div",{style:{flex:5,background:"#fff",marginRight:10}},b.a.createElement("p",{style:{fontSize:16,fontWeight:400,height:40,alignItems:"center",display:"flex",paddingLeft:20,borderBottom:"1px solid #fff9f9"}},"成绩等级占比"),b.a.createElement("div",{className:wt.a.countcenter},b.a.createElement(_t.a,{option:Ct(o),style:{height:400,width:430},opts:{renderer:"svg"}}),b.a.createElement("div",null,b.a.createElement("p",null,"单位:人"),null==At?void 0:At.map((function(e,t){return b.a.createElement("p",{key:t,style:{display:"flex",alignItems:"center"}},b.a.createElement("div",{key:t,className:wt.a.radiusdiv,style:{background:e}})," ",Tt[t])}))))),console.log("---",d),b.a.createElement("div",{style:{flex:5,background:"#fff",marginLeft:10}},b.a.createElement("p",{style:{fontSize:16,fontWeight:400,height:40,display:"flex",paddingLeft:20,borderBottom:"1px solid #fff9f9"}},"分数段分析"),b.a.createElement("div",{className:wt.a.countcenter},b.a.createElement(_t.a,{option:St(Object(h.a)({},d)),style:{height:400,width:550},opts:{renderer:"svg"}})))),b.a.createElement("div",null,b.a.createElement("p",{style:{fontSize:16,fontWeight:400,height:40,alignItems:"center",display:"flex",paddingLeft:20,borderBottom:"1px solid #fff9f9"}},"作业与测验用时分析"),b.a.createElement("div",{className:wt.a.countcenter},b.a.createElement(_t.a,{option:Ot(Object(h.a)({},k)),style:{height:400,width:1100},opts:{renderer:"svg"}}))))})),Dt=function(){var e=Object(c.a)(g.a.mark((function e(t,n){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(y.a)("/api/exercises/".concat(t,"/exercise_analysis.json"),{method:"GET",params:n}));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Lt=n("CY+3"),Rt=n.n(Lt),Nt=(n("h6EL"),Object(v.memo)((function(e){var t=e.data,n=["#307DFE","#13C2C2","#8543E0"],r=Object(v.useMemo)((function(){return{legend:{show:!0,orient:"vertical",top:"middle",right:80,itemWidth:8,itemHeight:8,itemGap:20,icon:"circle",selectedMode:!1},series:[{type:"pie",clockwise:!0,right:134,data:null==t?void 0:t.map((function(e){return{name:e.type,value:parseFloat(e.num)}})),label:{show:!0,position:"inside",formatter:"{d}%",fontSize:14,fontWeight:400},itemStyle:{color:function(e){var t=(e||{}).dataIndex;return n[t]}}}]}}),[t]);return b.a.createElement(_t.a,{option:r})}))),jt=Object(v.memo)((function(e){var t=e.data,n=["#307DFE","#13C2C2","#2FC25B","#FACC14","#F04864","#8543E0","#3436C7","#223273"],r=Object(v.useMemo)((function(){return{legend:{show:!0,orient:"vertical",top:"middle",right:80,itemWidth:8,itemHeight:8,itemGap:20,icon:"circle",selectedMode:!1},series:[{type:"pie",right:134,clockwise:!0,data:null==t?void 0:t.map((function(e){return{name:e.type,value:parseFloat(e.num)}})),label:{show:!0,position:"inside",formatter:"{d}%",fontSize:14,fontWeight:400},itemStyle:{color:function(e){var t=e.dataIndex;return n[t]}}}]}}),[t]);return b.a.createElement(_t.a,{option:r})})),Mt=Object(v.memo)((function(e){var t=e.data,n=Object(v.useMemo)((function(){var e=Object.keys(t),n=e.map((function(e){return t[e]}));return{xAxis:{type:"category",data:e},yAxis:{type:"value",name:"题数",nameLocation:"middle",nameGap:20,minInterval:1},tooltip:{show:!0,position:"top",formatter:"{b}
题数:{c}"},series:[{data:n,type:"bar",itemStyle:{color:"#a3c5fe",borderColor:"#196EFD"}}]}}),[t]);return b.a.createElement(_t.a,{option:n})})),Pt=Object(v.memo)((function(e){var t=e.data,n=new Image;n.src=Se.q;var r=Object(v.useMemo)((function(){return{backgroundColor:"#fff",series:[{type:"wordCloud",sizeRange:[10,30],rotationRange:[-90,90],rotationStep:45,maskImage:n,gridSize:2,shape:"pentagon",textStyle:{normal:{color:function(){return"rgb("+Math.round(255*Math.random())+", "+Math.round(255*Math.random())+", "+Math.round(255*Math.random())+")"}}},left:"center",top:"center",right:null,bottom:null,width:"100%",height:"100%",data:t.map((function(e,t){return{name:e,value:t}}))}]}}),[]);return b.a.createElement(_t.a,{option:r})})),Bt=function(){var e=Object(E.i)(),t=e.coursesId,n=e.categoryId,r=Object(v.useState)(),i=Object(f.a)(r,2),a=i[0],o=i[1];return Object(v.useEffect)((function(){Dt(n,{categoryId:n,coursesId:t}).then((function(e){"status"in e||o(e)}))}),[]),a?b.a.createElement("div",null,b.a.createElement(M.a,{gutter:20,style:{marginBottom:20,marginTop:30}},b.a.createElement(P.a,{span:12},b.a.createElement("div",{className:Rt.a.chartWrapper},b.a.createElement("div",{className:Rt.a.title},"难度分布"),b.a.createElement(Nt,{data:null==a?void 0:a.difficulty_list}))),b.a.createElement(P.a,{span:12},b.a.createElement("div",{className:Rt.a.chartWrapper},b.a.createElement("div",{className:Rt.a.title},"题型分布"),b.a.createElement(jt,{data:null==a?void 0:a.ques_type_list})))),b.a.createElement(M.a,{gutter:20,style:{marginBottom:30}},b.a.createElement(P.a,{span:12},b.a.createElement("div",{className:Rt.a.chartWrapper},b.a.createElement("div",{className:Rt.a.title},"分值分布"),b.a.createElement(Mt,{data:null==a?void 0:a.score_list}))),b.a.createElement(P.a,{span:12},b.a.createElement("div",{className:Rt.a.chartWrapper},b.a.createElement("div",{className:Rt.a.title},"知识点"),b.a.createElement(Pt,{data:null==a?void 0:a.tag_discipline_list}))))):b.a.createElement(Y.a,null)},Ft=Object(_.a)((function(e){var t=e.classroomList,n=e.loading,r=e.user,i=e.problemset,a=e.exercise;return{classroomList:t,globalSetting:e.globalSetting,problemset:i,exercise:a,user:r,loading:n.effects}}))((function(e){e.classroomList,e.globalSetting,e.problemset,e.loading;var t=e.exercise,n=e.user,i=e.dispatch,a=(Object(p.a)(e,["classroomList","globalSetting","problemset","loading","exercise","user","dispatch"]),Object(E.h)(),n.userInfo,t.exerciseList,t.commonHeader,t.checkDomain,Object(v.useState)(Object(h.a)(Object(h.a)({},Object(E.i)()),{},{page:1,per_page:20}))),o=Object(f.a)(a,2),s=o[0];o[1];return Object(v.useEffect)((function(){i({type:"exercise/getCommonHeader",payload:Object(h.a)({},s)})}),[s.coursesId]),b.a.createElement(r.a,{defaultActiveKey:"1"},b.a.createElement(r.a.TabPane,{key:1,tab:"答题统计"},b.a.createElement(Et,null)),b.a.createElement(r.a.TabPane,{key:2,tab:"作业与测验分析"},b.a.createElement(Bt,null),b.a.createElement(It,null)))})),Ut={0:"单选题",1:"多选题",2:"判断题",3:"填空题",4:"简答题",5:"实训题",6:"编程题",7:"接龙题"},Ht=Object(_.a)((function(e){return{exercise:e.exercise,loading:e.loading.effects}}))((function(e){var t,n=e.exercise,r=e.loading,i=e.dispatch,a=Object(E.i)(),o=(Object(E.h)(),n.statisticsList),s=Object(v.useState)({}),l=Object(f.a)(s,2),u=(l[0],l[1],Object(v.useState)([])),d=Object(f.a)(u,2),p=d[0],m=d[1],y=Object(v.useState)(""),x=Object(f.a)(y,2),_=(x[0],x[1],Object(v.useState)("")),k=Object(f.a)(_,2),w=(k[0],k[1],Object(v.useState)({})),C=Object(f.a)(w,2),S=(C[0],C[1],U.a.useForm());Object(f.a)(S,1)[0];a.sort="asc";var O=function(e){return{title:{text:"『 学生正确率分布图 』",left:"center"},tooltip:{trigger:"item",formatter:"{b} : {c} 人"},legend:{bottom:0,icon:"circle",left:"center",itemWidth:6,itemHeight:6,data:["100%","90%-100%","70%-90%","60%-70%","60%以下"].reverse()},series:[{type:"pie",radius:"55%",minAngle:15,center:["50%","50%"],selectedMode:"single",label:{show:!0,position:"outer",normal:{formatter:"{b} \n {c}人",color:"#5c5c5c",lineHeight:20}},labelLine:{normal:{length:20,length2:20,lineStyle:{color:"rgba(0,0,0,.45)"}}},data:[{value:e.details[0].full_count,name:"100%"},{value:e.details[0].best_count,name:"90%-100%"},{value:e.details[0].good_count,name:"70%-90%"},{value:e.details[0].pass_count,name:"60%-70%"},{value:e.details[0].fails_count,name:"60%以下"}],itemStyle:{emphasis:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"},normal:{color:function(e){return["#99B8FB","#80E0B9","#8190AA","#F7C739","#EB7E65"][e.dataIndex]}}},emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]}},A=[{title:"提交率",dataIndex:"commit_percent",render:function(e){return b.a.createElement("span",null,100*e,"%")}},{title:"最低分",dataIndex:"min_score",render:function(e){return b.a.createElement("span",null,e,"分")}},{title:"最高分",dataIndex:"max_score",render:function(e){return b.a.createElement("span",{className:"c-orange"},e,"分")}},{title:"平均分",dataIndex:"average_score",render:function(e){return b.a.createElement("span",null,e,"分")}},{title:"不及格(得分 低于60%)",dataIndex:"fail_counts",render:function(e){return b.a.createElement("span",null,e,"人")}},{title:"及格(得分60%~70%)",dataIndex:"pass_counts",render:function(e){return b.a.createElement("span",null,e,"人")}},{title:"良好(得分70%~90%)",dataIndex:"good_counts",render:function(e){return b.a.createElement("span",null,e,"人")}},{title:"优秀(得分90%~100%)",dataIndex:"best_counts",render:function(e){return b.a.createElement("span",{className:"c-orange"},e,"人")}}],T=function(){var e=Object(c.a)(g.a.mark((function e(){var t;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i({type:"exercise/getExerciseStatistics",payload:Object(h.a)({},a)});case 2:null!=(t=e.sent)&&t.exercise_counts&&m([t.exercise_counts]);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(v.useEffect)((function(){T()}),[a.coursesId]),b.a.createElement("section",{className:"minH500 ",style:{padding:0}},b.a.createElement("aside",{className:"bg-white inline-block w100 th-bg-white"},b.a.createElement(N.a,{className:"mt10 bg-white",loading:r["exercise/getExerciseStatistics"],pagination:!1,dataSource:p,columns:A})),b.a.createElement("aside",{className:"mt20"},b.a.createElement("span",{className:"bold c-black font16 ml20"},"已交卷学生答题详情")),b.a.createElement("aside",null,null==o||null===(t=o.commit_results)||void 0===t?void 0:t.map((function(e,t){return b.a.createElement("div",{key:t,className:"bg-white pl20 pt20 pr20 pb20 mt20"},b.a.createElement("div",{style:{fontSize:14,color:"#0152d9",fontWeight:500}},t+1,"、",Ut[e.question_type],b.a.createElement("span",{style:{color:"#999",paddingLeft:10}},"(共",e.question_count,"小题,",e.question_score,"分)"),b.a.createElement("span",{style:{color:"#000",float:"right"}},"全班正确率:",100*e.right_percent,"%")),b.a.createElement(_t.a,{option:O(e),style:{height:370},opts:{renderer:"svg"}}))}))))})),Gt=n("tf39"),zt=n.n(Gt);t.default=Object(_.a)((function(e){var t=e.exercise,n=e.loading,r=e.user;return{exercise:t,globalSetting:e.globalSetting,user:r,loading:n.effects}}))((function(e){var t,n,m,T,I,D,L,R,N,j,M,P,B=e.exercise,F=(e.globalSetting,e.loading,e.dispatch),U=e.user,H=(e.match,Object(p.a)(e,["exercise","globalSetting","loading","dispatch","user","match"])),z=Object(E.i)(),V=Object(E.h)(),W=Object(v.useState)([]),K=Object(f.a)(W,2),q=(K[0],K[1],B.exerciseList),Y=B.commonHeader,Q=B.checkDomain,J=Object(v.useState)(V.query.tabs||0),X=Object(f.a)(J,2),Z=X[0],ee=X[1],te=Object(v.useState)(G()(new Date).valueOf()),ne=Object(f.a)(te,2),ie=ne[0],ae=ne[1],oe=Object(v.useState)(),se=Object(f.a)(oe,2),le=se[0],ce=se[1],ue=U.userInfo;Object(E.g)();z.category=V.query.category_id;var de=!Q||Q&&(null==ue||null===(t=ue.course)||void 0===t?void 0:t.course_identity)<3;Object(v.useEffect)((function(){F({type:"exercise/getCommonHeader",payload:Object(h.a)({},z)})}),[z.coursesId]);var he=function(){var e;Object(O.Y)({inner_ip:Y.inner_ip,public_ip:Y.public_ip,ip_limit:Y.ip_limit,ip_bind:Y.ip_bind,open_camera:Y.open_camera,exercise_tips:[Y.open_camera?"已开启防作弊":""],exerciseId:Y.id,screen_open:Y.screen_open,screen_num:Y.screen_num,coursesId:z.coursesId,login:ue.login,history:H.history,identity_verify:Y.identity_verify,current_status:null==Y||null===(e=Y.user_permission)||void 0===e?void 0:e.current_status,open_phone_video_recording:null==Y?void 0:Y.open_phone_video_recording})},fe=function(){F({type:"exercise/getCommonHeader",payload:Object(h.a)({},z)});var e={0:function(){F({type:"exercise/getExerciseList",payload:Object(h.a)({},z)})},3:function(){F({type:"exercise/getWorkSetting",payload:Object(h.a)({},z)})}};e[Z]&&e[Z]()};var me=[{name:"答题列表",id:0,compontent:b.a.createElement(re,{getparams:function(e){ce(Object(h.a)({},e))},checkDomainAuthority:de})},{name:"预览",id:2,compontent:b.a.createElement(De,{activeTabs:Z})},{name:"统计结果",id:1,compontent:b.a.createElement(Ft,null)},{name:"代码查重",id:4,compontent:b.a.createElement(Oe,{key:ie})},{name:"规则设置",id:3,compontent:b.a.createElement(ft,null)},{name:"人脸审核",id:5,compontent:b.a.createElement(pe,null)},{name:"摄像监控",id:6,compontent:b.a.createElement(Ee,null)}].filter((function(e){return null!=Y&&Y.is_random&&("统计结果"===e.name&&(e.compontent=b.a.createElement(Ht,null)),"预览"===e.name&&(e.compontent=b.a.createElement(Ve.default,null))),!0})).filter((function(e){return!!(Object($.k)()&&null!=Y&&Y.assistant_auth||Object($.c)())||(null!=Y&&Y.show_statistic&&3===(null==Y?void 0:Y.exercise_status)?"预览"!==e.name:"答题列表"===e.name||"规则设置"===e.name)})).filter((function(e){return!(Object($.s)()||1===Y.exercise_status||!Y.exist_program)||"代码查重"!==e.name})).filter((function(e){return!!Y.identity_verify||"人脸审核"!==e.name})).filter((function(e){return!!Y.open_phone_video_recording||"摄像监控"!==e.name})).filter((function(e){return!(Object(O.K)()&&!Object($.o)())||"预览"!==e.name&&"统计结果"!==e.name})).filter((function(e){return!!de||"统计结果"!==e.name&&"预览"!==e.name&&"规则设置"!==e.name})).filter((function(e){return!!e}));console.log(me,"tabsArr"),(null==Y?void 0:Y.exercise_status)&&1===(null==Y?void 0:Y.exercise_status)&&me.splice.apply(me,[0,1].concat(Object(d.a)(me.splice(1,1,me[0])))),Object(v.useEffect)((function(){(null==Y?void 0:Y.exercise_status)&&1===(null==Y?void 0:Y.exercise_status)&&ee("2")}),[null==Y?void 0:Y.exercise_status]);var ge="YYYY-MM-DD",ve=G()("2020-11-15",ge),be=function(){return u.a.info({title:"题库改版告知",content:b.a.createElement(b.a.Fragment,null,"EduCoder已升级题库功能,所有试题均需匹配知识点。 当前作业与测验所涉及试题均未匹配知识点,无法随机抽取,已不能有效使用。请在作业与测验库重新组卷后使用。 由此带来的不便,敬请谅解!")})},ye=function(){var e=Object(c.a)(g.a.mark((function e(t){var n;return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(y.a)("/api/courses/".concat(null==z?void 0:z.coursesId,"/exercises/exercise_code_repeat.json"),{method:"post",body:{group_ids:t,id:null==z?void 0:z.categoryId}});case 2:if(0!==(n=e.sent).status){e.next=8;break}return ee(4),ae(G()(new Date).valueOf()),F({type:"exercise/setActionTabs",payload:{}}),e.abrupt("return");case 8:n.status<-2&&s.b.error(null==n?void 0:n.message);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object($.h)()?b.a.createElement("section",{className:zt.a.bg},b.a.createElement("div",{className:"edu-container"},ue.username&&b.a.createElement("section",{className:"animated fadeIn"},b.a.createElement("aside",{className:"mt10"},b.a.createElement(o.a,{separator:">"},b.a.createElement(o.a.Item,null,b.a.createElement(x.a,{to:"/classrooms/".concat(z.coursesId,"/exercise")},null==U||null===(n=U.userInfo)||void 0===n||null===(m=n.course)||void 0===m?void 0:m.course_name)),b.a.createElement(o.a.Item,null,b.a.createElement(x.a,{to:"/classrooms/".concat(z.coursesId,"/exercise")},"作业与测验")),b.a.createElement(o.a.Item,null,"详情"))),b.a.createElement("aside",{className:[zt.a.title,"mt20"].join(" ")},b.a.createElement(x.a,{to:"/classrooms/".concat(z.coursesId,"/exercise")},b.a.createElement(k.a,{className:"font16 c-black"})),Object(O.z)(null==Y?void 0:Y.exercise_status),b.a.createElement("strong",{className:"font20 ml5"},null==Y?void 0:Y.exercise_name))),b.a.createElement("aside",{className:"mt30 relative"},b.a.createElement("div",{className:zt.a.export},!Object($.s)()&&de&&Y.exercise_status>1&&Y.exist_program&&b.a.createElement(a.a,{onClick:function(e){e.preventDefault(),F({type:"exercise/setActionTabs",payload:{key:"代码查重",params:z}})}},b.a.createElement("span",{className:"iconfont icon-daimachazhong font14 mr5"}),"代码查重"),Object($.c)()&&de&&(null==Y||null===(T=Y.user_permission)||void 0===T?void 0:T.user_commit_counts)>0&&2===(null==Y?void 0:Y.exercise_status)&&b.a.createElement(a.a,{onClick:function(e){e.preventDefault(),F({type:"exercise/setActionTabs",payload:{key:"打回重做",params:z}})}},b.a.createElement("span",{className:"iconfont icon-dahuizhongzuo3x font14 mr5"}),"打回重做"),Object($.c)()&&de&&(null==Y||null===(I=Y.user_permission)||void 0===I?void 0:I.exercise_unpublish_count)>0&&b.a.createElement(a.a,{onClick:function(e){e.preventDefault();var t=G()(null==Y?void 0:Y.created_at,ge);G()(ve).diff(G()(t),"days")>0&&null!=Y&&Y.is_random?be():F({type:"exercise/setActionTabs",payload:{key:"批量发布",selectArrs:[z.categoryId],params:z,disabled:1!==(null==Y?void 0:Y.exercise_status),type:2,cb:fe}})}},b.a.createElement("span",{className:"iconfont icon-fabuzhiwei font14 mr5"}),"发布作业与测验"),Object($.c)()&&de&&(null==Y||null===(D=Y.user_permission)||void 0===D?void 0:D.exercise_publish_count)>0&&b.a.createElement(a.a,{onClick:function(e){e.preventDefault(),F({type:"exercise/setActionTabs",payload:{key:"批量结束",selectArrs:[z.categoryId],params:z,cb:fe}})}},b.a.createElement("span",{className:"iconfont icon-lijijiezhi mr5 font14"}),"结束"),Object($.s)()&&2===(null==Y||null===(L=Y.user_permission)||void 0===L?void 0:L.current_status)&&Y.exercise_status>1&&b.a.createElement(a.a,{style:{color:(null==q||null===(R=q.exercise_types)||void 0===R?void 0:R.is_redo)&&"red"},onClick:he},b.a.createElement("span",{className:"iconfont icon-bianjizuoye mr5 font14"}),null!=q&&null!==(N=q.exercise_types)&&void 0!==N&&N.is_redo?"重新作业与测验":"开始作业与测验"),Object($.s)()&&0===(null==Y||null===(j=Y.user_permission)||void 0===j?void 0:j.current_status)&&Y.exercise_status>1&&b.a.createElement(a.a,{onClick:he},b.a.createElement("span",{className:"iconfont icon-bianjizuoye mr5 font14"}),"继续作业与测验"),Object($.c)()&&de&&(Object($.k)()&&(null==Y?void 0:Y.assistant_auth)||!Object($.k)())&&b.a.createElement(a.a,{onClick:function(){var e=G()(null==Y?void 0:Y.created_at,ge);G()(ve).diff(G()(e),"days")>0&&null!=Y&&Y.is_random?be():_.d.push(null!=Y&&Y.is_random?"/classrooms/".concat(z.coursesId,"/exercise/").concat(z.categoryId,"/random/edit?random=true"):"/classrooms/".concat(z.coursesId,"/exercise/").concat(z.categoryId,"/edit?random=false"))}},b.a.createElement("span",{className:"iconfont icon-bianjizuoye mr5 font14"}),"编辑"),Object($.c)()&&de&&b.a.createElement(i.a,{overlay:function(){return b.a.createElement(l.a,{onClick:function(){var e=Object(c.a)(g.a.mark((function e(t){return g.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:e.t0=t.key,e.next="1"===e.t0?3:8;break;case 3:return e.next=5,Object(S.n)(Object(h.a)(Object(h.a)({},z),le));case 5:return 0===e.sent.status&&Object(A.i)(Object(h.a)(Object(h.a)({},z),le)),e.abrupt("break",8);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},b.a.createElement(l.a.Item,{key:"1"},"学生成绩"),b.a.createElement(l.a.Item,{key:"2"},b.a.createElement("a",{target:"_blank",href:"/classrooms/".concat(z.coursesId,"/exercise/").concat(z.categoryId,"/export_blank")},"导出作业与测验")),b.a.createElement(l.a.Item,{key:"3"},b.a.createElement(x.a,{to:"/classrooms/".concat(z.coursesId,"/exportlist/exercise_score")},"历史导出")))}},b.a.createElement(a.a,null,b.a.createElement(w.a,null),"导出",b.a.createElement(C.a,null)))),b.a.createElement(r.a,{activeKey:String(Z),className:zt.a.tabs,onChange:function(e){var t=G()(null==Y?void 0:Y.created_at,ge);G()(ve).diff(G()(t),"days")>0&&3===parseInt(e)&&null!=Y&&Y.is_random?be():ee(e)}},me.map((function(e,t){return b.a.createElement(r.a.TabPane,{tab:e.name,key:e.id})}))),b.a.createElement("section",{className:null!=Y&&Y.is_random&&"2"===Z?"":"pl25 pr25 bg-white"},null===(M=me.filter((function(e){return e.id==Z})))||void 0===M||null===(P=M[0])||void 0===P?void 0:P.compontent))),b.a.createElement(ze.a,null),b.a.createElement(qe,{onOk:ye}),b.a.createElement(Ye.a,null),b.a.createElement(Ge,{cb:function(){F({type:"exercise/getExerciseList",payload:Object(h.a)({},z)})}})):""}))},JWDV: /*!****************************************************!*\ !*** ./src/assets/images/icons/charpter-white.svg ***! \****************************************************/ @@ -2287,14 +2287,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Exercise__Edit__index.fdb8e37a.async.js b/p__Classrooms__Lists__Exercise__Edit__index.fdb8e37a.async.js index 8d6087b366..f1f1e8c921 100644 --- a/p__Classrooms__Lists__Exercise__Edit__index.fdb8e37a.async.js +++ b/p__Classrooms__Lists__Exercise__Edit__index.fdb8e37a.async.js @@ -1149,14 +1149,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Exercise__Export__index.e1ce2d02.async.js b/p__Classrooms__Lists__Exercise__Export__index.e1458ad8.async.js similarity index 99% rename from p__Classrooms__Lists__Exercise__Export__index.e1ce2d02.async.js rename to p__Classrooms__Lists__Exercise__Export__index.e1458ad8.async.js index ea5f39815d..7e21b058ea 100644 --- a/p__Classrooms__Lists__Exercise__Export__index.e1ce2d02.async.js +++ b/p__Classrooms__Lists__Exercise__Export__index.e1458ad8.async.js @@ -254,7 +254,7 @@ var r=A(/*! base64-js */"H7XF"),n=A(/*! ieee754 */"kVK+"),i=A(/*! isarray */"49s !*** ./src/pages/Classrooms/Lists/Exercise/Review/component/Simple.tsx ***! \*************************************************************************/ /*! exports provided: default */ -/*! exports used: default */function(t,e,A){"use strict";var r=A(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/extends */"0Owb"),n=A(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),i=(A(/*! antd/es/message/style */"miYZ"),A(/*! antd/es/message */"tsqr")),s=(A(/*! antd/es/row/style */"14J3"),A(/*! antd/es/row */"BMrR")),o=(A(/*! antd/es/divider/style */"/zsF"),A(/*! antd/es/divider */"PArb")),a=A(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/slicedToArray */"tJVT"),l=(A(/*! antd/es/input/style */"5NDa"),A(/*! antd/es/input */"5rEg")),c=A(/*! react */"q1tI"),u=A.n(c),h=A(/*! @/components/RenderHtml */"9Bee"),d=A(/*! @/utils/authority */"xKgJ"),f=A(/*! ./SeeAnswer */"NKYn"),p=A(/*! @/utils/env */"m3rI"),g=A(/*! ./index.less?modules */"tJYV"),v=A.n(g),m=A(/*! @/components/PreviewAll */"p5ED");l.a.TextArea;e.a=function(t){var e,A,l,g=t.item,y=(t.answerData,t.changeScoreData),B=(t.textValue,t.exportPDF),w=void 0!==B&&B,C=t.globalSetting,b=(t.textOnChange,Object(c.useState)(!1)),E=Object(a.a)(b,2),S=E[0],x=E[1],F=Object(c.useState)({name:"",filename:"",type:"",className:"",data:"",close:!0,hasMask:!0,style:{position:"fixed",zIndex:9999,background:"rgba(0,0,0,.7)"},monacoEditor:{value:"",language:"",theme:"vs",options:{readOnly:!0}}}),T=Object(a.a)(F,2),U=T[0],k=T[1];return Object(c.useEffect)((function(){null!=y&&y[g.q_position]?!S&&x(!0):S&&x(!1)}),[null==y?void 0:y[null==g?void 0:g.q_position]]),console.log("-----",C,"1111"),u.a.createElement("div",null,"kepukehuan.educoder.net"===document.domain&&u.a.createElement(u.a.Fragment,null,u.a.createElement("div",null,u.a.createElement("strong",{className:"mt30"},"作文标题"),u.a.createElement("br",null),u.a.createElement("div",{className:v.a.simpleWrap},u.a.createElement(h.a,{value:(null==g?void 0:g.kp_content)||""})),u.a.createElement("strong",{className:"mt30"},"作文类型"),u.a.createElement("br",null),u.a.createElement("div",{className:v.a.simpleWrap},u.a.createElement(h.a,{value:(null==g?void 0:g.kp_clazz)||""})),u.a.createElement("strong",{className:"mt30"},"作文内容"),u.a.createElement("br",null),u.a.createElement("div",{className:v.a.simpleWrap},u.a.createElement(h.a,{value:(null==g||null===(e=g.user_answer)||void 0===e?void 0:e[0])||""}))),Object(d.c)()&&u.a.createElement(f.a,{data:g}),u.a.createElement(o.a,null)),"kepukehuan.educoder.net"!==document.domain&&u.a.createElement("div",{className:v.a.simpleBg},u.a.createElement(s.a,{justify:"space-between"},u.a.createElement("aside",{className:"font14 c-light-primary mb5"},"学生答题"),u.a.createElement("span",{style:{visibility:w?"hidden":"visible"}},"学员答案与参考答案的相似度为",u.a.createElement("span",{style:{color:"#007AFF"}},null==g?void 0:g.similar_rate),",建议分数:",u.a.createElement("span",{style:{color:"#007AFF"}},null==g?void 0:g.recommend_score),"分")),u.a.createElement("div",null,u.a.createElement(h.a,{value:(null==g||null===(A=g.user_answer)||void 0===A?void 0:A[0])||""})),u.a.createElement("aside",{className:"font14 c-light-primary mb5"},"学生上传附件"),null==g||null===(l=g.user_answer_file)||void 0===l?void 0:l.map((function(t){return u.a.createElement("div",null,u.a.createElement("a",{onClick:function(){if(!["xlsx","docx","pptx"].includes(null==t?void 0:t.type)){return["pdf"].includes(t.file_type)?void k(Object(n.a)(Object(n.a)({},U),{},{filename:t.name,type:t.file_type,data:p.a.API_SERVER+t.url})):void i.b.info("当前文件不支持编辑")}var e,A,r,s,o,a;"xlsx"===(null==t?void 0:t.type)&&window.open("".concat(null==C||null===(e=C.setting)||void 0===e?void 0:e.OFFICE_SERVER,"/x/_layouts/xlviewerinternal.aspx?WOPISrc=").concat(null==C||null===(A=C.setting)||void 0===A?void 0:A.OFFICE_IP,"/wopi/files/").concat((null==t?void 0:t.attachment_id)||(null==t?void 0:t.id))),"docx"===(null==t?void 0:t.type)&&window.open("".concat(null==C||null===(r=C.setting)||void 0===r?void 0:r.OFFICE_SERVER,"/wv/wordviewerframe.aspx?WOPISrc=").concat(null==C||null===(s=C.setting)||void 0===s?void 0:s.OFFICE_IP,"/wopi/files/").concat((null==t?void 0:t.attachment_id)||(null==t?void 0:t.id))),"pptx"===(null==t?void 0:t.type)&&window.open("".concat(null==C||null===(o=C.setting)||void 0===o?void 0:o.OFFICE_SERVER,"/p/PowerPointFrame.aspx?WOPISrc=").concat(null==C||null===(a=C.setting)||void 0===a?void 0:a.OFFICE_IP,"/wopi/files/").concat((null==t?void 0:t.attachment_id)||(null==t?void 0:t.id)))}},null==t?void 0:t.title),u.a.createElement("a",{download:null==t?void 0:t.title,className:"ml10",href:"".concat(p.a.API_SERVER,"/api/attachments/").concat((null==t?void 0:t.attachment_id)||(null==t?void 0:t.id),"?disposition=inline_annotation")},"下载"))})),Object(d.c)()&&u.a.createElement(f.a,{data:g})),u.a.createElement(m.a,Object(r.a)({},U,{onClose:function(){k(Object(n.a)(Object(n.a)({},U),{},{type:""}))}})))}},crp1: +/*! exports used: default */function(t,e,A){"use strict";var r=A(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/extends */"0Owb"),n=A(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),i=(A(/*! antd/es/message/style */"miYZ"),A(/*! antd/es/message */"tsqr")),s=(A(/*! antd/es/row/style */"14J3"),A(/*! antd/es/row */"BMrR")),o=(A(/*! antd/es/divider/style */"/zsF"),A(/*! antd/es/divider */"PArb")),a=A(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/slicedToArray */"tJVT"),l=(A(/*! antd/es/input/style */"5NDa"),A(/*! antd/es/input */"5rEg")),c=A(/*! react */"q1tI"),u=A.n(c),h=A(/*! @/components/RenderHtml */"9Bee"),d=A(/*! @/utils/authority */"xKgJ"),f=A(/*! ./SeeAnswer */"NKYn"),p=A(/*! @/utils/env */"m3rI"),g=A(/*! ./index.less?modules */"tJYV"),v=A.n(g),m=A(/*! @/components/PreviewAll */"p5ED");l.a.TextArea;e.a=function(t){var e,A,l,g=t.item,y=(t.answerData,t.changeScoreData),B=(t.textValue,t.exportPDF),w=void 0!==B&&B,C=t.globalSetting,b=(t.textOnChange,Object(c.useState)(!1)),E=Object(a.a)(b,2),S=E[0],x=E[1],F=Object(c.useState)({name:"",filename:"",type:"",className:"",data:"",close:!0,hasMask:!0,style:{position:"fixed",zIndex:9999,background:"rgba(0,0,0,.7)"},monacoEditor:{value:"",language:"",theme:"vs",options:{readOnly:!0}}}),T=Object(a.a)(F,2),U=T[0],k=T[1];return Object(c.useEffect)((function(){null!=y&&y[g.q_position]?!S&&x(!0):S&&x(!1)}),[null==y?void 0:y[null==g?void 0:g.q_position]]),console.log("-----",C,"1111"),u.a.createElement("div",null,"kepukehuan.educoder.net"===document.domain&&u.a.createElement(u.a.Fragment,null,u.a.createElement("div",null,u.a.createElement("strong",{className:"mt30"},"作文标题"),u.a.createElement("br",null),u.a.createElement("div",{className:v.a.simpleWrap},u.a.createElement(h.a,{value:(null==g?void 0:g.kp_content)||""})),u.a.createElement("strong",{className:"mt30"},"作文类型"),u.a.createElement("br",null),u.a.createElement("div",{className:v.a.simpleWrap},u.a.createElement(h.a,{value:(null==g?void 0:g.kp_clazz)||""})),u.a.createElement("strong",{className:"mt30"},"作文内容"),u.a.createElement("br",null),u.a.createElement("div",{className:v.a.simpleWrap},u.a.createElement(h.a,{value:(null==g||null===(e=g.user_answer)||void 0===e?void 0:e[0])||""}))),Object(d.c)()&&u.a.createElement(f.a,{data:g}),u.a.createElement(o.a,null)),"kepukehuan.educoder.net"!==document.domain&&u.a.createElement("div",{className:v.a.simpleBg},u.a.createElement(s.a,{justify:"space-between"},u.a.createElement("aside",{className:"font14 c-light-primary mb5"},"学生答题"),u.a.createElement("span",{style:{visibility:w?"hidden":"visible"}},"学员答案与参考答案的相似度为",u.a.createElement("span",{style:{color:"#007AFF"}},null==g?void 0:g.similar_rate),",建议分数:",u.a.createElement("span",{style:{color:"#007AFF"}},null==g?void 0:g.recommend_score),"分")),u.a.createElement("div",null,u.a.createElement(h.a,{value:(null==g||null===(A=g.user_answer)||void 0===A?void 0:A[0])||""})),u.a.createElement("aside",{className:"font14 c-light-primary mb5"},"学生上传附件"),null==g||null===(l=g.user_answer_file)||void 0===l?void 0:l.map((function(t){return u.a.createElement("div",null,u.a.createElement("a",{onClick:function(){if(!["xlsx","docx","pptx"].includes(null==t?void 0:t.type)){return["pdf"].includes(t.file_type)?void k(Object(n.a)(Object(n.a)({},U),{},{filename:t.name,type:t.file_type,data:p.a.API_SERVER+t.url})):void i.b.info("当前文件不支持编辑")}var e,A,r,s,o,a;"xlsx"===(null==t?void 0:t.type)&&window.open("".concat(null==C||null===(e=C.setting)||void 0===e?void 0:e.OFFICE_SERVER,"/x/_layouts/xlviewerinternal.aspx?WOPISrc=").concat(null==C||null===(A=C.setting)||void 0===A?void 0:A.OFFICE_IP,"/wopi/files/").concat((null==t?void 0:t.attachment_id)||(null==t?void 0:t.id))),"docx"===(null==t?void 0:t.type)&&window.open("".concat(null==C||null===(r=C.setting)||void 0===r?void 0:r.OFFICE_SERVER,"/we/wordeditorframe.aspx?WOPISrc=").concat(null==C||null===(s=C.setting)||void 0===s?void 0:s.OFFICE_IP,"/wopi/files/").concat((null==t?void 0:t.attachment_id)||(null==t?void 0:t.id))),"pptx"===(null==t?void 0:t.type)&&window.open("".concat(null==C||null===(o=C.setting)||void 0===o?void 0:o.OFFICE_SERVER,"/p/PowerPointFrame.aspx?WOPISrc=").concat(null==C||null===(a=C.setting)||void 0===a?void 0:a.OFFICE_IP,"/wopi/files/").concat((null==t?void 0:t.attachment_id)||(null==t?void 0:t.id),"&PowerPointView=EditView"))}},null==t?void 0:t.title),u.a.createElement("a",{download:null==t?void 0:t.title,className:"ml10",href:"".concat(p.a.API_SERVER,"/api/attachments/").concat((null==t?void 0:t.attachment_id)||(null==t?void 0:t.id),"?disposition=inline_annotation")},"下载"))})),Object(d.c)()&&u.a.createElement(f.a,{data:g})),u.a.createElement(m.a,Object(r.a)({},U,{onClose:function(){k(Object(n.a)(Object(n.a)({},U),{},{type:""}))}})))}},crp1: /*!********************************************!*\ !*** ./node_modules/fflate/esm/browser.js ***! \********************************************/ @@ -805,14 +805,14 @@ e.read=function(t,e,A,r,n){var i,s,o=8*n-r-1,a=(1<>1,c=-7,u=A?n-1:0,h= /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Exercise__ImitateAnswer__index.3b03ea55.async.js b/p__Classrooms__Lists__Exercise__ImitateAnswer__index.3b03ea55.async.js index 011d44d63c..681c5b83c4 100644 --- a/p__Classrooms__Lists__Exercise__ImitateAnswer__index.3b03ea55.async.js +++ b/p__Classrooms__Lists__Exercise__ImitateAnswer__index.3b03ea55.async.js @@ -1260,14 +1260,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Exercise__Review__index.c27ac305.async.js b/p__Classrooms__Lists__Exercise__Review__index.0982bcda.async.js similarity index 99% rename from p__Classrooms__Lists__Exercise__Review__index.c27ac305.async.js rename to p__Classrooms__Lists__Exercise__Review__index.0982bcda.async.js index 775c1d6992..f4a3a3d208 100644 --- a/p__Classrooms__Lists__Exercise__Review__index.c27ac305.async.js +++ b/p__Classrooms__Lists__Exercise__Review__index.0982bcda.async.js @@ -297,7 +297,7 @@ PERFORMANCE OF THIS SOFTWARE. !*** ./src/pages/Classrooms/Lists/Exercise/Review/component/Simple.tsx ***! \*************************************************************************/ /*! exports provided: default */ -/*! exports used: default */function(e,t,n){"use strict";var i=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/extends */"0Owb"),r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=(n(/*! antd/es/message/style */"miYZ"),n(/*! antd/es/message */"tsqr")),s=(n(/*! antd/es/row/style */"14J3"),n(/*! antd/es/row */"BMrR")),o=(n(/*! antd/es/divider/style */"/zsF"),n(/*! antd/es/divider */"PArb")),l=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/slicedToArray */"tJVT"),c=(n(/*! antd/es/input/style */"5NDa"),n(/*! antd/es/input */"5rEg")),u=n(/*! react */"q1tI"),h=n.n(u),d=n(/*! @/components/RenderHtml */"9Bee"),f=n(/*! @/utils/authority */"xKgJ"),p=n(/*! ./SeeAnswer */"NKYn"),g=n(/*! @/utils/env */"m3rI"),v=n(/*! ./index.less?modules */"tJYV"),m=n.n(v),y=n(/*! @/components/PreviewAll */"p5ED");c.a.TextArea;t.a=function(e){var t,n,c,v=e.item,b=(e.answerData,e.changeScoreData),E=(e.textValue,e.exportPDF),C=void 0!==E&&E,S=e.globalSetting,k=(e.textOnChange,Object(u.useState)(!1)),w=Object(l.a)(k,2),x=w[0],T=w[1],O=Object(u.useState)({name:"",filename:"",type:"",className:"",data:"",close:!0,hasMask:!0,style:{position:"fixed",zIndex:9999,background:"rgba(0,0,0,.7)"},monacoEditor:{value:"",language:"",theme:"vs",options:{readOnly:!0}}}),A=Object(l.a)(O,2),R=A[0],L=A[1];return Object(u.useEffect)((function(){null!=b&&b[v.q_position]?!x&&T(!0):x&&T(!1)}),[null==b?void 0:b[null==v?void 0:v.q_position]]),console.log("-----",S,"1111"),h.a.createElement("div",null,"kepukehuan.educoder.net"===document.domain&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",null,h.a.createElement("strong",{className:"mt30"},"作文标题"),h.a.createElement("br",null),h.a.createElement("div",{className:m.a.simpleWrap},h.a.createElement(d.a,{value:(null==v?void 0:v.kp_content)||""})),h.a.createElement("strong",{className:"mt30"},"作文类型"),h.a.createElement("br",null),h.a.createElement("div",{className:m.a.simpleWrap},h.a.createElement(d.a,{value:(null==v?void 0:v.kp_clazz)||""})),h.a.createElement("strong",{className:"mt30"},"作文内容"),h.a.createElement("br",null),h.a.createElement("div",{className:m.a.simpleWrap},h.a.createElement(d.a,{value:(null==v||null===(t=v.user_answer)||void 0===t?void 0:t[0])||""}))),Object(f.c)()&&h.a.createElement(p.a,{data:v}),h.a.createElement(o.a,null)),"kepukehuan.educoder.net"!==document.domain&&h.a.createElement("div",{className:m.a.simpleBg},h.a.createElement(s.a,{justify:"space-between"},h.a.createElement("aside",{className:"font14 c-light-primary mb5"},"学生答题"),h.a.createElement("span",{style:{visibility:C?"hidden":"visible"}},"学员答案与参考答案的相似度为",h.a.createElement("span",{style:{color:"#007AFF"}},null==v?void 0:v.similar_rate),",建议分数:",h.a.createElement("span",{style:{color:"#007AFF"}},null==v?void 0:v.recommend_score),"分")),h.a.createElement("div",null,h.a.createElement(d.a,{value:(null==v||null===(n=v.user_answer)||void 0===n?void 0:n[0])||""})),h.a.createElement("aside",{className:"font14 c-light-primary mb5"},"学生上传附件"),null==v||null===(c=v.user_answer_file)||void 0===c?void 0:c.map((function(e){return h.a.createElement("div",null,h.a.createElement("a",{onClick:function(){if(!["xlsx","docx","pptx"].includes(null==e?void 0:e.type)){return["pdf"].includes(e.file_type)?void L(Object(r.a)(Object(r.a)({},R),{},{filename:e.name,type:e.file_type,data:g.a.API_SERVER+e.url})):void a.b.info("当前文件不支持编辑")}var t,n,i,s,o,l;"xlsx"===(null==e?void 0:e.type)&&window.open("".concat(null==S||null===(t=S.setting)||void 0===t?void 0:t.OFFICE_SERVER,"/x/_layouts/xlviewerinternal.aspx?WOPISrc=").concat(null==S||null===(n=S.setting)||void 0===n?void 0:n.OFFICE_IP,"/wopi/files/").concat((null==e?void 0:e.attachment_id)||(null==e?void 0:e.id))),"docx"===(null==e?void 0:e.type)&&window.open("".concat(null==S||null===(i=S.setting)||void 0===i?void 0:i.OFFICE_SERVER,"/wv/wordviewerframe.aspx?WOPISrc=").concat(null==S||null===(s=S.setting)||void 0===s?void 0:s.OFFICE_IP,"/wopi/files/").concat((null==e?void 0:e.attachment_id)||(null==e?void 0:e.id))),"pptx"===(null==e?void 0:e.type)&&window.open("".concat(null==S||null===(o=S.setting)||void 0===o?void 0:o.OFFICE_SERVER,"/p/PowerPointFrame.aspx?WOPISrc=").concat(null==S||null===(l=S.setting)||void 0===l?void 0:l.OFFICE_IP,"/wopi/files/").concat((null==e?void 0:e.attachment_id)||(null==e?void 0:e.id)))}},null==e?void 0:e.title),h.a.createElement("a",{download:null==e?void 0:e.title,className:"ml10",href:"".concat(g.a.API_SERVER,"/api/attachments/").concat((null==e?void 0:e.attachment_id)||(null==e?void 0:e.id),"?disposition=inline_annotation")},"下载"))})),Object(f.c)()&&h.a.createElement(p.a,{data:v})),h.a.createElement(y.a,Object(i.a)({},R,{onClose:function(){L(Object(r.a)(Object(r.a)({},R),{},{type:""}))}})))}},cw1j: +/*! exports used: default */function(e,t,n){"use strict";var i=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/extends */"0Owb"),r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2 */"k1fw"),a=(n(/*! antd/es/message/style */"miYZ"),n(/*! antd/es/message */"tsqr")),s=(n(/*! antd/es/row/style */"14J3"),n(/*! antd/es/row */"BMrR")),o=(n(/*! antd/es/divider/style */"/zsF"),n(/*! antd/es/divider */"PArb")),l=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/slicedToArray */"tJVT"),c=(n(/*! antd/es/input/style */"5NDa"),n(/*! antd/es/input */"5rEg")),u=n(/*! react */"q1tI"),h=n.n(u),d=n(/*! @/components/RenderHtml */"9Bee"),f=n(/*! @/utils/authority */"xKgJ"),p=n(/*! ./SeeAnswer */"NKYn"),g=n(/*! @/utils/env */"m3rI"),v=n(/*! ./index.less?modules */"tJYV"),m=n.n(v),y=n(/*! @/components/PreviewAll */"p5ED");c.a.TextArea;t.a=function(e){var t,n,c,v=e.item,b=(e.answerData,e.changeScoreData),E=(e.textValue,e.exportPDF),C=void 0!==E&&E,S=e.globalSetting,k=(e.textOnChange,Object(u.useState)(!1)),w=Object(l.a)(k,2),x=w[0],T=w[1],O=Object(u.useState)({name:"",filename:"",type:"",className:"",data:"",close:!0,hasMask:!0,style:{position:"fixed",zIndex:9999,background:"rgba(0,0,0,.7)"},monacoEditor:{value:"",language:"",theme:"vs",options:{readOnly:!0}}}),A=Object(l.a)(O,2),R=A[0],L=A[1];return Object(u.useEffect)((function(){null!=b&&b[v.q_position]?!x&&T(!0):x&&T(!1)}),[null==b?void 0:b[null==v?void 0:v.q_position]]),console.log("-----",S,"1111"),h.a.createElement("div",null,"kepukehuan.educoder.net"===document.domain&&h.a.createElement(h.a.Fragment,null,h.a.createElement("div",null,h.a.createElement("strong",{className:"mt30"},"作文标题"),h.a.createElement("br",null),h.a.createElement("div",{className:m.a.simpleWrap},h.a.createElement(d.a,{value:(null==v?void 0:v.kp_content)||""})),h.a.createElement("strong",{className:"mt30"},"作文类型"),h.a.createElement("br",null),h.a.createElement("div",{className:m.a.simpleWrap},h.a.createElement(d.a,{value:(null==v?void 0:v.kp_clazz)||""})),h.a.createElement("strong",{className:"mt30"},"作文内容"),h.a.createElement("br",null),h.a.createElement("div",{className:m.a.simpleWrap},h.a.createElement(d.a,{value:(null==v||null===(t=v.user_answer)||void 0===t?void 0:t[0])||""}))),Object(f.c)()&&h.a.createElement(p.a,{data:v}),h.a.createElement(o.a,null)),"kepukehuan.educoder.net"!==document.domain&&h.a.createElement("div",{className:m.a.simpleBg},h.a.createElement(s.a,{justify:"space-between"},h.a.createElement("aside",{className:"font14 c-light-primary mb5"},"学生答题"),h.a.createElement("span",{style:{visibility:C?"hidden":"visible"}},"学员答案与参考答案的相似度为",h.a.createElement("span",{style:{color:"#007AFF"}},null==v?void 0:v.similar_rate),",建议分数:",h.a.createElement("span",{style:{color:"#007AFF"}},null==v?void 0:v.recommend_score),"分")),h.a.createElement("div",null,h.a.createElement(d.a,{value:(null==v||null===(n=v.user_answer)||void 0===n?void 0:n[0])||""})),h.a.createElement("aside",{className:"font14 c-light-primary mb5"},"学生上传附件"),null==v||null===(c=v.user_answer_file)||void 0===c?void 0:c.map((function(e){return h.a.createElement("div",null,h.a.createElement("a",{onClick:function(){if(!["xlsx","docx","pptx"].includes(null==e?void 0:e.type)){return["pdf"].includes(e.file_type)?void L(Object(r.a)(Object(r.a)({},R),{},{filename:e.name,type:e.file_type,data:g.a.API_SERVER+e.url})):void a.b.info("当前文件不支持编辑")}var t,n,i,s,o,l;"xlsx"===(null==e?void 0:e.type)&&window.open("".concat(null==S||null===(t=S.setting)||void 0===t?void 0:t.OFFICE_SERVER,"/x/_layouts/xlviewerinternal.aspx?WOPISrc=").concat(null==S||null===(n=S.setting)||void 0===n?void 0:n.OFFICE_IP,"/wopi/files/").concat((null==e?void 0:e.attachment_id)||(null==e?void 0:e.id))),"docx"===(null==e?void 0:e.type)&&window.open("".concat(null==S||null===(i=S.setting)||void 0===i?void 0:i.OFFICE_SERVER,"/we/wordeditorframe.aspx?WOPISrc=").concat(null==S||null===(s=S.setting)||void 0===s?void 0:s.OFFICE_IP,"/wopi/files/").concat((null==e?void 0:e.attachment_id)||(null==e?void 0:e.id))),"pptx"===(null==e?void 0:e.type)&&window.open("".concat(null==S||null===(o=S.setting)||void 0===o?void 0:o.OFFICE_SERVER,"/p/PowerPointFrame.aspx?WOPISrc=").concat(null==S||null===(l=S.setting)||void 0===l?void 0:l.OFFICE_IP,"/wopi/files/").concat((null==e?void 0:e.attachment_id)||(null==e?void 0:e.id),"&PowerPointView=EditView"))}},null==e?void 0:e.title),h.a.createElement("a",{download:null==e?void 0:e.title,className:"ml10",href:"".concat(g.a.API_SERVER,"/api/attachments/").concat((null==e?void 0:e.attachment_id)||(null==e?void 0:e.id),"?disposition=inline_annotation")},"下载"))})),Object(f.c)()&&h.a.createElement(p.a,{data:v})),h.a.createElement(y.a,Object(i.a)({},R,{onClose:function(){L(Object(r.a)(Object(r.a)({},R),{},{type:""}))}})))}},cw1j: /*!***********************************************************************!*\ !*** ./src/pages/Classrooms/Lists/Exercise/Review/component/Fill.tsx ***! \***********************************************************************/ @@ -857,14 +857,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Exercise__index.62faeae0.async.js b/p__Classrooms__Lists__Exercise__index.62faeae0.async.js index f5ab21b2d6..be4d8f5b2a 100644 --- a/p__Classrooms__Lists__Exercise__index.62faeae0.async.js +++ b/p__Classrooms__Lists__Exercise__index.62faeae0.async.js @@ -611,14 +611,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__ExportList__index.1184f0e1.async.js b/p__Classrooms__Lists__ExportList__index.1184f0e1.async.js index 8d62d75e78..74d899a0a0 100644 --- a/p__Classrooms__Lists__ExportList__index.1184f0e1.async.js +++ b/p__Classrooms__Lists__ExportList__index.1184f0e1.async.js @@ -162,14 +162,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Graduation__Tasks__Detail__index.e4486569.async.js b/p__Classrooms__Lists__Graduation__Tasks__Detail__index.e4486569.async.js index 3cfa3a5e2b..76717334ae 100644 --- a/p__Classrooms__Lists__Graduation__Tasks__Detail__index.e4486569.async.js +++ b/p__Classrooms__Lists__Graduation__Tasks__Detail__index.e4486569.async.js @@ -970,14 +970,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Graduation__Topics__Detail__index.54d57efc.async.js b/p__Classrooms__Lists__Graduation__Topics__Detail__index.54d57efc.async.js index 63b8028a6a..c4a4ff460f 100644 --- a/p__Classrooms__Lists__Graduation__Topics__Detail__index.54d57efc.async.js +++ b/p__Classrooms__Lists__Graduation__Topics__Detail__index.54d57efc.async.js @@ -970,14 +970,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__GroupHomework__Detail__index.58b1fbec.async.js b/p__Classrooms__Lists__GroupHomework__Detail__index.58b1fbec.async.js index e5c5da8f87..1ef6895ebf 100644 --- a/p__Classrooms__Lists__GroupHomework__Detail__index.58b1fbec.async.js +++ b/p__Classrooms__Lists__GroupHomework__Detail__index.58b1fbec.async.js @@ -1236,14 +1236,14 @@ t.read=function(e,t,n,r,i){var a,o,s=8*i-r-1,l=(1<>1,u=-7,h=n?i-1:0,d= /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__GroupHomework__index.72216698.async.js b/p__Classrooms__Lists__GroupHomework__index.72216698.async.js index 16034a6ed8..a926b059ce 100644 --- a/p__Classrooms__Lists__GroupHomework__index.72216698.async.js +++ b/p__Classrooms__Lists__GroupHomework__index.72216698.async.js @@ -729,14 +729,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Polls__Detail__index.803cb14b.async.js b/p__Classrooms__Lists__Polls__Detail__index.803cb14b.async.js index 25b20c4417..15d707e9fb 100644 --- a/p__Classrooms__Lists__Polls__Detail__index.803cb14b.async.js +++ b/p__Classrooms__Lists__Polls__Detail__index.803cb14b.async.js @@ -928,14 +928,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Polls__index.01f5e490.async.js b/p__Classrooms__Lists__Polls__index.01f5e490.async.js index 7b9aa87967..11c7b56f24 100644 --- a/p__Classrooms__Lists__Polls__index.01f5e490.async.js +++ b/p__Classrooms__Lists__Polls__index.01f5e490.async.js @@ -399,14 +399,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__ShixunHomeworks__Comment__index.603ad91c.async.js b/p__Classrooms__Lists__ShixunHomeworks__Comment__index.603ad91c.async.js index 83636decff..0657ee32df 100644 --- a/p__Classrooms__Lists__ShixunHomeworks__Comment__index.603ad91c.async.js +++ b/p__Classrooms__Lists__ShixunHomeworks__Comment__index.603ad91c.async.js @@ -1604,14 +1604,14 @@ e.read=function(t,e,r,n,i){var o,a,s=8*i-n-1,A=(1<>1,c=-7,u=r?i-1:0,h= /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index.8cac27a5.async.js b/p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index.8cac27a5.async.js index 5156570427..5cc0f7ad90 100644 --- a/p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index.8cac27a5.async.js +++ b/p__Classrooms__Lists__ShixunHomeworks__Detail__components__CodeReview__Detail__index.8cac27a5.async.js @@ -231,14 +231,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__ShixunHomeworks__Detail__index.6c939aeb.async.js b/p__Classrooms__Lists__ShixunHomeworks__Detail__index.6c939aeb.async.js index 9460fc4d84..2dc1b2f9ff 100644 --- a/p__Classrooms__Lists__ShixunHomeworks__Detail__index.6c939aeb.async.js +++ b/p__Classrooms__Lists__ShixunHomeworks__Detail__index.6c939aeb.async.js @@ -1782,14 +1782,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__ShixunHomeworks__index.3e009301.async.js b/p__Classrooms__Lists__ShixunHomeworks__index.3e009301.async.js index b3d3f252fb..d5886cf753 100644 --- a/p__Classrooms__Lists__ShixunHomeworks__index.3e009301.async.js +++ b/p__Classrooms__Lists__ShixunHomeworks__index.3e009301.async.js @@ -632,14 +632,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Statistics__StudentDetail.f503173b.async.js b/p__Classrooms__Lists__Statistics__StudentDetail.f503173b.async.js index fdc289d686..62ff6bac33 100644 --- a/p__Classrooms__Lists__Statistics__StudentDetail.f503173b.async.js +++ b/p__Classrooms__Lists__Statistics__StudentDetail.f503173b.async.js @@ -242,14 +242,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index.9156b17a.async.js b/p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index.9156b17a.async.js index ec1c2414aa..281f2ea767 100644 --- a/p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index.9156b17a.async.js +++ b/p__Classrooms__Lists__Statistics__StudentStatistics__Detail__index.9156b17a.async.js @@ -173,14 +173,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Statistics__StudentStatistics__index.7904fdf2.async.js b/p__Classrooms__Lists__Statistics__StudentStatistics__index.7904fdf2.async.js index 1bb1e9b20a..6b2c8cb3a0 100644 --- a/p__Classrooms__Lists__Statistics__StudentStatistics__index.7904fdf2.async.js +++ b/p__Classrooms__Lists__Statistics__StudentStatistics__index.7904fdf2.async.js @@ -187,14 +187,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Statistics__StudentVideo__index.552d6be2.async.js b/p__Classrooms__Lists__Statistics__StudentVideo__index.552d6be2.async.js index 6bb8cd4872..5bd274f6eb 100644 --- a/p__Classrooms__Lists__Statistics__StudentVideo__index.552d6be2.async.js +++ b/p__Classrooms__Lists__Statistics__StudentVideo__index.552d6be2.async.js @@ -174,14 +174,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Statistics__VideoStatistics__index.238afd9c.async.js b/p__Classrooms__Lists__Statistics__VideoStatistics__index.238afd9c.async.js index 764995bd0b..b85d85e1cf 100644 --- a/p__Classrooms__Lists__Statistics__VideoStatistics__index.238afd9c.async.js +++ b/p__Classrooms__Lists__Statistics__VideoStatistics__index.238afd9c.async.js @@ -887,14 +887,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Statistics__index.d0eaef18.async.js b/p__Classrooms__Lists__Statistics__index.d0eaef18.async.js index e9094e4110..e5437db9aa 100644 --- a/p__Classrooms__Lists__Statistics__index.d0eaef18.async.js +++ b/p__Classrooms__Lists__Statistics__index.d0eaef18.async.js @@ -970,14 +970,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Students.72d16d49.async.js b/p__Classrooms__Lists__Students.72d16d49.async.js index 708a0bd0d0..57191258b4 100644 --- a/p__Classrooms__Lists__Students.72d16d49.async.js +++ b/p__Classrooms__Lists__Students.72d16d49.async.js @@ -297,14 +297,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Teachers.4ae5456f.async.js b/p__Classrooms__Lists__Teachers.4ae5456f.async.js index 1c55c82495..e1af093c0c 100644 --- a/p__Classrooms__Lists__Teachers.4ae5456f.async.js +++ b/p__Classrooms__Lists__Teachers.4ae5456f.async.js @@ -292,14 +292,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Video__Statistics__Detail__index.e12cbe4b.async.js b/p__Classrooms__Lists__Video__Statistics__Detail__index.e12cbe4b.async.js index f72ef3937f..32295d131e 100644 --- a/p__Classrooms__Lists__Video__Statistics__Detail__index.e12cbe4b.async.js +++ b/p__Classrooms__Lists__Video__Statistics__Detail__index.e12cbe4b.async.js @@ -163,14 +163,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Video__Statistics__StudentDetail__index.6d65aaf4.async.js b/p__Classrooms__Lists__Video__Statistics__StudentDetail__index.6d65aaf4.async.js index 60180bbef5..ba3ec356f2 100644 --- a/p__Classrooms__Lists__Video__Statistics__StudentDetail__index.6d65aaf4.async.js +++ b/p__Classrooms__Lists__Video__Statistics__StudentDetail__index.6d65aaf4.async.js @@ -163,14 +163,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Video__Statistics__index.0393194e.async.js b/p__Classrooms__Lists__Video__Statistics__index.0393194e.async.js index 5c7e2a0c95..5f821cf6df 100644 --- a/p__Classrooms__Lists__Video__Statistics__index.0393194e.async.js +++ b/p__Classrooms__Lists__Video__Statistics__index.0393194e.async.js @@ -168,14 +168,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Classrooms__Lists__Video__index.07277313.async.js b/p__Classrooms__Lists__Video__index.28b354aa.async.js similarity index 98% rename from p__Classrooms__Lists__Video__index.07277313.async.js rename to p__Classrooms__Lists__Video__index.28b354aa.async.js index d3ee9dfa2b..be992f49da 100644 --- a/p__Classrooms__Lists__Video__index.07277313.async.js +++ b/p__Classrooms__Lists__Video__index.28b354aa.async.js @@ -287,7 +287,7 @@ !*** ./src/components/Video/Play/index.jsx ***! \*********************************************/ /*! exports provided: default */ -/*! exports used: default */function(e,t,n){"use strict";n(/*! antd/es/message/style */"miYZ");var r=n(/*! antd/es/message */"tsqr"),i=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),s=n.n(a),o=n(/*! react */"q1tI"),l=n.n(o),c=n(/*! flv.js */"GUcZ"),u=n(/*! hls.js */"ulZh"),d=n.n(u),h=n(/*! @/utils/authority */"xKgJ"),f=n(/*! @/utils/fullscreen.ts */"bntm"),p=n(/*! ./index.less?modules */"4xil"),v=n.n(p);function m(e){if(isNaN(e))return{minutes:"00",seconds:"00"};var t=new Date(1e3*e).toISOString().substr(11,8);return{minutes:t.substr(3,2),seconds:t.substr(6,2)}}function g(e,t){return e-t}function y(e){e.sort(g);for(var t=0,n=0;n0&&!this.paused&&!this.ended&&this.readyState>2)}});var b=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;t.a=Object(o.forwardRef)((function(e,t){var n,a,u,p=e.src,g=e.toLog,E=e.videoId,_=e.logWatchHistory,S=e.courseId,T=void 0===S?null:S,k=e.startTime,O=e.handlePause,A=void 0===O?function(){}:O,L=e.handlePlay,C=void 0===L?function(){}:L,R=e.handlePlayEnded,D=void 0===R?function(){}:R,w=e.videoSpeed,x=void 0===w?1:w,I="flv"===(null===(a=p=null===(n=p)||void 0===n?void 0:n.replace("http://","http://"))||void 0===a||null===(u=a.split("."))||void 0===u?void 0:u.pop()),M=Object(o.useRef)(),P=Object(o.useRef)(),N=Object(o.useRef)(),j=Object(o.useRef)(),F=Object(o.useRef)(),B=Object(o.useRef)(),U=Object(o.useRef)(),K=Object(o.useRef)(),G=Object(o.useRef)(),V=Object(o.useRef)(),H=Object(o.useRef)(),z=Object(o.useRef)(),W=Object(o.useRef)(),q=Object(o.useRef)(),Y=navigator.userAgent.toLowerCase().match(b),X=Y?Y[0]:"pc",Q=Object(o.useRef)(!1),J=Object(h.x)(),Z=0,$=0,ee=0,te=null,ne=!1,re=20,ie=1,ae=!1,se=!1,oe=[];Object(o.useImperativeHandle)(t,(function(){return{getLastUpdatedTime:function(){return M.current.currentTime},getDuration:function(){return M.current.duration}}}));var le=Object(o.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={point:M.current.currentTime};function r(){return a.apply(this,arguments)}function a(){return(a=Object(i.a)(s.a.mark((function t(){var r;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return ae=!0,t.next=3,_(n);case 3:r=t.sent,te=r,ae=!1,e&&e();case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}te?(n.log_id=te,n.watch_duration=y(oe),n.total_duration=$):(T?(n.video_id=parseInt(E,10),n.course_id=T):n.video_id=E,n.duration=Z,n.device=X),t&&(n.ed="1"),r()}),[E,T]);function ce(){M.current.paused?(j.current.style.display="none",F.current.style.display="block"):(j.current.style.display="block",F.current.style.display="none")}function ue(){H.current.style.display="none",W.current.style.display="none",z.current.style.display="none",M.current.muted||0===M.current.volume?H.current.style.display="block":M.current.volume>0&&M.current.volume<=.5?W.current.style.display="block":z.current.style.display="block"}Object(o.useEffect)((function(){var e;r.b.destroy();var t=null;return c.a.isSupported&&I&&p&&(null===(e=p)||void 0===e?void 0:e.indexOf(".m3u8"))<0?(t=c.a.createPlayer({type:"flv",volume:.8,cors:!0,url:p,muted:!1}),M.current&&(t.attachMediaElement(M.current),t.load())):M.current.setAttribute("src",p),ue(),function(){t&&(t.unload(),t.pause(),t.destroy(),t=null)}}),[M,I,p]),Object(o.useEffect)((function(){document.getElementById("play"),document.querySelectorAll(".playback-icons use");function e(){C(),k&&!Q.current&&(M.current.currentTime=k),Q.current=!0,oe.push(M.current.currentTime),ne||(ne=!0,g&&le())}function t(){return n.apply(this,arguments)}function n(){return(n=Object(i.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:ce(),oe.push(M.current.currentTime),g&&le((function(){te=null,ee=0,ne=!1,ae=!1,se=!1,oe=[],$=0,ie=1}),!0);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function r(){var e=Math.round(M.current.duration);B.current.setAttribute("max",e),U.current.setAttribute("max",e);var t=m(e);K.current.innerText="".concat(t.minutes,":").concat(t.seconds),K.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s"))}function a(){var e=Math.round(M.current.duration);B.current.setAttribute("max",e),U.current.setAttribute("max",e);var t=m(e);K.current.innerText="".concat(t.minutes,":").concat(t.seconds),K.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s")),B.current.value=Math.floor(M.current.currentTime),U.current.value=Math.floor(M.current.currentTime),function(){var e=m(Math.round(M.current.currentTime));G.current.innerText="".concat(e.minutes,":").concat(e.seconds),G.current.setAttribute("datetime","".concat(e.minutes,"m ").concat(e.seconds,"s"))}();var n=P.current.getBoundingClientRect(),r=n.width,i=(n.height,n.x),a=n.y;if(!(i<0||a<0)&&r&&!se){var s=M.current.currentTime,o=s-ee;Math.abs(o)<10?($+=Math.abs(o),ee=s,ae||$-ie*re>=0&&(ie++,oe.push(ee),g&&le())):(ee=s,g&&le())}}function o(){se=!0}function l(){M.current.playing&&oe.push(M.current.currentTime,ee),ee=M.current.currentTime,se=!1}function c(){(Z=M.current.duration)<=20&&(re=Z/3),M.current.addEventListener("play",e)}function u(){A()}function d(e){var t=e.target.dataset.seek?e.target.dataset.seek:e.target.value;M.current.currentTime=t,U.current.value=t,B.current.value=t}function h(e){var t=Math.round(e.offsetX/e.target.clientWidth*parseInt(e.target.getAttribute("max"),10));B.current.setAttribute("data-seek",t);var n=m(t);V.current.textContent="".concat(n.minutes,":").concat(n.seconds);var r=M.current.getBoundingClientRect();V.current.style.left="".concat(e.pageX-r.left,"px")}return N.current.addEventListener(Object(f.c)(),(function(e){e.preventDefault(),Object(f.a)()?(M.current.style.width="100%",M.current.style.height="100%"):M.current.style.cssText=""})),M.current.addEventListener("canplay",c),M.current.addEventListener("ended",t),M.current.addEventListener("seeking",o),M.current.addEventListener("seeked",l),M.current.addEventListener("loadedmetadata",r),B.current.addEventListener("mousemove",h),B.current.addEventListener("input",d),M.current.addEventListener("timeupdate",a),M.current.addEventListener("pause",u),M.current.addEventListener("volumechange",ue),function(){M.current.removeEventListener("canplay",c),M.current.removeEventListener("play",e),M.current.removeEventListener("ended",t),M.current.removeEventListener("seeking",o),M.current.removeEventListener("seeked",l),B.current.removeEventListener("mousemove",h),B.current.removeEventListener("input",d),M.current.removeEventListener("timeupdate",a),M.current.removeEventListener("pause",u),M.current.removeEventListener("loadedmetadata",r),M.current.removeEventListener("volumechange",ue),M.current.playing&&(oe.push(ee,M.current.currentTime),g&&le())}}),[M,p]),Object(o.useEffect)((function(){var e;if(M.current.onended=function(){D(M)},M.current.oncontextmenu=function(){return!1},(null===(e=p)||void 0===e?void 0:e.indexOf(".m3u8"))>-1)if(M.current.canPlayType("application/vnd.apple.mpegurl"))M.current.src=p;else if(d.a.isSupported()){var t=new d.a;t.loadSource(p),t.attachMedia(M.current)}}),[p]),Object(o.useEffect)((function(){M.current.playbackRate=x}),[x]);return l.a.createElement("div",{style:{position:"relative"},ref:N},l.a.createElement("div",{ref:P,className:"".concat(v.a.watermark," animated_alternate animate__animated_10s animate__infinite animate__stepstart ").concat(v.a.animate__loop)},J?J.login:" "),l.a.createElement("div",{className:v.a.container},l.a.createElement("div",{className:v.a["video-container"],id:"video-container"},l.a.createElement("div",{className:v.a["playback-animation"],id:"playback-animation"},l.a.createElement("svg",{className:v.a["playback-icons"]},l.a.createElement("use",{className:"hidden",href:"#play-icon"}),l.a.createElement("use",{href:"#pause"}))),l.a.createElement("video",{className:v.a.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:M,autoPlay:!1}),l.a.createElement("div",{className:"".concat(v.a["video-controls"]," "),id:"video-controls"},l.a.createElement("div",{className:v.a["bottom-controls"]},l.a.createElement("div",{className:v.a["left-controls"]},l.a.createElement("button",{"data-title":"播放/暂停",id:"play",onClick:function(){M.current.paused||M.current.ended?M.current.play():M.current.pause(),ce()}},l.a.createElement("svg",{className:v.a["playback-icons"]},l.a.createElement("use",{ref:F,href:"#play-icon"}),l.a.createElement("use",{ref:j,style:{display:"none"},href:"#pause"}))),l.a.createElement("div",{className:v.a.time},l.a.createElement("time",{id:"time-elapsed",ref:G},"00:00"),l.a.createElement("span",null," / "),l.a.createElement("time",{id:"duration",ref:K},"00:00"))),l.a.createElement("div",{className:v.a["right-controls"]},l.a.createElement("div",{className:v.a["volume-controls"]},l.a.createElement("button",{"data-title":"开启/关闭声音",className:v.a["volume-button"],id:"volume-button",onClick:function(){M.current.muted=!M.current.muted,M.current.muted?(q.current.setAttribute("data-volume",volume.value),q.current.value=0):q.current.value=q.current.dataset.volume}},l.a.createElement("svg",null,l.a.createElement("use",{ref:H,href:"#volume-mute"}),l.a.createElement("use",{ref:W,href:"#volume-low"}),l.a.createElement("use",{ref:z,href:"#volume-high"}))),l.a.createElement("input",{className:v.a.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:q,style:{display:"none"},onClick:ue})),l.a.createElement("button",{"data-title":"全屏/退出全屏",className:v.a["fullscreen-button"],onClick:function(){Object(f.a)()?Object(f.b)():Object(f.d)(N.current)}},l.a.createElement("svg",null,l.a.createElement("use",{href:"#fullscreen"}),l.a.createElement("use",{href:"#fullscreen-exit",className:"hidden"}))))),l.a.createElement("div",{className:v.a["video-progress"]},l.a.createElement("progress",{ref:U,value:"0",min:"0"}),l.a.createElement("input",{className:v.a.seek,ref:B,value:"0",min:"0",type:"range",step:"1"}),l.a.createElement("div",{className:v.a["seek-tooltip"],ref:V,id:"seek-tooltip"},"00:00"))))),l.a.createElement("svg",{style:{display:"none"}},l.a.createElement("defs",null,l.a.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),l.a.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),l.a.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),l.a.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),l.a.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),l.a.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),l.a.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),l.a.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))}))},iVQj: +/*! exports used: default */function(e,t,n){"use strict";n(/*! antd/es/message/style */"miYZ");var r=n(/*! antd/es/message */"tsqr"),i=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),s=n.n(a),o=n(/*! react */"q1tI"),l=n.n(o),c=n(/*! flv.js */"GUcZ"),u=n(/*! hls.js */"ulZh"),d=n.n(u),h=n(/*! @/utils/authority */"xKgJ"),f=n(/*! @/utils/fullscreen.ts */"bntm"),p=n(/*! ./index.less?modules */"4xil"),v=n.n(p);function m(e){if(isNaN(e))return{minutes:"00",seconds:"00"};var t=new Date(1e3*e).toISOString().substr(11,8);return{minutes:t.substr(3,2),seconds:t.substr(6,2)}}function g(e,t){return e-t}function y(e){e.sort(g);for(var t=0,n=0;n0&&!this.paused&&!this.ended&&this.readyState>2)}});var b=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;t.a=Object(o.forwardRef)((function(e,t){var n,a=e.src,u=e.toLog,p=e.videoId,g=e.logWatchHistory,E=e.courseId,_=void 0===E?null:E,S=e.startTime,T=e.handlePause,k=void 0===T?function(){}:T,O=e.handlePlay,A=void 0===O?function(){}:O,L=e.handlePlayEnded,C=void 0===L?function(){}:L,R=e.videoSpeed,D=void 0===R?1:R,w="flv"===(null==a||null===(n=a.split("."))||void 0===n?void 0:n.pop()),x=Object(o.useRef)(),I=Object(o.useRef)(),M=Object(o.useRef)(),P=Object(o.useRef)(),N=Object(o.useRef)(),j=Object(o.useRef)(),F=Object(o.useRef)(),B=Object(o.useRef)(),U=Object(o.useRef)(),K=Object(o.useRef)(),G=Object(o.useRef)(),V=Object(o.useRef)(),H=Object(o.useRef)(),z=Object(o.useRef)(),W=navigator.userAgent.toLowerCase().match(b),q=W?W[0]:"pc",Y=Object(o.useRef)(!1),X=Object(h.x)(),Q=0,J=0,Z=0,$=null,ee=!1,te=20,ne=1,re=!1,ie=!1,ae=[];Object(o.useImperativeHandle)(t,(function(){return{getLastUpdatedTime:function(){return x.current.currentTime},getDuration:function(){return x.current.duration}}}));var se=Object(o.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={point:x.current.currentTime};function r(){return a.apply(this,arguments)}function a(){return(a=Object(i.a)(s.a.mark((function t(){var r;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return re=!0,t.next=3,g(n);case 3:r=t.sent,$=r,re=!1,e&&e();case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}$?(n.log_id=$,n.watch_duration=y(ae),n.total_duration=J):(_?(n.video_id=parseInt(p,10),n.course_id=_):n.video_id=p,n.duration=Q,n.device=q),t&&(n.ed="1"),r()}),[p,_]);function oe(){x.current.paused?(P.current.style.display="none",N.current.style.display="block"):(P.current.style.display="block",N.current.style.display="none")}function le(){G.current.style.display="none",H.current.style.display="none",V.current.style.display="none",x.current.muted||0===x.current.volume?G.current.style.display="block":x.current.volume>0&&x.current.volume<=.5?H.current.style.display="block":V.current.style.display="block"}Object(o.useEffect)((function(){r.b.destroy();var e=null;return c.a.isSupported&&w&&a&&(null==a?void 0:a.indexOf(".m3u8"))<0?(e=c.a.createPlayer({type:"flv",volume:.8,cors:!0,url:a,muted:!1}),x.current&&(e.attachMediaElement(x.current),e.load())):x.current.setAttribute("src",a),le(),function(){e&&(e.unload(),e.pause(),e.destroy(),e=null)}}),[x,w,a]),Object(o.useEffect)((function(){document.getElementById("play"),document.querySelectorAll(".playback-icons use");function e(){A(),S&&!Y.current&&(x.current.currentTime=S),Y.current=!0,ae.push(x.current.currentTime),ee||(ee=!0,u&&se())}function t(){return n.apply(this,arguments)}function n(){return(n=Object(i.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:oe(),ae.push(x.current.currentTime),u&&se((function(){$=null,Z=0,ee=!1,re=!1,ie=!1,ae=[],J=0,ne=1}),!0);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function r(){var e=Math.round(x.current.duration);j.current.setAttribute("max",e),F.current.setAttribute("max",e);var t=m(e);B.current.innerText="".concat(t.minutes,":").concat(t.seconds),B.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s"))}function a(){var e=Math.round(x.current.duration);j.current.setAttribute("max",e),F.current.setAttribute("max",e);var t=m(e);B.current.innerText="".concat(t.minutes,":").concat(t.seconds),B.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s")),j.current.value=Math.floor(x.current.currentTime),F.current.value=Math.floor(x.current.currentTime),function(){var e=m(Math.round(x.current.currentTime));U.current.innerText="".concat(e.minutes,":").concat(e.seconds),U.current.setAttribute("datetime","".concat(e.minutes,"m ").concat(e.seconds,"s"))}();var n=I.current.getBoundingClientRect(),r=n.width,i=(n.height,n.x),a=n.y;if(!(i<0||a<0)&&r&&!ie){var s=x.current.currentTime,o=s-Z;Math.abs(o)<10?(J+=Math.abs(o),Z=s,re||J-ne*te>=0&&(ne++,ae.push(Z),u&&se())):(Z=s,u&&se())}}function o(){ie=!0}function l(){x.current.playing&&ae.push(x.current.currentTime,Z),Z=x.current.currentTime,ie=!1}function c(){(Q=x.current.duration)<=20&&(te=Q/3),x.current.addEventListener("play",e)}function d(){k()}function h(e){var t=e.target.dataset.seek?e.target.dataset.seek:e.target.value;x.current.currentTime=t,F.current.value=t,j.current.value=t}function p(e){var t=Math.round(e.offsetX/e.target.clientWidth*parseInt(e.target.getAttribute("max"),10));j.current.setAttribute("data-seek",t);var n=m(t);K.current.textContent="".concat(n.minutes,":").concat(n.seconds);var r=x.current.getBoundingClientRect();K.current.style.left="".concat(e.pageX-r.left,"px")}return M.current.addEventListener(Object(f.c)(),(function(e){e.preventDefault(),Object(f.a)()?(x.current.style.width="100%",x.current.style.height="100%"):x.current.style.cssText=""})),x.current.addEventListener("canplay",c),x.current.addEventListener("ended",t),x.current.addEventListener("seeking",o),x.current.addEventListener("seeked",l),x.current.addEventListener("loadedmetadata",r),j.current.addEventListener("mousemove",p),j.current.addEventListener("input",h),x.current.addEventListener("timeupdate",a),x.current.addEventListener("pause",d),x.current.addEventListener("volumechange",le),function(){x.current.removeEventListener("canplay",c),x.current.removeEventListener("play",e),x.current.removeEventListener("ended",t),x.current.removeEventListener("seeking",o),x.current.removeEventListener("seeked",l),j.current.removeEventListener("mousemove",p),j.current.removeEventListener("input",h),x.current.removeEventListener("timeupdate",a),x.current.removeEventListener("pause",d),x.current.removeEventListener("loadedmetadata",r),x.current.removeEventListener("volumechange",le),x.current.playing&&(ae.push(Z,x.current.currentTime),u&&se())}}),[x,a]),Object(o.useEffect)((function(){if(x.current.onended=function(){C(x)},x.current.oncontextmenu=function(){return!1},(null==a?void 0:a.indexOf(".m3u8"))>-1)if(x.current.canPlayType("application/vnd.apple.mpegurl"))x.current.src=a;else if(d.a.isSupported()){var e=new d.a;e.loadSource(a),e.attachMedia(x.current)}}),[a]),Object(o.useEffect)((function(){x.current.playbackRate=D}),[D]);return l.a.createElement("div",{style:{position:"relative"},ref:M},l.a.createElement("div",{ref:I,className:"".concat(v.a.watermark," animated_alternate animate__animated_10s animate__infinite animate__stepstart ").concat(v.a.animate__loop)},X?X.login:" "),l.a.createElement("div",{className:v.a.container},l.a.createElement("div",{className:v.a["video-container"],id:"video-container"},l.a.createElement("div",{className:v.a["playback-animation"],id:"playback-animation"},l.a.createElement("svg",{className:v.a["playback-icons"]},l.a.createElement("use",{className:"hidden",href:"#play-icon"}),l.a.createElement("use",{href:"#pause"}))),l.a.createElement("video",{className:v.a.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:x,autoPlay:!1}),l.a.createElement("div",{className:"".concat(v.a["video-controls"]," "),id:"video-controls"},l.a.createElement("div",{className:v.a["bottom-controls"]},l.a.createElement("div",{className:v.a["left-controls"]},l.a.createElement("button",{"data-title":"播放/暂停",id:"play",onClick:function(){x.current.paused||x.current.ended?x.current.play():x.current.pause(),oe()}},l.a.createElement("svg",{className:v.a["playback-icons"]},l.a.createElement("use",{ref:N,href:"#play-icon"}),l.a.createElement("use",{ref:P,style:{display:"none"},href:"#pause"}))),l.a.createElement("div",{className:v.a.time},l.a.createElement("time",{id:"time-elapsed",ref:U},"00:00"),l.a.createElement("span",null," / "),l.a.createElement("time",{id:"duration",ref:B},"00:00"))),l.a.createElement("div",{className:v.a["right-controls"]},l.a.createElement("div",{className:v.a["volume-controls"]},l.a.createElement("button",{"data-title":"开启/关闭声音",className:v.a["volume-button"],id:"volume-button",onClick:function(){x.current.muted=!x.current.muted,x.current.muted?(z.current.setAttribute("data-volume",volume.value),z.current.value=0):z.current.value=z.current.dataset.volume}},l.a.createElement("svg",null,l.a.createElement("use",{ref:G,href:"#volume-mute"}),l.a.createElement("use",{ref:H,href:"#volume-low"}),l.a.createElement("use",{ref:V,href:"#volume-high"}))),l.a.createElement("input",{className:v.a.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:z,style:{display:"none"},onClick:le})),l.a.createElement("button",{"data-title":"全屏/退出全屏",className:v.a["fullscreen-button"],onClick:function(){Object(f.a)()?Object(f.b)():Object(f.d)(M.current)}},l.a.createElement("svg",null,l.a.createElement("use",{href:"#fullscreen"}),l.a.createElement("use",{href:"#fullscreen-exit",className:"hidden"}))))),l.a.createElement("div",{className:v.a["video-progress"]},l.a.createElement("progress",{ref:F,value:"0",min:"0"}),l.a.createElement("input",{className:v.a.seek,ref:j,value:"0",min:"0",type:"range",step:"1"}),l.a.createElement("div",{className:v.a["seek-tooltip"],ref:K,id:"seek-tooltip"},"00:00"))))),l.a.createElement("svg",{style:{display:"none"}},l.a.createElement("defs",null,l.a.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),l.a.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),l.a.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),l.a.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),l.a.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),l.a.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),l.a.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),l.a.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))}))},iVQj: /*!****************************************************************!*\ !*** ./src/pages/Classrooms/Lists/Video/index.tsx + 9 modules ***! \****************************************************************/ diff --git a/p__Colleges__index.686cff99.async.js b/p__Colleges__index.686cff99.async.js index 372cb8b6bc..8167a91b27 100644 --- a/p__Colleges__index.686cff99.async.js +++ b/p__Colleges__index.686cff99.async.js @@ -821,14 +821,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Competitions__Detail.99f5d4fa.async.js b/p__Competitions__Detail.99f5d4fa.async.js index 4eaa482da5..1dfa00ee68 100644 --- a/p__Competitions__Detail.99f5d4fa.async.js +++ b/p__Competitions__Detail.99f5d4fa.async.js @@ -1389,14 +1389,14 @@ r.mode.CTRGladman=function(){var e=r.lib.BlockCipherMode.extend();function t(e){ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Competitions__Entered__Assembly__TeamDateil.d59e8998.async.js b/p__Competitions__Entered__Assembly__TeamDateil.d59e8998.async.js index bde53436b0..a0d4b9da14 100644 --- a/p__Competitions__Entered__Assembly__TeamDateil.d59e8998.async.js +++ b/p__Competitions__Entered__Assembly__TeamDateil.d59e8998.async.js @@ -157,14 +157,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Engineering__Evaluate__Detail.786dce08.async.js b/p__Engineering__Evaluate__Detail.786dce08.async.js index ff4325ccfc..d92ab10b04 100644 --- a/p__Engineering__Evaluate__Detail.786dce08.async.js +++ b/p__Engineering__Evaluate__Detail.786dce08.async.js @@ -848,14 +848,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Engineering__Evaluate__List.bf85b21b.async.js b/p__Engineering__Evaluate__List.bf85b21b.async.js index 79204002f5..9e673cd246 100644 --- a/p__Engineering__Evaluate__List.bf85b21b.async.js +++ b/p__Engineering__Evaluate__List.bf85b21b.async.js @@ -243,14 +243,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Engineering__Lists__CourseList.99ea18e8.async.js b/p__Engineering__Lists__CourseList.99ea18e8.async.js index c2817496ab..033673607f 100644 --- a/p__Engineering__Lists__CourseList.99ea18e8.async.js +++ b/p__Engineering__Lists__CourseList.99ea18e8.async.js @@ -243,14 +243,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Engineering__Lists__CourseMatrix.f2b7a411.async.js b/p__Engineering__Lists__CourseMatrix.f2b7a411.async.js index 7ffee89404..01f188cbeb 100644 --- a/p__Engineering__Lists__CourseMatrix.f2b7a411.async.js +++ b/p__Engineering__Lists__CourseMatrix.f2b7a411.async.js @@ -219,14 +219,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Engineering__Lists__CurseSetting.ca74b104.async.js b/p__Engineering__Lists__CurseSetting.ca74b104.async.js index 55913a7778..fa0e6637c7 100644 --- a/p__Engineering__Lists__CurseSetting.ca74b104.async.js +++ b/p__Engineering__Lists__CurseSetting.ca74b104.async.js @@ -370,14 +370,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Engineering__Lists__StudentList.122a5252.async.js b/p__Engineering__Lists__StudentList.122a5252.async.js index 66e142c37b..01e18286ca 100644 --- a/p__Engineering__Lists__StudentList.122a5252.async.js +++ b/p__Engineering__Lists__StudentList.122a5252.async.js @@ -287,14 +287,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Engineering__Lists__TeacherList.f2694da0.async.js b/p__Engineering__Lists__TeacherList.f2694da0.async.js index 4b5939a148..950424c24a 100644 --- a/p__Engineering__Lists__TeacherList.f2694da0.async.js +++ b/p__Engineering__Lists__TeacherList.f2694da0.async.js @@ -329,14 +329,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Engineering__Lists__TrainingProgram.a1e57c48.async.js b/p__Engineering__Lists__TrainingProgram.a1e57c48.async.js index ec753e0362..ecb99cb91f 100644 --- a/p__Engineering__Lists__TrainingProgram.a1e57c48.async.js +++ b/p__Engineering__Lists__TrainingProgram.a1e57c48.async.js @@ -193,14 +193,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Engineering__Lists__TrainingProgram__Add.69459091.async.js b/p__Engineering__Lists__TrainingProgram__Add.69459091.async.js index 5f91bf8760..b6add2cffb 100644 --- a/p__Engineering__Lists__TrainingProgram__Add.69459091.async.js +++ b/p__Engineering__Lists__TrainingProgram__Add.69459091.async.js @@ -214,14 +214,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Engineering__Lists__TrainingProgram__Edit.cdc9d6e4.async.js b/p__Engineering__Lists__TrainingProgram__Edit.cdc9d6e4.async.js index ce1b2b03cf..96835e19f5 100644 --- a/p__Engineering__Lists__TrainingProgram__Edit.cdc9d6e4.async.js +++ b/p__Engineering__Lists__TrainingProgram__Edit.cdc9d6e4.async.js @@ -214,14 +214,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Engineering__Norm__List.3c3a3182.async.js b/p__Engineering__Norm__List.3c3a3182.async.js index 58df616e74..386c2e9ba8 100644 --- a/p__Engineering__Norm__List.3c3a3182.async.js +++ b/p__Engineering__Norm__List.3c3a3182.async.js @@ -330,14 +330,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Innovation__Detail.feb15c24.async.js b/p__Innovation__Detail.feb15c24.async.js index b40db8eb46..f1f9a48ae8 100644 --- a/p__Innovation__Detail.feb15c24.async.js +++ b/p__Innovation__Detail.feb15c24.async.js @@ -817,14 +817,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Innovation__Edit.4a896158.async.js b/p__Innovation__Edit.4a896158.async.js index 5539115d83..37381d3ad2 100644 --- a/p__Innovation__Edit.4a896158.async.js +++ b/p__Innovation__Edit.4a896158.async.js @@ -291,14 +291,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Innovation__MyDataSet.84651879.async.js b/p__Innovation__MyDataSet.84651879.async.js index 9e8b419947..6b5690a570 100644 --- a/p__Innovation__MyDataSet.84651879.async.js +++ b/p__Innovation__MyDataSet.84651879.async.js @@ -275,14 +275,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Innovation__MyMirror.c900100a.async.js b/p__Innovation__MyMirror.c900100a.async.js index 541060811d..112253b78b 100644 --- a/p__Innovation__MyMirror.c900100a.async.js +++ b/p__Innovation__MyMirror.c900100a.async.js @@ -275,14 +275,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Innovation__PublicDataSet.07e28ea9.async.js b/p__Innovation__PublicDataSet.07e28ea9.async.js index 4e69e9b084..aeb2244e98 100644 --- a/p__Innovation__PublicDataSet.07e28ea9.async.js +++ b/p__Innovation__PublicDataSet.07e28ea9.async.js @@ -280,14 +280,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Innovation__PublicMirror.7594cb6d.async.js b/p__Innovation__PublicMirror.7594cb6d.async.js index ee86cd995c..52cc753f9b 100644 --- a/p__Innovation__PublicMirror.7594cb6d.async.js +++ b/p__Innovation__PublicMirror.7594cb6d.async.js @@ -238,14 +238,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Innovation__Tasks.2ac374d9.async.js b/p__Innovation__Tasks.2ac374d9.async.js index b9ec0450fe..3d528f8162 100644 --- a/p__Innovation__Tasks.2ac374d9.async.js +++ b/p__Innovation__Tasks.2ac374d9.async.js @@ -1249,14 +1249,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__MyProblem__index.a5baf251.async.js b/p__MyProblem__index.a5baf251.async.js index c91c60a352..72c8e6faf8 100644 --- a/p__MyProblem__index.a5baf251.async.js +++ b/p__MyProblem__index.a5baf251.async.js @@ -1235,14 +1235,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Paperlibrary__Random__Detail__index.678f4d6c.async.js b/p__Paperlibrary__Random__Detail__index.678f4d6c.async.js index 7235e973db..a7c62b454e 100644 --- a/p__Paperlibrary__Random__Detail__index.678f4d6c.async.js +++ b/p__Paperlibrary__Random__Detail__index.678f4d6c.async.js @@ -317,14 +317,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Paperlibrary__See__index.988d79fd.async.js b/p__Paperlibrary__See__index.988d79fd.async.js index 3a33382be5..e06f5d4a8d 100644 --- a/p__Paperlibrary__See__index.988d79fd.async.js +++ b/p__Paperlibrary__See__index.988d79fd.async.js @@ -774,14 +774,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Paperlibrary__index.1a9f14e2.async.js b/p__Paperlibrary__index.1a9f14e2.async.js index 9cc30fbd2e..e101faab8b 100644 --- a/p__Paperlibrary__index.1a9f14e2.async.js +++ b/p__Paperlibrary__index.1a9f14e2.async.js @@ -467,14 +467,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Paths__Detail__Statistics.193e2328.async.js b/p__Paths__Detail__Statistics.193e2328.async.js index 012619b6d5..466994b62d 100644 --- a/p__Paths__Detail__Statistics.193e2328.async.js +++ b/p__Paths__Detail__Statistics.193e2328.async.js @@ -936,14 +936,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Paths__Detail__id.d3bfd3f4.async.js b/p__Paths__Detail__id.d3bfd3f4.async.js index f3e5739bed..3d4226b40a 100644 --- a/p__Paths__Detail__id.d3bfd3f4.async.js +++ b/p__Paths__Detail__id.d3bfd3f4.async.js @@ -2233,14 +2233,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Problemset__NewItem__index.c27455f1.async.js b/p__Problemset__NewItem__index.c27455f1.async.js index 7663767a3c..87c772183d 100644 --- a/p__Problemset__NewItem__index.c27455f1.async.js +++ b/p__Problemset__NewItem__index.c27455f1.async.js @@ -1029,14 +1029,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Problemset__Statistics.4fb02feb.async.js b/p__Problemset__Statistics.4fb02feb.async.js index 7bb7b0bb6b..06af2ac772 100644 --- a/p__Problemset__Statistics.4fb02feb.async.js +++ b/p__Problemset__Statistics.4fb02feb.async.js @@ -863,14 +863,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Problemset__index.49e93fc0.async.js b/p__Problemset__index.49e93fc0.async.js index 1a6afff8c4..f39f6f8c97 100644 --- a/p__Problemset__index.49e93fc0.async.js +++ b/p__Problemset__index.49e93fc0.async.js @@ -953,14 +953,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Question__AddOrEdit.fa6604b1.async.js b/p__Question__AddOrEdit.fa6604b1.async.js index 8854c6e06c..45a2b9178b 100644 --- a/p__Question__AddOrEdit.fa6604b1.async.js +++ b/p__Question__AddOrEdit.fa6604b1.async.js @@ -1424,14 +1424,14 @@ n.mode.CTRGladman=function(){var e=n.lib.BlockCipherMode.extend();function t(e){ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Question__Index.5174a1cb.async.js b/p__Question__Index.5174a1cb.async.js index 861c24e272..2c06c26720 100644 --- a/p__Question__Index.5174a1cb.async.js +++ b/p__Question__Index.5174a1cb.async.js @@ -738,14 +738,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Question__OjProblem.85547e8c.async.js b/p__Question__OjProblem.1de2e068.async.js similarity index 99% rename from p__Question__OjProblem.85547e8c.async.js rename to p__Question__OjProblem.1de2e068.async.js index 787d0575b7..2b59beedcc 100644 --- a/p__Question__OjProblem.85547e8c.async.js +++ b/p__Question__OjProblem.1de2e068.async.js @@ -889,7 +889,7 @@ PERFORMANCE OF THIS SOFTWARE. !*** ./src/components/Video/Play/index.jsx ***! \*********************************************/ /*! exports provided: default */ -/*! exports used: default */function(e,t,n){"use strict";n(/*! antd/es/message/style */"miYZ");var r=n(/*! antd/es/message */"tsqr"),i=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),a=n.n(o),s=n(/*! react */"q1tI"),l=n.n(s),c=n(/*! flv.js */"GUcZ"),u=n(/*! hls.js */"ulZh"),h=n.n(u),d=n(/*! @/utils/authority */"xKgJ"),f=n(/*! @/utils/fullscreen.ts */"bntm"),p=n(/*! ./index.less?modules */"4xil"),m=n.n(p);function g(e){if(isNaN(e))return{minutes:"00",seconds:"00"};var t=new Date(1e3*e).toISOString().substr(11,8);return{minutes:t.substr(3,2),seconds:t.substr(6,2)}}function v(e,t){return e-t}function y(e){e.sort(v);for(var t=0,n=0;n0&&!this.paused&&!this.ended&&this.readyState>2)}});var b=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;t.a=Object(s.forwardRef)((function(e,t){var n,o,u,p=e.src,v=e.toLog,_=e.videoId,E=e.logWatchHistory,x=e.courseId,w=void 0===x?null:x,S=e.startTime,k=e.handlePause,C=void 0===k?function(){}:k,T=e.handlePlay,O=void 0===T?function(){}:T,A=e.handlePlayEnded,L=void 0===A?function(){}:A,R=e.videoSpeed,D=void 0===R?1:R,I="flv"===(null===(o=p=null===(n=p)||void 0===n?void 0:n.replace("http://","http://"))||void 0===o||null===(u=o.split("."))||void 0===u?void 0:u.pop()),M=Object(s.useRef)(),N=Object(s.useRef)(),P=Object(s.useRef)(),j=Object(s.useRef)(),B=Object(s.useRef)(),F=Object(s.useRef)(),U=Object(s.useRef)(),G=Object(s.useRef)(),z=Object(s.useRef)(),H=Object(s.useRef)(),V=Object(s.useRef)(),W=Object(s.useRef)(),K=Object(s.useRef)(),q=Object(s.useRef)(),X=navigator.userAgent.toLowerCase().match(b),Y=X?X[0]:"pc",$=Object(s.useRef)(!1),J=Object(d.x)(),Z=0,Q=0,ee=0,te=null,ne=!1,re=20,ie=1,oe=!1,ae=!1,se=[];Object(s.useImperativeHandle)(t,(function(){return{getLastUpdatedTime:function(){return M.current.currentTime},getDuration:function(){return M.current.duration}}}));var le=Object(s.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={point:M.current.currentTime};function r(){return o.apply(this,arguments)}function o(){return(o=Object(i.a)(a.a.mark((function t(){var r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return oe=!0,t.next=3,E(n);case 3:r=t.sent,te=r,oe=!1,e&&e();case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}te?(n.log_id=te,n.watch_duration=y(se),n.total_duration=Q):(w?(n.video_id=parseInt(_,10),n.course_id=w):n.video_id=_,n.duration=Z,n.device=Y),t&&(n.ed="1"),r()}),[_,w]);function ce(){M.current.paused?(j.current.style.display="none",B.current.style.display="block"):(j.current.style.display="block",B.current.style.display="none")}function ue(){V.current.style.display="none",K.current.style.display="none",W.current.style.display="none",M.current.muted||0===M.current.volume?V.current.style.display="block":M.current.volume>0&&M.current.volume<=.5?K.current.style.display="block":W.current.style.display="block"}Object(s.useEffect)((function(){var e;r.b.destroy();var t=null;return c.a.isSupported&&I&&p&&(null===(e=p)||void 0===e?void 0:e.indexOf(".m3u8"))<0?(t=c.a.createPlayer({type:"flv",volume:.8,cors:!0,url:p,muted:!1}),M.current&&(t.attachMediaElement(M.current),t.load())):M.current.setAttribute("src",p),ue(),function(){t&&(t.unload(),t.pause(),t.destroy(),t=null)}}),[M,I,p]),Object(s.useEffect)((function(){document.getElementById("play"),document.querySelectorAll(".playback-icons use");function e(){O(),S&&!$.current&&(M.current.currentTime=S),$.current=!0,se.push(M.current.currentTime),ne||(ne=!0,v&&le())}function t(){return n.apply(this,arguments)}function n(){return(n=Object(i.a)(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:ce(),se.push(M.current.currentTime),v&&le((function(){te=null,ee=0,ne=!1,oe=!1,ae=!1,se=[],Q=0,ie=1}),!0);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function r(){var e=Math.round(M.current.duration);F.current.setAttribute("max",e),U.current.setAttribute("max",e);var t=g(e);G.current.innerText="".concat(t.minutes,":").concat(t.seconds),G.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s"))}function o(){var e=Math.round(M.current.duration);F.current.setAttribute("max",e),U.current.setAttribute("max",e);var t=g(e);G.current.innerText="".concat(t.minutes,":").concat(t.seconds),G.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s")),F.current.value=Math.floor(M.current.currentTime),U.current.value=Math.floor(M.current.currentTime),function(){var e=g(Math.round(M.current.currentTime));z.current.innerText="".concat(e.minutes,":").concat(e.seconds),z.current.setAttribute("datetime","".concat(e.minutes,"m ").concat(e.seconds,"s"))}();var n=N.current.getBoundingClientRect(),r=n.width,i=(n.height,n.x),o=n.y;if(!(i<0||o<0)&&r&&!ae){var a=M.current.currentTime,s=a-ee;Math.abs(s)<10?(Q+=Math.abs(s),ee=a,oe||Q-ie*re>=0&&(ie++,se.push(ee),v&&le())):(ee=a,v&&le())}}function s(){ae=!0}function l(){M.current.playing&&se.push(M.current.currentTime,ee),ee=M.current.currentTime,ae=!1}function c(){(Z=M.current.duration)<=20&&(re=Z/3),M.current.addEventListener("play",e)}function u(){C()}function h(e){var t=e.target.dataset.seek?e.target.dataset.seek:e.target.value;M.current.currentTime=t,U.current.value=t,F.current.value=t}function d(e){var t=Math.round(e.offsetX/e.target.clientWidth*parseInt(e.target.getAttribute("max"),10));F.current.setAttribute("data-seek",t);var n=g(t);H.current.textContent="".concat(n.minutes,":").concat(n.seconds);var r=M.current.getBoundingClientRect();H.current.style.left="".concat(e.pageX-r.left,"px")}return P.current.addEventListener(Object(f.c)(),(function(e){e.preventDefault(),Object(f.a)()?(M.current.style.width="100%",M.current.style.height="100%"):M.current.style.cssText=""})),M.current.addEventListener("canplay",c),M.current.addEventListener("ended",t),M.current.addEventListener("seeking",s),M.current.addEventListener("seeked",l),M.current.addEventListener("loadedmetadata",r),F.current.addEventListener("mousemove",d),F.current.addEventListener("input",h),M.current.addEventListener("timeupdate",o),M.current.addEventListener("pause",u),M.current.addEventListener("volumechange",ue),function(){M.current.removeEventListener("canplay",c),M.current.removeEventListener("play",e),M.current.removeEventListener("ended",t),M.current.removeEventListener("seeking",s),M.current.removeEventListener("seeked",l),F.current.removeEventListener("mousemove",d),F.current.removeEventListener("input",h),M.current.removeEventListener("timeupdate",o),M.current.removeEventListener("pause",u),M.current.removeEventListener("loadedmetadata",r),M.current.removeEventListener("volumechange",ue),M.current.playing&&(se.push(ee,M.current.currentTime),v&&le())}}),[M,p]),Object(s.useEffect)((function(){var e;if(M.current.onended=function(){L(M)},M.current.oncontextmenu=function(){return!1},(null===(e=p)||void 0===e?void 0:e.indexOf(".m3u8"))>-1)if(M.current.canPlayType("application/vnd.apple.mpegurl"))M.current.src=p;else if(h.a.isSupported()){var t=new h.a;t.loadSource(p),t.attachMedia(M.current)}}),[p]),Object(s.useEffect)((function(){M.current.playbackRate=D}),[D]);return l.a.createElement("div",{style:{position:"relative"},ref:P},l.a.createElement("div",{ref:N,className:"".concat(m.a.watermark," animated_alternate animate__animated_10s animate__infinite animate__stepstart ").concat(m.a.animate__loop)},J?J.login:" "),l.a.createElement("div",{className:m.a.container},l.a.createElement("div",{className:m.a["video-container"],id:"video-container"},l.a.createElement("div",{className:m.a["playback-animation"],id:"playback-animation"},l.a.createElement("svg",{className:m.a["playback-icons"]},l.a.createElement("use",{className:"hidden",href:"#play-icon"}),l.a.createElement("use",{href:"#pause"}))),l.a.createElement("video",{className:m.a.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:M,autoPlay:!1}),l.a.createElement("div",{className:"".concat(m.a["video-controls"]," "),id:"video-controls"},l.a.createElement("div",{className:m.a["bottom-controls"]},l.a.createElement("div",{className:m.a["left-controls"]},l.a.createElement("button",{"data-title":"播放/暂停",id:"play",onClick:function(){M.current.paused||M.current.ended?M.current.play():M.current.pause(),ce()}},l.a.createElement("svg",{className:m.a["playback-icons"]},l.a.createElement("use",{ref:B,href:"#play-icon"}),l.a.createElement("use",{ref:j,style:{display:"none"},href:"#pause"}))),l.a.createElement("div",{className:m.a.time},l.a.createElement("time",{id:"time-elapsed",ref:z},"00:00"),l.a.createElement("span",null," / "),l.a.createElement("time",{id:"duration",ref:G},"00:00"))),l.a.createElement("div",{className:m.a["right-controls"]},l.a.createElement("div",{className:m.a["volume-controls"]},l.a.createElement("button",{"data-title":"开启/关闭声音",className:m.a["volume-button"],id:"volume-button",onClick:function(){M.current.muted=!M.current.muted,M.current.muted?(q.current.setAttribute("data-volume",volume.value),q.current.value=0):q.current.value=q.current.dataset.volume}},l.a.createElement("svg",null,l.a.createElement("use",{ref:V,href:"#volume-mute"}),l.a.createElement("use",{ref:K,href:"#volume-low"}),l.a.createElement("use",{ref:W,href:"#volume-high"}))),l.a.createElement("input",{className:m.a.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:q,style:{display:"none"},onClick:ue})),l.a.createElement("button",{"data-title":"全屏/退出全屏",className:m.a["fullscreen-button"],onClick:function(){Object(f.a)()?Object(f.b)():Object(f.d)(P.current)}},l.a.createElement("svg",null,l.a.createElement("use",{href:"#fullscreen"}),l.a.createElement("use",{href:"#fullscreen-exit",className:"hidden"}))))),l.a.createElement("div",{className:m.a["video-progress"]},l.a.createElement("progress",{ref:U,value:"0",min:"0"}),l.a.createElement("input",{className:m.a.seek,ref:F,value:"0",min:"0",type:"range",step:"1"}),l.a.createElement("div",{className:m.a["seek-tooltip"],ref:H,id:"seek-tooltip"},"00:00"))))),l.a.createElement("svg",{style:{display:"none"}},l.a.createElement("defs",null,l.a.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),l.a.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),l.a.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),l.a.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),l.a.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),l.a.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),l.a.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),l.a.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))}))},i3hx: +/*! exports used: default */function(e,t,n){"use strict";n(/*! antd/es/message/style */"miYZ");var r=n(/*! antd/es/message */"tsqr"),i=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),a=n.n(o),s=n(/*! react */"q1tI"),l=n.n(s),c=n(/*! flv.js */"GUcZ"),u=n(/*! hls.js */"ulZh"),h=n.n(u),d=n(/*! @/utils/authority */"xKgJ"),f=n(/*! @/utils/fullscreen.ts */"bntm"),p=n(/*! ./index.less?modules */"4xil"),m=n.n(p);function g(e){if(isNaN(e))return{minutes:"00",seconds:"00"};var t=new Date(1e3*e).toISOString().substr(11,8);return{minutes:t.substr(3,2),seconds:t.substr(6,2)}}function v(e,t){return e-t}function y(e){e.sort(v);for(var t=0,n=0;n0&&!this.paused&&!this.ended&&this.readyState>2)}});var b=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;t.a=Object(s.forwardRef)((function(e,t){var n,o=e.src,u=e.toLog,p=e.videoId,v=e.logWatchHistory,_=e.courseId,E=void 0===_?null:_,x=e.startTime,w=e.handlePause,S=void 0===w?function(){}:w,k=e.handlePlay,C=void 0===k?function(){}:k,T=e.handlePlayEnded,O=void 0===T?function(){}:T,A=e.videoSpeed,L=void 0===A?1:A,R="flv"===(null==o||null===(n=o.split("."))||void 0===n?void 0:n.pop()),D=Object(s.useRef)(),I=Object(s.useRef)(),M=Object(s.useRef)(),N=Object(s.useRef)(),P=Object(s.useRef)(),j=Object(s.useRef)(),B=Object(s.useRef)(),F=Object(s.useRef)(),U=Object(s.useRef)(),G=Object(s.useRef)(),z=Object(s.useRef)(),H=Object(s.useRef)(),V=Object(s.useRef)(),W=Object(s.useRef)(),K=navigator.userAgent.toLowerCase().match(b),q=K?K[0]:"pc",X=Object(s.useRef)(!1),Y=Object(d.x)(),$=0,J=0,Z=0,Q=null,ee=!1,te=20,ne=1,re=!1,ie=!1,oe=[];Object(s.useImperativeHandle)(t,(function(){return{getLastUpdatedTime:function(){return D.current.currentTime},getDuration:function(){return D.current.duration}}}));var ae=Object(s.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={point:D.current.currentTime};function r(){return o.apply(this,arguments)}function o(){return(o=Object(i.a)(a.a.mark((function t(){var r;return a.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return re=!0,t.next=3,v(n);case 3:r=t.sent,Q=r,re=!1,e&&e();case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}Q?(n.log_id=Q,n.watch_duration=y(oe),n.total_duration=J):(E?(n.video_id=parseInt(p,10),n.course_id=E):n.video_id=p,n.duration=$,n.device=q),t&&(n.ed="1"),r()}),[p,E]);function se(){D.current.paused?(N.current.style.display="none",P.current.style.display="block"):(N.current.style.display="block",P.current.style.display="none")}function le(){z.current.style.display="none",V.current.style.display="none",H.current.style.display="none",D.current.muted||0===D.current.volume?z.current.style.display="block":D.current.volume>0&&D.current.volume<=.5?V.current.style.display="block":H.current.style.display="block"}Object(s.useEffect)((function(){r.b.destroy();var e=null;return c.a.isSupported&&R&&o&&(null==o?void 0:o.indexOf(".m3u8"))<0?(e=c.a.createPlayer({type:"flv",volume:.8,cors:!0,url:o,muted:!1}),D.current&&(e.attachMediaElement(D.current),e.load())):D.current.setAttribute("src",o),le(),function(){e&&(e.unload(),e.pause(),e.destroy(),e=null)}}),[D,R,o]),Object(s.useEffect)((function(){document.getElementById("play"),document.querySelectorAll(".playback-icons use");function e(){C(),x&&!X.current&&(D.current.currentTime=x),X.current=!0,oe.push(D.current.currentTime),ee||(ee=!0,u&&ae())}function t(){return n.apply(this,arguments)}function n(){return(n=Object(i.a)(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:se(),oe.push(D.current.currentTime),u&&ae((function(){Q=null,Z=0,ee=!1,re=!1,ie=!1,oe=[],J=0,ne=1}),!0);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function r(){var e=Math.round(D.current.duration);j.current.setAttribute("max",e),B.current.setAttribute("max",e);var t=g(e);F.current.innerText="".concat(t.minutes,":").concat(t.seconds),F.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s"))}function o(){var e=Math.round(D.current.duration);j.current.setAttribute("max",e),B.current.setAttribute("max",e);var t=g(e);F.current.innerText="".concat(t.minutes,":").concat(t.seconds),F.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s")),j.current.value=Math.floor(D.current.currentTime),B.current.value=Math.floor(D.current.currentTime),function(){var e=g(Math.round(D.current.currentTime));U.current.innerText="".concat(e.minutes,":").concat(e.seconds),U.current.setAttribute("datetime","".concat(e.minutes,"m ").concat(e.seconds,"s"))}();var n=I.current.getBoundingClientRect(),r=n.width,i=(n.height,n.x),o=n.y;if(!(i<0||o<0)&&r&&!ie){var a=D.current.currentTime,s=a-Z;Math.abs(s)<10?(J+=Math.abs(s),Z=a,re||J-ne*te>=0&&(ne++,oe.push(Z),u&&ae())):(Z=a,u&&ae())}}function s(){ie=!0}function l(){D.current.playing&&oe.push(D.current.currentTime,Z),Z=D.current.currentTime,ie=!1}function c(){($=D.current.duration)<=20&&(te=$/3),D.current.addEventListener("play",e)}function h(){S()}function d(e){var t=e.target.dataset.seek?e.target.dataset.seek:e.target.value;D.current.currentTime=t,B.current.value=t,j.current.value=t}function p(e){var t=Math.round(e.offsetX/e.target.clientWidth*parseInt(e.target.getAttribute("max"),10));j.current.setAttribute("data-seek",t);var n=g(t);G.current.textContent="".concat(n.minutes,":").concat(n.seconds);var r=D.current.getBoundingClientRect();G.current.style.left="".concat(e.pageX-r.left,"px")}return M.current.addEventListener(Object(f.c)(),(function(e){e.preventDefault(),Object(f.a)()?(D.current.style.width="100%",D.current.style.height="100%"):D.current.style.cssText=""})),D.current.addEventListener("canplay",c),D.current.addEventListener("ended",t),D.current.addEventListener("seeking",s),D.current.addEventListener("seeked",l),D.current.addEventListener("loadedmetadata",r),j.current.addEventListener("mousemove",p),j.current.addEventListener("input",d),D.current.addEventListener("timeupdate",o),D.current.addEventListener("pause",h),D.current.addEventListener("volumechange",le),function(){D.current.removeEventListener("canplay",c),D.current.removeEventListener("play",e),D.current.removeEventListener("ended",t),D.current.removeEventListener("seeking",s),D.current.removeEventListener("seeked",l),j.current.removeEventListener("mousemove",p),j.current.removeEventListener("input",d),D.current.removeEventListener("timeupdate",o),D.current.removeEventListener("pause",h),D.current.removeEventListener("loadedmetadata",r),D.current.removeEventListener("volumechange",le),D.current.playing&&(oe.push(Z,D.current.currentTime),u&&ae())}}),[D,o]),Object(s.useEffect)((function(){if(D.current.onended=function(){O(D)},D.current.oncontextmenu=function(){return!1},(null==o?void 0:o.indexOf(".m3u8"))>-1)if(D.current.canPlayType("application/vnd.apple.mpegurl"))D.current.src=o;else if(h.a.isSupported()){var e=new h.a;e.loadSource(o),e.attachMedia(D.current)}}),[o]),Object(s.useEffect)((function(){D.current.playbackRate=L}),[L]);return l.a.createElement("div",{style:{position:"relative"},ref:M},l.a.createElement("div",{ref:I,className:"".concat(m.a.watermark," animated_alternate animate__animated_10s animate__infinite animate__stepstart ").concat(m.a.animate__loop)},Y?Y.login:" "),l.a.createElement("div",{className:m.a.container},l.a.createElement("div",{className:m.a["video-container"],id:"video-container"},l.a.createElement("div",{className:m.a["playback-animation"],id:"playback-animation"},l.a.createElement("svg",{className:m.a["playback-icons"]},l.a.createElement("use",{className:"hidden",href:"#play-icon"}),l.a.createElement("use",{href:"#pause"}))),l.a.createElement("video",{className:m.a.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:D,autoPlay:!1}),l.a.createElement("div",{className:"".concat(m.a["video-controls"]," "),id:"video-controls"},l.a.createElement("div",{className:m.a["bottom-controls"]},l.a.createElement("div",{className:m.a["left-controls"]},l.a.createElement("button",{"data-title":"播放/暂停",id:"play",onClick:function(){D.current.paused||D.current.ended?D.current.play():D.current.pause(),se()}},l.a.createElement("svg",{className:m.a["playback-icons"]},l.a.createElement("use",{ref:P,href:"#play-icon"}),l.a.createElement("use",{ref:N,style:{display:"none"},href:"#pause"}))),l.a.createElement("div",{className:m.a.time},l.a.createElement("time",{id:"time-elapsed",ref:U},"00:00"),l.a.createElement("span",null," / "),l.a.createElement("time",{id:"duration",ref:F},"00:00"))),l.a.createElement("div",{className:m.a["right-controls"]},l.a.createElement("div",{className:m.a["volume-controls"]},l.a.createElement("button",{"data-title":"开启/关闭声音",className:m.a["volume-button"],id:"volume-button",onClick:function(){D.current.muted=!D.current.muted,D.current.muted?(W.current.setAttribute("data-volume",volume.value),W.current.value=0):W.current.value=W.current.dataset.volume}},l.a.createElement("svg",null,l.a.createElement("use",{ref:z,href:"#volume-mute"}),l.a.createElement("use",{ref:V,href:"#volume-low"}),l.a.createElement("use",{ref:H,href:"#volume-high"}))),l.a.createElement("input",{className:m.a.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:W,style:{display:"none"},onClick:le})),l.a.createElement("button",{"data-title":"全屏/退出全屏",className:m.a["fullscreen-button"],onClick:function(){Object(f.a)()?Object(f.b)():Object(f.d)(M.current)}},l.a.createElement("svg",null,l.a.createElement("use",{href:"#fullscreen"}),l.a.createElement("use",{href:"#fullscreen-exit",className:"hidden"}))))),l.a.createElement("div",{className:m.a["video-progress"]},l.a.createElement("progress",{ref:B,value:"0",min:"0"}),l.a.createElement("input",{className:m.a.seek,ref:j,value:"0",min:"0",type:"range",step:"1"}),l.a.createElement("div",{className:m.a["seek-tooltip"],ref:G,id:"seek-tooltip"},"00:00"))))),l.a.createElement("svg",{style:{display:"none"}},l.a.createElement("defs",null,l.a.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),l.a.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),l.a.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),l.a.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),l.a.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),l.a.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),l.a.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),l.a.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))}))},i3hx: /*!**************************************************!*\ !*** ./src/components/SplitContainer/index.less ***! \**************************************************/ @@ -1479,14 +1479,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Shixuns__Detail__Collaborators__index.443a77cf.async.js b/p__Shixuns__Detail__Collaborators__index.443a77cf.async.js index 55f3f3cc8a..cb7cd7c40c 100644 --- a/p__Shixuns__Detail__Collaborators__index.443a77cf.async.js +++ b/p__Shixuns__Detail__Collaborators__index.443a77cf.async.js @@ -1351,14 +1351,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Shixuns__Detail__Dataset__index.cb20dd37.async.js b/p__Shixuns__Detail__Dataset__index.cb20dd37.async.js index 9da7598ff3..34c374875a 100644 --- a/p__Shixuns__Detail__Dataset__index.cb20dd37.async.js +++ b/p__Shixuns__Detail__Dataset__index.cb20dd37.async.js @@ -1388,14 +1388,14 @@ n.mode.CTRGladman=function(){var e=n.lib.BlockCipherMode.extend();function t(e){ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Shixuns__Detail__Discuss__index.320809ea.async.js b/p__Shixuns__Detail__Discuss__index.320809ea.async.js index 46f2f7edbd..f022caf253 100644 --- a/p__Shixuns__Detail__Discuss__index.320809ea.async.js +++ b/p__Shixuns__Detail__Discuss__index.320809ea.async.js @@ -1892,14 +1892,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Shixuns__Detail__ForkList__index.a26c4631.async.js b/p__Shixuns__Detail__ForkList__index.a26c4631.async.js index 3d9b911dbe..2e0e23f9da 100644 --- a/p__Shixuns__Detail__ForkList__index.a26c4631.async.js +++ b/p__Shixuns__Detail__ForkList__index.a26c4631.async.js @@ -158,14 +158,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__Shixuns__Edit.1c8e70f4.async.js b/p__Shixuns__Edit.1c8e70f4.async.js index 4062b5861d..c2c16a2c22 100644 --- a/p__Shixuns__Edit.1c8e70f4.async.js +++ b/p__Shixuns__Edit.1c8e70f4.async.js @@ -2194,14 +2194,14 @@ r.mode.CTRGladman=function(){var e=r.lib.BlockCipherMode.extend();function t(e){ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__User__Detail__Certificate__index.a75f062b.async.js b/p__User__Detail__Certificate__index.a75f062b.async.js index 38e236ef29..b138075303 100644 --- a/p__User__Detail__Certificate__index.a75f062b.async.js +++ b/p__User__Detail__Certificate__index.a75f062b.async.js @@ -238,14 +238,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__User__Detail__Classrooms__index.260289d9.async.js b/p__User__Detail__Classrooms__index.260289d9.async.js index d84f47a38a..aa3978a6c5 100644 --- a/p__User__Detail__Classrooms__index.260289d9.async.js +++ b/p__User__Detail__Classrooms__index.260289d9.async.js @@ -550,14 +550,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__User__Detail__ExperImentImg__index.df7b5ea4.async.js b/p__User__Detail__ExperImentImg__index.df7b5ea4.async.js index 52cf2256cd..f12433ce81 100644 --- a/p__User__Detail__ExperImentImg__index.df7b5ea4.async.js +++ b/p__User__Detail__ExperImentImg__index.df7b5ea4.async.js @@ -724,14 +724,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__User__Detail__LearningPath__index.7a14ea76.async.js b/p__User__Detail__LearningPath__index.7a14ea76.async.js index 16cba7aee4..af25e414dc 100644 --- a/p__User__Detail__LearningPath__index.7a14ea76.async.js +++ b/p__User__Detail__LearningPath__index.7a14ea76.async.js @@ -191,14 +191,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__User__Detail__OtherResources__index.c2e204d5.async.js b/p__User__Detail__OtherResources__index.c2e204d5.async.js index 1ac5b94886..9a27d6a128 100644 --- a/p__User__Detail__OtherResources__index.c2e204d5.async.js +++ b/p__User__Detail__OtherResources__index.c2e204d5.async.js @@ -183,14 +183,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__User__Detail__Paths__index.cd2c06e7.async.js b/p__User__Detail__Paths__index.cd2c06e7.async.js index 61b13b2af0..c736f1086f 100644 --- a/p__User__Detail__Paths__index.cd2c06e7.async.js +++ b/p__User__Detail__Paths__index.cd2c06e7.async.js @@ -276,14 +276,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__User__Detail__Shixuns__index.5648a154.async.js b/p__User__Detail__Shixuns__index.5648a154.async.js index f9ba3baad2..c9112e54d0 100644 --- a/p__User__Detail__Shixuns__index.5648a154.async.js +++ b/p__User__Detail__Shixuns__index.5648a154.async.js @@ -317,14 +317,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__User__Detail__TeachGroup__index.7cbb89e0.async.js b/p__User__Detail__TeachGroup__index.7cbb89e0.async.js index 6842b7fa39..ad31f16547 100644 --- a/p__User__Detail__TeachGroup__index.7cbb89e0.async.js +++ b/p__User__Detail__TeachGroup__index.7cbb89e0.async.js @@ -274,14 +274,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__User__Detail__Videos__index.31f8fbf0.async.js b/p__User__Detail__Videos__index.2511c0f1.async.js similarity index 97% rename from p__User__Detail__Videos__index.31f8fbf0.async.js rename to p__User__Detail__Videos__index.2511c0f1.async.js index e5dd2d54cc..ac8c455e89 100644 --- a/p__User__Detail__Videos__index.31f8fbf0.async.js +++ b/p__User__Detail__Videos__index.2511c0f1.async.js @@ -373,7 +373,7 @@ !*** ./src/components/Video/Play/index.jsx ***! \*********************************************/ /*! exports provided: default */ -/*! exports used: default */function(e,t,n){"use strict";n(/*! antd/es/message/style */"miYZ");var r=n(/*! antd/es/message */"tsqr"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),i=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(i),s=n(/*! react */"q1tI"),c=n.n(s),l=n(/*! flv.js */"GUcZ"),u=n(/*! hls.js */"ulZh"),d=n.n(u),h=n(/*! @/utils/authority */"xKgJ"),f=n(/*! @/utils/fullscreen.ts */"bntm"),p=n(/*! ./index.less?modules */"4xil"),m=n.n(p);function v(e){if(isNaN(e))return{minutes:"00",seconds:"00"};var t=new Date(1e3*e).toISOString().substr(11,8);return{minutes:t.substr(3,2),seconds:t.substr(6,2)}}function g(e,t){return e-t}function b(e){e.sort(g);for(var t=0,n=0;n0&&!this.paused&&!this.ended&&this.readyState>2)}});var _=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;t.a=Object(s.forwardRef)((function(e,t){var n,i,u,p=e.src,g=e.toLog,y=e.videoId,k=e.logWatchHistory,E=e.courseId,O=void 0===E?null:E,S=e.startTime,w=e.handlePause,C=void 0===w?function(){}:w,x=e.handlePlay,A=void 0===x?function(){}:x,j=e.handlePlayEnded,R=void 0===j?function(){}:j,T=e.videoSpeed,D=void 0===T?1:T,L="flv"===(null===(i=p=null===(n=p)||void 0===n?void 0:n.replace("http://","http://"))||void 0===i||null===(u=i.split("."))||void 0===u?void 0:u.pop()),I=Object(s.useRef)(),M=Object(s.useRef)(),N=Object(s.useRef)(),P=Object(s.useRef)(),B=Object(s.useRef)(),K=Object(s.useRef)(),U=Object(s.useRef)(),F=Object(s.useRef)(),V=Object(s.useRef)(),z=Object(s.useRef)(),H=Object(s.useRef)(),G=Object(s.useRef)(),W=Object(s.useRef)(),q=Object(s.useRef)(),Y=navigator.userAgent.toLowerCase().match(_),X=Y?Y[0]:"pc",J=Object(s.useRef)(!1),Q=Object(h.x)(),Z=0,$=0,ee=0,te=null,ne=!1,re=20,ae=1,ie=!1,oe=!1,se=[];Object(s.useImperativeHandle)(t,(function(){return{getLastUpdatedTime:function(){return I.current.currentTime},getDuration:function(){return I.current.duration}}}));var ce=Object(s.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={point:I.current.currentTime};function r(){return i.apply(this,arguments)}function i(){return(i=Object(a.a)(o.a.mark((function t(){var r;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return ie=!0,t.next=3,k(n);case 3:r=t.sent,te=r,ie=!1,e&&e();case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}te?(n.log_id=te,n.watch_duration=b(se),n.total_duration=$):(O?(n.video_id=parseInt(y,10),n.course_id=O):n.video_id=y,n.duration=Z,n.device=X),t&&(n.ed="1"),r()}),[y,O]);function le(){I.current.paused?(P.current.style.display="none",B.current.style.display="block"):(P.current.style.display="block",B.current.style.display="none")}function ue(){H.current.style.display="none",W.current.style.display="none",G.current.style.display="none",I.current.muted||0===I.current.volume?H.current.style.display="block":I.current.volume>0&&I.current.volume<=.5?W.current.style.display="block":G.current.style.display="block"}Object(s.useEffect)((function(){var e;r.b.destroy();var t=null;return l.a.isSupported&&L&&p&&(null===(e=p)||void 0===e?void 0:e.indexOf(".m3u8"))<0?(t=l.a.createPlayer({type:"flv",volume:.8,cors:!0,url:p,muted:!1}),I.current&&(t.attachMediaElement(I.current),t.load())):I.current.setAttribute("src",p),ue(),function(){t&&(t.unload(),t.pause(),t.destroy(),t=null)}}),[I,L,p]),Object(s.useEffect)((function(){document.getElementById("play"),document.querySelectorAll(".playback-icons use");function e(){A(),S&&!J.current&&(I.current.currentTime=S),J.current=!0,se.push(I.current.currentTime),ne||(ne=!0,g&&ce())}function t(){return n.apply(this,arguments)}function n(){return(n=Object(a.a)(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:le(),se.push(I.current.currentTime),g&&ce((function(){te=null,ee=0,ne=!1,ie=!1,oe=!1,se=[],$=0,ae=1}),!0);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function r(){var e=Math.round(I.current.duration);K.current.setAttribute("max",e),U.current.setAttribute("max",e);var t=v(e);F.current.innerText="".concat(t.minutes,":").concat(t.seconds),F.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s"))}function i(){var e=Math.round(I.current.duration);K.current.setAttribute("max",e),U.current.setAttribute("max",e);var t=v(e);F.current.innerText="".concat(t.minutes,":").concat(t.seconds),F.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s")),K.current.value=Math.floor(I.current.currentTime),U.current.value=Math.floor(I.current.currentTime),function(){var e=v(Math.round(I.current.currentTime));V.current.innerText="".concat(e.minutes,":").concat(e.seconds),V.current.setAttribute("datetime","".concat(e.minutes,"m ").concat(e.seconds,"s"))}();var n=M.current.getBoundingClientRect(),r=n.width,a=(n.height,n.x),i=n.y;if(!(a<0||i<0)&&r&&!oe){var o=I.current.currentTime,s=o-ee;Math.abs(s)<10?($+=Math.abs(s),ee=o,ie||$-ae*re>=0&&(ae++,se.push(ee),g&&ce())):(ee=o,g&&ce())}}function s(){oe=!0}function c(){I.current.playing&&se.push(I.current.currentTime,ee),ee=I.current.currentTime,oe=!1}function l(){(Z=I.current.duration)<=20&&(re=Z/3),I.current.addEventListener("play",e)}function u(){C()}function d(e){var t=e.target.dataset.seek?e.target.dataset.seek:e.target.value;I.current.currentTime=t,U.current.value=t,K.current.value=t}function h(e){var t=Math.round(e.offsetX/e.target.clientWidth*parseInt(e.target.getAttribute("max"),10));K.current.setAttribute("data-seek",t);var n=v(t);z.current.textContent="".concat(n.minutes,":").concat(n.seconds);var r=I.current.getBoundingClientRect();z.current.style.left="".concat(e.pageX-r.left,"px")}return N.current.addEventListener(Object(f.c)(),(function(e){e.preventDefault(),Object(f.a)()?(I.current.style.width="100%",I.current.style.height="100%"):I.current.style.cssText=""})),I.current.addEventListener("canplay",l),I.current.addEventListener("ended",t),I.current.addEventListener("seeking",s),I.current.addEventListener("seeked",c),I.current.addEventListener("loadedmetadata",r),K.current.addEventListener("mousemove",h),K.current.addEventListener("input",d),I.current.addEventListener("timeupdate",i),I.current.addEventListener("pause",u),I.current.addEventListener("volumechange",ue),function(){I.current.removeEventListener("canplay",l),I.current.removeEventListener("play",e),I.current.removeEventListener("ended",t),I.current.removeEventListener("seeking",s),I.current.removeEventListener("seeked",c),K.current.removeEventListener("mousemove",h),K.current.removeEventListener("input",d),I.current.removeEventListener("timeupdate",i),I.current.removeEventListener("pause",u),I.current.removeEventListener("loadedmetadata",r),I.current.removeEventListener("volumechange",ue),I.current.playing&&(se.push(ee,I.current.currentTime),g&&ce())}}),[I,p]),Object(s.useEffect)((function(){var e;if(I.current.onended=function(){R(I)},I.current.oncontextmenu=function(){return!1},(null===(e=p)||void 0===e?void 0:e.indexOf(".m3u8"))>-1)if(I.current.canPlayType("application/vnd.apple.mpegurl"))I.current.src=p;else if(d.a.isSupported()){var t=new d.a;t.loadSource(p),t.attachMedia(I.current)}}),[p]),Object(s.useEffect)((function(){I.current.playbackRate=D}),[D]);return c.a.createElement("div",{style:{position:"relative"},ref:N},c.a.createElement("div",{ref:M,className:"".concat(m.a.watermark," animated_alternate animate__animated_10s animate__infinite animate__stepstart ").concat(m.a.animate__loop)},Q?Q.login:" "),c.a.createElement("div",{className:m.a.container},c.a.createElement("div",{className:m.a["video-container"],id:"video-container"},c.a.createElement("div",{className:m.a["playback-animation"],id:"playback-animation"},c.a.createElement("svg",{className:m.a["playback-icons"]},c.a.createElement("use",{className:"hidden",href:"#play-icon"}),c.a.createElement("use",{href:"#pause"}))),c.a.createElement("video",{className:m.a.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:I,autoPlay:!1}),c.a.createElement("div",{className:"".concat(m.a["video-controls"]," "),id:"video-controls"},c.a.createElement("div",{className:m.a["bottom-controls"]},c.a.createElement("div",{className:m.a["left-controls"]},c.a.createElement("button",{"data-title":"播放/暂停",id:"play",onClick:function(){I.current.paused||I.current.ended?I.current.play():I.current.pause(),le()}},c.a.createElement("svg",{className:m.a["playback-icons"]},c.a.createElement("use",{ref:B,href:"#play-icon"}),c.a.createElement("use",{ref:P,style:{display:"none"},href:"#pause"}))),c.a.createElement("div",{className:m.a.time},c.a.createElement("time",{id:"time-elapsed",ref:V},"00:00"),c.a.createElement("span",null," / "),c.a.createElement("time",{id:"duration",ref:F},"00:00"))),c.a.createElement("div",{className:m.a["right-controls"]},c.a.createElement("div",{className:m.a["volume-controls"]},c.a.createElement("button",{"data-title":"开启/关闭声音",className:m.a["volume-button"],id:"volume-button",onClick:function(){I.current.muted=!I.current.muted,I.current.muted?(q.current.setAttribute("data-volume",volume.value),q.current.value=0):q.current.value=q.current.dataset.volume}},c.a.createElement("svg",null,c.a.createElement("use",{ref:H,href:"#volume-mute"}),c.a.createElement("use",{ref:W,href:"#volume-low"}),c.a.createElement("use",{ref:G,href:"#volume-high"}))),c.a.createElement("input",{className:m.a.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:q,style:{display:"none"},onClick:ue})),c.a.createElement("button",{"data-title":"全屏/退出全屏",className:m.a["fullscreen-button"],onClick:function(){Object(f.a)()?Object(f.b)():Object(f.d)(N.current)}},c.a.createElement("svg",null,c.a.createElement("use",{href:"#fullscreen"}),c.a.createElement("use",{href:"#fullscreen-exit",className:"hidden"}))))),c.a.createElement("div",{className:m.a["video-progress"]},c.a.createElement("progress",{ref:U,value:"0",min:"0"}),c.a.createElement("input",{className:m.a.seek,ref:K,value:"0",min:"0",type:"range",step:"1"}),c.a.createElement("div",{className:m.a["seek-tooltip"],ref:z,id:"seek-tooltip"},"00:00"))))),c.a.createElement("svg",{style:{display:"none"}},c.a.createElement("defs",null,c.a.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),c.a.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),c.a.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),c.a.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),c.a.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),c.a.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),c.a.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),c.a.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))}))},k3GJ: +/*! exports used: default */function(e,t,n){"use strict";n(/*! antd/es/message/style */"miYZ");var r=n(/*! antd/es/message */"tsqr"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),i=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(i),s=n(/*! react */"q1tI"),c=n.n(s),l=n(/*! flv.js */"GUcZ"),u=n(/*! hls.js */"ulZh"),d=n.n(u),h=n(/*! @/utils/authority */"xKgJ"),f=n(/*! @/utils/fullscreen.ts */"bntm"),p=n(/*! ./index.less?modules */"4xil"),m=n.n(p);function v(e){if(isNaN(e))return{minutes:"00",seconds:"00"};var t=new Date(1e3*e).toISOString().substr(11,8);return{minutes:t.substr(3,2),seconds:t.substr(6,2)}}function g(e,t){return e-t}function b(e){e.sort(g);for(var t=0,n=0;n0&&!this.paused&&!this.ended&&this.readyState>2)}});var _=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;t.a=Object(s.forwardRef)((function(e,t){var n,i=e.src,u=e.toLog,p=e.videoId,g=e.logWatchHistory,y=e.courseId,k=void 0===y?null:y,E=e.startTime,O=e.handlePause,S=void 0===O?function(){}:O,w=e.handlePlay,C=void 0===w?function(){}:w,x=e.handlePlayEnded,A=void 0===x?function(){}:x,j=e.videoSpeed,R=void 0===j?1:j,T="flv"===(null==i||null===(n=i.split("."))||void 0===n?void 0:n.pop()),D=Object(s.useRef)(),L=Object(s.useRef)(),I=Object(s.useRef)(),M=Object(s.useRef)(),N=Object(s.useRef)(),P=Object(s.useRef)(),B=Object(s.useRef)(),K=Object(s.useRef)(),U=Object(s.useRef)(),F=Object(s.useRef)(),V=Object(s.useRef)(),z=Object(s.useRef)(),H=Object(s.useRef)(),G=Object(s.useRef)(),W=navigator.userAgent.toLowerCase().match(_),q=W?W[0]:"pc",Y=Object(s.useRef)(!1),X=Object(h.x)(),J=0,Q=0,Z=0,$=null,ee=!1,te=20,ne=1,re=!1,ae=!1,ie=[];Object(s.useImperativeHandle)(t,(function(){return{getLastUpdatedTime:function(){return D.current.currentTime},getDuration:function(){return D.current.duration}}}));var oe=Object(s.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={point:D.current.currentTime};function r(){return i.apply(this,arguments)}function i(){return(i=Object(a.a)(o.a.mark((function t(){var r;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return re=!0,t.next=3,g(n);case 3:r=t.sent,$=r,re=!1,e&&e();case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}$?(n.log_id=$,n.watch_duration=b(ie),n.total_duration=Q):(k?(n.video_id=parseInt(p,10),n.course_id=k):n.video_id=p,n.duration=J,n.device=q),t&&(n.ed="1"),r()}),[p,k]);function se(){D.current.paused?(M.current.style.display="none",N.current.style.display="block"):(M.current.style.display="block",N.current.style.display="none")}function ce(){V.current.style.display="none",H.current.style.display="none",z.current.style.display="none",D.current.muted||0===D.current.volume?V.current.style.display="block":D.current.volume>0&&D.current.volume<=.5?H.current.style.display="block":z.current.style.display="block"}Object(s.useEffect)((function(){r.b.destroy();var e=null;return l.a.isSupported&&T&&i&&(null==i?void 0:i.indexOf(".m3u8"))<0?(e=l.a.createPlayer({type:"flv",volume:.8,cors:!0,url:i,muted:!1}),D.current&&(e.attachMediaElement(D.current),e.load())):D.current.setAttribute("src",i),ce(),function(){e&&(e.unload(),e.pause(),e.destroy(),e=null)}}),[D,T,i]),Object(s.useEffect)((function(){document.getElementById("play"),document.querySelectorAll(".playback-icons use");function e(){C(),E&&!Y.current&&(D.current.currentTime=E),Y.current=!0,ie.push(D.current.currentTime),ee||(ee=!0,u&&oe())}function t(){return n.apply(this,arguments)}function n(){return(n=Object(a.a)(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:se(),ie.push(D.current.currentTime),u&&oe((function(){$=null,Z=0,ee=!1,re=!1,ae=!1,ie=[],Q=0,ne=1}),!0);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function r(){var e=Math.round(D.current.duration);P.current.setAttribute("max",e),B.current.setAttribute("max",e);var t=v(e);K.current.innerText="".concat(t.minutes,":").concat(t.seconds),K.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s"))}function i(){var e=Math.round(D.current.duration);P.current.setAttribute("max",e),B.current.setAttribute("max",e);var t=v(e);K.current.innerText="".concat(t.minutes,":").concat(t.seconds),K.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s")),P.current.value=Math.floor(D.current.currentTime),B.current.value=Math.floor(D.current.currentTime),function(){var e=v(Math.round(D.current.currentTime));U.current.innerText="".concat(e.minutes,":").concat(e.seconds),U.current.setAttribute("datetime","".concat(e.minutes,"m ").concat(e.seconds,"s"))}();var n=L.current.getBoundingClientRect(),r=n.width,a=(n.height,n.x),i=n.y;if(!(a<0||i<0)&&r&&!ae){var o=D.current.currentTime,s=o-Z;Math.abs(s)<10?(Q+=Math.abs(s),Z=o,re||Q-ne*te>=0&&(ne++,ie.push(Z),u&&oe())):(Z=o,u&&oe())}}function s(){ae=!0}function c(){D.current.playing&&ie.push(D.current.currentTime,Z),Z=D.current.currentTime,ae=!1}function l(){(J=D.current.duration)<=20&&(te=J/3),D.current.addEventListener("play",e)}function d(){S()}function h(e){var t=e.target.dataset.seek?e.target.dataset.seek:e.target.value;D.current.currentTime=t,B.current.value=t,P.current.value=t}function p(e){var t=Math.round(e.offsetX/e.target.clientWidth*parseInt(e.target.getAttribute("max"),10));P.current.setAttribute("data-seek",t);var n=v(t);F.current.textContent="".concat(n.minutes,":").concat(n.seconds);var r=D.current.getBoundingClientRect();F.current.style.left="".concat(e.pageX-r.left,"px")}return I.current.addEventListener(Object(f.c)(),(function(e){e.preventDefault(),Object(f.a)()?(D.current.style.width="100%",D.current.style.height="100%"):D.current.style.cssText=""})),D.current.addEventListener("canplay",l),D.current.addEventListener("ended",t),D.current.addEventListener("seeking",s),D.current.addEventListener("seeked",c),D.current.addEventListener("loadedmetadata",r),P.current.addEventListener("mousemove",p),P.current.addEventListener("input",h),D.current.addEventListener("timeupdate",i),D.current.addEventListener("pause",d),D.current.addEventListener("volumechange",ce),function(){D.current.removeEventListener("canplay",l),D.current.removeEventListener("play",e),D.current.removeEventListener("ended",t),D.current.removeEventListener("seeking",s),D.current.removeEventListener("seeked",c),P.current.removeEventListener("mousemove",p),P.current.removeEventListener("input",h),D.current.removeEventListener("timeupdate",i),D.current.removeEventListener("pause",d),D.current.removeEventListener("loadedmetadata",r),D.current.removeEventListener("volumechange",ce),D.current.playing&&(ie.push(Z,D.current.currentTime),u&&oe())}}),[D,i]),Object(s.useEffect)((function(){if(D.current.onended=function(){A(D)},D.current.oncontextmenu=function(){return!1},(null==i?void 0:i.indexOf(".m3u8"))>-1)if(D.current.canPlayType("application/vnd.apple.mpegurl"))D.current.src=i;else if(d.a.isSupported()){var e=new d.a;e.loadSource(i),e.attachMedia(D.current)}}),[i]),Object(s.useEffect)((function(){D.current.playbackRate=R}),[R]);return c.a.createElement("div",{style:{position:"relative"},ref:I},c.a.createElement("div",{ref:L,className:"".concat(m.a.watermark," animated_alternate animate__animated_10s animate__infinite animate__stepstart ").concat(m.a.animate__loop)},X?X.login:" "),c.a.createElement("div",{className:m.a.container},c.a.createElement("div",{className:m.a["video-container"],id:"video-container"},c.a.createElement("div",{className:m.a["playback-animation"],id:"playback-animation"},c.a.createElement("svg",{className:m.a["playback-icons"]},c.a.createElement("use",{className:"hidden",href:"#play-icon"}),c.a.createElement("use",{href:"#pause"}))),c.a.createElement("video",{className:m.a.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:D,autoPlay:!1}),c.a.createElement("div",{className:"".concat(m.a["video-controls"]," "),id:"video-controls"},c.a.createElement("div",{className:m.a["bottom-controls"]},c.a.createElement("div",{className:m.a["left-controls"]},c.a.createElement("button",{"data-title":"播放/暂停",id:"play",onClick:function(){D.current.paused||D.current.ended?D.current.play():D.current.pause(),se()}},c.a.createElement("svg",{className:m.a["playback-icons"]},c.a.createElement("use",{ref:N,href:"#play-icon"}),c.a.createElement("use",{ref:M,style:{display:"none"},href:"#pause"}))),c.a.createElement("div",{className:m.a.time},c.a.createElement("time",{id:"time-elapsed",ref:U},"00:00"),c.a.createElement("span",null," / "),c.a.createElement("time",{id:"duration",ref:K},"00:00"))),c.a.createElement("div",{className:m.a["right-controls"]},c.a.createElement("div",{className:m.a["volume-controls"]},c.a.createElement("button",{"data-title":"开启/关闭声音",className:m.a["volume-button"],id:"volume-button",onClick:function(){D.current.muted=!D.current.muted,D.current.muted?(G.current.setAttribute("data-volume",volume.value),G.current.value=0):G.current.value=G.current.dataset.volume}},c.a.createElement("svg",null,c.a.createElement("use",{ref:V,href:"#volume-mute"}),c.a.createElement("use",{ref:H,href:"#volume-low"}),c.a.createElement("use",{ref:z,href:"#volume-high"}))),c.a.createElement("input",{className:m.a.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:G,style:{display:"none"},onClick:ce})),c.a.createElement("button",{"data-title":"全屏/退出全屏",className:m.a["fullscreen-button"],onClick:function(){Object(f.a)()?Object(f.b)():Object(f.d)(I.current)}},c.a.createElement("svg",null,c.a.createElement("use",{href:"#fullscreen"}),c.a.createElement("use",{href:"#fullscreen-exit",className:"hidden"}))))),c.a.createElement("div",{className:m.a["video-progress"]},c.a.createElement("progress",{ref:B,value:"0",min:"0"}),c.a.createElement("input",{className:m.a.seek,ref:P,value:"0",min:"0",type:"range",step:"1"}),c.a.createElement("div",{className:m.a["seek-tooltip"],ref:F,id:"seek-tooltip"},"00:00"))))),c.a.createElement("svg",{style:{display:"none"}},c.a.createElement("defs",null,c.a.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),c.a.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),c.a.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),c.a.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),c.a.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),c.a.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),c.a.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),c.a.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))}))},k3GJ: /*!*******************************************************!*\ !*** ./node_modules/rc-tabs/es/index.js + 50 modules ***! \*******************************************************/ diff --git a/p__Video__Detail__id.dbf92de5.async.js b/p__Video__Detail__id.2a2e693a.async.js similarity index 98% rename from p__Video__Detail__id.dbf92de5.async.js rename to p__Video__Detail__id.2a2e693a.async.js index 79c650bfa0..0500f88d9c 100644 --- a/p__Video__Detail__id.dbf92de5.async.js +++ b/p__Video__Detail__id.2a2e693a.async.js @@ -352,7 +352,7 @@ PERFORMANCE OF THIS SOFTWARE. !*** ./src/components/Video/Play/index.jsx ***! \*********************************************/ /*! exports provided: default */ -/*! exports used: default */function(t,e,n){"use strict";n(/*! antd/es/message/style */"miYZ");var i=n(/*! antd/es/message */"tsqr"),r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),s=n.n(o),a=n(/*! react */"q1tI"),l=n.n(a),c=n(/*! flv.js */"GUcZ"),u=n(/*! hls.js */"ulZh"),h=n.n(u),d=n(/*! @/utils/authority */"xKgJ"),p=n(/*! @/utils/fullscreen.ts */"bntm"),f=n(/*! ./index.less?modules */"4xil"),m=n.n(f);function g(t){if(isNaN(t))return{minutes:"00",seconds:"00"};var e=new Date(1e3*t).toISOString().substr(11,8);return{minutes:e.substr(3,2),seconds:e.substr(6,2)}}function v(t,e){return t-e}function y(t){t.sort(v);for(var e=0,n=0;n0&&!this.paused&&!this.ended&&this.readyState>2)}});var b=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;e.a=Object(a.forwardRef)((function(t,e){var n,o,u,f=t.src,v=t.toLog,_=t.videoId,w=t.logWatchHistory,x=t.courseId,S=void 0===x?null:x,k=t.startTime,E=t.handlePause,C=void 0===E?function(){}:E,A=t.handlePlay,T=void 0===A?function(){}:A,O=t.handlePlayEnded,R=void 0===O?function(){}:O,L=t.videoSpeed,I=void 0===L?1:L,M="flv"===(null===(o=f=null===(n=f)||void 0===n?void 0:n.replace("http://","http://"))||void 0===o||null===(u=o.split("."))||void 0===u?void 0:u.pop()),P=Object(a.useRef)(),D=Object(a.useRef)(),N=Object(a.useRef)(),j=Object(a.useRef)(),B=Object(a.useRef)(),U=Object(a.useRef)(),F=Object(a.useRef)(),z=Object(a.useRef)(),V=Object(a.useRef)(),G=Object(a.useRef)(),H=Object(a.useRef)(),W=Object(a.useRef)(),q=Object(a.useRef)(),X=Object(a.useRef)(),K=navigator.userAgent.toLowerCase().match(b),Y=K?K[0]:"pc",$=Object(a.useRef)(!1),Z=Object(d.x)(),J=0,Q=0,tt=0,et=null,nt=!1,it=20,rt=1,ot=!1,st=!1,at=[];Object(a.useImperativeHandle)(e,(function(){return{getLastUpdatedTime:function(){return P.current.currentTime},getDuration:function(){return P.current.duration}}}));var lt=Object(a.useCallback)((function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={point:P.current.currentTime};function i(){return o.apply(this,arguments)}function o(){return(o=Object(r.a)(s.a.mark((function e(){var i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return ot=!0,e.next=3,w(n);case 3:i=e.sent,et=i,ot=!1,t&&t();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}et?(n.log_id=et,n.watch_duration=y(at),n.total_duration=Q):(S?(n.video_id=parseInt(_,10),n.course_id=S):n.video_id=_,n.duration=J,n.device=Y),e&&(n.ed="1"),i()}),[_,S]);function ct(){P.current.paused?(j.current.style.display="none",B.current.style.display="block"):(j.current.style.display="block",B.current.style.display="none")}function ut(){H.current.style.display="none",q.current.style.display="none",W.current.style.display="none",P.current.muted||0===P.current.volume?H.current.style.display="block":P.current.volume>0&&P.current.volume<=.5?q.current.style.display="block":W.current.style.display="block"}Object(a.useEffect)((function(){var t;i.b.destroy();var e=null;return c.a.isSupported&&M&&f&&(null===(t=f)||void 0===t?void 0:t.indexOf(".m3u8"))<0?(e=c.a.createPlayer({type:"flv",volume:.8,cors:!0,url:f,muted:!1}),P.current&&(e.attachMediaElement(P.current),e.load())):P.current.setAttribute("src",f),ut(),function(){e&&(e.unload(),e.pause(),e.destroy(),e=null)}}),[P,M,f]),Object(a.useEffect)((function(){document.getElementById("play"),document.querySelectorAll(".playback-icons use");function t(){T(),k&&!$.current&&(P.current.currentTime=k),$.current=!0,at.push(P.current.currentTime),nt||(nt=!0,v&<())}function e(){return n.apply(this,arguments)}function n(){return(n=Object(r.a)(s.a.mark((function t(){return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:ct(),at.push(P.current.currentTime),v&<((function(){et=null,tt=0,nt=!1,ot=!1,st=!1,at=[],Q=0,rt=1}),!0);case 3:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function i(){var t=Math.round(P.current.duration);U.current.setAttribute("max",t),F.current.setAttribute("max",t);var e=g(t);z.current.innerText="".concat(e.minutes,":").concat(e.seconds),z.current.setAttribute("datetime","".concat(e.minutes,"m ").concat(e.seconds,"s"))}function o(){var t=Math.round(P.current.duration);U.current.setAttribute("max",t),F.current.setAttribute("max",t);var e=g(t);z.current.innerText="".concat(e.minutes,":").concat(e.seconds),z.current.setAttribute("datetime","".concat(e.minutes,"m ").concat(e.seconds,"s")),U.current.value=Math.floor(P.current.currentTime),F.current.value=Math.floor(P.current.currentTime),function(){var t=g(Math.round(P.current.currentTime));V.current.innerText="".concat(t.minutes,":").concat(t.seconds),V.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s"))}();var n=D.current.getBoundingClientRect(),i=n.width,r=(n.height,n.x),o=n.y;if(!(r<0||o<0)&&i&&!st){var s=P.current.currentTime,a=s-tt;Math.abs(a)<10?(Q+=Math.abs(a),tt=s,ot||Q-rt*it>=0&&(rt++,at.push(tt),v&<())):(tt=s,v&<())}}function a(){st=!0}function l(){P.current.playing&&at.push(P.current.currentTime,tt),tt=P.current.currentTime,st=!1}function c(){(J=P.current.duration)<=20&&(it=J/3),P.current.addEventListener("play",t)}function u(){C()}function h(t){var e=t.target.dataset.seek?t.target.dataset.seek:t.target.value;P.current.currentTime=e,F.current.value=e,U.current.value=e}function d(t){var e=Math.round(t.offsetX/t.target.clientWidth*parseInt(t.target.getAttribute("max"),10));U.current.setAttribute("data-seek",e);var n=g(e);G.current.textContent="".concat(n.minutes,":").concat(n.seconds);var i=P.current.getBoundingClientRect();G.current.style.left="".concat(t.pageX-i.left,"px")}return N.current.addEventListener(Object(p.c)(),(function(t){t.preventDefault(),Object(p.a)()?(P.current.style.width="100%",P.current.style.height="100%"):P.current.style.cssText=""})),P.current.addEventListener("canplay",c),P.current.addEventListener("ended",e),P.current.addEventListener("seeking",a),P.current.addEventListener("seeked",l),P.current.addEventListener("loadedmetadata",i),U.current.addEventListener("mousemove",d),U.current.addEventListener("input",h),P.current.addEventListener("timeupdate",o),P.current.addEventListener("pause",u),P.current.addEventListener("volumechange",ut),function(){P.current.removeEventListener("canplay",c),P.current.removeEventListener("play",t),P.current.removeEventListener("ended",e),P.current.removeEventListener("seeking",a),P.current.removeEventListener("seeked",l),U.current.removeEventListener("mousemove",d),U.current.removeEventListener("input",h),P.current.removeEventListener("timeupdate",o),P.current.removeEventListener("pause",u),P.current.removeEventListener("loadedmetadata",i),P.current.removeEventListener("volumechange",ut),P.current.playing&&(at.push(tt,P.current.currentTime),v&<())}}),[P,f]),Object(a.useEffect)((function(){var t;if(P.current.onended=function(){R(P)},P.current.oncontextmenu=function(){return!1},(null===(t=f)||void 0===t?void 0:t.indexOf(".m3u8"))>-1)if(P.current.canPlayType("application/vnd.apple.mpegurl"))P.current.src=f;else if(h.a.isSupported()){var e=new h.a;e.loadSource(f),e.attachMedia(P.current)}}),[f]),Object(a.useEffect)((function(){P.current.playbackRate=I}),[I]);return l.a.createElement("div",{style:{position:"relative"},ref:N},l.a.createElement("div",{ref:D,className:"".concat(m.a.watermark," animated_alternate animate__animated_10s animate__infinite animate__stepstart ").concat(m.a.animate__loop)},Z?Z.login:" "),l.a.createElement("div",{className:m.a.container},l.a.createElement("div",{className:m.a["video-container"],id:"video-container"},l.a.createElement("div",{className:m.a["playback-animation"],id:"playback-animation"},l.a.createElement("svg",{className:m.a["playback-icons"]},l.a.createElement("use",{className:"hidden",href:"#play-icon"}),l.a.createElement("use",{href:"#pause"}))),l.a.createElement("video",{className:m.a.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:P,autoPlay:!1}),l.a.createElement("div",{className:"".concat(m.a["video-controls"]," "),id:"video-controls"},l.a.createElement("div",{className:m.a["bottom-controls"]},l.a.createElement("div",{className:m.a["left-controls"]},l.a.createElement("button",{"data-title":"播放/暂停",id:"play",onClick:function(){P.current.paused||P.current.ended?P.current.play():P.current.pause(),ct()}},l.a.createElement("svg",{className:m.a["playback-icons"]},l.a.createElement("use",{ref:B,href:"#play-icon"}),l.a.createElement("use",{ref:j,style:{display:"none"},href:"#pause"}))),l.a.createElement("div",{className:m.a.time},l.a.createElement("time",{id:"time-elapsed",ref:V},"00:00"),l.a.createElement("span",null," / "),l.a.createElement("time",{id:"duration",ref:z},"00:00"))),l.a.createElement("div",{className:m.a["right-controls"]},l.a.createElement("div",{className:m.a["volume-controls"]},l.a.createElement("button",{"data-title":"开启/关闭声音",className:m.a["volume-button"],id:"volume-button",onClick:function(){P.current.muted=!P.current.muted,P.current.muted?(X.current.setAttribute("data-volume",volume.value),X.current.value=0):X.current.value=X.current.dataset.volume}},l.a.createElement("svg",null,l.a.createElement("use",{ref:H,href:"#volume-mute"}),l.a.createElement("use",{ref:q,href:"#volume-low"}),l.a.createElement("use",{ref:W,href:"#volume-high"}))),l.a.createElement("input",{className:m.a.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:X,style:{display:"none"},onClick:ut})),l.a.createElement("button",{"data-title":"全屏/退出全屏",className:m.a["fullscreen-button"],onClick:function(){Object(p.a)()?Object(p.b)():Object(p.d)(N.current)}},l.a.createElement("svg",null,l.a.createElement("use",{href:"#fullscreen"}),l.a.createElement("use",{href:"#fullscreen-exit",className:"hidden"}))))),l.a.createElement("div",{className:m.a["video-progress"]},l.a.createElement("progress",{ref:F,value:"0",min:"0"}),l.a.createElement("input",{className:m.a.seek,ref:U,value:"0",min:"0",type:"range",step:"1"}),l.a.createElement("div",{className:m.a["seek-tooltip"],ref:G,id:"seek-tooltip"},"00:00"))))),l.a.createElement("svg",{style:{display:"none"}},l.a.createElement("defs",null,l.a.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),l.a.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),l.a.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),l.a.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),l.a.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),l.a.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),l.a.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),l.a.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))}))},kwm0: +/*! exports used: default */function(t,e,n){"use strict";n(/*! antd/es/message/style */"miYZ");var i=n(/*! antd/es/message */"tsqr"),r=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),o=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),s=n.n(o),a=n(/*! react */"q1tI"),l=n.n(a),c=n(/*! flv.js */"GUcZ"),u=n(/*! hls.js */"ulZh"),h=n.n(u),d=n(/*! @/utils/authority */"xKgJ"),p=n(/*! @/utils/fullscreen.ts */"bntm"),f=n(/*! ./index.less?modules */"4xil"),m=n.n(f);function g(t){if(isNaN(t))return{minutes:"00",seconds:"00"};var e=new Date(1e3*t).toISOString().substr(11,8);return{minutes:e.substr(3,2),seconds:e.substr(6,2)}}function v(t,e){return t-e}function y(t){t.sort(v);for(var e=0,n=0;n0&&!this.paused&&!this.ended&&this.readyState>2)}});var b=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;e.a=Object(a.forwardRef)((function(t,e){var n,o=t.src,u=t.toLog,f=t.videoId,v=t.logWatchHistory,_=t.courseId,w=void 0===_?null:_,x=t.startTime,S=t.handlePause,k=void 0===S?function(){}:S,E=t.handlePlay,C=void 0===E?function(){}:E,A=t.handlePlayEnded,T=void 0===A?function(){}:A,O=t.videoSpeed,R=void 0===O?1:O,L="flv"===(null==o||null===(n=o.split("."))||void 0===n?void 0:n.pop()),I=Object(a.useRef)(),M=Object(a.useRef)(),P=Object(a.useRef)(),D=Object(a.useRef)(),N=Object(a.useRef)(),j=Object(a.useRef)(),B=Object(a.useRef)(),U=Object(a.useRef)(),F=Object(a.useRef)(),z=Object(a.useRef)(),V=Object(a.useRef)(),G=Object(a.useRef)(),H=Object(a.useRef)(),W=Object(a.useRef)(),q=navigator.userAgent.toLowerCase().match(b),X=q?q[0]:"pc",K=Object(a.useRef)(!1),Y=Object(d.x)(),$=0,Z=0,J=0,Q=null,tt=!1,et=20,nt=1,it=!1,rt=!1,ot=[];Object(a.useImperativeHandle)(e,(function(){return{getLastUpdatedTime:function(){return I.current.currentTime},getDuration:function(){return I.current.duration}}}));var st=Object(a.useCallback)((function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={point:I.current.currentTime};function i(){return o.apply(this,arguments)}function o(){return(o=Object(r.a)(s.a.mark((function e(){var i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return it=!0,e.next=3,v(n);case 3:i=e.sent,Q=i,it=!1,t&&t();case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Q?(n.log_id=Q,n.watch_duration=y(ot),n.total_duration=Z):(w?(n.video_id=parseInt(f,10),n.course_id=w):n.video_id=f,n.duration=$,n.device=X),e&&(n.ed="1"),i()}),[f,w]);function at(){I.current.paused?(D.current.style.display="none",N.current.style.display="block"):(D.current.style.display="block",N.current.style.display="none")}function lt(){V.current.style.display="none",H.current.style.display="none",G.current.style.display="none",I.current.muted||0===I.current.volume?V.current.style.display="block":I.current.volume>0&&I.current.volume<=.5?H.current.style.display="block":G.current.style.display="block"}Object(a.useEffect)((function(){i.b.destroy();var t=null;return c.a.isSupported&&L&&o&&(null==o?void 0:o.indexOf(".m3u8"))<0?(t=c.a.createPlayer({type:"flv",volume:.8,cors:!0,url:o,muted:!1}),I.current&&(t.attachMediaElement(I.current),t.load())):I.current.setAttribute("src",o),lt(),function(){t&&(t.unload(),t.pause(),t.destroy(),t=null)}}),[I,L,o]),Object(a.useEffect)((function(){document.getElementById("play"),document.querySelectorAll(".playback-icons use");function t(){C(),x&&!K.current&&(I.current.currentTime=x),K.current=!0,ot.push(I.current.currentTime),tt||(tt=!0,u&&st())}function e(){return n.apply(this,arguments)}function n(){return(n=Object(r.a)(s.a.mark((function t(){return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:at(),ot.push(I.current.currentTime),u&&st((function(){Q=null,J=0,tt=!1,it=!1,rt=!1,ot=[],Z=0,nt=1}),!0);case 3:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function i(){var t=Math.round(I.current.duration);j.current.setAttribute("max",t),B.current.setAttribute("max",t);var e=g(t);U.current.innerText="".concat(e.minutes,":").concat(e.seconds),U.current.setAttribute("datetime","".concat(e.minutes,"m ").concat(e.seconds,"s"))}function o(){var t=Math.round(I.current.duration);j.current.setAttribute("max",t),B.current.setAttribute("max",t);var e=g(t);U.current.innerText="".concat(e.minutes,":").concat(e.seconds),U.current.setAttribute("datetime","".concat(e.minutes,"m ").concat(e.seconds,"s")),j.current.value=Math.floor(I.current.currentTime),B.current.value=Math.floor(I.current.currentTime),function(){var t=g(Math.round(I.current.currentTime));F.current.innerText="".concat(t.minutes,":").concat(t.seconds),F.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s"))}();var n=M.current.getBoundingClientRect(),i=n.width,r=(n.height,n.x),o=n.y;if(!(r<0||o<0)&&i&&!rt){var s=I.current.currentTime,a=s-J;Math.abs(a)<10?(Z+=Math.abs(a),J=s,it||Z-nt*et>=0&&(nt++,ot.push(J),u&&st())):(J=s,u&&st())}}function a(){rt=!0}function l(){I.current.playing&&ot.push(I.current.currentTime,J),J=I.current.currentTime,rt=!1}function c(){($=I.current.duration)<=20&&(et=$/3),I.current.addEventListener("play",t)}function h(){k()}function d(t){var e=t.target.dataset.seek?t.target.dataset.seek:t.target.value;I.current.currentTime=e,B.current.value=e,j.current.value=e}function f(t){var e=Math.round(t.offsetX/t.target.clientWidth*parseInt(t.target.getAttribute("max"),10));j.current.setAttribute("data-seek",e);var n=g(e);z.current.textContent="".concat(n.minutes,":").concat(n.seconds);var i=I.current.getBoundingClientRect();z.current.style.left="".concat(t.pageX-i.left,"px")}return P.current.addEventListener(Object(p.c)(),(function(t){t.preventDefault(),Object(p.a)()?(I.current.style.width="100%",I.current.style.height="100%"):I.current.style.cssText=""})),I.current.addEventListener("canplay",c),I.current.addEventListener("ended",e),I.current.addEventListener("seeking",a),I.current.addEventListener("seeked",l),I.current.addEventListener("loadedmetadata",i),j.current.addEventListener("mousemove",f),j.current.addEventListener("input",d),I.current.addEventListener("timeupdate",o),I.current.addEventListener("pause",h),I.current.addEventListener("volumechange",lt),function(){I.current.removeEventListener("canplay",c),I.current.removeEventListener("play",t),I.current.removeEventListener("ended",e),I.current.removeEventListener("seeking",a),I.current.removeEventListener("seeked",l),j.current.removeEventListener("mousemove",f),j.current.removeEventListener("input",d),I.current.removeEventListener("timeupdate",o),I.current.removeEventListener("pause",h),I.current.removeEventListener("loadedmetadata",i),I.current.removeEventListener("volumechange",lt),I.current.playing&&(ot.push(J,I.current.currentTime),u&&st())}}),[I,o]),Object(a.useEffect)((function(){if(I.current.onended=function(){T(I)},I.current.oncontextmenu=function(){return!1},(null==o?void 0:o.indexOf(".m3u8"))>-1)if(I.current.canPlayType("application/vnd.apple.mpegurl"))I.current.src=o;else if(h.a.isSupported()){var t=new h.a;t.loadSource(o),t.attachMedia(I.current)}}),[o]),Object(a.useEffect)((function(){I.current.playbackRate=R}),[R]);return l.a.createElement("div",{style:{position:"relative"},ref:P},l.a.createElement("div",{ref:M,className:"".concat(m.a.watermark," animated_alternate animate__animated_10s animate__infinite animate__stepstart ").concat(m.a.animate__loop)},Y?Y.login:" "),l.a.createElement("div",{className:m.a.container},l.a.createElement("div",{className:m.a["video-container"],id:"video-container"},l.a.createElement("div",{className:m.a["playback-animation"],id:"playback-animation"},l.a.createElement("svg",{className:m.a["playback-icons"]},l.a.createElement("use",{className:"hidden",href:"#play-icon"}),l.a.createElement("use",{href:"#pause"}))),l.a.createElement("video",{className:m.a.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:I,autoPlay:!1}),l.a.createElement("div",{className:"".concat(m.a["video-controls"]," "),id:"video-controls"},l.a.createElement("div",{className:m.a["bottom-controls"]},l.a.createElement("div",{className:m.a["left-controls"]},l.a.createElement("button",{"data-title":"播放/暂停",id:"play",onClick:function(){I.current.paused||I.current.ended?I.current.play():I.current.pause(),at()}},l.a.createElement("svg",{className:m.a["playback-icons"]},l.a.createElement("use",{ref:N,href:"#play-icon"}),l.a.createElement("use",{ref:D,style:{display:"none"},href:"#pause"}))),l.a.createElement("div",{className:m.a.time},l.a.createElement("time",{id:"time-elapsed",ref:F},"00:00"),l.a.createElement("span",null," / "),l.a.createElement("time",{id:"duration",ref:U},"00:00"))),l.a.createElement("div",{className:m.a["right-controls"]},l.a.createElement("div",{className:m.a["volume-controls"]},l.a.createElement("button",{"data-title":"开启/关闭声音",className:m.a["volume-button"],id:"volume-button",onClick:function(){I.current.muted=!I.current.muted,I.current.muted?(W.current.setAttribute("data-volume",volume.value),W.current.value=0):W.current.value=W.current.dataset.volume}},l.a.createElement("svg",null,l.a.createElement("use",{ref:V,href:"#volume-mute"}),l.a.createElement("use",{ref:H,href:"#volume-low"}),l.a.createElement("use",{ref:G,href:"#volume-high"}))),l.a.createElement("input",{className:m.a.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:W,style:{display:"none"},onClick:lt})),l.a.createElement("button",{"data-title":"全屏/退出全屏",className:m.a["fullscreen-button"],onClick:function(){Object(p.a)()?Object(p.b)():Object(p.d)(P.current)}},l.a.createElement("svg",null,l.a.createElement("use",{href:"#fullscreen"}),l.a.createElement("use",{href:"#fullscreen-exit",className:"hidden"}))))),l.a.createElement("div",{className:m.a["video-progress"]},l.a.createElement("progress",{ref:B,value:"0",min:"0"}),l.a.createElement("input",{className:m.a.seek,ref:j,value:"0",min:"0",type:"range",step:"1"}),l.a.createElement("div",{className:m.a["seek-tooltip"],ref:z,id:"seek-tooltip"},"00:00"))))),l.a.createElement("svg",{style:{display:"none"}},l.a.createElement("defs",null,l.a.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),l.a.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),l.a.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),l.a.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),l.a.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),l.a.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),l.a.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),l.a.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))}))},kwm0: /*!****************************************************************************!*\ !*** ./src/pages/Video/Detail/components/AddVideoModal/index.less?modules ***! \****************************************************************************/ diff --git a/p__index.e13fbbb5.async.js b/p__index.31905db4.async.js similarity index 99% rename from p__index.e13fbbb5.async.js rename to p__index.31905db4.async.js index 31240f43a3..ebd615de05 100644 --- a/p__index.e13fbbb5.async.js +++ b/p__index.31905db4.async.js @@ -1589,7 +1589,7 @@ PERFORMANCE OF THIS SOFTWARE. !*** ./src/components/Video/Play/index.jsx ***! \*********************************************/ /*! exports provided: default */ -/*! exports used: default */function(e,t,i){"use strict";i(/*! antd/es/message/style */"miYZ");var n=i(/*! antd/es/message */"tsqr"),r=i(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),a=i(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),s=i.n(a),o=i(/*! react */"q1tI"),l=i.n(o),c=i(/*! flv.js */"GUcZ"),u=i(/*! hls.js */"ulZh"),h=i.n(u),d=i(/*! @/utils/authority */"xKgJ"),f=i(/*! @/utils/fullscreen.ts */"bntm"),p=i(/*! ./index.less?modules */"4xil"),m=i.n(p);function g(e){if(isNaN(e))return{minutes:"00",seconds:"00"};var t=new Date(1e3*e).toISOString().substr(11,8);return{minutes:t.substr(3,2),seconds:t.substr(6,2)}}function v(e,t){return e-t}function y(e){e.sort(v);for(var t=0,i=0;i0&&!this.paused&&!this.ended&&this.readyState>2)}});var b=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;t.a=Object(o.forwardRef)((function(e,t){var i,a,u,p=e.src,v=e.toLog,E=e.videoId,S=e.logWatchHistory,x=e.courseId,A=void 0===x?null:x,C=e.startTime,w=e.handlePause,k=void 0===w?function(){}:w,T=e.handlePlay,_=void 0===T?function(){}:T,O=e.handlePlayEnded,I=void 0===O?function(){}:O,R=e.videoSpeed,L=void 0===R?1:R,D="flv"===(null===(a=p=null===(i=p)||void 0===i?void 0:i.replace("http://","http://"))||void 0===a||null===(u=a.split("."))||void 0===u?void 0:u.pop()),M=Object(o.useRef)(),P=Object(o.useRef)(),N=Object(o.useRef)(),B=Object(o.useRef)(),j=Object(o.useRef)(),F=Object(o.useRef)(),U=Object(o.useRef)(),z=Object(o.useRef)(),G=Object(o.useRef)(),H=Object(o.useRef)(),V=Object(o.useRef)(),K=Object(o.useRef)(),W=Object(o.useRef)(),Y=Object(o.useRef)(),Q=navigator.userAgent.toLowerCase().match(b),J=Q?Q[0]:"pc",q=Object(o.useRef)(!1),X=Object(d.x)(),Z=0,$=0,ee=0,te=null,ie=!1,ne=20,re=1,ae=!1,se=!1,oe=[];Object(o.useImperativeHandle)(t,(function(){return{getLastUpdatedTime:function(){return M.current.currentTime},getDuration:function(){return M.current.duration}}}));var le=Object(o.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i={point:M.current.currentTime};function n(){return a.apply(this,arguments)}function a(){return(a=Object(r.a)(s.a.mark((function t(){var n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return ae=!0,t.next=3,S(i);case 3:n=t.sent,te=n,ae=!1,e&&e();case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}te?(i.log_id=te,i.watch_duration=y(oe),i.total_duration=$):(A?(i.video_id=parseInt(E,10),i.course_id=A):i.video_id=E,i.duration=Z,i.device=J),t&&(i.ed="1"),n()}),[E,A]);function ce(){M.current.paused?(B.current.style.display="none",j.current.style.display="block"):(B.current.style.display="block",j.current.style.display="none")}function ue(){V.current.style.display="none",W.current.style.display="none",K.current.style.display="none",M.current.muted||0===M.current.volume?V.current.style.display="block":M.current.volume>0&&M.current.volume<=.5?W.current.style.display="block":K.current.style.display="block"}Object(o.useEffect)((function(){var e;n.b.destroy();var t=null;return c.a.isSupported&&D&&p&&(null===(e=p)||void 0===e?void 0:e.indexOf(".m3u8"))<0?(t=c.a.createPlayer({type:"flv",volume:.8,cors:!0,url:p,muted:!1}),M.current&&(t.attachMediaElement(M.current),t.load())):M.current.setAttribute("src",p),ue(),function(){t&&(t.unload(),t.pause(),t.destroy(),t=null)}}),[M,D,p]),Object(o.useEffect)((function(){document.getElementById("play"),document.querySelectorAll(".playback-icons use");function e(){_(),C&&!q.current&&(M.current.currentTime=C),q.current=!0,oe.push(M.current.currentTime),ie||(ie=!0,v&&le())}function t(){return i.apply(this,arguments)}function i(){return(i=Object(r.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:ce(),oe.push(M.current.currentTime),v&&le((function(){te=null,ee=0,ie=!1,ae=!1,se=!1,oe=[],$=0,re=1}),!0);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function n(){var e=Math.round(M.current.duration);F.current.setAttribute("max",e),U.current.setAttribute("max",e);var t=g(e);z.current.innerText="".concat(t.minutes,":").concat(t.seconds),z.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s"))}function a(){var e=Math.round(M.current.duration);F.current.setAttribute("max",e),U.current.setAttribute("max",e);var t=g(e);z.current.innerText="".concat(t.minutes,":").concat(t.seconds),z.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s")),F.current.value=Math.floor(M.current.currentTime),U.current.value=Math.floor(M.current.currentTime),function(){var e=g(Math.round(M.current.currentTime));G.current.innerText="".concat(e.minutes,":").concat(e.seconds),G.current.setAttribute("datetime","".concat(e.minutes,"m ").concat(e.seconds,"s"))}();var i=P.current.getBoundingClientRect(),n=i.width,r=(i.height,i.x),a=i.y;if(!(r<0||a<0)&&n&&!se){var s=M.current.currentTime,o=s-ee;Math.abs(o)<10?($+=Math.abs(o),ee=s,ae||$-re*ne>=0&&(re++,oe.push(ee),v&&le())):(ee=s,v&&le())}}function o(){se=!0}function l(){M.current.playing&&oe.push(M.current.currentTime,ee),ee=M.current.currentTime,se=!1}function c(){(Z=M.current.duration)<=20&&(ne=Z/3),M.current.addEventListener("play",e)}function u(){k()}function h(e){var t=e.target.dataset.seek?e.target.dataset.seek:e.target.value;M.current.currentTime=t,U.current.value=t,F.current.value=t}function d(e){var t=Math.round(e.offsetX/e.target.clientWidth*parseInt(e.target.getAttribute("max"),10));F.current.setAttribute("data-seek",t);var i=g(t);H.current.textContent="".concat(i.minutes,":").concat(i.seconds);var n=M.current.getBoundingClientRect();H.current.style.left="".concat(e.pageX-n.left,"px")}return N.current.addEventListener(Object(f.c)(),(function(e){e.preventDefault(),Object(f.a)()?(M.current.style.width="100%",M.current.style.height="100%"):M.current.style.cssText=""})),M.current.addEventListener("canplay",c),M.current.addEventListener("ended",t),M.current.addEventListener("seeking",o),M.current.addEventListener("seeked",l),M.current.addEventListener("loadedmetadata",n),F.current.addEventListener("mousemove",d),F.current.addEventListener("input",h),M.current.addEventListener("timeupdate",a),M.current.addEventListener("pause",u),M.current.addEventListener("volumechange",ue),function(){M.current.removeEventListener("canplay",c),M.current.removeEventListener("play",e),M.current.removeEventListener("ended",t),M.current.removeEventListener("seeking",o),M.current.removeEventListener("seeked",l),F.current.removeEventListener("mousemove",d),F.current.removeEventListener("input",h),M.current.removeEventListener("timeupdate",a),M.current.removeEventListener("pause",u),M.current.removeEventListener("loadedmetadata",n),M.current.removeEventListener("volumechange",ue),M.current.playing&&(oe.push(ee,M.current.currentTime),v&&le())}}),[M,p]),Object(o.useEffect)((function(){var e;if(M.current.onended=function(){I(M)},M.current.oncontextmenu=function(){return!1},(null===(e=p)||void 0===e?void 0:e.indexOf(".m3u8"))>-1)if(M.current.canPlayType("application/vnd.apple.mpegurl"))M.current.src=p;else if(h.a.isSupported()){var t=new h.a;t.loadSource(p),t.attachMedia(M.current)}}),[p]),Object(o.useEffect)((function(){M.current.playbackRate=L}),[L]);return l.a.createElement("div",{style:{position:"relative"},ref:N},l.a.createElement("div",{ref:P,className:"".concat(m.a.watermark," animated_alternate animate__animated_10s animate__infinite animate__stepstart ").concat(m.a.animate__loop)},X?X.login:" "),l.a.createElement("div",{className:m.a.container},l.a.createElement("div",{className:m.a["video-container"],id:"video-container"},l.a.createElement("div",{className:m.a["playback-animation"],id:"playback-animation"},l.a.createElement("svg",{className:m.a["playback-icons"]},l.a.createElement("use",{className:"hidden",href:"#play-icon"}),l.a.createElement("use",{href:"#pause"}))),l.a.createElement("video",{className:m.a.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:M,autoPlay:!1}),l.a.createElement("div",{className:"".concat(m.a["video-controls"]," "),id:"video-controls"},l.a.createElement("div",{className:m.a["bottom-controls"]},l.a.createElement("div",{className:m.a["left-controls"]},l.a.createElement("button",{"data-title":"播放/暂停",id:"play",onClick:function(){M.current.paused||M.current.ended?M.current.play():M.current.pause(),ce()}},l.a.createElement("svg",{className:m.a["playback-icons"]},l.a.createElement("use",{ref:j,href:"#play-icon"}),l.a.createElement("use",{ref:B,style:{display:"none"},href:"#pause"}))),l.a.createElement("div",{className:m.a.time},l.a.createElement("time",{id:"time-elapsed",ref:G},"00:00"),l.a.createElement("span",null," / "),l.a.createElement("time",{id:"duration",ref:z},"00:00"))),l.a.createElement("div",{className:m.a["right-controls"]},l.a.createElement("div",{className:m.a["volume-controls"]},l.a.createElement("button",{"data-title":"开启/关闭声音",className:m.a["volume-button"],id:"volume-button",onClick:function(){M.current.muted=!M.current.muted,M.current.muted?(Y.current.setAttribute("data-volume",volume.value),Y.current.value=0):Y.current.value=Y.current.dataset.volume}},l.a.createElement("svg",null,l.a.createElement("use",{ref:V,href:"#volume-mute"}),l.a.createElement("use",{ref:W,href:"#volume-low"}),l.a.createElement("use",{ref:K,href:"#volume-high"}))),l.a.createElement("input",{className:m.a.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:Y,style:{display:"none"},onClick:ue})),l.a.createElement("button",{"data-title":"全屏/退出全屏",className:m.a["fullscreen-button"],onClick:function(){Object(f.a)()?Object(f.b)():Object(f.d)(N.current)}},l.a.createElement("svg",null,l.a.createElement("use",{href:"#fullscreen"}),l.a.createElement("use",{href:"#fullscreen-exit",className:"hidden"}))))),l.a.createElement("div",{className:m.a["video-progress"]},l.a.createElement("progress",{ref:U,value:"0",min:"0"}),l.a.createElement("input",{className:m.a.seek,ref:F,value:"0",min:"0",type:"range",step:"1"}),l.a.createElement("div",{className:m.a["seek-tooltip"],ref:H,id:"seek-tooltip"},"00:00"))))),l.a.createElement("svg",{style:{display:"none"}},l.a.createElement("defs",null,l.a.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),l.a.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),l.a.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),l.a.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),l.a.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),l.a.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),l.a.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),l.a.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))}))},htaC: +/*! exports used: default */function(e,t,i){"use strict";i(/*! antd/es/message/style */"miYZ");var n=i(/*! antd/es/message */"tsqr"),r=i(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),a=i(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),s=i.n(a),o=i(/*! react */"q1tI"),l=i.n(o),c=i(/*! flv.js */"GUcZ"),u=i(/*! hls.js */"ulZh"),h=i.n(u),d=i(/*! @/utils/authority */"xKgJ"),f=i(/*! @/utils/fullscreen.ts */"bntm"),p=i(/*! ./index.less?modules */"4xil"),m=i.n(p);function g(e){if(isNaN(e))return{minutes:"00",seconds:"00"};var t=new Date(1e3*e).toISOString().substr(11,8);return{minutes:t.substr(3,2),seconds:t.substr(6,2)}}function v(e,t){return e-t}function y(e){e.sort(v);for(var t=0,i=0;i0&&!this.paused&&!this.ended&&this.readyState>2)}});var b=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;t.a=Object(o.forwardRef)((function(e,t){var i,a=e.src,u=e.toLog,p=e.videoId,v=e.logWatchHistory,E=e.courseId,S=void 0===E?null:E,x=e.startTime,A=e.handlePause,C=void 0===A?function(){}:A,w=e.handlePlay,k=void 0===w?function(){}:w,T=e.handlePlayEnded,_=void 0===T?function(){}:T,O=e.videoSpeed,I=void 0===O?1:O,R="flv"===(null==a||null===(i=a.split("."))||void 0===i?void 0:i.pop()),L=Object(o.useRef)(),D=Object(o.useRef)(),M=Object(o.useRef)(),P=Object(o.useRef)(),N=Object(o.useRef)(),B=Object(o.useRef)(),j=Object(o.useRef)(),F=Object(o.useRef)(),U=Object(o.useRef)(),z=Object(o.useRef)(),G=Object(o.useRef)(),H=Object(o.useRef)(),V=Object(o.useRef)(),K=Object(o.useRef)(),W=navigator.userAgent.toLowerCase().match(b),Y=W?W[0]:"pc",Q=Object(o.useRef)(!1),J=Object(d.x)(),q=0,X=0,Z=0,$=null,ee=!1,te=20,ie=1,ne=!1,re=!1,ae=[];Object(o.useImperativeHandle)(t,(function(){return{getLastUpdatedTime:function(){return L.current.currentTime},getDuration:function(){return L.current.duration}}}));var se=Object(o.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i={point:L.current.currentTime};function n(){return a.apply(this,arguments)}function a(){return(a=Object(r.a)(s.a.mark((function t(){var n;return s.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return ne=!0,t.next=3,v(i);case 3:n=t.sent,$=n,ne=!1,e&&e();case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}$?(i.log_id=$,i.watch_duration=y(ae),i.total_duration=X):(S?(i.video_id=parseInt(p,10),i.course_id=S):i.video_id=p,i.duration=q,i.device=Y),t&&(i.ed="1"),n()}),[p,S]);function oe(){L.current.paused?(P.current.style.display="none",N.current.style.display="block"):(P.current.style.display="block",N.current.style.display="none")}function le(){G.current.style.display="none",V.current.style.display="none",H.current.style.display="none",L.current.muted||0===L.current.volume?G.current.style.display="block":L.current.volume>0&&L.current.volume<=.5?V.current.style.display="block":H.current.style.display="block"}Object(o.useEffect)((function(){n.b.destroy();var e=null;return c.a.isSupported&&R&&a&&(null==a?void 0:a.indexOf(".m3u8"))<0?(e=c.a.createPlayer({type:"flv",volume:.8,cors:!0,url:a,muted:!1}),L.current&&(e.attachMediaElement(L.current),e.load())):L.current.setAttribute("src",a),le(),function(){e&&(e.unload(),e.pause(),e.destroy(),e=null)}}),[L,R,a]),Object(o.useEffect)((function(){document.getElementById("play"),document.querySelectorAll(".playback-icons use");function e(){k(),x&&!Q.current&&(L.current.currentTime=x),Q.current=!0,ae.push(L.current.currentTime),ee||(ee=!0,u&&se())}function t(){return i.apply(this,arguments)}function i(){return(i=Object(r.a)(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:oe(),ae.push(L.current.currentTime),u&&se((function(){$=null,Z=0,ee=!1,ne=!1,re=!1,ae=[],X=0,ie=1}),!0);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function n(){var e=Math.round(L.current.duration);B.current.setAttribute("max",e),j.current.setAttribute("max",e);var t=g(e);F.current.innerText="".concat(t.minutes,":").concat(t.seconds),F.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s"))}function a(){var e=Math.round(L.current.duration);B.current.setAttribute("max",e),j.current.setAttribute("max",e);var t=g(e);F.current.innerText="".concat(t.minutes,":").concat(t.seconds),F.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s")),B.current.value=Math.floor(L.current.currentTime),j.current.value=Math.floor(L.current.currentTime),function(){var e=g(Math.round(L.current.currentTime));U.current.innerText="".concat(e.minutes,":").concat(e.seconds),U.current.setAttribute("datetime","".concat(e.minutes,"m ").concat(e.seconds,"s"))}();var i=D.current.getBoundingClientRect(),n=i.width,r=(i.height,i.x),a=i.y;if(!(r<0||a<0)&&n&&!re){var s=L.current.currentTime,o=s-Z;Math.abs(o)<10?(X+=Math.abs(o),Z=s,ne||X-ie*te>=0&&(ie++,ae.push(Z),u&&se())):(Z=s,u&&se())}}function o(){re=!0}function l(){L.current.playing&&ae.push(L.current.currentTime,Z),Z=L.current.currentTime,re=!1}function c(){(q=L.current.duration)<=20&&(te=q/3),L.current.addEventListener("play",e)}function h(){C()}function d(e){var t=e.target.dataset.seek?e.target.dataset.seek:e.target.value;L.current.currentTime=t,j.current.value=t,B.current.value=t}function p(e){var t=Math.round(e.offsetX/e.target.clientWidth*parseInt(e.target.getAttribute("max"),10));B.current.setAttribute("data-seek",t);var i=g(t);z.current.textContent="".concat(i.minutes,":").concat(i.seconds);var n=L.current.getBoundingClientRect();z.current.style.left="".concat(e.pageX-n.left,"px")}return M.current.addEventListener(Object(f.c)(),(function(e){e.preventDefault(),Object(f.a)()?(L.current.style.width="100%",L.current.style.height="100%"):L.current.style.cssText=""})),L.current.addEventListener("canplay",c),L.current.addEventListener("ended",t),L.current.addEventListener("seeking",o),L.current.addEventListener("seeked",l),L.current.addEventListener("loadedmetadata",n),B.current.addEventListener("mousemove",p),B.current.addEventListener("input",d),L.current.addEventListener("timeupdate",a),L.current.addEventListener("pause",h),L.current.addEventListener("volumechange",le),function(){L.current.removeEventListener("canplay",c),L.current.removeEventListener("play",e),L.current.removeEventListener("ended",t),L.current.removeEventListener("seeking",o),L.current.removeEventListener("seeked",l),B.current.removeEventListener("mousemove",p),B.current.removeEventListener("input",d),L.current.removeEventListener("timeupdate",a),L.current.removeEventListener("pause",h),L.current.removeEventListener("loadedmetadata",n),L.current.removeEventListener("volumechange",le),L.current.playing&&(ae.push(Z,L.current.currentTime),u&&se())}}),[L,a]),Object(o.useEffect)((function(){if(L.current.onended=function(){_(L)},L.current.oncontextmenu=function(){return!1},(null==a?void 0:a.indexOf(".m3u8"))>-1)if(L.current.canPlayType("application/vnd.apple.mpegurl"))L.current.src=a;else if(h.a.isSupported()){var e=new h.a;e.loadSource(a),e.attachMedia(L.current)}}),[a]),Object(o.useEffect)((function(){L.current.playbackRate=I}),[I]);return l.a.createElement("div",{style:{position:"relative"},ref:M},l.a.createElement("div",{ref:D,className:"".concat(m.a.watermark," animated_alternate animate__animated_10s animate__infinite animate__stepstart ").concat(m.a.animate__loop)},J?J.login:" "),l.a.createElement("div",{className:m.a.container},l.a.createElement("div",{className:m.a["video-container"],id:"video-container"},l.a.createElement("div",{className:m.a["playback-animation"],id:"playback-animation"},l.a.createElement("svg",{className:m.a["playback-icons"]},l.a.createElement("use",{className:"hidden",href:"#play-icon"}),l.a.createElement("use",{href:"#pause"}))),l.a.createElement("video",{className:m.a.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:L,autoPlay:!1}),l.a.createElement("div",{className:"".concat(m.a["video-controls"]," "),id:"video-controls"},l.a.createElement("div",{className:m.a["bottom-controls"]},l.a.createElement("div",{className:m.a["left-controls"]},l.a.createElement("button",{"data-title":"播放/暂停",id:"play",onClick:function(){L.current.paused||L.current.ended?L.current.play():L.current.pause(),oe()}},l.a.createElement("svg",{className:m.a["playback-icons"]},l.a.createElement("use",{ref:N,href:"#play-icon"}),l.a.createElement("use",{ref:P,style:{display:"none"},href:"#pause"}))),l.a.createElement("div",{className:m.a.time},l.a.createElement("time",{id:"time-elapsed",ref:U},"00:00"),l.a.createElement("span",null," / "),l.a.createElement("time",{id:"duration",ref:F},"00:00"))),l.a.createElement("div",{className:m.a["right-controls"]},l.a.createElement("div",{className:m.a["volume-controls"]},l.a.createElement("button",{"data-title":"开启/关闭声音",className:m.a["volume-button"],id:"volume-button",onClick:function(){L.current.muted=!L.current.muted,L.current.muted?(K.current.setAttribute("data-volume",volume.value),K.current.value=0):K.current.value=K.current.dataset.volume}},l.a.createElement("svg",null,l.a.createElement("use",{ref:G,href:"#volume-mute"}),l.a.createElement("use",{ref:V,href:"#volume-low"}),l.a.createElement("use",{ref:H,href:"#volume-high"}))),l.a.createElement("input",{className:m.a.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:K,style:{display:"none"},onClick:le})),l.a.createElement("button",{"data-title":"全屏/退出全屏",className:m.a["fullscreen-button"],onClick:function(){Object(f.a)()?Object(f.b)():Object(f.d)(M.current)}},l.a.createElement("svg",null,l.a.createElement("use",{href:"#fullscreen"}),l.a.createElement("use",{href:"#fullscreen-exit",className:"hidden"}))))),l.a.createElement("div",{className:m.a["video-progress"]},l.a.createElement("progress",{ref:j,value:"0",min:"0"}),l.a.createElement("input",{className:m.a.seek,ref:B,value:"0",min:"0",type:"range",step:"1"}),l.a.createElement("div",{className:m.a["seek-tooltip"],ref:z,id:"seek-tooltip"},"00:00"))))),l.a.createElement("svg",{style:{display:"none"}},l.a.createElement("defs",null,l.a.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),l.a.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),l.a.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),l.a.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),l.a.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),l.a.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),l.a.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),l.a.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},l.a.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))}))},htaC: /*!*****************************************************!*\ !*** ./src/pages/Home/OjElement/index.less?modules ***! \*****************************************************/ diff --git a/p__tasks__index.6b3d9d85.async.js b/p__tasks__index.6b3d9d85.async.js index 9d79052503..dbfb3b94fe 100644 --- a/p__tasks__index.6b3d9d85.async.js +++ b/p__tasks__index.6b3d9d85.async.js @@ -2278,14 +2278,14 @@ PERFORMANCE OF THIS SOFTWARE. /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__virtualSpaces__Lists__Member__index.c712f561.async.js b/p__virtualSpaces__Lists__Member__index.c712f561.async.js index 4ec1769fea..983838c541 100644 --- a/p__virtualSpaces__Lists__Member__index.c712f561.async.js +++ b/p__virtualSpaces__Lists__Member__index.c712f561.async.js @@ -509,14 +509,14 @@ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-resize-observer/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Cell/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/Footer/index.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/context/TableContext.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/hooks/useColumns.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/Column.js because of ./node_modules/antd/es/table/Table.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/sugar/ColumnGroup.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/legacyUtil.js because of ./node_modules/antd/es/table/Table.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/hooks/useSelection.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-table/es/utils/valueUtil.js because of ./node_modules/antd/es/table/Table.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/css.js because of ./node_modules/rc-image/es/Image.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/getScrollBarSize.js */ diff --git a/p__virtualSpaces__Lists__Video__index.bb31f5d0.async.js b/p__virtualSpaces__Lists__Video__index.ec365cfa.async.js similarity index 97% rename from p__virtualSpaces__Lists__Video__index.bb31f5d0.async.js rename to p__virtualSpaces__Lists__Video__index.ec365cfa.async.js index 92d31a026f..3846cdff1b 100644 --- a/p__virtualSpaces__Lists__Video__index.bb31f5d0.async.js +++ b/p__virtualSpaces__Lists__Video__index.ec365cfa.async.js @@ -345,7 +345,7 @@ !*** ./src/components/Video/Play/index.jsx ***! \*********************************************/ /*! exports provided: default */ -/*! exports used: default */function(e,t,n){"use strict";n(/*! antd/es/message/style */"miYZ");var r=n(/*! antd/es/message */"tsqr"),i=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),s=n(/*! react */"q1tI"),c=n.n(s),l=n(/*! flv.js */"GUcZ"),u=n(/*! hls.js */"ulZh"),d=n.n(u),h=n(/*! @/utils/authority */"xKgJ"),f=n(/*! @/utils/fullscreen.ts */"bntm"),p=n(/*! ./index.less?modules */"4xil"),v=n.n(p);function m(e){if(isNaN(e))return{minutes:"00",seconds:"00"};var t=new Date(1e3*e).toISOString().substr(11,8);return{minutes:t.substr(3,2),seconds:t.substr(6,2)}}function g(e,t){return e-t}function b(e){e.sort(g);for(var t=0,n=0;n0&&!this.paused&&!this.ended&&this.readyState>2)}});var y=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;t.a=Object(s.forwardRef)((function(e,t){var n,a,u,p=e.src,g=e.toLog,_=e.videoId,k=e.logWatchHistory,E=e.courseId,O=void 0===E?null:E,S=e.startTime,w=e.handlePause,C=void 0===w?function(){}:w,x=e.handlePlay,j=void 0===x?function(){}:x,A=e.handlePlayEnded,R=void 0===A?function(){}:A,T=e.videoSpeed,L=void 0===T?1:T,D="flv"===(null===(a=p=null===(n=p)||void 0===n?void 0:n.replace("http://","http://"))||void 0===a||null===(u=a.split("."))||void 0===u?void 0:u.pop()),I=Object(s.useRef)(),M=Object(s.useRef)(),N=Object(s.useRef)(),P=Object(s.useRef)(),B=Object(s.useRef)(),K=Object(s.useRef)(),U=Object(s.useRef)(),F=Object(s.useRef)(),V=Object(s.useRef)(),z=Object(s.useRef)(),H=Object(s.useRef)(),G=Object(s.useRef)(),W=Object(s.useRef)(),q=Object(s.useRef)(),X=navigator.userAgent.toLowerCase().match(y),Y=X?X[0]:"pc",J=Object(s.useRef)(!1),Q=Object(h.x)(),Z=0,$=0,ee=0,te=null,ne=!1,re=20,ie=1,ae=!1,oe=!1,se=[];Object(s.useImperativeHandle)(t,(function(){return{getLastUpdatedTime:function(){return I.current.currentTime},getDuration:function(){return I.current.duration}}}));var ce=Object(s.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={point:I.current.currentTime};function r(){return a.apply(this,arguments)}function a(){return(a=Object(i.a)(o.a.mark((function t(){var r;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return ae=!0,t.next=3,k(n);case 3:r=t.sent,te=r,ae=!1,e&&e();case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}te?(n.log_id=te,n.watch_duration=b(se),n.total_duration=$):(O?(n.video_id=parseInt(_,10),n.course_id=O):n.video_id=_,n.duration=Z,n.device=Y),t&&(n.ed="1"),r()}),[_,O]);function le(){I.current.paused?(P.current.style.display="none",B.current.style.display="block"):(P.current.style.display="block",B.current.style.display="none")}function ue(){H.current.style.display="none",W.current.style.display="none",G.current.style.display="none",I.current.muted||0===I.current.volume?H.current.style.display="block":I.current.volume>0&&I.current.volume<=.5?W.current.style.display="block":G.current.style.display="block"}Object(s.useEffect)((function(){var e;r.b.destroy();var t=null;return l.a.isSupported&&D&&p&&(null===(e=p)||void 0===e?void 0:e.indexOf(".m3u8"))<0?(t=l.a.createPlayer({type:"flv",volume:.8,cors:!0,url:p,muted:!1}),I.current&&(t.attachMediaElement(I.current),t.load())):I.current.setAttribute("src",p),ue(),function(){t&&(t.unload(),t.pause(),t.destroy(),t=null)}}),[I,D,p]),Object(s.useEffect)((function(){document.getElementById("play"),document.querySelectorAll(".playback-icons use");function e(){j(),S&&!J.current&&(I.current.currentTime=S),J.current=!0,se.push(I.current.currentTime),ne||(ne=!0,g&&ce())}function t(){return n.apply(this,arguments)}function n(){return(n=Object(i.a)(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:le(),se.push(I.current.currentTime),g&&ce((function(){te=null,ee=0,ne=!1,ae=!1,oe=!1,se=[],$=0,ie=1}),!0);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function r(){var e=Math.round(I.current.duration);K.current.setAttribute("max",e),U.current.setAttribute("max",e);var t=m(e);F.current.innerText="".concat(t.minutes,":").concat(t.seconds),F.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s"))}function a(){var e=Math.round(I.current.duration);K.current.setAttribute("max",e),U.current.setAttribute("max",e);var t=m(e);F.current.innerText="".concat(t.minutes,":").concat(t.seconds),F.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s")),K.current.value=Math.floor(I.current.currentTime),U.current.value=Math.floor(I.current.currentTime),function(){var e=m(Math.round(I.current.currentTime));V.current.innerText="".concat(e.minutes,":").concat(e.seconds),V.current.setAttribute("datetime","".concat(e.minutes,"m ").concat(e.seconds,"s"))}();var n=M.current.getBoundingClientRect(),r=n.width,i=(n.height,n.x),a=n.y;if(!(i<0||a<0)&&r&&!oe){var o=I.current.currentTime,s=o-ee;Math.abs(s)<10?($+=Math.abs(s),ee=o,ae||$-ie*re>=0&&(ie++,se.push(ee),g&&ce())):(ee=o,g&&ce())}}function s(){oe=!0}function c(){I.current.playing&&se.push(I.current.currentTime,ee),ee=I.current.currentTime,oe=!1}function l(){(Z=I.current.duration)<=20&&(re=Z/3),I.current.addEventListener("play",e)}function u(){C()}function d(e){var t=e.target.dataset.seek?e.target.dataset.seek:e.target.value;I.current.currentTime=t,U.current.value=t,K.current.value=t}function h(e){var t=Math.round(e.offsetX/e.target.clientWidth*parseInt(e.target.getAttribute("max"),10));K.current.setAttribute("data-seek",t);var n=m(t);z.current.textContent="".concat(n.minutes,":").concat(n.seconds);var r=I.current.getBoundingClientRect();z.current.style.left="".concat(e.pageX-r.left,"px")}return N.current.addEventListener(Object(f.c)(),(function(e){e.preventDefault(),Object(f.a)()?(I.current.style.width="100%",I.current.style.height="100%"):I.current.style.cssText=""})),I.current.addEventListener("canplay",l),I.current.addEventListener("ended",t),I.current.addEventListener("seeking",s),I.current.addEventListener("seeked",c),I.current.addEventListener("loadedmetadata",r),K.current.addEventListener("mousemove",h),K.current.addEventListener("input",d),I.current.addEventListener("timeupdate",a),I.current.addEventListener("pause",u),I.current.addEventListener("volumechange",ue),function(){I.current.removeEventListener("canplay",l),I.current.removeEventListener("play",e),I.current.removeEventListener("ended",t),I.current.removeEventListener("seeking",s),I.current.removeEventListener("seeked",c),K.current.removeEventListener("mousemove",h),K.current.removeEventListener("input",d),I.current.removeEventListener("timeupdate",a),I.current.removeEventListener("pause",u),I.current.removeEventListener("loadedmetadata",r),I.current.removeEventListener("volumechange",ue),I.current.playing&&(se.push(ee,I.current.currentTime),g&&ce())}}),[I,p]),Object(s.useEffect)((function(){var e;if(I.current.onended=function(){R(I)},I.current.oncontextmenu=function(){return!1},(null===(e=p)||void 0===e?void 0:e.indexOf(".m3u8"))>-1)if(I.current.canPlayType("application/vnd.apple.mpegurl"))I.current.src=p;else if(d.a.isSupported()){var t=new d.a;t.loadSource(p),t.attachMedia(I.current)}}),[p]),Object(s.useEffect)((function(){I.current.playbackRate=L}),[L]);return c.a.createElement("div",{style:{position:"relative"},ref:N},c.a.createElement("div",{ref:M,className:"".concat(v.a.watermark," animated_alternate animate__animated_10s animate__infinite animate__stepstart ").concat(v.a.animate__loop)},Q?Q.login:" "),c.a.createElement("div",{className:v.a.container},c.a.createElement("div",{className:v.a["video-container"],id:"video-container"},c.a.createElement("div",{className:v.a["playback-animation"],id:"playback-animation"},c.a.createElement("svg",{className:v.a["playback-icons"]},c.a.createElement("use",{className:"hidden",href:"#play-icon"}),c.a.createElement("use",{href:"#pause"}))),c.a.createElement("video",{className:v.a.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:I,autoPlay:!1}),c.a.createElement("div",{className:"".concat(v.a["video-controls"]," "),id:"video-controls"},c.a.createElement("div",{className:v.a["bottom-controls"]},c.a.createElement("div",{className:v.a["left-controls"]},c.a.createElement("button",{"data-title":"播放/暂停",id:"play",onClick:function(){I.current.paused||I.current.ended?I.current.play():I.current.pause(),le()}},c.a.createElement("svg",{className:v.a["playback-icons"]},c.a.createElement("use",{ref:B,href:"#play-icon"}),c.a.createElement("use",{ref:P,style:{display:"none"},href:"#pause"}))),c.a.createElement("div",{className:v.a.time},c.a.createElement("time",{id:"time-elapsed",ref:V},"00:00"),c.a.createElement("span",null," / "),c.a.createElement("time",{id:"duration",ref:F},"00:00"))),c.a.createElement("div",{className:v.a["right-controls"]},c.a.createElement("div",{className:v.a["volume-controls"]},c.a.createElement("button",{"data-title":"开启/关闭声音",className:v.a["volume-button"],id:"volume-button",onClick:function(){I.current.muted=!I.current.muted,I.current.muted?(q.current.setAttribute("data-volume",volume.value),q.current.value=0):q.current.value=q.current.dataset.volume}},c.a.createElement("svg",null,c.a.createElement("use",{ref:H,href:"#volume-mute"}),c.a.createElement("use",{ref:W,href:"#volume-low"}),c.a.createElement("use",{ref:G,href:"#volume-high"}))),c.a.createElement("input",{className:v.a.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:q,style:{display:"none"},onClick:ue})),c.a.createElement("button",{"data-title":"全屏/退出全屏",className:v.a["fullscreen-button"],onClick:function(){Object(f.a)()?Object(f.b)():Object(f.d)(N.current)}},c.a.createElement("svg",null,c.a.createElement("use",{href:"#fullscreen"}),c.a.createElement("use",{href:"#fullscreen-exit",className:"hidden"}))))),c.a.createElement("div",{className:v.a["video-progress"]},c.a.createElement("progress",{ref:U,value:"0",min:"0"}),c.a.createElement("input",{className:v.a.seek,ref:K,value:"0",min:"0",type:"range",step:"1"}),c.a.createElement("div",{className:v.a["seek-tooltip"],ref:z,id:"seek-tooltip"},"00:00"))))),c.a.createElement("svg",{style:{display:"none"}},c.a.createElement("defs",null,c.a.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),c.a.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),c.a.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),c.a.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),c.a.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),c.a.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),c.a.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),c.a.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))}))},k3GJ: +/*! exports used: default */function(e,t,n){"use strict";n(/*! antd/es/message/style */"miYZ");var r=n(/*! antd/es/message */"tsqr"),i=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator */"9og8"),a=n(/*! ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/regenerator */"WmNS"),o=n.n(a),s=n(/*! react */"q1tI"),c=n.n(s),l=n(/*! flv.js */"GUcZ"),u=n(/*! hls.js */"ulZh"),d=n.n(u),h=n(/*! @/utils/authority */"xKgJ"),f=n(/*! @/utils/fullscreen.ts */"bntm"),p=n(/*! ./index.less?modules */"4xil"),v=n.n(p);function m(e){if(isNaN(e))return{minutes:"00",seconds:"00"};var t=new Date(1e3*e).toISOString().substr(11,8);return{minutes:t.substr(3,2),seconds:t.substr(6,2)}}function g(e,t){return e-t}function b(e){e.sort(g);for(var t=0,n=0;n0&&!this.paused&&!this.ended&&this.readyState>2)}});var y=/(android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini)/i;t.a=Object(s.forwardRef)((function(e,t){var n,a=e.src,u=e.toLog,p=e.videoId,g=e.logWatchHistory,_=e.courseId,k=void 0===_?null:_,E=e.startTime,O=e.handlePause,S=void 0===O?function(){}:O,w=e.handlePlay,C=void 0===w?function(){}:w,x=e.handlePlayEnded,j=void 0===x?function(){}:x,A=e.videoSpeed,R=void 0===A?1:A,T="flv"===(null==a||null===(n=a.split("."))||void 0===n?void 0:n.pop()),L=Object(s.useRef)(),D=Object(s.useRef)(),I=Object(s.useRef)(),M=Object(s.useRef)(),N=Object(s.useRef)(),P=Object(s.useRef)(),B=Object(s.useRef)(),K=Object(s.useRef)(),U=Object(s.useRef)(),F=Object(s.useRef)(),V=Object(s.useRef)(),z=Object(s.useRef)(),H=Object(s.useRef)(),G=Object(s.useRef)(),W=navigator.userAgent.toLowerCase().match(y),q=W?W[0]:"pc",X=Object(s.useRef)(!1),Y=Object(h.x)(),J=0,Q=0,Z=0,$=null,ee=!1,te=20,ne=1,re=!1,ie=!1,ae=[];Object(s.useImperativeHandle)(t,(function(){return{getLastUpdatedTime:function(){return L.current.currentTime},getDuration:function(){return L.current.duration}}}));var oe=Object(s.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={point:L.current.currentTime};function r(){return a.apply(this,arguments)}function a(){return(a=Object(i.a)(o.a.mark((function t(){var r;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return re=!0,t.next=3,g(n);case 3:r=t.sent,$=r,re=!1,e&&e();case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}$?(n.log_id=$,n.watch_duration=b(ae),n.total_duration=Q):(k?(n.video_id=parseInt(p,10),n.course_id=k):n.video_id=p,n.duration=J,n.device=q),t&&(n.ed="1"),r()}),[p,k]);function se(){L.current.paused?(M.current.style.display="none",N.current.style.display="block"):(M.current.style.display="block",N.current.style.display="none")}function ce(){V.current.style.display="none",H.current.style.display="none",z.current.style.display="none",L.current.muted||0===L.current.volume?V.current.style.display="block":L.current.volume>0&&L.current.volume<=.5?H.current.style.display="block":z.current.style.display="block"}Object(s.useEffect)((function(){r.b.destroy();var e=null;return l.a.isSupported&&T&&a&&(null==a?void 0:a.indexOf(".m3u8"))<0?(e=l.a.createPlayer({type:"flv",volume:.8,cors:!0,url:a,muted:!1}),L.current&&(e.attachMediaElement(L.current),e.load())):L.current.setAttribute("src",a),ce(),function(){e&&(e.unload(),e.pause(),e.destroy(),e=null)}}),[L,T,a]),Object(s.useEffect)((function(){document.getElementById("play"),document.querySelectorAll(".playback-icons use");function e(){C(),E&&!X.current&&(L.current.currentTime=E),X.current=!0,ae.push(L.current.currentTime),ee||(ee=!0,u&&oe())}function t(){return n.apply(this,arguments)}function n(){return(n=Object(i.a)(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:se(),ae.push(L.current.currentTime),u&&oe((function(){$=null,Z=0,ee=!1,re=!1,ie=!1,ae=[],Q=0,ne=1}),!0);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function r(){var e=Math.round(L.current.duration);P.current.setAttribute("max",e),B.current.setAttribute("max",e);var t=m(e);K.current.innerText="".concat(t.minutes,":").concat(t.seconds),K.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s"))}function a(){var e=Math.round(L.current.duration);P.current.setAttribute("max",e),B.current.setAttribute("max",e);var t=m(e);K.current.innerText="".concat(t.minutes,":").concat(t.seconds),K.current.setAttribute("datetime","".concat(t.minutes,"m ").concat(t.seconds,"s")),P.current.value=Math.floor(L.current.currentTime),B.current.value=Math.floor(L.current.currentTime),function(){var e=m(Math.round(L.current.currentTime));U.current.innerText="".concat(e.minutes,":").concat(e.seconds),U.current.setAttribute("datetime","".concat(e.minutes,"m ").concat(e.seconds,"s"))}();var n=D.current.getBoundingClientRect(),r=n.width,i=(n.height,n.x),a=n.y;if(!(i<0||a<0)&&r&&!ie){var o=L.current.currentTime,s=o-Z;Math.abs(s)<10?(Q+=Math.abs(s),Z=o,re||Q-ne*te>=0&&(ne++,ae.push(Z),u&&oe())):(Z=o,u&&oe())}}function s(){ie=!0}function c(){L.current.playing&&ae.push(L.current.currentTime,Z),Z=L.current.currentTime,ie=!1}function l(){(J=L.current.duration)<=20&&(te=J/3),L.current.addEventListener("play",e)}function d(){S()}function h(e){var t=e.target.dataset.seek?e.target.dataset.seek:e.target.value;L.current.currentTime=t,B.current.value=t,P.current.value=t}function p(e){var t=Math.round(e.offsetX/e.target.clientWidth*parseInt(e.target.getAttribute("max"),10));P.current.setAttribute("data-seek",t);var n=m(t);F.current.textContent="".concat(n.minutes,":").concat(n.seconds);var r=L.current.getBoundingClientRect();F.current.style.left="".concat(e.pageX-r.left,"px")}return I.current.addEventListener(Object(f.c)(),(function(e){e.preventDefault(),Object(f.a)()?(L.current.style.width="100%",L.current.style.height="100%"):L.current.style.cssText=""})),L.current.addEventListener("canplay",l),L.current.addEventListener("ended",t),L.current.addEventListener("seeking",s),L.current.addEventListener("seeked",c),L.current.addEventListener("loadedmetadata",r),P.current.addEventListener("mousemove",p),P.current.addEventListener("input",h),L.current.addEventListener("timeupdate",a),L.current.addEventListener("pause",d),L.current.addEventListener("volumechange",ce),function(){L.current.removeEventListener("canplay",l),L.current.removeEventListener("play",e),L.current.removeEventListener("ended",t),L.current.removeEventListener("seeking",s),L.current.removeEventListener("seeked",c),P.current.removeEventListener("mousemove",p),P.current.removeEventListener("input",h),L.current.removeEventListener("timeupdate",a),L.current.removeEventListener("pause",d),L.current.removeEventListener("loadedmetadata",r),L.current.removeEventListener("volumechange",ce),L.current.playing&&(ae.push(Z,L.current.currentTime),u&&oe())}}),[L,a]),Object(s.useEffect)((function(){if(L.current.onended=function(){j(L)},L.current.oncontextmenu=function(){return!1},(null==a?void 0:a.indexOf(".m3u8"))>-1)if(L.current.canPlayType("application/vnd.apple.mpegurl"))L.current.src=a;else if(d.a.isSupported()){var e=new d.a;e.loadSource(a),e.attachMedia(L.current)}}),[a]),Object(s.useEffect)((function(){L.current.playbackRate=R}),[R]);return c.a.createElement("div",{style:{position:"relative"},ref:I},c.a.createElement("div",{ref:D,className:"".concat(v.a.watermark," animated_alternate animate__animated_10s animate__infinite animate__stepstart ").concat(v.a.animate__loop)},Y?Y.login:" "),c.a.createElement("div",{className:v.a.container},c.a.createElement("div",{className:v.a["video-container"],id:"video-container"},c.a.createElement("div",{className:v.a["playback-animation"],id:"playback-animation"},c.a.createElement("svg",{className:v.a["playback-icons"]},c.a.createElement("use",{className:"hidden",href:"#play-icon"}),c.a.createElement("use",{href:"#pause"}))),c.a.createElement("video",{className:v.a.video,id:"video",preload:"auto",disablePictureInPicture:!0,ref:L,autoPlay:!1}),c.a.createElement("div",{className:"".concat(v.a["video-controls"]," "),id:"video-controls"},c.a.createElement("div",{className:v.a["bottom-controls"]},c.a.createElement("div",{className:v.a["left-controls"]},c.a.createElement("button",{"data-title":"播放/暂停",id:"play",onClick:function(){L.current.paused||L.current.ended?L.current.play():L.current.pause(),se()}},c.a.createElement("svg",{className:v.a["playback-icons"]},c.a.createElement("use",{ref:N,href:"#play-icon"}),c.a.createElement("use",{ref:M,style:{display:"none"},href:"#pause"}))),c.a.createElement("div",{className:v.a.time},c.a.createElement("time",{id:"time-elapsed",ref:U},"00:00"),c.a.createElement("span",null," / "),c.a.createElement("time",{id:"duration",ref:K},"00:00"))),c.a.createElement("div",{className:v.a["right-controls"]},c.a.createElement("div",{className:v.a["volume-controls"]},c.a.createElement("button",{"data-title":"开启/关闭声音",className:v.a["volume-button"],id:"volume-button",onClick:function(){L.current.muted=!L.current.muted,L.current.muted?(G.current.setAttribute("data-volume",volume.value),G.current.value=0):G.current.value=G.current.dataset.volume}},c.a.createElement("svg",null,c.a.createElement("use",{ref:V,href:"#volume-mute"}),c.a.createElement("use",{ref:H,href:"#volume-low"}),c.a.createElement("use",{ref:z,href:"#volume-high"}))),c.a.createElement("input",{className:v.a.volume,id:"volume",value:"1","data-mute":"0.5",type:"range",max:"1",min:"0",step:"0.01",ref:G,style:{display:"none"},onClick:ce})),c.a.createElement("button",{"data-title":"全屏/退出全屏",className:v.a["fullscreen-button"],onClick:function(){Object(f.a)()?Object(f.b)():Object(f.d)(I.current)}},c.a.createElement("svg",null,c.a.createElement("use",{href:"#fullscreen"}),c.a.createElement("use",{href:"#fullscreen-exit",className:"hidden"}))))),c.a.createElement("div",{className:v.a["video-progress"]},c.a.createElement("progress",{ref:B,value:"0",min:"0"}),c.a.createElement("input",{className:v.a.seek,ref:P,value:"0",min:"0",type:"range",step:"1"}),c.a.createElement("div",{className:v.a["seek-tooltip"],ref:F,id:"seek-tooltip"},"00:00"))))),c.a.createElement("svg",{style:{display:"none"}},c.a.createElement("defs",null,c.a.createElement("symbol",{id:"pause",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M14.016 5.016h3.984v13.969h-3.984v-13.969zM6 18.984v-13.969h3.984v13.969h-3.984z"})),c.a.createElement("symbol",{id:"play-icon",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M8.016 5.016l10.969 6.984-10.969 6.984v-13.969z"})),c.a.createElement("symbol",{id:"volume-high",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M14.016 3.234q3.047 0.656 5.016 3.117t1.969 5.648-1.969 5.648-5.016 3.117v-2.063q2.203-0.656 3.586-2.484t1.383-4.219-1.383-4.219-3.586-2.484v-2.063zM16.5 12q0 2.813-2.484 4.031v-8.063q1.031 0.516 1.758 1.688t0.727 2.344zM3 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6z"})),c.a.createElement("symbol",{id:"volume-low",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M5.016 9h3.984l5.016-5.016v16.031l-5.016-5.016h-3.984v-6zM18.516 12q0 2.766-2.531 4.031v-8.063q1.031 0.516 1.781 1.711t0.75 2.32z"})),c.a.createElement("symbol",{id:"volume-mute",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M12 3.984v4.219l-2.109-2.109zM4.266 3l16.734 16.734-1.266 1.266-2.063-2.063q-1.547 1.313-3.656 1.828v-2.063q1.172-0.328 2.25-1.172l-4.266-4.266v6.75l-5.016-5.016h-3.984v-6h4.734l-4.734-4.734zM18.984 12q0-2.391-1.383-4.219t-3.586-2.484v-2.063q3.047 0.656 5.016 3.117t1.969 5.648q0 2.203-1.031 4.172l-1.5-1.547q0.516-1.266 0.516-2.625zM16.5 12q0 0.422-0.047 0.609l-2.438-2.438v-2.203q1.031 0.516 1.758 1.688t0.727 2.344z"})),c.a.createElement("symbol",{id:"fullscreen",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M14.016 5.016h4.969v4.969h-1.969v-3h-3v-1.969zM17.016 17.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 9.984v-4.969h4.969v1.969h-3v3h-1.969zM6.984 14.016v3h3v1.969h-4.969v-4.969h1.969z"})),c.a.createElement("symbol",{id:"fullscreen-exit",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M15.984 8.016h3v1.969h-4.969v-4.969h1.969v3zM14.016 18.984v-4.969h4.969v1.969h-3v3h-1.969zM8.016 8.016v-3h1.969v4.969h-4.969v-1.969h3zM5.016 15.984v-1.969h4.969v4.969h-1.969v-3h-3z"})),c.a.createElement("symbol",{id:"pip",viewBox:"0 0 24 24"},c.a.createElement("path",{d:"M21 19.031v-14.063h-18v14.063h18zM23.016 18.984q0 0.797-0.609 1.406t-1.406 0.609h-18q-0.797 0-1.406-0.609t-0.609-1.406v-14.016q0-0.797 0.609-1.383t1.406-0.586h18q0.797 0 1.406 0.586t0.609 1.383v14.016zM18.984 11.016v6h-7.969v-6h7.969z"})))))}))},k3GJ: /*!*******************************************************!*\ !*** ./node_modules/rc-tabs/es/index.js + 50 modules ***! \*******************************************************/ diff --git a/umi.c3f60f9a.js b/umi.c41b9b97.js similarity index 98% rename from umi.c3f60f9a.js rename to umi.c41b9b97.js index f40b984b20..8daf4ce49b 100644 --- a/umi.c3f60f9a.js +++ b/umi.c41b9b97.js @@ -1,4 +1,4 @@ -!function(e){function t(t){for(var r,a,c=t[0],u=t[1],s=t[2],l=0,f=[];l1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return{};var n=t.element,r=void 0===n?document.body:n,a={},o=Object.keys(e);return o.forEach((function(e){a[e]=r.style[e]})),o.forEach((function(t){r.style[t]=e[t]})),a};var h={},m=function(e){if(document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth||e){var t=new RegExp("".concat("ant-scrolling-effect"),"g"),n=document.body.className;if(e){if(!t.test(n))return;return d(h),h={},void(document.body.className=n.replace(t,"").trim())}var r=Object(f.a)();if(r&&(h=d({position:"relative",width:"calc(100% - ".concat(r,"px)")}),!t.test(n))){var a="".concat(n," ").concat("ant-scrolling-effect");document.body.className=a.trim()}}},b=n("KQm4"),y=[],v=new RegExp("".concat("ant-scrolling-effect"),"g"),g=0,_=new Map,x=function e(t){var n=this;Object(r.a)(this,e),this.lockTarget=void 0,this.options=void 0,this.getContainer=function(){var e;return null===(e=n.options)||void 0===e?void 0:e.container},this.reLock=function(e){var t=y.find((function(e){return e.target===n.lockTarget}));t&&n.unLock(),n.options=e,t&&(t.options=e,n.lock())},this.lock=function(){var e;if(!y.some((function(e){return e.target===n.lockTarget})))if(y.some((function(e){var t,r=e.options;return(null==r?void 0:r.container)===(null===(t=n.options)||void 0===t?void 0:t.container)})))y=[].concat(Object(b.a)(y),[{target:n.lockTarget,options:n.options}]);else{var t=0,r=(null===(e=n.options)||void 0===e?void 0:e.container)||document.body;(r===document.body&&window.innerWidth-document.documentElement.clientWidth>0||r.scrollHeight>r.clientHeight)&&(t=Object(f.a)());var a=r.className;if(0===y.filter((function(e){var t,r=e.options;return(null==r?void 0:r.container)===(null===(t=n.options)||void 0===t?void 0:t.container)})).length&&_.set(r,d({width:0!==t?"calc(100% - ".concat(t,"px)"):void 0,overflow:"hidden",overflowX:"hidden",overflowY:"hidden"},{element:r})),!v.test(a)){var o="".concat(a," ").concat("ant-scrolling-effect");r.className=o.trim()}y=[].concat(Object(b.a)(y),[{target:n.lockTarget,options:n.options}])}},this.unLock=function(){var e,t=y.find((function(e){return e.target===n.lockTarget}));if(y=y.filter((function(e){return e.target!==n.lockTarget})),t&&!y.some((function(e){var n,r=e.options;return(null==r?void 0:r.container)===(null===(n=t.options)||void 0===n?void 0:n.container)}))){var r=(null===(e=n.options)||void 0===e?void 0:e.container)||document.body,a=r.className;v.test(a)&&(d(_.get(r),{element:r}),_.delete(r),r.className=r.className.replace(v,"").trim())}},this.lockTarget=g++,this.options=t},w=0,j=Object(p.a)();var O={},k=function(e){if(!j)return null;if(e){if("string"==typeof e)return document.querySelectorAll(e)[0];if("function"==typeof e)return e();if("object"===Object(c.a)(e)&&e instanceof window.HTMLElement)return e}return document.body},E=function(e){Object(o.a)(n,e);var t=Object(i.a)(n);function n(e){var a;return Object(r.a)(this,n),(a=t.call(this,e)).container=void 0,a.componentRef=u.createRef(),a.rafId=void 0,a.scrollLocker=void 0,a.renderComponent=void 0,a.updateScrollLocker=function(e){var t=(e||{}).visible,n=a.props,r=n.getContainer,o=n.visible;o&&o!==t&&j&&k(r)!==a.scrollLocker.getContainer()&&a.scrollLocker.reLock({container:k(r)})},a.updateOpenCount=function(e){var t=e||{},n=t.visible,r=t.getContainer,o=a.props,i=o.visible,c=o.getContainer;i!==n&&j&&k(c)===document.body&&(i&&!n?w+=1:e&&(w-=1)),("function"==typeof c&&"function"==typeof r?c.toString()!==r.toString():c!==r)&&a.removeCurrentContainer()},a.attachToParent=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e||a.container&&!a.container.parentNode){var t=k(a.props.getContainer);return!!t&&(t.appendChild(a.container),!0)}return!0},a.getContainer=function(){return j?(a.container||(a.container=document.createElement("div"),a.attachToParent(!0)),a.setWrapperClassName(),a.container):null},a.setWrapperClassName=function(){var e=a.props.wrapperClassName;a.container&&e&&e!==a.container.className&&(a.container.className=e)},a.removeCurrentContainer=function(){var e,t;null===(e=a.container)||void 0===e||null===(t=e.parentNode)||void 0===t||t.removeChild(a.container)},a.switchScrollingEffect=function(){1!==w||Object.keys(O).length?w||(d(O),O={},m(!0)):(m(),O=d({overflow:"hidden",overflowX:"hidden",overflowY:"hidden"}))},a.scrollLocker=new x({container:k(e.getContainer)}),a}return Object(a.a)(n,[{key:"componentDidMount",value:function(){var e=this;this.updateOpenCount(),this.attachToParent()||(this.rafId=Object(s.a)((function(){e.forceUpdate()})))}},{key:"componentDidUpdate",value:function(e){this.updateOpenCount(e),this.updateScrollLocker(e),this.setWrapperClassName(),this.attachToParent()}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.visible,n=e.getContainer;j&&k(n)===document.body&&(w=t&&w?w-1:w),this.removeCurrentContainer(),s.a.cancel(this.rafId)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.forceRender,r=e.visible,a=null,o={getOpenCount:function(){return w},getContainer:this.getContainer,switchScrollingEffect:this.switchScrollingEffect,scrollLocker:this.scrollLocker};return(n||r||this.componentRef.current)&&(a=u.createElement(l.a,{getContainer:this.getContainer,ref:this.componentRef},t(o))),a}}]),n}(u.Component);t.a=E},"1WJl": /*!********************************************************************************!*\ !*** ./node_modules/@umijs/plugin-model/node_modules/fast-deep-equal/index.js ***! @@ -280,10 +280,10 @@ \***********************************************************/ /*! exports provided: default */ /*! exports used: default */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/.umi-production/plugin-dva/dva.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js because of ./src/pages/Three/Model/AddModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/pages/HttpStatus/403.tsx */ /*! 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/utils/fetch.ts because of ./src/pages/Account/Results/index.tsx */function(e,t,n){"use strict";var r=n("k1fw"),a=n("WmNS"),o=n.n(a),i=n("9og8"),c=n("ErOA");function u(e){return s.apply(this,arguments)}function s(){return(s=Object(i.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/new.json",{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e){return p.apply(this,arguments)}function p(){return(p=Object(i.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/required_status.json"),{method:"Get",params:{}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var f={namespace:"practiceSetting",state:{data:{},is_published:!0,updateIndex:1,id:"",questionName:"",base_info_warning:!1,challenges_warning:!1,repository_warning:!1,mirror_warning:!1,service_warning:!1,selectQuestionParams:{},newQuestion:null,user_name:"",user_image_url:"",title:"",windows_vnc:!0,isExistComplete:!1,sideBar:{tabsActive:"",selectPath:"",confirmLeave:!1}},effects:{setParams:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:Object(r.a)({},a)});case 4:case"end":return e.stop()}}),e)})),getTestData:o.a.mark((function e(t,n){var r,a,i,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,i=n.put,e.next=4,a(u,r);case 4:return c=e.sent,e.next=7,i({type:"save",payload:{data:c}});case 7:case"end":return e.stop()}}),e)})),setUpdateIndex:o.a.mark((function e(t,n){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.payload,n.call,r=n.put,e.next=4,r({type:"save",payload:{updateIndex:Math.random()}});case 4:case"end":return e.stop()}}),e)})),getCommonData:o.a.mark((function e(t,n){var a,i,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,i=n.call,c=n.put,e.next=4,i(l,a);case 4:return u=e.sent,e.next=7,c({type:"save",payload:Object(r.a)({},u.data)});case 7:case"end":return e.stop()}}),e)})),setSideBarTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"sideBar",payload:Object(r.a)({},a)});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)},sideBar:function(e,t){return Object(r.a)(Object(r.a)({},e),{},{sideBar:Object(r.a)(Object(r.a)({},e.sideBar),t.payload)})}},subscriptions:{setup:function(e){e.dispatch,e.history}}};t.a=f},"1jPx": +/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/fetch.ts because of ./src/pages/HttpStatus/HpcCourse.tsx */function(e,t,n){"use strict";var r=n("k1fw"),a=n("WmNS"),o=n.n(a),i=n("9og8"),c=n("ErOA");function u(e){return s.apply(this,arguments)}function s(){return(s=Object(i.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/new.json",{method:"Get",params:t}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(e){return p.apply(this,arguments)}function p(){return(p=Object(i.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/shixuns/".concat(t.id,"/required_status.json"),{method:"Get",params:{}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var f={namespace:"practiceSetting",state:{data:{},is_published:!0,updateIndex:1,id:"",questionName:"",base_info_warning:!1,challenges_warning:!1,repository_warning:!1,mirror_warning:!1,service_warning:!1,selectQuestionParams:{},newQuestion:null,user_name:"",user_image_url:"",title:"",windows_vnc:!0,isExistComplete:!1,sideBar:{tabsActive:"",selectPath:"",confirmLeave:!1}},effects:{setParams:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:Object(r.a)({},a)});case 4:case"end":return e.stop()}}),e)})),getTestData:o.a.mark((function e(t,n){var r,a,i,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,i=n.put,e.next=4,a(u,r);case 4:return c=e.sent,e.next=7,i({type:"save",payload:{data:c}});case 7:case"end":return e.stop()}}),e)})),setUpdateIndex:o.a.mark((function e(t,n){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.payload,n.call,r=n.put,e.next=4,r({type:"save",payload:{updateIndex:Math.random()}});case 4:case"end":return e.stop()}}),e)})),getCommonData:o.a.mark((function e(t,n){var a,i,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,i=n.call,c=n.put,e.next=4,i(l,a);case 4:return u=e.sent,e.next=7,c({type:"save",payload:Object(r.a)({},u.data)});case 7:case"end":return e.stop()}}),e)})),setSideBarTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"sideBar",payload:Object(r.a)({},a)});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)},sideBar:function(e,t){return Object(r.a)(Object(r.a)({},e),{},{sideBar:Object(r.a)(Object(r.a)({},e.sideBar),t.payload)})}},subscriptions:{setup:function(e){e.dispatch,e.history}}};t.a=f},"1jPx": /*!*************************************************************************************************************!*\ !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.from.js ***! \*************************************************************************************************************/ @@ -305,17 +305,17 @@ \****************************************/ /*! exports provided: ZimuSort, JudgeSort, RomanNumber, StatusTags, formatHomeWorkStatusToName, HomeWorkListStatus, HomeWorkDetailStatus, StatusGraduationProjectTags, ExerciseStatus, PollsStatus, StatusClassroomsTags, exerciseTips, WorkStatus, CommonWorkStatus, timego, timeformat, toTimeFormat, validateLength, handleValidatorNickName, handleValidatorName, getHiddenName, getBase64, setmiyah, getCookie, setCookie, delCookie, downLoadLink, getBlob, saveAs, download, downLoadFileIframe, downLoadFile, setUrlQuery, isPc, isChrome, isChromeOrFirefox, formatMoney, openNewWindow, openNewWindows, formatTextMiddleIntercept, HalfPastOne, DayHalfPastOne, isEmpty, rangeNumber, middleEllipsis, formatRate, isUnOrNull, getUrlToken, getMessagesUrl, checkLocalOrPublicIp, isKepuKehuan, startExercise, educationList, parseUrl, messageInfo, base64ToBlob, downloadFile, trackEvent, trackEventCustom, onPreviewImage, getCategoryName, bindPhone, copyTextFuc, getJsonFromUrl, arrTrans, setDocumentTitle, checkIsClientExam, localSort, ImgSrcConvert, compareVersion, isLocalApp, randomArray */ /*! exports used: CommonWorkStatus, DayHalfPastOne, ExerciseStatus, HalfPastOne, HomeWorkDetailStatus, HomeWorkListStatus, ImgSrcConvert, JudgeSort, PollsStatus, RomanNumber, StatusClassroomsTags, StatusGraduationProjectTags, ZimuSort, arrTrans, bindPhone, checkIsClientExam, checkLocalOrPublicIp, compareVersion, copyTextFuc, downLoadFile, downLoadFileIframe, downLoadLink, download, downloadFile, educationList, exerciseTips, formatHomeWorkStatusToName, formatRate, getBase64, getCategoryName, getCookie, getHiddenName, getJsonFromUrl, getMessagesUrl, handleValidatorName, handleValidatorNickName, isKepuKehuan, isLocalApp, isPc, isUnOrNull, localSort, onPreviewImage, openNewWindow, parseUrl, randomArray, rangeNumber, setCookie, setDocumentTitle, setUrlQuery, setmiyah, startExercise, toTimeFormat, trackEvent, validateLength */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/defineProperty.js because of ./src/.umi-production/plugin-dva/dva.ts */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/.umi-production/plugin-dva/dva.ts */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js because of ./src/.umi-production/plugin-dva/dva.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js because of ./src/pages/Three/Model/AddModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/defineProperty.js because of ./src/pages/HttpStatus/403.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/pages/HttpStatus/403.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js because of ./src/pages/tasks/index.jsx */ /*! 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/Exercise/ip.tsx because of ./src/pages/Classrooms/Lists/Exercise/Answer/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./src/components/mediator.js because of ./src/pages/MyProblem/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/components/mediator.js because of ./src/pages/Editor/index.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./src/service/exercise.ts because of ./src/.umi-production/plugin-dva/connect.ts */ -/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/authority.ts because of ./src/.umi-production/plugin-dva/dva.ts */ -/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/env.ts because of ./src/pages/Account/Binding/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/fullscreen.ts because of ./src/pages/tasks/vnc-view/vnc-panel/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/authority.ts because of ./src/pages/virtualSpaces/Lists/Shixuns/index.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/env.ts because of ./src/pages/HttpStatus/HpcCourse.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/fullscreen.ts because of ./src/pages/Demo/index.tsx */ /*! 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/col/index.js */ @@ -592,11 +592,11 @@ \*************************************************/ /*! exports provided: default */ /*! exports used: default */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/.umi-production/plugin-dva/dva.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js because of ./src/pages/Three/Model/AddModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/pages/HttpStatus/403.tsx */ /*! 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/utils/env.ts because of ./src/pages/Account/Binding/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/fetch.ts because of ./src/pages/Account/Results/index.tsx */function(e,t,n){"use strict";var r=n("k1fw"),a=n("WmNS"),o=n.n(a),i=n("9og8"),c=n("ErOA");function u(){return s.apply(this,arguments)}function s(){return(s=Object(i.a)(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/setting.json",{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(){return p.apply(this,arguments)}function p(){return(p=Object(i.a)(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/system_update.json",{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var f=n("m3rI"),d={namespace:"globalSetting",state:{name:"全局配置",loading:!0,isIlearning:window.location.host.indexOf("learning.")>-1,isPaZhou:window.location.host.indexOf("local-pazhou.")>-1,showFooter:!0,showHeader:!0,showHeaderFooter:!0,showHeaderFixed:!1,onlyShowBackTop:!0,onlyShowBackTopIcons:!0,operateModel:!1,operateModelPath:"",showQuestionBackTop:!1,theme:"default",globalLoading:{show:!1,text:""},updateData:{end_time:"",start_time:"",subject:"",system_score:"",system_update:!1}},effects:{query:o.a.mark((function e(t,n){var a,i,c,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,i=n.call,c=n.put,e.next=4,i(u,a);case 4:return s=e.sent,h(s),e.next=8,c({type:"save",payload:Object(r.a)({},s)});case 8:case"end":return e.stop()}}),e)})),getSystemUpdate:o.a.mark((function e(t,n){var a,i,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,i=n.call,c=n.put,e.next=4,i(l,a);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{updateData:Object(r.a)({},u)}});case 7:case"end":return e.stop()}}),e)})),setTheme:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,i=n.put,e.next=4,a(l,r);case 4:return e.sent,e.next=7,i({type:"save",payload:{theme:r||"default"}});case 7:case"end":return e.stop()}}),e)})),setGlobalLoading:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{globalLoading:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)})),headerToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{showHeader:r}});case 4:case"end":return e.stop()}}),e)})),footerToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{showFooter:r}});case 4:case"end":return e.stop()}}),e)})),headerFooterToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{showHeaderFooter:r}});case 4:case"end":return e.stop()}}),e)})),headerFixedToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{showHeaderFixed:r}});case 4:case"end":return e.stop()}}),e)})),onlyShowBackTopToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{onlyShowBackTop:r}});case 4:case"end":return e.stop()}}),e)})),onlyShowBackTopIconToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{onlyShowBackTopIcons:r}});case 4:case"end":return e.stop()}}),e)})),setOperateModel:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{operateModel:r}});case 4:case"end":return e.stop()}}),e)})),setOperateModelPath:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{operateModelPath:r}});case 4:case"end":return e.stop()}}),e)})),setShowQuestionBackTop:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{showQuestionBackTop:r}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){e.dispatch;return e.history.listen((function(e){e.pathname}))}}},h=(t.a=d,function(){var e,t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};null===(e=r.setting)||void 0===e||e.tab_logo_url;var a=document.createElement("link"),o=document.getElementById("dynamic-favicon");a.id="dynamic-favicon",a.rel="shortcut icon",a.href=null!==(t=r.setting)&&void 0!==t&&t.tab_logo_url?"".concat(f.a.IMG_SERVER,"/").concat(null===(n=r.setting)||void 0===n?void 0:n.tab_logo_url):"".concat(f.a.IMG_SERVER,"/react/build/./favicon.ico"),o&&document.head.removeChild(o),document.head.appendChild(a)})},"7W2i": +/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/env.ts because of ./src/pages/HttpStatus/HpcCourse.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/fetch.ts because of ./src/pages/HttpStatus/HpcCourse.tsx */function(e,t,n){"use strict";var r=n("k1fw"),a=n("WmNS"),o=n.n(a),i=n("9og8"),c=n("ErOA");function u(){return s.apply(this,arguments)}function s(){return(s=Object(i.a)(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/setting.json",{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(){return p.apply(this,arguments)}function p(){return(p=Object(i.a)(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(c.a)("/api/users/system_update.json",{method:"Get"}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var f=n("m3rI"),d={namespace:"globalSetting",state:{name:"全局配置",loading:!0,isIlearning:window.location.host.indexOf("learning.")>-1,isPaZhou:window.location.host.indexOf("local-pazhou.")>-1,showFooter:!0,showHeader:!0,showHeaderFooter:!0,showHeaderFixed:!1,onlyShowBackTop:!0,onlyShowBackTopIcons:!0,operateModel:!1,operateModelPath:"",showQuestionBackTop:!1,theme:"default",globalLoading:{show:!1,text:""},updateData:{end_time:"",start_time:"",subject:"",system_score:"",system_update:!1}},effects:{query:o.a.mark((function e(t,n){var a,i,c,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,i=n.call,c=n.put,e.next=4,i(u,a);case 4:return s=e.sent,h(s),e.next=8,c({type:"save",payload:Object(r.a)({},s)});case 8:case"end":return e.stop()}}),e)})),getSystemUpdate:o.a.mark((function e(t,n){var a,i,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,i=n.call,c=n.put,e.next=4,i(l,a);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{updateData:Object(r.a)({},u)}});case 7:case"end":return e.stop()}}),e)})),setTheme:o.a.mark((function e(t,n){var r,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,i=n.put,e.next=4,a(l,r);case 4:return e.sent,e.next=7,i({type:"save",payload:{theme:r||"default"}});case 7:case"end":return e.stop()}}),e)})),setGlobalLoading:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{globalLoading:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)})),headerToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{showHeader:r}});case 4:case"end":return e.stop()}}),e)})),footerToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{showFooter:r}});case 4:case"end":return e.stop()}}),e)})),headerFooterToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{showHeaderFooter:r}});case 4:case"end":return e.stop()}}),e)})),headerFixedToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{showHeaderFixed:r}});case 4:case"end":return e.stop()}}),e)})),onlyShowBackTopToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{onlyShowBackTop:r}});case 4:case"end":return e.stop()}}),e)})),onlyShowBackTopIconToggle:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{onlyShowBackTopIcons:r}});case 4:case"end":return e.stop()}}),e)})),setOperateModel:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{operateModel:r}});case 4:case"end":return e.stop()}}),e)})),setOperateModelPath:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{operateModelPath:r}});case 4:case"end":return e.stop()}}),e)})),setShowQuestionBackTop:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,n.call,a=n.put,e.next=4,a({type:"save",payload:{showQuestionBackTop:r}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){e.dispatch;return e.history.listen((function(e){e.pathname}))}}},h=(t.a=d,function(){var e,t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};null===(e=r.setting)||void 0===e||e.tab_logo_url;var a=document.createElement("link"),o=document.getElementById("dynamic-favicon");a.id="dynamic-favicon",a.rel="shortcut icon",a.href=null!==(t=r.setting)&&void 0!==t&&t.tab_logo_url?"".concat(f.a.IMG_SERVER,"/").concat(null===(n=r.setting)||void 0===n?void 0:n.tab_logo_url):"".concat(f.a.IMG_SERVER,"/react/build/./favicon.ico"),o&&document.head.removeChild(o),document.head.appendChild(a)})},"7W2i": /*!*********************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/inherits.js ***! \*********************************************************/ @@ -648,21 +648,21 @@ /*! exports provided: Field, List, useForm, FormProvider, default */ /*! all exports used */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js because of ./node_modules/rc-tabs/node_modules/rc-trigger/es/Popup/useVisibleStatus.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js because of ./node_modules/rc-notification/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createClass.js because of ./node_modules/rc-notification/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createSuper.js because of ./node_modules/rc-select/es/Select.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/defineProperty.js because of ./node_modules/rc-notification/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/inherits.js because of ./node_modules/rc-notification/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./node_modules/@ant-design/icons/es/components/AntdIcon.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js because of ./node_modules/rc-notification/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js because of ./node_modules/antd/es/message/hooks/useMessage.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/toArray.js because of ./node_modules/rc-select/es/utils/valueUtil.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js because of ./node_modules/antd/es/message/hooks/useMessage.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/typeof.js because of ./node_modules/rc-notification/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js because of ./node_modules/rc-menu/es/MenuItemGroup.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createClass.js because of ./node_modules/rc-menu/es/MenuItemGroup.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createSuper.js because of ./node_modules/rc-menu/es/Menu.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/defineProperty.js because of ./node_modules/@ant-design/icons/es/utils.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/inherits.js because of ./node_modules/rc-menu/es/MenuItemGroup.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./node_modules/@ant-design/icons/es/utils.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js because of ./node_modules/rc-tree/es/util.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js because of ./node_modules/rc-util/es/hooks/useMergedState.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/toArray.js because of ./node_modules/dva-core/dist/index.esm.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js because of ./node_modules/rc-tree/es/utils/treeUtil.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/typeof.js because of ./node_modules/@ant-design/icons/es/utils.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/regenerator/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/async-validator/dist-web/index.js (<- Module uses injected variables (process)) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-field-form/es/FieldContext.js because of ./node_modules/antd/es/form/FormItem.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Children/toArray.js because of ./node_modules/rc-select/es/utils/legacyUtil.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Children/toArray.js because of ./node_modules/antd/es/menu/MenuItem.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/warning.js because of ./node_modules/antd/es/_util/devWarning.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.d(t,"Field",(function(){return G})),n.d(t,"List",(function(){return Q})),n.d(t,"useForm",(function(){return J})),n.d(t,"FormProvider",(function(){return $}));var r=n("q1tI"),a=n("Ff2n"),o=n("rePB"),i=n("VTBJ"),c=n("KQm4"),u=n("1OyB"),s=n("vuIU"),l=n("Ji7U"),p=n("LK+K"),f=n("Zm9Q"),d=n("Kwbf"),h=n("KW7l");function m(e){return null==e?[]:Array.isArray(e)?e:[e]}var b=n("o0o1"),y=n.n(b),v=n("HaE+"),g=n("U8pU"),_=n("KpVd");function x(e,t){for(var n=e,r=0;r3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!x(e,t.slice(0,-1))?e:j(e,t,n,r)}(e,t,n)}function S(e,t){var n={};return t.forEach((function(t){var r=k(e,t);n=E(n,t,r)})),n}function P(e,t){return e&&e.some((function(e){return I(e,t)}))}function C(e){return"object"===Object(g.a)(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype}function T(e,t){var n=Array.isArray(e)?Object(c.a)(e):Object(i.a)({},e);return t?(Object.keys(t).forEach((function(e){var r=n[e],a=t[e],o=C(r)&&C(a);n[e]=o?T(r,a||{}):a})),n):n}function A(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=r||n<0||n>=r)return e;var a=e[t],o=t-n;return o>0?[].concat(Object(c.a)(e.slice(0,n)),[a],Object(c.a)(e.slice(n,t)),Object(c.a)(e.slice(t+1,r))):o<0?[].concat(Object(c.a)(e.slice(0,t)),Object(c.a)(e.slice(t+1,n+1)),[a],Object(c.a)(e.slice(n+1,r))):e}var D="'${name}' is not a valid ${type}",R={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:D,method:D,array:D,object:D,number:D,date:D,boolean:D,integer:D,float:D,regexp:D,email:D,url:D,hex:D},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},N=_.a;function F(e,t,n,r){var a=Object(i.a)(Object(i.a)({},n),{},{name:t,enum:(n.enum||[]).join(", ")}),o=function(e,t){return function(){return function(e,t){return e.replace(/\$\{\w+\}/g,(function(e){var n=e.slice(2,-1);return t[n]}))}(e,Object(i.a)(Object(i.a)({},a),t))}};return function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).forEach((function(a){var i=t[a];"string"==typeof i?n[a]=o(i,r):i&&"object"===Object(g.a)(i)?(n[a]={},e(i,n[a])):n[a]=i})),n}(A({},R,e))}function U(e,t,n,r,a){return z.apply(this,arguments)}function z(){return(z=Object(v.a)(y.a.mark((function e(t,n,a,u,s){var l,p,f,d,h,m;return y.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=Object(i.a)({},a),p=null,l&&"array"===l.type&&l.defaultField&&(p=l.defaultField,delete l.defaultField),f=new N(Object(o.a)({},t,[l])),d=F(u.validateMessages,t,l,s),f.messages(d),h=[],e.prev=7,e.next=10,Promise.resolve(f.validate(Object(o.a)({},t,n),Object(i.a)({},u)));case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(7),e.t0.errors?h=e.t0.errors.map((function(e,t){var n=e.message;return r.isValidElement(n)?r.cloneElement(n,{key:"error_".concat(t)}):n})):(console.error(e.t0),h=[d.default()]);case 15:if(h.length||!p){e.next=20;break}return e.next=18,Promise.all(n.map((function(e,n){return U("".concat(t,".").concat(n),e,p,u,s)})));case 18:return m=e.sent,e.abrupt("return",m.reduce((function(e,t){return[].concat(Object(c.a)(e),Object(c.a)(t))}),[]));case 20:return e.abrupt("return",h);case 21:case"end":return e.stop()}}),e,null,[[7,12]])})))).apply(this,arguments)}function V(e,t,n,r,a,o){var c,u=e.join("."),s=n.map((function(e){var t=e.validator;return t?Object(i.a)(Object(i.a)({},e),{},{validator:function(e,n,r){var a=!1,o=t(e,n,(function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:[];e.validatePromise===s&&(e.validatePromise=null,e.errors=t,e.reRender())})),s},e.isFieldValidating=function(){return!!e.validatePromise},e.isFieldTouched=function(){return e.touched},e.isFieldDirty=function(){return e.dirty},e.getErrors=function(){return e.errors},e.getMeta=function(){return e.prevValidating=e.isFieldValidating(),{touched:e.isFieldTouched(),validating:e.prevValidating,errors:e.errors,name:e.getNamePath()}},e.getOnlyChild=function(t){if("function"==typeof t){var n=e.getMeta();return Object(i.a)(Object(i.a)({},e.getOnlyChild(t(e.getControlled(),n,e.context))),{},{isFunction:!0})}var a=Object(f.a)(t);return 1===a.length&&r.isValidElement(a[0])?{child:a[0],isFunction:!1}:{child:a,isFunction:!1}},e.getValue=function(t){var n=e.context.getFieldsValue,r=e.getNamePath();return k(t||n(!0),r)},e.getControlled=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.props,r=n.trigger,a=n.validateTrigger,c=n.getValueFromEvent,u=n.normalize,s=n.valuePropName,l=n.getValueProps,p=void 0!==a?a:e.context.validateTrigger,f=e.getNamePath(),d=e.context,b=d.getInternalHooks,y=d.getFieldsValue,v=b(h.a),g=v.dispatch,_=e.getValue(),x=l||function(e){return Object(o.a)({},s,e)},w=t[r],j=Object(i.a)(Object(i.a)({},t),x(_));j[r]=function(){var t;e.touched=!0,e.dirty=!0;for(var n=arguments.length,r=new Array(n),a=0;a=0&&t<=n.length?(o.keys=[].concat(Object(c.a)(o.keys.slice(0,t)),[o.id],Object(c.a)(o.keys.slice(t))),i([].concat(Object(c.a)(n.slice(0,t)),[e],Object(c.a)(n.slice(t))))):(o.keys=[].concat(Object(c.a)(o.keys),[o.id]),i([].concat(Object(c.a)(n),[e]))),o.id+=1},remove:function(e){var t=l(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(o.keys=o.keys.filter((function(e,t){return!n.has(t)})),i(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=l();e<0||e>=n.length||t<0||t>=n.length||(o.keys=L(o.keys,e,t),i(L(n,e,t)))}}},f=r||[];return Array.isArray(f)||(f=[]),n(f.map((function(e,t){var n=o.keys[t];return void 0===n&&(o.keys[t]=o.id,n=o.keys[t],o.id+=1),{name:t,key:n,isListField:!0}})),p)})))},Y=n("ODXe");var K=function(){function e(){Object(u.a)(this,e),this.list=[]}return Object(s.a)(e,[{key:"set",value:function(e,t){var n=this.list.findIndex((function(t){return I(t.key,e)}));-1!==n?this.list[n].value=t:this.list.push({key:e,value:t})}},{key:"get",value:function(e){var t=this.list.find((function(t){return I(t.key,e)}));return t&&t.value}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.list=this.list.filter((function(t){return!I(t.key,e)}))}},{key:"map",value:function(e){return this.list.map(e)}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null})),e}}]),e}(),X=function e(t){var n=this;Object(u.a)(this,e),this.formHooked=!1,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,getInternalHooks:n.getInternalHooks}},this.getInternalHooks=function(e){return e===h.a?(n.formHooked=!0,{dispatch:n.dispatch,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve}):(Object(d.a)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(e){n.subscribable=e},this.setInitialValues=function(e,t){n.initialValues=e||{},t&&(n.store=A({},e,n.store))},this.getInitialValue=function(e){return k(n.initialValues,e)},this.setCallbacks=function(e){n.callbacks=e},this.setValidateMessages=function(e){n.validateMessages=e},this.setPreserve=function(e){n.preserve=e},this.timeoutId=null,this.warningUnhooked=function(){0},this.getFieldEntities=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities},this.getFieldsMap=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new K;return n.getFieldEntities(e).forEach((function(e){var n=e.getNamePath();t.set(n,e)})),t},this.getFieldEntitiesForNamePathList=function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=O(e);return t.get(n)||{INVALIDATE_NAME_PATH:O(e)}}))},this.getFieldsValue=function(e,t){if(n.warningUnhooked(),!0===e&&!t)return n.store;var r=n.getFieldEntitiesForNamePathList(Array.isArray(e)?e:null),a=[];return r.forEach((function(e){var n="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(t){var r="getMeta"in e?e.getMeta():null;t(r)&&a.push(n)}else a.push(n)})),S(n.store,a.map(O))},this.getFieldValue=function(e){n.warningUnhooked();var t=O(e);return k(n.store,t)},this.getFieldsError=function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors()}:{name:O(e[n]),errors:[]}}))},this.getFieldError=function(e){n.warningUnhooked();var t=O(e);return n.getFieldsError([t])[0].errors},this.isFieldsTouched=function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=new K,r=n.getFieldEntities(!0);r.forEach((function(e){var n=e.props.initialValue,r=e.getNamePath();if(void 0!==n){var a=t.get(r)||new Set;a.add({entity:e,value:n}),t.set(r,a)}}));var a,o=function(r){r.forEach((function(r){if(void 0!==r.props.initialValue){var a=r.getNamePath();if(void 0!==n.getInitialValue(a))Object(d.a)(!1,"Form already set 'initialValues' with path '".concat(a.join("."),"'. Field can not overwrite it."));else{var o=t.get(a);if(o&&o.size>1)Object(d.a)(!1,"Multiple Field with path '".concat(a.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(o){var i=n.getFieldValue(a);e.skipExist&&void 0!==i||(n.store=E(n.store,a,Object(c.a)(o)[0].value))}}}}))};e.entities?a=e.entities:e.namePathList?(a=[],e.namePathList.forEach((function(e){var n,r=t.get(e);r&&(n=a).push.apply(n,Object(c.a)(Object(c.a)(r).map((function(e){return e.entity}))))}))):a=r,o(a)},this.resetFields=function(e){n.warningUnhooked();var t=n.store;if(!e)return n.store=A({},n.initialValues),n.resetWithFieldInitialValue(),void n.notifyObservers(t,null,{type:"reset"});var r=e.map(O);r.forEach((function(e){var t=n.getInitialValue(e);n.store=E(n.store,e,t)})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"})},this.setFields=function(e){n.warningUnhooked();var t=n.store;e.forEach((function(e){var r=e.name,o=(e.errors,Object(a.a)(e,["name","errors"])),i=O(r);"value"in o&&(n.store=E(n.store,i,o.value)),n.notifyObservers(t,[i],{type:"setField",data:e})}))},this.getFields=function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=e.getMeta(),a=Object(i.a)(Object(i.a)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(a,"originRCField",{value:!0}),a}))},this.registerField=function(e){if(n.fieldEntities.push(e),void 0!==e.props.initialValue){var t=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(t,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(t,r){if(n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),!1===(void 0!==r?r:n.preserve)&&!t){var a=e.getNamePath();void 0!==n.getFieldValue(a)&&(n.store=E(n.store,a,void 0))}}},this.dispatch=function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var a=e.namePath,o=e.triggerName;n.validateFields([a],{triggerName:o})}},this.notifyObservers=function(e,t,r){if(n.subscribable){var a=Object(i.a)(Object(i.a)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,a)}))}else n.forceRootUpdate()},this.updateValue=function(e,t){var r=O(e),a=n.store;n.store=E(n.store,r,t),n.notifyObservers(a,[r],{type:"valueUpdate",source:"internal"});var o=n.getDependencyChildrenFields(r);n.validateFields(o),n.notifyObservers(a,o,{type:"dependenciesUpdate",relatedFields:[r].concat(Object(c.a)(o))});var i=n.callbacks.onValuesChange;i&&i(S(n.store,[r]),n.store);n.triggerOnFieldsChange([r].concat(Object(c.a)(o)))},this.setFieldsValue=function(e){n.warningUnhooked();var t=n.store;e&&(n.store=A(n.store,e)),n.notifyObservers(t,null,{type:"valueUpdate",source:"external"})},this.getDependencyChildrenFields=function(e){var t=new Set,r=[],a=new K;n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=O(t);a.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));return function e(n){(a.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var a=n.getNamePath();n.isFieldDirty()&&a.length&&(r.push(a),e(a))}}))}(e),r},this.triggerOnFieldsChange=function(e,t){var r=n.callbacks.onFieldsChange;if(r){var a=n.getFields();if(t){var o=new K;t.forEach((function(e){var t=e.name,n=e.errors;o.set(t,n)})),a.forEach((function(e){e.errors=o.get(e.name)||e.errors}))}r(a.filter((function(t){var n=t.name;return P(e,n)})),a)}},this.validateFields=function(e,t){n.warningUnhooked();var r=!!e,a=r?e.map(O):[],o=[];n.getFieldEntities(!0).forEach((function(e){if(r||a.push(e.getNamePath()),e.props.rules&&e.props.rules.length){var c=e.getNamePath();if(!r||P(a,c)){var u=e.validateRules(Object(i.a)({validateMessages:Object(i.a)(Object(i.a)({},R),n.validateMessages)},t));o.push(u.then((function(){return{name:c,errors:[]}})).catch((function(e){return Promise.reject({name:c,errors:e})})))}}}));var c=function(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(a,o){e.forEach((function(e,i){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[i]=e,n>0||(t&&o(r),a(r))}))}))})):Promise.resolve([])}(o);n.lastValidatePromise=c,c.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)}));var u=c.then((function(){return n.lastValidatePromise===c?Promise.resolve(n.getFieldsValue(a)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(a),errorFields:t,outOfDate:n.lastValidatePromise!==c})}));return u.catch((function(e){return e})),u},this.submit=function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(e){console.error(e)}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))},this.forceRootUpdate=t};var J=function(e){var t=r.useRef(),n=r.useState(),a=Object(Y.a)(n,2)[1];if(!t.current)if(e)t.current=e;else{var o=new X((function(){a({})}));t.current=o.getForm()}return[t.current]},Z=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),$=function(e){var t=e.validateMessages,n=e.onFormChange,a=e.onFormFinish,c=e.children,u=r.useContext(Z),s=r.useRef({});return r.createElement(Z.Provider,{value:Object(i.a)(Object(i.a)({},u),{},{validateMessages:Object(i.a)(Object(i.a)({},u.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:s.current}),u.triggerFormChange(e,t)},triggerFormFinish:function(e,t){a&&a(e,{values:t,forms:s.current}),u.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(s.current=Object(i.a)(Object(i.a)({},s.current),{},Object(o.a)({},e,t))),u.registerForm(e,t)},unregisterForm:function(e){var t=Object(i.a)({},s.current);delete t[e],s.current=t,u.unregisterForm(e)}})},c)},ee=Z,te=function(e,t){var n=e.name,o=e.initialValues,u=e.fields,s=e.form,l=e.preserve,p=e.children,f=e.component,d=void 0===f?"form":f,m=e.validateMessages,b=e.validateTrigger,y=void 0===b?"onChange":b,v=e.onValuesChange,_=e.onFieldsChange,x=e.onFinish,w=e.onFinishFailed,j=Object(a.a)(e,["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"]),O=r.useContext(ee),k=J(s),E=Object(Y.a)(k,1)[0],S=E.getInternalHooks(h.a),P=S.useSubscribe,C=S.setInitialValues,T=S.setCallbacks,A=S.setValidateMessages,I=S.setPreserve;r.useImperativeHandle(t,(function(){return E})),r.useEffect((function(){return O.registerForm(n,E),function(){O.unregisterForm(n)}}),[O,E,n]),A(Object(i.a)(Object(i.a)({},O.validateMessages),m)),T({onValuesChange:v,onFieldsChange:function(e){if(O.triggerFormChange(n,e),_){for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a0&&(e.deadlineId=setTimeout((function(){e.onMotionEnd({deadline:!0})}),r))}}))},e.nextFrame=function(t){e.cancelNextFrame(),e.raf=y()(t)},e.cancelNextFrame=function(){e.raf&&(y.a.cancel(e.raf),e.raf=null)},e}return Object(i.a)(n,[{key:"componentDidMount",value:function(){this.onDomUpdate()}},{key:"componentDidUpdate",value:function(){this.onDomUpdate()}},{key:"componentWillUnmount",value:function(){this.destroyed=!0,this.removeEventListener(this.$cacheEle),this.cancelNextFrame(),clearTimeout(this.deadlineId)}},{key:"render",value:function(){var e,t=this.state,n=t.status,o=t.statusActive,i=t.statusStyle,c=this.props,u=c.children,s=c.motionName,l=c.visible,p=c.removeOnLeave,f=c.leavedClassName,d=c.eventProps;return u?"none"!==n&&h(this.props)?u(Object(a.a)(Object(a.a)({},d),{},{className:m()(A(s,n),(e={},Object(r.a)(e,A(s,"".concat(n,"-active")),o),Object(r.a)(e,s,"string"==typeof s),e)),style:i}),this.setNodeRef):l?u(Object(a.a)({},d),this.setNodeRef):p?null:u(Object(a.a)(Object(a.a)({},d),{},{className:f}),this.setNodeRef):null}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.status;if(!h(e))return{};var a=e.visible,o=e.motionAppear,i=e.motionEnter,c=e.motionLeave,u=e.motionLeaveImmediately,s={prevProps:e};return("appear"===r&&!o||"enter"===r&&!i||"leave"===r&&!c)&&(s.status="none",s.statusActive=!1,s.newStatus=!1),!n&&a&&o&&(s.status="appear",s.statusActive=!1,s.newStatus=!0),n&&!n.visible&&a&&i&&(s.status="enter",s.statusActive=!1,s.newStatus=!0),(n&&n.visible&&!a&&c||!n&&u&&!a&&c)&&(s.status="leave",s.statusActive=!1,s.newStatus=!0),s}}]),n}(p.Component);return b.defaultProps={visible:!0,motionEnter:!0,motionAppear:!0,motionLeave:!0,removeOnLeave:!0},n?p.forwardRef((function(e,t){return p.createElement(b,Object.assign({internalRef:t},e))})):b}(T),M=n("Ff2n");function L(e){var t;return t=e&&"object"===Object(l.a)(e)&&"key"in e?e:{key:e},Object(a.a)(Object(a.a)({},t),{},{key:String(t.key)})}function D(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(L)}function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=t.length,i=D(e),c=D(t);i.forEach((function(e){for(var t=!1,i=r;i1}));return s.forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||"remove"!==r}))).forEach((function(t){t.key===e&&(t.status="keep")}))})),n}var N=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];var F=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I,n=function(n){Object(u.a)(c,n);var r=Object(s.a)(c);function c(){var e;return Object(o.a)(this,c),(e=r.apply(this,arguments)).state={keyEntities:[]},e.removeKey=function(t){e.setState((function(e){return{keyEntities:e.keyEntities.map((function(e){return e.key!==t?e:Object(a.a)(Object(a.a)({},e),{},{status:"removed"})}))}}))},e}return Object(i.a)(c,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,r=this.props,a=r.component,o=r.children,i=Object(M.a)(r,["component","children"]),c=a||p.Fragment,u={};return N.forEach((function(e){u[e]=i[e],delete i[e]})),delete i.keys,p.createElement(c,Object.assign({},i),n.map((function(n){var r=n.status,a=Object(M.a)(n,["status"]),i="add"===r||"keep"===r;return p.createElement(t,Object.assign({},u,{key:a.key,visible:i,eventProps:a,onLeaveEnd:function(){u.onLeaveEnd&&u.onLeaveEnd.apply(u,arguments),e.removeKey(a.key)}}),o)})))}}],[{key:"getDerivedStateFromProps",value:function(t,n){var r=t.keys,o=n.keyEntities,i=D(r);if(!e)return{keyEntities:i.map((function(e){return Object(a.a)(Object(a.a)({},e),{},{status:"keep"})}))};var c=R(o,i),u=o.length;return{keyEntities:c.filter((function(e){for(var t=null,n=0;n children");r=e}})),r}var v=n("UwPn"),g={isAppearSupported:function(e){return e.transitionName&&e.transitionAppear||e.animation.appear},isEnterSupported:function(e){return e.transitionName&&e.transitionEnter||e.animation.enter},isLeaveSupported:function(e){return e.transitionName&&e.transitionLeave||e.animation.leave},allowAppearCallback:function(e){return e.transitionAppear||e.animation.appear},allowEnterCallback:function(e){return e.transitionEnter||e.animation.enter},allowLeaveCallback:function(e){return e.transitionLeave||e.animation.leave}},_=function(){function e(e,t){for(var n=0;n children");return p.a.createElement(O,{key:n.key,ref:function(t){e.childrenRefs[n.key]=t},animation:t.animation,transitionName:t.transitionName,transitionEnter:t.transitionEnter,transitionAppear:t.transitionAppear,transitionLeave:t.transitionLeave},n)})));var a=t.component;if(a){var o=t;return"string"==typeof a&&(o=k({className:t.className,style:t.style},t.componentProps)),p.a.createElement(a,o,r)}return r[0]||null}}]),t}(p.a.Component);T.isAnimate=!0,T.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:C,onEnter:C,onLeave:C,onAppear:C};var A=function(){var e=this;this.performEnter=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillEnter(e.handleDoneAdding.bind(e,t,"enter")))},this.performAppear=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillAppear(e.handleDoneAdding.bind(e,t,"appear")))},this.handleDoneAdding=function(t,n){var r=e.props;if(delete e.currentlyAnimatingKeys[t],!r.exclusive||r===e.nextProps){var a=m(P(r));e.isValidChildByKey(a,t)?"appear"===n?g.allowAppearCallback(r)&&(r.onAppear(t),r.onEnd(t,!0)):g.allowEnterCallback(r)&&(r.onEnter(t),r.onEnd(t,!0)):e.performLeave(t)}},this.performLeave=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillLeave(e.handleDoneLeaving.bind(e,t)))},this.handleDoneLeaving=function(t){var n=e.props;if(delete e.currentlyAnimatingKeys[t],!n.exclusive||n===e.nextProps){var r,a,o,i,c=m(P(n));if(e.isValidChildByKey(c,t))e.performEnter(t);else{var u=function(){g.allowLeaveCallback(n)&&(n.onLeave(t),n.onEnd(t,!1))};r=e.state.children,a=c,o=n.showProp,(i=r.length===a.length)&&r.forEach((function(e,t){var n=a[t];e&&n&&(e&&!n||!e&&n||e.key!==n.key||o&&e.props[o]!==n.props[o])&&(i=!1)})),i?u():e.setState({children:c},u)}}}},I=h(T),M=n("2GS6"),L=n("TSYQ"),D=n.n(L),R=n("EE3K"),N=n("8HVG");function F(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function U(e){for(var t=1;t=a&&(t.updateKey=c[0].notice.updateKey||c[0].notice.key,c.shift()),c.push({notice:t,holderCallback:n})),{notices:c}}))},e.remove=function(t){e.setState((function(e){return{notices:e.notices.filter((function(e){return e.notice.key!==t}))}}))},e}return Object(i.a)(n,[{key:"getTransitionName",value:function(){var e=this.props,t=e.prefixCls,n=e.animation,r=this.props.transitionName;return!r&&n&&(r="".concat(t,"-").concat(n)),r}},{key:"render",value:function(){var e=this,t=this.state.notices,n=this.props,r=n.prefixCls,a=n.className,o=n.closeIcon,i=n.style,c=t.map((function(n,a){var i=n.notice,c=n.holderCallback,u=Boolean(a===t.length-1&&i.updateKey),s=i.updateKey?i.updateKey:i.key,l=Object(M.a)(e.remove.bind(e,i.key),i.onClose),f=U(U(U({prefixCls:r,closeIcon:o},i),i.props),{},{key:s,update:u,onClose:l,onClick:i.onClick,children:i.content});return c?p.a.createElement("div",{key:s,className:"".concat(r,"-hook-holder"),ref:function(t){void 0!==s&&(t?(e.hookRefs.set(s,t),c(t,f)):e.hookRefs.delete(s))}}):p.a.createElement(R.a,Object.assign({},f))}));return p.a.createElement("div",{className:D()(r,a),style:i},p.a.createElement(I,{transitionName:this.getTransitionName()},c))}}]),n}(l.Component);W.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},W.newInstance=function(e,t){var n=e||{},a=n.getContainer,o=Object(r.a)(n,["getContainer"]),i=document.createElement("div");a?a().appendChild(i):document.body.appendChild(i);var c=!1;d.a.render(p.a.createElement(W,Object.assign({},o,{ref:function(e){c||(c=!0,t({notice:function(t){e.add(t)},removeNotice:function(t){e.remove(t)},component:e,destroy:function(){d.a.unmountComponentAtNode(i),i.parentNode&&i.parentNode.removeChild(i)},useNotification:function(){return Object(N.a)(e)}}))}})),i)};var H=W;t.default=H},"8w+9": @@ -833,11 +833,11 @@ \*************************************************************/ /*! exports provided: history, plugin, connect, useDispatch, useStore, useSelector, getDvaApp, evaluateListHeaderKey, __PLUGIN_INITIAL_STATE, createIntl, FormattedDate, FormattedDateParts, FormattedDisplayName, FormattedHTMLMessage, FormattedList, FormattedMessage, FormattedNumber, FormattedNumberParts, FormattedPlural, FormattedRelativeTime, FormattedTime, FormattedTimeParts, IntlContext, IntlProvider, RawIntlProvider, createIntlCache, defineMessages, injectIntl, useIntl, localeInfo, addLocale, getIntl, setIntl, getLocale, getDirection, setLocale, formatMessage, getAllLocales, SelectLang, useModel, ErrorShowType, request, useRequest, UseRequestProvider, Helmet */ /*! exports used: connect, evaluateListHeaderKey, getDvaApp, history, plugin, setLocale */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/defineProperty.js because of ./src/.umi-production/plugin-dva/dva.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js because of ./src/pages/Three/Model/AddModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/defineProperty.js because of ./src/pages/HttpStatus/403.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/extends.js because of ./src/pages/MyProblem/index.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/.umi-production/plugin-dva/dva.ts */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js because of ./src/.umi-production/plugin-dva/dva.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/pages/HttpStatus/403.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js because of ./src/pages/virtualSpaces/Index/index.tsx */ /*! 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/.umi-production/core/history.ts because of ./src/.umi-production/umi.ts */ /*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/core/plugin.ts because of ./src/.umi-production/umi.ts */ @@ -862,12 +862,12 @@ \*******************************************************/ /*! exports provided: default */ /*! exports used: default */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js because of ./node_modules/antd/es/message/hooks/useMessage.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/typeof.js because of ./node_modules/rc-notification/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/typeof.js because of ./node_modules/@ant-design/icons/es/utils.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/lodash/isEqual.js (<- Module is not an ECMAScript module) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js because of ./node_modules/antd/es/modal/Modal.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/contains.js because of ./node_modules/antd/es/modal/Modal.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/ref.js because of ./node_modules/antd/es/form/hooks/useItemRef.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js because of ./node_modules/rc-table/es/stickyScrollBar.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/contains.js because of ./node_modules/antd/es/dropdown/dropdown.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/ref.js because of ./node_modules/rc-motion/es/index.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)) */function(e,t,n){"use strict";var r,a=n("ODXe"),o=n("U8pU"),i=n("q1tI"),c=n.n(i),u=n("c+Xe");function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function Z(e){var t,n,r;if(Q.isWindow(e)||9===e.nodeType){var a=Q.getWindow(e);t={left:Q.getWindowScrollLeft(a),top:Q.getWindowScrollTop(a)},n=Q.viewportWidth(a),r=Q.viewportHeight(a)}else t=Q.offset(e),n=Q.outerWidth(e),r=Q.outerHeight(e);return t.width=n,t.height=r,t}function $(e,t){var n=t.charAt(0),r=t.charAt(1),a=e.width,o=e.height,i=e.left,c=e.top;return"c"===n?c+=o/2:"b"===n&&(c+=o),"c"===r?i+=a/2:"r"===r&&(i+=a),{left:i,top:c}}function ee(e,t,n,r,a){var o=$(t,n[1]),i=$(e,n[0]),c=[i.left-o.left,i.top-o.top];return{left:Math.round(e.left-c[0]+r[0]-a[0]),top:Math.round(e.top-c[1]+r[1]-a[1])}}function te(e,t,n){return e.leftn.right}function ne(e,t,n){return e.topn.bottom}function re(e,t,n){var r=[];return Q.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function ae(e,t){return e[t]=-e[t],e}function oe(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function ie(e,t){e[0]=oe(e[0],t.width),e[1]=oe(e[1],t.height)}function ce(e,t,n,r){var a=n.points,o=n.offset||[0,0],i=n.targetOffset||[0,0],c=n.overflow,u=n.source||e;o=[].concat(o),i=[].concat(i);var s={},l=0,p=J(u,!(!(c=c||{})||!c.alwaysByViewport)),f=Z(u);ie(o,f),ie(i,t);var d=ee(f,t,a,o,i),h=Q.merge(f,d);if(p&&(c.adjustX||c.adjustY)&&r){if(c.adjustX&&te(d,f,p)){var m=re(a,/[lr]/gi,{l:"r",r:"l"}),b=ae(o,0),y=ae(i,0);(function(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.left&&a.left+o.width>n.right&&(o.width-=a.left+o.width-n.right),r.adjustX&&a.left+o.width>n.right&&(a.left=Math.max(n.right-o.width,n.left)),r.adjustY&&a.top=n.top&&a.top+o.height>n.bottom&&(o.height-=a.top+o.height-n.bottom),r.adjustY&&a.top+o.height>n.bottom&&(a.top=Math.max(n.bottom-o.height,n.top)),Q.mix(a,o)}(d,f,p,s))}return h.width!==f.width&&Q.css(u,"width",Q.width(u)+h.width-f.width),h.height!==f.height&&Q.css(u,"height",Q.height(u)+h.height-f.height),Q.offset(u,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:a,offset:o,targetOffset:i,overflow:s}}function ue(e,t,n){var r=n.target||t;return ce(e,Z(r),n,!function(e,t){var n=J(e,t),r=Z(e);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}(r,n.overflow&&n.overflow.alwaysByViewport))}ue.__getOffsetParent=K,ue.__getVisibleRectForElement=J;var se=n("zT1h"),le=n("Y+p1"),pe=n.n(le),fe=n("bdgK"),de=n("l4aY");function he(e,t){var n=null,r=null;var o=new fe.default((function(e){var o=Object(a.a)(e,1)[0].target;if(document.documentElement.contains(o)){var i=o.getBoundingClientRect(),c=i.width,u=i.height,s=Math.floor(c),l=Math.floor(u);n===s&&r===l||Promise.resolve().then((function(){t({width:s,height:l})})),n=s,r=l}}));return e&&o.observe(e),function(){o.disconnect()}}function me(e){return"function"!=typeof e?null:e()}function be(e){return"object"===Object(o.a)(e)&&e?e:null}var ye=function(e,t){var n=e.children,r=e.disabled,o=e.target,i=e.align,s=e.onAlign,p=e.monitorWindowResize,f=e.monitorBufferTime,d=void 0===f?0:f,h=c.a.useRef({}),m=c.a.useRef(),b=c.a.Children.only(n),y=c.a.useRef({});y.current.disabled=r,y.current.target=o,y.current.align=i,y.current.onAlign=s;var v=function(e,t){var n=c.a.useRef(!1),r=c.a.useRef(null);function a(){window.clearTimeout(r.current)}return[function o(i){if(n.current&&!0!==i)a(),r.current=window.setTimeout((function(){n.current=!1,o()}),t);else{if(!1===e())return;n.current=!0,a(),r.current=window.setTimeout((function(){n.current=!1}),t)}},function(){n.current=!1,a()}]}((function(){var e=y.current,t=e.disabled,n=e.target,r=e.align,a=e.onAlign;if(!t&&n){var o,i=m.current,c=me(n),u=be(n);h.current.element=c,h.current.point=u,h.current.align=r;var s=document.activeElement;return c&&function(e){if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox();if(t.width||t.height)return!0}if(e.getBoundingClientRect){var n=e.getBoundingClientRect();if(n.width||n.height)return!0}return!1}(c)?o=ue(i,c,r):u&&(o=function(e,t,n){var r,a,o=Q.getDocument(e),i=o.defaultView||o.parentWindow,c=Q.getWindowScrollLeft(i),u=Q.getWindowScrollTop(i),s=Q.viewportWidth(i),p=Q.viewportHeight(i),f={left:r="pageX"in t?t.pageX:c+t.clientX,top:a="pageY"in t?t.pageY:u+t.clientY,width:0,height:0},d=r>=0&&r<=c+s&&a>=0&&a<=u+p,h=[n.points[0],"cc"];return ce(e,f,l(l({},n),{},{points:h}),d)}(i,u,r)),function(e,t){e!==document.activeElement&&Object(de.a)(t,e)&&"function"==typeof e.focus&&e.focus()}(s,i),a&&o&&a(i,o),!0}return!1}),d),g=Object(a.a)(v,2),_=g[0],x=g[1],w=c.a.useRef({cancel:function(){}}),j=c.a.useRef({cancel:function(){}});c.a.useEffect((function(){var e,t,n=me(o),r=be(o);m.current!==j.current.element&&(j.current.cancel(),j.current.element=m.current,j.current.cancel=he(m.current,_)),h.current.element===n&&((e=h.current.point)===(t=r)||e&&t&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&e.clientX===t.clientX&&e.clientY===t.clientY))&&pe()(h.current.align,i)||(_(),w.current.element!==n&&(w.current.cancel(),w.current.element=n,w.current.cancel=he(n,_)))})),c.a.useEffect((function(){r?x():_()}),[r]);var O=c.a.useRef(null);return c.a.useEffect((function(){p?O.current||(O.current=Object(se.a)(window,"resize",_)):O.current&&(O.current.remove(),O.current=null)}),[p]),c.a.useEffect((function(){return function(){w.current.cancel(),j.current.cancel(),O.current&&O.current.remove(),x()}}),[]),c.a.useImperativeHandle(t,(function(){return{forceAlign:function(){return _(!0)}}})),c.a.isValidElement(b)&&(b=c.a.cloneElement(b,{ref:Object(u.a)(b.ref,m)})),b},ve=c.a.forwardRef(ye);ve.displayName="Align";var ge=ve;t.a=ge},"9og8": /*!**********************************************************************************************************!*\ @@ -1288,9 +1288,9 @@ e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeo /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/classCallCheck.js because of ./src/.umi-production/plugin-dva/dva.ts */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/createClass.js because of ./src/components/modal.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/createSuper.js because of ./src/components/modal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/defineProperty.js because of ./src/.umi-production/plugin-dva/dva.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/defineProperty.js because of ./src/pages/HttpStatus/403.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/inherits.js because of ./src/components/modal.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js because of ./src/.umi-production/plugin-dva/dva.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js because of ./src/pages/tasks/index.jsx */ /*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/core/umiExports.ts because of ./src/.umi-production/plugin-dva/dva.ts */ /*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/plugin-locale/locale.tsx because of ./src/.umi-production/umi.ts */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/runtime/dist/index.esm.js because of ./src/.umi-production/umi.ts */ @@ -1596,9 +1596,9 @@ e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeo \**********************************************************************************/ /*! exports provided: default */ /*! exports used: default */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js because of ./node_modules/antd/es/message/hooks/useMessage.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js because of ./node_modules/rc-select/es/utils/valueUtil.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js because of ./node_modules/antd/es/message/hooks/useMessage.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("a3WO");var a=n("25BE"),o=n("BsWD");function i(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(a.a)(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},KUpu: +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js because of ./node_modules/rc-field-form/es/index.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("a3WO");var a=n("25BE"),o=n("BsWD");function i(e){return function(e){if(Array.isArray(e))return Object(r.a)(e)}(e)||Object(a.a)(e)||Object(o.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},KUpu: /*!****************************************************************************************************************!*\ !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.symbol.has-instance.js ***! \****************************************************************************************************************/ @@ -1642,8 +1642,8 @@ e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeo \****************************************************************************/ /*! exports provided: default */ /*! exports used: default */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js because of ./node_modules/rc-notification/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js because of ./node_modules/rc-notification/es/index.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("foSv");var a=n("md7G");function o(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Object(r.a)(e);if(t){var i=Object(r.a)(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return Object(a.a)(this,n)}}},LQ03: +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js because of ./node_modules/dva/dist/index.esm.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js because of ./node_modules/dva/dist/index.esm.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("foSv");var a=n("md7G");function o(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Object(r.a)(e);if(t){var i=Object(r.a)(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return Object(a.a)(this,n)}}},LQ03: /*!************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/createSuper.js ***! \************************************************************/ @@ -1840,9 +1840,9 @@ object-assign \******************************************************************************/ /*! exports provided: default */ /*! exports used: default */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js because of ./node_modules/rc-select/es/utils/valueUtil.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js because of ./node_modules/rc-select/es/utils/valueUtil.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js because of ./node_modules/antd/es/message/hooks/useMessage.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("DSFK");var a=n("BsWD"),o=n("PYwp");function i(e,t){return Object(r.a)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){c=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw a}}return o}}(e,t)||Object(a.a)(e,t)||Object(o.a)()}},OIXA: +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js because of ./node_modules/rc-field-form/es/index.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("DSFK");var a=n("BsWD"),o=n("PYwp");function i(e,t){return Object(r.a)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o=[],i=!0,c=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);i=!0);}catch(e){c=!0,a=e}finally{try{i||null==n.return||n.return()}finally{if(c)throw a}}return o}}(e,t)||Object(a.a)(e,t)||Object(o.a)()}},OIXA: /*!************************************!*\ !*** ./src/styles/animate.min.css ***! \************************************/ @@ -2420,9 +2420,9 @@ object-assign \******************************************************/ /*! exports provided: default */ /*! exports used: default */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/.umi-production/plugin-dva/dva.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/pages/HttpStatus/403.tsx */ /*! 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/models/problemset/util.ts because of ./src/.umi-production/plugin-dva/dva.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./src/models/problemset/util.ts because of ./src/.umi-production/plugin-dva/connect.ts */ /*! ModuleConcatenation bailout: Cannot concat with ./src/service/paperlibrary.ts because of ./src/pages/Paperlibrary/Edit/index.tsx */function(e,t,n){"use strict";var r=n("k1fw"),a=n("WmNS"),o=n.n(a),i=n("vCeJ"),c={1:"一",2:"二",3:"三",4:"四",5:"五",6:"六",7:"七",8:"八"},u=function(e){if(e){var t=e||{},n=t.exam,a=t.single_questions,o=t.multiple_questions,i=t.judgement_questions,u=t.program_questions,s=t.completion_questions,l=t.subjective_questions,p=t.practical_questions,f=t.combination_questions,d=t.fileupload_questions,h=t.photograph_questions;return{exam:n,questionList:[Object(r.a)({type:"SINGLE",name:"单选题"},a),Object(r.a)({type:"MULTIPLE",name:"多选题"},o),Object(r.a)({type:"JUDGMENT",name:"判断题"},i),Object(r.a)({type:"PROGRAM",name:"编程题"},u),Object(r.a)({type:"COMPLETION",name:"填空题"},s),Object(r.a)({type:"SUBJECTIVE",name:"简答题"},l),Object(r.a)({type:"SUBJECTIVE",name:"文件上传题"},d),Object(r.a)({type:"SUBJECTIVE",name:"拍照上传题"},h),Object(r.a)({type:"PRACTICAL",name:"项目题"},p),Object(r.a)({type:"COMBINATION",name:"接龙题"},f)].filter((function(e){return e.questions_count>0})).map((function(e,t){var n;return Object(r.a)(Object(r.a)({},e),{number:c[t+1],questions:null==e||null===(n=e.questions)||void 0===n?void 0:n.map((function(e){return Object(r.a)(Object(r.a)({},e),{},{shixun:e.examination_bank_shixun_challenges})}))})}))}}},s=n("6fQ5"),l={namespace:"paperlibrary",state:{paperData:void 0,disciplinesData:void 0,teachGroupData:void 0,courseOptions:[],actionTabs:{key:"",params:{}}},effects:{getDisciplines:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.g,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{disciplinesData:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getCustomDisciplines:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.f,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{disciplinesData:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getEditDisciplines:o.a.mark((function e(t,n){var a,c,u,l,p,f;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.g,a);case 4:return l=e.sent,p=null==l?void 0:l.disciplines,f=Object(s.a)(p),e.next=9,u({type:"save",payload:{courseOptions:f,disciplinesData:Object(r.a)({},l)}});case 9:return e.abrupt("return",l);case 10:case"end":return e.stop()}}),e)})),getTeachGroupData:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.j,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{teachGroupData:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getPaperData:o.a.mark((function e(t,n){var r,a,c,s,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,c=n.put,e.next=4,a(i.h,r);case 4:return s=e.sent,l=u(s),e.next=8,c({type:"save",payload:{paperData:l}});case 8:return e.abrupt("return",s);case 9:case"end":return e.stop()}}),e)})),getPaperlibraryList:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.i,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),setPublic:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.o,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),handleDelete:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.k,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getCourseList:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.e,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),sendToClass:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.m,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),adjustPosition:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.a,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),setScore:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.p,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),handleDeleteEditQuestion:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.l,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),batchSetScore:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.d,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),batchDelete:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.b,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),updatePaper:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.r,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=l},WRkp: /*!**********************************************!*\ !*** ./node_modules/hash.js/lib/hash/sha.js ***! @@ -2549,7 +2549,7 @@ object-assign \********************************************************************/ /*! exports provided: createBrowserHistory, createHashHistory, createMemoryHistory, createLocation, locationsAreEqual, parsePath, createPath */ /*! exports used: createBrowserHistory, createHashHistory, createLocation, createMemoryHistory, createPath, locationsAreEqual */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/extends.js because of ./node_modules/rc-pagination/es/Pagination.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/extends.js because of ./node_modules/rc-menu/es/MenuItemGroup.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/history-with-query/node_modules/query-string/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/tiny-invariant/dist/tiny-invariant.esm.js because of ./node_modules/react-router-dom/esm/react-router-dom.js */function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return P})),n.d(t,"d",(function(){return T})),n.d(t,"c",(function(){return y})),n.d(t,"f",(function(){return v})),n.d(t,"e",(function(){return b}));var r=n("wx14");function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r=0;f--){var d=i[f];"."===d?o(i,f):".."===d?(o(i,f),p++):p&&(o(i,f),p--)}if(!s)for(;p--;p)i.unshift("..");!s||""===i[0]||i[0]&&a(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function c(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var u=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=c(t),a=c(n);return r!==t||a!==n?e(r,a):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},s=n("YJ9l"),l=n.n(s),p=n("9R94");function f(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function h(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function m(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function b(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function y(e,t,n,a){var o;"string"==typeof e?((o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e)).query=o.search?l.a.parse(o.search):{},o.state=t):(void 0===(o=Object(r.a)({},e)).pathname&&(o.pathname=""),o.search?("?"!==o.search.charAt(0)&&(o.search="?"+o.search),o.query=l.a.parse(o.search)):(o.search=o.query?l.a.stringify(o.query):"",o.query=o.query||{}),o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function v(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&u(e.state,t.state)}function g(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,r):n.push(r),p({action:"PUSH",location:r,index:t,entries:n})}}))},replace:function(e,t){var r=y(e,t,f(),_.location);l.confirmTransitionTo(r,"REPLACE",n,(function(e){e&&(_.entries[_.index]=r,p({action:"REPLACE",location:r}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=_.index+e;return t>=0&&t<_.entries.length},block:function(e){return void 0===e&&(e=!1),l.setPrompt(e)},listen:function(e){return l.appendListener(e)}};return _}},Yanh: /*!**********************************************************************************************************!*\ @@ -2963,11 +2963,11 @@ object-assign \**********************************************************/ /*! exports provided: default */ /*! exports used: default */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/defineProperty.js because of ./node_modules/rc-notification/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js because of ./node_modules/rc-notification/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js because of ./node_modules/antd/es/message/hooks/useMessage.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/defineProperty.js because of ./node_modules/@ant-design/icons/es/utils.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js because of ./node_modules/rc-field-form/es/index.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-trigger/es/index.js because of ./node_modules/rc-select/es/SelectTrigger.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-trigger/es/index.js because of ./node_modules/rc-menu/es/SubMenu.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";var r=n("rePB"),a=n("ODXe"),o=n("Ff2n"),i=n("q1tI"),c=n("uciX"),u=n("TSYQ"),s=n.n(u),l={adjustX:1,adjustY:1},p=[0,0],f={topLeft:{points:["bl","tl"],overflow:l,offset:[0,-4],targetOffset:p},topCenter:{points:["bc","tc"],overflow:l,offset:[0,-4],targetOffset:p},topRight:{points:["br","tr"],overflow:l,offset:[0,-4],targetOffset:p},bottomLeft:{points:["tl","bl"],overflow:l,offset:[0,4],targetOffset:p},bottomCenter:{points:["tc","bc"],overflow:l,offset:[0,4],targetOffset:p},bottomRight:{points:["tr","br"],overflow:l,offset:[0,4],targetOffset:p}};var d=i.forwardRef((function(e,t){var n=e.arrow,u=void 0!==n&&n,l=e.prefixCls,p=void 0===l?"rc-dropdown":l,d=e.transitionName,h=e.animation,m=e.align,b=e.placement,y=void 0===b?"bottomLeft":b,v=e.placements,g=void 0===v?f:v,_=e.getPopupContainer,x=e.showAction,w=e.hideAction,j=e.overlayClassName,O=e.overlayStyle,k=e.visible,E=e.trigger,S=void 0===E?["hover"]:E,P=Object(o.a)(e,["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger"]),C=i.useState(),T=Object(a.a)(C,2),A=T[0],I=T[1],M="visible"in e?k:A,L=i.useRef(null);i.useImperativeHandle(t,(function(){return L.current}));var D,R,N,F,U,z,V=function(){var t=e.overlay;return"function"==typeof t?t():t},q=function(t){var n=e.onOverlayClick,r=V().props;I(!1),n&&n(t),r.onClick&&r.onClick(t)},B=function(){var e=V(),t={prefixCls:"".concat(p,"-menu"),onClick:q};return"string"==typeof e.type&&delete t.prefixCls,i.createElement(i.Fragment,null,u&&i.createElement("div",{className:"".concat(p,"-arrow")}),i.cloneElement(e,t))},W=w;return W||-1===S.indexOf("contextMenu")||(W=["click"]),i.createElement(c.a,Object.assign({},P,{prefixCls:p,ref:L,popupClassName:s()(j,Object(r.a)({},"".concat(p,"-show-arrow"),u)),popupStyle:O,builtinPlacements:g,action:S,showAction:x,hideAction:W||[],popupPlacement:y,popupAlign:m,popupTransitionName:d,popupAnimation:h,popupVisible:M,stretch:(U=e.minOverlayWidthMatchTrigger,z=e.alignPoint,("minOverlayWidthMatchTrigger"in e?U:!z)?"minWidth":""),popup:"function"==typeof e.overlay?B:B(),onPopupVisibleChange:function(t){var n=e.onVisibleChange;I(t),"function"==typeof n&&n(t)},getPopupContainer:_}),(R=e.children,N=R.props?R.props:{},F=s()(N.className,void 0!==(D=e.openClassName)?D:"".concat(p,"-open")),A&&R?i.cloneElement(R,{className:F}):R))}));t.a=d},"eDW+": /*!****************************************************************************************************************!*\ !*** ./node_modules/@umijs/babel-plugin-lock-core-js-3/node_modules/core-js/modules/es.typed-array.reverse.js ***! @@ -2980,8 +2980,8 @@ object-assign /*! exports provided: default */ /*! exports used: default */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@ant-design/css-animation/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/contains.js because of ./node_modules/rc-select/es/SelectTrigger.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/KeyCode.js because of ./node_modules/rc-select/es/OptionList.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/contains.js because of ./node_modules/antd/es/dropdown/dropdown.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/KeyCode.js because of ./node_modules/rc-menu/es/SubMenu.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/PortalWrapper.js because of ./node_modules/rc-drawer/es/DrawerWrapper.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-dom/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";var r=n("q1tI"),a=n.n(r),o=n("i8i4"),i=n.n(o),c=n("4IlW"),u=n("l4aY"),s=function(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");return"function"!=typeof t.componentWillReceiveProps?e:a.a.Profiler?(t.UNSAFE_componentWillReceiveProps=t.componentWillReceiveProps,delete t.componentWillReceiveProps,e):e};function l(e){var t=[];return a.a.Children.forEach(e,(function(e){t.push(e)})),t}function p(e,t){var n=null;return e&&e.forEach((function(e){n||e&&e.key===t&&(n=e)})),n}function f(e,t,n){var r=null;return e&&e.forEach((function(e){if(e&&e.key===t&&e.props[n]){if(r)throw new Error("two child with same key for children");r=e}})),r}var d=n("UwPn"),h={isAppearSupported:function(e){return e.transitionName&&e.transitionAppear||e.animation.appear},isEnterSupported:function(e){return e.transitionName&&e.transitionEnter||e.animation.enter},isLeaveSupported:function(e){return e.transitionName&&e.transitionLeave||e.animation.leave},allowAppearCallback:function(e){return e.transitionAppear||e.animation.appear},allowEnterCallback:function(e){return e.transitionEnter||e.animation.enter},allowLeaveCallback:function(e){return e.transitionLeave||e.animation.leave}},m=function(){function e(e,t){for(var n=0;n children");return a.a.createElement(g,{key:n.key,ref:function(t){e.childrenRefs[n.key]=t},animation:t.animation,transitionName:t.transitionName,transitionEnter:t.transitionEnter,transitionAppear:t.transitionAppear,transitionLeave:t.transitionLeave},n)})));var o=t.component;if(o){var i=t;return"string"==typeof o&&(i=_({className:t.className,style:t.style},t.componentProps)),a.a.createElement(o,i,r)}return r[0]||null}}]),t}(a.a.Component);k.isAnimate=!0,k.defaultProps={animation:{},component:"span",componentProps:{},transitionEnter:!0,transitionLeave:!0,transitionAppear:!1,onEnd:O,onEnter:O,onLeave:O,onAppear:O};var E=function(){var e=this;this.performEnter=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillEnter(e.handleDoneAdding.bind(e,t,"enter")))},this.performAppear=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillAppear(e.handleDoneAdding.bind(e,t,"appear")))},this.handleDoneAdding=function(t,n){var r=e.props;if(delete e.currentlyAnimatingKeys[t],!r.exclusive||r===e.nextProps){var a=l(j(r));e.isValidChildByKey(a,t)?"appear"===n?h.allowAppearCallback(r)&&(r.onAppear(t),r.onEnd(t,!0)):h.allowEnterCallback(r)&&(r.onEnter(t),r.onEnd(t,!0)):e.performLeave(t)}},this.performLeave=function(t){e.childrenRefs[t]&&(e.currentlyAnimatingKeys[t]=!0,e.childrenRefs[t].componentWillLeave(e.handleDoneLeaving.bind(e,t)))},this.handleDoneLeaving=function(t){var n=e.props;if(delete e.currentlyAnimatingKeys[t],!n.exclusive||n===e.nextProps){var r,a,o,i,c=l(j(n));if(e.isValidChildByKey(c,t))e.performEnter(t);else{var u=function(){h.allowLeaveCallback(n)&&(n.onLeave(t),n.onEnd(t,!1))};r=e.state.children,a=c,o=n.showProp,(i=r.length===a.length)&&r.forEach((function(e,t){var n=a[t];e&&n&&(e&&!n||!e&&n||e.key!==n.key||o&&e.props[o]!==n.props[o])&&(i=!1)})),i?u():e.setState({children:c},u)}}}},S=s(k),P=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};return[{name:"内容审核情况",id:"Content",status:null==i||null===(e=i.content_info)||void 0===e?void 0:e.status,username:null==i||null===(t=i.content_info)||void 0===t?void 0:t.username,time:null==i||null===(n=i.content_info)||void 0===n?void 0:n.time},{name:"性能审核情况",id:"Performance",status:null==i||null===(r=i.perference_info)||void 0===r?void 0:r.status,username:null==i||null===(a=i.perference_info)||void 0===a?void 0:a.username,time:null==i||null===(o=i.perference_info)||void 0===o?void 0:o.time}]},u=n("1vsH"),s={namespace:"shixunsDetail",state:{detail:void 0,rightData:void 0,challenges:void 0,auditSituationData:void 0,setting:void 0,challengesNew:{},challengesEdit:{},editChallengesQuestion:{},fileContent:{},repository:{},mirrorApplies:{},infoWithJupyterLab:{},actionTabs:{key:"",params:{}}},effects:{getShixunsDetail:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.lb,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{detail:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getMirrorApplies:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.X,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{mirrorApplies:Object(r.a)({},(null==s?void 0:s.data)||{})}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getRightData:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.fb,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{rightData:Object(r.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getChallengesData:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.I,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{challenges:Object(r.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),execJupyter:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.C,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),execShixun:o.a.mark((function e(t,n){var r,a,c;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.D,r);case 4:return-3===(null==(c=e.sent)?void 0:c.status)&&Object(u.o)(),e.abrupt("return",c);case 7:case"end":return e.stop()}}),e)})),openChallenge:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.xb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),challengeMoveUp:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.n,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),challengeMoveDown:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.m,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),cancelCollect:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.j,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),collect:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.p,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),searchUserCourses:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Db,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),sendToCourse:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Eb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),cancelRelease:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.l,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),cancelPublic:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.k,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),applyPublic:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.h,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),release:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.zb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),updateAuditSituation:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Ib,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getCollaboratorsData:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.M,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),addCollaborator:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.d,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),addTeachGroupMember:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.g,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getChangeManager:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.L,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),changeManager:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.o,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),deleteCollaborators:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.w,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getRankingList:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.bb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getMirrorScript:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Y,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getScriptContent:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.gb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getCustomScript:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.N,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),updateSettingBasicInfo:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Ub,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getShixunQuote:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.kb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),deleteShixun:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.A,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),permanentClose:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.yb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getDepartments:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.O,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),updatePermissionSetting:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Qb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),updateLearnSetting:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Pb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),updateSetting:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Tb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getSetData:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.ib,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),deleteDataSet:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.x,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),deleteGitFile:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.y,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),deleteGitFiles:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.z,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),moveGitFile:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.vb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),moveGitFiles:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.wb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getRepository:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.cb,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{repository:Object(r.a)({},s)}});case 7:return e.abrupt("return",Object(r.a)({},s));case 8:case"end":return e.stop()}}),e)})),getRepositorys:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.eb,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{repository:Object(r.a)({},s)}});case 7:return e.abrupt("return",Object(r.a)({},s));case 8:case"end":return e.stop()}}),e)})),getSecretRepository:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.hb,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{secretRepository:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),addRepositoryFile:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.e,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),addRepositoryFiles:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.f,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getRepositoryCommit:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.db,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getFileContent:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.S,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{fileContent:Object(r.a)(Object(r.a)({},s),{},{params:a})}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getFileContents:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.T,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{fileContent:Object(r.a)(Object(r.a)({},s),{},{params:a})}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),updateRepositoryFile:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Rb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),updateRepositoryFiles:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Sb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),uploadGitFolder:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Vb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),updateCollaboratorEditable:o.a.mark((function e(t,n){var r,a;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,n.put,e.next=4,a(i.Nb,r);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})),getSettingsData:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.jb,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{setting:Object(r.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getChallengesNew:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.K,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{challengesNew:Object(r.a)({},s)}});case 7:case"end":return e.stop()}}),e)})),getChallengesEdit:o.a.mark((function e(t,n){var a,c,u,s;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,c=n.call,u=n.put,e.next=4,c(i.J,a);case 4:return s=e.sent,e.next=7,u({type:"save",payload:{challengesEdit:Object(r.a)({},s)}});case 7:return e.abrupt("return",s);case 8:case"end":return e.stop()}}),e)})),getAuditSituationData:o.a.mark((function e(t,n){var r,a,u,s,l;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,u=n.put,e.next=4,a(i.F,r);case 4:return s=e.sent,l=c(s),e.next=8,u({type:"save",payload:{auditSituationData:l}});case 8:case"end":return e.stop()}}),e)})),getEditChallengesQuestion:o.a.mark((function e(t,n){var r,a,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,c=n.put,e.next=4,a(i.P,r);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{editChallengesQuestion:u}});case 7:return e.abrupt("return",u);case 8:case"end":return e.stop()}}),e)})),getInfoWithJupyterLab:o.a.mark((function e(t,n){var r,a,c,u;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.payload,a=n.call,c=n.put,e.next=4,a(i.V,r);case 4:return u=e.sent,e.next=7,c({type:"save",payload:{infoWithJupyterLab:u}});case 7:return e.abrupt("return",u);case 8:case"end":return e.stop()}}),e)})),setActionTabs:o.a.mark((function e(t,n){var a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.payload,n.call,i=n.put,e.next=4,i({type:"save",payload:{actionTabs:Object(r.a)({},a)}});case 4:case"end":return e.stop()}}),e)}))},reducers:{save:function(e,t){return console.log("reducers:",e,t),Object(r.a)(Object(r.a)({},e),t.payload)}},subscriptions:{setup:function(e){var t=e.dispatch;return e.history.listen((function(e){"/"===e.pathname&&t({type:"query"})}))}}};t.a=s},q1tI: /*!*************************************!*\ !*** ./node_modules/react/index.js ***! @@ -3823,11 +3823,11 @@ object-assign \******************************************************/ /*! exports provided: getCourseResultsService, exportCourseService, getCourseResultDetailClass, getCourseResultDetailService, postComputeAllService, postComputeCourseSingleService, exportGraduationService, postComputeAllGraduationService, postComputeGraduationSingleService, getGraduationResultsService, getFormulasService, putFormulasService, getGraduationResultDetailService, putGoalValueService, getMajorListService, getYearListService, getTopPageService, putTopPageService */ /*! exports used: exportCourseService, exportGraduationService, getCourseResultDetailClass, getCourseResultDetailService, getCourseResultsService, getFormulasService, getGraduationResultDetailService, getGraduationResultsService, getMajorListService, getTopPageService, getYearListService, postComputeAllGraduationService, postComputeAllService, postComputeCourseSingleService, postComputeGraduationSingleService, putFormulasService, putGoalValueService, putTopPageService */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js because of ./src/pages/Three/Model/UpdateNameModel.tsx */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/.umi-production/plugin-dva/dva.ts */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js because of ./src/.umi-production/plugin-dva/dva.ts */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js because of ./src/pages/Three/Model/AddModel.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./src/pages/HttpStatus/403.tsx */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js because of ./src/pages/virtualSpaces/Index/index.tsx */ /*! 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/utils/fetch.ts because of ./src/pages/Account/Results/index.tsx */function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return f})),n.d(t,"m",(function(){return d})),n.d(t,"n",(function(){return h})),n.d(t,"b",(function(){return m})),n.d(t,"l",(function(){return b})),n.d(t,"o",(function(){return y})),n.d(t,"h",(function(){return v})),n.d(t,"f",(function(){return g})),n.d(t,"p",(function(){return _})),n.d(t,"g",(function(){return x})),n.d(t,"q",(function(){return w})),n.d(t,"i",(function(){return j})),n.d(t,"k",(function(){return O})),n.d(t,"j",(function(){return k})),n.d(t,"r",(function(){return E}));var r=n("9og8"),a=n("WmNS"),o=n.n(a),i=n("ErOA"),c=n("k1fw"),u=n("PpiC"),s=function(){var e=Object(r.a)(o.a.mark((function e(t){var n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.id,r=Object(u.a)(t,["id"]),e.abrupt("return",Object(i.a)("/api/ec_years/".concat(n,"/course_results.json"),{method:"get",params:r}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),l=function(e){var t=document.createElement("iframe");t.src="/api/ec_years/".concat(e,"/course_results.xlsx"),t.style.display="none",document.body.appendChild(t)},p=function(e){var t=e.ec_year_id;return Object(i.a)("/api/ec_years/".concat(t,"/course_results/get_class.json"),{method:"get"})},f=function(e){var t=e.ec_year_id,n=e.id,r=e.class_name,a=void 0===r?null:r;return Object(i.a)("/api/ec_years/".concat(t,"/course_results/").concat(n,".json"),{method:"get",params:{class_name:a}})},d=function(e){var t=e.ec_year_id;return Object(i.a)("/api/ec_courses/1/evaluations/compute_all_courses_data?ec_year_id=".concat(t),{method:"post"})},h=function(e){var t=e.ec_course_id;return Object(i.a)("/api/ec_courses/".concat(t,"/evaluations/evaluation_data"),{method:"POST"})},m=function(e){var t=document.createElement("iframe");t.src="/api/ec_years/".concat(e,"/ec_graduation_results.xlsx"),t.style.display="none",document.body.appendChild(t)},b=function(e){var t=e.ec_year_id;return Object(i.a)("/api/ec_years/".concat(t,"/ec_graduation_results/compute_all"),{method:"post"})},y=function(e){var t=e.ec_year_id,n=e.id;return Object(i.a)("/api/ec_years/".concat(t,"/ec_graduation_results/compute_single?id=").concat(n),{method:"POST"})},v=function(e){return Object(i.a)("/api/ec_years/".concat(e,"/ec_graduation_results.json"),{method:"get"})},g=function(e){return Object(i.a)("/api/ec_years/".concat(e,"/ec_graduation_results/get_formulas.json"),{method:"get"})},_=function(e){var t=e.ec_year_id,n=e.formula_one,r=e.formula_two,a=e.formula_three;return Object(i.a)("/api/ec_years/".concat(t,"/ec_graduation_results/set_formulas.json?formula_one_id=").concat(n,"&formula_two_id=").concat(r,"&formula_three_id=").concat(a),{method:"PUT"})},x=function(e){var t=e.ec_year_id,n=e.id;return Object(i.a)("/api/ec_years/".concat(t,"/ec_graduation_results/").concat(n,".json"),{method:"get"})},w=function(e){var t=e.ec_year_id,n=e.type,r=e.goal_value,a=Object(u.a)(e,["ec_year_id","type","goal_value"]),o="?type=".concat(n),s={method:"PUT"};return"all"===n&&(o+="&goal_value=".concat(r)),"each"===n&&(s=Object(c.a)(Object(c.a)({},s),{},{body:a})),Object(i.a)("/api/ec_years/".concat(t,"/ec_graduation_results/set_goal_value").concat(o),s)},j=function(){var e=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/schools/".concat(t,"/ec_majors/get_major_list.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=function(){var e=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/ec_major_schools/".concat(t,"/ec_years/get_year_list.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),k=function(e){var t=e.ec_year_id,n=e.school_id;return Object(i.a)("/api/ec_years/".concat(t,"/top_pages.json"),{method:"get",params:{school_id:n}})},E=function(e){var t=e.id,n=e.name;return Object(i.a)("/api/ec_years/1/top_pages/".concat(t,"?name=").concat(n),{method:"PUT"})}},rePB: +/*! ModuleConcatenation bailout: Cannot concat with ./src/utils/fetch.ts because of ./src/pages/HttpStatus/HpcCourse.tsx */function(e,t,n){"use strict";n.d(t,"e",(function(){return s})),n.d(t,"a",(function(){return l})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return f})),n.d(t,"m",(function(){return d})),n.d(t,"n",(function(){return h})),n.d(t,"b",(function(){return m})),n.d(t,"l",(function(){return b})),n.d(t,"o",(function(){return y})),n.d(t,"h",(function(){return v})),n.d(t,"f",(function(){return g})),n.d(t,"p",(function(){return _})),n.d(t,"g",(function(){return x})),n.d(t,"q",(function(){return w})),n.d(t,"i",(function(){return j})),n.d(t,"k",(function(){return O})),n.d(t,"j",(function(){return k})),n.d(t,"r",(function(){return E}));var r=n("9og8"),a=n("WmNS"),o=n.n(a),i=n("ErOA"),c=n("k1fw"),u=n("PpiC"),s=function(){var e=Object(r.a)(o.a.mark((function e(t){var n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.id,r=Object(u.a)(t,["id"]),e.abrupt("return",Object(i.a)("/api/ec_years/".concat(n,"/course_results.json"),{method:"get",params:r}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),l=function(e){var t=document.createElement("iframe");t.src="/api/ec_years/".concat(e,"/course_results.xlsx"),t.style.display="none",document.body.appendChild(t)},p=function(e){var t=e.ec_year_id;return Object(i.a)("/api/ec_years/".concat(t,"/course_results/get_class.json"),{method:"get"})},f=function(e){var t=e.ec_year_id,n=e.id,r=e.class_name,a=void 0===r?null:r;return Object(i.a)("/api/ec_years/".concat(t,"/course_results/").concat(n,".json"),{method:"get",params:{class_name:a}})},d=function(e){var t=e.ec_year_id;return Object(i.a)("/api/ec_courses/1/evaluations/compute_all_courses_data?ec_year_id=".concat(t),{method:"post"})},h=function(e){var t=e.ec_course_id;return Object(i.a)("/api/ec_courses/".concat(t,"/evaluations/evaluation_data"),{method:"POST"})},m=function(e){var t=document.createElement("iframe");t.src="/api/ec_years/".concat(e,"/ec_graduation_results.xlsx"),t.style.display="none",document.body.appendChild(t)},b=function(e){var t=e.ec_year_id;return Object(i.a)("/api/ec_years/".concat(t,"/ec_graduation_results/compute_all"),{method:"post"})},y=function(e){var t=e.ec_year_id,n=e.id;return Object(i.a)("/api/ec_years/".concat(t,"/ec_graduation_results/compute_single?id=").concat(n),{method:"POST"})},v=function(e){return Object(i.a)("/api/ec_years/".concat(e,"/ec_graduation_results.json"),{method:"get"})},g=function(e){return Object(i.a)("/api/ec_years/".concat(e,"/ec_graduation_results/get_formulas.json"),{method:"get"})},_=function(e){var t=e.ec_year_id,n=e.formula_one,r=e.formula_two,a=e.formula_three;return Object(i.a)("/api/ec_years/".concat(t,"/ec_graduation_results/set_formulas.json?formula_one_id=").concat(n,"&formula_two_id=").concat(r,"&formula_three_id=").concat(a),{method:"PUT"})},x=function(e){var t=e.ec_year_id,n=e.id;return Object(i.a)("/api/ec_years/".concat(t,"/ec_graduation_results/").concat(n,".json"),{method:"get"})},w=function(e){var t=e.ec_year_id,n=e.type,r=e.goal_value,a=Object(u.a)(e,["ec_year_id","type","goal_value"]),o="?type=".concat(n),s={method:"PUT"};return"all"===n&&(o+="&goal_value=".concat(r)),"each"===n&&(s=Object(c.a)(Object(c.a)({},s),{},{body:a})),Object(i.a)("/api/ec_years/".concat(t,"/ec_graduation_results/set_goal_value").concat(o),s)},j=function(){var e=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/schools/".concat(t,"/ec_majors/get_major_list.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=function(){var e=Object(r.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Object(i.a)("/api/ec_major_schools/".concat(t,"/ec_years/get_year_list.json"),{method:"get"}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),k=function(e){var t=e.ec_year_id,n=e.school_id;return Object(i.a)("/api/ec_years/".concat(t,"/top_pages.json"),{method:"get",params:{school_id:n}})},E=function(e){var t=e.id,n=e.name;return Object(i.a)("/api/ec_years/1/top_pages/".concat(t,"?name=").concat(n),{method:"PUT"})}},rePB: /*!*******************************************************************!*\ !*** ./node_modules/@babel/runtime/helpers/esm/defineProperty.js ***! \*******************************************************************/ @@ -3924,7 +3924,7 @@ object-assign \*************************************************/ /*! exports provided: default */ /*! all exports used */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/extends.js because of ./node_modules/dva/dist/index.esm.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/extends.js because of ./node_modules/react-router-dom/esm/react-router-dom.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@umijs/babel-preset-umi/node_modules/@babel/runtime/helpers/esm/slicedToArray.js because of ./src/pages/HttpStatus/404.tsx */ /*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/core/history.ts because of ./src/.umi-production/plugin-dva/dva.ts */ /*! ModuleConcatenation bailout: Cannot concat with ./src/.umi-production/core/plugin.ts because of ./src/.umi-production/plugin-dva/dva.ts */ @@ -4054,22 +4054,22 @@ object-assign \*********************************************************/ /*! exports provided: generateTrigger, default */ /*! exports used: default */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js because of ./node_modules/rc-notification/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js because of ./node_modules/rc-notification/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createClass.js because of ./node_modules/rc-notification/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createSuper.js because of ./node_modules/rc-select/es/Select.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/inherits.js because of ./node_modules/rc-notification/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./node_modules/rc-field-form/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js because of ./node_modules/rc-notification/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js because of ./node_modules/rc-menu/es/Menu.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createClass.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/createSuper.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/inherits.js because of ./node_modules/rc-field-form/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js because of ./node_modules/@ant-design/icons/es/utils.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js because of ./node_modules/rc-field-form/es/index.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/classnames/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/raf/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-align/es/index.js because of ./node_modules/rc-tabs/node_modules/rc-trigger/es/Popup/PopupInner.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-motion/es/index.js (<- Module is referenced from these modules with unsupported syntax: ./node_modules/antd/lib/button/LoadingIcon.js (referenced with cjs require)) */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js because of ./node_modules/antd/es/modal/Modal.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/contains.js because of ./node_modules/antd/es/modal/Modal.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/addEventListener.js because of ./node_modules/rc-table/es/stickyScrollBar.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/contains.js because of ./node_modules/rc-tabs/node_modules/rc-trigger/es/Popup/PopupInner.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Dom/findDOMNode.js because of ./node_modules/rc-motion/es/index.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Portal.js because of ./node_modules/antd/es/modal/Modal.js */ -/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/ref.js because of ./node_modules/antd/es/form/hooks/useItemRef.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/Portal.js because of ./node_modules/rc-tabs/node_modules/rc-trigger/es/index.js */ +/*! ModuleConcatenation bailout: Cannot concat with ./node_modules/rc-util/es/ref.js because of ./node_modules/rc-motion/es/index.js */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react-dom/index.js (<- Module is not an ECMAScript module) */ /*! ModuleConcatenation bailout: Cannot concat with ./node_modules/react/index.js (<- Module is not an ECMAScript module) */function(e,t,n){"use strict";var r=n("VTBJ"),a=n("1OyB"),o=n("vuIU"),i=n("JX7q"),c=n("Ji7U"),u=n("LK+K"),s=n("q1tI"),l=n.n(s),p=n("i8i4"),f=n.n(p),d=n("l4aY"),h=n("m+aA"),m=n("c+Xe"),b=n("zT1h"),y=n("QC+M"),v=n("TSYQ"),g=n.n(v);function _(e,t,n){return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}var x=n("Ff2n"),w=n("xEkU"),j=n.n(w),O=n("9mu1"),k=n("8XRh"),E=s.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,a=e.style,o=e.children,i=e.onMouseEnter,c=e.onMouseLeave,u=e.onMouseDown,l=e.onTouchStart,p=o;return s.Children.count(o)>1&&(p=s.createElement("div",{className:"".concat(n,"-content")},o)),s.createElement("div",{ref:t,className:r,onMouseEnter:i,onMouseLeave:c,onMouseDown:u,onTouchStart:l,style:a},p)}));E.displayName="PopupInner";var S=E;function P(e){var t=e.prefixCls,n=e.motion,r=e.animation,a=e.transitionName;return n||(r?{motionName:"".concat(t,"-").concat(r)}:a?{motionName:a}:null)}function C(e){return e&&e.motionName}var T=function(e){Object(c.a)(n,e);var t=Object(u.a)(n);function n(){var e;return Object(a.a)(this,n),(e=t.apply(this,arguments)).state={targetWidth:void 0,targetHeight:void 0,status:null,prevVisible:null,alignClassName:null,inMotion:!1},e.popupRef=l.a.createRef(),e.alignRef=l.a.createRef(),e.nextFrameState=null,e.nextFrameId=null,e.onAlign=function(t,n){var r=e.state.status,a=e.props,o=a.getClassNameFromAlign,i=a.onAlign,c=o(n);"align"===r?e.setState({alignClassName:c,status:"aligned"},(function(){e.alignRef.current.forceAlign()})):"aligned"===r?(e.setState({alignClassName:c,status:"afterAlign"}),i(t,n)):e.setState({alignClassName:c})},e.onMotionEnd=function(){var t=e.props.visible;e.setState({status:t?"AfterMotion":"stable",inMotion:!1})},e.setStateOnNextFrame=function(t){e.cancelFrameState(),e.nextFrameState=Object(r.a)(Object(r.a)({},e.nextFrameState),t),e.nextFrameId=j()((function(){var t=Object(r.a)({},e.nextFrameState);e.nextFrameState=null,e.setState(t)}))},e.getMotion=function(){return Object(r.a)({},P(e.props))},e.getAlignTarget=function(){var t=e.props,n=t.point,r=t.getRootDomNode;return n||r},e.cancelFrameState=function(){j.a.cancel(e.nextFrameId)},e.renderPopupElement=function(){var t=e.state,n=t.status,a=t.targetHeight,o=t.targetWidth,i=t.alignClassName,c=e.props,u=c.prefixCls,s=c.className,p=c.style,f=c.stretch,d=c.visible,h=c.align,b=c.destroyPopupOnHide,y=c.onMouseEnter,v=c.onMouseLeave,_=c.onMouseDown,x=c.onTouchStart,w=c.children,j=g()(u,s,i),E="".concat(u,"-hidden"),P={};f&&(-1!==f.indexOf("height")?P.height=a:-1!==f.indexOf("minHeight")&&(P.minHeight=a),-1!==f.indexOf("width")?P.width=o:-1!==f.indexOf("minWidth")&&(P.minWidth=o));var C=Object(r.a)(Object(r.a)(Object(r.a)(Object(r.a)({},P),e.getZIndexStyle()),p),{},{opacity:"stable"!==n&&d?0:void 0,pointerEvents:"stable"!==n&&d?"none":void 0}),T=e.getMotion(),A=d;d&&"beforeMotion"!==n&&"motion"!==n&&"stable"!==n&&(T.motionAppear=!1,T.motionEnter=!1,T.motionLeave=!1),"afterAlign"!==n&&"beforeMotion"!==n||(A=!1),["onEnterStart","onAppearStart","onLeaveStart"].forEach((function(t){var n=null==T?void 0:T[t];T[t]=function(){for(var t=arguments.length,r=new Array(t),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},t=e.namespace||"loading",n=e.only,i=void 0===n?[]:n,r=e.except,o=void 0===r?[]:r;if(i.length>0&&o.length>0)throw Error("It is ambiguous to configurate `only` and `except` items at the same time.");var a={global:!1,models:{},effects:{}},s=Object(f.a)({},t,(function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,n=arguments.length>1?arguments[1]:void 0,i=n.type,r=n.payload,o=r||{},s=o.namespace,l=o.actionType;switch(i){case g:e=Object(p.a)({},t,{global:!0,models:Object(p.a)({},t.models,Object(f.a)({},s,!0)),effects:Object(p.a)({},t.effects,Object(f.a)({},l,!0))});break;case m:var u=Object(p.a)({},t.effects,Object(f.a)({},l,!1)),c=Object(p.a)({},t.models,Object(f.a)({},s,Object.keys(u).some((function(e){return e.split("/")[0]===s&&u[e]})))),d=Object.keys(c).some((function(e){return c[e]}));e=Object(p.a)({},t,{global:d,models:c,effects:u});break;default:e=t}return e}));function l(e,t,n,r){var a=t.put,s=n.namespace;return 0===i.length&&0===o.length||i.length>0&&-1!==i.indexOf(r)||o.length>0&&-1===o.indexOf(r)?h.a.mark((function t(){var n=arguments;return h.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a({type:g,payload:{namespace:s,actionType:r}});case 2:return t.next=4,e.apply(void 0,n);case 4:return t.next=6,a({type:m,payload:{namespace:s,actionType:r}});case 6:case"end":return t.stop()}}),t)})):e}return{extraReducers:s,onEffect:l}},y=n("9kvl"),x=n("OSZE"),_=n("6YAi"),b=n("0BeC"),w=n("FzKp"),S=n("qS6X"),M=n("02UQ"),I=n("tzui"),T=n("5mCs"),D=n("wCfY"),A=n("Cb9Y"),C=n("N9QN"),O=n("ggIM"),k=n("3blH"),L=n("ngoJ"),P=n("7KHo"),N=n("amTc"),E=n("rYFv"),R=n("/I8r"),Y=n("PAJb"),z=n("5FVT"),V=n("Xq8t"),B=n("7VZV"),G=n("b6mv"),j=n("1qEB"),F=n("9hUv"),W=n("WRKT"),H=n("noRp"),U=n("TPcJ"),Z=n("en47"),q=n("zU+Z"),X=n("Zkxe"),K=n("To2U"),Q=n("q0dX"),J=n("piWV"),$=n("aZPP"),ee=n("1cmj"),te=n("XuYy"),ne=n("G+G9"),ie=n("iUp/"),re=n("fIMf"),oe=null;function ae(){return oe}var se=function(e){Object(o.a)(l,e);var t=Object(a.a)(l);function l(e){var r;return Object(i.a)(this,l),r=t.call(this,e),"undefined"!=typeof window&&function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=y.e.applyPlugins({key:"dva",type:u.a.modify,initialValue:{}});(oe=Object(c.a)(Object(s.a)(Object(s.a)(Object(s.a)({history:y.d},t.config||{}),"undefined"!=typeof window&&window.g_useSSR?{initialState:window.g_initialProps}:{}),e||{}))).use(v()),oe.use(n(/*! ./node_modules/dva-immer/dist/index.js */"Quko")()),(t.plugins||[]).forEach((function(e){oe.use(e)})),oe.model(Object(s.a)({namespace:"index"},x.a)),oe.model(Object(s.a)({namespace:"announcement"},_.a)),oe.model(Object(s.a)({namespace:"attachment"},b.a)),oe.model(Object(s.a)({namespace:"boards"},w.a)),oe.model(Object(s.a)({namespace:"exercise"},S.a)),oe.model(Object(s.a)({namespace:"graduation"},M.a)),oe.model(Object(s.a)({namespace:"homeworks"},I.a)),oe.model(Object(s.a)({namespace:"index"},T.a)),oe.model(Object(s.a)({namespace:"new"},D.a)),oe.model(Object(s.a)({namespace:"polls"},A.a)),oe.model(Object(s.a)({namespace:"teacher"},C.a)),oe.model(Object(s.a)({namespace:"video"},O.a)),oe.model(Object(s.a)({namespace:"index"},k.a)),oe.model(Object(s.a)({namespace:"evaluateDetail"},L.a)),oe.model(Object(s.a)({namespace:"evaluateList"},P.a)),oe.model(Object(s.a)({namespace:"index"},N.a)),oe.model(Object(s.a)({namespace:"navigation"},E.a)),oe.model(Object(s.a)({namespace:"normDetail"},R.a)),oe.model(Object(s.a)({namespace:"normList"},Y.a)),oe.model(Object(s.a)({namespace:"detail"},z.a)),oe.model(Object(s.a)({namespace:"index"},V.a)),oe.model(Object(s.a)({namespace:"globalSetting"},B.a)),oe.model(Object(s.a)({namespace:"homePage"},G.a)),oe.model(Object(s.a)({namespace:"index"},j.a)),oe.model(Object(s.a)({namespace:"index"},F.a)),oe.model(Object(s.a)({namespace:"index"},W.a)),oe.model(Object(s.a)({namespace:"detail"},H.a)),oe.model(Object(s.a)({namespace:"index"},U.a)),oe.model(Object(s.a)({namespace:"new"},Z.a)),oe.model(Object(s.a)({namespace:"index"},q.a)),oe.model(Object(s.a)({namespace:"preview"},X.a)),oe.model(Object(s.a)({namespace:"index"},K.a)),oe.model(Object(s.a)({namespace:"detail"},Q.a)),oe.model(Object(s.a)({namespace:"index"},J.a)),oe.model(Object(s.a)({namespace:"new"},$.a)),oe.model(Object(s.a)({namespace:"practiceSetting"},ee.a)),oe.model(Object(s.a)({namespace:"detail"},te.a)),oe.model(Object(s.a)({namespace:"index"},ne.a)),oe.model(Object(s.a)({namespace:"detail"},ie.a)),oe.model(Object(s.a)({namespace:"index"},re.a))}(),r}return Object(r.a)(l,[{key:"componentWillUnmount",value:function(){var e=ae();e._models.forEach((function(t){e.unmodel(t.namespace)})),e._models=[];try{e=null}catch(e){console.error(e)}}},{key:"render",value:function(){var e=this,t=ae();return t.router((function(){return e.props.children})),t.start()()}}]),l}(l.Component)},v5uJ: /*!***********************************************************!*\ !*** ./node_modules/echarts/lib/chart/tree/treeAction.js ***!