|
|
(self.webpackChunk=self.webpackChunk||[]).push([[28982,4977,39752],{66455: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={},l="5.0",n={},t=null,a=!1,i=!1,o=null,r=!1,s=null,c=null,u=0;u<arguments.length;u++){var d=arguments[u];if(null!==d)switch(_typeof(d)){case"number":l=d.toFixed(1);break;case"string":d.match(new RegExp("^[0-9]\\.[0-9]+$"))?l=d:o=d;break;case"object":void 0!==d.is3D?t=d:n=d;break;case"boolean":a=d,i=!0}}null===t&&(t={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||(a=!0)),null!==o&&void 0===n.id&&(n.id=o);var p="",h=!1,v=null,f=null,m=null,b=!1,g=null,w=null,x=null;void 0!==n.height&&(n.height=Math.round(n.height)),void 0!==n.width&&(n.width=Math.round(n.width));var y=function(e){return parseFloat(e)>4?parseFloat(e):5};function C(){try{return window.self!==window.top}catch(e){return!0}}function k(){return(!n.hasOwnProperty("screenshotGenerator")||!n.screenshotGenerator)&&Math.max(screen.width,screen.height)<800}e.setHTML5Codebase=function(e,l){c=e,Z(e,l)},e.setJavaCodebase=e.setJavaCodebaseVersion=e.isCompiledInstalled=e.setPreCompiledScriptPath=e.setPreCompiledResourcePath=function(){},e.setHTML5CodebaseVersion=function(e,l){var n=parseFloat(e);NaN!==n&&n<5?console.log("The GeoGebra HTML5 codebase version "+n+" is deprecated. Using version latest instead."):(s=e,D(e,l))},e.getHTML5CodebaseVersion=function(){return f},e.getParameters=function(){return n},e.setFontsCSSURL=function(e){x=e},e.setGiacJSURL=function(e){},e.setJNLPFile=function(e){e},e.setJNLPBaseDir=function(e){},e.inject=function(){function l(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var t,a="auto",i=n.id,o=!1,s=0;s<arguments.length;s++){var c=arguments[s];"string"==typeof c?(c=c.toLowerCase()).match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?a=c:i=arguments[s]:"boolean"==typeof c?o=c:c instanceof HTMLElement&&(t=c)}function u(){if(r){a=M(a);var s=t||document.getElementById(i);if(s)if(e.removeExistingApplet(s,!1),void 0===n.width&&s.clientWidth&&(n.width=s.clientWidth),void 0===n.height&&s.clientHeight&&(n.height=s.clientHeight),n.width&&n.height||"html5"!==a||(delete n.width,delete n.height),v=a,"screenshot"===a)P(s,n);else{var c=!1;n.hasOwnProperty("playButton")&&n.playButton||n.hasOwnProperty("clickToLoad")&&n.clickToLoad?c=!0:n.hasOwnProperty("playButtonAutoDecide")&&n.playButtonAutoDecide&&(c=(!C()||l())&&k()),c?(v="screenshot",_(s,n,o,a)):T(s,n,o)}else console.log("possibly bug on ajax loading? ")}else setTimeout(u,200)}u()},e.getViews=function(){return t},e.isJavaInstalled=function(){return!1};var S=function(l){var a=function(){n.onError&&n.onError(),O("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",o="/materials/"+n.material_id+"?scope=basic";B("https://"+i+"/api/proxy.php?path="+encodeURIComponent(o),(function(i){var o=JSON.parse(i),r=o.elements?o.elements.filter((function(e){return"G"==e.type||"E"==e.type}))[0]:o;if(r&&r.url){n.fileName=r.url,j(r.settings||{}),t.is3D=!0;var s="https://www.geogebra.org/images/";e.setPreviewImage(g||r.previewUrl,s+"GeoGebra_loading.png",s+"applet_play.png"),l()}else a()}),a)};function j(e){["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach((function(l){e[l]=!!e[l]})),["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"].forEach((function(l){void 0===n[l]&&void 0!==e[l]&&(n[l]=e[l])})),void 0===n.showToolBarHelp&&(n.showToolBarHelp=n.showToolBar)}function B(e,l,n){var t=new XMLHttpRequest;t.open("GET",e),t.onload=function(){l(t.responseText)},t.onerror=n,t.send()}e.isHTML5Installed=function(){return!0},e.getLoadedAppletType=function(){return v},e.setPreviewImage=function(e,l,n){g=e,w=l,n},e.removeExistingApplet=function(e,l){var t;"string"==typeof e&&(e=document.getElementById(e)),v=null;var a=null;for(t=0;t<e.childNodes.length;t++){var i=e.childNodes[t],o=i.className;"applet_screenshot"===o?l?(i.style.display="block",v="screenshot"):i.style.display="none":"applet_scaler prerender"!==o&&(e.removeChild(i),a=o&&-1!=o.indexOf("appletParameters")?i.id:null,t--)}var r=void 0!==n.id?n.id:a,s=window[r];s&&"function"==typeof s.getBase64&&(s.remove(),window[r]=null)},e.refreshHitPoints=function(){if(y(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var l=e.getAppletObject();return!(!l||"function"!=typeof l.recalculateEnvironments)&&(l.recalculateEnvironments(),!0)},e.startAnimation=function(){var l=e.getAppletObject();return!(!l||"function"!=typeof l.startAnimation)&&(l.startAnimation(),!0)},e.stopAnimation=function(){var l=e.getAppletObject();return!(!l||"function"!=typeof l.stopAnimation)&&(l.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},T=function(l,n,t){y(f)<=4.2&&(t=!0);var a=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==f||ggbHTML5LoadedCodebaseIsWebSimple&&!b)&&(a=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var i=document.createElement("div");i.classList.add("appletParameters","notranslate");var o=n.width,r=n.height;if(n.disableAutoScale=void 0===n.disableAutoScale?GGBAppletUtils.isFlexibleWorksheetEditor():n.disableAutoScale,void 0!==n.width)if(y(f)<=4.4)A(n.showToolBar)&&(n.height-=7),A(n.showAlgebraInput)&&(n.height-=37),n.width<605&&A(n.showToolBar)&&(n.width=605,o=605);else{var u=100;(A(n.showToolBar)||A(n.showMenuBar))&&(n.hasOwnProperty("customToolBar")&&(n.customToolbar=n.customToolBar),u=A(n.showMenuBar)?245:155),o<u&&(n.width=u,o=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]);x&&i.setAttribute("data-param-fontscssurl",x),e.resize=function(){GGBAppletUtils.responsiveResize(l,n)},window.addEventListener("resize",(function(l){e.resize()}));var h="function"==typeof n.appletOnLoad?n.appletOnLoad:function(){};if(t||void 0===n.width){var v=document.createElement("div");v.className="applet_scaler",v.style.position="relative",v.style.display="block",v.appendChild(i),l.appendChild(v),n.appletOnLoad=function(l){e.resize(),h(l)}}else{n.hasOwnProperty("showSplash")||i.setAttribute("data-param-showSplash","false");var g=l.querySelector(".applet_scaler.prerender"),w=null!==g;if(w)C=g.querySelector(".ggb_preview");else{var C=L(o,r,n.borderColor,!1);(g=document.createElement("div")).className="applet_scaler",g.style.position="relative",g.style.display="block",g.style.width=o+"px",g.style.height=r+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(g,"66%"),y(f)>=5?(n.appletOnLoad=function(e){var n=l.querySelector(".ggb_preview");n&&n.parentNode.removeChild(n),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(g),window.GGBT_wsf_view&&$(window).trigger("resize"),h(e)},w||g.appendChild(C)):i.appendChild(C),g.appendChild(i),w||l.appendChild(g),setTimeout((function(){e.resize()}),1)}function k(e,l){l&&"function"==typeof l.appletOnLoad&&"function"==typeof renderGGBElement?renderGGBElement(e,l.appletOnLoad):renderGGBElement(e),O("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",l)}function S(e,l){"undefined"==typeof renderGGBElement?(null===html5AppletsToProcess&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:e,params:l}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,null!==html5AppletsToProcess&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach((function(e){k(e.article,e.params)})),html5AppletsToProcess=null)},y(f)<5&&(e.className+=" geogebraweb")):k(e,l)}if(a){scriptLoadStarted=!0;for(var j=0;j<i.childNodes.length;j++){"TABLE"===i.childNodes[j].tagName&&(i.removeChild(i.childNodes[j]),j--)}if(null!==ggbHTML5LoadedScript){var B=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');null!=B&&B.parentNode.removeChild(B)}var T=document.createElement("script"),P=function(){S(i,n)};T.src=p+m,ggbHTML5LoadedCodebaseIsWebSimple=b,ggbHTML5LoadedCodebaseVersion=f,ggbHTML5LoadedScript=T.src,O("GeoGebra HTML5 codebase loaded: '"+p+"'.",n),c||s&&"5.0"!=s?p.requirejs?__webpack_require__.e(5783).then(function(){var e=[__webpack_require__(5783)];P.apply(null,e)}.bind(this)).catch(__webpack_require__.oe):(T.onload=P,l.appendChild(T)):(b?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),P())}else S(i,n);n.height=r,n.width=o},P=function(l,n,t){var a=L(n.width,n.height,n.borderColor,t),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"+(t?" applet_screenshot_play":""),i.appendChild(a);var o=GGBAppletUtils.getScale(n,l,t);t?(l.appendChild(N()),window.GGBT_wsf_view||(l.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(i,"66%"),l.appendChild(i),1===o||isNaN(o)||(GGBAppletUtils.scaleElement(i,o),i.style.width=n.width+"px",i.style.height=n.height+"px",i.parentNode.style.width=n.width*o+"px",i.parentNode.style.height=n.height*o+"px"),e.resize=function(){E(l,a,i,t)},window.addEventListener("resize",(function(l){e.resize()})),e.resize()};function E(e,l,t,a){if(e.contains(l)){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,a);null!==t.parentNode&&(isNaN(i)||1===i?(GGBAppletUtils.scaleElement(t,1),t.parentNode.style.width=n.width+"px",t.parentNode.style.height=n.height+"px"):(GGBAppletUtils.scaleElement(t,i),t.parentNode.style.width=n.width*i+"px",t.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,l){l.appendChild(e)};var _=function(e,l,n,t){P(e,l,!0);for(var a=function(){var n=[];for(o=0;o<e.childNodes.length;o++)n.push(e.childNodes[o]);if(window.GGBT_wsf_view){var a=window.GGBT_wsf_view.renderFullScreen(e,l.id),i=document.getElementById("fullscreencontainer"),r=jQuery(e).find(".fullscreencontent");r.length>0?(a.remove(),r.attr("id","fullscreencontent").show(),jQuery(i).append(r),window.dispatchEvent(new Event("resize"))):T(a,l,!1),window.GGBT_wsf_view.launchFullScreen(i)}else v=t,T(e,l,!1);if(!window.GGBT_wsf_view)for(o=0;o<n.length;o++)e.removeChild(n[o])},i=e.getElementsByClassName("ggb_preview_play"),o=0;o<i.length;o++)i[o].addEventListener("click",a,!1),i[o].addEventListener("ontouchstart",a,!1);"function"==typeof window.ggbAppletPlayerOnload&&window.ggbAppletPlayerOnload(e),k()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},N=function(){var e=document.createElement("div");if(e.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var l='.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=l:n.appendChild(document.createTextNode(l)),document.getElementsByTagName("head")[0].appendChild(n)}return e},L=function(e,l,n,t){var a=document.createElement("div");a.className="ggb_preview",a.style.position="absolute",a.style.zIndex="90",a.style.width=e-2+"px",a.style.height=l-2+"px",a.style.top="0px",a.style.left="0px",a.style.overflow="hidden",a.style.backgroundColor="white";var i="lightgrey";void 0!==n&&(i="none"===n?"transparent":n),a.style.border="1px solid "+i;var o,r,s,c=document.createElement("img");if((c.style.position="relative",c.style.zIndex="1000",c.style.top="-1px",c.style.left="-1px",null!==g&&c.setAttribute("src",g),c.style.opacity=.7,null!==w)&&!t){(o=document.createElement("img")).style.position="absolute",o.style.zIndex="1001",o.style.opacity=1,c.style.opacity=.3,(r=360)>e/4*3&&(r=e/4*3),s=r/5.8,o.setAttribute("src",w),o.setAttribute("width",r),o.setAttribute("height",s);var u=(e-r)/2,d=(l-s)/2;o.style.left=u+"px",o.style.top=d+"px",a.appendChild(o)}return a.appendChild(c),a},M=function(e){return"html5"===(e=e.toLowerCase())||"screenshot"===e?e:"html5"},G=["web","webSimple","web3d","tablet","tablet3d","phone"],D=function(e,l){if(f=e,l)Z(f,!0);else{var i,o,r=!a;if(r){var s=y(f);!isNaN(s)&&s<4.4&&(r=!1)}i="http"===window.location.protocol.substr(0,4)?window.location.protocol:"http:";var c=f.indexOf("//");for(var u in o=c>0?f:0===c?i+f:"https://www.geogebra.org/apps/5.2.814.0/",G)if(f.slice(-1*G[u].length)===G[u]||f.slice(-1*(G[u].length+1))===G[u]+"/")return void Z(o,!1);GGBAppletUtils.isFlexibleWorksheetEditor()||!r||t.is3D||t.AV||t.SV||t.CV||t.EV2||t.CP||t.PC||t.DA||t.FI||t.PV||A(n.showToolBar)||A(n.showMenuBar)||A(n.showAlgebraInput)||A(n.enableRightClick)||n.appName&&"classic"!=n.appName?o+="web3d/":o+="webSimple/",Z(o,!1)}},Z=function(e,l){if(e.requirejs)p=e;else{"/"!==e.slice(-1)&&(e+="/"),p=e,null===l&&(l=-1===e.indexOf("http")),h=l,m="web.nocache.js",b=!1;var n=p.split("/");n.length>1&&(l||"webSimple"!==n[n.length-2]?G.indexOf(n[n.length-2])>=0&&(m=n[n.length-2]+".nocache.js"):(m="webSimple.nocache.js",b=!0)),n=e.split("/"),"test"===(f=n[n.length-3]).substr(0,4)?f=f.substr(4,1)+"."+f.substr(5,1):"war"!==f.substr(0,3)&&"beta"!==f.substr(0,4)||(f="5.0");var t=parseFloat(f);NaN!==t&&t<5&&e.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+t+" is deprecated. Using version latest instead."),D("5.0",l))}},O=function(e,l){window.console&&window.console.log&&(!l||void 0===l.showLogging||l.showLogging&&"false"!==l.showLogging)&&console.log(e)};function R(){var e=l;null!==s?e=s:parseFloat(e)<5&&(e="5.0"),D(e,!1),null!==c&&Z(c,h),r=!0}return void 0!==n.material_id?S(R):R(),e},GGBAppletUtils=function(){"use strict";function e(){return void 0!==window.GGBT_wsf_edit}function l(e,l){1!=l?(e.style.transformOrigin="0% 0% 0px",e.style.webkitTransformOrigin="0% 0% 0px",e.style.transform="scale("+l+","+l+")",e.style.webkitTransform="scale("+l+","+l+")",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,l,n,t,a){if(e.isScreenshoGenerator)return 1;var i,o=void 0!==t&&t,r=null!=e.noScaleMargin&&e.noScaleMargin,s=(i=e.autoHeight)&&"false"!==i,c=function(e,l,n,t,a,i){var o=null;if(null!=i&&""!=i)for(var r=e.parentNode;null!=r;){if((" "+r.className+" ").indexOf(" "+i+" ")>-1){o=r;break}r=r.parentNode}var s=0,c=0,u=0,d=0,p=0,h=0,v=0;if(o)s=o.offsetWidth,c=Math.max(t?o.offsetWidth:0,o.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(s=Math.min(window.innerWidth,document.documentElement.clientWidth),c=Math.min(window.innerHeight,document.documentElement.clientHeight),u=s):(s=window.innerWidth,c=window.innerHeight,u=window.innerWidth),e){var f=e.getBoundingClientRect();f.left>0&&f.left<=s&&(void 0===a||!a)&&("rtl"===document.dir?(p=s-f.width-f.left,h=u<=480?10:30):(h=f.left,p=u<=480?10:30),d=h+p)}e&&"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&(e.getBoundingClientRect(),"closePositionRight"===window.GGBT_wsf_view.getCloseBtnPosition()?(d=40,v=0):"closePositionTop"===window.GGBT_wsf_view.getCloseBtnPosition()&&(d=0,v=40))}return e&&((void 0===n||!n)&&l>0&&l+d<s?s=l:s-=d,"object"!==_typeof(window.GGBT_wsf_view)||!window.GGBT_wsf_view.isFullscreen()||void 0!==n&&n||(c-=v)),{width:s,height:c}}(l,e.width,n,s,o&&window.GGBT_wsf_view||r,a),u=parseInt(c.width),d=e.width,p=e.height;if(void 0===d){var h=l.querySelector(".appletParameters");h&&(d=h.offsetWidth,p=h.offsetHeight)}var v=u/d,f=o?1:c.height/p;return void 0===n||n||(v=Math.min(1,v),f=Math.min(1,f)),Math.min(v,f)}function t(e,l,t){var a,i=1,o=!1;return e.hasOwnProperty("allowUpscale")&&(o=e.allowUpscale),e.hasOwnProperty("scale")&&(i=parseFloat(e.scale),(isNaN(i)||null===i||0===i)&&(i=1),i>1&&(o=!0)),l&&"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&(o=!0),e.hasOwnProperty("disableAutoScale")&&e.disableAutoScale?i:(a=n(e,l,o,t,e.scaleContainerClass),!o||e.hasOwnProperty("scale")&&1!==i?Math.min(i,a):a)}function a(e){var l=Math.min(window.innerWidth,document.documentElement.clientWidth),n=Math.min(window.innerHeight,document.documentElement.clientHeight),t=e.getBoundingClientRect(),a=(l-t.width)/2,i=(n-t.height)/2;i<0&&(i=0),e.style.position="relative","closePositionRight"===window.GGBT_wsf_view.getCloseBtnPosition()?(e.style.left=a<40?"40px":a+"px",e.style.top=i+"px"):"closePositionTop"===window.GGBT_wsf_view.getCloseBtnPosition()&&(e.style.top=i<40?"40px":i+"px",e.style.left=a+"px")}return{responsiveResize:function(n,i){var o=n.querySelector(".appletParameters");if(o){if("object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()){if(i.id!==o.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(n)}if(o.parentElement&&/fullscreen/.test(o.parentElement.className))return;var r=t(i,n);e()&&o.setAttribute("data-param-scale",r);for(var s=null,c=0;c<n.childNodes.length;c++)if(void 0!==n.childNodes[c].className&&n.childNodes[c].className.match(/^applet_scaler/)){s=n.childNodes[c];break}if(null!==s&&null!==s.querySelector(".noscale"))return;var u=void 0!==i.id?i.id:"ggbApplet",d=window[u];null!=d&&d.recalculateEnvironments||null===s||s.className.match(/fullscreen/)||(s.parentNode.style.transform="",isNaN(r)||1===r?(l(s,1),s.parentNode.style.width=i.width+"px",s.parentNode.style.height=i.height+"px"):(s.parentNode.style.width=i.width*r+"px",s.parentNode.style.height=i.height*r+"px",l(s,r))),"object"===_typeof(window.GGBT_wsf_view)&&window.GGBT_wsf_view.isFullscreen()&&a(n),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(o).parents(".content-added-content"))}},isFlexibleWorksheetEditor:e,positionCenter:a,getScale:t,scaleElement:l}}();__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,l){}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 l=document.compatMode==U?V:W;t.write(l+X),t.close()}}}function w(e){q(cb,eb),function(e){function l(){return _typeof(o.readyState)==Y?_typeof(o.body)!=Y&&null!=o.body:/loaded|complete/.test(o.readyState)}var n=l();if(n)e();else{o.addEventListener&&o.addEventListener(Z,a,!1);var t=setInterval((function(){a()}),$)}function a(){if(!n){if(!l())return;n=!0,e(),o.removeEventListener&&o.removeEventListener(Z,a,!1),t&&clearInterval(t)}}}((function(){var l,n,t,a;l=e,n=u(),t=n.body,(a=n.createElement(_)).language=ab,a.crossOrigin=W,a.src=l,webModule.__errFn&&(a.onerror=function(){webModule.__errFn(L,new Error(bb+l))}),t.appendChild(a),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 l=c[e];return null==l?null:l},r=d,webModule.__errFn=e}function B(){function e(e){var l=e.lastIndexOf(rb);-1==l&&(l=e.length);var n=e.indexOf(sb);-1==n&&(n=e.length);var t=e.lastIndexOf(tb,Math.min(n,l));return t>=O?e.substring(O,t+P):W}var l,n=null!=(l=__gwt_getMetaProperty(wb))?l:W;return n==W&&(n=function(){for(var l=o.getElementsByTagName(_),n=O;n<l.length;++n)if(-1!=l[n].src.indexOf(xb))return e(l[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(l){if(l.match(/^\w+:\/\//));else{var n=o.createElement(ub);n.src=l+vb,l=e(n.src)}return l}(n),n}function C(e){return e.match(/^\//)||e.match(/^[a-zA-Z]+:\/\//)?e:webModule.__moduleBase+e}function D(){var e,l=O,t=[],a=[];function i(e){var l=a[e](),n=t[e];if(l in n)return l;var i=[];for(var o in n)i[n[o]]=o;throw r&&r(e,i,l),null}if(__gwt_isKnownPropertyValue=function(e,l){return l in t[e]},webModule.__getPropMap=function(){var e={};for(var l in t)t.hasOwnProperty(l)&&(e[l]=i(l));return e},webModule.__computePropValue=i,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);try{var o=(e=Cb).indexOf(Db);-1!=o&&(l=parseInt(e.substring(o+P),$),e=e.substring(O,o))}catch(e){}return webModule.__softPermutationId=l,C(e+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}s[L]={moduleName:L},webModule.__moduleStartupDone=function(e){var l=s[L].bindings;s[L].bindings=function(){for(var n=l?l():{},t=e[webModule.__softPermutationId],a=O;a<t.length;a++){var i=t[a];n[i[O]]=i[P]}return n}},webModule.__startLoadingFragment=function(e){return C(e)},webModule.__installRunAsyncCode=function(e){var l=u(),n=l.body,t=l.createElement(_);t.language=ab,t.text=e,n.appendChild(t),n.removeChild(t)},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")})()},55087:function(e,l,n){"use strict";function t(e){var l=!0;if(e.length>0){for(var n=0;n<e.length;n++)if(0==e[n].compile_success||!e[n].compile_success){l=!1;break}}else l=!1;return l}function a(e){for(var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=[],t=0;t<e.length;t++){var a=e[t],i=l?"".concat(l,"/").concat(a.name):"".concat(a.name);n.push({title:a.name,type:a.type,isLeaf:"tree"!==a.type,key:i})}return n}function i(e,l,n){for(var t=0;t<e.length;t++){var a=e[t];if(a.key===l){a.children=n;break}a.children&&i(a.children,l,n)}return e}function o(e,l,n){var t;return function(){var a=this,i=arguments,o=function(){t=null,n||e.apply(a,i)},r=n&&!t;clearTimeout(t),t=setTimeout(o,l),r&&e.apply(a,i)}}n.d(l,{Ax:function(){return i},Ds:function(){return o},KI:function(){return r},SI:function(){return a},f1:function(){return t}});var r=n(27065).Z.API_SERVER},74908:function(e,l,n){"use strict";n.d(l,{Z:function(){return x}});var t=n(7557),a=n.n(t),i=n(41498),o=n.n(i),r=n(79800),s=n.n(r),c=n(59301),u="imageDimensions___a7crR",d="img___Kroat",p="fullWidth___c492T",h=n(92310),v=n.n(h),f=n(71418),m=n(2859),b=n(51136),g=n(6457),w=n(37712),x=function(e){var l=e.data,n=e.className,t=e.fullWidth,i=e.style,r=void 0===i?{}:i,h=e.onClose,x=e.onOk,y=e.showFullTools,C=e.noAssociationId,k=(0,c.useRef)(null),S=(0,c.useRef)(null),j=(0,c.useState)(!1),B=s()(j,2),A=B[0],T=B[1],P=(0,c.useState)("正在加载中"),E=s()(P,2),_=E[0],N=E[1];(0,c.useEffect)((function(){null!=l&&l.visible?document.body.setAttribute("data-custom","y-hidden"):document.body.removeAttribute("data-custom"),null!=l&&l.src&&L()}),[null==l?void 0:l.visible]);var L=function(){var e=o()(a()().mark((function e(){var n;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return T(!0),N("正在加载中"),e.next=4,(0,g.ZJ)(null==l?void 0:l.src);case 4:n=e.sent,k.current.src="",k.current.src=n,k.current.onload=function(){G()},T(!1),N("");case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),M=function(){var e=o()(a()().mark((function e(n){var t;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return T(!0),N("正在保存中"),e.next=4,(0,b.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:l.title,file:n.dataUrl}});case 4:if(null==(t=e.sent)||!t.id||C){e.next=12;break}return e.next=8,(0,b.ZP)("/api/attachments/".concat(l.id,"/add_subitem.json"),{method:"post",body:{subitem_id:null==t?void 0:t.id,settings:JSON.stringify(n.state)}});case 8:0===e.sent.status&&x(),e.next=13;break;case 12:null!=t&&t.id&&x(t);case 13:T(!1),N("");case 15:case"end":return e.stop()}}),e)})));return function(l){return e.apply(this,arguments)}}(),G=function(){S.current=new m.hP(k.current),S.current.addEventListener("render",M),S.current.addEventListener("beforeclose",h),y&&(S.current.availableMarkerTypes=S.current.ALL_MARKER_TYPES,S.current.uiStyleSettings.redoButtonVisible=!0,S.current.uiStyleSettings.notesButtonVisible=!0,S.current.uiStyleSettings.zoomButtonVisible=!0,S.current.uiStyleSettings.zoomOutButtonVisible=!0,S.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=S.current.uiStyleSettings,S.current.show(),null!=l&&l.snapshotData&&S.current.restoreState(l.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 l=document.querySelector(e.name);l&&l.setAttribute("title",e.title)}))}),300)};return(0,w.jsx)(c.Fragment,{children:(null==l?void 0:l.visible)&&(0,w.jsxs)("div",{className:v()(u,n,t?p:""),style:r,children:[(0,w.jsx)(f.Z,{spinning:A,tip:_,style:{position:"absolute"}}),(0,w.jsx)("img",{className:d,ref:k})]})})}},37507:function(e,l,n){"use strict";n.d(l,{h:function(){return b}});var t=n(82242),a=n.n(t),i=n(79800),o=n.n(i),r=n(59301),s=n(57809),c=n(78241),u=n(3113),d=n(89780),p=n.n(d),h=(n(81974),n(3693),n(37712)),v=s.default.Option,f={labelCol:{span:4},wrapperCol:{span:20}},m={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 b(e){var l=e.value,n=e.onChange,t=e.mode,i=e.options,s=void 0===i?{}:i,c=(0,r.useRef)(),u=(0,r.useState)(),d=o()(u,2),v=d[0],f=d[1];return(0,r.useEffect)((function(){if(v){var e=function(e){var l=e.getValue();n&&n(l)};return v.on("change",e),function(){v.off("change",e)}}}),[v,n]),(0,r.useEffect)((function(){v&&v.setOption("mode",t)}),[v,t]),(0,r.useEffect)((function(){v&&(l===v.getValue()&&""!==l||setTimeout((function(){v.setValue(l||"")}),300))}),[v,l]),(0,r.useEffect)((function(){if(c.current&&!v){var e=p().fromTextArea(c.current,a()({mode:t,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},s));f(e)}}),[c.current,v]),(0,h.jsx)("div",{className:"my-codemirror-container",children:(0,h.jsx)("textarea",{ref:c})})}l.Z=function(e){var l=e.callback,n=e.onCancel,t=(0,r.useState)("python"),i=o()(t,2),d=i[0],p=i[1];return(0,h.jsxs)(c.Z,a()(a()({},f),{},{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:function(e){l(e)},style:{width:500},children:[(0,h.jsx)(c.Z.Item,{label:"代码语言",name:"language",children:(0,h.jsx)(s.default,{getPopupContainer:function(e){return e.parentNode},onChange:function(e){p(m[e][1])},children:Object.keys(m).map((function(e){return(0,h.jsx)(v,{value:e,children:m[e][0]},e)}))})}),(0,h.jsx)(c.Z.Item,{label:"代码内容",name:"content",rules:[{required:!0,message:"请输入代码内容"}],children:(0,h.jsx)(b,{mode:d})}),(0,h.jsxs)("div",{className:"flex-container flex-end",children:[(0,h.jsx)(u.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,h.jsx)(u.ZP,{type:"ghost",onClick:n,children:"取消"})]})]}))}},11094:function(e,l,n){"use strict";n.d(l,{Z:function(){return Ae}});var t=n(91232),a=n.n(t),i=n(79800),o=n.n(i),r=n(85573),s=n.n(r),c=n(59301),u=n(89780),d=n.n(u),p=n(76374),h=(n(81974),n(6313),n(25717),n(99498),n(25419),n(67549),n(42783)),v=n(37712),f=function(e){var l=e.value,n=void 0===l?"":l,t=(e.className,e.showTextOnly,e.showLines,e.style,(0,c.useMemo)((function(){return""}),[n]));return(0,v.jsx)(v.Fragment,{children:(0,v.jsx)("div",{dangerouslySetInnerHTML:{__html:t}})})},m=n(82242),b=n.n(m),g=[{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 l=e.onActionCallback,n=e.title,t=e.icon,a=e.actionName,i=e.className,o=void 0===i?"":i,r=e.children;return(0,v.jsxs)("a",{title:n,className:o,onClick:function(){l(a)},children:[(0,v.jsx)("i",{className:"".concat(t)}),r]})}var x=function(e){var l=e.watch,n=e.showNullButton,t=e.showNullProgramButton,a=e.onActionCallback,i=e.fullScreen,o=e.insertTemp,r=e.hidetoolBar,s=e.extraUse,c=[].concat(g,[{title:"".concat(l?"关闭实时预览":"开启实时预览"),icon:"".concat(l?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"),actionName:"trigger-watch"}]);return(0,v.jsxs)("ul",{className:"markdown-toolbar-container",children:[!r&&c.map((function(e,l){return(0,v.jsx)("li",{children:e.actionName?(0,v.jsx)(w,b()(b()({},e),{},{onActionCallback:a})):(0,v.jsx)("span",{className:"v-line"})},l)})),n?(0,v.jsx)("li",{children:(0,v.jsx)(w,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"增加填空",actionName:"add-null-ch",onActionCallback:a,children:(0,v.jsx)("span",{className:"fill-tip",children:"点击插入\b填空项"})})}):null,t?(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("li",{children:(0,v.jsx)(w,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"增加填空",actionName:"add-signal",onActionCallback:a,children:(0,v.jsx)("span",{className:"fill-tip",children:"+单行填空项"})})}),(0,v.jsx)("li",{children:(0,v.jsx)(w,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"增加填空",actionName:"add-multiple",onActionCallback:a,children:(0,v.jsx)("span",{className:"fill-tip",children:"+多行填空项"})})})]}):null,o&&(0,v.jsx)("li",{children:(0,v.jsx)(w,{icon:"md-iconfont icon-edit",className:"btn-null",title:"插入模板",actionName:"inster-template-".concat(o),onActionCallback:a,children:(0,v.jsx)("span",{className:"fill-tip",children:"插入模板"})})}),s&&(0,v.jsx)("li",{children:s}),(0,v.jsx)("li",{className:"btn-full-screen",children:(0,v.jsx)(w,{icon:"".concat(i?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"),title:i?"关闭全屏":"开启全屏",actionName:"trigger-full-screen",onActionCallback:a})})]})},y=n(27308),C=n(78241),k=n(8772),S=n(3113),j={labelCol:{span:4},wrapperCol:{span:20}},B=function(e){var l=e.callback,n=e.onCancel;return(0,v.jsxs)(C.Z,b()(b()({},j),{},{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:function(e){l(e)},style:{width:500},children:[(0,v.jsx)(C.Z.Item,{label:"链接地址",name:"link",rules:[{required:!0,message:"请输入链接地址"}],children:(0,v.jsx)(k.Z,{})}),(0,v.jsx)(C.Z.Item,{label:"链接标题",name:"title",rules:[{required:!0,message:"请输入链接标题"}],children:(0,v.jsx)(k.Z,{})}),(0,v.jsxs)("div",{className:"flex-container flex-end",children:[(0,v.jsx)(S.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,v.jsx)(S.ZP,{type:"ghost",onClick:n,children:"取消"})]})]}))},A=n(37507),T=n(8591),P=n(55087),E=C.Z.useForm,_={width:280,marginRight:10},N={labelCol:{span:5},wrapperCol:{span:19}},L=function(e){var l=e.callback,n=e.onCancel,t=E(),a=o()(t,1)[0],i=(0,c.useRef)();function r(e,l){-1!==e.status?a.setFieldsValue({src:"/api/attachments/".concat(e.id),type:l.type}):T.ZP.error(e.message)}return(0,v.jsxs)(C.Z,b()(b()({form:a},N),{},{className:"upload-image-panel",onFinish:function(e){l(e,i.current)},style:{width:470,overflow:"hidden"},children:[(0,v.jsx)(C.Z.Item,{label:"图片地址",required:!0,children:(0,v.jsxs)("div",{className:"flex-container",children:[(0,v.jsx)(C.Z.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"请输入图片地址"}],children:(0,v.jsx)(k.Z,{style:_})}),(0,v.jsx)(M,{onFileChange:function(e){var l=e.target.files[0];i.current=l,G(l,r)}})]})}),(0,v.jsx)(C.Z.Item,{label:"图片描述",name:"alt",children:(0,v.jsx)(k.Z,{style:{width:264}})}),(0,v.jsxs)(C.Z.Item,{style:{textAlign:"right"},children:[(0,v.jsx)(S.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,v.jsx)(S.ZP,{type:"default",onClick:n,children:"取消"})]})]}))};function M(e){var l=e.onFileChange;return(0,v.jsxs)("label",{className:"upload-button",style:{cursor:"pointer"},children:["本地上传",(0,v.jsx)("input",{type:"file",onChange:l})]})}function G(e,l){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 t=new window.XMLHttpRequest;t.withCredentials=!0,t.addEventListener("load",(function(n){l(JSON.parse(n.target.responseText),e)}),!1),t.addEventListener("error",(function(e){console.error(e)}),!1),t.open("POST","".concat(P.KI,"/api/attachments.json")),t.send(n)}var D=n(95237),Z=n(74908),O=function(e){var l=e.callback,n=e.onCancel,t=document.createElement("canvas"),a=t.getContext("2d");t.width=1e3,t.height=800,a.fillStyle="#ffffff",a.fillRect(0,0,t.width,t.height);var i=t.toDataURL("image/png");return(0,v.jsx)(D.Z,{style:{height:"100vh"},children:(0,v.jsx)(Z.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:i,visible:!0,title:String(Date.now())},onOk:function(e){l({src:e.url})},onClose:n})})},R=n(7557),z=n.n(R),I=n(41498),F=n.n(I),H=n(37205),W=n.n(H),V=n(12378);function K(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(K,go.CommandHandler),K.prototype.canAlignSelection=function(){var e=this.diagram;return null!==e&&!e.isReadOnly&&!e.isModelReadOnly&&!(e.selection.count<2)},K.prototype.alignLeft=function(){var e=this.diagram;e.startTransaction("aligning left");var l=1/0;e.selection.each((function(e){e instanceof go.Link||(l=Math.min(e.position.x,l))})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(l,e.position.y))})),e.commitTransaction("aligning left")},K.prototype.alignRight=function(){var e=this.diagram;e.startTransaction("aligning right");var l=-1/0;e.selection.each((function(e){if(!(e instanceof go.Link)){var n=e.actualBounds.x+e.actualBounds.width;l=Math.max(n,l)}})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(l-e.actualBounds.width,e.position.y))})),e.commitTransaction("aligning right")},K.prototype.alignTop=function(){var e=this.diagram;e.startTransaction("alignTop");var l=1/0;e.selection.each((function(e){e instanceof go.Link||(l=Math.min(e.position.y,l))})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(e.position.x,l))})),e.commitTransaction("alignTop")},K.prototype.alignBottom=function(){var e=this.diagram;e.startTransaction("aligning bottom");var l=-1/0;e.selection.each((function(e){if(!(e instanceof go.Link)){var n=e.actualBounds.y+e.actualBounds.height;l=Math.max(n,l)}})),e.selection.each((function(e){e instanceof go.Link||e.move(new go.Point(e.actualBounds.x,l-e.actualBounds.height))})),e.commitTransaction("aligning bottom")},K.prototype.alignCenterX=function(){var e=this.diagram,l=e.selection.first();if(l){e.startTransaction("aligning Center X");var n=l.actualBounds.x+l.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")}},K.prototype.alignCenterY=function(){var e=this.diagram,l=e.selection.first();if(l){e.startTransaction("aligning Center Y");var n=l.actualBounds.y+l.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")}},K.prototype.alignColumn=function(e){var l=this.diagram;l.startTransaction("align Column"),void 0===e&&(e=0),e=parseFloat(e);var n=new Array;l.selection.each((function(e){e instanceof go.Link||n.push(e)}));for(var t=0;t<n.length-1;t++){var a=n[t],i=a.actualBounds.y+a.actualBounds.height+e;n[t+1].move(new go.Point(a.actualBounds.x,i))}l.commitTransaction("align Column")},K.prototype.alignRow=function(e){void 0===e&&(e=0),e=parseFloat(e);var l=this.diagram;l.startTransaction("align Row");var n=new Array;l.selection.each((function(e){e instanceof go.Link||n.push(e)}));for(var t=0;t<n.length-1;t++){var a=n[t],i=a.actualBounds.x+a.actualBounds.width+e;n[t+1].move(new go.Point(i,a.actualBounds.y))}l.commitTransaction("align Row")},K.prototype.canRotate=function(e){var l=this.diagram;return null!==l&&!l.isReadOnly&&!l.isModelReadOnly&&!(l.selection.count<1)},K.prototype.rotate=function(e){var l;void 0===e&&(e=90),(l=this.diagram).startTransaction("rotate "+e.toString()),(l=this.diagram).selection.each((function(l){l instanceof go.Link||l instanceof go.Group||(l.angle+=e)})),l.commitTransaction("rotate "+e.toString())},K.prototype.pullToFront=function(){var e=this.diagram;e.startTransaction("pullToFront");var l=new go.Map;e.selection.each((function(e){l.set(e.layer,0)})),l.iteratorKeys.each((function(e){var n=0;e.parts.each((function(e){if(!e.isSelected){var l=e.zOrder;isNaN(l)?e.zOrder=0:n=Math.max(n,l)}})),l.set(e,n)})),e.selection.each((function(e){K._assignZOrder(e,l.get(e.layer)+1)})),e.commitTransaction("pullToFront")},K.prototype.pushToBack=function(){var e=this.diagram;e.startTransaction("pushToBack");var l=new go.Map;e.selection.each((function(e){l.set(e.layer,0)})),l.iteratorKeys.each((function(e){var n=0;e.parts.each((function(e){if(!e.isSelected){var l=e.zOrder;isNaN(l)?e.zOrder=0:n=Math.min(n,l)}})),l.set(e,n)})),e.selection.each((function(e){K._assignZOrder(e,l.get(e.layer)-1-K._findGroupDepth(e))})),e.commitTransaction("pushToBack")},K._assignZOrder=function(e,l,n){void 0===n&&(n=e),e.layer===n.layer&&(e.zOrder=l),e instanceof go.Group&&e.memberParts.each((function(e){K._assignZOrder(e,l+1,n)}))},K._findGroupDepth=function(e){if(e instanceof go.Group){var l=0;return e.memberParts.each((function(e){l=Math.max(l,K._findGroupDepth(e))})),l+1}return 0},K.prototype.doKeyDown=function(){var e=this.diagram;if(null!==e){var l=e.lastInput;if("Up"===l.key||"Down"===l.key||"Left"===l.key||"Right"===l.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)}},K.prototype._getAllParts=function(){var e=new Array;return this.diagram.nodes.each((function(l){e.push(l)})),this.diagram.parts.each((function(l){e.push(l)})),e},K.prototype._arrowKeyMove=function(){var e=this.diagram,l=e.lastInput,n=0,t=0;if(l.control||l.meta)n=1,t=1;else if(null!==e.grid){var a=e.grid.gridCellSize;t=a.width,n=a.height}e.startTransaction("arrowKeyMove"),e.selection.each((function(e){"Up"===l.key?e.move(new go.Point(e.actualBounds.x,e.actualBounds.y-n)):"Down"===l.key?e.move(new go.Point(e.actualBounds.x,e.actualBounds.y+n)):"Left"===l.key?e.move(new go.Point(e.actualBounds.x-t,e.actualBounds.y)):"Right"===l.key&&e.move(new go.Point(e.actualBounds.x+t,e.actualBounds.y))})),e.commitTransaction("arrowKeyMove")},K.prototype._arrowKeySelect=function(){var e=this.diagram,l=e.lastInput,n=null;"Up"===l.key?n=this._findNearestPartTowards(270):"Down"===l.key?n=this._findNearestPartTowards(90):"Left"===l.key?n=this._findNearestPartTowards(180):"Right"===l.key&&(n=this._findNearestPartTowards(0)),null!==n&&(l.shift?n.isSelected=!0:l.control||l.meta?n.isSelected=!n.isSelected:e.select(n))},K.prototype._findNearestPartTowards=function(e){var l=this.diagram.selection.first();if(null===l)return null;for(var n=l.actualBounds.center,t=this._getAllParts(),a=1/0,i=l,o=0;o<t.length;o++){var r=t[o];if(r!==l&&r.canSelect()){var s=r.actualBounds.center,c=n.directionPoint(s),u=this._angleCloseness(c,e);if(u<=45){var d=n.distanceSquaredPoint(s);(d*=1+Math.sin(u*Math.PI/180))<a&&(a=d,i=r)}}}return i},K.prototype._angleCloseness=function(e,l){return Math.min(Math.abs(l-e),Math.min(Math.abs(l+360-e),Math.abs(l-360-e)))},K.prototype._arrowKeyTree=function(){var e=this.diagram,l=e.selection.first();if(l instanceof go.Node){var n=e.lastInput;if("Right"===n.key)if(l.isTreeLeaf);else if(l.isTreeExpanded){null!==(a=this._sortTreeChildrenByY(l).first())&&e.select(a)}else e.commandHandler.canExpandTree(l)&&e.commandHandler.expandTree(l);else if("Left"===n.key){if(!l.isTreeLeaf&&l.isTreeExpanded)e.commandHandler.canCollapseTree(l)&&e.commandHandler.collapseTree(l);else null!==(i=l.findTreeParentNode())&&e.select(i)}else if("Up"===n.key){if(null!==(i=l.findTreeParentNode()))if((r=(o=this._sortTreeChildrenByY(i)).indexOf(l))>0){for(var t=o.elt(r-1);null!==t&&t.isTreeExpanded&&!t.isTreeLeaf;){t=this._sortTreeChildrenByY(t).last()}null!==t&&e.select(t)}else e.select(i)}else if("Down"===n.key){var a;if(l.isTreeExpanded&&!l.isTreeLeaf)null!==(a=this._sortTreeChildrenByY(l).first())&&e.select(a);else for(;null!==l;){var i,o,r;if(null===(i=l.findTreeParentNode()))break;if((r=(o=this._sortTreeChildrenByY(i)).indexOf(l))<o.length-1){e.select(o.elt(r+1));break}l=i}}var s=e.selection.first();null!==s&&e.scrollToRect(s.actualBounds)}},K.prototype._sortTreeChildrenByY=function(e){var l=(new go.List).addAll(e.findTreeChildrenNodes());return l.sort((function(e,l){var n=e.location,t=l.location;return n.y<t.y?-1:n.y>t.y?1:n.x<t.x?-1:n.x>t.x?1:0})),l},K.prototype.copyToClipboard=function(e){go.CommandHandler.prototype.copyToClipboard.call(this,e),this._lastPasteOffset.set(this.pasteOffset)},K.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(K.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(K.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 U=K,q=(n(31270),n(85160)),Y=n(43418),J=n(43604),Q=n(51136),X="myPaletteDiv___Xjz2I",$="maxH60___Pd4Re";window.go=V;var ee=function(e){var l=e.onCancel,n=e.callback,t=(0,c.useRef)(),a=(0,c.useRef)(),i=(0,c.useRef)(),r=(0,c.useRef)(!1),s=(0,c.useRef)(!1),u=(0,c.useState)(0),d=o()(u,2),p=d[0],h=d[1],f=function(){var e=F()(z()().mark((function e(){var l,a;return z()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=t.current.makeImage(),e.next=3,(0,Q.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:l.src}});case 3:a=e.sent,n({src:a.url});case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,c.useEffect)((function(){h(p+1)}),[]),(0,v.jsx)("div",{ref:s,className:r.current?"".concat($," body-overflow-initial"):"body-overflow-initial",children:(0,v.jsx)(Y.Z,{width:1200,icon:null,footer:null,closable:!0,visible:!!p,destroyOnClose:!0,maskClosable:!1,getContainer:s.current,rootClassName:"zIndex-9999",title:(0,v.jsxs)(D.Z,{children:[(0,v.jsx)(J.Z,{flex:1,children:"插入流程图"}),(0,v.jsx)(J.Z,{onClick:function(){r.current=!r.current,h(p+1)},children:(0,v.jsx)("span",{className:"current c-blue mr30",style:{fontWeight:400},children:"展开/收起"})})]}),onCancel:l,children:(0,v.jsxs)("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},children:[(0,v.jsxs)("div",{style:{display:"flex",height:"100%"},children:[(0,v.jsxs)("div",{style:{width:"300px",height:"100%"},children:[(0,v.jsx)("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"},children:"图形库"}),(0,v.jsx)("div",{style:{height:"calc(100% - 50px)"},className:X,ref:i})]}),(0,v.jsxs)("div",{style:{flex:1,position:"relative"},children:[(0,v.jsx)(q.FI,{initDiagram:function(){var e=V.GraphObject.make,l="#ff3333",n="#3358ff",o="#25ad23",r="#d533ff",s="#7d33ff",c="#ff6233",u="#ffffff",d="#000000",p="#fffcd5",h="#d5ebff",v="#f2dfe0",f="#a5d2fa",m="#cccccc",b="#b3e6b3",g="#fcbbbd";function w(l,n){var t=function(e,n){e.handled=!0,e.diagram.model.commit((function(t){var a=n.part.adornedPart,i=(new V.Point).setRectSpot(a.actualBounds,l);i.subtract(a.location),i.scale(2,2),i.x+=130*Math.sign(i.x),i.y+=130*Math.sign(i.y),i.add(a.location),i.snapToGridPoint(e.diagram.grid.gridOrigin,e.diagram.grid.gridCellSize);var o=t.copyNodeData(a.data);t.setGroupKeyForNodeData(o,t.getGroupKeyForNodeData(a.data)),t.addNodeData(o);var r={from:a.key,to:t.getKeyForNodeData(o)};t.addLinkData(r);var s=e.diagram.findNodeForData(o);s.location=i,e.diagram.select(s),setTimeout((function(){e.diagram.commandHandler.editTextBlock()}),20)}))};return e(V.Shape,{figure:n,alignment:l,alignmentFocus:l.opposite(),width:l.equals(V.Spot.Top)||l.equals(V.Spot.Bottom)?25:18,height:l.equals(V.Spot.Top)||l.equals(V.Spot.Bottom)?18:25,fill:"orange",stroke:u,strokeWidth:4,mouseEnter:function(e,l){return l.fill="dodgerblue"},mouseLeave:function(e,l){return l.fill="orange"},isActionable:!0,click:t,contextClick:t})}function x(l){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,l){return l.fill="dodgerblue"},mouseLeave:function(e,l){return l.fill="orange"},click:function(e,l){e.diagram.commandHandler.showContextMenu(l.part.adornedPart)}},l||{})}function y(e,l){return function(n,t){n.handled=!0,n.diagram.model.commit((function(n){n.set(t.part.adornedPart.data,e,l)}))}}function C(l,n){return n||(n="color"),e(V.Shape,{width:16,height:16,stroke:"lightgray",fill:l,margin:1,background:"transparent",mouseEnter:function(e,l){return l.stroke="dodgerblue"},mouseLeave:function(e,l){return l.stroke="lightgray"},click:y(n,l),contextClick:y(n,l)})}function k(){return[e("ContextMenuButton",e(V.Panel,"Horizontal",C(u,"fill"),C(p,"fill"),C(h,"fill"),C(v,"fill"))),e("ContextMenuButton",e(V.Panel,"Horizontal",C(m,"fill"),C(b,"fill"),C(f,"fill"),C(g,"fill")))]}function S(){return[e("ContextMenuButton",e(V.Panel,"Horizontal",C(d),C(o),C(n),C(l))),e("ContextMenuButton",e(V.Panel,"Horizontal",C(u),C(r),C(s),C(c)))]}function j(l,n){return n||(n="thickness"),e(V.Shape,"LineH",{width:16,height:16,strokeWidth:l,margin:1,background:"transparent",mouseEnter:function(e,l){return l.background="dodgerblue"},mouseLeave:function(e,l){return l.background="transparent"},click:y(n,l),contextClick:y(n,l)})}function B(l,n){return n||(n="dash"),e(V.Shape,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:l,margin:1,background:"transparent",mouseEnter:function(e,l){return l.background="dodgerblue"},mouseLeave:function(e,l){return l.background="transparent"},click:y(n,l),contextClick:y(n,l)})}function A(){return[e("ContextMenuButton",e(V.Panel,"Horizontal",j(1),j(2),j(3),j(4))),e("ContextMenuButton",e(V.Panel,"Horizontal",B(null),B([2,4]),B([4,4])))]}function T(l,n){return n||(n="figure"),e(V.Shape,{width:32,height:32,scale:.5,fill:"lightgray",figure:l,margin:1,background:"transparent",mouseEnter:function(e,l){return l.fill="dodgerblue"},mouseLeave:function(e,l){return l.fill="lightgray"},click:y(n,l),contextClick:y(n,l)})}function P(l){return e(V.Shape,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(l+4).toString()+" H3"})}function E(l){var n="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return 0===l?n="M0 0 M16 16 M0 8 L16 8":2===l&&(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,l){return l.background="dodgerblue"},mouseLeave:function(e,l){return l.background="transparent"},click:y("dir",l),contextClick:y("dir",l)})}function _(l){var n=function(e,n){e.handled=!0,e.diagram.model.commit((function(e){var t=n.part.adornedPart;e.set(t.data,l?"toSpot":"fromSpot",V.Spot.stringify(V.Spot.AllSides)),(l?t.toNode:t.fromNode).invalidateConnectedLinks()}))};return e(V.Shape,{width:12,height:12,fill:"transparent",mouseEnter:function(e,l){return l.background="dodgerblue"},mouseLeave:function(e,l){return l.background="transparent"},click:n,contextClick:n})}function N(l,n){var t=0,a=V.Spot.RightSide;l.equals(V.Spot.Top)?(t=270,a=V.Spot.TopSide):l.equals(V.Spot.Left)?(t=180,a=V.Spot.LeftSide):l.equals(V.Spot.Bottom)&&(t=90,a=V.Spot.BottomSide),n||(t-=180);var i=function(e,l){e.handled=!0,e.diagram.model.commit((function(e){var t=l.part.adornedPart;e.set(t.data,n?"toSpot":"fromSpot",V.Spot.stringify(a)),(n?t.toNode:t.fromNode).invalidateConnectedLinks()}))};return e(V.Shape,{alignment:l,alignmentFocus:l.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:t,background:"transparent",mouseEnter:function(e,l){return l.background="dodgerblue"},mouseLeave:function(e,l){return l.background="transparent"},click:i,contextClick:i})}return t.current=new V.Diagram(a.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(U),"clickCreatingTool.archetypeNodeData":{text:"未命名",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:function(e){var l=e.subject;l.location=l.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 l=e.subject;e.diagram.toolManager.linkingTool.isForwards?l.toNode.invalidateConnectedLinks():l.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),t.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"))),t.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")))),t.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"),x({alignment:new V.Spot(.75,0)})),t.current.nodeTemplate.contextMenu=e("ContextMenu",e("ContextMenuButton",e(V.Panel,"Horizontal",T("Rectangle"),T("RoundedRectangle"),T("Ellipse"),T("Diamond"))),e("ContextMenuButton",e(V.Panel,"Horizontal",T("Parallelogram2"),T("ManualOperation"),T("Procedure"),T("Cylinder1"))),e("ContextMenuButton",e(V.Panel,"Horizontal",T("Terminator"),T("CreateRequest"),T("Document"),T("TriangleDown"))),k(),S(),A()),t.current.groupTemplate=e(V.Group,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:V.Spot.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:function(e,l){l.addMembers(l.diagram.selection,!0)||l.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"))),t.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})),x({alignment:V.Spot.TopRight,alignmentFocus:V.Spot.BottomRight})),t.current.groupTemplate.contextMenu=e("ContextMenu",k(),S(),A()),t.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"))),t.current.linkTemplate.selectionAdornmentTemplate=e(V.Adornment,e(V.Shape,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:P(2)},new V.Binding("pathPattern","thickness",P)),x({alignmentFocus:new V.Spot(0,0,-6,-4)})),t.current.linkTemplate.contextMenu=e("ContextMenu",S(),A(),e("ContextMenuButton",e(V.Panel,"Horizontal",E(0),E(1),E(2))),e("ContextMenuButton",e(V.Panel,"Horizontal",e(V.Panel,"Spot",_(!1),N(V.Spot.Top,!1),N(V.Spot.Left,!1),N(V.Spot.Right,!1),N(V.Spot.Bottom,!1)),e(V.Panel,"Spot",{margin:new V.Margin(0,0,0,2)},_(!0),N(V.Spot.Top,!0),N(V.Spot.Left,!0),N(V.Spot.Right,!0),N(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(){t.current.grid=e(V.Panel,"Grid",e(V.Shape,"LineH",{stroke:"lightgray",strokeWidth:.5}),e(V.Shape,"LineV",{stroke:"lightgray",strokeWidth:.5})),t.current.grid.visible=!0,t.current.grid.gridCellStroke="darkgray",t.current.grid.gridCellStrokeWidth=1}),300),window.myDiagrams=t.current,t.current},divClassName:"diagram-component",style:{height:"80vh"}}),(0,v.jsx)("div",{ref:a})]})]}),(0,v.jsx)("div",{className:"tr",children:(0,v.jsx)(S.ZP,{size:"large",onClick:f,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary",children:"保存到编辑器"})})]})})})},le=n(5112),ne=n(97913),te=le.ZP.Group,ae={margin:"0 8px"},ie=function(e){var l=e.callback,n=e.onCancel;return(0,v.jsxs)(C.Z,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:function(e){l(e)},children:[(0,v.jsxs)("div",{className:"flex-container",style:{alignItems:"baseline"},children:[(0,v.jsx)("span",{style:ae,children:"单元格数:"}),(0,v.jsx)("span",{style:ae,children:"行数"}),(0,v.jsx)(C.Z.Item,{name:"row",rules:[{required:!0,message:"请输入行数"}],children:(0,v.jsx)(ne.Z,{})}),(0,v.jsx)("span",{style:ae,children:"列数"}),(0,v.jsx)(C.Z.Item,{name:"col",rules:[{required:!0,message:"请输入列数"}],children:(0,v.jsx)(ne.Z,{})})]}),(0,v.jsxs)("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"},children:[(0,v.jsx)("span",{style:ae,children:"对齐方式:"}),(0,v.jsx)(C.Z.Item,{name:"align",children:(0,v.jsxs)(te,{children:[(0,v.jsx)(le.ZP,{value:"default",children:(0,v.jsx)("i",{className:"fa fa-align-justify"})}),(0,v.jsx)(le.ZP,{value:"left",children:(0,v.jsx)("i",{className:"fa fa-align-left"})}),(0,v.jsx)(le.ZP,{value:"center",children:(0,v.jsx)("i",{className:"fa fa-align-center"})}),(0,v.jsx)(le.ZP,{value:"right",children:(0,v.jsx)("i",{className:"fa fa-align-right"})})]})})]}),(0,v.jsxs)("div",{className:"flex-container flex-end",children:[(0,v.jsx)(S.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10},children:"确定"}),(0,v.jsx)(S.ZP,{type:"ghost",onClick:n,children:"取消"})]})]})},oe=n(78673),re=n(66455),se=n.n(re),ce=(0,c.forwardRef)((function(e,l){var n=e.use3d,t=e.width,a=e.height,i=e.callback,r=(e.showSaveButton,(0,c.useRef)()),s=(0,c.useRef)(),u=(0,c.useState)(!1),d=o()(u,2),p=d[0],h=d[1],f=(0,c.useRef)({id:r,appName:"graphing",width:t||1e3,height:a||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(){s.current=new(se())(f.current,!0),window.onload=function(){s.current.inject("applet_container")}}),[]);var m=function(){var e=window.ggbApplet.getPNGBase64(1,!0,72);return i&&i(e),e};return(0,c.useEffect)((function(){f.current.appName=p?"3D":"graphing",s.current.inject("applet_container")}),[p]),(0,c.useEffect)((function(){h(n)}),[n]),(0,c.useImperativeHandle)(l,(function(){return{getImgData:m}})),(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:r}),(0,v.jsxs)(D.Z,{align:"middle",children:[(0,v.jsx)(J.Z,{flex:1,children:(0,v.jsx)(oe.Z,{size:"default",checkedChildren:"关闭3D图像",unCheckedChildren:"开启3D图像",checked:p,onChange:function(e){return h(e)}})}),(0,v.jsx)(J.Z,{children:(0,v.jsx)(S.ZP,{size:"large",onClick:m,style:{zIndex:8,marginTop:10},type:"primary",children:"保存到编辑器"})})]})]})})),ue=n(33773),de=n(27065),pe="link",he="upload-image",ve="add-flowchart",fe="draw-image",me="code-block",be="add-table",ge="------------",we={default:ge,left:":".concat(ge),center:":".concat(ge,":"),right:"".concat(ge,":")},xe=n(56266);var ye="@▁▁@",Ce=["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 ke(e){return/^\d+$/.test(e)?"".concat(e,"px"):e}var Se=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",je=s()(s()({},Se+"-B","bold"),Se+"-I","italic"),Be=s()(s()(s()(s()(s()(s()(s()(s()({},pe,"添加链接"),me,"添加代码块"),he,"添加图片"),fe,"添加画图"),ve,"插入流程图"),be,"添加表格"),"maths-latex","数学图像"),"inline-latex","LATEX公式"),Ae=function(e){var l=e.defaultValue,n=void 0===l?"":l,t=e.onChange,i=e.width,r=void 0===i?"100%":i,u=e.height,m=void 0===u?400:u,b=e.miniToolbar,g=void 0!==b&&b,w=e.isFocus,C=void 0!==w&&w,k=e.watch,S=e.insertTemp,j=e.mode,P=void 0===j?"markdown":j,E=e.id,_=void 0===E?"markdown-editor-id":E,N=e.showResizeBar,M=void 0!==N&&N,D=e.noStorage,Z=void 0!==D&&D,R=e.showNullButton,z=void 0!==R&&R,I=e.showNullProgramButton,F=void 0!==I&&I,H=e.hidetoolBar,W=void 0!==H&&H,V=e.fullScreen,K=void 0!==V&&V,U=e.onBlur,q=e.onCMBeforeChange,J=e.onFullScreen,Q=e.className,X=void 0===Q?"":Q,$=e.disablePaste,le=void 0!==$&&$,ne=e.disabled,te=void 0!==ne&&ne,ae=e.disabledFill,oe=void 0!==ae&&ae,re=e.placeholder,se=void 0===re?"":re,ge=e.values,Se=void 0===ge?"":ge,Ae=e.extraUse,Te=(0,c.useState)(null),Pe=o()(Te,2),Ee=Pe[0],_e=Pe[1],Ne=(0,c.useState)(n),Le=o()(Ne,2),Me=Le[0],Ge=Le[1],De=(0,c.useState)(k),Ze=o()(De,2),Oe=Ze[0],Re=Ze[1],ze=(0,c.useState)(K),Ie=o()(ze,2),Fe=Ie[0],He=Ie[1],We=(0,c.useState)(""),Ve=o()(We,2),Ke=Ve[0],Ue=Ve[1],qe=(0,c.useState)(0),Ye=o()(qe,2),Je=Ye[0],Qe=Ye[1],Xe=(0,c.useState)(m),$e=o()(Xe,2),el=$e[0],ll=$e[1],nl=(0,c.useState)(!1),tl=o()(nl,2),al=(tl[0],tl[1]),il=(0,c.useState)(0),ol=o()(il,2),rl=ol[0],sl=ol[1],cl=(0,c.useState)(0),ul=o()(cl,2),dl=ul[0],pl=ul[1],hl=(0,c.useRef)(),vl=(0,c.useRef)(),fl=(0,c.useRef)(),ml=(0,c.useRef)();(0,c.useEffect)((function(){var e=window.scrollY||window.pageYOffset;Ge(Se),null==Ee||Ee.setValue(Se),window.scrollTo(0,e)}),[Se]),(0,c.useEffect)((function(){null==J||J(Fe)}),[Fe]),(0,c.useEffect)((function(){if(hl.current){var e=function(e,n){if(!le){var t=n.clipboardData;if(t){var a=t.types.toString(),i=t.items;if("Files"===a||t.types.indexOf("Files")>-1){if(n.preventDefault(),"stex"==P)return;try{var o,r=i[1];"file"===(null===(o=i[0])||void 0===o?void 0:o.kind)&&(r=i[0]);var s=r.getAsFile(),c=s.name.split(".").pop();G(s,(function(e){var n,t,a;e.id?(null==s||null===(n=s.type)||void 0===n?void 0:n.indexOf("image"))>-1?l.replaceSelection(".concat(e.content_type,")")):(null==s||null===(t=s.type)||void 0===t?void 0:t.indexOf("video"))>-1?l.replaceSelection('<video width="100%" controls src="'.concat(de.Z.API_SERVER,"/api/attachments/").concat(e.id,'"></video>')):(null==s||null===(a=s.type)||void 0===a?void 0:a.indexOf("pdf"))>-1?l.replaceSelection('<a href="'.concat(de.Z.API_SERVER,"/api/attachments/").concat(e.id,"?type=").concat(s.type,'&disposition=inline" target="_blank">').concat(s.name,"</a>")):Ce.includes(c)?l.replaceSelection('<a href="'.concat(de.Z.API_SERVER,"/api/attachments/").concat(e.id,'?type=office&disposition=inline" target="_blank">').concat(s.name,"</a>")):l.replaceSelection("[".concat(s.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){T.ZP.warning("请使用chrome浏览器粘贴")}return!0}return!0}return!0}n.preventDefault()},l=d().fromTextArea(hl.current,{mode:P,lineNumbers:!g,lineWrapping:!0,value:n,autoCloseTags:!0,autoCloseBrackets:!0});return l.on("keyup",(function(e,n){8===n.keyCode&&(""==e.getValue()?l.setOption("placeholder",se):l.setOption("placeholder",null))})),l.on("keydown",(function(e,l){if(8===l.keyCode){var n=function(e,l){var n=e.getDoc(),t=n.getCursor(),a=n.getLine(t.line),i=a.charAt(t.ch-1),o=a.lastIndexOf("@▁@",t.ch),r=a.lastIndexOf("@▁▁@",t.ch),s=o>r?o:r,c=o>r?3:4;if(-1===ye.indexOf(i))return null;if(console.log("change1:",l,e,a,t,s,o,r,i),s>=0&&t.ch-s<5){var u=s+c;return n.replaceRange("",{line:t.line,ch:s},{line:t.line,ch:u}),{line:t.line,ch:u}}return null}(e);n&&l.preventDefault()}})),C&&l.focus(),l.on("paste",e),te&&l.on("beforeChange",(function(e,l){"paste"!==l.origin&&"+input"!==l.origin||l.cancel()})),_e(l),function(){l.off("paste",e)}}}),[]);var bl=(0,c.useCallback)((function(){vl.current}),[el,vl,Fe]);(0,c.useEffect)((function(){if(Ee){var e=function(){var e=new p.Z((function(e){var l,n=a()(e);try{for(n.s();!(l=n.n()).done;){var t=l.value;(t.target.offsetHeight>0||t.target.offsetWidth>0)&&(bl(),Ee.setSize("100%","100%"),Ee.refresh())}}catch(e){n.e(e)}finally{n.f()}}));return e.observe(hl.current.parentElement),e}();return function(){var l,n;null!==(l=hl.current)&&void 0!==l&&l.parentElement&&e.unobserve(null===(n=hl.current)||void 0===n?void 0:n.parentElement)}}}),[Ee,bl]),(0,c.useEffect)((function(){if(Ee){for(var e=[],l=function(){var l=o()(t[n],2),a=l[0],i=l[1],r=s()({},a,(function(){gl(i)}));e.push(r),Ee.addKeyMap(r)},n=0,t=Object.entries(je);n<t.length;n++)l();return function(){for(var l=0,n=e;l<n.length;l++){var t=n[l];Ee.removeKeyMap(t)}}}}),[Ee]),(0,c.useEffect)((function(){K!==Fe&&He(K)}),[K]),(0,xe.Z)((function(){if(!Z&&Je>0){var e=(new Date).getTime(),l=window.sessionStorage.getItem(_);e>=Je+1e4&&(!l||l!==Me)&&(window.sessionStorage.setItem(_,Me),al(!0))}}),1e4),(0,c.useEffect)((function(){Re(k)}),[Ee,k]),(0,c.useEffect)((function(){Ee&&C&&Ee.focus()}),[Ee,C]),(0,c.useEffect)((function(){if(Oe&&Ee){var e=function(e){var l=e.target;if(ml.current){var n=l.scrollTop/l.scrollHeight;ml.current.scrollTop=ml.current.scrollHeight*n}},l=Ee.getScrollerElement();return l.addEventListener("scroll",e),function(){l.removeEventListener("scroll",e)}}}),[Ee,Oe]),(0,c.useEffect)((function(){if(Ee&&q){var e=function(e,l){q(e,l)};return Ee.on("beforeChange",e),function(){Ee.off("beforeChange",e)}}}),[Ee,q]),(0,c.useEffect)((function(){if(Ee&&U){var e=function(){U(Ee.getValue())};return Ee.on("blur",e),function(){Ee.off("blur",e)}}}),[Ee,U]),(0,c.useEffect)((function(){if(Ee){var e=function(e,l){var n=e.getValue();Ge(n),Qe((new Date).getTime()),e.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),t&&(F?t(n,kl(n)):t(n))};return Ee.on("change",e),function(){Ee.off("change",e)}}}),[Ee,t]),(0,c.useEffect)((function(){if(Ee)if(null==n)Ee.setValue(""),Ge("");else{var e=window.scrollY||window.pageYOffset;n!==Ee.getValue()&&(Ee.setValue(n),Ge(n),Ee.setCursor(te?1:Ee.lineCount(),0),window.scrollTo(0,e))}}),[Ee,n]);var gl=(0,c.useCallback)((function(e){var l=Ee.getCursor(),n=Ee.getSelection(),t=n.split("\n");switch(e){case"bold":return Ee.replaceSelection("**"+n+"**"),""===n&&Ee.setCursor(l.line,l.ch+2),Ee.focus();case"italic":return Ee.replaceSelection("*"+n+"*"),""===n&&Ee.setCursor(l.line,l.ch+1),Ee.focus();case"code":return Ee.replaceSelection("`"+n+"`"),""===n&&Ee.setCursor(l.line,l.ch+1),Ee.focus();case"inline-latex":return Ue("inline-latex"),Ee.focus();case"latex":return Ee.replaceSelection("```latex\n"+n+"\n```"),Ee.setCursor(l.line+1,n.length+1),Ee.focus();case"line-break":return Ee.replaceSelection("<br/>\n"),Ee.focus();case"list-ul":return""===n?Ee.replaceSelection("- "+n):Ee.replaceSelection(t.map((function(e){return""===e?"":"- ".concat(e)})).join("\n")),Ee.focus();case"list-ol":return""===n?Ee.replaceSelection("1. "+n):Ee.replaceSelection(t.map((function(e,l){return""===e?"":"".concat(l+1,". ").concat(e)})).join("\n")),Ee.focus();case"add-null-ch":return""===n&&Ee.setCursor(l.line,l.ch),Ee.replaceSelection("▁"),Ee.focus();case"add-signal":return""===n&&Ee.setCursor(l.line,l.ch),Ee.replaceSelection("@▁@"),Ee.focus();case"add-multiple":return""===n&&Ee.setCursor(l.line,l.ch),Ee.replaceSelection(ye),Ee.focus();case"inster-template-1":return""===n&&Ee.setCursor(l.line,l.ch),Ee.replaceSelection("\n**模板标题**\n模板正文内容,可输入文本内容和粘贴图片等操作"),Ee.focus();case"eraser":return Ee.setValue(""),Ee.focus();case"trigger-watch":return Re(!Oe),Ee.focus();case"trigger-full-screen":return He(!Fe),Ee.focus();case pe:return void Ue(pe);case me:return void Ue(me);case he:return void Ue(he);case fe:return void Ue(fe);case"maths-latex":return void Ue("maths-latex");case ve:return void Ue(ve);case be:return void Ue(be);default:throw new Error}}),[Ee,Oe,Fe]),wl=(0,c.useCallback)((function(e,l){var n,t,a,i,o;switch(Ue(""),Ke){case pe:var r=e.title,s=e.link;return Ee.replaceSelection("[".concat(r,"](").concat(s,")")),Ee.focus();case me:var c=e.language,u=e.content;return Ee.replaceSelection(["```"+c,u,"```"].join("\n")),Ee.focus();case"maths-latex":for(var d=atob(e),p=new Uint8Array(d.length),h=0;h<d.length;h++)p[h]=d.charCodeAt(h);G(new Blob([p],{type:"image/png"}),(function(e){e.id?Ee.replaceSelection(".concat(e.content_type,")")):401===(null==e?void 0:e.status)&&(document.location.href="/user/login")}));break;case"inline-latex":Ee.replaceSelection("`$$"+e+"$$`");break;case he:case fe:case"add-flowchart":var v=e.src,f=e.alt,m=l,b=null==m||null===(n=m.name)||void 0===n||null===(n=n.split("."))||void 0===n||null===(t=n.pop)||void 0===t?void 0:t.call(n);return(null==m||null===(a=m.type)||void 0===a?void 0:a.indexOf("image"))>-1||null==m||!m.type?f?Ee.replaceSelection(".concat(v,' "').concat(f,'" )')):Ee.replaceSelection("")):(null==m||null===(i=m.type)||void 0===i?void 0:i.indexOf("video"))>-1?Ee.replaceSelection('<video width="100%" controls src="'.concat(de.Z.API_SERVER).concat(v,'"></video>')):(null==m||null===(o=m.type)||void 0===o?void 0:o.indexOf("pdf"))>-1?Ee.replaceSelection('<a href="'.concat(de.Z.API_SERVER).concat(v,"?type=").concat(m.type,'&disposition=inline" target="_blank">').concat(m.name,"</a>")):Ce.includes(b)?Ee.replaceSelection('<a href="'.concat(de.Z.API_SERVER).concat(v,'?type=office&disposition=inline" target="_blank">').concat(m.name,"</a>")):Ee.replaceSelection("[".concat(m.name,"](").concat(de.Z.API_SERVER).concat(v,")")),Ee.focus();case be:for(var g=e.row,w=e.col,x=e.align,y="\n",C=0;C<g;C++){for(var k=[],S=[],j=0;j<w;j++)1===C&&S.push(we[x]),k.push(" ");1===C&&(y+="| ".concat(S.join(" | ")," |\n")),y+="| ".concat(k.join(1===w?"":" | ")," |\n")}return Ee.replaceSelection(y+"\n"),Ee.focus();default:throw new Error}}),[Ee,Ke]),xl=(0,c.useMemo)((function(){switch(Ke){case pe:return(0,v.jsx)(B,{callback:wl,onCancel:yl});case me:return(0,v.jsx)(A.Z,{callback:wl,onCancel:yl});case he:return(0,v.jsx)(L,{callback:wl,onCancel:yl});case ve:return(0,v.jsx)(ee,{callback:wl,onCancel:yl});case be:return(0,v.jsx)(ie,{callback:wl,onCancel:yl});case"maths-latex":return(0,v.jsx)(ce,{showSaveButton:!0,callback:wl});case"inline-latex":return(0,v.jsx)(ue.Z,{showSaveButton:!0,callback:wl});default:return null}}),[Ke]);function yl(){Ue("")}(0,c.useEffect)((function(){if(fl.current){var e=function(e){a=!0,i=e.pageY},l=function(){a=!1},n=function(e){if(a){var l=e.pageY-i;l<0&&(l=0),l>300&&(l=300),ll(m+l+"px")}},t=fl.current,a=!1,i=0;return t.addEventListener("mousedown",e),document.addEventListener("mousemove",n),document.addEventListener("mouseup",l),function(){t.removeEventListener("mousedown",e),document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",l)}}}),[Ee,fl]),(0,c.useEffect)((function(){ll(m)}),[m]);var Cl={width:ke(r),height:ke(el)},kl=((0,c.useMemo)((function(){if(Je){var e=new Date(Je),l=e.getHours(),n=e.getMinutes(),t=e.getSeconds();return n=n<10?"0"+n:n,t=t<10?"0"+t:t,"".concat(l=l<10?"0"+l:l,":").concat(n,":").concat(t)}return 0}),[Je]),function(e){var l=[];if(F){e=e.replace(/(@▁▁@|@▁@)/g,(function(e,n,t){l.push({multiLine:!("@▁@"===e)})}))}return l});(0,c.useEffect)((function(){if(Be[Ke]&&Ke!==fe&&Ke!==ve){var e=document.getElementsByClassName("ant-modal")[0],l=window.innerWidth/2-e.offsetWidth/2,n=window.innerHeight/2-e.offsetHeight/2;sl(l),pl(n)}}),[Ke]);var Sl=function(e,l,n,t){var a=document.body.clientHeight,i=document.body.clientWidth;return!(e<20&&n>e||e>i-20&&n<e||l<20&&t>l||l>a-20&&t<l)||(document.body.onmousemove=null,document.body.onmouseup=null,!1)};return(0,v.jsxs)(c.Fragment,{children:[(0,v.jsx)("div",{className:"markdown-editor-wrapper",ref:vl,children:(0,v.jsxs)("div",{className:"markdown-editor-container ".concat(X," ").concat(Oe?"on-preview":""," ").concat(g?"mini":""," ").concat(Fe?"full-screen":""),style:Cl,children:[(0,v.jsx)(x,{insertTemp:S,watch:Oe,fullScreen:Fe,showNullButton:z,showNullProgramButton:F,onActionCallback:gl,hidetoolBar:W,extraUse:Ae}),(0,v.jsxs)("div",{className:"markdown-editor-body",children:[(0,v.jsx)("div",{className:"codemirror-container",children:(0,v.jsx)("textarea",{ref:hl,placeholder:se})}),Oe?(0,v.jsxs)("div",{ref:ml,className:"preview-container",children:["stex"===P&&(0,v.jsx)(f,{value:Me}),"stex"!==P&&(0,v.jsx)(h.Z,{disabledFill:oe,showProgramFill:F,value:Me})]}):null]})]})}),M?(0,v.jsx)("a",{ref:fl,className:"editor-resize"}):null,Ke===fe&&(0,v.jsx)(O,{callback:wl,onCancel:yl}),Ke===ve&&(0,v.jsx)(ee,{callback:wl,onCancel:yl}),(0,v.jsx)(y.Z,{children:Be[Ke]&&Ke!==fe&&Ke!==ve?(0,v.jsx)(Y.Z,{maskClosable:!1,centered:!0,style:{position:"absolute",left:rl,top:dl},title:(0,v.jsx)("div",{style:{cursor:"move"},onMouseDown:function(e){e.preventDefault();var l=e.clientX-rl,n=e.clientY-dl;document.body.onmousemove=function(e){var t=e.clientX-l,a=e.clientY-n,i=document.getElementsByClassName("ant-modal")[0],o=window.innerWidth-i.offsetWidth,r=window.innerHeight-i.offsetHeight;t=Math.max(0,Math.min(t,o)),a=Math.max(0,Math.min(a,r)),Sl(e.clientX,e.clientY,l,n)&&(sl(t),pl(a))},document.body.onmouseup=function(){document.body.onmousemove=null}},children:Be[Ke]}),open:!0,onCancel:yl,footer:null,destroyOnClose:!0,width:Ke===ve?"1200px":null,height:Ke===ve?"80vh":null,className:"markdown-popup-form",children:xl}):null})]})}},27308:function(e,l,n){"use strict";n.d(l,{Z:function(){return h}});var t=n(82100),a=n.n(t),i=n(29186),o=n.n(i),r=n(80619),s=n.n(r),c=n(47074),u=n.n(c),d=n(59301),p=n(4676),h=function(e){s()(n,e);var l=u()(n);function n(e){var t;a()(this,n),t=l.call(this,e);var i=window.document;return t.node=i.createElement("div"),i.body.appendChild(t.node),t}return o()(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)},56266:function(e,l,n){"use strict";n.d(l,{Z:function(){return a}});var t=n(59301);function a(e,l){var n=(0,t.useRef)();(0,t.useEffect)((function(){n.current=e})),(0,t.useEffect)((function(){if(null!==l){var e=setInterval((function(){n.current()}),l);return function(){return clearInterval(e)}}}),[l])}},5298:function(e,l,n){"use strict";n.r(l),n.d(l,{default:function(){return xe}});var t=n(85573),a=n.n(t),i=n(82242),o=n.n(i),r=n(37205),s=n.n(r),c=n(7557),u=n.n(c),d=n(41498),p=n.n(d),h=n(79800),v=n.n(h),f=n(39647),m=n.n(f),b=n(59301),g=n(7880),w=n(8772),x=n(98228),y=n(78241),C=n(8591),k=n(43418),S=n(88522),j=n(95237),B=n(43604),A=n(78673),T=n(5112),P=n(24905),E=n(51589),_=n(21068),N=n(3113),L=n(11094),M={bg:"bg____raBL",wrap:"wrap___HeK2P",crumbs:"crumbs___bamBY",titleWrap:"titleWrap___UpC0c",flexRow:"flexRow___WjoyK",flexJustifyCenter:"flexJustifyCenter___V6ndk",flexAlignEnd:"flexAlignEnd___So64w",flexAlignCenter:"flexAlignCenter___WWRXs",flexColumn:"flexColumn___b0Fz8",formWrap:"formWrap___Bmhgz",fieldWrap:"fieldWrap___pR4UB",mdWrap:"mdWrap___FPskk",tree:"tree___bVp9O",backgroundFa:"backgroundFa___ghlCO",aBtn:"aBtn___M7dWu",bBtn:"bBtn___XycZO",cascaderWrap:"cascaderWrap___CPNAV",listItem:"listItem____eV5T",right:"right___x8wr7",one:"one___wdYdi",schoolHintWrap:"schoolHintWrap___AWsQj",colorCDCDCD:"colorCDCDCD___xguLh",color0152d9:"color0152d9___MEYYd",spanText:"spanText___Srs_u"},G=n(6457),D=n(27065),Z=n(51136),O=n(64165),R="cascaderContainer___uz26h",z="valueWrap___zTHXb",I="valueItem___vBNoA",F="placeholder___bJTkn",H="modalWrap___uhROO",W="left___oZrbl",V="right___y9QjL",K="disabled___LVx0f",U="emptyWrap___KG5pK",q=n(79419),Y=n(40974),J=n(37712),Q=["sub_discipline"],X=["sub_disciplines"],$=(0,b.createRef)(),ee=function(e){var l=e.dataSource,n=e.placeholder,t=e.defaultValue,i=e.onChange,r=(0,b.useState)(!1),c=v()(r,2),u=c[0],d=c[1],p=(0,b.useState)({data:[],objData:{},ids:[]}),h=v()(p,2),f=h[0],g=h[1],w=(0,b.useState)({}),x=v()(w,2),y=x[0],C=x[1];(0,b.useEffect)((function(){window.addEventListener("click",(function(){d(!1),C({})}))}),[]),(0,b.useEffect)((function(){if(t){var e={},l=[];t.forEach((function(n){var t=n.sub_discipline,a=m()(n,Q);t&&(e[t.id]=o()(o()({},a),{},{sub_disciplines:[t]}),l.push(t.id))})),g({ids:l,data:Object.values(e),objData:e}),i(l)}}),[t]);var k=function(){return(0,J.jsx)("div",{className:U,children:(0,J.jsx)(O.Z,{image:O.Z.PRESENTED_IMAGE_SIMPLE})})},S=45;return $&&$.current&&$.current.clientHeight>45&&(S=$.current.clientHeight+5),(0,J.jsxs)("div",{className:R,onClick:function(e){e.stopPropagation()},children:[(0,J.jsxs)("div",{ref:$,className:z,onClick:function(){return d(!u)},children:[0===f.data.length&&(0,J.jsx)("span",{className:F,children:n||"请选择方向&课程"}),f.data.map((function(e){return(0,J.jsxs)("div",{className:I,children:[(0,J.jsx)("span",{children:e.name}),(0,J.jsx)("span",{children:"/"}),(0,J.jsx)("span",{children:e.sub_disciplines[0].name}),(0,J.jsx)("span",{onClick:function(l){l.stopPropagation(),l.preventDefault(),function(e){var l=f.objData;delete l[e];var n=f.ids.filter((function(l){return l!==e}));g({data:Object.values(l),objData:l,ids:n}),i(n)}(e.sub_disciplines[0].id)},children:(0,J.jsx)(q.Z,{})})]},e.id)}))]}),u&&(0,J.jsxs)("div",{className:H,style:{top:S},children:[(0,J.jsxs)("div",{className:W,children:[0===l.length&&k(),l.length>0&&l.map((function(e){return(0,J.jsxs)("div",{onClick:function(){C(e)},children:[(0,J.jsx)("span",{children:e.name}),(0,J.jsx)("span",{children:(0,J.jsx)(Y.Z,{})})]},e.id)}))]}),y.sub_disciplines&&(0,J.jsxs)("div",{className:V,children:[0===y.sub_disciplines.length&&k(),y.sub_disciplines.length>0&&y.sub_disciplines.map((function(e){var l=f.ids.includes(e.id);return(0,J.jsx)("div",{className:l?K:"",onClick:function(){!function(e){if(f.ids.includes(e.id))return!1;y.sub_disciplines;var l=m()(y,X),n=o()(o()({},f.objData),{},a()({},e.id,o()(o()({},l),{},{sub_disciplines:[e]})));g({ids:[].concat(s()(f.ids),[e.id]),data:Object.values(n),objData:n}),i([].concat(s()(f.ids),[e.id]))}(e),d(!1)},children:e.name},e.id)}))]})]})]})},le=n(52306),ne=n(19842),te=n(99232),ae=n.n(te),ie=n(19676),oe=n(70481),re=n(63578),se="flexRow___qY1Ro",ce="flexColumn___xTKsc",ue="formWrap___OJ1NZ",de="example___XZnZv",pe="footerWrap___DSZCv",he=["newCourse","globalSetting","loading","dispatch","schoolName","onSuccess"],ve=function(e,l){return l.some((function(l){return l.label.toLowerCase().indexOf(e.toLowerCase())>-1}))},fe=w.Z.TextArea,me=(0,g.connect)((function(e){var l=e.newCourse,n=e.loading;return{newCourse:l,globalSetting:e.globalSetting,loading:n.effects}}))((function(e){var l=e.newCourse,n=(e.globalSetting,e.loading),t=e.dispatch,a=e.schoolName,i=e.onSuccess,r=void 0===i?function(){}:i,s=(m()(e,he),y.Z.useForm()),c=v()(s,1)[0];(0,b.useEffect)((function(){c.setFieldsValue({name:a})}),[a]);var d=function(){var e=p()(u()().mark((function e(l){var n,a,i,s,c,d,h,v;return u()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=(n=l||{}).name,i=n.city,s=void 0===i?[]:i,c=n.address,d=n.remarks,e.next=3,t({type:"newCourse/appplySchool",payload:{name:a,province:s[0],city:s[1],address:c,remarks:d}});case 3:if(2!=(null==(h=e.sent)?void 0:h.status)){e.next=7;break}return v=k.Z.confirm({icon:null,width:600,centered:!0,okText:"确定",cancelText:"取消",title:"提示",content:(0,J.jsxs)(J.Fragment,{children:[(0,J.jsx)("p",{children:"系统检测到您申请新增的单位已存在,请确认是否为该单位?"}),(0,J.jsx)(le.Z,{columns:[{title:"学校/单位",dataIndex:"name"},{title:"用户数",width:150,dataIndex:"users_count"}],dataSource:[o()({},h)],pagination:!1})]}),onOk:function(){var e=p()(u()().mark((function e(){return u()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r(a);case 2:v.destroy(),t({type:"newCourse/setActionTabs",payload:{}});case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),onCancel:function(){v.destroy()}}),e.abrupt("return");case 7:t({type:"newCourse/setActionTabs",payload:{}}),0==h.status&&(C.ZP.success("新增发布单位成功!"),r(a));case 9:case"end":return e.stop()}}),e)})));return function(l){return e.apply(this,arguments)}}();return(0,J.jsx)(k.Z,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:"NewCourse-AppplySchool"===l.actionTabs.key,title:"申请发布单位",width:"600px",footer:null,children:(0,J.jsxs)(y.Z,{className:ue,form:c,labelCol:{span:4},wrapperCol:{span:20},onFinish:d,children:[(0,J.jsx)(y.Z.Item,{label:"发布单位:",name:"name",rules:[{required:!0,message:"请输入学校或工作单位"}],children:(0,J.jsx)(w.Z,{placeholder:"请输入发布单位"})}),(0,J.jsxs)("div",{className:"".concat(se," ").concat(de),children:[(0,J.jsx)("div",{children:"示例:"}),(0,J.jsxs)("div",{className:ce,children:[(0,J.jsxs)("div",{children:[(0,J.jsx)(ie.Z,{style:{color:"rgb(82, 196, 26)"}}),(0,J.jsx)("span",{className:"font14 ml5",children:"正确示例:数据结构"})]}),(0,J.jsxs)("div",{children:[(0,J.jsx)(oe.Z,{style:{color:"red"}}),(0,J.jsxs)("span",{className:"font14 ml5",children:["错误示例:数据结构",ae()().format("YYYY"),"春"]})]})]})]}),(0,J.jsx)(y.Z.Item,{label:"地区:",name:"city",children:(0,J.jsx)(ne.Z,{allowClear:!0,size:"middle",options:re.P,placeholder:"请选择所在地",showSearch:{matchInputWidth:!0,filter:ve}})}),(0,J.jsx)(y.Z.Item,{label:"详细地址:",name:"address",children:(0,J.jsx)(w.Z,{placeholder:"请填写完整的地址信息"})}),(0,J.jsx)(y.Z.Item,{label:"说明:",name:"remarks",children:(0,J.jsx)(fe,{placeholder:"再次说明特别情况(选填)"})}),(0,J.jsx)("div",{className:pe,children:(0,J.jsxs)(y.Z.Item,{children:[(0,J.jsx)(N.ZP,{className:"mr5",size:"middle",onClick:function(){t({type:"newCourse/setActionTabs",payload:{}})},children:"取消"}),(0,J.jsx)(N.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:n["newCourse/appplySchool"],children:"保存"})]})})]})})})),be=n(29831),ge=["user","newCourse","globalSetting","loading","dispatch"],we=w.Z.TextArea,xe=(x.Z.TreeNode,(0,g.connect)((function(e){var l=e.user,n=e.newCourse,t=e.loading;return{user:l,newCourse:n,globalSetting:e.globalSetting,loading:t.effects}}))((function(e){e.user,e.newCourse;var l,n,t=e.globalSetting,i=e.loading,r=e.dispatch,c=(m()(e,ge),(0,g.useSearchParams)()),d=v()(c,1)[0],h=(0,g.useParams)(),f=y.Z.useForm(),x=v()(f,1)[0],O=(0,b.useState)({}),R=v()(O,2),z=R[0],I=R[1],F=(0,b.useState)(),H=v()(F,2),W=H[0],V=H[1],K=(0,b.useRef)(),U=(0,b.useState)(!0),q=v()(U,2),Y=q[0],Q=q[1],X=(0,b.useState)(!1),$=v()(X,2),le=$[0],ne=$[1],te=(0,b.useState)(),ae=v()(te,2),ie=ae[0],oe=ae[1],re=(0,b.useState)(),se=v()(re,2),ce=se[0],ue=se[1],de=(0,b.useState)(!0),pe=v()(de,2),he=pe[0],ve=pe[1],fe=(0,b.useState)(!1),xe=v()(fe,2),ye=xe[0],Ce=xe[1],ke=(0,b.useState)(!1),Se=v()(ke,2),je=Se[0],Be=Se[1],Ae=(0,b.useState)(-1),Te=v()(Ae,2),Pe=Te[0],Ee=Te[1],_e=(0,b.useState)(!0),Ne=v()(_e,2),Le=Ne[0],Me=Ne[1],Ge=(0,b.useState)([]),De=v()(Ge,2),Ze=De[0],Oe=De[1],Re=(0,b.useState)([]),ze=v()(Re,2),Ie=ze[0],Fe=ze[1],He=(0,b.useState)(!1),We=v()(He,2),Ve=We[0],Ke=We[1],Ue=(0,b.useState)(!1),qe=v()(Ue,2),Ye=qe[0],Je=qe[1],Qe=(0,b.useState)([]),Xe=v()(Qe,2),$e=Xe[0],el=Xe[1],ll=(0,b.useState)(!1),nl=v()(ll,2),tl=nl[0],al=nl[1],il=$e.length>0&&$e.length<4,ol=(0,b.useState)([]),rl=v()(ol,2),sl=rl[0],cl=rl[1],ul=(0,b.useState)([]),dl=v()(ul,2),pl=dl[0],hl=dl[1];(0,b.useEffect)((function(){var e;vl(),fl(),K.current=h.pathId,V(!!K.current),(0,G.Dk)(null==t||null===(e=t.setting)||void 0===e?void 0:e.name),x.setFieldsValue({learning_notes_title:"课程须知"}),K.current&&bl()}),[]);var vl=function(){var e=p()(u()().mark((function e(){var l;return u()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Z.ZP)("/api/disciplines.json",{method:"get",params:{source:"subject"}});case 2:l=e.sent,cl(l.disciplines);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),fl=function(){var e=p()(u()().mark((function e(){var l;return u()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Me(!0),e.next=3,r({type:"newCourse/getSchoolOption"});case 3:l=e.sent,Me(!1),Oe(null==l?void 0:l.schools),Fe(null==l?void 0:l.schools);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ml=function(){d.get("username")?g.history.push("/users/".concat(d.get("username"),"/paths")):g.history.push(W?"/paths/".concat(K.current):"/paths")},bl=function(){var e=p()(u()().mark((function e(){var l,n,t,a,i,o,c,d,p,h,v,f,m,b;return u()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r({type:"newCourse/getEditCourseData",payload:{id:K.current}});case 2:(l=e.sent)&&(d={name:l.name,name_en:l.name_en,intro:l.description,content:null==l||null===(n=l.toast)||void 0===n?void 0:n.content,notice:l.learning_notes,school_id:null==l?void 0:l.school,learning_notes_title:l.learning_notes_title||"课程须知"},l.disciplines&&l.disciplines.length>0&&hl(l.disciplines),x.setFieldsValue(d),Be(null==l||null===(t=l.toast)||void 0===t?void 0:t.is_open),Ee(null==l||null===(a=l.toast)||void 0===a?void 0:a.open_num),Q(null==l?void 0:l.cust_seq),ne(null==l?void 0:l.show_spoc),Ce(null==l?void 0:l.show_history),Je(null==l?void 0:l.show_course_section),Ke(null==l?void 0:l.allow_download),ve(null==l?void 0:l.show_tag),al(null==l?void 0:l.allow_set_subject_summary),(null==l?void 0:l.show_chapter)&&$e.push("chapter"),(null==l?void 0:l.show_charts)&&$e.push("charts"),(null==l?void 0:l.show_cert_apply)&&$e.push("cert_apply"),(null==l?void 0:l.show_knowledge_graph)&&$e.push("knowledge_graph"),null!=l&&l.show_chapter&&null!=l&&l.show_charts&&null!=l&&l.show_cert_apply&&null!=l&&l.show_knowledge_graph&&$e.push("all"),el(s()($e)),(null==l||null===(i=l.attachments)||void 0===i?void 0:i.length)>0&&oe([{uid:null==l||null===(p=l.attachments)||void 0===p||null===(p=p[0])||void 0===p?void 0:p.id,name:null==l||null===(h=l.attachments)||void 0===h||null===(h=h[0])||void 0===h?void 0:h.title,response:{id:null==l||null===(v=l.attachments)||void 0===v||null===(v=v[0])||void 0===v?void 0:v.id}}]),(null==l||null===(o=l.attachments_b)||void 0===o?void 0:o.length)>0&&ue([{uid:null==l||null===(f=l.attachments_b)||void 0===f||null===(f=f[0])||void 0===f?void 0:f.id,name:null==l||null===(m=l.attachments_b)||void 0===m||null===(m=m[0])||void 0===m?void 0:m.title,response:{id:null==l||null===(b=l.attachments_b)||void 0===b||null===(b=b[0])||void 0===b?void 0:b.id}}]),I({name:l.name,intro:l.description,notice:l.learning_notes,content:null==l||null===(c=l.toast)||void 0===c?void 0:c.content}));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),gl=function(){var e=p()(u()().mark((function e(l){var n,t,a,i,s,c,d,p,h,v,f,m,b,w,x;return u()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=(a=l||{}).name,s=a.intro,c=a.notice,d=a.name_en,p=a.learning_notes_title,h=a.sub_discipline_ids,v=a.school_id,f=W?"newCourse/editCourse":"newCourse/submitCourse",m=!1,b=null,Ze.map((function(e){v===e.name&&(m=!0,b=e.id)})),m){e.next=7;break}return e.abrupt("return",C.ZP.error("未找到包含'".concat(v,"'的发布单位")));case 7:return w={id:K.current,name:i,name_en:d,description:s,learning_notes:c,cust_seq:Y,show_spoc:le,school_id:b,show_tag:he,show_history:ye,show_course_section:Ye,allow_download:Ve,learning_notes_title:p,attachment_ids:[null==ie||null===(n=ie[0])||void 0===n||null===(n=n.response)||void 0===n?void 0:n.id],attachment_ids_b:[null==ce||null===(t=ce[0])||void 0===t||null===(t=t.response)||void 0===t?void 0:t.id],sub_discipline_ids:h,subject_toast_attributes:{is_open:je,open_num:Pe,content:l.content}},tl&&(w.show_chapter=null==$e?void 0:$e.includes("chapter"),w.show_charts=null==$e?void 0:$e.includes("charts"),w.show_cert_apply=null==$e?void 0:$e.includes("cert_apply"),w.show_knowledge_graph=null==$e?void 0:$e.includes("knowledge_graph")),e.next=11,r({type:f,payload:o()({},w)});case 11:(null==(x=e.sent)?void 0:x.subject_id)&&g.history.push("/paths/".concat(x.subject_id));case 13:case"end":return e.stop()}}),e)})));return function(l){return e.apply(this,arguments)}}();return(0,J.jsx)("div",{className:M.wrap,children:(0,J.jsxs)("div",{className:M.bg,children:[(0,J.jsxs)("div",{className:M.crumbs,children:[(0,J.jsx)("span",{children:"实践课程"}),(0,J.jsx)("i",{className:"iconfont icon-zhankai1"}),(0,J.jsxs)("b",{children:[W?"编辑":"创建","实践课程"]})]}),(0,J.jsxs)("div",{className:M.titleWrap,children:[(0,J.jsxs)("span",{children:[W?"编辑":"创建","实践课程"]}),(0,J.jsx)("b",{onClick:ml,children:"返回"})]}),(0,J.jsxs)(y.Z,{form:x,className:M.formWrap,scrollToFirstError:!0,layout:"vertical",colon:!1,onValuesChange:function(){var e=x.getFieldsValue();"school_id"in e&&Fe(Ze.filter((function(l){return l.name.includes(e.school_id)}))),I(o()({},e))},onFinish:gl,children:[(0,J.jsxs)("div",{className:M.fieldWrap,children:[(0,J.jsx)(y.Z.Item,{extra:(0,J.jsx)("div",{className:"tr c-grey-333 font12 mt3",children:"".concat((null===(l=z.name)||void 0===l?void 0:l.length)||0,"/60")}),name:"name",label:"实践课程名称",rules:[{required:!0,message:"请输入实践课程名称"}],children:(0,J.jsx)(we,{maxLength:60,placeholder:"例如:大学计算机基础 —— 计算思维"})}),(0,J.jsx)(y.Z.Item,a()(a()(a()(a()({style:{marginTop:"-24px"},name:"name_en",label:"英文课程名称"},"style",{marginTop:"-24px"}),"extra",(0,J.jsx)("div",{className:"tr c-grey-333 font12 mt3",children:"".concat((null===(n=z.name_en)||void 0===n?void 0:n.length)||0,"/200")})),"rules",[{message:"请输入英文课程名称"}]),"children",(0,J.jsx)(we,{maxLength:200,placeholder:"College Computer Fundamentals - Computational Thinking"}))),(0,J.jsx)(y.Z.Item,{name:"sub_discipline_ids",label:"方向&课程",style:{marginTop:"-24px"},children:(0,J.jsx)(ee,{defaultValue:pl,dataSource:sl,onChange:function(e){return x.setFieldsValue({sub_discipline_ids:e})}})}),(0,J.jsx)(y.Z.Item,{label:"发布单位",name:"school_id",wrapperCol:{span:24},extra:!Le&&z.school_id&&!(null!=Ze&&Ze.find((function(e){return e.name===z.school_id})))&&(0,J.jsx)("div",{className:M.schoolHintWrap,children:(0,J.jsxs)("span",{className:M.colorCDCDCD,children:["未找到包含“",z.school_id,"”的发布单位,如有需要,请",(0,J.jsx)("span",{style:{color:"blue",cursor:"pointer"},onClick:function(){k.Z.info({title:"联系平台运营",width:400,icon:null,centered:!0,content:(0,J.jsxs)("div",{style:{textAlign:"center"},children:[(0,J.jsx)("div",{style:{textAlign:"left"},children:"请扫码或搜索加入头歌官方交流QQ群:727685969,联系群内的运营进行咨询和申请新增学校名称。"}),(0,J.jsx)("img",{src:be,style:{width:"170px",height:"170px",marginTop:"20px"}})]}),okText:"我知道了"})},children:"联系平台运营"}),"申请新增"]})}),rules:[{required:!0,message:"请输入发布单位"}],children:(0,J.jsx)(S.Z,{placeholder:"请输入发布单位",showSearch:!0,size:"large",options:null==Ie?void 0:Ie.map((function(e){return{value:e.name}}))})})]}),(0,J.jsx)("div",{className:M.mdWrap,children:(0,J.jsx)(y.Z.Item,{name:"intro",label:"简介",rules:[{required:!0,message:"请输入实践课程的简介"},{whitespace:!0,message:"请输入实践课程的简介"},{max:65e3,message:"实践课程的简介最大限制65000个字符"}],children:(0,J.jsx)(L.Z,{watch:!0,defaultValue:z.intro})})}),(0,J.jsxs)("div",{className:M.mdWrap,children:[(0,J.jsxs)(j.Z,{align:"top",className:"mb10 mt10",children:[(0,J.jsx)(B.Z,{children:(0,J.jsx)("span",{className:"c-red mr10",children:"*"})}),(0,J.jsx)(B.Z,{flex:"1",children:(0,J.jsx)(y.Z.Item,{name:"learning_notes_title",label:"",style:{marginBottom:0},rules:[{required:!0,message:"请输课程须知标题"},{max:15,message:"请输课程须知标题最大限制15个字符"}],children:(0,J.jsx)(w.Z,{style:{height:38},placeholder:"请输入"})})})]}),(0,J.jsx)(y.Z.Item,{name:"notice",label:"",rules:[{required:!0,message:"请输入实践课程的课程须知"},{whitespace:!0,message:"请输入实践课程的课程须知"},{max:65e3,message:"实践课程的课程须知最大限制65000个字符"}],children:(0,J.jsx)(L.Z,{insertTemp:"1",watch:!0,defaultValue:z.notice})})]}),(0,J.jsxs)("div",{className:M.mdWrap,children:[(0,J.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[(0,J.jsx)(A.Z,{checked:je,style:{marginRight:11,minWidth:32},onChange:function(e){Be(e)}}),(0,J.jsxs)("span",{className:M.spanText,children:["课程公告",(0,J.jsx)("span",{children:"(支持老师自定义公告内容,以弹框形式提醒课程的学习用户)"})]})]}),je&&(0,J.jsx)(y.Z.Item,{style:{marginTop:10},name:"content",label:"",rules:[{required:!0,message:"请输入实践课程的课程提示"},{max:1e4,message:"实践课程的课程提示最大限制10000个字符"}],children:(0,J.jsx)(L.Z,{insertTemp:"1",watch:!0,defaultValue:z.content})}),je&&(0,J.jsxs)("div",{style:{marginTop:20,borderBottom:"1px solid #DBDCE0",paddingBottom:7},children:[(0,J.jsx)("label",{style:{color:"#000",marginRight:10},children:"提示次数"}),(0,J.jsxs)(T.ZP.Group,{value:Pe,onChange:function(e){Ee(e.target.value)},children:[(0,J.jsx)(T.ZP,{className:"c-black",value:-1,children:"每次"}),(0,J.jsx)(T.ZP,{className:"ml20 c-black",value:1,children:"一次"})]})]})]}),(0,J.jsxs)("div",{className:M.mdWrap,style:{marginTop:25},children:[(0,J.jsx)(P.Z,{style:{marginLeft:tl?"28px":"0"},checked:Y,onChange:function(e){Q(null==e?void 0:e.target.checked)},children:(0,J.jsxs)("span",{className:M.spanText,children:["展示默认章节序号",(0,J.jsx)("span",{children:"(选中,则为章节下所有项目添加排序编号)"})]})}),(0,J.jsx)("br",{}),(0,J.jsx)(P.Z,{style:{marginTop:"10px",marginLeft:tl?"28px":"0"},checked:le,onChange:function(e){return ne(null==e?void 0:e.target.checked)},children:(0,J.jsxs)("span",{className:M.spanText,children:["自选并展示SPOC课堂",(0,J.jsx)("span",{children:"(选中,则在教学团队下方添加SPOC课堂模块,团队成员可管理模块中课堂的展示)"})]})}),(0,J.jsx)("br",{}),(0,J.jsx)(P.Z,{style:{marginTop:"10px",marginLeft:tl?"28px":"0"},checked:he,onChange:function(e){return ve(null==e?void 0:e.target.checked)},children:(0,J.jsxs)("span",{className:M.spanText,children:["展示技术标签模块",(0,J.jsx)("span",{children:"(选中,则在教学团队下方添加技术标签模块)"})]})}),(0,J.jsx)("br",{}),(0,J.jsx)(P.Z,{style:{marginTop:"10px",marginLeft:tl?"28px":"0"},checked:ye,onChange:function(e){return Ce(null==e?void 0:e.target.checked)},children:(0,J.jsxs)("span",{className:M.spanText,children:["展示历史课堂模块",(0,J.jsx)("span",{children:"(选中,则在教学团队下方添加历史课堂模块,团队成员可管理模块中课堂的展示)"})]})}),(0,J.jsx)("br",{}),(0,J.jsx)(P.Z,{style:{marginTop:"10px",marginLeft:tl?"28px":"0"},checked:Ve,onChange:function(e){return Ke(null==e?void 0:e.target.checked)},children:(0,J.jsxs)("span",{className:M.spanText,children:["允许下载教学课件",(0,J.jsx)("span",{children:"(选中,则允许学习用户下载课程章节中上传的教学课件)"})]})}),(0,J.jsx)("br",{}),(0,J.jsx)(P.Z,{style:{marginTop:"10px",marginLeft:tl?"28px":"0"},checked:Ye,onChange:function(e){return Je(null==e?void 0:e.target.checked)},children:(0,J.jsxs)("span",{className:M.spanText,children:["默认展开课程小节内容",(0,J.jsx)("span",{children:"(选中,则用户在进入是将课程详情页面时,默认展开所有小节内容)"})]})}),(0,J.jsx)("br",{}),tl&&(0,J.jsx)(E.Z,{style:{marginTop:"10px"},showIcon:!1,className:M.tree,defaultExpandAll:!0,treeData:[{title:"展示课程概要(选中,则默认展示所有概览模块)",key:"all",children:[{title:"展示课程章节",key:"chapter"},{title:"展示排行榜",key:"charts"},{title:"展示证书申请",key:"cert_apply"},{title:"展示知识图谱",key:"knowledge_graph"}]}],onCheck:function(e,l){!function(e,l){el(e)}(e)},titleRender:function(e){return(0,J.jsx)(P.Z,{checked:null==$e?void 0:$e.includes(e.key),indeterminate:"all"===e.key&&il,onChange:function(l){var n=null==$e?void 0:$e.indexOf(e.key);if(n>-1)if("all"===e.key)$e.splice(0);else{$e.splice(n,1);var t=null==$e?void 0:$e.indexOf("all");t>-1&&$e.splice(t,1)}else"all"===e.key?$e.splice(0,$e.length,"all","chapter","charts","cert_apply","knowledge_graph"):($e.push(e.key),$e.length>=4&&(null==$e||!$e.includes("all"))&&$e.push("all"));console.log("checkedValueList--",$e),el(s()($e))},children:e.title})}}),(0,J.jsxs)("div",{className:"mt10",children:[(0,J.jsx)("div",{className:"c-black mb10",children:"自定义顶部背景图"}),(0,J.jsxs)(_.Z,{action:D.Z.API_SERVER+"/api/attachments.json",withCredentials:!0,fileList:ie,onChange:function(e){var l,n,t=(null==e?void 0:e.file.size)/1024/1024<2;if(null===(l=e.fileList)||void 0===l||!l.length)return!1;t?oe(null==e||null===(n=e.fileList)||void 0===n?void 0:n.slice(-1)):oe(s()(ie))},beforeUpload:function(e){var l="image/jpeg"===e.type||"image/png"===e.type;if(!l)return C.ZP.error("只能上传jpg 或者png图片"),!1;var n=e.size/1024/1024<2;return n?l&&n:(C.ZP.error("文件大小不能大于2m"),!1)},onRemove:function(e){oe([])},children:[(0,J.jsx)("div",{className:M.aBtn,children:"上传图片"}),(0,J.jsx)("span",{style:{color:"#5F6367",pointerEvents:"none"},children:"(本项非必需。如不上传,则使用系统默认图片;如上传,请选择jpg、png格式,大小不超过2M,建议尺寸1920*240像素)"})]})]}),(0,J.jsxs)("div",{className:"mt10",children:[(0,J.jsx)("div",{className:"c-black mb10",children:"自定义顶部内容图"}),(0,J.jsxs)(_.Z,{action:D.Z.API_SERVER+"/api/attachments.json",withCredentials:!0,fileList:ce,onChange:function(e){var l,n,t=(null==e?void 0:e.file.size)/1024/1024<2;if(null===(l=e.fileList)||void 0===l||!l.length)return!1;t?ue(null==e||null===(n=e.fileList)||void 0===n?void 0:n.slice(-1)):ue(s()(ce))},beforeUpload:function(e){var l="image/jpeg"===e.type||"image/png"===e.type;if(!l)return C.ZP.error("只能上传jpg 或者png图片"),!1;var n=e.size/1024/1024<2;return n?l&&n:(C.ZP.error("文件大小不能大于2m"),!1)},onRemove:function(e){ue([])},children:[(0,J.jsx)("div",{className:M.aBtn,children:"上传图片"}),(0,J.jsx)("span",{style:{color:"#5F6367",pointerEvents:"none"},children:"(本项非必需。如不上传,则使用系统默认图片;如上传,请选择jpg、png格式,大小不超过2M,建议尺寸1200*240像素)"})]})]})]}),(0,J.jsxs)("div",{className:M.backgroundFa,children:[(0,J.jsx)("div",{className:M.bBtn,onClick:ml,children:"取消"}),(0,J.jsx)(N.ZP,{className:M.cBtn,onClick:function(){return x.submit()},loading:i["newCourse/editCourse"]||i["newCourse/submitCourse"],children:"提交 "})]})]}),(0,J.jsx)(me,{schoolName:z.school_id,onSuccess:function(e){fl(),I(o()(o()({},x.getFieldsValue()),{},{school_id:e}))}})]})})})))},63578:function(e,l,n){"use strict";n.d(l,{P:function(){return t}});var t=[{value:"北京",label:"北京",children:[{value:"东城",label:"东城"},{value:"西城",label:"西城"},{value:"朝阳",label:"朝阳"},{value:"丰台",label:"丰台"},{value:"石景山",label:"石景山"},{value:"海淀",label:"海淀"},{value:"门头沟",label:"门头沟"},{value:"房山",label:"房山"},{value:"通州",label:"通州"},{value:"顺义",label:"顺义"},{value:"昌平",label:"昌平"},{value:"大兴",label:"大兴"},{value:"平谷",label:"平谷"},{value:"怀柔",label:"怀柔"},{value:"密云",label:"密云"},{value:"延庆",label:"延庆"}]},{value:"上海",label:"上海",children:[{value:"崇明",label:"崇明"},{value:"黄浦",label:"黄浦"},{value:"卢湾",label:"卢湾"},{value:"徐汇",label:"徐汇"},{value:"长宁",label:"长宁"},{value:"静安",label:"静安"},{value:"普陀",label:"普陀"},{value:"闸北",label:"闸北"},{value:"虹口",label:"虹口"},{value:"杨浦",label:"杨浦"},{value:"闵行",label:"闵行"},{value:"宝山",label:"宝山"},{value:"嘉定",label:"嘉定"},{value:"浦东",label:"浦东"},{value:"金山",label:"金山"},{value:"松江",label:"松江"},{value:"青浦",label:"青浦"},{value:"南汇",label:"南汇"},{value:"奉贤",label:"奉贤"}]},{value:"广东",label:"广东",children:[{value:"广州",label:"广州"},{value:"深圳",label:"深圳"},{value:"珠海",label:"珠海"},{value:"东莞",label:"东莞"},{value:"中山",label:"中山"},{value:"佛山",label:"佛山"},{value:"惠州",label:"惠州"},{value:"河源",label:"河源"},{value:"潮州",label:"潮州"},{value:"江门",label:"江门"},{value:"揭阳",label:"揭阳"},{value:"茂名",label:"茂名"},{value:"梅州",label:"梅州"},{value:"清远",label:"清远"},{value:"汕头",label:"汕头"},{value:"汕尾",label:"汕尾"},{value:"韶关",label:"韶关"},{value:"顺德",label:"顺德"},{value:"阳江",label:"阳江"},{value:"云浮",label:"云浮"},{value:"湛江",label:"湛江"},{value:"肇庆",label:"肇庆"}]},{value:"江苏",label:"江苏",children:[{value:"南京",label:"南京"},{value:"常熟",label:"常熟"},{value:"常州",label:"常州"},{value:"海门",label:"海门"},{value:"淮安",label:"淮安"},{value:"江都",label:"江都"},{value:"江阴",label:"江阴"},{value:"昆山",label:"昆山"},{value:"连云港",label:"连云港"},{value:"南通",label:"南通"},{value:"启东",label:"启东"},{value:"沭阳",label:"沭阳"},{value:"宿迁",label:"宿迁"},{value:"苏州",label:"苏州"},{value:"太仓",label:"太仓"},{value:"泰州",label:"泰州"},{value:"同里",label:"同里"},{value:"无锡",label:"无锡"},{value:"徐州",label:"徐州"},{value:"盐城",label:"盐城"},{value:"扬州",label:"扬州"},{value:"宜兴",label:"宜兴"},{value:"仪征",label:"仪征"},{value:"张家港",label:"张家港"},{value:"镇江",label:"镇江"}]},{value:"重庆",label:"重庆",children:[{value:"万州",label:"万州"},{value:"涪陵",label:"涪陵"},{value:"渝中",label:"渝中"},{value:"大渡口",label:"大渡口"},{value:"江北",label:"江北"},{value:"沙坪坝",label:"沙坪坝"},{value:"九龙坡",label:"九龙坡"},{value:"南岸",label:"南岸"},{value:"北碚",label:"北碚"},{value:"万盛",label:"万盛"},{value:"双挢",label:"双挢"},{value:"渝北",label:"渝北"},{value:"巴南",label:"巴南"},{value:"黔江",label:"黔江"},{value:"长寿",label:"长寿"},{value:"綦江",label:"綦江"},{value:"潼南",label:"潼南"},{value:"铜梁",label:"铜梁"},{value:"大足",label:"大足"},{value:"荣昌",label:"荣昌"},{value:"壁山",label:"壁山"},{value:"梁平",label:"梁平"},{value:"城口",label:"城口"},{value:"丰都",label:"丰都"},{value:"垫江",label:"垫江"},{value:"武隆",label:"武隆"},{value:"忠县",label:"忠县"},{value:"开县",label:"开县"},{value:"云阳",label:"云阳"},{value:"奉节",label:"奉节"},{value:"巫山",label:"巫山"},{value:"巫溪",label:"巫溪"},{value:"石柱",label:"石柱"},{value:"秀山",label:"秀山"},{value:"酉阳",label:"酉阳"},{value:"彭水",label:"彭水"},{value:"江津",label:"江津"},{value:"合川",label:"合川"},{value:"永川",label:"永川"},{value:"南川",label:"南川"}]},{value:"安徽",label:"安徽",children:[{value:"合肥",label:"合肥"},{value:"安庆",label:"安庆"},{value:"蚌埠",label:"蚌埠"},{value:"亳州",label:"亳州"},{value:"巢湖",label:"巢湖"},{value:"滁州",label:"滁州"},{value:"阜阳",label:"阜阳"},{value:"贵池",label:"贵池"},{value:"淮北",label:"淮北"},{value:"淮化",label:"淮化"},{value:"淮南",label:"淮南"},{value:"黄山",label:"黄山"},{value:"九华山",label:"九华山"},{value:"六安",label:"六安"},{value:"马鞍山",label:"马鞍山"},{value:"宿州",label:"宿州"},{value:"铜陵",label:"铜陵"},{value:"屯溪",label:"屯溪"},{value:"芜湖",label:"芜湖"},{value:"宣城",label:"宣城"}]},{value:"福建",label:"福建",children:[{value:"福州",label:"福州"},{value:"厦门",label:"厦门"},{value:"泉州",label:"泉州"},{value:"漳州",label:"漳州"},{value:"龙岩",label:"龙岩"},{value:"南平",label:"南平"},{value:"宁德",label:"宁德"},{value:"莆田",label:"莆田"},{value:"三明",label:"三明"}]},{value:"甘肃",label:"甘肃",children:[{value:"兰州",label:"兰州"},{value:"嘉峪关",label:"嘉峪关"},{value:"白银",label:"白银"},{value:"定西",label:"定西"},{value:"敦煌",label:"敦煌"},{value:"甘南",label:"甘南"},{value:"金昌",label:"金昌"},{value:"酒泉",label:"酒泉"},{value:"临夏",label:"临夏"},{value:"平凉",label:"平凉"},{value:"天水",label:"天水"},{value:"陇南",label:"陇南"},{value:"武威",label:"武威"},{value:"西峰",label:"西峰"},{value:"张掖",label:"张掖"}]},{value:"广西",label:"广西",children:[{value:"南宁",label:"南宁"},{value:"来宾",label:"来宾"},{value:"百色",label:"百色"},{value:"北海",label:"北海"},{value:"桂林",label:"桂林"},{value:"防城港",label:"防城港"},{value:"贵港",label:"贵港"},{value:"河池",label:"河池"},{value:"贺州",label:"贺州"},{value:"柳州",label:"柳州"},{value:"钦州",label:"钦州"},{value:"梧州",label:"梧州"},{value:"玉林",label:"玉林"}]},{value:"贵州",label:"贵州",children:[{value:"贵阳",label:"贵阳"},{value:"安顺",label:"安顺"},{value:"毕节",label:"毕节"},{value:"都匀",label:"都匀"},{value:"凯里",label:"凯里"},{value:"六盘水",label:"六盘水"},{value:"铜仁",label:"铜仁"},{value:"兴义",label:"兴义"},{value:"玉屏",label:"玉屏"},{value:"遵义",label:"遵义"}]},{value:"海南",label:"海南",children:[{value:"海口",label:"海口"},{value:"儋县",label:"儋县"},{value:"陵水",label:"陵水"},{value:"琼海",label:"琼海"},{value:"三亚",label:"三亚"},{value:"通什",label:"通什"},{value:"万宁",label:"万宁"}]},{value:"河北",label:"河北",children:[{value:"石家庄",label:"石家庄"},{value:"保定",label:"保定"},{value:"北戴河",label:"北戴河"},{value:"沧州",label:"沧州"},{value:"承德",label:"承德"},{value:"丰润",label:"丰润"},{value:"邯郸",label:"邯郸"},{value:"衡水",label:"衡水"},{value:"廊坊",label:"廊坊"},{value:"南戴河",label:"南戴河"},{value:"秦皇岛",label:"秦皇岛"},{value:"唐山",label:"唐山"},{value:"新城",label:"新城"},{value:"邢台",label:"邢台"},{value:"张家口",label:"张家口"}]},{value:"黑龙江",label:"黑龙江",children:[{value:"哈尔滨",label:"哈尔滨"},{value:"北安",label:"北安"},{value:"大庆",label:"大庆"},{value:"大兴安岭",label:"大兴安岭"},{value:"鹤岗",label:"鹤岗"},{value:"黑河",label:"黑河"},{value:"佳木斯",label:"佳木斯"},{value:"鸡西",label:"鸡西"},{value:"牡丹江",label:"牡丹江"},{value:"齐齐哈尔",label:"齐齐哈尔"},{value:"七台河",label:"七台河"},{value:"双鸭山",label:"双鸭山"},{value:"绥化",label:"绥化"},{value:"伊春",label:"伊春"}]},{value:"河南",label:"河南",children:[{value:"郑州",label:"郑州"},{value:"安阳",label:"安阳"},{value:"鹤壁",label:"鹤壁"},{value:"潢川",label:"潢川"},{value:"焦作",label:"焦作"},{value:"济源",label:"济源"},{value:"开封",label:"开封"},{value:"漯河",label:"漯河"},{value:"洛阳",label:"洛阳"},{value:"南阳",label:"南阳"},{value:"平顶山",label:"平顶山"},{value:"濮阳",label:"濮阳"},{value:"三门峡",label:"三门峡"},{value:"商丘",label:"商丘"},{value:"新乡",label:"新乡"},{value:"信阳",label:"信阳"},{value:"许昌",label:"许昌"},{value:"周口",label:"周口"},{value:"驻马店",label:"驻马店"}]},{value:"香港",label:"香港",children:[{value:"香港",label:"香港"},{value:"九龙",label:"九龙"},{value:"新界",label:"新界"}]},{value:"湖北",label:"湖北",children:[{value:"武汉",label:"武汉"},{value:"天门",label:"天门"},{value:"恩施",label:"恩施"},{value:"鄂州",label:"鄂州"},{value:"黄冈",label:"黄冈"},{value:"黄石",label:"黄石"},{value:"荆门",label:"荆门"},{value:"荆州",label:"荆州"},{value:"潜江",label:"潜江"},{value:"十堰",label:"十堰"},{value:"随州",label:"随州"},{value:"武穴",label:"武穴"},{value:"仙桃",label:"仙桃"},{value:"咸宁",label:"咸宁"},{value:"襄阳",label:"襄阳"},{value:"襄樊",label:"襄樊"},{value:"孝感",label:"孝感"},{value:"宜昌",label:"宜昌"}]},{value:"湖南",label:"湖南",children:[{value:"长沙",label:"长沙"},{value:"常德",label:"常德"},{value:"郴州",label:"郴州"},{value:"衡阳",label:"衡阳"},{value:"怀化",label:"怀化"},{value:"吉首",label:"吉首"},{value:"娄底",label:"娄底"},{value:"邵阳",label:"邵阳"},{value:"湘潭",label:"湘潭"},{value:"益阳",label:"益阳"},{value:"岳阳",label:"岳阳"},{value:"永州",label:"永州"},{value:"张家界",label:"张家界"},{value:"株洲",label:"株洲"}]},{value:"江西",label:"江西",children:[{value:"南昌",label:"南昌"},{value:"抚州",label:"抚州"},{value:"赣州",label:"赣州"},{value:"吉安",label:"吉安"},{value:"景德镇",label:"景德镇"},{value:"井冈山",label:"井冈山"},{value:"九江",label:"九江"},{value:"庐山",label:"庐山"},{value:"萍乡",label:"萍乡"},{value:"上饶",label:"上饶"},{value:"新余",label:"新余"},{value:"宜春",label:"宜春"},{value:"鹰潭",label:"鹰潭"}]},{value:"吉林",label:"吉林",children:[{value:"长春",label:"长春"},{value:"吉林",label:"吉林"},{value:"白城",label:"白城"},{value:"白山",label:"白山"},{value:"珲春",label:"珲春"},{value:"辽源",label:"辽源"},{value:"梅河",label:"梅河"},{value:"四平",label:"四平"},{value:"松原",label:"松原"},{value:"通化",label:"通化"},{value:"延吉",label:"延吉"}]},{value:"辽宁",label:"辽宁",children:[{value:"沈阳",label:"沈阳"},{value:"鞍山",label:"鞍山"},{value:"本溪",label:"本溪"},{value:"朝阳",label:"朝阳"},{value:"大连",label:"大连"},{value:"丹东",label:"丹东"},{value:"抚顺",label:"抚顺"},{value:"阜新",label:"阜新"},{value:"葫芦岛",label:"葫芦岛"},{value:"锦州",label:"锦州"},{value:"辽阳",label:"辽阳"},{value:"盘锦",label:"盘锦"},{value:"铁岭",label:"铁岭"},{value:"营口",label:"营口"}]},{value:"澳门",label:"澳门",children:[{value:"澳门",label:"澳门"}]},{value:"内蒙古",label:"内蒙古",children:[{value:"呼和浩特",label:"呼和浩特"},{value:"阿拉善盟",label:"阿拉善盟"},{value:"包头",label:"包头"},{value:"赤峰",label:"赤峰"},{value:"东胜",label:"东胜"},{value:"海拉尔",label:"海拉尔"},{value:"集宁",label:"集宁"},{value:"临河",label:"临河"},{value:"通辽",label:"通辽"},{value:"乌海",label:"乌海"},{value:"乌兰浩特",label:"乌兰浩特"},{value:"锡林浩特",label:"锡林浩特"}]},{value:"宁夏",label:"宁夏",children:[{value:"银川",label:"银川"},{value:"固源",label:"固源"},{value:"石嘴山",label:"石嘴山"},{value:"吴忠",label:"吴忠"}]},{value:"青海",label:"青海",children:[{value:"西宁",label:"西宁"},{value:"德令哈",label:"德令哈"},{value:"格尔木",label:"格尔木"},{value:"共和",label:"共和"},{value:"海东",label:"海东"},{value:"海晏",label:"海晏"},{value:"玛沁",label:"玛沁"},{value:"同仁",label:"同仁"},{value:"玉树",label:"玉树"}]},{value:"山东",label:"山东",children:[{value:"济南",label:"济南"},{value:"滨州",label:"滨州"},{value:"兖州",label:"兖州"},{value:"德州",label:"德州"},{value:"东营",label:"东营"},{value:"菏泽",label:"菏泽"},{value:"济宁",label:"济宁"},{value:"莱芜",label:"莱芜"},{value:"聊城",label:"聊城"},{value:"临沂",label:"临沂"},{value:"蓬莱",label:"蓬莱"},{value:"青岛",label:"青岛"},{value:"曲阜",label:"曲阜"},{value:"日照",label:"日照"},{value:"泰安",label:"泰安"},{value:"潍坊",label:"潍坊"},{value:"威海",label:"威海"},{value:"烟台",label:"烟台"},{value:"枣庄",label:"枣庄"},{value:"淄博",label:"淄博"}]},{value:"山西",label:"山西",children:[{value:"太原",label:"太原"},{value:"吕梁",label:"吕梁"},{value:"长治",label:"长治"},{value:"大同",label:"大同"},{value:"候马",label:"候马"},{value:"晋城",label:"晋城"},{value:"离石",label:"离石"},{value:"临汾",label:"临汾"},{value:"宁武",label:"宁武"},{value:"朔州",label:"朔州"},{value:"忻州",label:"忻州"},{value:"阳泉",label:"阳泉"},{value:"榆次",label:"榆次"},{value:"晋中",label:"晋中"},{value:"运城",label:"运城"}]},{value:"陕西",label:"陕西",children:[{value:"西安",label:"西安"},{value:"安康",label:"安康"},{value:"宝鸡",label:"宝鸡"},{value:"汉中",label:"汉中"},{value:"渭南",label:"渭南"},{value:"商州",label:"商州"},{value:"绥德",label:"绥德"},{value:"铜川",label:"铜川"},{value:"咸阳",label:"咸阳"},{value:"延安",label:"延安"},{value:"榆林",label:"榆林"}]},{value:"四川",label:"四川",children:[{value:"成都",label:"成都"},{value:"巴中",label:"巴中"},{value:"达川",label:"达川"},{value:"德阳",label:"德阳"},{value:"都江堰",label:"都江堰"},{value:"峨眉山",label:"峨眉山"},{value:"涪陵",label:"涪陵"},{value:"广安",label:"广安"},{value:"广元",label:"广元"},{value:"九寨沟",label:"九寨沟"},{value:"康定",label:"康定"},{value:"乐山",label:"乐山"},{value:"泸州",label:"泸州"},{value:"马尔康",label:"马尔康"},{value:"绵阳",label:"绵阳"},{value:"眉山",label:"眉山"},{value:"南充",label:"南充"},{value:"内江",label:"内江"},{value:"攀枝花",label:"攀枝花"},{value:"遂宁",label:"遂宁"},{value:"汶川",label:"汶川"},{value:"西昌",label:"西昌"},{value:"雅安",label:"雅安"},{value:"宜宾",label:"宜宾"},{value:"自贡",label:"自贡"},{value:"资阳",label:"资阳"}]},{value:"台湾",label:"台湾",children:[{value:"台北",label:"台北"},{value:"基隆",label:"基隆"},{value:"台南",label:"台南"},{value:"台中",label:"台中"},{value:"高雄",label:"高雄"},{value:"屏东",label:"屏东"},{value:"南投",label:"南投"},{value:"云林",label:"云林"},{value:"新竹",label:"新竹"},{value:"彰化",label:"彰化"},{value:"苗栗",label:"苗栗"},{value:"嘉义",label:"嘉义"},{value:"桃园",label:"桃园"},{value:"宜兰",label:"宜兰"},{value:"台东",label:"台东"},{value:"金门",label:"金门"},{value:"马祖",label:"马祖"},{value:"澎湖",label:"澎湖"}]},{value:"天津",label:"天津",children:[{value:"天津",label:"天津"},{value:"和平",label:"和平"},{value:"东丽",label:"东丽"},{value:"河东",label:"河东"},{value:"西青",label:"西青"},{value:"河西",label:"河西"},{value:"津南",label:"津南"},{value:"南开",label:"南开"},{value:"北辰",label:"北辰"},{value:"河北",label:"河北"},{value:"武清",label:"武清"},{value:"红挢",label:"红挢"},{value:"塘沽",label:"塘沽"},{value:"汉沽",label:"汉沽"},{value:"大港",label:"大港"},{value:"宁河",label:"宁河"},{value:"静海",label:"静海"},{value:"宝坻",label:"宝坻"},{value:"蓟县",label:"蓟县"}]},{value:"新疆",label:"新疆",children:[{value:"乌鲁木齐",label:"乌鲁木齐"},{value:"阿克苏",label:"阿克苏"},{value:"阿勒泰",label:"阿勒泰"},{value:"阿图什",label:"阿图什"},{value:"博乐",label:"博乐"},{value:"昌吉",label:"昌吉"},{value:"东山",label:"东山"},{value:"哈密",label:"哈密"},{value:"和田",label:"和田"},{value:"喀什",label:"喀什"},{value:"克拉玛依",label:"克拉玛依"},{value:"库车",label:"库车"},{value:"库尔勒",label:"库尔勒"},{value:"奎屯",label:"奎屯"},{value:"石河子",label:"石河子"},{value:"塔城",label:"塔城"},{value:"吐鲁番",label:"吐鲁番"},{value:"伊宁",label:"伊宁"}]},{value:"西藏",label:"西藏",children:[{value:"拉萨",label:"拉萨"},{value:"阿里",label:"阿里"},{value:"昌都",label:"昌都"},{value:"林芝",label:"林芝"},{value:"那曲",label:"那曲"},{value:"日喀则",label:"日喀则"},{value:"山南",label:"山南"}]},{value:"云南",label:"云南",children:[{value:"昆明",label:"昆明"},{value:"大理",label:"大理"},{value:"保山",label:"保山"},{value:"楚雄",label:"楚雄"},{value:"大理",label:"大理"},{value:"东川",label:"东川"},{value:"个旧",label:"个旧"},{value:"景洪",label:"景洪"},{value:"开远",label:"开远"},{value:"临沧",label:"临沧"},{value:"丽江",label:"丽江"},{value:"六库",label:"六库"},{value:"潞西",label:"潞西"},{value:"曲靖",label:"曲靖"},{value:"思茅",label:"思茅"},{value:"文山",label:"文山"},{value:"西双版纳",label:"西双版纳"},{value:"玉溪",label:"玉溪"},{value:"中甸",label:"中甸"},{value:"昭通",label:"昭通"}]},{value:"浙江",label:"浙江",children:[{value:"杭州",label:"杭州"},{value:"温州",label:"温州"},{value:"安吉",label:"安吉"},{value:"慈溪",label:"慈溪"},{value:"定海",label:"定海"},{value:"奉化",label:"奉化"},{value:"海盐",label:"海盐"},{value:"黄岩",label:"黄岩"},{value:"湖州",label:"湖州"},{value:"嘉兴",label:"嘉兴"},{value:"金华",label:"金华"},{value:"临安",label:"临安"},{value:"临海",label:"临海"},{value:"丽水",label:"丽水"},{value:"宁波",label:"宁波"},{value:"瓯海",label:"瓯海"},{value:"平湖",label:"平湖"},{value:"千岛湖",label:"千岛湖"},{value:"衢州",label:"衢州"},{value:"江山",label:"江山"},{value:"瑞安",label:"瑞安"},{value:"绍兴",label:"绍兴"},{value:"嵊州",label:"嵊州"},{value:"台州",label:"台州"},{value:"温岭",label:"温岭"},{value:"余姚",label:"余姚"},{value:"舟山",label:"舟山"}]},{value:"海外",label:"海外",children:[{value:"美国",label:"美国"},{value:"日本",label:"日本"},{value:"英国",label:"英国"},{value:"法国",label:"法国"},{value:"德国",label:"德国"},{value:"其他",label:"其他"}]}]},88522:function(e,l,n){"use strict";var t=n(92310),a=n.n(t),i=n(47783),o=n(62805),r=n(59301),s=n(53487),c=n(92343),u=n(36355),d=n(57809);const{Option:p}=d.default;function h(e){return e&&e.type&&(e.type.isSelectOption||e.type.isSelectOptGroup)}const v=(e,l)=>{const{prefixCls:n,className:t,popupClassName:s,dropdownClassName:v,children:f,dataSource:m}=e,b=(0,i.Z)(f);let g;1===b.length&&(0,c.l$)(b[0])&&!h(b[0])&&([g]=b);const w=g?()=>g:void 0;let x;x=b.length&&h(b[0])?f:m?m.map((e=>{if((0,c.l$)(e))return e;switch(typeof e){case"string":return r.createElement(p,{key:e,value:e},e);case"object":{const{value:l}=e;return r.createElement(p,{key:l,value:l},e.text)}default:return}})):[];const{getPrefixCls:y}=r.useContext(u.E_),C=y("select",n);return r.createElement(d.default,Object.assign({ref:l,suffixIcon:null},(0,o.Z)(e,["dataSource","dropdownClassName"]),{prefixCls:C,popupClassName:s||v,className:a()(`${C}-auto-complete`,t),mode:d.default.SECRET_COMBOBOX_MODE_DO_NOT_USE},{getInputElement:w}),x)},f=r.forwardRef(v),m=(0,s.Z)(f);f.Option=p,f._InternalPanelDoNotUseOrYouWillBeFired=m,l.Z=f},29831:function(e,l,n){"use strict";e.exports=n.p+"static/touge_code.728ce351.jpg"},93314:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt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