You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Classrooms__Lists__Shixu...

1 line
188 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

(self.webpackChunk=self.webpackChunk||[]).push([[30342,34247,52720,4977,93478,4633],{22596:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1565),o=n(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},a=n(68475),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},20360:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1565),o=n(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},a=n(68475),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},88289:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1565),o=n(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},a=n(68475),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},87026:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1565),o=n(59301),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},a=n(68475),s=function(e,t){return o.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:i}))};var l=o.forwardRef(s)},35575:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__,_typeof=__webpack_require__(31468).default;(function(){if("function"!=typeof window.GGBApplet){var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var e={},t="5.0",n={},r=null,o=!1,i=!1,a=null,s=!1,l=null,c=null,u=0;u<arguments.length;u++){var d=arguments[u];if(null!==d)switch(_typeof(d)){case"number":t=d.toFixed(1);break;case"string":d.match(new RegExp("^[0-9]\\.[0-9]+$"))?t=d:a=d;break;case"object":void 0!==d.is3D?r=d:n=d;break;case"boolean":o=d,i=!0}}null===r&&(r={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},void 0===n.material_id||i||(o=!0)),null!==a&&void 0===n.id&&(n.id=a);var p="",f=!1,h=null,m=null,g=null,x=!1,v=null,w=null,y=null;void 0!==n.height&&(n.height=Math.round(n.height)),void 0!==n.width&&(n.width=Math.round(n.width));var b=function(e){return parseFloat(e)>4?parseFloat(e):5};function k(){try{return window.self!==window.top}catch(e){return!0}}function j(){return(!n.hasOwnProperty("screenshotGenerator")||!n.screenshotGenerator)&&Math.max(screen.width,screen.height)<800}e.setHTML5Codebase=function(e,t){c=e,O(e,t)},e.setJavaCodebase=e.setJavaCodebaseVersion=e.isCompiledInstalled=e.setPreCompiledScriptPath=e.setPreCompiledResourcePath=function(){},e.setHTML5CodebaseVersion=function(e,t){var n=parseFloat(e);NaN!==n&&n<5?console.log("The GeoGebra HTML5 codebase version "+n+" is deprecated. Using version latest instead."):(l=e,M(e,t))},e.getHTML5CodebaseVersion=function(){return m},e.getParameters=function(){return n},e.setFontsCSSURL=function(e){y=e},e.setGiacJSURL=function(e){},e.setJNLPFile=function(e){e},e.setJNLPBaseDir=function(e){},e.inject=function(){function t(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var r,o="auto",i=n.id,a=!1,l=0;l<arguments.length;l++){var c=arguments[l];"string"==typeof c?(c=c.toLowerCase()).match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?o=c:i=arguments[l]:"boolean"==typeof c?a=c:c instanceof HTMLElement&&(r=c)}function u(){if(s){o=I(o);var l=r||document.getElementById(i);if(l)if(e.removeExistingApplet(l,!1),void 0===n.width&&l.clientWidth&&(n.width=l.clientWidth),void 0===n.height&&l.clientHeight&&(n.height=l.clientHeight),n.width&&n.height||"html5"!==o||(delete n.width,delete n.height),h=o,"screenshot"===o)B(l,n);else{var c=!1;n.hasOwnProperty("playButton")&&n.playButton||n.hasOwnProperty("clickToLoad")&&n.clickToLoad?c=!0:n.hasOwnProperty("playButtonAutoDecide")&&n.playButtonAutoDecide&&(c=(!k()||t())&&j()),c?(h="screenshot",E(l,n,a,o)):N(l,n,a)}else console.log("possibly bug on ajax loading? ")}else setTimeout(u,200)}u()},e.getViews=function(){return r},e.isJavaInstalled=function(){return!1};var _=function(t){var o=function(){n.onError&&n.onError(),R("Error: Fetching material (id "+n.material_id+") failed.",n)},i=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",a="/materials/"+n.material_id+"?scope=basic";C("https://"+i+"/api/proxy.php?path="+encodeURIComponent(a),(function(i){var a=JSON.parse(i),s=a.elements?a.elements.filter((function(e){return"G"==e.type||"E"==e.type}))[0]:a;if(s&&s.url){n.fileName=s.url,S(s.settings||{}),r.is3D=!0;var l="https://www.geogebra.org/images/";e.setPreviewImage(v||s.previewUrl,l+"GeoGebra_loading.png",l+"applet_play.png"),t()}else o()}),o)};function S(e){["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach((function(t){e[t]=!!e[t]})),["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"].forEach((function(t){void 0===n[t]&&void 0!==e[t]&&(n[t]=e[t])})),void 0===n.showToolBarHelp&&(n.showToolBarHelp=n.showToolBar)}function C(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.onload=function(){t(r.responseText)},r.onerror=n,r.send()}e.isHTML5Installed=function(){return!0},e.getLoadedAppletType=function(){return h},e.setPreviewImage=function(e,t,n){v=e,w=t,n},e.removeExistingApplet=function(e,t){var r;"string"==typeof e&&(e=document.getElementById(e)),h=null;var o=null;for(r=0;r<e.childNodes.length;r++){var i=e.childNodes[r],a=i.className;"applet_screenshot"===a?t?(i.style.display="block",h="screenshot"):i.style.display="none":"applet_scaler prerender"!==a&&(e.removeChild(i),o=a&&-1!=a.indexOf("appletParameters")?i.id:null,r--)}var s=void 0!==n.id?n.id:o,l=window[s];l&&"function"==typeof l.getBase64&&(l.remove(),window[s]=null)},e.refreshHitPoints=function(){if(b(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var t=e.getAppletObject();return!(!t||"function"!=typeof t.recalculateEnvironments)&&(t.recalculateEnvironments(),!0)},e.startAnimation=function(){var t=e.getAppletObject();return!(!t||"function"!=typeof t.startAnimation)&&(t.startAnimation(),!0)},e.stopAnimation=function(){var t=e.getAppletObject();return!(!t||"function"!=typeof t.stopAnimation)&&(t.stopAnimation(),!0)},e.getAppletObject=function(){var e=void 0!==n.id?n.id:"ggbApplet";return window[e]},e.resize=function(){};var A=function(e){return e&&"false"!==e},N=function(t,n,r){b(m)<=4.2&&(r=!0);var o=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==m||ggbHTML5LoadedCodebaseIsWebSimple&&!x)&&(o=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var i=document.createElement("div");i.classList.add("appletParameters","notranslate");var a=n.width,s=n.height;if(n.disableAutoScale=void 0===n.disableAutoScale?GGBAppletUtils.isFlexibleWorksheetEditor():n.disableAutoScale,void 0!==n.width)if(b(m)<=4.4)A(n.showToolBar)&&(n.height-=7),A(n.showAlgebraInput)&&(n.height-=37),n.width<605&&A(n.showToolBar)&&(n.width=605,a=605);else{var u=100;(A(n.showToolBar)||A(n.showMenuBar))&&(n.hasOwnProperty("customToolBar")&&(n.customToolbar=n.customToolBar),u=A(n.showMenuBar)?245:155),a<u&&(n.width=u,a=u)}for(var d in i.style.border="none",i.style.display="inline-block",n)n.hasOwnProperty(d)&&"appletOnLoad"!==d&&i.setAttribute("data-param-"+d,n[d]);y&&i.setAttribute("data-param-fontscssurl",y),e.resize=function(){GGBAppletUtils.responsiveResize(t,n)},window.addEventListener("resize",(function(t){e.resize()}));var f="function"==typeof n.appletOnLoad?n.appletOnLoad:function(){};if(r||void 0===n.width){var h=document.createElement("div");h.className="applet_scaler",h.style.position="relative",h.style.display="block",h.appendChild(i),t.appendChild(h),n.appletOnLoad=function(t){e.resize(),f(t)}}else{n.hasOwnProperty("showSplash")||i.setAttribute("data-param-showSplash","false");var v=t.querySelector(".applet_scaler.prerender"),w=null!==v;if(w)k=v.querySelector(".ggb_preview");else{var k=L(a,s,n.borderColor,!1);(v=document.createElement("div")).className="applet_scaler",v.style.position="relative",v.style.display="block",v.style.width=a+"px",v.style.height=s+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(v,"66%"),b(m)>=5?(n.appletOnLoad=function(e){var n=t.querySelector(".ggb_preview");n&&n.parentNode.removeChild(n),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(v),window.GGBT_wsf_view&&$(window).trigger("resize"),f(e)},w||v.appendChild(k)):i.appendChild(k),v.appendChild(i),w||t.appendChild(v),setTimeout((function(){e.resize()}),1)}function j(e,t){t&&"function"==typeof t.appletOnLoad&&"function"==typeof renderGGBElement?renderGGBElement(e,t.appletOnLoad):renderGGBElement(e),R("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",t)}function _(e,t){"undefined"==typeof renderGGBElement?(null===html5AppletsToProcess&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:e,params:t}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,null!==html5AppletsToProcess&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach((function(e){j(e.article,e.params)})),html5AppletsToProcess=null)},b(m)<5&&(e.className+=" geogebraweb")):j(e,t)}if(o){scriptLoadStarted=!0;for(var S=0;S<i.childNodes.length;S++){"TABLE"===i.childNodes[S].tagName&&(i.removeChild(i.childNodes[S]),S--)}if(null!==ggbHTML5LoadedScript){var C=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');null!=C&&C.parentNode.removeChild(C)}var N=document.createElement("script"),B=function(){_(i,n)};N.src=p+g,ggbHTML5LoadedCodebaseIsWebSimple=x,ggbHTML5LoadedCodebaseVersion=m,ggbHTML5LoadedScript=N.src,R("GeoGebra HTML5 codebase loaded: '"+p+"'.",n),c||l&&"5.0"!=l?p.requirejs?__webpack_require__.e(76839).then(function(){var e=[__webpack_require__(28628)];B.apply(null,e)}.bind(this)).catch(__webpack_require__.oe):(N.onload=B,t.appendChild(N)):(x?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),B())}else _(i,n);n.height=s,n.width=a},B=function(t,n,r){var o=L(n.width,n.height,n.borderColor,r),i=document.createElement("div");i.style.position="relative",i.style.display="block",i.style.width=n.width+"px",i.style.height=n.height+"px",i.className="applet_screenshot applet_scaler"+(r?" applet_screenshot_play":""),i.appendChild(o);var a=GGBAppletUtils.getScale(n,t,r);r?(t.appendChild(P()),window.GGBT_wsf_view||(t.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(i,"66%"),t.appendChild(i),1===a||isNaN(a)||(GGBAppletUtils.scaleElement(i,a),i.style.width=n.width+"px",i.style.height=n.height+"px",i.parentNode.style.width=n.width*a+"px",i.parentNode.style.height=n.height*a+"px"),e.resize=function(){T(t,o,i,r)},window.addEventListener("resize",(function(t){e.resize()})),e.resize()};function T(e,t,r,o){if(e.contains(t)){if("object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()){if("fullscreencontent"!==e.id)return;window.GGBT_wsf_view.setCloseBtnPosition(e)}var i=GGBAppletUtils.getScale(n,e,o);null!==r.parentNode&&(isNaN(i)||1===i?(GGBAppletUtils.scaleElement(r,1),r.parentNode.style.width=n.width+"px",r.parentNode.style.height=n.height+"px"):(GGBAppletUtils.scaleElement(r,i),r.parentNode.style.width=n.width*i+"px",r.parentNode.style.height=n.height*i+"px")),"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(e),"object"===_typeof(window.GGBT_ws_header_footer)&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}e.onExitFullscreen=function(e,t){t.appendChild(e)};var E=function(e,t,n,r){B(e,t,!0);for(var o=function(){var n=[];for(a=0;a<e.childNodes.length;a++)n.push(e.childNodes[a]);if(window.GGBT_wsf_view){var o=window.GGBT_wsf_view.renderFullScreen(e,t.id),i=document.getElementById("fullscreencontainer"),s=jQuery(e).find(".fullscreencontent");s.length>0?(o.remove(),s.attr("id","fullscreencontent").show(),jQuery(i).append(s),window.dispatchEvent(new Event("resize"))):N(o,t,!1),window.GGBT_wsf_view.launchFullScreen(i)}else h=r,N(e,t,!1);if(!window.GGBT_wsf_view)for(a=0;a<n.length;a++)e.removeChild(n[a])},i=e.getElementsByClassName("ggb_preview_play"),a=0;a<i.length;a++)i[a].addEventListener("click",o,!1),i[a].addEventListener("ontouchstart",o,!1);"function"==typeof window.ggbAppletPlayerOnload&&window.ggbAppletPlayerOnload(e),j()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},P=function(){var e=document.createElement("div");if(e.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var t='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',n=document.createElement("style");n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t)),document.getElementsByTagName("head")[0].appendChild(n)}return e},L=function(e,t,n,r){var o=document.createElement("div");o.className="ggb_preview",o.style.position="absolute",o.style.zIndex="90",o.style.width=e-2+"px",o.style.height=t-2+"px",o.style.top="0px",o.style.left="0px",o.style.overflow="hidden",o.style.backgroundColor="white";var i="lightgrey";void 0!==n&&(i="none"===n?"transparent":n),o.style.border="1px solid "+i;var a,s,l,c=document.createElement("img");if((c.style.position="relative",c.style.zIndex="1000",c.style.top="-1px",c.style.left="-1px",null!==v&&c.setAttribute("src",v),c.style.opacity=.7,null!==w)&&!r){(a=document.createElement("img")).style.position="absolute",a.style.zIndex="1001",a.style.opacity=1,c.style.opacity=.3,(s=360)>e/4*3&&(s=e/4*3),l=s/5.8,a.setAttribute("src",w),a.setAttribute("width",s),a.setAttribute("height",l);var u=(e-s)/2,d=(t-l)/2;a.style.left=u+"px",a.style.top=d+"px",o.appendChild(a)}return o.appendChild(c),o},I=function(e){return"html5"===(e=e.toLowerCase())||"screenshot"===e?e:"html5"},Z=["web","webSimple","web3d","tablet","tablet3d","phone"],M=function(e,t){if(m=e,t)O(m,!0);else{var i,a,s=!o;if(s){var l=b(m);!isNaN(l)&&l<4.4&&(s=!1)}i="http"===window.location.protocol.substr(0,4)?window.location.protocol:"http:";var c=m.indexOf("//");for(var u in a=c>0?m:0===c?i+m:"https://www.geogebra.org/apps/5.2.814.0/",Z)if(m.slice(-1*Z[u].length)===Z[u]||m.slice(-1*(Z[u].length+1))===Z[u]+"/")return void O(a,!1);GGBAppletUtils.isFlexibleWorksheetEditor()||!s||r.is3D||r.AV||r.SV||r.CV||r.EV2||r.CP||r.PC||r.DA||r.FI||r.PV||A(n.showToolBar)||A(n.showMenuBar)||A(n.showAlgebraInput)||A(n.enableRightClick)||n.appName&&"classic"!=n.appName?a+="web3d/":a+="webSimple/",O(a,!1)}},O=function(e,t){if(e.requirejs)p=e;else{"/"!==e.slice(-1)&&(e+="/"),p=e,null===t&&(t=-1===e.indexOf("http")),f=t,g="web.nocache.js",x=!1;var n=p.split("/");n.length>1&&(t||"webSimple"!==n[n.length-2]?Z.indexOf(n[n.length-2])>=0&&(g=n[n.length-2]+".nocache.js"):(g="webSimple.nocache.js",x=!0)),n=e.split("/"),"test"===(m=n[n.length-3]).substr(0,4)?m=m.substr(4,1)+"."+m.substr(5,1):"war"!==m.substr(0,3)&&"beta"!==m.substr(0,4)||(m="5.0");var r=parseFloat(m);NaN!==r&&r<5&&e.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+r+" is deprecated. Using version latest instead."),M("5.0",t))}},R=function(e,t){window.console&&window.console.log&&(!t||void 0===t.showLogging||t.showLogging&&"false"!==t.showLogging)&&console.log(e)};function G(){var e=t;null!==l?e=l:parseFloat(e)<5&&(e="5.0"),M(e,!1),null!==c&&O(c,f),s=!0}return void 0!==n.material_id?_(G):G(),e},GGBAppletUtils=function(){"use strict";function e(){return void 0!==window.GGBT_wsf_edit}function t(e,t){1!=t?(e.style.transformOrigin="0% 0% 0px",e.style.webkitTransformOrigin="0% 0% 0px",e.style.transform="scale("+t+","+t+")",e.style.webkitTransform="scale("+t+","+t+")",e.style.maxWidth="initial",null!==e.querySelector(".ggb_preview")&&(e.querySelector(".ggb_preview").style.maxWidth="initial"),void 0!==e.querySelectorAll(".ggb_preview img")[0]&&(e.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),void 0!==e.querySelectorAll(".ggb_preview img")[1]&&(e.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(e.style.transform="none",e.style.webkitTransform="none")}function n(e,t,n,r,o){if(e.isScreenshoGenerator)return 1;var i,a=void 0!==r&&r,s=null!=e.noScaleMargin&&e.noScaleMargin,l=(i=e.autoHeight)&&"false"!==i,c=function(e,t,n,r,o,i){var a=null;if(null!=i&&""!=i)for(var s=e.parentNode;null!=s;){if((" "+s.className+" ").indexOf(" "+i+" ")>-1){a=s;break}s=s.parentNode}var l=0,c=0,u=0,d=0,p=0,f=0,h=0;if(a)l=a.offsetWidth,c=Math.max(r?a.offsetWidth:0,a.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(l=Math.min(window.innerWidth,document.documentElement.clientWidth),c=Math.min(window.innerHeight,document.documentElement.clientHeight),u=l):(l=window.innerWidth,c=window.innerHeight,u=window.innerWidth),e){var m=e.getBoundingClientRect();m.left>0&&m.left<=l&&(void 0===o||!o)&&("rtl"===document.dir?(p=l-m.width-m.left,f=u<=480?10:30):(f=m.left,p=u<=480?10:30),d=f+p)}e&&"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&(e.getBoundingClientRect(),"closePositionRight"===window.GGBT_wsf_view.getCloseBtnPosition()?(d=40,h=0):"closePositionTop"===window.GGBT_wsf_view.getCloseBtnPosition()&&(d=0,h=40))}return e&&((void 0===n||!n)&&t>0&&t+d<l?l=t:l-=d,"object"!==_typeof(window.GGBT_wsf_view)||!window.GGBT_wsf_view.isFullscreen()||void 0!==n&&n||(c-=h)),{width:l,height:c}}(t,e.width,n,l,a&&window.GGBT_wsf_view||s,o),u=parseInt(c.width),d=e.width,p=e.height;if(void 0===d){var f=t.querySelector(".appletParameters");f&&(d=f.offsetWidth,p=f.offsetHeight)}var h=u/d,m=a?1:c.height/p;return void 0===n||n||(h=Math.min(1,h),m=Math.min(1,m)),Math.min(h,m)}function r(e,t,r){var o,i=1,a=!1;return e.hasOwnProperty("allowUpscale")&&(a=e.allowUpscale),e.hasOwnProperty("scale")&&(i=parseFloat(e.scale),(isNaN(i)||null===i||0===i)&&(i=1),i>1&&(a=!0)),t&&"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&(a=!0),e.hasOwnProperty("disableAutoScale")&&e.disableAutoScale?i:(o=n(e,t,a,r,e.scaleContainerClass),!a||e.hasOwnProperty("scale")&&1!==i?Math.min(i,o):o)}function o(e){var t=Math.min(window.innerWidth,document.documentElement.clientWidth),n=Math.min(window.innerHeight,document.documentElement.clientHeight),r=e.getBoundingClientRect(),o=(t-r.width)/2,i=(n-r.height)/2;i<0&&(i=0),e.style.position="relative","closePositionRight"===window.GGBT_wsf_view.getCloseBtnPosition()?(e.style.left=o<40?"40px":o+"px",e.style.top=i+"px"):"closePositionTop"===window.GGBT_wsf_view.getCloseBtnPosition()&&(e.style.top=i<40?"40px":i+"px",e.style.left=o+"px")}return{responsiveResize:function(n,i){var a=n.querySelector(".appletParameters");if(a){if("object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()){if(i.id!==a.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(n)}if(a.parentElement&&/fullscreen/.test(a.parentElement.className))return;var s=r(i,n);e()&&a.setAttribute("data-param-scale",s);for(var l=null,c=0;c<n.childNodes.length;c++)if(void 0!==n.childNodes[c].className&&n.childNodes[c].className.match(/^applet_scaler/)){l=n.childNodes[c];break}if(null!==l&&null!==l.querySelector(".noscale"))return;var u=void 0!==i.id?i.id:"ggbApplet",d=window[u];null!=d&&d.recalculateEnvironments||null===l||l.className.match(/fullscreen/)||(l.parentNode.style.transform="",isNaN(s)||1===s?(t(l,1),l.parentNode.style.width=i.width+"px",l.parentNode.style.height=i.height+"px"):(l.parentNode.style.width=i.width*s+"px",l.parentNode.style.height=i.height*s+"px",t(l,s))),"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&o(n),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(a).parents(".content-added-content"))}},isFlexibleWorksheetEditor:e,positionCenter:o,getScale:r,scaleElement:t}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),void 0===__WEBPACK_AMD_DEFINE_RESULT__||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var e=n.location.search;return-1!=e.indexOf(J)||-1!=e.indexOf(K)}function q(e,t){}q(H,I),webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{},t;function u(){return v(),t}function v(){if(!t){var e=o.createElement(Q);if(e.id=L,e.style.cssText=R+S,e.tabIndex=-1,o.body.appendChild(e),t=e.contentWindow.document,-1==navigator.userAgent.indexOf(T)){t.open();var n=document.compatMode==U?V:W;t.write(n+X),t.close()}}}function w(e){q(cb,eb),function(e){function t(){return _typeof(o.readyState)==Y?_typeof(o.body)!=Y&&null!=o.body:/loaded|complete/.test(o.readyState)}var n=t();if(n)e();else{o.addEventListener&&o.addEventListener(Z,i,!1);var r=setInterval((function(){i()}),$)}function i(){if(!n){if(!t())return;n=!0,e(),o.removeEventListener&&o.removeEventListener(Z,i,!1),r&&clearInterval(r)}}}((function(){var t,n,r,o;t=e,n=u(),r=n.body,(o=n.createElement(_)).language=ab,o.crossOrigin=W,o.src=t,webModule.__errFn&&(o.onerror=function(){webModule.__errFn(L,new Error(bb+t))}),r.appendChild(o),q(cb,db)}))}function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(e){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(e){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(e){var t=c[e];return null==t?null:t},r=d,webModule.__errFn=e}function B(){function e(e){var t=e.lastIndexOf(rb);-1==t&&(t=e.length);var n=e.indexOf(sb);-1==n&&(n=e.length);var r=e.lastIndexOf(tb,Math.min(n,t));return r>=O?e.substring(O,r+P):W}var t,n=null!=(t=__gwt_getMetaProperty(wb))?t:W;return n==W&&(n=function(){for(var t=o.getElementsByTagName(_),n=O;n<t.length;++n)if(-1!=t[n].src.indexOf(xb))return e(t[n].src);return W}()),n==W&&(n=function(){var e=o.getElementsByTagName(yb);return e.length>O?e[e.length-P].href:W}()),n==W&&function(){var e=o.location;return e.href==e.protocol+zb+e.host+e.pathname+e.search+e.hash}()&&(n=e(o.location.href)),n=function(t){if(t.match(/^\w+:\/\//));else{var n=o.createElement(ub);n.src=t+vb,t=e(n.src)}return t}(n),n}function C(e){return e.match(/^\//)||e.match(/^[a-zA-Z]+:\/\//)?e:webModule.__moduleBase+e}function D(){var e,t=O,o=[],i=[];function a(e){var t=i[e](),n=o[e];if(t in n)return t;var a=[];for(var s in n)a[n[s]]=s;throw r&&r(e,a,t),null}if(__gwt_isKnownPropertyValue=function(e,t){return t in o[e]},webModule.__getPropMap=function(){var e={};for(var t in o)o.hasOwnProperty(t)&&(e[t]=a(t));return e},webModule.__computePropValue=a,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);try{var s=(e=Cb).indexOf(Db);-1!=s&&(t=parseInt(e.substring(s+P),$),e=e.substring(O,s))}catch(e){}return webModule.__softPermutationId=t,C(e+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}s[L]={moduleName:L},webModule.__moduleStartupDone=function(e){var t=s[L].bindings;s[L].bindings=function(){for(var n=t?t():{},r=e[webModule.__softPermutationId],o=O;o<r.length;o++){var i=r[o];n[i[O]]=i[P]}return n}},webModule.__startLoadingFragment=function(e){return C(e)},webModule.__installRunAsyncCode=function(e){var t=u(),n=t.body,r=t.createElement(_);r.language=ab,r.text=e,n.appendChild(r),n.removeChild(r)},A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},"function"!=typeof window.web3d&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),"function"!=typeof window.webSimple&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet}else console.warn("deployggb.js was loaded twice")})()},53842:function(e,t,n){"use strict";function r(e){var t=!0;if(e.length>0){for(var n=0;n<e.length;n++)if(0==e[n].compile_success||!e[n].compile_success){t=!1;break}}else t=!1;return t}function o(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=[],r=0;r<e.length;r++){var o=e[r],i=t?"".concat(t,"/").concat(o.name):"".concat(o.name);n.push({title:o.name,type:o.type,isLeaf:"tree"!==o.type,key:i})}return n}function i(e,t,n){for(var r=0;r<e.length;r++){var o=e[r];if(o.key===t){o.children=n;break}o.children&&i(o.children,t,n)}return e}function a(e,t,n){var r;return function(){var o=this,i=arguments,a=function(){r=null,n||e.apply(o,i)},s=n&&!r;clearTimeout(r),r=setTimeout(a,t),s&&e.apply(o,i)}}n.d(t,{Ax:function(){return i},Ds:function(){return a},KI:function(){return s},SI:function(){return o},f1:function(){return r}});var s=n(57357).Z.API_SERVER},73014:function(e,t,n){"use strict";n.d(t,{ij:function(){return C},_s:function(){return S},Uf:function(){return _},ZP:function(){return A}});var r=n(82242),o=n.n(r),i=(n(59301),"analysis___xyV_c"),a="title___DQ3VK",s="itemWrap___vFE5r",l="item___NjeOt",c="list___BbMrm",u="wrap___UQTTb",d="img___tNvUo",p="tips___Eu4wH",f="footer___ZbR9W",h="noData___mLlw0",m=n(92310),g=n.n(m),x=n(42441),v=n(6848),w=n(56511),y=n(71418),b=n(77984),k=n(57357),j=n(37712),_=function(){var e,t,n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=null==i||null===(e=i.emotion)||void 0===e?void 0:e.map((function(e){return o()({value:null==e?void 0:e.rate},e)})),s=null==i||null===(t=i.focus)||void 0===t?void 0:t.map((function(e){return o()({value:null==e?void 0:e.rate},e)})),l=null==i||null===(n=i.action)||void 0===n?void 0:n.map((function(e){return o()({value:null==e?void 0:e.rate},e)})),c=null==i||null===(r=i.intention)||void 0===r?void 0:r.map((function(e){return o()({value:null==e?void 0:e.rate},e)}));return[{title:"表情占比",color:["#f7ca2e","#4ccf71","#3791ee","#f9ac95","#4f74ee","#f0e999"],data:a||[]},{title:"专注度占比",color:["#4f74ee","#f9ac95","#9cb5fe","#eaa170","#3791ee","#a39bed"],data:s||[]},{title:"行为占比情况",color:["#5eca9c","#a39bed","#f68238","#f0e999","#eaa170","#f9ac95"],data:l||[]},{title:"意图占比情况",color:["#eaa170","#739fcb","#f0e999","#f9ac95","#4f74ee","#5eca9c"],data:c||[]}]},S=function(e){var t=e.className,n=e.dataSource,r=void 0===n?[]:n,o=e.col,i=void 0===o?4:o,a=e.right,s=e.bottom,l=void 0===s?23:s,h=e.precision,m=void 0===h?0:h,x=e.wrapWidth,w=void 0===x?1200:x,y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"--";return e?(null==e?void 0:e.length)>t?(null==e?void 0:e.slice(0,t-1))+"...":e:n},b=Math.floor((w-(i-1)*a)/i);return(0,j.jsx)("div",{className:g()(c,t),children:!(null==r||!r.length)&&(null==r?void 0:r.map((function(e,t){var n=e.cover_pic,r=e.created_at,o=e.emotion,s=e.action,c=e.intention,h=e.focus;return(0,j.jsxs)("div",{className:u,style:{width:b,marginRight:(1+t)%i==0?0:a+m,marginBottom:l},children:[(0,j.jsxs)("div",{className:d,children:[(0,j.jsx)("img",{src:"".concat(k.Z.API_SERVER).concat(n)}),(0,j.jsxs)("div",{className:p,children:[(0,j.jsxs)("div",{children:[(0,j.jsx)("i",{className:"iconfont icon-paisheshijian mr5 font14"})," 拍摄时间"]}),(0,j.jsx)("span",{children:r})]})]}),(0,j.jsxs)("div",{className:f,children:[(0,j.jsxs)("ul",{children:[(0,j.jsxs)("li",{children:[(0,j.jsx)("i",{className:"iconfont icon-biaoqing"}),(0,j.jsxs)("span",{children:["表情:",(0,j.jsx)(v.Z,{title:o,children:(0,j.jsx)("span",{className:"c-grey-333",children:y(o,4)})})]})]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("i",{className:"iconfont icon-hangwei"}),(0,j.jsxs)("span",{children:["行为:",(0,j.jsx)(v.Z,{title:s,children:(0,j.jsx)("span",{className:"c-grey-333",children:y(s,4)})})]})]})]}),(0,j.jsxs)("ul",{children:[(0,j.jsxs)("li",{children:[(0,j.jsx)("i",{className:"iconfont icon-yitu"}),(0,j.jsxs)("span",{children:["意图:",(0,j.jsx)(v.Z,{title:c,children:(0,j.jsx)("span",{className:"c-grey-333",children:y(c,4)})})]})]}),(0,j.jsxs)("li",{children:[(0,j.jsx)("i",{className:"iconfont icon-zhuangtai"}),(0,j.jsxs)("span",{children:["专注度:",(0,j.jsx)(v.Z,{title:h,children:(0,j.jsx)("span",{className:"c-grey-333",children:y(h,3)})})]})]})]})]})]},t)})))})},C=function(e){var t,n,r=e.className,o=e.style,i=e.title,l=e.hideBar,c=void 0!==l&&l,u=e.children,d=e.customText,p=void 0===d?"":d,f=e.noDataText,m=void 0===f?"":f,x=e.emptyData,v=void 0===x?[]:x,y=e.loading,k=e.actionAnalysis,_=(null==v||null===(t=v[0])||void 0===t?void 0:t.every((function(e){var t;return!(null!=e&&null!==(t=e.data)&&void 0!==t&&t.length)})))&&!(null!=v&&null!==(n=v[1])&&void 0!==n&&n.length)||!k,S=k?m:p;return(0,j.jsxs)(w.Z,{loading:y,active:!0,children:[_&&(0,j.jsxs)("div",{className:g()(h,r),style:o,children:[!!i&&(0,j.jsxs)("div",{className:a,children:[!c&&(0,j.jsx)("b",{}),(0,j.jsx)("span",{children:i})]}),(0,j.jsx)("div",{className:s,children:(0,j.jsx)(b.Z,{customText:S})})]}),!_&&u]})},A=function(e){var t=e.className,n=e.style,r=e.data,o=void 0===r?[]:r,c=e.title,u=e.hideBar,d=void 0!==u&&u,p=e.loading,f=void 0!==p&&p;return(0,j.jsxs)("div",{className:g()(i,t),style:n,children:[!!c&&(0,j.jsxs)("div",{className:a,children:[!d&&(0,j.jsx)("b",{}),(0,j.jsx)("span",{children:c})]}),(0,j.jsx)(y.Z,{spinning:f,children:(0,j.jsx)("div",{className:s,children:null==o?void 0:o.map((function(e,t){return(0,j.jsx)("div",{className:l,children:(0,j.jsx)(x.Z,{option:{tooltip:{trigger:"item",formatter:"{a} <br/>{b}: {c}%"},title:{left:"center",bottom:15,text:null==e?void 0:e.title},legend:{top:10,right:10,orient:"vertical",show:!0,align:"left",icon:"circle",itemWidth:10,itemHeight:10,formatter:function(t){for(var n in null==e?void 0:e.data)if(t==(null==e?void 0:e.data[n].name))return t+" "+(null==e?void 0:e.data[n].value)+"%"},textStyle:{color:"#767676",fontSize:12}},color:null==e?void 0:e.color,series:[{type:"pie",radius:["20%","35%"],center:["20%","40%"],avoidLabelOverlap:!1,label:{show:!1},labelLine:{show:!1},data:null==e?void 0:e.data}]},style:{height:145}})},t)}))})})]})}},87359:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(7557),o=n.n(r),i=n(41498),a=n.n(i),s=n(79800),l=n.n(s),c=n(59301),u="imageDimensions___a7crR",d="img___Kroat",p="fullWidth___c492T",f=n(92310),h=n.n(f),m=n(71418),g=n(2859),x=n(90694),v=n(41282),w=n(37712),y=function(e){var t=e.data,n=e.className,r=e.fullWidth,i=e.style,s=void 0===i?{}:i,f=e.onClose,y=e.onOk,b=e.showFullTools,k=e.noAssociationId,j=(0,c.useRef)(null),_=(0,c.useRef)(null),S=(0,c.useState)(!1),C=l()(S,2),A=C[0],N=C[1],B=(0,c.useState)("正在加载中"),T=l()(B,2),E=T[0],P=T[1];(0,c.useEffect)((function(){null!=t&&t.visible?document.body.setAttribute("data-custom","y-hidden"):document.body.removeAttribute("data-custom"),null!=t&&t.src&&L()}),[null==t?void 0:t.visible]);var L=function(){var e=a()(o()().mark((function e(){var n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return N(!0),P("正在加载中"),e.next=4,(0,v.ZJ)(null==t?void 0:t.src);case 4:n=e.sent,j.current.src="",j.current.src=n,j.current.onload=function(){Z()},N(!1),P("");case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),I=function(){var e=a()(o()().mark((function e(n){var r;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return N(!0),P("正在保存中"),e.next=4,(0,x.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:t.title,file:n.dataUrl}});case 4:if(null==(r=e.sent)||!r.id||k){e.next=12;break}return e.next=8,(0,x.ZP)("/api/attachments/".concat(t.id,"/add_subitem.json"),{method:"post",body:{subitem_id:null==r?void 0:r.id,settings:JSON.stringify(n.state)}});case 8:0===e.sent.status&&y(),e.next=13;break;case 12:null!=r&&r.id&&y(r);case 13:N(!1),P("");case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Z=function(){_.current=new g.hP(j.current),_.current.addEventListener("render",I),_.current.addEventListener("beforeclose",f),b&&(_.current.availableMarkerTypes=_.current.ALL_MARKER_TYPES,_.current.uiStyleSettings.redoButtonVisible=!0,_.current.uiStyleSettings.notesButtonVisible=!0,_.current.uiStyleSettings.zoomButtonVisible=!0,_.current.uiStyleSettings.zoomOutButtonVisible=!0,_.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=_.current.uiStyleSettings,_.current.show(),null!=t&&t.snapshotData&&_.current.restoreState(t.snapshotData),setTimeout((function(){var e;(e=document.querySelector('a[href="https://markerjs.com/"]'))&&e.parentNode&&(e.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"选择"},{name:'[data-action="delete"]',title:"删除元素"},{name:'[data-action="undo"]',title:"撤销"},{name:'[data-type-name="FrameMarker"]',title:"矩形"},{name:'[data-type-name="FreehandMarker"]',title:"画线"},{name:'[data-type-name="ArrowMarker"]',title:"箭头"},{name:'[data-type-name="TextMarker"]',title:"文本"},{name:'[data-type-name="EllipseMarker"]',title:"椭圆"},{name:'[data-type-name="HighlightMarker"]',title:"方块"},{name:'[data-type-name="CalloutMarker"]',title:"注释"},{name:'[data-action="render"]',title:"保存"},{name:'[data-action="close"]',title:"退出"}].forEach((function(e){var t=document.querySelector(e.name);t&&t.setAttribute("title",e.title)}))}),300)};return(0,w.jsx)(c.Fragment,{children:(null==t?void 0:t.visible)&&(0,w.jsxs)("div",{className:h()(u,n,r?p:""),style:s,children:[(0,w.jsx)(m.Z,{spinning:A,tip:E,style:{position:"absolute"}}),(0,w.jsx)("img",{className:d,ref:j})]})})}},71550:function(e,t,n){"use strict";n.d(t,{h:function(){return x}});var r=n(82242),o=n.n(r),i=n(79800),a=n.n(i),s=n(59301),l=n(57809),c=n(78241),u=n(3113),d=n(89780),p=n.n(d),f=(n(49324),n(20615),n(37712)),h=l.default.Option,m={labelCol:{span:4},wrapperCol:{span:20}},g={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};function x(e){var t=e.value,n=e.onChange,r=e.mode,i=e.options,l=void 0===i?{}:i,c=(0,s.useRef)(),u=(0,s.useState)(),d=a()(u,2),h=d[0],m=d[1];return(0,s.useEffect)((function(){if(h){var e=function(e){var t=e.getValue();n&&n(t)};return h.on("change",e),function(){h.off("change",e)}}}),[h,n]),(0,s.useEffect)((function(){h&&h.setOption("mode",r)}),[h,r]),(0,s.useEffect)((function(){h&&(t===h.getValue()&&""!==t||setTimeout((function(){h.setValue(t||"")}),300))}),[h,t]),(0,s.useEffect)((function(){if(c.current&&!h){var e=p().fromTextArea(c.current,o()({mode:r,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},l));m(e)}}),[c.current,h]),(0,f.jsx)("div",{className:"my-codemirror-container",children:(0,f.jsx)("textarea",{ref:c})})}t.Z=function(e){var t=e.callback,n=e.onCancel,r=(0,s.useState)("python"),i=a()(r,2),d=i[0],p=i[1];return(0,f.jsxs)(c.Z,o()(o()({},m),{},{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:function(e){t(e)},style:{width:500},children:[(0,f.jsx)(c.Z.Item,{label:"代码语言",name:"language",children:(0,f.jsx)(l.default,{getPopupContainer:function(e){return e.parentNode},onChange:function(e){p(g[e][1])},children:Object.keys(g).map((function(e){return(0,f.jsx)(h,{value:e,children:g[e][0]},e)}))})}),(0,f.jsx)(c.Z.Item,{label:"代码内容",name:"content",rules:[{required:!0,message:"请输入代码内容"}],children:(0,f.jsx)(x,{mode:d})}),(0,f.jsxs)("div",{className:"flex-container flex-end",children:[(0,f.jsx)(u.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,f.jsx)(u.ZP,{type:"ghost",onClick:n,children:"取消"})]})]}))}},77162:function(e,t,n){"use strict";n.d(t,{Z:function(){return Ae}});var r=n(91232),o=n.n(r),i=n(79800),a=n.n(i),s=n(85573),l=n.n(s),c=n(59301),u=n(89780),d=n.n(u),p=n(76374),f=(n(49324),n(6313),n(25717),n(99498),n(25419),n(67549),n(36653)),h=n(37712),m=function(e){var t=e.value,n=void 0===t?"":t,r=(e.className,e.showTextOnly,e.showLines,e.style,(0,c.useMemo)((function(){return""}),[n]));return(0,h.jsx)(h.Fragment,{children:(0,h.jsx)("div",{dangerouslySetInnerHTML:{__html:r}})})},g=n(82242),x=n.n(g),v=[{title:"粗体",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"斜体",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"无序列表",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"有序列表",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"行内代码",icon:"md-iconfont icon-code",actionName:"code"},{title:"代码块(多语言风格)",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"链接",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"行内公式",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"数学图像",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"多行公式",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"添加图片",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"插入画图",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"插入流程图",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"表格",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"换行",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"清空",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function w(e){var t=e.onActionCallback,n=e.title,r=e.icon,o=e.actionName,i=e.className,a=void 0===i?"":i,s=e.children;return(0,h.jsxs)("a",{title:n,className:a,onClick:function(){t(o)},children:[(0,h.jsx)("i",{className:"".concat(r)}),s]})}var y=function(e){var t=e.watch,n=e.showNullButton,r=e.showNullProgramButton,o=e.onActionCallback,i=e.fullScreen,a=e.insertTemp,s=e.hidetoolBar,l=e.extraUse,c=[].concat(v,[{title:"".concat(t?"关闭实时预览":"开启实时预览"),icon:"".concat(t?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"),actionName:"trigger-watch"}]);return(0,h.jsxs)("ul",{className:"markdown-toolbar-container",children:[!s&&c.map((function(e,t){return(0,h.jsx)("li",{children:e.actionName?(0,h.jsx)(w,x()(x()({},e),{},{onActionCallback:o})):(0,h.jsx)("span",{className:"v-line"})},t)})),n?(0,h.jsx)("li",{children:(0,h.jsx)(w,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"增加填空",actionName:"add-null-ch",onActionCallback:o,children:(0,h.jsx)("span",{className:"fill-tip",children:"点击插入\b填空项"})})}):null,r?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("li",{children:(0,h.jsx)(w,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"增加填空",actionName:"add-signal",onActionCallback:o,children:(0,h.jsx)("span",{className:"fill-tip",children:"+单行填空项"})})}),(0,h.jsx)("li",{children:(0,h.jsx)(w,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"增加填空",actionName:"add-multiple",onActionCallback:o,children:(0,h.jsx)("span",{className:"fill-tip",children:"+多行填空项"})})})]}):null,a&&(0,h.jsx)("li",{children:(0,h.jsx)(w,{icon:"md-iconfont icon-edit",className:"btn-null",title:"插入模板",actionName:"inster-template-".concat(a),onActionCallback:o,children:(0,h.jsx)("span",{className:"fill-tip",children:"插入模板"})})}),l&&(0,h.jsx)("li",{children:l}),(0,h.jsx)("li",{className:"btn-full-screen",children:(0,h.jsx)(w,{icon:"".concat(i?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"),title:i?"关闭全屏":"开启全屏",actionName:"trigger-full-screen",onActionCallback:o})})]})},b=n(30043),k=n(78241),j=n(98135),_=n(3113),S={labelCol:{span:4},wrapperCol:{span:20}},C=function(e){var t=e.callback,n=e.onCancel;return(0,h.jsxs)(k.Z,x()(x()({},S),{},{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:function(e){t(e)},style:{width:500},children:[(0,h.jsx)(k.Z.Item,{label:"链接地址",name:"link",rules:[{required:!0,message:"请输入链接地址"}],children:(0,h.jsx)(j.Z,{})}),(0,h.jsx)(k.Z.Item,{label:"链接标题",name:"title",rules:[{required:!0,message:"请输入链接标题"}],children:(0,h.jsx)(j.Z,{})}),(0,h.jsxs)("div",{className:"flex-container flex-end",children:[(0,h.jsx)(_.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,h.jsx)(_.ZP,{type:"ghost",onClick:n,children:"取消"})]})]}))},A=n(71550),N=n(8591),B=n(53842),T=k.Z.useForm,E={width:280,marginRight:10},P={labelCol:{span:5},wrapperCol:{span:19}},L=function(e){var t=e.callback,n=e.onCancel,r=T(),o=a()(r,1)[0],i=(0,c.useRef)();function s(e,t){-1!==e.status?o.setFieldsValue({src:"/api/attachments/".concat(e.id),type:t.type}):N.ZP.error(e.message)}return(0,h.jsxs)(k.Z,x()(x()({form:o},P),{},{className:"upload-image-panel",onFinish:function(e){t(e,i.current)},style:{width:470,overflow:"hidden"},children:[(0,h.jsx)(k.Z.Item,{label:"图片地址",required:!0,children:(0,h.jsxs)("div",{className:"flex-container",children:[(0,h.jsx)(k.Z.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"请输入图片地址"}],children:(0,h.jsx)(j.Z,{style:E})}),(0,h.jsx)(I,{onFileChange:function(e){var t=e.target.files[0];i.current=t,Z(t,s)}})]})}),(0,h.jsx)(k.Z.Item,{label:"图片描述",name:"alt",children:(0,h.jsx)(j.Z,{style:{width:264}})}),(0,h.jsxs)(k.Z.Item,{style:{textAlign:"right"},children:[(0,h.jsx)(_.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,h.jsx)(_.ZP,{type:"default",onClick:n,children:"取消"})]})]}))};function I(e){var t=e.onFileChange;return(0,h.jsxs)("label",{className:"upload-button",style:{cursor:"pointer"},children:["本地上传",(0,h.jsx)("input",{type:"file",onChange:t})]})}function Z(e,t){if(!e)throw new String("没有文件");var n=new FormData;n.append("editormd-image-file",e),n.append("file_param_name","editormd-image-file"),n.append("byxhr","true");var r=new window.XMLHttpRequest;r.withCredentials=!0,r.addEventListener("load",(function(n){t(JSON.parse(n.target.responseText),e)}),!1),r.addEventListener("error",(function(e){console.error(e)}),!1),r.open("POST","".concat(B.KI,"/api/attachments.json")),r.send(n)}var M=n(95237),O=n(87359),R=function(e){var t=e.callback,n=e.onCancel,r=document.createElement("canvas"),o=r.getContext("2d");r.width=1e3,r.height=800,o.fillStyle="#ffffff",o.fillRect(0,0,r.width,r.height);var i=r.toDataURL("image/png");return(0,h.jsx)(M.Z,{style:{height:"100vh"},children:(0,h.jsx)(O.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:i,visible:!0,title:String(Date.now())},onOk:function(e){t({src:e.url})},onClose:n})})},G=n(7557),H=n.n(G),D=n(41498),z=n.n(D),F=n(37205),W=n.n(F),V=n(12378);function q(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(q,go.CommandHandler),q.prototype.canAlignSelection=function(){var e=this.diagram;return null!==e&&!e.isReadOnly&&!e.isModelReadOnly&&!(e.selection.count<2)},q.prototype.alignLeft=function(){var e=this.diagram;e.startTransaction("aligning left");var t=1/0;e.selection.each((function(e){e instanceof go.Link||(t=Math.min(e.position.x,t))})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(t,e.position.y))})),e.commitTransaction("aligning left")},q.prototype.alignRight=function(){var e=this.diagram;e.startTransaction("aligning right");var t=-1/0;e.selection.each((function(e){if(!(e instanceof go.Link)){var n=e.actualBounds.x+e.actualBounds.width;t=Math.max(n,t)}})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(t-e.actualBounds.width,e.position.y))})),e.commitTransaction("aligning right")},q.prototype.alignTop=function(){var e=this.diagram;e.startTransaction("alignTop");var t=1/0;e.selection.each((function(e){e instanceof go.Link||(t=Math.min(e.position.y,t))})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(e.position.x,t))})),e.commitTransaction("alignTop")},q.prototype.alignBottom=function(){var e=this.diagram;e.startTransaction("aligning bottom");var t=-1/0;e.selection.each((function(e){if(!(e instanceof go.Link)){var n=e.actualBounds.y+e.actualBounds.height;t=Math.max(n,t)}})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(e.actualBounds.x,t-e.actualBounds.height))})),e.commitTransaction("aligning bottom")},q.prototype.alignCenterX=function(){var e=this.diagram,t=e.selection.first();if(t){e.startTransaction("aligning Center X");var n=t.actualBounds.x+t.actualBounds.width/2;e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(n-e.actualBounds.width/2,e.actualBounds.y))})),e.commitTransaction("aligning Center X")}},q.prototype.alignCenterY=function(){var e=this.diagram,t=e.selection.first();if(t){e.startTransaction("aligning Center Y");var n=t.actualBounds.y+t.actualBounds.height/2;e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(e.actualBounds.x,n-e.actualBounds.height/2))})),e.commitTransaction("aligning Center Y")}},q.prototype.alignColumn=function(e){var t=this.diagram;t.startTransaction("align Column"),void 0===e&&(e=0),e=parseFloat(e);var n=new Array;t.selection.each((function(e){e instanceof go.Link||n.push(e)}));for(var r=0;r<n.length-1;r++){var o=n[r],i=o.actualBounds.y+o.actualBounds.height+e;n[r+1].move(new go.Point(o.actualBounds.x,i))}t.commitTransaction("align Column")},q.prototype.alignRow=function(e){void 0===e&&(e=0),e=parseFloat(e);var t=this.diagram;t.startTransaction("align Row");var n=new Array;t.selection.each((function(e){e instanceof go.Link||n.push(e)}));for(var r=0;r<n.length-1;r++){var o=n[r],i=o.actualBounds.x+o.actualBounds.width+e;n[r+1].move(new go.Point(i,o.actualBounds.y))}t.commitTransaction("align Row")},q.prototype.canRotate=function(e){var t=this.diagram;return null!==t&&!t.isReadOnly&&!t.isModelReadOnly&&!(t.selection.count<1)},q.prototype.rotate=function(e){var t;void 0===e&&(e=90),(t=this.diagram).startTransaction("rotate "+e.toString()),(t=this.diagram).selection.each((function(t){t instanceof go.Link||t instanceof go.Group||(t.angle+=e)})),t.commitTransaction("rotate "+e.toString())},q.prototype.pullToFront=function(){var e=this.diagram;e.startTransaction("pullToFront");var t=new go.Map;e.selection.each((function(e){t.set(e.layer,0)})),t.iteratorKeys.each((function(e){var n=0;e.parts.each((function(e){if(!e.isSelected){var t=e.zOrder;isNaN(t)?e.zOrder=0:n=Math.max(n,t)}})),t.set(e,n)})),e.selection.each((function(e){q._assignZOrder(e,t.get(e.layer)+1)})),e.commitTransaction("pullToFront")},q.prototype.pushToBack=function(){var e=this.diagram;e.startTransaction("pushToBack");var t=new go.Map;e.selection.each((function(e){t.set(e.layer,0)})),t.iteratorKeys.each((function(e){var n=0;e.parts.each((function(e){if(!e.isSelected){var t=e.zOrder;isNaN(t)?e.zOrder=0:n=Math.min(n,t)}})),t.set(e,n)})),e.selection.each((function(e){q._assignZOrder(e,t.get(e.layer)-1-q._findGroupDepth(e))})),e.commitTransaction("pushToBack")},q._assignZOrder=function(e,t,n){void 0===n&&(n=e),e.layer===n.layer&&(e.zOrder=t),e instanceof go.Group&&e.memberParts.each((function(e){q._assignZOrder(e,t+1,n)}))},q._findGroupDepth=function(e){if(e instanceof go.Group){var t=0;return e.memberParts.each((function(e){t=Math.max(t,q._findGroupDepth(e))})),t+1}return 0},q.prototype.doKeyDown=function(){var e=this.diagram;if(null!==e){var t=e.lastInput;if("Up"===t.key||"Down"===t.key||"Left"===t.key||"Right"===t.key){var n=this.arrowKeyBehavior;if("none"===n)return;if("select"===n)return void this._arrowKeySelect();if("move"===n)return void this._arrowKeyMove();if("tree"===n)return void this._arrowKeyTree()}go.CommandHandler.prototype.doKeyDown.call(this)}},q.prototype._getAllParts=function(){var e=new Array;return this.diagram.nodes.each((function(t){e.push(t)})),this.diagram.parts.each((function(t){e.push(t)})),e},q.prototype._arrowKeyMove=function(){var e=this.diagram,t=e.lastInput,n=0,r=0;if(t.control||t.meta)n=1,r=1;else if(null!==e.grid){var o=e.grid.gridCellSize;r=o.width,n=o.height}e.startTransaction("arrowKeyMove"),e.selection.each((function(e){"Up"===t.key?e.move(new go.Point(e.actualBounds.x,e.actualBounds.y-n)):"Down"===t.key?e.move(new go.Point(e.actualBounds.x,e.actualBounds.y+n)):"Left"===t.key?e.move(new go.Point(e.actualBounds.x-r,e.actualBounds.y)):"Right"===t.key&&e.move(new go.Point(e.actualBounds.x+r,e.actualBounds.y))})),e.commitTransaction("arrowKeyMove")},q.prototype._arrowKeySelect=function(){var e=this.diagram,t=e.lastInput,n=null;"Up"===t.key?n=this._findNearestPartTowards(270):"Down"===t.key?n=this._findNearestPartTowards(90):"Left"===t.key?n=this._findNearestPartTowards(180):"Right"===t.key&&(n=this._findNearestPartTowards(0)),null!==n&&(t.shift?n.isSelected=!0:t.control||t.meta?n.isSelected=!n.isSelected:e.select(n))},q.prototype._findNearestPartTowards=function(e){var t=this.diagram.selection.first();if(null===t)return null;for(var n=t.actualBounds.center,r=this._getAllParts(),o=1/0,i=t,a=0;a<r.length;a++){var s=r[a];if(s!==t&&s.canSelect()){var l=s.actualBounds.center,c=n.directionPoint(l),u=this._angleCloseness(c,e);if(u<=45){var d=n.distanceSquaredPoint(l);(d*=1+Math.sin(u*Math.PI/180))<o&&(o=d,i=s)}}}return i},q.prototype._angleCloseness=function(e,t){return Math.min(Math.abs(t-e),Math.min(Math.abs(t+360-e),Math.abs(t-360-e)))},q.prototype._arrowKeyTree=function(){var e=this.diagram,t=e.selection.first();if(t instanceof go.Node){var n=e.lastInput;if("Right"===n.key)if(t.isTreeLeaf);else if(t.isTreeExpanded){null!==(o=this._sortTreeChildrenByY(t).first())&&e.select(o)}else e.commandHandler.canExpandTree(t)&&e.commandHandler.expandTree(t);else if("Left"===n.key){if(!t.isTreeLeaf&&t.isTreeExpanded)e.commandHandler.canCollapseTree(t)&&e.commandHandler.collapseTree(t);else null!==(i=t.findTreeParentNode())&&e.select(i)}else if("Up"===n.key){if(null!==(i=t.findTreeParentNode()))if((s=(a=this._sortTreeChildrenByY(i)).indexOf(t))>0){for(var r=a.elt(s-1);null!==r&&r.isTreeExpanded&&!r.isTreeLeaf;){r=this._sortTreeChildrenByY(r).last()}null!==r&&e.select(r)}else e.select(i)}else if("Down"===n.key){var o;if(t.isTreeExpanded&&!t.isTreeLeaf)null!==(o=this._sortTreeChildrenByY(t).first())&&e.select(o);else for(;null!==t;){var i,a,s;if(null===(i=t.findTreeParentNode()))break;if((s=(a=this._sortTreeChildrenByY(i)).indexOf(t))<a.length-1){e.select(a.elt(s+1));break}t=i}}var l=e.selection.first();null!==l&&e.scrollToRect(l.actualBounds)}},q.prototype._sortTreeChildrenByY=function(e){var t=(new go.List).addAll(e.findTreeChildrenNodes());return t.sort((function(e,t){var n=e.location,r=t.location;return n.y<r.y?-1:n.y>r.y?1:n.x<r.x?-1:n.x>r.x?1:0})),t},q.prototype.copyToClipboard=function(e){go.CommandHandler.prototype.copyToClipboard.call(this,e),this._lastPasteOffset.set(this.pasteOffset)},q.prototype.pasteFromClipboard=function(){var e=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(e,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),e},Object.defineProperty(q.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(e){if("move"!==e&&"select"!==e&&"scroll"!==e&&"tree"!==e&&"none"!==e)throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+e);this._arrowKeyBehavior=e}}),Object.defineProperty(q.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(e){if(!(e instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+e);this._pasteOffset.set(e)}});var Y=q,U=(n(79286),n(85160)),K=n(43418),J=n(43604),X=n(90694),Q="myPaletteDiv___Xjz2I",$="maxH60___Pd4Re";window.go=V;var ee=function(e){var t=e.onCancel,n=e.callback,r=(0,c.useRef)(),o=(0,c.useRef)(),i=(0,c.useRef)(),s=(0,c.useRef)(!1),l=(0,c.useRef)(!1),u=(0,c.useState)(0),d=a()(u,2),p=d[0],f=d[1],m=function(){var e=z()(H()().mark((function e(){var t,o;return H()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.current.makeImage(),e.next=3,(0,X.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:t.src}});case 3:o=e.sent,n({src:o.url});case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,c.useEffect)((function(){f(p+1)}),[]),(0,h.jsx)("div",{ref:l,className:s.current?"".concat($," body-overflow-initial"):"body-overflow-initial",children:(0,h.jsx)(K.Z,{width:1200,icon:null,footer:null,closable:!0,visible:!!p,destroyOnClose:!0,maskClosable:!1,getContainer:l.current,rootClassName:"zIndex-9999",title:(0,h.jsxs)(M.Z,{children:[(0,h.jsx)(J.Z,{flex:1,children:"插入流程图"}),(0,h.jsx)(J.Z,{onClick:function(){s.current=!s.current,f(p+1)},children:(0,h.jsx)("span",{className:"current c-blue mr30",style:{fontWeight:400},children:"展开/收起"})})]}),onCancel:t,children:(0,h.jsxs)("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},children:[(0,h.jsxs)("div",{style:{display:"flex",height:"100%"},children:[(0,h.jsxs)("div",{style:{width:"300px",height:"100%"},children:[(0,h.jsx)("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"},children:"图形库"}),(0,h.jsx)("div",{style:{height:"calc(100% - 50px)"},className:Q,ref:i})]}),(0,h.jsxs)("div",{style:{flex:1,position:"relative"},children:[(0,h.jsx)(U.FI,{initDiagram:function(){var e=V.GraphObject.make,t="#ff3333",n="#3358ff",a="#25ad23",s="#d533ff",l="#7d33ff",c="#ff6233",u="#ffffff",d="#000000",p="#fffcd5",f="#d5ebff",h="#f2dfe0",m="#a5d2fa",g="#cccccc",x="#b3e6b3",v="#fcbbbd";function w(t,n){var r=function(e,n){e.handled=!0,e.diagram.model.commit((function(r){var o=n.part.adornedPart,i=(new V.Point).setRectSpot(o.actualBounds,t);i.subtract(o.location),i.scale(2,2),i.x+=130*Math.sign(i.x),i.y+=130*Math.sign(i.y),i.add(o.location),i.snapToGridPoint(e.diagram.grid.gridOrigin,e.diagram.grid.gridCellSize);var a=r.copyNodeData(o.data);r.setGroupKeyForNodeData(a,r.getGroupKeyForNodeData(o.data)),r.addNodeData(a);var s={from:o.key,to:r.getKeyForNodeData(a)};r.addLinkData(s);var l=e.diagram.findNodeForData(a);l.location=i,e.diagram.select(l),setTimeout((function(){e.diagram.commandHandler.editTextBlock()}),20)}))};return e(V.Shape,{figure:n,alignment:t,alignmentFocus:t.opposite(),width:t.equals(V.Spot.Top)||t.equals(V.Spot.Bottom)?25:18,height:t.equals(V.Spot.Top)||t.equals(V.Spot.Bottom)?18:25,fill:"orange",stroke:u,strokeWidth:4,mouseEnter:function(e,t){return t.fill="dodgerblue"},mouseLeave:function(e,t){return t.fill="orange"},isActionable:!0,click:r,contextClick:r})}function y(t){return e(V.Shape,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:function(e,t){return t.fill="dodgerblue"},mouseLeave:function(e,t){return t.fill="orange"},click:function(e,t){e.diagram.commandHandler.showContextMenu(t.part.adornedPart)}},t||{})}function b(e,t){return function(n,r){n.handled=!0,n.diagram.model.commit((function(n){n.set(r.part.adornedPart.data,e,t)}))}}function k(t,n){return n||(n="color"),e(V.Shape,{width:16,height:16,stroke:"lightgray",fill:t,margin:1,background:"transparent",mouseEnter:function(e,t){return t.stroke="dodgerblue"},mouseLeave:function(e,t){return t.stroke="lightgray"},click:b(n,t),contextClick:b(n,t)})}function j(){return[e("ContextMenuButton",e(V.Panel,"Horizontal",k(u,"fill"),k(p,"fill"),k(f,"fill"),k(h,"fill"))),e("ContextMenuButton",e(V.Panel,"Horizontal",k(g,"fill"),k(x,"fill"),k(m,"fill"),k(v,"fill")))]}function _(){return[e("ContextMenuButton",e(V.Panel,"Horizontal",k(d),k(a),k(n),k(t))),e("ContextMenuButton",e(V.Panel,"Horizontal",k(u),k(s),k(l),k(c)))]}function S(t,n){return n||(n="thickness"),e(V.Shape,"LineH",{width:16,height:16,strokeWidth:t,margin:1,background:"transparent",mouseEnter:function(e,t){return t.background="dodgerblue"},mouseLeave:function(e,t){return t.background="transparent"},click:b(n,t),contextClick:b(n,t)})}function C(t,n){return n||(n="dash"),e(V.Shape,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:t,margin:1,background:"transparent",mouseEnter:function(e,t){return t.background="dodgerblue"},mouseLeave:function(e,t){return t.background="transparent"},click:b(n,t),contextClick:b(n,t)})}function A(){return[e("ContextMenuButton",e(V.Panel,"Horizontal",S(1),S(2),S(3),S(4))),e("ContextMenuButton",e(V.Panel,"Horizontal",C(null),C([2,4]),C([4,4])))]}function N(t,n){return n||(n="figure"),e(V.Shape,{width:32,height:32,scale:.5,fill:"lightgray",figure:t,margin:1,background:"transparent",mouseEnter:function(e,t){return t.fill="dodgerblue"},mouseLeave:function(e,t){return t.fill="lightgray"},click:b(n,t),contextClick:b(n,t)})}function B(t){return e(V.Shape,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(t+4).toString()+" H3"})}function T(t){var n="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return 0===t?n="M0 0 M16 16 M0 8 L16 8":2===t&&(n="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),e(V.Shape,{geometryString:n,margin:2,background:"transparent",mouseEnter:function(e,t){return t.background="dodgerblue"},mouseLeave:function(e,t){return t.background="transparent"},click:b("dir",t),contextClick:b("dir",t)})}function E(t){var n=function(e,n){e.handled=!0,e.diagram.model.commit((function(e){var r=n.part.adornedPart;e.set(r.data,t?"toSpot":"fromSpot",V.Spot.stringify(V.Spot.AllSides)),(t?r.toNode:r.fromNode).invalidateConnectedLinks()}))};return e(V.Shape,{width:12,height:12,fill:"transparent",mouseEnter:function(e,t){return t.background="dodgerblue"},mouseLeave:function(e,t){return t.background="transparent"},click:n,contextClick:n})}function P(t,n){var r=0,o=V.Spot.RightSide;t.equals(V.Spot.Top)?(r=270,o=V.Spot.TopSide):t.equals(V.Spot.Left)?(r=180,o=V.Spot.LeftSide):t.equals(V.Spot.Bottom)&&(r=90,o=V.Spot.BottomSide),n||(r-=180);var i=function(e,t){e.handled=!0,e.diagram.model.commit((function(e){var r=t.part.adornedPart;e.set(r.data,n?"toSpot":"fromSpot",V.Spot.stringify(o)),(n?r.toNode:r.fromNode).invalidateConnectedLinks()}))};return e(V.Shape,{alignment:t,alignmentFocus:t.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:r,background:"transparent",mouseEnter:function(e,t){return t.background="dodgerblue"},mouseLeave:function(e,t){return t.background="transparent"},click:i,contextClick:i})}return r.current=new V.Diagram(o.current,{padding:20,grid:e(V.Panel,"Grid",e(V.Shape,"LineH",{stroke:"lightgray",strokeWidth:.5}),e(V.Shape,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:function(e){e.diagram.commandHandler.addTopLevelParts(e.diagram.selection,!0)||e.diagram.currentTool.doCancel()},commandHandler:e(Y),"clickCreatingTool.archetypeNodeData":{text:"未命名",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:function(e){var t=e.subject;t.location=t.location.copy().snapToGridPoint(e.diagram.grid.gridOrigin,e.diagram.grid.gridCellSize),setTimeout((function(){e.diagram.commandHandler.editTextBlock()}),20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:function(e){e.subject;setTimeout((function(){e.diagram.commandHandler.editTextBlock()}))},LinkRelinked:function(e){e.parameter.part.invalidateConnectedLinks();var t=e.subject;e.diagram.toolManager.linkingTool.isForwards?t.toNode.invalidateConnectedLinks():t.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),r.current.nodeTemplate=e(V.Node,"Auto",{locationSpot:V.Spot.Center,locationObjectName:"SHAPE",desiredSize:new V.Size(120,60),minSize:new V.Size(40,40),resizable:!0,resizeCellSize:new V.Size(10,10),rotatable:!0},new V.Binding("location","loc",V.Point.parse).makeTwoWay(V.Point.stringify),new V.Binding("desiredSize","size",V.Size.parse).makeTwoWay(V.Size.stringify),e(V.Shape,{name:"SHAPE",fill:u,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:V.Spot.AllSides,toSpot:V.Spot.AllSides},new V.Binding("figure"),new V.Binding("fill"),new V.Binding("stroke","borderColor"),new V.Binding("strokeWidth","thickness"),new V.Binding("strokeDashArray","dash")),e(V.Shape,{width:100,height:20,strokeWidth:0,fill:"transparent"}),e(V.TextBlock,{margin:1,textAlign:"center",overflow:V.TextBlock.OverflowEllipsis,editable:!0},new V.Binding("text").makeTwoWay(),new V.Binding("stroke","color"))),r.current.nodeTemplate.toolTip=e("ToolTip",e(V.Panel,"Vertical",{maxSize:new V.Size(200,NaN)},e(V.TextBlock,{font:"bold 10pt sans-serif",textAlign:"center"},new V.Binding("text")),e(V.TextBlock,{font:"10pt sans-serif",textAlign:"center"},new V.Binding("text","details")))),r.current.nodeTemplate.selectionAdornmentTemplate=e(V.Adornment,"Spot",e(V.Placeholder,{padding:10}),w(V.Spot.Top,"TriangleUp"),w(V.Spot.Left,"TriangleLeft"),w(V.Spot.Right,"TriangleRight"),w(V.Spot.Bottom,"TriangleDown"),y({alignment:new V.Spot(.75,0)})),r.current.nodeTemplate.contextMenu=e("ContextMenu",e("ContextMenuButton",e(V.Panel,"Horizontal",N("Rectangle"),N("RoundedRectangle"),N("Ellipse"),N("Diamond"))),e("ContextMenuButton",e(V.Panel,"Horizontal",N("Parallelogram2"),N("ManualOperation"),N("Procedure"),N("Cylinder1"))),e("ContextMenuButton",e(V.Panel,"Horizontal",N("Terminator"),N("CreateRequest"),N("Document"),N("TriangleDown"))),j(),_(),A()),r.current.groupTemplate=e(V.Group,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:V.Spot.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:function(e,t){t.addMembers(t.diagram.selection,!0)||t.diagram.currentTool.doCancel()},avoidable:!1},new V.Binding("location","loc",V.Point.parse).makeTwoWay(V.Point.stringify),e(V.Panel,"Auto",{name:"BODY"},e(V.Shape,{parameter1:10,fill:u,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:V.Spot.AllSides,toSpot:V.Spot.AllSides},new V.Binding("fill"),new V.Binding("stroke","color"),new V.Binding("strokeWidth","thickness"),new V.Binding("strokeDashArray","dash")),e(V.Placeholder,{background:"transparent",margin:20})),e(V.TextBlock,{alignment:V.Spot.Top,alignmentFocus:V.Spot.Bottom,font:"bold 12pt sans-serif",editable:!0},new V.Binding("text"),new V.Binding("stroke","color"))),r.current.groupTemplate.selectionAdornmentTemplate=e(V.Adornment,"Spot",e(V.Panel,"Auto",e(V.Shape,{fill:null,stroke:"dodgerblue",strokeWidth:3}),e(V.Placeholder,{margin:1.5})),y({alignment:V.Spot.TopRight,alignmentFocus:V.Spot.BottomRight})),r.current.groupTemplate.contextMenu=e("ContextMenu",j(),_(),A()),r.current.linkTemplate=e(V.Link,{layerName:"Foreground",routing:V.Link.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new V.Binding("fromSpot","fromSpot",V.Spot.parse),new V.Binding("toSpot","toSpot",V.Spot.parse),new V.Binding("fromShortLength","dir",(function(e){return e>=1?10:0})),new V.Binding("toShortLength","dir",(function(e){return e>=1?10:0})),new V.Binding("points").makeTwoWay(),e(V.Shape,{strokeWidth:2},new V.Binding("stroke","color"),new V.Binding("strokeWidth","thickness"),new V.Binding("strokeDashArray","dash")),e(V.Shape,{segmentIndex:0,segmentOffset:new V.Point(15,0),segmentOrientation:V.Link.OrientAlong,alignmentFocus:V.Spot.Right,figure:"circle",width:10,strokeWidth:0},new V.Binding("fill","color"),new V.Binding("visible","dir",(function(e){return 1===e}))),e(V.Shape,{segmentIndex:-1,segmentOffset:new V.Point(-10,6),segmentOrientation:V.Link.OrientPlus90,alignmentFocus:V.Spot.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new V.Binding("fill","color"),new V.Binding("visible","dir",(function(e){return e>=1})),new V.Binding("width","thickness",(function(e){return 7+3*e})),new V.Binding("height","thickness",(function(e){return 7+3*e})),new V.Binding("segmentOffset","thickness",(function(e){return new V.Point(-15,4+1.5*e)}))),e(V.Shape,{segmentIndex:0,segmentOffset:new V.Point(15,-6),segmentOrientation:V.Link.OrientMinus90,alignmentFocus:V.Spot.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new V.Binding("fill","color"),new V.Binding("visible","dir",(function(e){return 2===e})),new V.Binding("width","thickness",(function(e){return 7+3*e})),new V.Binding("height","thickness",(function(e){return 7+3*e})),new V.Binding("segmentOffset","thickness",(function(e){return new V.Point(-15,4+1.5*e)}))),e(V.TextBlock,{alignmentFocus:new V.Spot(0,1,-4,0),editable:!0},new V.Binding("text").makeTwoWay(),new V.Binding("stroke","color"))),r.current.linkTemplate.selectionAdornmentTemplate=e(V.Adornment,e(V.Shape,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:B(2)},new V.Binding("pathPattern","thickness",B)),y({alignmentFocus:new V.Spot(0,0,-6,-4)})),r.current.linkTemplate.contextMenu=e("ContextMenu",_(),A(),e("ContextMenuButton",e(V.Panel,"Horizontal",T(0),T(1),T(2))),e("ContextMenuButton",e(V.Panel,"Horizontal",e(V.Panel,"Spot",E(!1),P(V.Spot.Top,!1),P(V.Spot.Left,!1),P(V.Spot.Right,!1),P(V.Spot.Bottom,!1)),e(V.Panel,"Spot",{margin:new V.Margin(0,0,0,2)},E(!0),P(V.Spot.Top,!0),P(V.Spot.Left,!0),P(V.Spot.Right,!0),P(V.Spot.Bottom,!0))))),new V.Palette(i.current,{maxSelectionCount:1,linkTemplate:e(V.Link,{locationSpot:V.Spot.Center,selectionAdornmentTemplate:e(V.Adornment,"Link",{locationSpot:V.Spot.Center},e(V.Shape,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),e(V.Shape,{toArrow:"Standard",stroke:null}))},{routing:V.Link.AvoidsNodes,curve:V.Link.JumpOver,corner:5,toShortLength:4},new V.Binding("points"),e(V.Shape,{isPanelMain:!0,strokeWidth:2}),e(V.Shape,{toArrow:"Standard",stroke:null})),model:new V.GraphLinksModel([{text:"未命名",size:"100 100",fill:null,stroke:"#000"}].concat(W()(V.Shape.getFigureGenerators().toArray().map((function(e){return{text:"未命名",size:"100 100",figure:e.key,fill:"white",stroke:"#666",borderColor:"#000"}})))))}).nodeTemplate=e(V.Node,"Auto",{locationSpot:V.Spot.Center},new V.Binding("location","location",V.Point.parse).makeTwoWay(V.Point.stringify),e(V.Shape,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new V.Binding("stroke").makeTwoWay(),new V.Binding("fill").makeTwoWay(),new V.Binding("figure")),e(V.TextBlock,{margin:new V.Margin(5,5,3,5),font:"10pt sans-serif",minSize:new V.Size(16,16),maxSize:new V.Size(10,NaN),textAlign:"center",editable:!0},new V.Binding("key").makeTwoWay())),setTimeout((function(){r.current.grid=e(V.Panel,"Grid",e(V.Shape,"LineH",{stroke:"lightgray",strokeWidth:.5}),e(V.Shape,"LineV",{stroke:"lightgray",strokeWidth:.5})),r.current.grid.visible=!0,r.current.grid.gridCellStroke="darkgray",r.current.grid.gridCellStrokeWidth=1}),300),window.myDiagrams=r.current,r.current},divClassName:"diagram-component",style:{height:"80vh"}}),(0,h.jsx)("div",{ref:o})]})]}),(0,h.jsx)("div",{className:"tr",children:(0,h.jsx)(_.ZP,{size:"large",onClick:m,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary",children:"保存到编辑器"})})]})})})},te=n(5112),ne=n(26220),re=te.ZP.Group,oe={margin:"0 8px"},ie=function(e){var t=e.callback,n=e.onCancel;return(0,h.jsxs)(k.Z,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:function(e){t(e)},children:[(0,h.jsxs)("div",{className:"flex-container",style:{alignItems:"baseline"},children:[(0,h.jsx)("span",{style:oe,children:"单元格数:"}),(0,h.jsx)("span",{style:oe,children:"行数"}),(0,h.jsx)(k.Z.Item,{name:"row",rules:[{required:!0,message:"请输入行数"}],children:(0,h.jsx)(ne.Z,{})}),(0,h.jsx)("span",{style:oe,children:"列数"}),(0,h.jsx)(k.Z.Item,{name:"col",rules:[{required:!0,message:"请输入列数"}],children:(0,h.jsx)(ne.Z,{})})]}),(0,h.jsxs)("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"},children:[(0,h.jsx)("span",{style:oe,children:"对齐方式:"}),(0,h.jsx)(k.Z.Item,{name:"align",children:(0,h.jsxs)(re,{children:[(0,h.jsx)(te.ZP,{value:"default",children:(0,h.jsx)("i",{className:"fa fa-align-justify"})}),(0,h.jsx)(te.ZP,{value:"left",children:(0,h.jsx)("i",{className:"fa fa-align-left"})}),(0,h.jsx)(te.ZP,{value:"center",children:(0,h.jsx)("i",{className:"fa fa-align-center"})}),(0,h.jsx)(te.ZP,{value:"right",children:(0,h.jsx)("i",{className:"fa fa-align-right"})})]})})]}),(0,h.jsxs)("div",{className:"flex-container flex-end",children:[(0,h.jsx)(_.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,h.jsx)(_.ZP,{type:"ghost",onClick:n,children:"取消"})]})]})},ae=n(78673),se=n(35575),le=n.n(se),ce=(0,c.forwardRef)((function(e,t){var n=e.use3d,r=e.width,o=e.height,i=e.callback,s=(e.showSaveButton,(0,c.useRef)()),l=(0,c.useRef)(),u=(0,c.useState)(!1),d=a()(u,2),p=d[0],f=d[1],m=(0,c.useRef)({id:s,appName:"graphing",width:r||1e3,height:o||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,c.useEffect)((function(){l.current=new(le())(m.current,!0),window.onload=function(){l.current.inject("applet_container")}}),[]);var g=function(){var e=window.ggbApplet.getPNGBase64(1,!0,72);return i&&i(e),e};return(0,c.useEffect)((function(){m.current.appName=p?"3D":"graphing",l.current.inject("applet_container")}),[p]),(0,c.useEffect)((function(){f(n)}),[n]),(0,c.useImperativeHandle)(t,(function(){return{getImgData:g}})),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:s}),(0,h.jsxs)(M.Z,{align:"middle",children:[(0,h.jsx)(J.Z,{flex:1,children:(0,h.jsx)(ae.Z,{size:"default",checkedChildren:"关闭3D图像",unCheckedChildren:"开启3D图像",checked:p,onChange:function(e){return f(e)}})}),(0,h.jsx)(J.Z,{children:(0,h.jsx)(_.ZP,{size:"large",onClick:g,style:{zIndex:8,marginTop:10},type:"primary",children:"保存到编辑器"})})]})]})})),ue=n(42594),de=n(57357),pe="link",fe="upload-image",he="add-flowchart",me="draw-image",ge="code-block",xe="add-table",ve="------------",we={default:ve,left:":".concat(ve),center:":".concat(ve,":"),right:"".concat(ve,":")},ye=n(40238);var be="@▁▁@",ke=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function je(e){return/^\d+$/.test(e)?"".concat(e,"px"):e}var _e=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Se=l()(l()({},_e+"-B","bold"),_e+"-I","italic"),Ce=l()(l()(l()(l()(l()(l()(l()(l()({},pe,"添加链接"),ge,"添加代码块"),fe,"添加图片"),me,"添加画图"),he,"插入流程图"),xe,"添加表格"),"maths-latex","数学图像"),"inline-latex","LATEX公式"),Ae=function(e){var t=e.defaultValue,n=void 0===t?"":t,r=e.onChange,i=e.width,s=void 0===i?"100%":i,u=e.height,g=void 0===u?400:u,x=e.miniToolbar,v=void 0!==x&&x,w=e.isFocus,k=void 0!==w&&w,j=e.watch,_=e.insertTemp,S=e.mode,B=void 0===S?"markdown":S,T=e.id,E=void 0===T?"markdown-editor-id":T,P=e.showResizeBar,I=void 0!==P&&P,M=e.noStorage,O=void 0!==M&&M,G=e.showNullButton,H=void 0!==G&&G,D=e.showNullProgramButton,z=void 0!==D&&D,F=e.hidetoolBar,W=void 0!==F&&F,V=e.fullScreen,q=void 0!==V&&V,Y=e.onBlur,U=e.onCMBeforeChange,J=e.onFullScreen,X=e.className,Q=void 0===X?"":X,$=e.disablePaste,te=void 0!==$&&$,ne=e.disabled,re=void 0!==ne&&ne,oe=e.disabledFill,ae=void 0!==oe&&oe,se=e.placeholder,le=void 0===se?"":se,ve=e.values,_e=void 0===ve?"":ve,Ae=e.extraUse,Ne=(0,c.useState)(null),Be=a()(Ne,2),Te=Be[0],Ee=Be[1],Pe=(0,c.useState)(n),Le=a()(Pe,2),Ie=Le[0],Ze=Le[1],Me=(0,c.useState)(j),Oe=a()(Me,2),Re=Oe[0],Ge=Oe[1],He=(0,c.useState)(q),De=a()(He,2),ze=De[0],Fe=De[1],We=(0,c.useState)(""),Ve=a()(We,2),qe=Ve[0],Ye=Ve[1],Ue=(0,c.useState)(0),Ke=a()(Ue,2),Je=Ke[0],Xe=Ke[1],Qe=(0,c.useState)(g),$e=a()(Qe,2),et=$e[0],tt=$e[1],nt=(0,c.useState)(!1),rt=a()(nt,2),ot=(rt[0],rt[1]),it=(0,c.useState)(0),at=a()(it,2),st=at[0],lt=at[1],ct=(0,c.useState)(0),ut=a()(ct,2),dt=ut[0],pt=ut[1],ft=(0,c.useRef)(),ht=(0,c.useRef)(),mt=(0,c.useRef)(),gt=(0,c.useRef)();(0,c.useEffect)((function(){var e=window.scrollY||window.pageYOffset;Ze(_e),null==Te||Te.setValue(_e),window.scrollTo(0,e)}),[_e]),(0,c.useEffect)((function(){null==J||J(ze)}),[ze]),(0,c.useEffect)((function(){if(ft.current){var e=function(e,n){if(!te){var r=n.clipboardData;if(r){var o=r.types.toString(),i=r.items;if("Files"===o||r.types.indexOf("Files")>-1){if(n.preventDefault(),"stex"==B)return;try{var a,s=i[1];"file"===(null===(a=i[0])||void 0===a?void 0:a.kind)&&(s=i[0]);var l=s.getAsFile(),c=l.name.split(".").pop();Z(l,(function(e){var n,r,o;e.id?(null==l||null===(n=l.type)||void 0===n?void 0:n.indexOf("image"))>-1?t.replaceSelection("![,](/api/attachments/".concat(e.id,"?type=").concat(e.content_type,")")):(null==l||null===(r=l.type)||void 0===r?void 0:r.indexOf("video"))>-1?t.replaceSelection('<video width="100%" controls src="'.concat(de.Z.API_SERVER,"/api/attachments/").concat(e.id,'"></video>')):(null==l||null===(o=l.type)||void 0===o?void 0:o.indexOf("pdf"))>-1?t.replaceSelection('<a href="'.concat(de.Z.API_SERVER,"/api/attachments/").concat(e.id,"?type=").concat(l.type,'&disposition=inline" target="_blank">').concat(l.name,"</a>")):ke.includes(c)?t.replaceSelection('<a href="'.concat(de.Z.API_SERVER,"/api/attachments/").concat(e.id,'?type=office&disposition=inline" target="_blank">').concat(l.name,"</a>")):t.replaceSelection("[".concat(l.name,"](").concat(de.Z.API_SERVER,"/api/attachments/").concat(e.id,"?type=").concat(e.content_type,")")):401===(null==e?void 0:e.status)&&(document.location.href="/user/login")}))}catch(n){N.ZP.warning("请使用chrome浏览器粘贴")}return!0}return!0}return!0}n.preventDefault()},t=d().fromTextArea(ft.current,{mode:B,lineNumbers:!v,lineWrapping:!0,value:n,autoCloseTags:!0,autoCloseBrackets:!0});return t.on("keyup",(function(e,n){8===n.keyCode&&(""==e.getValue()?t.setOption("placeholder",le):t.setOption("placeholder",null))})),t.on("keydown",(function(e,t){if(8===t.keyCode){var n=function(e,t){var n=e.getDoc(),r=n.getCursor(),o=n.getLine(r.line),i=o.charAt(r.ch-1),a=o.lastIndexOf("@▁@",r.ch),s=o.lastIndexOf("@▁▁@",r.ch),l=a>s?a:s,c=a>s?3:4;if(-1===be.indexOf(i))return null;if(console.log("change1:",t,e,o,r,l,a,s,i),l>=0&&r.ch-l<5){var u=l+c;return n.replaceRange("",{line:r.line,ch:l},{line:r.line,ch:u}),{line:r.line,ch:u}}return null}(e);n&&t.preventDefault()}})),k&&t.focus(),t.on("paste",e),re&&t.on("beforeChange",(function(e,t){"paste"!==t.origin&&"+input"!==t.origin||t.cancel()})),Ee(t),function(){t.off("paste",e)}}}),[]);var xt=(0,c.useCallback)((function(){ht.current}),[et,ht,ze]);(0,c.useEffect)((function(){if(Te){var e=function(){var e=new p.Z((function(e){var t,n=o()(e);try{for(n.s();!(t=n.n()).done;){var r=t.value;(r.target.offsetHeight>0||r.target.offsetWidth>0)&&(xt(),Te.setSize("100%","100%"),Te.refresh())}}catch(e){n.e(e)}finally{n.f()}}));return e.observe(ft.current.parentElement),e}();return function(){var t,n;null!==(t=ft.current)&&void 0!==t&&t.parentElement&&e.unobserve(null===(n=ft.current)||void 0===n?void 0:n.parentElement)}}}),[Te,xt]),(0,c.useEffect)((function(){if(Te){for(var e=[],t=function(){var t=a()(r[n],2),o=t[0],i=t[1],s=l()({},o,(function(){vt(i)}));e.push(s),Te.addKeyMap(s)},n=0,r=Object.entries(Se);n<r.length;n++)t();return function(){for(var t=0,n=e;t<n.length;t++){var r=n[t];Te.removeKeyMap(r)}}}}),[Te]),(0,c.useEffect)((function(){q!==ze&&Fe(q)}),[q]),(0,ye.Z)((function(){if(!O&&Je>0){var e=(new Date).getTime(),t=window.sessionStorage.getItem(E);e>=Je+1e4&&(!t||t!==Ie)&&(window.sessionStorage.setItem(E,Ie),ot(!0))}}),1e4),(0,c.useEffect)((function(){Ge(j)}),[Te,j]),(0,c.useEffect)((function(){Te&&k&&Te.focus()}),[Te,k]),(0,c.useEffect)((function(){if(Re&&Te){var e=function(e){var t=e.target;if(gt.current){var n=t.scrollTop/t.scrollHeight;gt.current.scrollTop=gt.current.scrollHeight*n}},t=Te.getScrollerElement();return t.addEventListener("scroll",e),function(){t.removeEventListener("scroll",e)}}}),[Te,Re]),(0,c.useEffect)((function(){if(Te&&U){var e=function(e,t){U(e,t)};return Te.on("beforeChange",e),function(){Te.off("beforeChange",e)}}}),[Te,U]),(0,c.useEffect)((function(){if(Te&&Y){var e=function(){Y(Te.getValue())};return Te.on("blur",e),function(){Te.off("blur",e)}}}),[Te,Y]),(0,c.useEffect)((function(){if(Te){var e=function(e,t){var n=e.getValue();Ze(n),Xe((new Date).getTime()),e.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),r&&(z?r(n,jt(n)):r(n))};return Te.on("change",e),function(){Te.off("change",e)}}}),[Te,r]),(0,c.useEffect)((function(){if(Te)if(null==n)Te.setValue(""),Ze("");else{var e=window.scrollY||window.pageYOffset;n!==Te.getValue()&&(Te.setValue(n),Ze(n),Te.setCursor(re?1:Te.lineCount(),0),window.scrollTo(0,e))}}),[Te,n]);var vt=(0,c.useCallback)((function(e){var t=Te.getCursor(),n=Te.getSelection(),r=n.split("\n");switch(e){case"bold":return Te.replaceSelection("**"+n+"**"),""===n&&Te.setCursor(t.line,t.ch+2),Te.focus();case"italic":return Te.replaceSelection("*"+n+"*"),""===n&&Te.setCursor(t.line,t.ch+1),Te.focus();case"code":return Te.replaceSelection("`"+n+"`"),""===n&&Te.setCursor(t.line,t.ch+1),Te.focus();case"inline-latex":return Ye("inline-latex"),Te.focus();case"latex":return Te.replaceSelection("```latex\n"+n+"\n```"),Te.setCursor(t.line+1,n.length+1),Te.focus();case"line-break":return Te.replaceSelection("<br/>\n"),Te.focus();case"list-ul":return""===n?Te.replaceSelection("- "+n):Te.replaceSelection(r.map((function(e){return""===e?"":"- ".concat(e)})).join("\n")),Te.focus();case"list-ol":return""===n?Te.replaceSelection("1. "+n):Te.replaceSelection(r.map((function(e,t){return""===e?"":"".concat(t+1,". ").concat(e)})).join("\n")),Te.focus();case"add-null-ch":return""===n&&Te.setCursor(t.line,t.ch),Te.replaceSelection("▁"),Te.focus();case"add-signal":return""===n&&Te.setCursor(t.line,t.ch),Te.replaceSelection("@▁@"),Te.focus();case"add-multiple":return""===n&&Te.setCursor(t.line,t.ch),Te.replaceSelection(be),Te.focus();case"inster-template-1":return""===n&&Te.setCursor(t.line,t.ch),Te.replaceSelection("\n**模板标题**\n模板正文内容可输入文本内容和粘贴图片等操作"),Te.focus();case"eraser":return Te.setValue(""),Te.focus();case"trigger-watch":return Ge(!Re),Te.focus();case"trigger-full-screen":return Fe(!ze),Te.focus();case pe:return void Ye(pe);case ge:return void Ye(ge);case fe:return void Ye(fe);case me:return void Ye(me);case"maths-latex":return void Ye("maths-latex");case he:return void Ye(he);case xe:return void Ye(xe);default:throw new Error}}),[Te,Re,ze]),wt=(0,c.useCallback)((function(e,t){var n,r,o,i,a;switch(Ye(""),qe){case pe:var s=e.title,l=e.link;return Te.replaceSelection("[".concat(s,"](").concat(l,")")),Te.focus();case ge:var c=e.language,u=e.content;return Te.replaceSelection(["```"+c,u,"```"].join("\n")),Te.focus();case"maths-latex":for(var d=atob(e),p=new Uint8Array(d.length),f=0;f<d.length;f++)p[f]=d.charCodeAt(f);Z(new Blob([p],{type:"image/png"}),(function(e){e.id?Te.replaceSelection("![,](/api/attachments/".concat(e.id,"?type=").concat(e.content_type,")")):401===(null==e?void 0:e.status)&&(document.location.href="/user/login")}));break;case"inline-latex":Te.replaceSelection("`$$"+e+"$$`");break;case fe:case me:case"add-flowchart":var h=e.src,m=e.alt,g=t,x=null==g||null===(n=g.name)||void 0===n||null===(n=n.split("."))||void 0===n||null===(r=n.pop)||void 0===r?void 0:r.call(n);return(null==g||null===(o=g.type)||void 0===o?void 0:o.indexOf("image"))>-1||null==g||!g.type?m?Te.replaceSelection("![ ".concat(m," ]( ").concat(h,' "').concat(m,'" )')):Te.replaceSelection("![,](".concat(h,")")):(null==g||null===(i=g.type)||void 0===i?void 0:i.indexOf("video"))>-1?Te.replaceSelection('<video width="100%" controls src="'.concat(de.Z.API_SERVER).concat(h,'"></video>')):(null==g||null===(a=g.type)||void 0===a?void 0:a.indexOf("pdf"))>-1?Te.replaceSelection('<a href="'.concat(de.Z.API_SERVER).concat(h,"?type=").concat(g.type,'&disposition=inline" target="_blank">').concat(g.name,"</a>")):ke.includes(x)?Te.replaceSelection('<a href="'.concat(de.Z.API_SERVER).concat(h,'?type=office&disposition=inline" target="_blank">').concat(g.name,"</a>")):Te.replaceSelection("[".concat(g.name,"](").concat(de.Z.API_SERVER).concat(h,")")),Te.focus();case xe:for(var v=e.row,w=e.col,y=e.align,b="\n",k=0;k<v;k++){for(var j=[],_=[],S=0;S<w;S++)1===k&&_.push(we[y]),j.push(" ");1===k&&(b+="| ".concat(_.join(" | ")," |\n")),b+="| ".concat(j.join(1===w?"":" | ")," |\n")}return Te.replaceSelection(b+"\n"),Te.focus();default:throw new Error}}),[Te,qe]),yt=(0,c.useMemo)((function(){switch(qe){case pe:return(0,h.jsx)(C,{callback:wt,onCancel:bt});case ge:return(0,h.jsx)(A.Z,{callback:wt,onCancel:bt});case fe:return(0,h.jsx)(L,{callback:wt,onCancel:bt});case he:return(0,h.jsx)(ee,{callback:wt,onCancel:bt});case xe:return(0,h.jsx)(ie,{callback:wt,onCancel:bt});case"maths-latex":return(0,h.jsx)(ce,{showSaveButton:!0,callback:wt});case"inline-latex":return(0,h.jsx)(ue.Z,{showSaveButton:!0,callback:wt});default:return null}}),[qe]);function bt(){Ye("")}(0,c.useEffect)((function(){if(mt.current){var e=function(e){o=!0,i=e.pageY},t=function(){o=!1},n=function(e){if(o){var t=e.pageY-i;t<0&&(t=0),t>300&&(t=300),tt(g+t+"px")}},r=mt.current,o=!1,i=0;return r.addEventListener("mousedown",e),document.addEventListener("mousemove",n),document.addEventListener("mouseup",t),function(){r.removeEventListener("mousedown",e),document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",t)}}}),[Te,mt]),(0,c.useEffect)((function(){tt(g)}),[g]);var kt={width:je(s),height:je(et)},jt=((0,c.useMemo)((function(){if(Je){var e=new Date(Je),t=e.getHours(),n=e.getMinutes(),r=e.getSeconds();return n=n<10?"0"+n:n,r=r<10?"0"+r:r,"".concat(t=t<10?"0"+t:t,":").concat(n,":").concat(r)}return 0}),[Je]),function(e){var t=[];if(z){e=e.replace(/(@▁▁@|@▁@)/g,(function(e,n,r){t.push({multiLine:!("@▁@"===e)})}))}return t});(0,c.useEffect)((function(){if(Ce[qe]&&qe!==me&&qe!==he){var e=document.getElementsByClassName("ant-modal")[0],t=window.innerWidth/2-e.offsetWidth/2,n=window.innerHeight/2-e.offsetHeight/2;lt(t),pt(n)}}),[qe]);var _t=function(e,t,n,r){var o=document.body.clientHeight,i=document.body.clientWidth;return!(e<20&&n>e||e>i-20&&n<e||t<20&&r>t||t>o-20&&r<t)||(document.body.onmousemove=null,document.body.onmouseup=null,!1)};return(0,h.jsxs)(c.Fragment,{children:[(0,h.jsx)("div",{className:"markdown-editor-wrapper",ref:ht,children:(0,h.jsxs)("div",{className:"markdown-editor-container ".concat(Q," ").concat(Re?"on-preview":""," ").concat(v?"mini":""," ").concat(ze?"full-screen":""),style:kt,children:[(0,h.jsx)(y,{insertTemp:_,watch:Re,fullScreen:ze,showNullButton:H,showNullProgramButton:z,onActionCallback:vt,hidetoolBar:W,extraUse:Ae}),(0,h.jsxs)("div",{className:"markdown-editor-body",children:[(0,h.jsx)("div",{className:"codemirror-container",children:(0,h.jsx)("textarea",{ref:ft,placeholder:le})}),Re?(0,h.jsxs)("div",{ref:gt,className:"preview-container",children:["stex"===B&&(0,h.jsx)(m,{value:Ie}),"stex"!==B&&(0,h.jsx)(f.Z,{disabledFill:ae,showProgramFill:z,value:Ie})]}):null]})]})}),I?(0,h.jsx)("a",{ref:mt,className:"editor-resize"}):null,qe===me&&(0,h.jsx)(R,{callback:wt,onCancel:bt}),qe===he&&(0,h.jsx)(ee,{callback:wt,onCancel:bt}),(0,h.jsx)(b.Z,{children:Ce[qe]&&qe!==me&&qe!==he?(0,h.jsx)(K.Z,{maskClosable:!1,centered:!0,style:{position:"absolute",left:st,top:dt},title:(0,h.jsx)("div",{style:{cursor:"move"},onMouseDown:function(e){e.preventDefault();var t=e.clientX-st,n=e.clientY-dt;document.body.onmousemove=function(e){var r=e.clientX-t,o=e.clientY-n,i=document.getElementsByClassName("ant-modal")[0],a=window.innerWidth-i.offsetWidth,s=window.innerHeight-i.offsetHeight;r=Math.max(0,Math.min(r,a)),o=Math.max(0,Math.min(o,s)),_t(e.clientX,e.clientY,t,n)&&(lt(r),pt(o))},document.body.onmouseup=function(){document.body.onmousemove=null}},children:Ce[qe]}),open:!0,onCancel:bt,footer:null,destroyOnClose:!0,width:qe===he?"1200px":null,height:qe===he?"80vh":null,className:"markdown-popup-form",children:yt}):null})]})}},30043:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(82100),o=n.n(r),i=n(29186),a=n.n(i),s=n(80619),l=n.n(s),c=n(47074),u=n.n(c),d=n(59301),p=n(4676),f=function(e){l()(n,e);var t=u()(n);function n(e){var r;o()(this,n),r=t.call(this,e);var i=window.document;return r.node=i.createElement("div"),i.body.appendChild(r.node),r}return a()(n,[{key:"render",value:function(){var e=this.props.children;return(0,p.createPortal)(e,this.node)}},{key:"componentWillUnmount",value:function(){window.document.body.removeChild(this.node)}}]),n}(d.Component)},40238:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(59301);function o(e,t){var n=(0,r.useRef)();(0,r.useEffect)((function(){n.current=e})),(0,r.useEffect)((function(){if(null!==t){var e=setInterval((function(){n.current()}),t);return function(){return clearInterval(e)}}}),[t])}},81860:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Se}});var r=n(7557),o=n.n(r),i=n(41498),a=n.n(i),s=n(82242),l=n.n(s),c=n(79800),u=n.n(c),d=n(39647),p=n.n(d),f=n(59301),h=n(99232),m=n.n(h),g=n(86129),x=n.n(g),v=n(90694),w=n(46681),y=n(43418),b=n(8591),k=n(56511),j=n(66104),_=n(95237),S=n(43604),C=n(3113),A=n(6848),N=n(28103),B=n(98135),T=n(14491),E=n(22596),P=n(87026),L=n(88289),I=n(20360),Z=n(57357),M=n(64330),O=n(41282),R=n(42441),G={flex_box_center:"flex_box_center___KJUhi",flex_space_between:"flex_space_between____N4uH",flex_box_vertical_center:"flex_box_vertical_center___yOdsz",flex_box_center_end:"flex_box_center_end___seJB9",flex_box_column:"flex_box_column___ihHC5",title:"title___JSmnB",export:"export___pgR1H",title1_right:"title1_right___MdWJo",userPic:"userPic___UeG3e",userInfo:"userInfo___TNu6l",listItem:"listItem___wdbM_",rightInfo:"rightInfo___Swqk5",shixunTitle:"shixunTitle___L2Tc4",shixunWrp:"shixunWrp___ZoaTc",footerBar:"footerBar___QW5rq",footerBarStatic:"footerBarStatic___CRq8b",exitComment:"exitComment___u4Rqt",nextComment:"nextComment___lvaID",modal:"modal___g3B3L"},H=n(37712),D={normal:{opacity:.8,shadowBlur:10,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"rgba(0, 0, 0, 0)",color:"#2e65ad"}},z=(0,w.connect)((function(e){var t=e.shixunHomeworks,n=e.loading;return{shixunHomeworks:t,globalSetting:e.globalSetting,loading:n.effects}}))((function(e){var t,n=e.shixunHomeworks,r=e.data,o=(e.globalSetting,e.loading,e.dispatch,n.shixunWorkReport),i=(null==r||null===(t=r.efficiency_list)||void 0===t?void 0:t.length)-parseInt(null==r?void 0:r.myself_eff[0]);return(0,H.jsxs)(f.Fragment,{children:[(0,H.jsx)("aside",{className:"ml60 pr30",children:(0,H.jsxs)(_.Z,{children:[(0,H.jsx)(S.Z,{flex:"800px",children:(0,H.jsx)(R.Z,{style:{width:750,height:580},option:{title:{text:"学习效率",subtext:"学习效率=log(实训总得分/实训总耗时)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{left:"3%",right:"9%",bottom:"3%",containLabel:!0},tooltip:{showDelay:0,formatter:function(e){return e.name===o.username?"姓名:"+o.username+"<br/>学号: "+o.user_id+"<br/>效率:"+(null==r?void 0:r.myself_eff[1]):e.name+":"+e.value+" "},axisPointer:{show:!0,type:"cross",lineStyle:{type:"dashed",width:1}}},xAxis:[{type:"value",name:"学生位置",nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:""},axisTick:{show:!1},splitLine:{show:!1}}],yAxis:[{type:"value",name:" ",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},scale:!0,axisLabel:{formatter:"{value}"},splitLine:{show:!1}}],series:[{name:"",type:"scatter",data:null==r?void 0:r.efficiency_list,itemStyle:{normal:{color:"#2e65ad"}},markArea:{silent:!0,itemStyle:{normal:{color:"transparent",borderWidth:1,borderType:"dashed"}},data:[[{name:"学习效率分布区间",xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},markPoint:{data:[{name:o.username,xAxis:i,yAxis:null==r?void 0:r.myself_eff[1],value:null==r?void 0:r.myself_eff[1]}],itemStyle:{normal:{color:"#c23531"}}},markLine:{lineStyle:{normal:{type:"solid",color:"#ff6800"}},data:[{type:"average",name:"中位值"}]}}]}})}),(0,H.jsx)(S.Z,{flex:"1",children:(0,H.jsxs)("aside",{className:G.rightInfo,children:[(0,H.jsxs)("ul",{children:[(0,H.jsxs)("li",{children:[(0,H.jsx)("span",{children:"姓名"})," ",(0,H.jsx)("span",{className:"ml30",children:o.username})]}),(0,H.jsxs)("li",{children:[(0,H.jsx)("span",{children:"学号"})," ",(0,H.jsx)("span",{className:"ml30",children:o.student_id||"--"})]}),(0,H.jsxs)("li",{children:[(0,H.jsx)("span",{children:"学习效率"})," ",(0,H.jsx)("span",{className:"ml30 c-orange",children:null==r?void 0:r.myself_eff[1]})]}),(0,H.jsxs)("li",{children:[(0,H.jsx)("span",{children:"当前排名"})," ",(0,H.jsx)("span",{className:"ml30 c-orange",children:null==r?void 0:r.myself_eff[0]})]})]}),(0,H.jsxs)("p",{children:["1个小圆点代表1个学生的学习效率",(0,H.jsx)("br",{}),"红色水滴表示当前学生的学习效率值",(0,H.jsx)("br",{}),"小圆点越高,学习效率越高",(0,H.jsx)("br",{}),"橙色横向箭头:中位值,表示整个课堂学生表现的平均值"]})]})})]})}),(0,H.jsx)("aside",{className:"ml60 pr30",children:(0,H.jsxs)(_.Z,{children:[(0,H.jsx)(S.Z,{flex:"800px",children:(0,H.jsx)(R.Z,{style:{width:750,height:580},option:{title:{text:"能力值",subtext:"能力值(实训获得经验值/实训评测次数)"},backgroundColor:"#fff",color:["#dd4444","#fec42c","#80F1BE"],grid:{x:"10%",x2:150,y:"18%",y2:"10%"},tooltip:{padding:10,backgroundColor:"#222",borderColor:"#777",borderWidth:1,formatter:function(e){if(e.value,e.name===o.username)return"姓名:"+o.username+"<br/>学号: "+o.user_id+"<br/>得分:"+(null==r?void 0:r.myself_object[1])}},xAxis:{type:"value",name:"log(实训的总时间)",nameGap:16,nameTextStyle:{color:"#000",fontSize:14},splitLine:{show:!1},axisLine:{lineStyle:{color:"#000"}}},yAxis:{type:"value",name:" ",nameLocation:"end",nameGap:20,nameTextStyle:{color:"#000",fontSize:12},axisLine:{lineStyle:{color:"#000"}},splitLine:{show:!1}},series:[{name:"能力",type:"scatter",itemStyle:D,data:null==r?void 0:r.consume_list,symbolSize:function(e){return Math.round(e[2])},markPoint:{data:[{name:o.username,xAxis:null==r?void 0:r.myself_object[0],yAxis:null==r?void 0:r.myself_object[1],value:null==r?void 0:r.myself_object[1]}],itemStyle:{normal:{color:"#c23531"}}}}]}})}),(0,H.jsx)(S.Z,{flex:"1",children:(0,H.jsxs)("aside",{className:G.rightInfo,children:[(0,H.jsxs)("ul",{children:[(0,H.jsxs)("li",{children:[(0,H.jsx)("span",{children:"姓名"})," ",(0,H.jsx)("span",{className:"ml30",children:o.username})]}),(0,H.jsxs)("li",{children:[(0,H.jsx)("span",{children:"学号"})," ",(0,H.jsx)("span",{className:"ml30",children:o.student_id||"--"})]}),(0,H.jsxs)("li",{children:[(0,H.jsx)("span",{children:"能力"})," ",(0,H.jsx)("span",{className:"ml30 c-orange",children:null==r?void 0:r.myself_object[1]})]})]}),(0,H.jsxs)("p",{children:["1个小圆点代表1个学生的能力值",(0,H.jsx)("br",{}),"红色水滴表示当前学生的能力值",(0,H.jsx)("br",{}),"小圆圈越大,评测次数越少",(0,H.jsx)("br",{})]})]})})]})})]})})),F=n(77876),W=n(26220),V=function(e){var t=e.defaultValue,n=e.onBlur,r=e.max,o=e.className,i=void 0===o?"game-score":o,a=(0,f.useState)(t),s=u()(a,2),l=s[0],c=s[1];return(0,f.useEffect)((function(){c(t)}),[t]),(0,H.jsx)(W.Z,{max:r,min:0,className:i,value:l,onChange:function(e){c(e)},onBlur:function(){l!==t&&n(l>r?r:l)}})},q=n(57809),Y=n(77162),U="md___TEmcT",K=q.default.Option,J={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1},X=function(e){return e[e.SET_PATH=0]="SET_PATH",e[e.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",e}(X||{});function Q(e,t){switch(t.type){case X.SET_PATH:return l()(l()({},e),{},{selectedPath:t.payload});case X.GET_PASSED_CONTENT:return l()(l()({},e),{},{passedContent:t.payload});default:throw new Error}}var $=function(e){var t,n,r=e.path,o=(e.game_id,e.onPathChange,e.autoHeight),i=e.diff_code_count,a=e.data,s=e.game_codes_cn,l=r.split("").filter((function(e){return!!e})),c=(0,f.useReducer)(Q,{selectedPath:l[0],passedContent:{language:"python",content:""}}),d=u()(c,2),p=d[0],h=d[1],m=p.selectedPath,g=p.passedContent;return(0,H.jsxs)(H.Fragment,{children:[(0,H.jsxs)("h2",{children:[" ",(0,H.jsxs)("span",{children:[s,s&&(0,H.jsx)("span",{className:"ml5 font12 c-grey-999",children:{"最后通关代码":"通过了本题,在作业时间内最后一次提交的通关代码","最新代码":"未通过本题,展示最新编写的代码详情","截止后通关代码":"在作业时间结束后通关该题的代码详情"}[s]})]}),i&&(0,H.jsxs)("span",{style:{marginLeft:"50px"},children:["代码修改行数 ",i]}),(0,H.jsx)("span",{children:(0,H.jsxs)(q.default,{style:{width:200},value:m,onChange:function(e){h({type:X.SET_PATH,payload:e})},children:[" ",l.map((function(e){return(0,H.jsx)(K,{value:e,children:e},e)}))," "]})})," "]}),"md"===(null==m?void 0:m.split(".")[1])&&(0,H.jsx)(Y.Z,{height:300,autoHeight:o,defaultValue:(null==a||null===(t=a.filter((function(e){return e.path===m})))||void 0===t||null===(t=t[0])||void 0===t?void 0:t.content)||"",className:U}),"md"!==(null==m?void 0:m.split(".")[1])&&(0,H.jsx)(F.ZP,{height:300,language:g.language,value:(null==a||null===(n=a.filter((function(e){return e.path===m})))||void 0===n||null===(n=n[0])||void 0===n?void 0:n.content)||"",autoHeight:o,theme:"default",options:J})]})},ee=n(76444),te=n(12911),ne=n.n(te),re=(0,w.connect)((function(e){var t=e.shixunHomeworks,n=e.loading,r=e.globalSetting,o=e.classroomList;return{shixunHomeworks:t,globalSetting:r,loading:n.effects,classroomList:o}}))((function(e){var t=e.shixunHomeworks,n=e.autoHeight,r=e.classroomList,i=e.dispatch,s=t.shixunWorkReport,c=s.stage_list,d=s.work_id,p=(0,f.useState)(!1),h=u()(p,2),g=h[0],x=h[1],k=(0,f.useState)(!0),j=u()(k,2),_=j[0],S=j[1],C=(0,f.useState)({left:0,top:0,bottom:0,right:0}),A=u()(C,2),N=A[0],B=A[1],E=(0,f.useRef)(null),P=(0,f.useState)(!1),L=u()(P,2),I=L[0],Z=L[1],O=(0,w.useParams)(),R=(0,M.GJ)();(0,f.useEffect)((function(){console.log(O)}),[]);var D=[{title:"评测次数",dataIndex:"position",width:"100px"},{title:"详细信息",dataIndex:"output_detail"},{title:"评测耗时(S)",dataIndex:"ts_time",width:"130px"},{title:"内存消耗(MB)",width:"150px",dataIndex:"ts_mem"},{title:"评测时间",width:"170px",dataIndex:"created_at",render:function(e){return m()(e).format("YYYY-MM-DD HH:mm")}},{title:"操作",width:"80px",dataIndex:"query_index",render:function(e,t){return(0,H.jsx)("span",{className:"c-blue current",onClick:a()(o()().mark((function e(){var n,r;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ee.Lk)(t.game_identifier,{path:null===(n=t.path)||void 0===n||null===(n=n.replace(/\/g,";"))||void 0===n?void 0:n.split(";")[0],query_index:t.query_index,homework_common_id:O.categoryId});case 2:0===(null==(r=e.sent)?void 0:r.status)&&(Z(r),x(!0));case 4:case"end":return e.stop()}}),e)}))),children:t.query_index?"查看代码":""})}}];function z(){return(z=a()(o()().mark((function e(t,n){var r,a;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=c[t].challenge_id,e.next=3,i({type:"shixunHomeworks/changeScore",payload:{categoryId:O.homeworkId,type:"report",score:n,challenge_id:r}});case 3:return a=e.sent,e.next=6,i({type:"shixunHomeworks/getShixunWorkReport",payload:l()({},O)});case 6:0===a.status&&b.ZP.success("操作成功");case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function W(e,t){return(0,v.U2)("student_works/".concat(d,"/rep_passed_content.json"),{path:t,game_id:e})}var q=s.shixun_detail;return(0,H.jsxs)(f.Fragment,{children:[null==q?void 0:q.map((function(e,t){var o;return(0,H.jsx)("div",{children:(0,H.jsxs)("aside",{className:"pl30 pr30",children:[(0,H.jsxs)("div",{className:"".concat(G.shixunTitle," mt10"),children:[(0,H.jsxs)("div",{children:[(0,H.jsx)("span",{className:"fa fa-code "}),(0,H.jsxs)("strong",{className:"c-black",children:["第",t+1,"关 ",(0,H.jsx)(w.Link,{className:"c-black",target:"_blank",to:"/tasks/".concat(e.game_identifier),children:e.subject})]})]}),R?(0,H.jsxs)("span",{children:["调分:",(0,H.jsx)(V,{className:"game-score",max:c[t].game_score_full,defaultValue:c[t].game_score,onBlur:function(e){var n;!(0,M.Rm)()||null!==(n=r.AssistantObject.practice)&&void 0!==n&&n.can_appraise?function(e,t){z.apply(this,arguments)}(t,e):b.ZP.warning("您未获取此权限,需向管理员申请权限才能使用此功能")}})]}):null]}),(0,H.jsxs)("div",{className:"font16 mt10",children:[0===e.st&&(e.path?"string"==typeof(null==e?void 0:e.game_codes_cn)?(0,H.jsx)("aside",{className:G.shixunWrp,children:(0,H.jsx)($,{game_codes_cn:null==e?void 0:e.game_codes_cn,autoHeight:n,path:e.path,game_id:e.id,data:e.game_codes,diff_code_count:e.diff_code_count,onPathChange:W})}):(0,H.jsx)("div",{className:"font14",style:{border:"1px solid #d9d9d9",padding:"6px 10px"},children:" 提示:纯图形化、命令行的实训不展示通关代码,如需查看学生代码请前往作业列表导出实验文件。"}):"目前图形化、命令行、Vscode编辑器、选择题模式的实验暂时无法使用此功能"),1===e.st&&(0===e.complete_status?"本关暂未通过,无通关代码":"目前图形化、命令行、Vscode编辑器、选择题模式的实验暂时无法使用此功能")]}),(0,H.jsx)("aside",{className:"mt10 font16",children:null!==(o=e.outputs)&&void 0!==o&&o.length?(0,H.jsx)(T.Z,{columns:D,pagination:{hideOnSinglePage:!0},dataSource:e.outputs.map((function(t){return l()(l()({},e),t)}))}):"本关无评测记录"})]},t)},t)})),(0,H.jsx)(y.Z,{open:g,width:900,okText:"关闭",cancelButtonProps:{style:{display:"none"}},onOk:function(){Z({}),x(!1)},onCancel:function(){Z({}),x(!1)},title:(0,H.jsx)("div",{style:{width:"100%",cursor:"move"},onMouseOver:function(){_&&S(!1)},onMouseOut:function(){S(!0)},onFocus:function(){},onBlur:function(){},children:"代码内容"}),modalRender:function(e){return(0,H.jsx)(ne(),{disabled:_,bounds:N,nodeRef:E,onStart:function(e,t){return function(e,t){var n,r=window.document.documentElement,o=r.clientWidth,i=r.clientHeight,a=null===(n=E.current)||void 0===n?void 0:n.getBoundingClientRect();a&&B({left:-a.left+t.x,right:o-(a.right-t.x),top:-a.top+t.y,bottom:i-(a.bottom-t.y)})}(0,t)},children:(0,H.jsx)("div",{ref:E,children:e})})},children:(0,H.jsx)(F.ZP,{height:500,autoHeight:n,language:"python",theme:"default",value:decodeURIComponent(escape(window.atob((null==I?void 0:I.content)||""))),options:{selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1}})})]})})),oe=n(78241),ie="greyText___nOpNq",ae="info___nBB3c",se="label___P6my8",le="blackContent___O4HnS",ce="orangeContent___JBF44",ue="inputLabel___B2GAs",de="tableTitle___IqAxM",pe="scoreTable___RJvpU",fe=(0,w.connect)((function(e){return{shixunHomeworks:e.shixunHomeworks,classroomList:e.classroomList}}))((function(e){var t=e.shixunHomeworks,n=e.dispatch,r=e.classroomList,i=t.shixunWorkReport,s=(0,w.useParams)(),c=(0,f.useState)(!1),d=u()(c,2),p=d[0],h=d[1],m=oe.Z.useForm(),g=u()(m,1)[0];(0,f.useEffect)((function(){var e,n;"更改点评"===t.actionTabs.key&&g.setFieldsValue({comment:null===(e=t.actionTabs.selectArrs)||void 0===e||null===(e=e.data)||void 0===e?void 0:e.work_comment,hidden_comment:null===(n=t.actionTabs.selectArrs)||void 0===n||null===(n=n.data)||void 0===n?void 0:n.work_comment_hidden})}),[t.actionTabs.key]);var x=function(){var e=a()(o()().mark((function e(){var t;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=g.getFieldsValue(),e.next=3,(0,v.ZP)("/api/student_works/".concat(s.homeworkId,"/shixun_work_comment.json"),{method:"post",body:{hidden_comment:t.hidden_comment,comment:t.comment}});case 3:0===e.sent.status&&(b.ZP.success("评阅成功"),g.resetFields(),n({type:"shixunHomeworks/setActionTabs",payload:{}}),n({type:"shixunHomeworks/getShixunWorkReport",payload:l()({},s)}));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),k=[{title:"关卡",dataIndex:"name",render:function(e,t,n){return n+1}},{title:"任务名称",dataIndex:"name",render:function(e,t,n){return(0,H.jsxs)("div",{children:[e,4===t.complete_status&&(0,H.jsx)(O.vA,{status:t.complete_status})]})}},{title:"开始时间",dataIndex:"open_time"},{title:"完成时间",dataIndex:"finished_time"},{title:"评测次数",dataIndex:"evaluate_count",align:"center"},{title:"实训耗时",dataIndex:"time_consuming"},{title:"是否查看答案",dataIndex:"view_answer",align:"center",render:function(e){return e?"是":"否"}},{title:"关卡得分",dataIndex:"game_score",align:"center",render:function(e,t){return(0,H.jsxs)("div",{children:[(0,H.jsx)("span",{style:{color:parseFloat(t.game_score_full)!==parseFloat(e)?"#E30000":"#53C41B"},children:e}),"/",t.game_score_full]})}},{title:"调分",dataIndex:"game_score",align:"center",fixed:"right",render:function(e,t){return(0,M.GJ)()?(0,H.jsx)(V,{max:t.game_score_full,defaultValue:parseFloat(e),onBlur:function(){var e=a()(o()().mark((function e(i){var a,c;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(0,M.Rm)()||null!==(a=r.AssistantObject.practice)&&void 0!==a&&a.can_appraise){e.next=3;break}return b.ZP.warning("您未获取此权限,需向管理员申请权限才能使用此功能"),e.abrupt("return");case 3:return e.next=5,n({type:"shixunHomeworks/changeScore",payload:{categoryId:s.homeworkId,type:"report",score:i,challenge_id:t.challenge_id}});case 5:return c=e.sent,e.next=8,n({type:"shixunHomeworks/getShixunWorkReport",payload:l()({},s)});case 8:0===c.status&&b.ZP.success("操作成功");case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}):e}}];return(0,H.jsxs)(y.Z,{centered:!0,width:1080,title:"点评作业",open:"更改点评"===t.actionTabs.key,okText:"确定",cancelText:"取消",onOk:a()(o()().mark((function e(){var t,n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(0,M.Rm)()||null!==(t=r.AssistantObject.practice)&&void 0!==t&&t.can_appraise){e.next=3;break}return b.ZP.warning("您未获取此权限,需向管理员申请权限才能使用此功能"),e.abrupt("return");case 3:n=g.getFieldsValue(),"{}"===JSON.stringify(n)||""===n.hidden_comment&&""===n.comment?h(!0):x();case 5:case"end":return e.stop()}}),e)}))),onCancel:function(){n({type:"shixunHomeworks/setActionTabs",payload:{}})},children:[(0,H.jsxs)(_.Z,{justify:"space-between",className:ae,children:[(0,H.jsxs)(S.Z,{children:[(0,H.jsx)("span",{className:"".concat(se," ").concat(ie),children:"姓名"}),(0,H.jsx)("span",{className:le,children:null==i?void 0:i.username})]}),(0,H.jsxs)(S.Z,{children:[(0,H.jsx)("span",{className:"".concat(se," ").concat(ie),children:"学号"}),(0,H.jsx)("span",{className:le,children:(null==i?void 0:i.student_id)||"--"})]}),(0,H.jsxs)(S.Z,{children:[(0,H.jsx)("span",{className:"".concat(se," ").concat(ie),children:"班级"}),(0,H.jsx)("span",{className:le,children:(null==i?void 0:i.group_name)||"--"})]}),(0,H.jsxs)(S.Z,{children:[(0,H.jsx)("span",{className:"".concat(se," ").concat(ie),children:"关卡得分"}),(0,H.jsx)("span",{className:ce,children:(null==i?void 0:i.challenge_score)||"--"})]}),(0,H.jsxs)(S.Z,{children:[(0,H.jsx)("span",{className:"".concat(se," ").concat(ie),children:"效率分"}),(0,H.jsx)("span",{className:ce,children:(null==i?void 0:i.eff_score)||"--"})]}),(0,H.jsxs)(S.Z,{children:[(0,H.jsx)("span",{className:"".concat(se," ").concat(ie),children:"迟交扣分"}),(0,H.jsx)("span",{className:ce,children:(null==i?void 0:i.late_penalty)||"--"})]}),(0,H.jsxs)(S.Z,{children:[(0,H.jsx)("span",{className:"".concat(se," ").concat(ie),children:"最终成绩"}),(0,H.jsx)("span",{className:ce,children:(null==i?void 0:i.work_score)||"--"})]})]}),(0,H.jsxs)(oe.Z,{form:g,onChange:function(){p&&h(!1)},children:[(0,H.jsx)("div",{className:"".concat(ue," ").concat(ie),children:"学生和课堂老师可见"}),(0,H.jsx)(oe.Z.Item,{name:"comment",children:(0,H.jsx)(B.Z.TextArea,{placeholder:"请输入评阅内容",rows:3})}),(0,H.jsx)("div",{className:"".concat(ue," ").concat(ie),children:"仅课堂老师可见"}),(0,H.jsx)(oe.Z.Item,{name:"hidden_comment",children:(0,H.jsx)(B.Z.TextArea,{placeholder:"请输入评阅内容",rows:3})})]}),p&&(0,H.jsx)("p",{className:"c-red",children:"评阅内容至少有一个不为空"}),(0,H.jsx)("div",{className:de,children:"关卡成绩"}),(0,H.jsx)(T.Z,{className:pe,dataSource:i.stage_list,rowKey:"challenge_id",pagination:!1,columns:k,scroll:{x:"max-content"}})]})})),he=n(60264),me=n(36653),ge=n(64157),xe=n(44425),ve=n.n(xe),we="wrap___LZOi9",ye="line___oju0L",be=n(73014),ke=function(e){var t,n=e.detailData;return(0,H.jsx)("div",{className:we,children:(0,H.jsxs)(be.ij,{hideBar:!0,actionAnalysis:!0,loading:!1,emptyData:[(0,be.Uf)(n),(null==n?void 0:n.photos)||[]],title:"实训学习分析",noDataText:"该学生无学习行为分析数据",children:[(0,H.jsx)(be.ZP,{hideBar:!0,title:"实训学习分析",data:(0,be.Uf)(n)}),!(null==n||null===(t=n.photos)||void 0===t||!t.length)&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)("div",{className:ye}),(0,H.jsx)(be._s,{dataSource:null==n?void 0:n.photos,right:21,col:4,wrapWidth:1140})]})]})})},je=n(93478),_e=["shixunHomeworks","classroomList","globalSetting","loading","user","dispatch"],Se=(0,w.connect)((function(e){var t=e.shixunHomeworks,n=e.classroomList,r=e.loading,o=e.globalSetting,i=e.user;return{shixunHomeworks:t,classroomList:n,globalSetting:o,loading:r.effects,user:i}}))((function(e){var t,n,r=e.shixunHomeworks,i=e.classroomList,s=(e.globalSetting,e.loading),c=e.user,d=e.dispatch,h=(p()(e,_e),(0,f.useState)(l()({},(0,w.useParams)()))),g=u()(h,2),R=g[0],D=g[1],F=(0,w.useParams)(),W=(0,w.useLocation)(),q=(0,f.useState)([]),Y=(u()(q,0),(0,f.useState)()),U=u()(Y,2),K=U[0],J=U[1],X=(0,f.useRef)(),Q=(0,f.useRef)(),$=(0,f.useState)(!1),ee=u()($,2),te=ee[0],ne=ee[1],oe=(0,f.useState)(!1),ie=u()(oe,2),ae=(ie[0],ie[1],(0,f.useState)(!1)),se=u()(ae,2),le=se[0],ce=se[1],ue=r.shixunWorkReport,de=(0,f.useState)(),pe=u()(de,2),xe=pe[0],we=pe[1],ye=(0,M.GJ)(),be=(0,f.useState)(new(x())),Se=u()(be,2),Ce=Se[0],Ae=Se[1],Ne=(0,f.useState)(0),Be=u()(Ne,2),Te=(Be[0],Be[1],(0,f.useState)(!1)),Ee=u()(Te,2),Pe=Ee[0],Le=Ee[1],Ie=(0,f.useState)(!1),Ze=u()(Ie,2),Me=Ze[0],Oe=Ze[1],Re=(0,f.useState)(""),Ge=u()(Re,2),He=Ge[0],De=Ge[1],ze=(0,f.useState)(!1),Fe=u()(ze,2),We=Fe[0],Ve=Fe[1],qe=(0,f.useState)(!0),Ye=u()(qe,2),Ue=Ye[0],Ke=Ye[1],Je=(0,f.useState)(0),Xe=u()(Je,2),Qe=Xe[0],$e=Xe[1],et=(0,f.useRef)(JSON.parse(sessionStorage.all_student_works_params||"{}")),tt=(0,f.useRef)(),nt=function(){var e=a()(o()().mark((function e(){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(c.userInfo.is_teacher||c.userInfo.admin)&&(Ve(!0),Ke(!1));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();(0,f.useEffect)((function(){var e;!(0,M.Rm)()||!i.AssistantObject.practice||null!==(e=i.AssistantObject.practice)&&void 0!==e&&e.can_view||w.history.replace("/403")}),[null===(t=i.AssistantObject.practice)||void 0===t?void 0:t.can_view]),(0,f.useEffect)((function(){nt(),console.log("打印的------",ue),tt.current=null==ue?void 0:ue.next_student_work_id,De(ue.repeat_minus_score)}),[ue,c]),(0,f.useEffect)((function(){console.log("触发这",ue.work_score),$e(ue.work_score)}),[ue.work_score,He]),(0,f.useEffect)((function(){return d({type:"globalSetting/footerToggle",payload:!1}),function(){d({type:"globalSetting/footerToggle",payload:!0})}}),[]),(0,f.useEffect)((function(){if(ue){var e,t=[];null==ue||null===(e=ue.target_test_sets)||void 0===e||e.map((function(e,n){var r;null==e||null===(r=e.targets)||void 0===r||r.map((function(r,o){var i;r.name=null==e?void 0:e.name,r.total_target_score=null==e?void 0:e.total_target_score,r.actual_target_score=null==e?void 0:e.actual_target_score,r.rowSpan=0===o?null==e||null===(i=e.targets)||void 0===i?void 0:i.length:0,r.order=n+1,t.push(r)}))})),we(t),(0,M.Rm)()&&d({type:"classroomList/getAssistantPermissions",payload:{course_id:R.coursesId}})}}),[ue]),(0,f.useEffect)((function(){"导出实训报告"===r.actionTabs.key&&(null==ue?void 0:ue.students_count)>0&&setTimeout((function(){lt("all")}),800)}),[null==ue?void 0:ue.homework_common_id]),(0,f.useEffect)((function(){D(l()({},F))}),[W.pathname]);var rt=function(){document.body.scrollIntoView()};function ot(){return it.apply(this,arguments)}function it(){return(it=a()(o()().mark((function e(){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:et.current=JSON.parse(sessionStorage.all_student_works_params||"{}");case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var at=function(){document.querySelectorAll("canvas").forEach((function(e){(!e.clientWidth||!e.clientHeight)&&e.remove()}))},st=function(){var e=a()(o()().mark((function e(t){var n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ge.t1)({homeworkId:t||R.homeworkId});case 2:n=e.sent,J(null==n?void 0:n.data);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),lt=function(){var e=a()(o()().mark((function e(t){var n,r,i,s,c,u,p,f,h,m,g,x,v,w;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=function(){return c=a()(o()().mark((function e(t){var c;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,st(t||tt.current);case 2:return e.next=4,d({type:"shixunHomeworks/getShixunWorkReport",payload:l()({homeworkId:t||tt.current},et.current||{})});case 4:c=e.sent,tt.current=null==c?void 0:c.next_student_work_id,rt(),n++,setTimeout(a()(o()().mark((function e(){var t,l,u,d,p,f,h,m,g;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:at(),u=Ce.folder("".concat(null!=c&&c.student_id&&"--"!=(null==c?void 0:c.student_id)?c.student_id:"").concat(null==c?void 0:c.username)),d=document.querySelector("#export-all").children,p=ve()(),f=o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p.set(i).from(d[t]).toContainer().toCanvas().toPdf().get("pdf").then(function(){var e=a()(o()().mark((function e(n){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t<d.length-1)){e.next=3;break}return e.next=3,n.addPage();case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 2:case"end":return e.stop()}}),e)})),h=0;case 6:if(!(h<d.length)){e.next=11;break}return e.delegateYield(f(h),"t0",8);case 8:h++,e.next=6;break;case 11:u.file("".concat(null!=c&&c.student_id&&"--"!=(null==c?void 0:c.student_id)?c.student_id:"").concat(null==c?void 0:c.username,".pdf"),p.output("blob")),(null==c||null===(t=c.shixun_detail)||void 0===t?void 0:t.length)>0&&(null==c||null===(l=c.shixun_detail)||void 0===l||null===(l=l.filter((function(e){var t;return(null==e||null===(t=e.game_codes)||void 0===t?void 0:t.length)>0})))||void 0===l?void 0:l.length)>0&&(g=u.folder("代码文件"),null==c||null===(m=c.shixun_detail)||void 0===m||m.map((function(e,t){var n;if((null==e||null===(n=e.game_codes)||void 0===n?void 0:n.length)>0){var r,o=g.folder("第".concat(t+1,"关-").concat(e.subject,"-").concat(e.id));null==e||null===(r=e.game_codes)||void 0===r||r.map((function(e){o.file("".concat(e.filename,".txt"),null==e?void 0:e.content)}))}}))),r.update({content:(0,H.jsxs)("div",{children:["当前进度: ",(0,H.jsx)("span",{className:"c-blue",children:n}),"/",null==c?void 0:c.students_count,(0,H.jsx)("br",{}),"请勿关闭浏览器窗口"]})}),n==(null==c?void 0:c.students_count)?(r.destroy(),ct()):s();case 15:case"end":return e.stop()}}),e)}))),2200);case 9:case"end":return e.stop()}}),e)}))),c.apply(this,arguments)},s=function(e){return c.apply(this,arguments)},n=0,r=y.Z.info({width:460,title:(0,H.jsxs)("div",{children:["正在导出实训报告,",(0,H.jsx)("span",{className:"c-red",children:"请勿关闭或操作当前浏览器窗口"})]}),content:(0,H.jsxs)("div",{children:["当前进度: ",(0,H.jsx)("span",{className:"c-blue",children:n+1}),"/","all"!==t?1:null==ue?void 0:ue.students_count,(0,H.jsx)("br",{}),"请勿关闭浏览器窗口"]}),maskClosable:!1,className:G.modal,onOk:function(){}}),i={margin:[0,0],filename:"".concat(null!=ue&&ue.student_id&&"--"!=(null==ue?void 0:ue.student_id)?null==ue?void 0:ue.student_id:"").concat(ue.username,".pdf"),html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}},!("all"!==t||(null==ue?void 0:ue.students_count)<2)){e.next=26;break}at(),rt(),f=Q.current.children,h=ve()(),m=Ce.folder("".concat(null!=ue&&ue.student_id&&"--"!=(null==ue?void 0:ue.student_id)?null==ue?void 0:ue.student_id:"").concat(null==ue?void 0:ue.username)),g=o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,h.set(i).from(f[t]).toContainer().toCanvas().toPdf().get("pdf").then(function(){var e=a()(o()().mark((function e(n){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t<f.length-1)){e.next=3;break}return e.next=3,n.addPage();case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 2:case"end":return e.stop()}}),e)})),x=0;case 13:if(!(x<f.length)){e.next=18;break}return e.delegateYield(g(x),"t0",15);case 15:x++,e.next=13;break;case 18:return ne(!1),m.file("".concat(null!=ue&&ue.student_id&&"--"!=(null==ue?void 0:ue.student_id)?null==ue?void 0:ue.student_id:"").concat(ue.username,".pdf"),h.output("blob"),{base64:!1}),(null==ue||null===(u=ue.shixun_detail)||void 0===u?void 0:u.length)>0&&(null==ue||null===(p=ue.shixun_detail)||void 0===p||null===(p=p.filter((function(e){var t;return(null==e||null===(t=e.game_codes)||void 0===t?void 0:t.length)>0})))||void 0===p?void 0:p.length)>0&&(w=m.folder("代码文件"),null==ue||null===(v=ue.shixun_detail)||void 0===v||v.map((function(e,t){var n;if((null==e||null===(n=e.game_codes)||void 0===n?void 0:n.length)>0){var r,o=w.folder("第".concat(t+1,"关-").concat(e.subject,"-").concat(e.id));null==e||null===(r=e.game_codes)||void 0===r||r.map((function(e){o.file("".concat(e.filename,".txt"),null==e?void 0:e.content)}))}}))),r.destroy(),ct(),e.abrupt("return");case 26:s(null==ue?void 0:ue.first_student_work_id);case 27:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ct=function(){Ce.generateAsync({type:"blob"}).then((function(e){var t=document.createElement("a");t.href=window.URL.createObjectURL(e),t.download=ue.course_name+".zip",document.body.appendChild(t);var n=document.createEvent("MouseEvents");n.initEvent("click",!1,!1),t.dispatchEvent(n),document.body.removeChild(t),Ae(new(x()))})),ce(!1)};(0,f.useEffect)((function(){ut()}),[R.homeworkId]);var ut=function(){var e=a()(o()().mark((function e(){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d({type:"shixunHomeworks/getShixunWorkReport",payload:l()(l()({},R),et.current||{})});case 2:st(),(0,M.GJ)()&&ot();case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),dt=[{title:"关卡",dataIndex:"name",render:function(e,t,n){return n+1}},{title:"任务名称",dataIndex:"name",render:function(e,t,n){return(0,H.jsxs)("div",{children:[e,4===t.complete_status&&(0,H.jsx)(O.vA,{status:t.complete_status})]})}},{title:"开启时间",dataIndex:"open_time"},{title:"代码修改行数",dataIndex:"diff_code_count",render:function(e,t,n){return e||"- -"}},{title:"评测次数",dataIndex:"evaluate_count"},{title:"完成时间",dataIndex:"finished_time"},{title:"实训耗时",dataIndex:"time_consuming"},{title:"是否查看答案",dataIndex:"view_answer",render:function(e){return e?"是":"否"}},{title:"经验值",dataIndex:"experience",render:function(e,t){return(0,H.jsxs)("div",{children:[(0,H.jsx)("span",{style:{color:parseFloat(t.myself_experience)!==parseFloat(e)?"red":"green"},children:t.myself_experience}),"/",e]})}},{title:"关卡得分",dataIndex:"game_score",render:function(e,t){return(0,H.jsxs)("div",{children:[(0,H.jsx)("span",{style:{color:parseFloat(t.game_score_full)!==parseFloat(e)?"red":"green"},children:e}),"/",t.game_score_full]})}},{title:"调分",dataIndex:"game_score",render:function(e,t){return ye?(0,H.jsx)(V,{max:t.game_score_full,defaultValue:parseFloat(e),onBlur:function(){var e=a()(o()().mark((function e(n){var r,a;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(0,M.Rm)()||null!==(r=i.AssistantObject.practice)&&void 0!==r&&r.can_appraise){e.next=3;break}return b.ZP.warning("您未获取此权限,需向管理员申请权限才能使用此功能"),e.abrupt("return");case 3:return e.next=5,d({type:"shixunHomeworks/changeScore",payload:{categoryId:R.homeworkId,type:"report",score:n,challenge_id:t.challenge_id}});case 5:return a=e.sent,e.next=8,d({type:"shixunHomeworks/getShixunWorkReport",payload:l()(l()({},R),et.current||{})});case 8:0===a.status&&b.ZP.success("操作成功");case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}):e}}],pt=[{title:"关卡",dataIndex:"order",key:"order",render:function(e,t,n){return{children:e,props:{rowSpan:t.rowSpan}}}},{title:"任务名称",dataIndex:"name",key:"name",render:function(e,t,n){return{children:e,props:{rowSpan:t.rowSpan}}}},{title:"指标名称",dataIndex:"target_name",key:"target_name"},{title:"指标预期结果",dataIndex:"output",key:"output"},{title:"指标实际结果",dataIndex:"actual_output",key:"actual_output"},{title:"指标得分",dataIndex:"test_score",key:"test_score",render:function(e,t,n){return(0,H.jsxs)("div",{children:[(0,H.jsx)("span",{style:{color:parseFloat(t.actual_test_score)!==parseFloat(e)?"red":"green"},children:t.actual_test_score}),"/",e]})}},{title:"指标总分",render:function(e,t,n){return{children:(0,H.jsxs)("div",{children:[(0,H.jsx)("span",{style:{color:parseFloat(t.actual_target_score)!==parseFloat(e)?"red":"green"},children:t.actual_target_score}),"/",e]}),props:{rowSpan:t.rowSpan}}},dataIndex:"total_target_score",key:"total_target_score"}],ft=function(e){d({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout((function(){"next"===e?w.history.push("/classrooms/".concat(R.coursesId,"/shixun_homework/").concat(R.categoryId,"/").concat(null==ue?void 0:ue.next_student_work_id,"/comment")):w.history.push("/classrooms/".concat(R.coursesId,"/shixun_homework/").concat(R.categoryId,"/").concat(null==ue?void 0:ue.pre_student_work_id,"/comment"))}),200)},ht=function(){var e=a()(o()().mark((function e(){var t;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,v.ZP)("/api/student_works/".concat(null==ue?void 0:ue.work_id,"/update_repeat_score"),{method:"put",body:{score:He}});case 2:return t=e.sent,e.next=5,d({type:"shixunHomeworks/getShixunWorkReport",payload:l()(l()({},R),et.current||{})});case 5:0===t.status&&b.ZP.info("操作成功");case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,H.jsxs)("section",{className:"bg-fafafa",style:{position:"sticky",top:0},children:[(0,H.jsx)("div",{className:"edu-container mt10",style:{paddingBottom:100},children:(0,H.jsxs)(k.Z,{loading:s["shixunHomeworks/getShixunWorkReport"],active:!0,avatar:{size:40},paragraph:{rows:5},children:[(0,H.jsxs)("div",{className:"edu-container",children:[ue.course_id&&(0,H.jsxs)("section",{className:"animated fadeIn",children:[(0,H.jsx)("aside",{className:"",children:ue.category&&(0,H.jsxs)(j.Z,{separator:">",children:[(0,H.jsx)(j.Z.Item,{children:(0,H.jsx)(w.Link,{to:"/classrooms/".concat(ue.course_id,"/shixun_homework"),children:ue.course_name})}),(0,H.jsx)(j.Z.Item,{children:(0,H.jsx)(w.Link,{to:"/classrooms/".concat(ue.course_id,"/shixun_homework/").concat(ue.category.main?"":ue.category.category_id),children:ue.category.category_name})}),(0,H.jsx)(j.Z.Item,{children:(0,H.jsx)(w.Link,{to:"/classrooms/".concat(ue.course_id,"/shixun_homework/").concat(ue.homework_common_id,"/detail"),children:"作业详情"})}),(0,H.jsx)(j.Z.Item,{children:ue.username})]})}),(0,H.jsx)("aside",{className:[G.title1,"mt20"].join(" "),children:(0,H.jsxs)(_.Z,{align:"middle",children:[(0,H.jsxs)(S.Z,{flex:1,children:[(0,H.jsx)(w.Link,{to:"/classrooms/".concat(ue.course_id,"/shixun_homework/").concat(ue.homework_common_id,"/detail"),children:(0,H.jsx)(E.Z,{className:"font16 c-black"})}),(0,H.jsx)("strong",{className:"font20 ml5",children:ue.shixun_name}),(0,H.jsx)(O.VV,{temporary:!0,status:ue.homework_status})]}),(0,H.jsxs)(S.Z,{className:G.title1_right,children:[ue.view_tpi&&(0,H.jsxs)(C.ZP,{onClick:function(){var e;(0,O.xg)("/tasks/".concat(null==ue||null===(e=ue.shixun_detail)||void 0===e||null===(e=e[0])||void 0===e?void 0:e.game_identifier))},children:[(0,H.jsx)("span",{className:"iconfont icon-yijiandianping mr5"}),"查看学员实训"]}),(0,M.GJ)()&&!1===ue.homework_end&&!!ue.myshixun_id&&(0,H.jsxs)(C.ZP,{className:"ml10",onClick:a()(o()().mark((function e(){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d({type:"shixunHomeworks/setActionTabs",payload:{key:"打回重做",selectArrs:{myshixun_identifier:ue.myshixun_identifier},homework_common_id:F.categoryId}});case 2:case"end":return e.stop()}}),e)}))),children:[(0,H.jsx)("span",{className:"iconfont icon-dahuizhongzuo3x mr5"}),"打回重做"]}),(0,H.jsxs)(C.ZP,{className:"ml10",onClick:function(){return lt("")},loading:te,children:[(0,H.jsx)("span",{className:"iconfont icon-daochu mr5"}),"导出实训报告"]}),(0,M.GJ)()&&(null==ue?void 0:ue.students_count)>1&&(0,H.jsxs)(C.ZP,{className:"ml10",onClick:function(){y.Z.confirm({title:"选择导出方式",closable:!0,icon:null,centered:!0,okText:(0,H.jsx)(A.Z,{title:"导出时不能退出或关闭导出页面,可能会影响其他操作",children:"前端导出"}),cancelText:(0,H.jsx)(A.Z,{title:"生成导出任务后可关闭页面,后台导出成功后在历史导出页面自行下载,不影响其他操作",children:"后台导出"}),onOk:function(){lt("all")},onCancel:function(){},cancelButtonProps:{onClick:function(){(0,je.jj)({categoryId:R.categoryId,coursesId:R.coursesId},"shixun_report")}}})},children:[(0,H.jsx)("span",{className:"iconfont icon-daochu mr5"}),"导出全部学生实训报告"]})]})]})})]}),(0,H.jsx)("aside",{className:"mt30 relative"})]}),(0,H.jsx)("aside",{className:"edu-container bg-white",ref:X,children:(0,H.jsxs)("div",{id:"export-all",ref:Q,children:[(0,H.jsxs)("div",{id:"export-all-1",children:[(0,H.jsxs)("div",{className:G.title,children:[(0,H.jsx)("h1",{children:"总体评价"}),(0,H.jsx)("div",{children:(0,M.GJ)()&&(0,H.jsxs)(C.ZP,{className:"mr20",type:"primary",onClick:function(){d({type:"shixunHomeworks/setActionTabs",payload:{key:"更改点评",selectArrs:{myshixun_identifier:ue.user_id,data:l()({},ue)}}})},children:[(0,H.jsx)(P.Z,{}),ue.has_shixun_work_comment?"更改点评":"点评作业"]})})]}),(0,H.jsx)(N.Z,{style:{marginTop:0}}),(0,H.jsxs)(_.Z,{className:"pl30 pr30",children:[(0,H.jsx)(S.Z,{children:(0,H.jsx)("img",{className:G.userPic,src:"".concat(Z.Z.IMG_SERVER,"/images/").concat(ue.image_url),alt:ue.username})}),(0,H.jsxs)(S.Z,{children:[(0,H.jsx)("span",{className:"font16 ml40",children:ue.username}),(0,H.jsx)(O.vA,{status:ue.compelete_status}),(0,H.jsxs)("ul",{className:G.userInfo,children:[(0,H.jsxs)("li",{children:["学号:",ue.student_id||"--"]}),(0,H.jsxs)("li",{children:["分班:",ue.group_name||"--"]}),(0,H.jsx)("br",{}),(0,H.jsxs)("li",{children:["截止前完成关卡:",(0,H.jsx)("span",{className:"c-red",children:ue.complete_count}),"/",(0,H.jsx)("span",{className:"c-red",children:ue.challenges_count})]}),(0,H.jsxs)("li",{children:["最新完成关卡:",(0,H.jsx)("span",{className:"c-red",children:ue.current_complete_count||"-"}),"/",(0,H.jsx)("span",{className:"c-red",children:ue.challenges_count})]}),(0,H.jsxs)("li",{children:["完成效率:",ue&&null===ue.efficiency?"--":ue&&ue.efficiency]}),(0,H.jsxs)("li",{children:["课堂最高完成效率:",ue&&null===ue.max_efficiency?"--":ue&&ue.max_efficiency]})]})]}),(0,H.jsxs)("ul",{className:[G.listItem,"mt10"].join(" "),children:[(0,H.jsxs)("li",{children:[(0,H.jsx)("strong",{children:"通关时间"}),(0,H.jsx)("div",{className:"c-light-black mt20",children:ue&&null===ue.passed_time||ue&&"--"===ue.passed_time?"--":m()(ue&&ue.passed_time).format("YYYY-MM-DD HH:mm")})]}),(0,H.jsxs)("li",{children:[(0,H.jsxs)("strong",{children:["计时规则",(0,H.jsx)("i",{onClick:function(e){e.stopPropagation(),e.preventDefault(),Le(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})]}),(0,H.jsx)("div",{className:"c-light-black mt20",children:null==ue?void 0:ue.human_training_time_rules})]}),(0,H.jsxs)("li",{children:[(0,H.jsxs)("strong",{children:["实训总耗时",(0,H.jsx)("i",{onClick:function(e){e.stopPropagation(),e.preventDefault(),Oe(!0)},style:{marginLeft:4,color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})]}),(0,H.jsx)("div",{className:"c-light-black mt20",children:ue.time_consuming})]}),(0,H.jsxs)("li",{children:[(0,H.jsx)("strong",{children:"评测次数"}),(0,H.jsx)("div",{className:"mt20",children:ue.evaluate_count})]}),(null==ue?void 0:ue.eff_score_full)&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsxs)("li",{children:[(0,H.jsx)("strong",{children:"关卡得分"}),(0,H.jsxs)("div",{className:"mt20",children:[(0,H.jsx)("span",{className:"c-orange",children:ue.challenge_score}),"/",(0,H.jsx)("span",{className:"c-light-black",children:ue.challenge_score_full})]})]}),(0,H.jsxs)("li",{children:[(0,H.jsx)("strong",{children:"效率分"}),(0,H.jsxs)("div",{className:"mt20",children:[(0,H.jsx)("span",{className:"c-orange",children:ue.eff_score}),"/",(0,H.jsx)("span",{className:"c-light-black",children:ue.eff_score_full})]})]})]}),(null==ue?void 0:ue.have_repeat)&&0!==(null==ue?void 0:ue.repeat_minus_score)&&(0,H.jsxs)("li",{style:{position:"relative"},children:[(0,H.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,H.jsx)("strong",{children:"查重扣分"}),(0,H.jsx)("div",{style:{position:"absolute",fontSize:"10px",color:"white",left:"57px",width:"46px",bottom:"72px"},children:null!=ue&&ue.review_rate?(0,H.jsxs)("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0",cursor:"pointer"},onClick:function(){null!=ue&&ue.review_id&&We&&(localStorage.setItem("studentDetial",window.location.pathname),w.history.push({pathname:"/classrooms/:coursesId/shixun_homework/".concat(R.categoryId,"/review_detail/").concat(null==ue?void 0:ue.review_id)}))},children:[ue.review_rate.toFixed(1),"%"]}):(0,H.jsx)("span",{style:{background:"#0152d9",borderRadius:"6px 6px 6px 0"},children:"- -"})})]}),We?(0,H.jsxs)("div",{className:"mt20",children:[(0,H.jsx)(B.Z,{style:{width:"45px",height:"22px"},value:He,onChange:function(e){!function(e){De(""),e.target.value&&(console.log("进来",ue),e.target.value=e.target.value>ue.repeat_setting_score?ue.repeat_setting_score:e.target.value,De(e.target.value))}(e)},onBlur:ht,disabled:Ue})," / ",null==ue?void 0:ue.repeat_setting_score]}):(0,H.jsxs)("div",{className:"mt20",children:[null==ue?void 0:ue.repeat_minus_score," / ",null==ue?void 0:ue.repeat_setting_score]})]}),console.log("sssssssssssssssssssssss",null==ue?void 0:ue.have_repeat,null==ue?void 0:ue.repeat_minus_score),(null==ue?void 0:ue.have_repeat)&&0===(null==ue?void 0:ue.repeat_minus_score)&&(0,H.jsxs)("li",{children:[(0,H.jsx)("strong",{children:"查重扣分"}),(0,H.jsx)("div",{className:"mt20",children:" - -"})]}),!(null!=ue&&ue.have_repeat)&&(0,H.jsxs)("li",{children:[(0,H.jsx)("strong",{children:"查重扣分"}),(0,H.jsx)("div",{className:"mt20",children:" - -"})]}),(0,H.jsxs)("li",{children:[(0,H.jsx)("strong",{children:"迟交扣分"}),(0,H.jsx)("div",{className:"mt20",children:(0,H.jsx)("span",{children:ue.late_penalty||"- -"})})]}),(0,H.jsxs)("li",{children:[(0,H.jsx)("strong",{children:"最终成绩"}),(0,H.jsxs)("div",{className:"mt20",children:[(0,H.jsx)("span",{className:"c-orange",children:Qe}),"/",(0,H.jsx)("span",{className:"c-light-black",children:ue.all_work_score})]})]}),(0,H.jsxs)("li",{children:[(0,H.jsx)("strong",{children:"总评"}),(0,H.jsx)("div",{className:"mt20",children:(0,H.jsx)("span",{className:"c-orange",children:ue.overall_appraisal})})]})]})]}),(0,H.jsx)(N.Z,{style:{margin:0}}),(ue.work_comment_hidden||ue.work_comment)&&(0,H.jsxs)("div",{children:[(0,H.jsxs)(_.Z,{align:"middle",children:[(0,H.jsx)(S.Z,{flex:1,children:(0,H.jsx)("h1",{className:G.title,children:"点评内容"})}),(0,H.jsx)(S.Z,{className:"pr30",children:(0,M.GJ)()&&(0,H.jsxs)(C.ZP,{onClick:a()(o()().mark((function e(){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:y.Z.confirm({centered:!0,okText:"确定",cancelText:"取消",title:"提示",icon:(0,H.jsx)(L.Z,{}),content:"是否确认删除?",onOk:function(){return a()(o()().mark((function e(){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ge.gZ)({comment_id:ue.comment_id,homeworkId:R.homeworkId});case 2:0===e.sent.status&&(b.ZP.success("删除成功"),d({type:"shixunHomeworks/getShixunWorkReport",payload:l()(l()({},R),et.current||{})}));case 4:case"end":return e.stop()}}),e)})))()}});case 1:case"end":return e.stop()}}),e)}))),children:[(0,H.jsx)(I.Z,{}),"删除"]})})]}),(0,H.jsx)(N.Z,{style:{margin:0}}),ue.work_comment&&(0,H.jsxs)("aside",{className:"pl30 pr30 mt20",children:[(0,H.jsx)("span",{className:"c-light-black font12",children:"# 学生和课堂老师可见"}),(0,H.jsx)("br",{}),(0,H.jsx)(me.Z,{value:ue.work_comment})]}),ue.work_comment_hidden&&(0,H.jsxs)("aside",{className:"pl30 pr30 mt20",children:[(0,H.jsx)("span",{className:"c-light-black font12",children:"# 仅课堂老师可见"}),(0,H.jsx)("br",{}),(0,H.jsx)(me.Z,{value:ue.work_comment_hidden})]})]}),(null==ue?void 0:ue.action_analysis)&&(0,H.jsx)(ke,{detailData:ue}),(0,H.jsx)("h1",{className:G.title,children:"阶段成绩"}),(0,H.jsx)("aside",{className:"pl30 pr30",children:(0,H.jsx)(T.Z,{dataSource:ue.stage_list,rowKey:function(e){return null==e?void 0:e.challenge_id},pagination:!1,columns:dt})}),(null==ue||null===(n=ue.target_test_sets)||void 0===n?void 0:n.length)>0&&(0,H.jsxs)("div",{children:[(0,H.jsx)("h1",{className:G.title,children:"指标成绩"}),(0,H.jsx)("aside",{className:"pl30 pr30",children:(0,H.jsx)(T.Z,{dataSource:xe,rowKey:function(e){return null==e?void 0:e.challenge_id},pagination:!1,bordered:!0,columns:pt})})]}),(null==ue?void 0:ue.work_description)&&(0,H.jsxs)(H.Fragment,{children:[(0,H.jsx)("h1",{className:G.title,children:"个人总结"}),(0,H.jsx)("aside",{className:"pl30 pr30",children:(0,H.jsx)(me.Z,{value:null==ue?void 0:ue.work_description})})]}),(0,H.jsx)("h1",{className:G.title,children:"图形统计"}),(0,H.jsx)(z,{data:K}),(0,H.jsx)("h1",{className:G.title,children:"实训详情"})]}),(0,H.jsx)(re,{autoHeight:le})]})}),(0,M.GJ)()&&(0,H.jsx)("aside",{className:"".concat(G.footerBar," ").concat(te?G.footerBarStatic:""),children:(0,H.jsx)("aside",{className:"edu-container",children:(0,H.jsxs)(_.Z,{align:"middle",children:[(0,H.jsx)(S.Z,{flex:"1",children:(0,H.jsx)(w.Link,{className:G.exitComment,to:"/classrooms/".concat(R.coursesId,"/shixun_homework/").concat(R.categoryId,"/detail"),children:"返回列表"})}),(0,H.jsxs)(S.Z,{flex:"1",className:"tr",children:[(0,H.jsx)(C.ZP,{type:"default",disabled:!(null!=ue&&ue.pre_student_work_id),onClick:function(){return ft()},children:"上一个"}),(0,H.jsx)(C.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:!(null!=ue&&ue.next_student_work_id),onClick:function(){return ft("next")},children:"下一个"}),(0,M.GJ)()&&(0,H.jsx)(C.ZP,{type:"primary",onClick:a()(o()().mark((function e(){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:d({type:"shixunHomeworks/setActionTabs",payload:{key:"更改点评",selectArrs:{myshixun_identifier:ue.user_id,data:l()({},ue)}}});case 1:case"end":return e.stop()}}),e)}))),children:"点评作业"})]})]})})})]})}),(0,H.jsx)(fe,{}),(0,H.jsx)(he.Z,{}),(0,H.jsxs)(y.Z,{open:Pe,width:860,centered:!0,onCancel:function(){Le(!1)},title:"计时规则说明",footer:null,children:[(0,H.jsxs)("div",{style:{color:"#333333",fontWeight:400},children:[(0,H.jsx)("span",{style:{fontWeight:500},children:"1、页面停留时长"}),(0,H.jsx)("br",{}),(0,H.jsx)("span",{children:"学生进入关卡的答题页面开始计时,直至学生关卡评测通过,则计时结束;"}),(0,H.jsx)("br",{}),(0,H.jsx)("span",{children:" 学生进入关卡的答题页面开始计时,若学生关闭/退出答题页面,则计时暂停,再次进入答题页面时开始累计计时直至评测通过,则计时结束;"}),(0,H.jsx)("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"},children:" 可能会造成时长评估与实际做题能力不符的情况 "}),(0,H.jsx)("span",{children:"a、学生进入关卡看完题后退出答题页面完成代码设计再复制进平台答题页面进行评测无法评估学生的学习和思考时间。"})]}),(0,H.jsxs)("div",{style:{color:"#333333",marginTop:20,fontWeight:400},children:[(0,H.jsx)("span",{style:{fontWeight:500},children:"2、关卡总耗时"}),(0,H.jsx)("br",{}),(0,H.jsx)("span",{style:{},children:"学生第一次进入关卡答题页面开始计时,直至该关卡评测通过,则计时结束。 "}),(0,H.jsx)("br",{}),(0,H.jsx)("span",{children:" 另,即使关卡闯关过程中,学生退出/关闭答题页面,也将持续计时,直至该关卡通过。"}),(0,H.jsx)("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10},children:" 可能会造成时长评估与实际做题能力不符的情况 "}),(0,H.jsx)("span",{children:"a、学生从其他同学处看到题目后完成代码设计再进入关卡答题页面将已完成的代码复制至平台进行评测"}),(0,H.jsx)("br",{}),(0,H.jsx)("span",{children:"b、学生第一次打开关卡后因为某种原因离开页面时隔多日才再次进入平台闯关就会导致学生关卡总耗时过长"})]}),(0,H.jsxs)("div",{style:{color:"#333333",marginTop:20,fontWeight:400},children:[(0,H.jsx)("span",{style:{fontWeight:500},children:"3、作业通关时长"}),(0,H.jsx)("br",{}),(0,H.jsx)("span",{style:{},children:"从老师发布的实训作业开始时间,开始计时,直至学生实训通关(包括迟交通关),结束计时。如果学生未通关,则该生的闯关耗时为老师设置的实训开始时间至实训截止时间,如果老师开启了补交,则该生的闯关耗时为实训开始时间至实训补交截止时间。"})]}),(0,H.jsxs)("div",{style:{color:"#333333",marginTop:20,fontWeight:400},children:[(0,H.jsx)("span",{style:{fontWeight:500},children:"规则目的"}),(0,H.jsx)("br",{}),(0,H.jsx)("span",{style:{},children:"鼓励学生在实训作业发布的第一时间,立即登录平台完成实训作业的通关。"})]})]}),(0,H.jsx)(y.Z,{open:Me,title:"实训总耗时说明",centered:!0,footer:null,onCancel:function(){Oe(!1)},width:600,children:(0,H.jsxs)("div",{style:{fontWeight:400,color:"#333333"},children:[(0,H.jsxs)("div",{children:["1、当计时规则为“",(0,H.jsx)("span",{style:{color:"#145DFF"},children:"页面停留时长"}),"”时,实训总耗时为所有关卡耗时相加之和;"]}),(0,H.jsxs)("div",{style:{margin:"20px 0px"},children:["2、当计时规则为“",(0,H.jsx)("span",{style:{color:"#145DFF"},children:"关卡总耗时"}),"”时,实训总耗时为所有关卡耗时相加之和;"]}),(0,H.jsxs)("div",{children:["3、当计时规则为“",(0,H.jsx)("span",{style:{color:"#145DFF"},children:"作业通关时长"}),"”时,实训总耗时为实训发布时间至实训通关时间,当学生未通关时,实训总耗时为实训发布时间至实训截止时间。"]})]})})]})}))},60264:function(e,t,n){"use strict";var r=n(7557),o=n.n(r),i=n(41498),a=n.n(i),s=(n(59301),n(43418)),l=n(8591),c=n(90694),u=n(46681),d=n(64330),p=n(37712);t.Z=(0,u.connect)((function(e){return{shixunHomeworks:e.shixunHomeworks,classroomList:e.classroomList}}))((function(e){var t=e.shixunHomeworks,n=e.classroomList,r=e.dispatch,i=(0,u.useParams)();return(0,p.jsxs)(s.Z,{centered:!0,title:"提示",open:"打回重做"===t.actionTabs.key,okText:"确定",cancelText:"取消",onOk:a()(o()().mark((function e(){var a,s,p,f,h;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(0,d.Rm)()||null!==(a=n.AssistantObject.practice)&&void 0!==a&&a.can_redo){e.next=3;break}return l.ZP.warning("您未获取此权限,需向管理员申请权限才能使用此功能"),e.abrupt("return");case 3:return e.next=5,(0,c.ZP)("/api/myshixuns/".concat(t.actionTabs.selectArrs.myshixun_identifier,"/reset_my_game.json"),{method:"GET",params:{course_id:i.coursesId,homework_common_id:t.actionTabs.homework_common_id}});case 5:if(!(s=e.sent).shixun_identifier){e.next=13;break}if(l.ZP.success("操作成功"),r({type:"shixunHomeworks/setActionTabs",payload:{}}),h=null==s||null===(p=s.new_works)||void 0===p||null===(p=p.find((function(e){return"".concat(e.homework_common_id)===i.categoryId})))||void 0===p?void 0:p.id,!(0,d.Rm)()||null!==(f=n.AssistantObject.practice)&&void 0!==f&&f.can_view){e.next=12;break}return e.abrupt("return");case 12:u.history.replace("/classrooms/".concat(i.coursesId,"/shixun_homework/").concat(i.categoryId,"/").concat(h,"/comment"));case 13:case"end":return e.stop()}}),e)}))),onCancel:function(){r({type:"shixunHomeworks/setActionTabs",payload:{}})},children:[(0,p.jsx)("p",{children:"该作业将被打回重做,学生实训记录将被清空!"}),(0,p.jsx)("p",{children:"确定打回?"})]})}))},93478:function(e,t,n){"use strict";n.d(t,{AD:function(){return P},D9:function(){return R},Hp:function(){return _},IM:function(){return H},Iy:function(){return C},KM:function(){return J},MJ:function(){return S},Ne:function(){return G},ON:function(){return V},Uj:function(){return U},VY:function(){return F},YO:function(){return Y},YX:function(){return q},Zn:function(){return g},_g:function(){return b},_k:function(){return M},c6:function(){return T},cr:function(){return x},eV:function(){return E},fi:function(){return v},gh:function(){return N},hS:function(){return D},iA:function(){return w},j6:function(){return k},je:function(){return Z},jj:function(){return j},kS:function(){return W},o6:function(){return B},pO:function(){return K},rQ:function(){return L},sA:function(){return A},xm:function(){return O},xo:function(){return z},y8:function(){return I},yd:function(){return y}});var r=n(7557),o=n.n(r),i=n(82242),a=n.n(i),s=n(41498),l=n.n(s),c=n(76444),u=n(46681),d=n(41282),p=n(8591),f=n(57357),h=function(){(0,u.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"正在生成文件,请稍后..."}})},m=function(){(0,u.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},g=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h(),e.next=3,(0,c.YR)(a()({},t));case 3:if(0!==e.sent.status){e.next=7;break}return e.next=7,(0,d.QH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/courses/".concat(t.coursesId,"/export_couser_info.json"),query:t}));case 7:m();case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),x=function(){var e=l()(o()().mark((function e(t){var n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.yS)(a()({},t));case 2:if(0!==(n=e.sent).status){e.next=8;break}p.ZP.info("导出任务生成成功"),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_member_act_score")),e.next=13;break;case 8:if(-2!==n.status){e.next=12;break}return e.abrupt("return",n);case 12:-3===n.status&&((0,u.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_member_act_score")));case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=function(){var e=l()(o()().mark((function e(t){var n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.W0)(a()({},t));case 2:if(0!==(n=e.sent).status){e.next=8;break}p.ZP.info("导出任务生成成功"),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_total_score")),e.next=13;break;case 8:if(-4!==n.status){e.next=12;break}return e.abrupt("return",n);case 12:-3===n.status&&((0,u.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_total_score")));case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),w=function(){var e=l()(o()().mark((function e(t){var n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.Nl)(a()({},t));case 2:if(0!==(n=e.sent).status){e.next=8;break}p.ZP.info("导出任务生成成功"),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_total_exercise_and_other")),e.next=13;break;case 8:if(-4!==n.status){e.next=12;break}return e.abrupt("return",n);case 12:-3===n.status&&((0,u.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_total_exercise_and_other")));case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),y=function(){var e=l()(o()().mark((function e(t){var n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.IU)(a()({},t));case 2:if(0!==(n=e.sent).status){e.next=8;break}p.ZP.info("导出任务生成成功"),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/export_star_user")),e.next=13;break;case 8:if(-4!==n.status){e.next=12;break}return e.abrupt("return",n);case 12:-3===n.status&&((0,u.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/export_star_user")));case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),b=function(){var e=l()(o()().mark((function e(t){var n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.td)(a()({},t));case 2:if(0!==(n=e.sent).status){e.next=8;break}p.ZP.info("导出任务生成成功"),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_total_exercise_and_other")),e.next=19;break;case 8:if(-2!==n.status){e.next=12;break}return e.abrupt("return",n);case 12:if(-3!==n.status){e.next=17;break}(0,u.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_total_exercise_and_other")),e.next=19;break;case 17:if(-4!==n.status){e.next=19;break}return e.abrupt("return",n);case 19:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),k=function(){var e=l()(o()().mark((function e(t){var n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.QX)(a()({},t));case 2:if(0!==(n=e.sent).status){e.next=8;break}p.ZP.info("导出任务生成成功"),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_total_homework")),e.next=13;break;case 8:if(-4!==n.status){e.next=12;break}return e.abrupt("return",n);case 12:-3===n.status&&((0,u.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/course_total_homework")));case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),j=function(){var e=l()(o()().mark((function e(t,n){var r;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.o_)(a()({},t));case 2:0===(r=e.sent).status?(p.ZP.info("导出任务生成成功导出后文件保存时间为7天请及时下载"),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/").concat(n))):-3===r.status&&((0,u.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/").concat(n)));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),_=function(){var e=l()(o()().mark((function e(t,n){var r;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.ZL)(a()({},t));case 2:0===(r=e.sent).status?(p.ZP.info("导出任务生成成功导出后文件保存时间为7天请及时下载"),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/").concat(n))):-3===r.status&&((0,u.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/").concat(n)));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),S=function(){var e=l()(o()().mark((function e(t,n){var r;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.vV)(a()({},t));case 2:0===(r=e.sent).status?(p.ZP.info("导出任务生成成功导出后文件保存时间为7天请及时下载"),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/").concat(n))):-3===r.status&&((0,u.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/").concat(n)));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),C=function(){var e=l()(o()().mark((function e(t,n){var r;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.aP)(a()({},t));case 2:0===(r=e.sent).status?(p.ZP.info("导出任务生成成功"),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/").concat(n))):-3===r.status&&((0,u.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/").concat(n)));case 4:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),A=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h(),e.next=3,(0,c.MJ)(a()({},t));case 3:if(0!==e.sent.status){e.next=7;break}return e.next=7,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/polls/".concat(t.categoryId,"/commit_result.xlsx"),query:t}));case 7:m();case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),N=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/courses/".concat(t.coursesId,"/attendances/export_xlsx_data.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),B=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/courses/".concat(t.coursesId,"/video_study_statics.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),T=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/courses/".concat(t.coursesId,"/export_video_study.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),E=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/courses/".concat(t.coursesId,"/export_course_students_info.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),P=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/school_manages/students.xlsx",query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),L=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/item_banks/export.xlsx",query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),I=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Z=function(){var e=l()(o()().mark((function e(t){var n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,c.Uy)(a()({},t));case 2:0===(n=e.sent).status?(p.ZP.info("导出任务生成成功"),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/exercise_score"))):-3===n.status&&((0,u.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"导出提醒"}}),u.history.push("/classrooms/".concat(t.coursesId,"/exportlist/exercise_score")));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),M=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("----------","调用下载"),e.next=3,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/export_records/".concat(t.id,".xlsx"),query:t}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),O=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),R=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/courses/".concat(null==t?void 0:t.coursesId,"/").concat(t.menuKey,"_statistic.xlsx?").concat(t.checkedList.map((function(e){return"course_group_id[]=".concat(e)})).join("&")),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),G=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/ec_years/".concat(null==t?void 0:t.ec_year_id,"/ec_training_objectives.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),H=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)(null==t?void 0:t.name,(0,d.NY)({url:f.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),D=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/ec_years/".concat(null==t?void 0:t.ec_year_id,"/ec_courses.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),z=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/ec_years/".concat(null==t?void 0:t.ec_year_id,"/ec_graduation_requirements.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),F=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),W=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),V=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/examination_banks/".concat(t.id,".json"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),q=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/exercises/".concat(t.categoryId,".json"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Y=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/polls/".concat(null==t?void 0:t.id,"/commit_result.json"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),U=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/paths/get_task_pass.json",query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),K=function(){var e=l()(o()().mark((function e(t,n){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)(n||"",(0,d.NY)({url:f.Z.API_SERVER+"/api/exercises/".concat(null==t?void 0:t.exercise_id,"/consult_exercise.json"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),J=function(){var e=l()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.FH)("",(0,d.NY)({url:f.Z.API_SERVER+"/api/competitions/".concat(null==t?void 0:t.identifier,"/competition_commit_records/member_works.xlsx"),query:t}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},66104:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var r=n(92310),o=n.n(r),i=n(29541),a=n(68073),s=n(59301),l=n(92343),c=n(36355),u=n(43501),d=n(91857);const p=e=>{let{children:t}=e;const{getPrefixCls:n}=s.useContext(c.E_),r=n("breadcrumb");return s.createElement("li",{className:`${r}-separator`,"aria-hidden":"true"},""===t?t:t||"/")};p.__ANT_BREADCRUMB_SEPARATOR=!0;var f=p,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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function m(e,t,n,r){if(null==n)return null;const{className:i,onClick:l}=t,c=h(t,["className","onClick"]),u=Object.assign(Object.assign({},(0,a.Z)(c,{data:!0,aria:!0})),{onClick:l});return void 0!==r?s.createElement("a",Object.assign({},u,{className:o()(`${e}-link`,i),href:r}),n):s.createElement("span",Object.assign({},u,{className:o()(`${e}-link`,i)}),n)}function g(e,t){return(n,r,o,i,a)=>{if(t)return t(n,r,o,i);const s=function(e,t){if(void 0===e.title||null===e.title)return null;const n=Object.keys(t).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(new RegExp(`:(${n})`,"g"),((e,n)=>t[n]||e))}(n,r);return m(e,n,s,a)}}var x=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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const v=e=>{const{prefixCls:t,separator:n="/",children:r,menu:o,overlay:i,dropdownProps:a,href:l}=e;const c=(e=>{if(o||i){const n=Object.assign({},a);if(o){const e=o||{},{items:t}=e,r=x(e,["items"]);n.menu=Object.assign(Object.assign({},r),{items:null==t?void 0:t.map(((e,t)=>{var{key:n,title:r,label:o,path:i}=e,a=x(e,["key","title","label","path"]);let c=null!=o?o:r;return i&&(c=s.createElement("a",{href:`${l}${i}`},c)),Object.assign(Object.assign({},a),{key:null!=n?n:t,label:c})}))})}else i&&(n.overlay=i);return s.createElement(d.Z,Object.assign({placement:"bottom"},n),s.createElement("span",{className:`${t}-overlay-link`},e,s.createElement(u.Z,null)))}return e})(r);return null!=c?s.createElement(s.Fragment,null,s.createElement("li",null,c),n&&s.createElement(f,null,n)):null},w=e=>{const{prefixCls:t,children:n,href:r}=e,o=x(e,["prefixCls","children","href"]),{getPrefixCls:i}=s.useContext(c.E_),a=i("breadcrumb",t);return s.createElement(v,Object.assign({},o,{prefixCls:a}),m(a,o,n,r))};w.__ANT_BREADCRUMB_ITEM=!0;var y=w,b=n(17313),k=n(83116),j=n(37613);const _=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},(0,b.Wf)(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${e.paddingXXS}px`,borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",marginInline:-e.marginXXS,"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,b.Qy)(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[`\n > ${n} + span,\n > ${n} + a\n `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.lineHeight*e.fontSize,display:"inline-block",padding:`0 ${e.paddingXXS}px`,marginInline:-e.marginXXS,[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}};var S=(0,k.Z)("Breadcrumb",(e=>{const t=(0,j.TS)(e,{});return[_(t)]}),(e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}))),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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function A(e){const{breadcrumbName:t,children:n}=e,r=C(e,["breadcrumbName","children"]),o=Object.assign({title:t},r);return n&&(o.menu={items:n.map((e=>{var{breadcrumbName:t}=e,n=C(e,["breadcrumbName"]);return Object.assign(Object.assign({},n),{title:t})}))}),o}var N=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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const B=e=>{const{prefixCls:t,separator:n="/",style:r,className:u,rootClassName:d,routes:p,items:h,children:m,itemRender:x,params:w={}}=e,y=N(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:b,direction:k,breadcrumb:j}=s.useContext(c.E_);let _;const C=b("breadcrumb",t),[B,T]=S(C),E=function(e,t){return(0,s.useMemo)((()=>e||(t?t.map(A):null)),[e,t])}(h,p);const P=g(C,x);if(E&&E.length>0){const e=[],t=h||p;_=E.map(((r,o)=>{const{path:i,key:l,type:c,menu:u,overlay:d,onClick:p,className:h,separator:m,dropdownProps:g}=r,x=((e,t)=>{if(void 0===t)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach((t=>{n=n.replace(`:${t}`,e[t])})),n})(w,i);void 0!==x&&e.push(x);const y=null!=l?l:o;if("separator"===c)return s.createElement(f,{key:y},m);const b={},k=o===E.length-1;u?b.menu=u:d&&(b.overlay=d);let{href:j}=r;return e.length&&void 0!==x&&(j=`#/${e.join("/")}`),s.createElement(v,Object.assign({key:y},b,(0,a.Z)(r,{data:!0,aria:!0}),{className:h,dropdownProps:g,href:j,separator:k?"":n,onClick:p,prefixCls:C}),P(r,w,t,e,j))}))}else if(m){const e=(0,i.Z)(m).length;_=(0,i.Z)(m).map(((t,r)=>{if(!t)return t;const o=r===e-1;return(0,l.Tm)(t,{separator:o?"":n,key:r})}))}const L=o()(C,null==j?void 0:j.className,{[`${C}-rtl`]:"rtl"===k},u,d,T),I=Object.assign(Object.assign({},null==j?void 0:j.style),r);return B(s.createElement("nav",Object.assign({className:L,style:I},y),s.createElement("ol",null,_)))};B.Item=y,B.Separator=f;var T=B},28103:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(92310),o=n.n(r),i=n(59301),a=n(36355),s=n(17313),l=n(83116),c=n(37613);const u=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:o,textPaddingInline:i,orientationMargin:a,verticalMarginInline:l}=e;return{[t]:Object.assign(Object.assign({},(0,s.Wf)(e)),{borderBlockStart:`${o}px solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:l,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${o}px solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${e.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${e.dividerHorizontalWithTextGutterMargin}px 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${o}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:100*a+"%"},"&::after":{width:100-100*a+"%"}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:100-100*a+"%"},"&::after":{width:100*a+"%"}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${o}px 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:o,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}};var d=(0,l.Z)("Divider",(e=>{const t=(0,c.TS)(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[u(t)]}),(e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}))),p=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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};var f=e=>{const{getPrefixCls:t,direction:n,divider:r}=i.useContext(a.E_),{prefixCls:s,type:l="horizontal",orientation:c="center",orientationMargin:u,className:f,rootClassName:h,children:m,dashed:g,plain:x,style:v}=e,w=p(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),y=t("divider",s),[b,k]=d(y),j=c.length>0?`-${c}`:c,_=!!m,S="left"===c&&null!=u,C="right"===c&&null!=u,A=o()(y,null==r?void 0:r.className,k,`${y}-${l}`,{[`${y}-with-text`]:_,[`${y}-with-text${j}`]:_,[`${y}-dashed`]:!!g,[`${y}-plain`]:!!x,[`${y}-rtl`]:"rtl"===n,[`${y}-no-default-orientation-margin-left`]:S,[`${y}-no-default-orientation-margin-right`]:C},f,h),N=i.useMemo((()=>"number"==typeof u?u:/^\d+$/.test(u)?Number(u):u),[u]),B=Object.assign(Object.assign({},S&&{marginLeft:N}),C&&{marginRight:N});return b(i.createElement("div",Object.assign({className:A,style:Object.assign(Object.assign({},null==r?void 0:r.style),v)},w,{role:"separator"}),m&&"vertical"!==l&&i.createElement("span",{className:`${y}-inner-text`,style:B},m)))}},93314:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55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