You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1106 lines
838 KiB
1106 lines
838 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[3157],{66543:function(){"use strict"},59598:function(){"use strict"},21697:function(Tt,zt){"use strict";zt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},73835:function(){"use strict"},11081:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var Tt={},zt="5.0",de={},ne=null,$e=!1,Le=!1,Re=null,ge=!1,me=null,Te=null,Ce=0;Ce<arguments.length;Ce++){var we=arguments[Ce];if(we!==null)switch(typeof we){case"number":zt=we.toFixed(1);break;case"string":we.match(new RegExp("^[0-9]\\.[0-9]+$"))?zt=we:Re=we;break;case"object":typeof we.is3D!="undefined"?ne=we:de=we;break;case"boolean":$e=we,Le=!0;break}}ne===null&&(ne={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},de.material_id!==void 0&&!Le&&($e=!0)),Re!==null&&de.id===void 0&&(de.id=Re);var he="",Qe="",ve=!1,ot=null,We=null,De=null,Fe=!1,Be=null,st=null,ht=null,nt=null,Ge=null;de.height!==void 0&&(de.height=Math.round(de.height)),de.width!==void 0&&(de.width=Math.round(de.width));var Xe=function(be){return parseFloat(be)>4?parseFloat(be):5};Tt.setHTML5Codebase=function(be,Ye){Te=be,ze(be,Ye)},Tt.setJavaCodebase=Tt.setJavaCodebaseVersion=Tt.isCompiledInstalled=Tt.setPreCompiledScriptPath=Tt.setPreCompiledResourcePath=function(){},Tt.setHTML5CodebaseVersion=function(be,Ye){var Ie=parseFloat(be);if(Ie!==NaN&&Ie<5){console.log("The GeoGebra HTML5 codebase version "+Ie+" is deprecated. Using version latest instead.");return}me=be,ce(be,Ye)},Tt.getHTML5CodebaseVersion=function(){return We},Tt.getParameters=function(){return de},Tt.setFontsCSSURL=function(be){nt=be},Tt.setGiacJSURL=function(be){},Tt.setJNLPFile=function(be){he=be},Tt.setJNLPBaseDir=function(be){},Tt.inject=function(){function be(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ye="auto",Ie=de.id,Ct,qe=!1,wt=0;wt<arguments.length;wt++){var Pe=arguments[wt];typeof Pe=="string"?(Pe=Pe.toLowerCase(),Pe.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Ye=Pe:Ie=arguments[wt]):typeof Pe=="boolean"?qe=Pe:Pe instanceof HTMLElement&&(Ct=Pe)}lt();function lt(){if(!ge){setTimeout(lt,200);return}Ye=ut(Ye);var pt=Ct||document.getElementById(Ie);if(!pt){console.log("possibly bug on ajax loading? ");return}if(Tt.removeExistingApplet(pt,!1),de.width===void 0&&pt.clientWidth&&(de.width=pt.clientWidth),de.height===void 0&&pt.clientHeight&&(de.height=pt.clientHeight),!(de.width&&de.height)&&Ye==="html5"&&(delete de.width,delete de.height),ot=Ye,Ye==="screenshot")Se(pt,de);else{var ae=!1;de.hasOwnProperty("playButton")&&de.playButton||de.hasOwnProperty("clickToLoad")&&de.clickToLoad?ae=!0:de.hasOwnProperty("playButtonAutoDecide")&&de.playButtonAutoDecide&&(ae=(!Je()||be())&&Ke()),ae?(ot="screenshot",Pt(pt,de,qe,Ye)):Ve(pt,de,qe)}}};function Je(){try{return window.self!==window.top}catch(be){return!0}}function Ke(){return de.hasOwnProperty("screenshotGenerator")&&de.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}Tt.getViews=function(){return ne},Tt.isJavaInstalled=function(){return!1};var Lt=function(be){var Ye=function(wt){var Pe=JSON.parse(wt),lt=function(ee){return ee.type=="G"||ee.type=="E"},pt=Pe.elements?Pe.elements.filter(lt)[0]:Pe;if(!pt||!pt.url){Ie();return}de.fileName=pt.url,Ue(pt.settings||{}),ne.is3D=!0;var ae="https://www.geogebra.org/images/";Tt.setPreviewImage(Be||pt.previewUrl,ae+"GeoGebra_loading.png",ae+"applet_play.png"),be()},Ie=function(){de.onError&&de.onError(),dt("Error: Fetching material (id "+de.material_id+") failed.",de)},Ct=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",qe="/materials/"+de.material_id+"?scope=basic";Ne("https://"+Ct+"/api/proxy.php?path="+encodeURIComponent(qe),Ye,Ie)};function Ue(be){var Ye=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Ie){be[Ie]=!!be[Ie]}),Ye.forEach(function(Ie){de[Ie]===void 0&&be[Ie]!==void 0&&(de[Ie]=be[Ie])}),de.showToolBarHelp===void 0&&(de.showToolBarHelp=de.showToolBar)}function Ne(be,Ye,Ie){var Ct=new XMLHttpRequest;Ct.open("GET",be),Ct.onload=function(){Ye(Ct.responseText)},Ct.onerror=Ie,Ct.send()}Tt.isHTML5Installed=function(){return!0},Tt.getLoadedAppletType=function(){return ot},Tt.setPreviewImage=function(be,Ye,Ie){Be=be,st=Ye,ht=Ie},Tt.removeExistingApplet=function(be,Ye){var Ie;typeof be=="string"&&(be=document.getElementById(be)),ot=null;var Ct=null;for(Ie=0;Ie<be.childNodes.length;Ie++){var qe=be.childNodes[Ie],wt=qe.className;wt==="applet_screenshot"?Ye?(qe.style.display="block",ot="screenshot"):qe.style.display="none":wt!=="applet_scaler prerender"&&(be.removeChild(qe),Ct=wt&&wt.indexOf("appletParameters")!=-1?qe.id:null,Ie--)}var Pe=de.id!==void 0?de.id:Ct,lt=window[Pe];lt&&typeof lt.getBase64=="function"&&(lt.remove(),window[Pe]=null)},Tt.refreshHitPoints=function(){if(Xe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var be=Tt.getAppletObject();return be&&typeof be.recalculateEnvironments=="function"?(be.recalculateEnvironments(),!0):!1},Tt.startAnimation=function(){var be=Tt.getAppletObject();return be&&typeof be.startAnimation=="function"?(be.startAnimation(),!0):!1},Tt.stopAnimation=function(){var be=Tt.getAppletObject();return be&&typeof be.stopAnimation=="function"?(be.stopAnimation(),!0):!1},Tt.getAppletObject=function(){var be=de.id!==void 0?de.id:"ggbApplet";return window[be]},Tt.resize=function(){};var et=function(be,Ye,Ie){var Ct=document.createElement("param");Ct.setAttribute("name",Ye),Ct.setAttribute("value",Ie),be.appendChild(Ct)},Ee=function(be){return be&&be!=="false"},Ve=function(be,Ye,Ie){Xe(We)<=4.2&&(Ie=!0);var Ct=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==We||ggbHTML5LoadedCodebaseIsWebSimple&&!Fe)&&(Ct=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var qe=document.createElement("div");qe.classList.add("appletParameters","notranslate");var wt=Ye.width,Pe=Ye.height;if(Ye.disableAutoScale=Ye.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ye.disableAutoScale,Ye.width!==void 0)if(Xe(We)<=4.4)Ee(Ye.showToolBar)&&(Ye.height-=7),Ee(Ye.showAlgebraInput)&&(Ye.height-=37),Ye.width<605&&Ee(Ye.showToolBar)&&(Ye.width=605,wt=605);else{var lt=100;(Ee(Ye.showToolBar)||Ee(Ye.showMenuBar))&&(Ye.hasOwnProperty("customToolBar")&&(Ye.customToolbar=Ye.customToolBar),lt=Ee(Ye.showMenuBar)?245:155),wt<lt&&(Ye.width=lt,wt=lt)}qe.style.border="none",qe.style.display="inline-block";for(var pt in Ye)Ye.hasOwnProperty(pt)&&pt!=="appletOnLoad"&&qe.setAttribute("data-param-"+pt,Ye[pt]);nt&&qe.setAttribute("data-param-fontscssurl",nt),Tt.resize=function(){GGBAppletUtils.responsiveResize(be,Ye)},window.addEventListener("resize",function(It){Tt.resize()});var ae=typeof Ye.appletOnLoad=="function"?Ye.appletOnLoad:function(){};if(!Ie&&Ye.width!==void 0){Ye.hasOwnProperty("showSplash")||qe.setAttribute("data-param-showSplash","false");var ee=be.querySelector(".applet_scaler.prerender"),z=ee!==null;if(z)var ie=ee.querySelector(".ggb_preview");else{var ie=bt(wt,Pe,Ye.borderColor,!1);ee=document.createElement("div"),ee.className="applet_scaler",ee.style.position="relative",ee.style.display="block",ee.style.width=wt+"px",ee.style.height=Pe+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(ee,"66%"),Xe(We)>=5?(Ye.appletOnLoad=function(It){var Wt=be.querySelector(".ggb_preview");Wt&&Wt.parentNode.removeChild(Wt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ee),window.GGBT_wsf_view&&$(window).trigger("resize"),ae(It)},z||ee.appendChild(ie)):qe.appendChild(ie),ee.appendChild(qe),z||be.appendChild(ee),setTimeout(function(){Tt.resize()},1)}else{var le=document.createElement("div");le.className="applet_scaler",le.style.position="relative",le.style.display="block",le.appendChild(qe),be.appendChild(le),Ye.appletOnLoad=function(It){Tt.resize(),ae(It)}}function re(It,Wt){Wt&&typeof Wt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(It,Wt.appletOnLoad):renderGGBElement(It),dt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Wt)}function ye(It,Wt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:It,params:Wt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Yt){re(Yt.article,Yt.params)}),html5AppletsToProcess=null)},Xe(We)<5&&(It.className+=" geogebraweb")):re(It,Wt)}if(Ct){scriptLoadStarted=!0;for(var Oe=0;Oe<qe.childNodes.length;Oe++){var Et=qe.childNodes[Oe].tagName;Et==="TABLE"&&(qe.removeChild(qe.childNodes[Oe]),Oe--)}if(ggbHTML5LoadedScript!==null){var yt=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');yt!=null&&yt.parentNode.removeChild(yt)}var at=document.createElement("script"),mt=function(){ye(qe,Ye)};at.src=Qe+De,ggbHTML5LoadedCodebaseIsWebSimple=Fe,ggbHTML5LoadedCodebaseVersion=We,ggbHTML5LoadedScript=at.src,dt("GeoGebra HTML5 codebase loaded: '"+Qe+"'.",Ye),!Te&&(!me||me=="5.0")?(Fe?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),mt()):Qe.requirejs?__webpack_require__.e(981).then(function(){var It=[__webpack_require__(60981)];mt.apply(null,It)}.bind(this)).catch(__webpack_require__.oe):(at.onload=mt,be.appendChild(at))}else ye(qe,Ye);Ye.height=Pe,Ye.width=wt},Se=function(be,Ye,Ie){var Ct=bt(Ye.width,Ye.height,Ye.borderColor,Ie),qe=document.createElement("div");qe.style.position="relative",qe.style.display="block",qe.style.width=Ye.width+"px",qe.style.height=Ye.height+"px",qe.className="applet_screenshot applet_scaler"+(Ie?" applet_screenshot_play":""),qe.appendChild(Ct);var wt=GGBAppletUtils.getScale(Ye,be,Ie);Ie?(be.appendChild(gt()),window.GGBT_wsf_view||(be.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(qe,"66%"),be.appendChild(qe),wt!==1&&!isNaN(wt)&&(GGBAppletUtils.scaleElement(qe,wt),qe.style.width=Ye.width+"px",qe.style.height=Ye.height+"px",qe.parentNode.style.width=Ye.width*wt+"px",qe.parentNode.style.height=Ye.height*wt+"px"),Tt.resize=function(){He(be,Ct,qe,Ie)},window.addEventListener("resize",function(Pe){Tt.resize()}),Tt.resize()};function He(be,Ye,Ie,Ct){if(be.contains(Ye)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(be.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(be)}var qe=GGBAppletUtils.getScale(de,be,Ct);Ie.parentNode!==null&&(!isNaN(qe)&&qe!==1?(GGBAppletUtils.scaleElement(Ie,qe),Ie.parentNode.style.width=de.width*qe+"px",Ie.parentNode.style.height=de.height*qe+"px"):(GGBAppletUtils.scaleElement(Ie,1),Ie.parentNode.style.width=de.width+"px",Ie.parentNode.style.height=de.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(be),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}Tt.onExitFullscreen=function(be,Ye){Ye.appendChild(be)};var Pt=function(be,Ye,Ie,Ct){Se(be,Ye,!0);for(var qe=function(){var lt=[];for(Pe=0;Pe<be.childNodes.length;Pe++)lt.push(be.childNodes[Pe]);if(window.GGBT_wsf_view){var pt=window.GGBT_wsf_view.renderFullScreen(be,Ye.id),ae=document.getElementById("fullscreencontainer"),ee=jQuery(be).find(".fullscreencontent");ee.length>0?(pt.remove(),ee.attr("id","fullscreencontent").show(),jQuery(ae).append(ee),window.dispatchEvent(new Event("resize"))):Ve(pt,Ye,!1),window.GGBT_wsf_view.launchFullScreen(ae)}else ot=Ct,Ve(be,Ye,!1);if(!window.GGBT_wsf_view)for(Pe=0;Pe<lt.length;Pe++)be.removeChild(lt[Pe])},wt=be.getElementsByClassName("ggb_preview_play"),Pe=0;Pe<wt.length;Pe++)wt[Pe].addEventListener("click",qe,!1),wt[Pe].addEventListener("ontouchstart",qe,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(be),Ke()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},gt=function(){var be=document.createElement("div");if(be.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Ye='.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");}',Ie=document.createElement("style");Ie.styleSheet?Ie.styleSheet.cssText=Ye:Ie.appendChild(document.createTextNode(Ye)),document.getElementsByTagName("head")[0].appendChild(Ie)}return be},bt=function(be,Ye,Ie,Ct){var qe=document.createElement("div");qe.className="ggb_preview",qe.style.position="absolute",qe.style.zIndex="90",qe.style.width=be-2+"px",qe.style.height=Ye-2+"px",qe.style.top="0px",qe.style.left="0px",qe.style.overflow="hidden",qe.style.backgroundColor="white";var wt="lightgrey";Ie!==void 0&&(Ie==="none"?wt="transparent":wt=Ie),qe.style.border="1px solid "+wt;var Pe=document.createElement("img");if(Pe.style.position="relative",Pe.style.zIndex="1000",Pe.style.top="-1px",Pe.style.left="-1px",Be!==null&&Pe.setAttribute("src",Be),Pe.style.opacity=.7,st!==null){var lt,pt,ae;if(!Ct){lt=document.createElement("img"),lt.style.position="absolute",lt.style.zIndex="1001",lt.style.opacity=1,Pe.style.opacity=.3,pt=360,pt>be/4*3&&(pt=be/4*3),ae=pt/5.8,lt.setAttribute("src",st),lt.setAttribute("width",pt),lt.setAttribute("height",ae);var ee=(be-pt)/2,z=(Ye-ae)/2;lt.style.left=ee+"px",lt.style.top=z+"px",qe.appendChild(lt)}}return qe.appendChild(Pe),qe},ut=function(be){return be=be.toLowerCase(),be==="html5"||be==="screenshot"?be:"html5"},pe=["web","webSimple","web3d","tablet","tablet3d","phone"],ce=function(be,Ye){if(We=be,Ye){ze(We,!0);return}var Ie=!$e;if(Ie){var Ct=Xe(We);!isNaN(Ct)&&Ct<4.4&&(Ie=!1)}var qe,wt;window.location.protocol.substr(0,4)==="http"?qe=window.location.protocol:qe="http:";var Pe=We.indexOf("//");Pe>0?wt=We:Pe===0?wt=qe+We:wt="https://www.geogebra.org/apps/5.2.814.0/";for(var lt in pe)if(We.slice(pe[lt].length*-1)===pe[lt]||We.slice((pe[lt].length+1)*-1)===pe[lt]+"/"){ze(wt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ie&&!ne.is3D&&!ne.AV&&!ne.SV&&!ne.CV&&!ne.EV2&&!ne.CP&&!ne.PC&&!ne.DA&&!ne.FI&&!ne.PV&&!Ee(de.showToolBar)&&!Ee(de.showMenuBar)&&!Ee(de.showAlgebraInput)&&!Ee(de.enableRightClick)&&(!de.appName||de.appName=="classic")?wt+="webSimple/":wt+="web3d/",ze(wt,!1)},ze=function(be,Ye){if(be.requirejs){Qe=be;return}be.slice(-1)!=="/"&&(be+="/"),Qe=be,Ye===null&&(Ye=be.indexOf("http")===-1),ve=Ye,De="web.nocache.js",Fe=!1;var Ie=Qe.split("/");Ie.length>1&&(!Ye&&Ie[Ie.length-2]==="webSimple"?(De="webSimple.nocache.js",Fe=!0):pe.indexOf(Ie[Ie.length-2])>=0&&(De=Ie[Ie.length-2]+".nocache.js")),Ie=be.split("/"),We=Ie[Ie.length-3],We.substr(0,4)==="test"?We=We.substr(4,1)+"."+We.substr(5,1):(We.substr(0,3)==="war"||We.substr(0,4)==="beta")&&(We="5.0");var Ct=parseFloat(We);Ct!==NaN&&Ct<5&&be.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Ct+" is deprecated. Using version latest instead."),ce("5.0",Ye))},dt=function(be,Ye){window.console&&window.console.log&&(!Ye||typeof Ye.showLogging=="undefined"||Ye.showLogging&&Ye.showLogging!=="false")&&console.log(be)};de.material_id!==void 0?Lt(ct):ct();function ct(){var be=zt;me!==null?be=me:parseFloat(be)<5&&(be="5.0"),ce(be,!1),Te!==null&&ze(Te,ve),ge=!0}return Tt},GGBAppletUtils=function(){"use strict";function Tt(){return window.GGBT_wsf_edit!==void 0}function zt(ge,me){me!=1?(ge.style.transformOrigin="0% 0% 0px",ge.style.webkitTransformOrigin="0% 0% 0px",ge.style.transform="scale("+me+","+me+")",ge.style.webkitTransform="scale("+me+","+me+")",ge.style.maxWidth="initial",ge.querySelector(".ggb_preview")!==null&&(ge.querySelector(".ggb_preview").style.maxWidth="initial"),ge.querySelectorAll(".ggb_preview img")[0]!==void 0&&(ge.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),ge.querySelectorAll(".ggb_preview img")[1]!==void 0&&(ge.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(ge.style.transform="none",ge.style.webkitTransform="none")}function de(ge,me,Te,Ce,we,he){var Qe=null;if(he!=null&&he!="")for(var ve=ge.parentNode;ve!=null;)if((" "+ve.className+" ").indexOf(" "+he+" ")>-1){Qe=ve;break}else ve=ve.parentNode;var ot=0,We=0,De=0,Fe=0,Be=0,st=0,ht=0;if(Qe)ot=Qe.offsetWidth,We=Math.max(Ce?Qe.offsetWidth:0,Qe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ot=Math.min(window.innerWidth,document.documentElement.clientWidth),We=Math.min(window.innerHeight,document.documentElement.clientHeight),De=ot):(ot=window.innerWidth,We=window.innerHeight,De=window.innerWidth),ge){var nt=ge.getBoundingClientRect();nt.left>0&&nt.left<=ot&&(we===void 0||!we)&&(document.dir==="rtl"?(Be=ot-nt.width-nt.left,st=De<=480?10:30):(st=nt.left,Be=De<=480?10:30),Fe=st+Be)}if(ge&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var Ge=ge.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Fe=40,ht=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Fe=0,ht=40)}}return ge&&((Te===void 0||!Te)&&me>0&&me+Fe<ot?ot=me:ot-=Fe,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Te===void 0||!Te)&&(We-=ht)),{width:ot,height:We}}function ne(ge,me,Te,Ce,we){if(ge.isScreenshoGenerator)return 1;var he=Ce!==void 0&&Ce,Qe=ge.noScaleMargin!=null&&ge.noScaleMargin,ve=function(Ge){return Ge&&Ge!=="false"},ot=ve(ge.autoHeight),We=de(me,ge.width,Te,ot,he&&window.GGBT_wsf_view||Qe,we),De=parseInt(We.width),Fe=ge.width,Be=ge.height;if(Fe===void 0){var st=me.querySelector(".appletParameters");st&&(Fe=st.offsetWidth,Be=st.offsetHeight)}var ht=De/Fe,nt=he?1:We.height/Be;return Te!==void 0&&!Te&&(ht=Math.min(1,ht),nt=Math.min(1,nt)),Math.min(ht,nt)}function $e(ge,me,Te){var Ce=1,we,he=!1;if(ge.hasOwnProperty("allowUpscale")&&(he=ge.allowUpscale),ge.hasOwnProperty("scale")&&(Ce=parseFloat(ge.scale),(isNaN(Ce)||Ce===null||Ce===0)&&(Ce=1),Ce>1&&(he=!0)),me&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(he=!0),!(ge.hasOwnProperty("disableAutoScale")&&ge.disableAutoScale))we=ne(ge,me,he,Te,ge.scaleContainerClass);else return Ce;return he&&(!ge.hasOwnProperty("scale")||Ce===1)?we:Math.min(Ce,we)}function Le(ge){var me=Math.min(window.innerWidth,document.documentElement.clientWidth),Te=Math.min(window.innerHeight,document.documentElement.clientHeight),Ce=ge.getBoundingClientRect(),we=(me-Ce.width)/2,he=(Te-Ce.height)/2;he<0&&(he=0),ge.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(we<40?ge.style.left="40px":ge.style.left=we+"px",ge.style.top=he+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(he<40?ge.style.top="40px":ge.style.top=he+"px",ge.style.left=we+"px")}function Re(ge,me){var Te=ge.querySelector(".appletParameters");if(Te){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(me.id!==Te.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(ge)}if(Te.parentElement&&/fullscreen/.test(Te.parentElement.className))return;var Ce=$e(me,ge);Tt()&&Te.setAttribute("data-param-scale",Ce);for(var we=null,he=0;he<ge.childNodes.length;he++)if(ge.childNodes[he].className!==void 0&&ge.childNodes[he].className.match(/^applet_scaler/)){we=ge.childNodes[he];break}if(we!==null&&we.querySelector(".noscale")!==null)return;var Qe=me.id!==void 0?me.id:"ggbApplet",ve=window[Qe];(ve==null||!ve.recalculateEnvironments)&&we!==null&&!we.className.match(/fullscreen/)&&(we.parentNode.style.transform="",!isNaN(Ce)&&Ce!==1?(we.parentNode.style.width=me.width*Ce+"px",we.parentNode.style.height=me.height*Ce+"px",zt(we,Ce)):(zt(we,1),we.parentNode.style.width=me.width+"px",we.parentNode.style.height=me.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Le(ge),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(Te).parents(".content-added-content"))}}return{responsiveResize:Re,isFlexibleWorksheetEditor:Tt,positionCenter:Le,getScale:$e,scaleElement:zt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(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 Tt=n.location.search;return Tt.indexOf(J)!=-1||Tt.indexOf(K)!=-1}function q(Tt,zt){}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||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(Tt){var zt=s[L].bindings;s[L].bindings=function(){for(var de=zt?zt():{},ne=Tt[webModule.__softPermutationId],$e=O;$e<ne.length;$e++){var Le=ne[$e];de[Le[O]]=Le[P]}return de}};var t;function u(){return v(),t}function v(){if(!t){var Tt=o.createElement(Q);if(Tt.id=L,Tt.style.cssText=R+S,Tt.tabIndex=-1,o.body.appendChild(Tt),t=Tt.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var zt=document.compatMode==U?V:W;t.write(zt+X),t.close()}}}function w(Tt){function zt(ne){function $e(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Le=$e();if(Le){ne();return}function Re(){if(!Le){if(!$e())return;Le=!0,ne(),o.removeEventListener&&o.removeEventListener(Z,Re,!1),ge&&clearInterval(ge)}}o.addEventListener&&o.addEventListener(Z,Re,!1);var ge=setInterval(function(){Re()},$)}function de(ne){var $e=u(),Le=$e.body,Re=$e.createElement(_);Re.language=ab,Re.crossOrigin=W,Re.src=ne,webModule.__errFn&&(Re.onerror=function(){webModule.__errFn(L,new Error(bb+ne))}),Le.appendChild(Re)}zt(function(){de(Tt)})}webModule.__startLoadingFragment=function(Tt){return C(Tt)},webModule.__installRunAsyncCode=function(Tt){var zt=u(),de=zt.body,ne=zt.createElement(_);ne.language=ab,ne.text=Tt,de.appendChild(ne),de.removeChild(ne)};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(Tt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Tt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Tt){var zt=c[Tt];return zt==null?null:zt},r=d,webModule.__errFn=e}function B(){function Tt(ge){var me=ge.lastIndexOf(rb);me==-1&&(me=ge.length);var Te=ge.indexOf(sb);Te==-1&&(Te=ge.length);var Ce=ge.lastIndexOf(tb,Math.min(Te,me));return Ce>=O?ge.substring(O,Ce+P):W}function zt(ge){if(!ge.match(/^\w+:\/\//)){var me=o.createElement(ub);me.src=ge+vb,ge=Tt(me.src)}return ge}function de(){var ge=__gwt_getMetaProperty(wb);return ge!=null?ge:W}function ne(){for(var ge=o.getElementsByTagName(_),me=O;me<ge.length;++me)if(ge[me].src.indexOf(xb)!=-1)return Tt(ge[me].src);return W}function $e(){var ge=o.getElementsByTagName(yb);return ge.length>O?ge[ge.length-P].href:W}function Le(){var ge=o.location;return ge.href==ge.protocol+zb+ge.host+ge.pathname+ge.search+ge.hash}var Re=de();return Re==W&&(Re=ne()),Re==W&&(Re=$e()),Re==W&&Le()&&(Re=Tt(o.location.href)),Re=zt(Re),Re}function C(Tt){return Tt.match(/^\//)||Tt.match(/^[a-zA-Z]+:\/\//)?Tt:webModule.__moduleBase+Tt}function D(){var Tt=[],zt=O,de=[],ne=[];function $e(ge){var me=ne[ge](),Te=de[ge];if(me in Te)return me;var Ce=[];for(var we in Te)Ce[Te[we]]=we;throw r&&r(ge,Ce,me),null}if(__gwt_isKnownPropertyValue=function(ge,me){return me in de[ge]},webModule.__getPropMap=function(){var ge={};for(var me in de)de.hasOwnProperty(me)&&(ge[me]=$e(me));return ge},webModule.__computePropValue=$e,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Le;try{Le=Cb;var Re=Le.indexOf(Db);Re!=-1&&(zt=parseInt(Le.substring(Re+P),$),Le=Le.substring(O,Re))}catch(ge){}return webModule.__softPermutationId=zt,C(Le+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},67303:function(Tt,zt,de){"use strict";de.d(zt,{Ax:function(){return Re},Ds:function(){return ge},KI:function(){return Te},SI:function(){return Le},f1:function(){return $e}});var ne=de(90524);function $e(Ce){let we=!0;if(Ce.length>0){for(let he=0;he<Ce.length;he++)if(Ce[he].compile_success==0||!Ce[he].compile_success){we=!1;break}}else we=!1;return we}function Le(Ce,we=""){let he=[];for(let Qe=0;Qe<Ce.length;Qe++){let ve=Ce[Qe],ot=we?`${we}/${ve.name}`:`${ve.name}`;he.push({title:ve.name,type:ve.type,isLeaf:ve.type!=="tree",key:ot})}return he}function Re(Ce,we,he){for(let Qe=0;Qe<Ce.length;Qe++){let ve=Ce[Qe];if(ve.key===we){ve.children=he;break}ve.children&&Re(ve.children,we,he)}return Ce}function ge(Ce,we,he){let Qe;return function(){let ve=this,ot=arguments,We=function(){Qe=null,he||Ce.apply(ve,ot)},De=he&&!Qe;clearTimeout(Qe),Qe=setTimeout(We,we),De&&Ce.apply(ve,ot)}}const me=!0,Te=ne.Z.API_SERVER},6077:function(Tt,zt,de){"use strict";de.d(zt,{Z:function(){return Qe}});var ne=de(59301),$e={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Le=de(92310),Re=de.n(Le),ge=de(29787),me=de(2859),Te=de(82093),Ce=de(49661),we=(ve,ot,We)=>new Promise((De,Fe)=>{var Be=nt=>{try{ht(We.next(nt))}catch(Ge){Fe(Ge)}},st=nt=>{try{ht(We.throw(nt))}catch(Ge){Fe(Ge)}},ht=nt=>nt.done?De(nt.value):Promise.resolve(nt.value).then(Be,st);ht((We=We.apply(ve,ot)).next())}),Qe=({data:ve,className:ot,fullWidth:We,style:De={},onClose:Fe,onOk:Be,showFullTools:st,noAssociationId:ht})=>{const nt=(0,ne.useRef)(null),Ge=(0,ne.useRef)(null),Xe=(0,ne.useRef)(null),Je=(0,ne.useRef)(null),[Ke,Lt]=(0,ne.useState)(!1),[Ue,Ne]=(0,ne.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ne.useEffect)(()=>(Xe.current||(Xe.current=document.createElement("style"),document.head.appendChild(Xe.current)),ve!=null&&ve.visible?(document.body.setAttribute("data-custom","y-hidden"),Xe.current.innerHTML=" html { overflow-y: hidden; }",ve!=null&&ve.src&&et()):(document.body.removeAttribute("data-custom"),Xe.current&&(document.head.removeChild(Xe.current),Xe.current=null)),()=>{document.body.removeAttribute("data-custom"),Xe.current&&(document.head.removeChild(Xe.current),Xe.current=null)}),[ve==null?void 0:ve.visible]);const et=()=>we(void 0,null,function*(){Lt(!0),Ne("\u6B63\u5728\u52A0\u8F7D\u4E2D");const He=yield(0,Ce.ZJ)(ve==null?void 0:ve.src);nt.current.src="",nt.current.src=He,nt.current.onload=function(){Se()},Lt(!1),Ne("")}),Ee=He=>we(void 0,null,function*(){Lt(!0),Ne("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Pt=yield(0,Te.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ve.title,file:He.dataUrl}});Pt!=null&&Pt.id&&!ht?(yield(0,Te.ZP)(`/api/attachments/${ve.id}/add_subitem.json`,{method:"post",body:{subitem_id:Pt==null?void 0:Pt.id,settings:JSON.stringify(He.state)}})).status===0&&Be():Pt!=null&&Pt.id&&Be(Pt),Lt(!1),Ne("")}),Ve=()=>{const He=document.querySelector('a[href="https://markerjs.com/"]');He&&He.parentNode&&(He.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(gt=>{const bt=document.querySelector(gt.name);bt&&bt.setAttribute("title",gt.title)})},Se=()=>{Ge.current=new me.hP(nt.current),Ge.current.targetRoot=Je.current,Ge.current.addEventListener("render",Ee),Ge.current.addEventListener("beforeclose",Fe),st&&(Ge.current.availableMarkerTypes=Ge.current.ALL_MARKER_TYPES,Ge.current.uiStyleSettings.redoButtonVisible=!0,Ge.current.uiStyleSettings.notesButtonVisible=!0,Ge.current.uiStyleSettings.zoomButtonVisible=!0,Ge.current.uiStyleSettings.zoomOutButtonVisible=!0,Ge.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=Ge.current.uiStyleSettings,Ge.current.show(),ve!=null&&ve.snapshotData&&Ge.current.restoreState(ve.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ve()},300)};return ne.createElement(ne.Fragment,null,(ve==null?void 0:ve.visible)&&ne.createElement(ge.Z,{spinning:Ke,tip:Ue,style:{position:"absolute",width:"100vw"}},ne.createElement("div",{ref:Je,className:Re()($e.imageDimensions,ot,We?$e.fullWidth:""),style:De},ne.createElement("img",{className:$e.img,ref:nt}))))}},88615:function(Tt,zt,de){"use strict";var ne=de(59301),$e=de(77019),Le=de(5269),Re=de(20554),ge=de(99571),me=de(38394),Te=de(21697),Ce=de(48136),we=de(59301);const he=(0,ne.forwardRef)(({callback:Qe,showSaveButton:ve,value:ot=""},We)=>{const De=(0,ne.useRef)(),Fe=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],Be=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
|
|
x=a + r\\text{cos}\\theta \\ \r
|
|
y=b + r\\text{sin}\\theta \r
|
|
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
|
|
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
|
|
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
\\left\\{\\begin{matrix} \r
|
|
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
|
|
\\end{matrix}\\right. \r
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
|
|
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
|
|
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
|
|
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
|
|
a \\perp \\alpha \\ \r
|
|
b \\perp \\alpha \r
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
|
|
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
|
|
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
|
|
a \\parallel \\partial ,b \\parallel \\partial \r
|
|
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
|
|
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
|
|
a \\perp m,a \\perp n \r
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
|
|
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
|
|
a^{2}+b^{2}=c^{2} \r
|
|
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
|
|
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
|
|
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
|
|
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
|
|
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
|
|
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
|
|
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
|
|
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
|
|
a,b \\in R^{+} \\ \r
|
|
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
a,b \\in R \\ \r
|
|
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
|
|
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
|
|
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
|
|
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
|
|
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
|
|
P \\left( \\emptyset \\right) =0 \\\\ \r
|
|
P \\left( S \\right) =1 \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
\\forall A \\in S \\\\ \r
|
|
P \\left( A \\right) \\ge 0 \r
|
|
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
|
|
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
|
|
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
P_{n}=n! \\\\ \r
|
|
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
|
|
\\end{array}`}]}]}],st=Ge=>{De.current.setValue(De.current.getValue()+" "+Ge.value+" ")},ht=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:we.createElement($e.Z,{className:Te.Z.lists,gutter:[10,10]},Fe.map((Ge,Xe)=>we.createElement(Le.Z,{flex:"110px",className:Te.Z.item},we.createElement("div",null,we.createElement(me.Z,{value:`$$${Ge.value}$$`}),Ge.name),we.createElement("div",{className:Te.Z.children},Ge.children.map((Je,Ke)=>we.createElement("div",{key:Ke},we.createElement("h1",null,Je.name),we.createElement($e.Z,{gutter:[10,10]},Je.data.map((Lt,Ue)=>we.createElement(Le.Z,{key:Ue,onClick:()=>st(Lt),className:Te.Z.diamond},we.createElement(me.Z,{value:"`$$"+Lt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:we.createElement($e.Z,{className:Te.Z.lists,gutter:[10,10]},Be.map((Ge,Xe)=>we.createElement(Le.Z,{flex:"110px",className:Te.Z.item},we.createElement("div",null,we.createElement(me.Z,{value:"`$$"+Ge.value+"$$`"}),Ge.name),we.createElement("div",{className:Te.Z.children},Ge.children.map((Je,Ke)=>we.createElement("div",{key:Ke},Je.name&&we.createElement("h1",null,Je.name),we.createElement($e.Z,{gutter:[10,10]},Je.data.map((Lt,Ue)=>we.createElement(Le.Z,{key:Ue,onClick:()=>st(Lt),className:Te.Z.diamond},we.createElement(me.Z,{value:"`$$"+Lt.value+"$$`"}))))))))))}],nt=()=>{var Ge=document.createElement("div");Ge.innerHTML=De.current.getValue();var Xe=Ge.innerText;return Qe&&Qe(Xe),Xe};return(0,ne.useImperativeHandle)(We,()=>({getData:nt})),we.createElement("div",{className:Te.Z.mathWrap},we.createElement(Re.default,{defaultActiveKey:"1",items:ht}),we.createElement("math-field",{locale:"zh_cn",className:Te.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:De,style:{width:800,marginTop:30,fontSize:18}},ot||""),ve&&we.createElement("div",{className:Te.Z.button},we.createElement(ge.ZP,{size:"large",onClick:nt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});zt.Z=he},57884:function(Tt,zt,de){"use strict";var ne=de(59301),$e=de(93314),Le=de(99571),Re=Object.defineProperty,ge=Object.defineProperties,me=Object.getOwnPropertyDescriptors,Te=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,he=(We,De,Fe)=>De in We?Re(We,De,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):We[De]=Fe,Qe=(We,De)=>{for(var Fe in De||(De={}))Ce.call(De,Fe)&&he(We,Fe,De[Fe]);if(Te)for(var Fe of Te(De))we.call(De,Fe)&&he(We,Fe,De[Fe]);return We},ve=(We,De)=>ge(We,me(De));const ot=({img:We,buttonProps:De={},styles:Fe={},customText:Be,ButtonText:st,ButtonClick:ht,Buttonclass:nt,ButtonTwo:Ge,imgStyles:Xe,loading:Je=!1,className:Ke=""})=>ne.createElement("section",{className:`tc animated fadeIn ${Ke}`,style:Qe({color:"#999",margin:"100px auto",visibility:Je?"hidden":"visible"},Fe)},ne.createElement("img",{src:We||$e,style:ve(Qe({},Xe),{pointerEvents:"none",userSelect:"none"})}),ne.createElement("p",{className:"mt20 font14"},Be||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),st&&ne.createElement(Le.ZP,Qe({className:nt,onClick:ht},De),st),Ge&&Ge);zt.Z=ot},41550:function(Tt,zt,de){"use strict";de.d(zt,{Z:function(){return nt}});var ne=de(59301),$e={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},Le=de(99571),Re=de(70557),ge=de(51124),me=de(25399),Te=de(49661),Ce=de(72664),we=de(57884),he=de(90524),Qe=de(14794),ve=de(59301),ot=Object.defineProperty,We=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,Be=(Ge,Xe,Je)=>Xe in Ge?ot(Ge,Xe,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Ge[Xe]=Je,st=(Ge,Xe)=>{for(var Je in Xe||(Xe={}))De.call(Xe,Je)&&Be(Ge,Je,Xe[Je]);if(We)for(var Je of We(Xe))Fe.call(Xe,Je)&&Be(Ge,Je,Xe[Je]);return Ge},ht=(Ge,Xe,Je)=>new Promise((Ke,Lt)=>{var Ue=Ee=>{try{et(Je.next(Ee))}catch(Ve){Lt(Ve)}},Ne=Ee=>{try{et(Je.throw(Ee))}catch(Ve){Lt(Ve)}},et=Ee=>Ee.done?Ke(Ee.value):Promise.resolve(Ee.value).then(Ue,Ne);et((Je=Je.apply(Ge,Xe)).next())}),nt=({editOffice:Ge="view",data:Xe,issaver:Je,onSaver:Ke,theme:Lt,type:Ue,filename:Ne,monacoEditor:et,className:Ee,style:Ve,close:Se,onClose:He,hasMask:Pt,disabledDownload:gt,onImgDimensions:bt,showNodata:ut,recordInfo:pe})=>{const[ce,ze]=(0,ne.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[dt,ct]=(0,ne.useState)(""),[be,Ye]=(0,ne.useState)(),Ie=window.ENV==="build"?"/react/build":"",Ct=location.host.startsWith("localhost")?he.Z.PROXY_SERVER:he.Z.API_SERVER,wt=10*(1024*1024),Pe=(0,ne.useRef)();Xe!=null&&Xe.startsWith("/api")&&Ue!=="txt"&&(Xe=he.Z.API_SERVER+Xe);const lt=ie=>ie.substring(ie.lastIndexOf("/")+1).split(".").pop();Ne&&et&&(et.filename=Ne),(0,ne.useEffect)(()=>{var ie,le;const re=(le=(ie=document.cookie)==null?void 0:ie.replace(/\s/g,""))==null?void 0:le.split(";");re==null||re.map(ye=>{let Oe=ye.split("=");Oe[0]==="_educoder_session"&&ct(Oe[1])})},[]),(0,ne.useEffect)(()=>{Ue==="office"&&(Xe.indexOf("bigfilescdn.")>-1||Xe.indexOf("bigfiles1")>-1?Ye({url:Xe,fileType:lt(Xe),model:Xe.indexOf("model=edit")?"edit":"view"}):ae())},[Ue,Xe]);function pt(ie){return ht(this,null,function*(){ie.data.type==="pdfdata"&&(Ke(ie.data.data),window.removeEventListener("message",pt,!1)),console.log("mess---:",ie.data)})}const ae=()=>ht(void 0,null,function*(){console.log("data:",Xe);let ie=Xe;Xe.startsWith("http")||(ie=location.origin+ie);let le=new URL(ie).pathname.split("/").pop();const re=yield(0,Ce.gJ)({attachment_id:le});re.url=Ct+re.url,Ye(re)}),ee=()=>{if(Xe.startsWith("http")||Xe.startsWith("blob:")){z();return}(0,Te.Sv)(Ne||"educoder",Xe,Ne)},z=()=>{pe&&(0,Qe.fc)({id:pe==null?void 0:pe.id,watch_type:1,course_id:pe==null?void 0:pe.course_id}),(0,Te.Nd)(Ne||"educoder",decodeURIComponent(Xe))};return ve.createElement("div",{style:st({},Ve||{}),className:`${Pt&&$e.bgBlack} ${Ue?$e.wrp:"hide"}`},Se&&ve.createElement("div",{className:$e.close,ref:Pe},!!bt&&ve.createElement(me.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Pe.current},ve.createElement("span",{onClick:()=>{He(),bt()}},ve.createElement("i",{className:"icon-yulanpizhu"}))),!gt&&ve.createElement(me.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Pe.current},ve.createElement("span",{onClick:z},ve.createElement("i",{className:"icon-quxiaozhiding"}))),Je&&ve.createElement(me.Z,{title:"\u4FDD\u5B58pdf\u5E76\u9000\u51FA",getPopupContainer:()=>Pe.current},ve.createElement("span",{className:"",onClick:()=>{const ie=document.getElementById("pdfiframe");window.addEventListener("message",pt,!1),setTimeout(()=>{ie.contentWindow.postMessage("getData","*")},300)}},ve.createElement("i",{className:"icon-baocun"}))),ve.createElement(me.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Pe.current},ve.createElement("span",{className:"",onClick:()=>{He()}},ve.createElement("i",{className:"icon-guanbi1"})))),ve.createElement("div",{className:`${$e[Ee]} ${Ee} ${$e.monaco} ${Ue==="txt"?"show":"hide"}`},Ue==="txt"&&ve.createElement(ve.Fragment,null,ve.createElement(ge.ZP,st({},et)))),Ue==="audio"&&ve.createElement("audio",{src:`${(Xe==null?void 0:Xe.indexOf("http://"))>-1||(Xe==null?void 0:Xe.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Xe}`,autoPlay:!0}),Ue==="video"&&ve.createElement(ve.Fragment,null,(Xe==null?void 0:Xe.indexOf("http"))>-1?ve.createElement("video",{controls:!0,src:`${Xe}`,autoPlay:!0}):ve.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Xe}`,autoPlay:!0})),Ue==="office"&&be&&ve.createElement("iframe",{src:`${Ie}/office.html?key=${be.key}&url=${btoa(be.url)}&callbackUrl=${Ct+(be.callbackUrl||"")}&fileType=${be.fileType}&title=${be.title||""}&model=${Ge}&officeServer=${he.Z.ONLYOFFICE}&disabledDownload=${!!gt}`}),Ue==="html"&&ve.createElement("iframe",{src:Xe+"&disposition=inline"}),Ue==="pdf"&&ve.createElement("iframe",{id:"pdfiframe",src:`${Ie}/js/pdfview/index.html?filename=${Ne||"educoder.pdf"}&url=${encodeURIComponent(Xe)}&disabledDownload=${!!gt}&model=${Ge}`}),Ue==="image"&&ve.createElement("img",{src:`${(Xe==null?void 0:Xe.indexOf("http://"))>-1||(Xe==null?void 0:Xe.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Xe}`}),(Ue==="other"||Ue==="download")&&ve.createElement(ve.Fragment,null,ut?ve.createElement(we.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:ve.createElement(Le.ZP,{icon:ve.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:ee,disabled:gt},"\u4E0B\u8F7D")}):ve.createElement(Le.ZP,{type:"primary",size:"middle",onClick:ee,disabled:gt},ve.createElement(Re.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")),Ue==="flowChart"&&ve.createElement("div",{className:"embed"},ve.createElement("iframe",{src:`/drawio/src/main/webapp/viewer.html?id=${Xe||""}&gapi=0&od=0&db=0&gh=0&gl=0`,width:"100%",height:"100%",frameBorder:"0"})))}},38394:function(Tt,zt,de){"use strict";de.d(zt,{z:function(){return et},Z:function(){return Ee}});var ne=de(59301),$e=de(88831),Le=de(90290),Re=de(64018),ge=de(68535),me=de(90524),Te=de(49661),Ce=de(15342),we=de(77736),he=de(99571),Qe=de(1012),ve=de(41550),ot=de(59301),De=({html:Ve})=>{const Se=(0,ne.useRef)(null),He=(0,ne.useRef)(null),Pt=`.markdown-body p {
|
|
margin: 0 0 16px 0 !important;
|
|
line-height: 28px;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
ol,
|
|
ul,
|
|
li {
|
|
list-style-type: none
|
|
}
|
|
|
|
ol,
|
|
ul,
|
|
dl {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.markdown-body {
|
|
-ms-text-size-adjust: 100%;
|
|
-webkit-text-size-adjust: 100%;
|
|
color: #333;
|
|
overflow: hidden;
|
|
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
|
|
word-break: break-word;
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
white-space: normal;
|
|
word-wrap: break-word;
|
|
position: relative;
|
|
}
|
|
|
|
.markdown-body ul>li {
|
|
list-style-type: disc;
|
|
}
|
|
|
|
.markdown-body ol>li {
|
|
list-style-type: decimal;
|
|
}
|
|
|
|
.markdown-body a {
|
|
background: transparent;
|
|
}
|
|
|
|
.markdown-body a:active,
|
|
.markdown-body a:hover {
|
|
outline: 0;
|
|
}
|
|
|
|
.markdown-body strong {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body h1 {
|
|
font-size: 2em;
|
|
margin: 0.67em 0;
|
|
}
|
|
|
|
.markdown-body img {
|
|
border: 0;
|
|
}
|
|
|
|
.markdown-body hr {
|
|
-moz-box-sizing: content-box;
|
|
box-sizing: content-box;
|
|
height: 0;
|
|
}
|
|
|
|
.markdown-body pre {
|
|
overflow: auto;
|
|
}
|
|
|
|
.markdown-body code,
|
|
.markdown-body kbd,
|
|
.markdown-body pre {
|
|
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.markdown-body input {
|
|
color: inherit;
|
|
font: inherit;
|
|
margin: 0;
|
|
}
|
|
|
|
.markdown-body html input[disabled] {
|
|
cursor: default;
|
|
}
|
|
|
|
.markdown-body input {
|
|
line-height: normal;
|
|
}
|
|
|
|
.markdown-body input[type="checkbox"] {
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
}
|
|
|
|
.markdown-body table {
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
.markdown-body td,
|
|
.markdown-body th {
|
|
padding: 0;
|
|
}
|
|
|
|
.markdown-body * {
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.markdown-body input {
|
|
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
|
}
|
|
|
|
.markdown-body a {
|
|
color: #4183c4;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.markdown-body a:hover,
|
|
.markdown-body a:active {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.markdown-body hr {
|
|
height: 0;
|
|
margin: 15px 0;
|
|
overflow: hidden;
|
|
background: transparent;
|
|
border: 0;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
.markdown-body hr:before {
|
|
display: table;
|
|
content: "";
|
|
}
|
|
|
|
.markdown-body hr:after {
|
|
display: table;
|
|
clear: both;
|
|
content: "";
|
|
}
|
|
|
|
.markdown-body h1,
|
|
.markdown-body h2,
|
|
.markdown-body h3,
|
|
.markdown-body h4,
|
|
.markdown-body h5,
|
|
.markdown-body h6 {
|
|
margin-top: 15px;
|
|
margin-bottom: 15px;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.markdown-body h1 {
|
|
font-size: 30px;
|
|
}
|
|
|
|
.markdown-body h2 {
|
|
font-size: 21px;
|
|
}
|
|
|
|
.markdown-body h3 {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.markdown-body h4 {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.markdown-body h5 {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.markdown-body h6 {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.markdown-body blockquote {
|
|
margin: 0;
|
|
}
|
|
|
|
.markdown-body ul,
|
|
.markdown-body ol {
|
|
padding: 0;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
ul.linenums,
|
|
ol.linenums {
|
|
padding: 16px 0 0 56px !important;
|
|
}
|
|
|
|
.markdown-body ul,
|
|
.markdown-body ol {
|
|
padding-left: 2em;
|
|
}
|
|
|
|
|
|
.markdown-body ol ol,
|
|
.markdown-body ul ol {
|
|
list-style-type: lower-roman;
|
|
}
|
|
|
|
.markdown-body ul ul ol,
|
|
.markdown-body ul ol ol,
|
|
.markdown-body ol ul ol,
|
|
.markdown-body ol ol ol {
|
|
list-style-type: lower-alpha;
|
|
}
|
|
|
|
.markdown-body dd {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.markdown-body code {
|
|
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.markdown-body pre {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
}
|
|
|
|
.markdown-body .octicon {
|
|
font: normal normal 16px octicons-anchor;
|
|
line-height: 1;
|
|
display: inline-block;
|
|
text-decoration: none;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.markdown-body .octicon-link:before {
|
|
content: '\f05c';
|
|
}
|
|
|
|
.markdown-body>*:first-child {
|
|
margin-top: 0 !important;
|
|
}
|
|
|
|
.markdown-body>*:last-child {
|
|
margin-bottom: 0 !important;
|
|
}
|
|
|
|
.markdown-body .anchor {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
display: block;
|
|
padding-right: 6px;
|
|
padding-left: 30px;
|
|
margin-left: -30px;
|
|
}
|
|
|
|
.markdown-body .anchor:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.markdown-body h1,
|
|
.markdown-body h2,
|
|
.markdown-body h3,
|
|
.markdown-body h4,
|
|
.markdown-body h5,
|
|
.markdown-body h6 {
|
|
position: relative;
|
|
margin-top: 1em;
|
|
margin-bottom: 16px;
|
|
font-weight: bold;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.markdown-body h1 .octicon-link,
|
|
.markdown-body h2 .octicon-link,
|
|
.markdown-body h3 .octicon-link,
|
|
.markdown-body h4 .octicon-link,
|
|
.markdown-body h5 .octicon-link,
|
|
.markdown-body h6 .octicon-link {
|
|
display: none;
|
|
color: #000;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.markdown-body h1:hover .anchor,
|
|
.markdown-body h2:hover .anchor,
|
|
.markdown-body h3:hover .anchor,
|
|
.markdown-body h4:hover .anchor,
|
|
.markdown-body h5:hover .anchor,
|
|
.markdown-body h6:hover .anchor {
|
|
padding-left: 8px;
|
|
margin-left: -30px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.markdown-body h1:hover .anchor .octicon-link,
|
|
.markdown-body h2:hover .anchor .octicon-link,
|
|
.markdown-body h3:hover .anchor .octicon-link,
|
|
.markdown-body h4:hover .anchor .octicon-link,
|
|
.markdown-body h5:hover .anchor .octicon-link,
|
|
.markdown-body h6:hover .anchor .octicon-link {
|
|
display: inline-block;
|
|
}
|
|
|
|
.markdown-body h1 {
|
|
padding-bottom: 0.3em;
|
|
font-size: 2.25em;
|
|
line-height: 1.2;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.markdown-body h1 .anchor {
|
|
line-height: 1;
|
|
}
|
|
|
|
.markdown-body h2 {
|
|
padding-bottom: 0.3em;
|
|
font-size: 1.75em;
|
|
line-height: 1.225;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
.markdown-body h2 .anchor {
|
|
line-height: 1;
|
|
}
|
|
|
|
.markdown-body h3 {
|
|
font-size: 1.5em;
|
|
line-height: 1.43;
|
|
}
|
|
|
|
.markdown-body h3 .anchor {
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.markdown-body h4 {
|
|
font-size: 1.25em;
|
|
}
|
|
|
|
.markdown-body h4 .anchor {
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.markdown-body h5 {
|
|
font-size: 1em;
|
|
}
|
|
|
|
.markdown-body h5 .anchor {
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.markdown-body h6 {
|
|
font-size: 1em;
|
|
color: #777;
|
|
}
|
|
|
|
.markdown-body h6 .anchor {
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.markdown-body p,
|
|
.markdown-body blockquote,
|
|
.markdown-body ul,
|
|
.markdown-body ol,
|
|
.markdown-body dl,
|
|
.markdown-body table,
|
|
.markdown-body pre {
|
|
margin-top: 0;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.markdown-body ul ul,
|
|
.markdown-body ul ol,
|
|
.markdown-body ol ol,
|
|
.markdown-body ol ul {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.markdown-body li>p {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.markdown-body dl {
|
|
padding: 0;
|
|
}
|
|
|
|
.markdown-body dl dt {
|
|
padding: 0;
|
|
margin-top: 16px;
|
|
font-size: 1em;
|
|
font-style: italic;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body dl dd {
|
|
padding: 0 16px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.markdown-body blockquote {
|
|
padding: 0 15px;
|
|
color: #777;
|
|
border-left: 4px solid #ddd;
|
|
}
|
|
|
|
.markdown-body blockquote> :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.markdown-body blockquote> :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.markdown-body table {
|
|
display: block;
|
|
width: 100%;
|
|
overflow: auto;
|
|
word-break: normal;
|
|
word-break: keep-all;
|
|
}
|
|
|
|
.markdown-body table th {
|
|
font-weight: bold;
|
|
text-align: revert;
|
|
}
|
|
|
|
.markdown-body table th,
|
|
.markdown-body table td {
|
|
padding: 6px 13px;
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
.markdown-body table tr {
|
|
background-color: #fff;
|
|
border-top: 1px solid #ccc;
|
|
}
|
|
|
|
.markdown-body table tr:nth-child(2n) {
|
|
background-color: #f8f8f8;
|
|
}
|
|
|
|
.markdown-body img {
|
|
max-width: 100%;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.markdown-body code {
|
|
padding: 0;
|
|
padding-top: 0.2em;
|
|
padding-bottom: 0.2em;
|
|
margin: 0;
|
|
font-size: 85%;
|
|
background-color: rgba(0, 0, 0, 0.04);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.markdown-body code:has(.katex) {
|
|
background-color: transparent;
|
|
}
|
|
|
|
.markdown-body code:before,
|
|
.markdown-body code:after {
|
|
letter-spacing: -0.2em;
|
|
content: "\\00a0";
|
|
}
|
|
|
|
.markdown-body pre>code {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-size: 100%;
|
|
word-break: normal;
|
|
white-space: pre;
|
|
background: transparent;
|
|
border: 0;
|
|
}
|
|
|
|
.markdown-body .highlight {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.markdown-body .highlight pre,
|
|
.markdown-body pre {
|
|
padding: 16px;
|
|
overflow: auto;
|
|
font-size: 85%;
|
|
line-height: 1.45;
|
|
background-color: #f7f7f7;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.markdown-body .highlight pre {
|
|
margin-bottom: 0;
|
|
word-break: normal;
|
|
}
|
|
|
|
.markdown-body pre {
|
|
word-wrap: normal;
|
|
}
|
|
|
|
.markdown-body pre code {
|
|
display: inline;
|
|
max-width: initial;
|
|
padding: 0;
|
|
margin: 0;
|
|
overflow: initial;
|
|
line-height: inherit;
|
|
word-wrap: normal;
|
|
background-color: transparent;
|
|
border: 0;
|
|
}
|
|
|
|
.markdown-body pre code:before,
|
|
.markdown-body pre code:after {
|
|
content: normal;
|
|
}
|
|
|
|
.markdown-body kbd {
|
|
display: inline-block;
|
|
padding: 3px 5px;
|
|
font-size: 11px;
|
|
line-height: 10px;
|
|
color: #555;
|
|
vertical-align: middle;
|
|
background-color: #fcfcfc;
|
|
border: solid 1px #ccc;
|
|
border-bottom-color: #bbb;
|
|
border-radius: 3px;
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
}
|
|
|
|
.markdown-body .pl-c {
|
|
color: #969896;
|
|
}
|
|
|
|
.markdown-body .pl-c1,
|
|
.markdown-body .pl-mdh,
|
|
.markdown-body .pl-mm,
|
|
.markdown-body .pl-mp,
|
|
.markdown-body .pl-mr,
|
|
.markdown-body .pl-s1 .pl-v,
|
|
.markdown-body .pl-s3,
|
|
.markdown-body .pl-sc,
|
|
.markdown-body .pl-sv {
|
|
color: #0086b3;
|
|
}
|
|
|
|
.markdown-body .pl-e,
|
|
.markdown-body .pl-en {
|
|
color: #795da3;
|
|
}
|
|
|
|
.markdown-body .pl-s1 .pl-s2,
|
|
.markdown-body .pl-smi,
|
|
.markdown-body .pl-smp,
|
|
.markdown-body .pl-stj,
|
|
.markdown-body .pl-vo,
|
|
.markdown-body .pl-vpf {
|
|
color: #333;
|
|
}
|
|
|
|
.markdown-body .pl-ent {
|
|
color: #63a35c;
|
|
}
|
|
|
|
.markdown-body .pl-k,
|
|
.markdown-body .pl-s,
|
|
.markdown-body .pl-st {
|
|
color: #a71d5d;
|
|
}
|
|
|
|
.markdown-body .pl-pds,
|
|
.markdown-body .pl-s1,
|
|
.markdown-body .pl-s1 .pl-pse .pl-s2,
|
|
.markdown-body .pl-sr,
|
|
.markdown-body .pl-sr .pl-cce,
|
|
.markdown-body .pl-sr .pl-sra,
|
|
.markdown-body .pl-sr .pl-sre,
|
|
.markdown-body .pl-src {
|
|
color: #df5000;
|
|
}
|
|
|
|
.markdown-body .pl-mo,
|
|
.markdown-body .pl-v {
|
|
color: #1d3e81;
|
|
}
|
|
|
|
.markdown-body .pl-id {
|
|
color: #b52a1d;
|
|
}
|
|
|
|
.markdown-body .pl-ii {
|
|
background-color: #b52a1d;
|
|
color: #f8f8f8;
|
|
}
|
|
|
|
.markdown-body .pl-sr .pl-cce {
|
|
color: #63a35c;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body .pl-ml {
|
|
color: #693a17;
|
|
}
|
|
|
|
.markdown-body .pl-mh,
|
|
.markdown-body .pl-mh .pl-en,
|
|
.markdown-body .pl-ms {
|
|
color: #1d3e81;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body .pl-mq {
|
|
color: #008080;
|
|
}
|
|
|
|
.markdown-body .pl-mi {
|
|
color: #333;
|
|
font-style: italic;
|
|
}
|
|
|
|
.markdown-body .pl-mb {
|
|
color: #333;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body .pl-md,
|
|
.markdown-body .pl-mdhf {
|
|
background-color: #ffecec;
|
|
color: #bd2c00;
|
|
}
|
|
|
|
.markdown-body .pl-mdht,
|
|
.markdown-body .pl-mi1 {
|
|
background-color: #eaffea;
|
|
color: #55a532;
|
|
}
|
|
|
|
.markdown-body .pl-mdr {
|
|
color: #795da3;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.markdown-body kbd {
|
|
display: inline-block;
|
|
padding: 3px 5px;
|
|
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
line-height: 10px;
|
|
color: #555;
|
|
vertical-align: middle;
|
|
background-color: #fcfcfc;
|
|
border: solid 1px #ccc;
|
|
border-bottom-color: #bbb;
|
|
border-radius: 3px;
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
}
|
|
|
|
.markdown-body .task-list-item {
|
|
list-style-type: none;
|
|
}
|
|
|
|
.markdown-body .task-list-item+.task-list-item {
|
|
margin-top: 3px;
|
|
}
|
|
|
|
.markdown-body .task-list-item input {
|
|
float: left;
|
|
margin: 0.3em 0 0.25em -1.6em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.markdown-body :checked+.radio-label {
|
|
z-index: 1;
|
|
position: relative;
|
|
border-color: #4183c4;
|
|
}
|
|
|
|
|
|
/*! Pretty printing styles. Used with prettify.js. */
|
|
/* SPAN elements with the classes below are added by prettyprint. */
|
|
.pln {
|
|
color: #000
|
|
}
|
|
|
|
/* plain text */
|
|
|
|
@media screen {
|
|
.str {
|
|
color: #080
|
|
}
|
|
|
|
/* string content */
|
|
.kwd {
|
|
color: #008
|
|
}
|
|
|
|
/* a keyword */
|
|
.com {
|
|
color: #800
|
|
}
|
|
|
|
/* a comment */
|
|
.typ {
|
|
color: #606
|
|
}
|
|
|
|
/* a type name */
|
|
.lit {
|
|
color: #066
|
|
}
|
|
|
|
/* a literal value */
|
|
/* punctuation, lisp open bracket, lisp close bracket */
|
|
.pun,
|
|
.opn,
|
|
.clo {
|
|
color: #660
|
|
}
|
|
|
|
.tag {
|
|
color: #008
|
|
}
|
|
|
|
/* a markup tag name */
|
|
.atn {
|
|
color: #606
|
|
}
|
|
|
|
/* a markup attribute name */
|
|
.atv {
|
|
color: #080
|
|
}
|
|
|
|
/* a markup attribute value */
|
|
.dec,
|
|
.var {
|
|
color: #606
|
|
}
|
|
|
|
/* a declaration; a variable name */
|
|
.fun {
|
|
color: red
|
|
}
|
|
|
|
/* a function name */
|
|
}
|
|
|
|
/* Use higher contrast and text-weight for printable form. */
|
|
@media print,
|
|
projection {
|
|
.str {
|
|
color: #060
|
|
}
|
|
|
|
.kwd {
|
|
color: #006;
|
|
font-weight: bold
|
|
}
|
|
|
|
.com {
|
|
color: #600;
|
|
font-style: italic
|
|
}
|
|
|
|
.typ {
|
|
color: #404;
|
|
font-weight: bold
|
|
}
|
|
|
|
.lit {
|
|
color: #044
|
|
}
|
|
|
|
.pun,
|
|
.opn,
|
|
.clo {
|
|
color: #440
|
|
}
|
|
|
|
.tag {
|
|
color: #006;
|
|
font-weight: bold
|
|
}
|
|
|
|
.atn {
|
|
color: #404
|
|
}
|
|
|
|
.atv {
|
|
color: #060
|
|
}
|
|
}
|
|
|
|
/* Put a border around prettyprinted code snippets. */
|
|
pre.prettyprint {
|
|
padding: 2px;
|
|
/* border: 1px solid #888 */
|
|
}
|
|
|
|
/* Specify class=linenums on a pre to get line numbering */
|
|
ol.linenums {
|
|
margin-top: 0;
|
|
margin-bottom: 0
|
|
}
|
|
|
|
/* IE indents via margin-left */
|
|
li.L0,
|
|
li.L1,
|
|
li.L2,
|
|
li.L3,
|
|
li.L5,
|
|
li.L6,
|
|
li.L7,
|
|
li.L8 {
|
|
list-style-type: none
|
|
}
|
|
|
|
/* Alternate shading for lines */
|
|
li.L1,
|
|
li.L3,
|
|
li.L5,
|
|
li.L7,
|
|
li.L9 {
|
|
background: #eee
|
|
}
|
|
|
|
.markdown-body p,
|
|
.markdown-body blockquote,
|
|
.markdown-body ul,
|
|
.markdown-body ol,
|
|
.markdown-body dl,
|
|
.markdown-body table,
|
|
.markdown-body pre {
|
|
margin-top: 0;
|
|
margin-bottom: 16px;
|
|
}`;return(0,ne.useEffect)(()=>{const gt=Se.current.attachShadow({mode:"open"});He.current=document.createElement("div"),He.current.className="markdown-body",He.current.innerHTML=Ve,gt.appendChild(He.current);const bt=document.createElement("style");return bt.textContent=Pt,gt.appendChild(bt),()=>{gt.innerHTML=""}},[]),(0,ne.useEffect)(()=>{He.current&&(He.current.innerHTML=Ve)},[Ve]),ot.createElement("div",{ref:Se})};function Fe(Ve){const Se=["onabort","onanimationend","onanimationiteration","onanimationstart","onauxclick","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncopy","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","ongotpointercapture","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmetadata","onloadstart","onlostpointercapture","onmousedown","onmousemove","onmouseout","onmouseover","onmouseup","onpaste","onpause","onplay","onplaying","onpointercancel","onpointerdown","onpointerenter","onpointerleave","onpointermove","onpointerout","onpointerover","onpointerup","onprogress","onratechange","onreset","onresize","onscroll","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onsubmit","onsuspend","ontimeupdate","ontoggle","ontouchcancel","ontouchend","ontouchmove","ontouchstart","ontransitionend","onvolumechange","onwaiting","onwheel"],He=new RegExp(`\\b(${Se.join("|")})\\s*=\\s*(?:"[^"]*"|'[^']*'|[^\\s>]*)`,"gi");return Ve.replace(He,"").trim()}var Be={mdBody:"mdBody___raKXb",button:"button___Ch5Pc",previewFlowChart:"previewFlowChart___vY1dq"},st=Object.defineProperty,ht=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable,Xe=(Ve,Se,He)=>Se in Ve?st(Ve,Se,{enumerable:!0,configurable:!0,writable:!0,value:He}):Ve[Se]=He,Je=(Ve,Se)=>{for(var He in Se||(Se={}))nt.call(Se,He)&&Xe(Ve,He,Se[He]);if(ht)for(var He of ht(Se))Ge.call(Se,He)&&Xe(Ve,He,Se[He]);return Ve};const Ke="@\u2581\u2581@",Lt="@\u2581@",Ue=/<pre[^>]*>/g;function Ne(Ve){let Se=document.createElement("div");return Se.innerHTML=Ve,Se.childNodes.length===0?"":Se.childNodes[0].nodeValue}const et=(Ve,Se)=>{Ve=Ve||"";const He=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Pt=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,gt=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,bt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Se?Ve.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(He,(ut,pe,ce,ze,dt,ct,be)=>{const Ye=pe||ze||ct,Ie=ce||dt||be||"?";return me.Z.API_SERVER+"/api/attachments/"+Ye+Ie+"&t="+(0,Te.Jn)(Ye,Date.now())+(ut.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(Ve=Ve.replace(bt,(ut,pe,ce,ze,dt,ct,be)=>{const Ye=pe||ze||ct,Ie=ce||dt||be||"?";return me.Z.API_SERVER+"/attachments/download/"+Ye+Ie+"&t="+(0,Te.Jn)(Ye,Date.now())+(ut.indexOf(")")>-1?")":"&")}).replace(He,(ut,pe,ce,ze,dt,ct,be)=>{const Ye=pe||ze||ct,Ie=ce||dt||be||"?";return me.Z.API_SERVER+"/api/attachments/"+Ye+Ie+"&t="+(0,Te.Jn)(Ye,Date.now())+(ut.indexOf(")")>-1?")":"&")}).replace(Pt,(ut,pe,ce,ze,dt)=>{const ct=pe||ze,be=ce||dt||"";return'"'+me.Z.API_SERVER+"/api/attachments/"+ct+be+ct+be+"&t="+(0,Te.Jn)(ct,Date.now())}).replace(gt,(ut,pe,ce,ze,dt)=>{const ct=pe||ze,be=ce||dt||"";return"("+me.Z.API_SERVER+"/files/uploads/"+ct+be+ct+be+"&t="+(0,Te.Jn)(ct,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
`),Ve)};var Ee=({value:Ve="",edit:Se=!1,className:He,showTextOnly:Pt,showLines:gt,style:bt={},stylesPrev:ut={},highlightKeywords:pe,showProgramFill:ce,isProgramFill:ze,disabledFill:dt=!1,programFillValue:ct,openEditor:be=()=>{},onFillChange:Ye=qe=>{},onFillBlur:Ie=()=>{},onFillFocus:Ct=()=>{}})=>{let qe=Fe(String(Ve||""));const wt=(0,ne.useRef)(),Pe=(0,ne.useRef)(),[lt,pt]=(0,ne.useState)(""),[ae,ee]=(0,ne.useState)("office"),[z,ie]=(0,ne.useState)([]),le=(0,ne.useRef)("a"+(0,Qe.Z)()),re={},ye=tt=>/<style[\s\S]*?>/i.test(tt||""),Oe=(tt,Qt,kt)=>{const Ot=document.createElement(tt===Lt?"input":"textarea");Ot.style.width="100%",Ot.style.height=tt===Lt?"40px":"151px",Ot.rows=5,Ot.spellcheck=!1,Ot.name="edu-program-fill",Ot.placeholder="\u8BF7\u8F93\u5165",Ot.dataset.id=Qt;const Dt=Object.keys(re).length;return re[Dt]=Ot,`<span class="edu-program-fill-wrap ${tt===Lt?"":"show"}" style="width:${tt===Lt?"600px":"100%"}" title=${kt||""}><span>${Ot.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Et(tt){return tt=tt.replace(/!\[.*?\]\(.*?\)/g,""),tt=tt.replace(/\[.*?\]\(.*?\)/g,""),tt=tt.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),tt=tt.replace(/<embed.*?>/g,""),tt=tt.replace(/<img.*?>/g,""),tt=tt.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),tt=tt.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),tt=tt.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),tt=tt.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),tt}const yt=tt=>!Pt&&ye(qe)?tt:tt.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(Qt,kt){let Ot=kt.replace(/(\n|\r)/g,"").split("}"),Dt=[];return Ot.map(cn=>{cn!=""&&Dt.push(`.${le.current} ${cn}`)}),`<style>${Dt.join("}")}</style>`}),at=(0,ne.useMemo)(()=>{try{const Ot=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Dt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,cn=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Xt=/\(\/attachments\/download\//g;qe=qe.replace(Xt,"("+me.Z.API_SERVER+"/attachments/download/").replace(Ot,"("+me.Z.API_SERVER+"/api/attachments/").replace(Dt,'"'+me.Z.API_SERVER+"/api/attachments/").replace(cn,'"'+me.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
`),wt.current.style.display="none"}catch(Ot){}if(ce){let Ot=-1;return qe=qe.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Dt,cn,Xt){var fn;return++Ot,Oe(Dt,Ot,(fn=ct==null?void 0:ct[Ot])==null?void 0:fn.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${yt(qe||"")}</pre>`}let tt=yt(qe);tt=(0,Le.ZP)(tt);const Qt=(0,Le.ez)();qe.match(/\[TOC\]/)&&(tt=tt.replace("<p>[TOC]</p>",(0,Le.Qv)()),(0,Le.Iy)()),tt=tt.replace(/(__special_katext_id_\d+__)/g,(Ot,Dt)=>{const{type:cn,expression:Xt}=Qt[Dt];return(0,Ce.renderToString)(Ne(Xt)||"",{displayMode:cn==="block",throwOnError:!1,output:"html"})}),tt=tt.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,Le.AL)();const kt=document.createElement("div");if(kt.innerHTML=tt,Pt)return kt.innerText;if(pe){const Ot=pe.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Yt(kt,Ot),kt.innerHTML}return setTimeout(()=>dn(),500),kt.innerHTML},[qe,pe]);(0,ne.useEffect)(()=>{Jt.current&&Jt.current.querySelectorAll(["input","textarea"]).forEach(Qt=>{Qt.oninput=mt,Qt.onblur=It,Qt.onfocus=Wt})},[z]),(0,ne.useEffect)(()=>{var tt,Qt,kt,Ot,Dt;if(ct!=null&&ct.length)try{const cn=Jt.current.querySelectorAll(".edu-program-fill-score"),Xt=Jt.current.querySelectorAll('[name="edu-program-fill"]');for(const[fn,Nn]of Xt.entries())Nn.value=((tt=ct==null?void 0:ct[fn])==null?void 0:tt.value)||"",((Qt=ct==null?void 0:ct[fn])==null?void 0:Qt.type)==="warning"?Nn.className="program-fill-warning":((kt=ct==null?void 0:ct[fn])==null?void 0:kt.type)==="success"?Nn.className="program-fill-success":Nn.className="";for(const[fn,Nn]of cn.entries())Nn.innerHTML=(Ot=ct==null?void 0:ct[fn])!=null&&Ot.score?`${(Dt=ct==null?void 0:ct[fn])==null?void 0:Dt.score}\u5206`:"";ie(ct)}catch(cn){console.log(cn,"error")}},[ct]);const mt=tt=>{z[tt.target.dataset.id]=z[tt.target.dataset.id]||{},z[tt.target.dataset.id].value=tt.target.value,ie([...z]),Ye(z,tt.target.dataset.id)},It=tt=>{z[tt.target.dataset.id]=z[tt.target.dataset.id]||{},z[tt.target.dataset.id].value=tt.target.value,ie([...z]),Ie(z,tt.target.dataset.id)},Wt=tt=>{z[tt.target.dataset.id]=z[tt.target.dataset.id]||{},z[tt.target.dataset.id].value=tt.target.value,ie([...z]),Ct(z,tt.target.dataset.id)};function Yt(tt,Qt){return tt.childNodes.forEach(kt=>{var Ot;if(kt.childNodes.length>0)Yt(kt,Qt);else if(kt.nodeName!=="IMG")if(kt.innerHTML)kt.innerHTML=(Ot=kt.innerHTML)==null?void 0:Ot.replace(new RegExp(Qt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const Dt=document.createElement("span");Dt.innerHTML=kt.textContent.replace(new RegExp(Qt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),kt.replaceWith(Dt)}})}const Jt=(0,ne.useRef)();Le.jb.WebkitLineClamp=gt,gt&&(bt=Je(Je({},bt),Le.jb));function xt(tt){let Qt=tt.target;if(Qt.tagName.toUpperCase()==="A"){let kt=Qt.getAttribute("href");if(kt.indexOf("office")>-1)tt.preventDefault(),pt(kt),ee("office");else if(kt.indexOf("application/pdf")>-1)tt.preventDefault(),pt(kt),ee("pdf");else if(kt.indexOf("text/html")>-1)tt.preventDefault(),pt(kt),ee("html");else if(kt.startsWith("#")){tt.preventDefault();let Ot=document.getElementById(kt.replace("#",""));Ot&&Ot.scrollIntoView(!0)}}}const dn=()=>{var tt;const Qt=(tt=Jt.current)==null?void 0:tt.querySelectorAll("video");Qt==null||Qt.forEach(kt=>{if(kt.oncontextmenu=()=>!1,kt.src.indexOf(".m3u8")>-1&&!kt.canPlayType("application/vnd.apple.mpegurl")){if(ge.ZP.isSupported()){var Ot=new ge.ZP;Ot.loadSource(kt.src),Ot.attachMedia(kt)}}})};(0,ne.useEffect)(()=>{if(Jt.current&&at&&at.match(Ue)&&window.PR.prettyPrint(),Jt.current)return Jt.current.addEventListener("click",xt),()=>{var tt;(tt=Jt.current)==null||tt.removeEventListener("click",xt),(0,Le.AL)(),(0,Le.Iy)()}},[at,Jt.current,xt]);const ft=tt=>{tt.target.nodeName==="IMG"&&tt.target.className.indexOf("draw-flowchart")>-1?(wt.current.style.zIndex=1,wt.current.style.display="flex",wt.current.style.width=tt.target.clientWidth+"px",wt.current.style.height=tt.target.clientHeight+"px",wt.current.style.top=tt.target.offsetTop+"px",wt.current.style.left=tt.target.offsetLeft+"px",tt.target.id&&(Pe.current=tt.target.id)):wt.current.style.display="none"},Nt=()=>{wt.current.style.display="none"};return(0,ne.useEffect)(()=>{var tt;const Qt=kt=>{kt.preventDefault(),kt.clipboardData.setData("text",window.getSelection().toString())};return(tt=Jt.current)==null||tt.addEventListener("copy",Qt),()=>{var kt;(kt=Jt.current)==null||kt.removeEventListener("copy",Qt)}},[Jt.current]),ne.createElement("div",{style:{position:"relative"},onMouseLeave:Nt},Pt&&ne.createElement("div",{ref:Jt,className:`${Be.mdBody} `},at),!Pt&&!ye(at)&&ne.createElement("div",{ref:Jt,style:Je({},bt),onMouseOver:ft,className:`${He||""} ${dt?"disabled-fill":""} markdown-body ${Be.mdBody} ${le.current}`,dangerouslySetInnerHTML:{__html:at}}),!Pt&&ye(at)&&ne.createElement(De,{html:at}),ne.createElement("div",{ref:wt,className:`${Be.button} ${Se?"":Be.previewFlowChart}`},ne.createElement(we.Z,null,ne.createElement(he.ZP,{onClick:()=>{Se?be(Pe.current):(pt(Pe.current),ee("flowChart"))}},Se?"\u7F16\u8F91":"\u9884\u89C8"))),ne.createElement(ve.Z,{close:!0,data:lt,type:lt!=null&<.length?ae:"",style:Je({},ut),onClose:()=>pt("")}))}},95887:function(Tt,zt,de){"use strict";de.d(zt,{Z:function(){return Ke}});var ne=de(59301),$e=de(25399),Le=de(37568),Re=de(29787),ge=de(584),me=de(92310),Te=de.n(me),Ce={selectEnvironment:"selectEnvironment___LegvW",search:"search___ZMwsK",searchListWrap:"searchListWrap___iUv9S",searchList:"searchList___T1FBi",name:"name___t0Y2b",tag:"tag___ooWkq",searchListActive:"searchListActive___ahElk",spin:"spin___x2xMT",common:"common___ZhJvk",title:"title___p4_7m",tags:"tags___2fYZM",tagActive:"tagActive___tb54k",wrap:"wrap___I9ZtF",allList:"allList___h31KX",item:"item___PwiKQ",itemActive:"itemActive___JCEc6",line:"line___Qn6mz",apply:"apply___EhZKq",p1:"p1___LxfGu",p2:"p2___jiQhJ",list:"list___n7Ydz",items:"items___OB8qz",darklySelectEnvironment:"darklySelectEnvironment___K__cy"},we=de(36723),he=de(82093),Qe=de(89392),ve=Object.defineProperty,ot=Object.defineProperties,We=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Be=Object.prototype.propertyIsEnumerable,st=(Lt,Ue,Ne)=>Ue in Lt?ve(Lt,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Ne}):Lt[Ue]=Ne,ht=(Lt,Ue)=>{for(var Ne in Ue||(Ue={}))Fe.call(Ue,Ne)&&st(Lt,Ne,Ue[Ne]);if(De)for(var Ne of De(Ue))Be.call(Ue,Ne)&&st(Lt,Ne,Ue[Ne]);return Lt},nt=(Lt,Ue)=>ot(Lt,We(Ue)),Ge=(Lt,Ue,Ne)=>new Promise((et,Ee)=>{var Ve=Pt=>{try{He(Ne.next(Pt))}catch(gt){Ee(gt)}},Se=Pt=>{try{He(Ne.throw(Pt))}catch(gt){Ee(gt)}},He=Pt=>Pt.done?et(Pt.value):Promise.resolve(Pt.value).then(Ve,Se);He((Ne=Ne.apply(Lt,Ue)).next())});const Xe=({className:Lt,dispatch:Ue,skin:Ne="white",value:et=null,loading:Ee=!1,data:Ve=[],otherData:Se=[],tags:He=[],onChange:Pt=()=>{},onSearchWord:gt=()=>{},shixun_type:bt,extraContent:ut,tab_type:pe,is_create_mirror:ce,hiddenCreateOnline:ze})=>{const[dt,ct]=(0,ne.useState)(""),[be,Ye]=(0,ne.useState)(!1),[Ie,Ct]=(0,ne.useState)([]),[qe,wt]=(0,ne.useState)(0),Pe=(0,ne.useRef)(null),lt=(0,ne.useRef)(String(Math.floor(Math.random()*1e6))).current,pt=(0,ne.useRef)(),ae=(0,ne.useRef)(null),ee=(0,ne.useRef)(0),z=(0,ne.useRef)([]);(0,ne.useEffect)(()=>(window.addEventListener("keydown",ie),()=>{window.removeEventListener("keydown",ie)}),[dt,be,Ie]),(0,ne.useEffect)(()=>{Ct([])},[pe]);const ie=ft=>{if(!be||ft.keyCode!==40&&ft.keyCode!==38)return;let Nt=0;ft.keyCode===40&&be&&(qe<Ie.length-1?Nt=qe+1:Nt=0,console.log("\u4E0B"),Oe(Nt,"down")),ft.keyCode===38&&be&&(qe===0?Nt=Ie.length-1:Nt=qe-1,Oe(Nt,"up")),wt(Nt),re(dt,Nt,!0)},le=(ft,Nt)=>{const tt=kt=>{var Ot=/[\^\.\\\|\(\)\*\+\-\$\[\]\?]/g,Dt={};return Dt["^"]="\\^",Dt["."]="\\.",Dt["\\"]="\\\\",Dt["|"]="\\|",Dt["("]="\\(",Dt[")"]="\\)",Dt["*"]="\\*",Dt["+"]="\\+",Dt["-"]="\\-",Dt.$="$",Dt["["]="\\[",Dt["]"]="\\]",Dt["?"]="\\?",kt=kt.replace(Ot,function(cn){return Dt[cn]}),kt};var Qt=new RegExp(tt(Nt),"gi");return ft=ft.replace(Qt,function(kt){return"<span style='color:#0152d9;'>"+kt+"</span>"}),ft},re=(ft,Nt,tt)=>Ge(void 0,null,function*(){let Qt=ee.current+1;ee.current=Qt;const kt=Ot=>Ot==null?void 0:Ot.map((cn,Xt)=>{const{id:fn,name:Nn}=cn,Tn=nt(ht({},cn),{label:ne.createElement("ul",{id:`search-${lt}-${Xt}`,onClick:()=>at(fn,Tn),className:Xt===Nt?Ce.searchListActive:Ce.searchList},ne.createElement("li",{className:Ce.name,dangerouslySetInnerHTML:{__html:le(Nn,ft)}}),cn.private&&ne.createElement($e.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},ne.createElement("li",{className:Ce.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),cn.is_base&&ne.createElement($e.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},ne.createElement("li",{className:Ce.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840")))});return Tn});if(tt){const Ot=kt(z.current);Ct(Ot);return}clearTimeout(ae.current),ae.current=setTimeout(()=>Ge(void 0,null,function*(){var Ot,Dt;const cn={keywords:encodeURIComponent(ft||""),page:1,limit:1e5,tab_type:pe};bt&&(cn.shixun_type=bt);const Xt=yield(0,he.ZP)("/api/shixuns/search_image.json",{method:"get",params:nt(ht({},cn),{is_create_mirror:ce})});if((Xt==null?void 0:Xt.status)===0){const fn=kt(((Ot=Xt==null?void 0:Xt.data)==null?void 0:Ot.mirrors)||[]);Qt===ee.current&&(Ct(fn),z.current=(0,Qe.cloneDeep)(((Dt=Xt==null?void 0:Xt.data)==null?void 0:Dt.mirrors)||[]))}}),300)}),ye=ft=>{const Nt=document.getElementById(`scroll-${lt}-${ft}`);if(!Nt)return;document.getElementById(`scroll-${lt}`).scrollTo(0,Nt.offsetTop)},Oe=(ft,Nt)=>{const tt=document.getElementById(`search-${lt}-${ft}`);if(!tt)return;const Qt=document.getElementById(`search-${lt}`);tt.offsetTop-Qt.scrollTop>0&&tt.offsetTop-Qt.scrollTop<Qt.clientHeight||(Nt==="down"?Qt.scrollTo(0,tt.offsetTop-Qt.clientHeight+tt.clientHeight):Qt.scrollTo(0,tt.offsetTop))},Et=ft=>{re(ft,0)},yt=ft=>{var Nt;if(!Ie.length)return;const tt=(Nt=Ie==null?void 0:Ie[qe])==null?void 0:Nt.id;Pt(tt),Ct([]),wt(0),ye(tt),pt.current.blur()},at=(ft,Nt)=>{Pt(ft),Ct([]),wt(0),ye(ft)},mt=()=>{Ct([]),ct(""),gt("")},It=ft=>{Pt(ft),Ct([])},Wt=()=>dt===""?ne.createElement("i",{style:{pointerEvents:"none"},className:"iconfont icon-sousuo2 c-grey-c"}):ne.createElement("i",{onClick:ft=>{ft.stopPropagation(),mt()},className:"iconfont icon-shanchu4 c-grey-c"}),Yt=()=>{Ue({type:"newShixuns/setActionTabs",payload:{key:"NewShixuns-Apply"}})},Jt=()=>{Ue({type:"newShixuns/setActionTabs",payload:{key:"Create-Environment"}})},xt=()=>{Pe.current=setTimeout(()=>{Ye(!1),wt(0)},200)},dn=!(Ve!=null&&Ve.length)&&!(Se!=null&&Se.length);return ne.createElement("div",{className:Te()(Ne==="night"?Ce.darklySelectEnvironment:Ce.selectEnvironment,Lt)},ut&&ne.createElement("div",{style:{marginTop:20,marginLeft:20}},ut),ne.createElement("div",{className:Ce.search},ne.createElement(Le.default,{suffix:Wt(),bordered:!1,ref:pt,value:dt,onKeyDown:ft=>{(ft.keyCode===40||ft.keyCode===38||ft.keyCode===13)&&ft.preventDefault()},size:"middle",onFocus:()=>{clearTimeout(Pe.current),dt&&Et(dt),Ye(!0)},onBlur:xt,onChange:ft=>{ct(ft.target.value),ft.target.value&&Et(ft.target.value),gt(ft.target.value)},placeholder:"\u641C\u7D22\u60A8\u9700\u8981\u7684\u5B9E\u9A8C\u73AF\u5883",onPressEnter:yt}),be&&ne.createElement("div",{id:`search-${lt}`,className:Ce.searchListWrap},Ie.map((ft,Nt)=>ne.createElement(ne.Fragment,{key:Nt}," ",ft.label)))),Ee?ne.createElement(Re.Z,{className:Ce.spin}):ne.createElement(ne.Fragment,null,!!He.length&&ne.createElement("aside",{className:Ce.common},ne.createElement("div",{className:Ce.title},"\u63A8\u8350\u73AF\u5883:"),ne.createElement("ul",{className:Ce.tags},He.map((ft,Nt)=>ne.createElement("li",{key:Nt,onClick:()=>It(ft.id),className:et===ft.id?`${Ce.tag} ${Ce.tagActive}`:Ce.tag},ft.name)))),dn&&ne.createElement(ge.Z,{style:{margin:"60px 0"},image:we,description:ne.createElement("span",{className:"c-grey-999"},"\u6682\u65E0\u5B9E\u9A8C\u73AF\u5883")}),ne.createElement("aside",{className:Ce.wrap,id:`scroll-${lt}`},Ve.map((ft,Nt)=>{var tt;return(tt=ft==null?void 0:ft.image)!=null&&tt.length?ne.createElement(Je,{key:Nt,data:ft,id:et,handleClick:Qt=>It(Qt)}):null}),ne.createElement("ul",{className:Ce.allList},Se.map(ft=>ne.createElement("li",{key:`key-${ft.id}`,id:`scroll-${lt}-${ft.id}`,className:ft.id===et?`${Ce.item} ${Ce.itemActive}`:Ce.item,onClick:()=>Pt(ft.id)},ne.createElement("div",{className:Ce.name},ft.name),ft.private&&ne.createElement($e.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},ne.createElement("div",{className:Ce.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),ft.is_base&&ne.createElement($e.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},ne.createElement("div",{className:Ce.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840"))))))),ne.createElement("div",{className:Ce.apply},ne.createElement("span",{className:Ce.p1},"\u6CA1\u6709\u5B9E\u9A8C\u73AF\u5883\uFF1F"),ne.createElement("span",{className:Ce.p2,onClick:Yt}," \u7533\u8BF7\u65B0\u5EFA"),!ze&&ne.createElement("span",{className:Ce.p2,onClick:Jt}," \u5728\u7EBF\u521B\u5EFA")))},Je=({data:Lt,id:Ue,handleClick:Ne})=>{const[et,Ee]=(0,ne.useState)(!0),{name:Ve,image:Se}=Lt;return ne.createElement("div",{className:Ce.list},ne.createElement("header",{onClick:()=>Ee(!et)},ne.createElement("div",{className:Ce.title},Ve),ne.createElement("i",{style:{transition:"0.5s",transform:et?"rotate(0deg)":"rotate(180deg)"},className:"iconfont icon-shangjiantou c-grey-999"})),ne.createElement("ul",{className:Ce.items,style:{height:et?"auto":0}},Se.map(He=>ne.createElement("li",{key:He.id,className:He.id===Ue?`${Ce.item} ${Ce.itemActive}`:Ce.item,onClick:()=>Ne(He.id)},ne.createElement("div",{className:Ce.name},He.name),He.private&&ne.createElement($e.Z,{title:"\u8BE5\u955C\u50CF\u9762\u5411\u6307\u5B9A\u7528\u6237\u5F00\u653E"},ne.createElement("div",{className:Ce.tag,style:{color:"#FF9D18",border:"1px solid #FFCF8D",fontSize:10}},"\u9650\u5B9A")),He.is_base&&ne.createElement($e.Z,{title:"\u4EC5\u63D0\u4F9B\u4E00\u4E2A\u57FA\u672C\u7684\u64CD\u4F5C\u7CFB\u7EDF\u73AF\u5883"},ne.createElement("div",{className:Ce.tag,style:{color:"#165DFF",border:"1px solid #BACFFE",fontSize:10}},"\u57FA\u7840")))),ne.createElement("li",{className:Ce.line})))};var Ke=Xe},44905:function(Tt,zt,de){"use strict";de.d(zt,{h:function(){return Ge}});var ne=de(59301),$e=de(82326),Le=de(28284),Re=de(99571),ge=de(89780),me=de.n(ge),Te=de(66543),Ce=de(59598),we=Object.defineProperty,he=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,ve=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,De=(Xe,Je,Ke)=>Je in Xe?we(Xe,Je,{enumerable:!0,configurable:!0,writable:!0,value:Ke}):Xe[Je]=Ke,Fe=(Xe,Je)=>{for(var Ke in Je||(Je={}))ot.call(Je,Ke)&&De(Xe,Ke,Je[Ke]);if(ve)for(var Ke of ve(Je))We.call(Je,Ke)&&De(Xe,Ke,Je[Ke]);return Xe},Be=(Xe,Je)=>he(Xe,Qe(Je));const st=$e.default.Option,ht={labelCol:{span:4},wrapperCol:{span:20}},nt={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"]};zt.Z=({callback:Xe,onCancel:Je})=>{const[Ke,Lt]=(0,ne.useState)("python");function Ue(et){Lt(nt[et][1])}function Ne(et){Xe(et)}return ne.createElement(Le.default,Be(Fe({},ht),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:Ne,style:{width:500}}),ne.createElement(Le.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ne.createElement($e.default,{getPopupContainer:et=>et.parentNode,onChange:Ue},Object.keys(nt).map(et=>ne.createElement(st,{key:et,value:et},nt[et][0])))),ne.createElement(Le.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ne.createElement(Ge,{mode:Ke})),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(Re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(Re.ZP,{type:"ghost",onClick:Je},"\u53D6\u6D88")))};function Ge({value:Xe,onChange:Je,mode:Ke,options:Lt={}}){const Ue=(0,ne.useRef)(),[Ne,et]=(0,ne.useState)();return(0,ne.useEffect)(()=>{if(Ne){let Ee=function(Ve){const Se=Ve.getValue();Je&&Je(Se)};return Ne.on("change",Ee),()=>{Ne.off("change",Ee)}}},[Ne,Je]),(0,ne.useEffect)(()=>{Ne&&Ne.setOption("mode",Ke)},[Ne,Ke]),(0,ne.useEffect)(()=>{Ne&&(Xe!==Ne.getValue()||Xe==="")&&setTimeout(()=>{Ne.setValue(Xe||"")},300)},[Ne,Xe]),(0,ne.useEffect)(()=>{if(Ue.current&&!Ne){const Ee=me().fromTextArea(Ue.current,Fe({mode:Ke,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},Lt));et(Ee)}},[Ue.current,Ne]),ne.createElement("div",{className:"my-codemirror-container"},ne.createElement("textarea",{ref:Ue}))}},2978:function(Tt,zt,de){"use strict";de.d(zt,{Z:function(){return jt}});var ne=de(59301),$e=de(76560),Le=de(89780),Re=de.n(Le),ge=de(76374),me=de(66543),Te=de(6313),Ce=de(25717),we=de(99498),he=de(25419),Qe=de(67549),ve=de(38394),ot=({value:vt="",className:At,showTextOnly:qt,showLines:sn,style:an={}})=>{const En=(0,ne.useMemo)(()=>"",[vt]);return ne.createElement(ne.Fragment,null,ne.createElement("div",{dangerouslySetInnerHTML:{__html:En}}))},We=Object.defineProperty,De=Object.defineProperties,Fe=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,nt=(vt,At,qt)=>At in vt?We(vt,At,{enumerable:!0,configurable:!0,writable:!0,value:qt}):vt[At]=qt,Ge=(vt,At)=>{for(var qt in At||(At={}))st.call(At,qt)&&nt(vt,qt,At[qt]);if(Be)for(var qt of Be(At))ht.call(At,qt)&&nt(vt,qt,At[qt]);return vt},Xe=(vt,At)=>De(vt,Fe(At));let Je=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u516C\u5F0F",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"md-iconfont icon-formula",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function Ke({onActionCallback:vt,title:At,icon:qt,actionName:sn,className:an="",children:En}){function Fn(){vt(sn)}return ne.createElement("a",{title:At,className:an,onClick:Fn},ne.createElement("i",{className:`${qt}`}),En)}var Lt=({watch:vt,showNullButton:At,showNullProgramButton:qt,onActionCallback:sn,fullScreen:an,insertTemp:En,hidetoolBar:Fn,extraUse:Mn})=>{const wn=[...Je,{title:`${vt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${vt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!Fn&&wn.map((pn,Ht)=>ne.createElement("li",{key:Ht},pn.actionName?ne.createElement(Ke,Xe(Ge({},pn),{onActionCallback:sn})):ne.createElement("span",{className:"v-line"}))),At?ne.createElement("li",null,ne.createElement(Ke,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:sn},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,qt?ne.createElement(ne.Fragment,null,ne.createElement("li",null,ne.createElement(Ke,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:sn},ne.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u5355\u884C\u586B\u7A7A\u9879"))),ne.createElement("li",null,ne.createElement(Ke,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:sn},ne.createElement("span",{className:"fill-tip"},"\u6DFB\u52A0\u591A\u884C\u586B\u7A7A\u9879")))):null,En&&ne.createElement("li",null,ne.createElement(Ke,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${En}`,onActionCallback:sn},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Mn&&ne.createElement("li",null,Mn),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(Ke,{icon:`${an?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:an?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:sn})))},Ue=de(75790),Ne=de(28284),et=de(37568),Ee=de(99571),Ve=Object.defineProperty,Se=Object.defineProperties,He=Object.getOwnPropertyDescriptors,Pt=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,bt=Object.prototype.propertyIsEnumerable,ut=(vt,At,qt)=>At in vt?Ve(vt,At,{enumerable:!0,configurable:!0,writable:!0,value:qt}):vt[At]=qt,pe=(vt,At)=>{for(var qt in At||(At={}))gt.call(At,qt)&&ut(vt,qt,At[qt]);if(Pt)for(var qt of Pt(At))bt.call(At,qt)&&ut(vt,qt,At[qt]);return vt},ce=(vt,At)=>Se(vt,He(At));const ze={labelCol:{span:4},wrapperCol:{span:20}};var dt=({callback:vt,onCancel:At})=>{function qt(sn){vt(sn)}return ne.createElement(Ne.default,ce(pe({},ze),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:qt,style:{width:500}}),ne.createElement(Ne.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ne.createElement(et.default,null)),ne.createElement(Ne.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ne.createElement(et.default,null)),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(Ee.ZP,{type:"ghost",onClick:At},"\u53D6\u6D88")))},ct=de(44905),be=de(45596),Ye=de(62957),Ie=de(77019),Ct=de(6077),qe=de(59301),wt=({callback:vt,onCancel:At})=>{const qt=document.createElement("canvas"),sn=qt.getContext("2d");qt.width=1e3,qt.height=800,sn.fillStyle="#ffffff",sn.fillRect(0,0,qt.width,qt.height);const an=qt.toDataURL("image/png");return qe.createElement(Ye.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},qe.createElement(Ie.Z,{style:{height:"100vh"}},qe.createElement(Ct.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:an,visible:!0,title:String(Date.now())},onOk:En=>{vt({src:En.url})},onClose:At})))},Pe=de(30641),lt=de(5269),pt=de(6767),ae={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re",drawerWrap:"drawerWrap___MfDw8"},ee=de(59301),ie=(0,ne.forwardRef)(({onCancel:vt,editImgId:At,callback:qt},sn)=>{let an=(0,ne.useRef)(),En=(0,ne.useRef)(),Fn=(0,ne.useRef)(),Mn=(0,ne.useRef)(!1);const wn=(0,ne.useRef)(!1);console.log("ref:",sn);const[pn,Ht]=(0,ne.useState)(0),[rt,Ut]=(0,ne.useState)("100vh");return(0,ne.useEffect)(()=>{Ht(1)},[]),(0,ne.useImperativeHandle)(sn,()=>({setHeight:Ut})),ee.createElement("div",{ref:wn,className:"body-overflow-initial"},ee.createElement(Pe.Z,{width:"100vw",height:rt,footer:null,closable:!0,placement:"bottom",open:!!pn,destroyOnClose:!0,maskClosable:!1,mask:!1,rootClassName:`zIndex-9999 ${ae.drawerWrap}`,onClose:()=>{window.saveDrawData(vn=>{qt({src:`/api/attachments/${vn}`,id:vn})})},title:ee.createElement(Ie.Z,{align:"middle"},ee.createElement(lt.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),ee.createElement(lt.Z,{onClick:()=>{Ut(rt==="60px"?"100vh":"60px")}},ee.createElement("span",{className:"current c-blue",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77")),ee.createElement(lt.Z,{onClick:()=>{window.saveDrawData(vn=>{if(vn===null){pt.ZP.warning({content:"\u5185\u5BB9\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7ED8\u5236\u6D41\u7A0B\u56FE",key:"saveFlowChart"});return}pt.ZP.success({content:"\u4FDD\u5B58\u6210\u529F",key:"saveFlowChart",style:{zIndex:999999999}}),qt({src:`/api/attachments/${vn}`,id:vn,disabledClose:!0})})}},ee.createElement(Ee.ZP,{type:"primary",className:"ml20"},"\u4FDD\u5B58")))},ee.createElement("iframe",{src:`/drawio/src/main/webapp/?id=${At||""}&gapi=0&od=0&db=0&gh=0&gl=0&local=0`,width:"100%",height:"100%",frameBorder:"0",ref:En})))}),le=de(90524),re=de(47889),ye=de(71051);const Oe=re.ZP.Group,Et={margin:"0 8px"};var yt=({callback:vt,onCancel:At})=>{function qt(sn){vt(sn)}return ne.createElement(Ne.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:qt},ne.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ne.createElement("span",{style:Et},"\u5355\u5143\u683C\u6570\uFF1A"),ne.createElement("span",{style:Et},"\u884C\u6570"),ne.createElement(Ne.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ne.createElement(ye.Z,null)),ne.createElement("span",{style:Et},"\u5217\u6570"),ne.createElement(Ne.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ne.createElement(ye.Z,null))),ne.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ne.createElement("span",{style:Et},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ne.createElement(Ne.default.Item,{name:"align"},ne.createElement(Oe,null,ne.createElement(re.ZP,{value:"default"},ne.createElement("i",{className:"fa fa-align-justify"})),ne.createElement(re.ZP,{value:"left"},ne.createElement("i",{className:"fa fa-align-left"})),ne.createElement(re.ZP,{value:"center"},ne.createElement("i",{className:"fa fa-align-center"})),ne.createElement(re.ZP,{value:"right"},ne.createElement("i",{className:"fa fa-align-right"}))))),ne.createElement("div",{className:"flex-container flex-end"},ne.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ne.createElement(Ee.ZP,{type:"ghost",onClick:At},"\u53D6\u6D88")))},at=de(71411),mt=de(11081),It=de.n(mt),Yt=(0,ne.forwardRef)(({use3d:vt,width:At,height:qt,callback:sn,showSaveButton:an},En)=>{const Fn=(0,ne.useRef)(),Mn=(0,ne.useRef)(),[wn,pn]=(0,ne.useState)(!1),Ht=(0,ne.useRef)({id:Fn,appName:"graphing",width:At||1e3,height:qt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ne.useEffect)(()=>{Mn.current=new(It())(Ht.current,!0),window.onload=function(){Mn.current.inject("applet_container")}},[]);const rt=()=>{var Ut=window.ggbApplet.getPNGBase64(1,!0,72);return sn&&sn(Ut),Ut};return(0,ne.useEffect)(()=>{Ht.current.appName=wn?"3D":"graphing",Mn.current.inject("applet_container")},[wn]),(0,ne.useEffect)(()=>{pn(vt)},[vt]),(0,ne.useImperativeHandle)(En,()=>({getImgData:rt})),ne.createElement(ne.Fragment,null,ne.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Fn}),ne.createElement(Ie.Z,{align:"middle"},ne.createElement(lt.Z,{flex:1},ne.createElement(at.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:wn,onChange:Ut=>pn(Ut)})),ne.createElement(lt.Z,null,ne.createElement(Ee.ZP,{size:"large",onClick:rt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Jt=de(88615);const xt="link",dn="upload-image",ft="add-flowchart",Nt="draw-image",tt="add-flowchart",Qt="code-block",kt="add-table",Ot="------------",Dt={default:Ot,left:`:${Ot}`,center:`:${Ot}:`,right:`${Ot}:`};var cn=de(17904),Xt=de(49661);function fn(){}let Nn=0;const Tn=1e4,or="\u2581",vr="@\u2581\u2581@",lr="@\u2581@",Vn=`
|
|
**\u6A21\u677F\u6807\u9898**
|
|
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,hn=["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 Xn(vt){return/^\d+$/.test(vt)?`${vt}px`:vt}const Bn=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Zn={[Bn+"-B"]:"bold",[Bn+"-I"]:"italic"},Ft={[xt]:"\u6DFB\u52A0\u94FE\u63A5",[Qt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[dn]:"\u6DFB\u52A0\u56FE\u7247",[Nt]:"\u6DFB\u52A0\u753B\u56FE",[ft]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[kt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var jt=({defaultValue:vt="",onChange:At,width:qt="100%",height:sn=400,miniToolbar:an=!1,isFocus:En=!1,watch:Fn,insertTemp:Mn,mode:wn="markdown",id:pn="markdown-editor-id",showResizeBar:Ht=!1,noStorage:rt=!1,showNullButton:Ut=!1,showNullProgramButton:vn=!1,hidetoolBar:Pn=!1,fullScreen:ke=!1,onBlur:Me,onCMBeforeChange:Rt,onFullScreen:St,className:je="",disablePaste:Bt=!1,disabled:nn=!1,disabledFill:un=!1,placeholder:xn="",values:Kt="",extraUse:rn})=>{const[Ze,zn]=(0,ne.useState)(null),[$t,kn]=(0,ne.useState)(vt),[Sn,Hn]=(0,ne.useState)(Fn),[jn,yr]=(0,ne.useState)(ke),[Qn,Kn]=(0,ne.useState)(""),[ur,Un]=(0,ne.useState)(0),[br,Mr]=(0,ne.useState)(sn),[mr,xr]=(0,ne.useState)(!1),[Er,wr]=(0,ne.useState)(0),[gn,Ln]=(0,ne.useState)(0),Yn=(0,ne.useRef)(),ir=(0,ne.useRef)(),fr=(0,ne.useRef)(),Br=(0,ne.useRef)(),Cr=(0,ne.useRef)(),cr=(0,ne.useRef)(),ar=(0,$e.useDispatch)();(0,ne.useEffect)(()=>{const _t=window.scrollY||window.pageYOffset;kn(Kt),Ze==null||Ze.setValue(Kt),window.scrollTo(0,_t)},[Kt]),(0,ne.useEffect)(()=>{St==null||St(jn)},[jn]),(0,ne.useEffect)(()=>{if(Yn.current){let _t=function(on,ln){var qn;if(Bt){ln.preventDefault();return}const er=ln.clipboardData;if(er){const Dr=er.types.toString(),nr=er.items;if(Dr==="Files"||er.types.indexOf("Files")>-1){if(ln.preventDefault(),wn=="stex")return;try{let hr=nr[1];((qn=nr[0])==null?void 0:qn.kind)==="file"&&(hr=nr[0]);const Or=hr.getAsFile(),Vr=Or.name.split(".").pop();(0,be.I)(Or,kr=>{var Yr,Fr,di;kr.id?((Yr=Or==null?void 0:Or.type)==null?void 0:Yr.indexOf("image"))>-1?Gt.replaceSelection(`<img width="100%" src="/api/attachments/${kr.id}?type=${kr.content_type})" alt="" />`):((Fr=Or==null?void 0:Or.type)==null?void 0:Fr.indexOf("video"))>-1?Gt.replaceSelection(`<video width="100%" controls src="/api/attachments/${kr.id}"></video>`):((di=Or==null?void 0:Or.type)==null?void 0:di.indexOf("pdf"))>-1?Gt.replaceSelection(`<a href="/api/attachments/${kr.id}?type=${Or.type}&disposition=inline" target="_blank">${Or.name}</a>`):hn.includes(Vr)?Gt.replaceSelection(`<a href="/api/attachments/${kr.id}?type=office&disposition=inline" target="_blank">${Or.name}</a>`):Gt.replaceSelection(`[${Or.name}](/api/attachments/${kr.id}?type=${kr.content_type})`):(kr==null?void 0:kr.status)===401&&(document.location.href="/user/login")})}catch(hr){pt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Gt=Re().fromTextArea(Yn.current,{mode:wn,lineNumbers:!an,lineWrapping:!0,value:vt,autoCloseTags:!0,autoCloseBrackets:!0});return Gt.on("keyup",function(on,ln){ln.keyCode===8&&(on.getValue()==""?Gt.setOption("placeholder",xn):Gt.setOption("placeholder",null))}),Gt.on("keydown",function(on,ln){if(ln.keyCode===8){var qn=jr(on);qn&&ln.preventDefault()}}),En&&Gt.focus(),Gt.on("paste",_t),nn&&Gt.on("beforeChange",function(on,ln){(ln.origin==="paste"||ln.origin==="+input")&&ln.cancel()}),zn(Gt),()=>{Gt.off("paste",_t)}}},[]);const Tr=(0,ne.useCallback)(()=>{if(ir.current)try{}catch(_t){console.log(_t,"---- to set md editor body height")}},[br,ir,jn]);(0,ne.useEffect)(()=>{function _t(){let Gt=new ge.Z(on=>{for(let ln of on)(ln.target.offsetHeight>0||ln.target.offsetWidth>0)&&(Tr(),Ze.setSize("100%","100%"),Ze.refresh())});return Gt.observe(Yn.current.parentElement),Gt}if(Ze){const Gt=_t();return()=>{var on,ln;(on=Yn.current)!=null&&on.parentElement&&Gt.unobserve((ln=Yn.current)==null?void 0:ln.parentElement)}}},[Ze,Tr]),(0,ne.useEffect)(()=>{if(Ze){let _t=[];for(const[Gt,on]of Object.entries(Zn)){let ln={[Gt]:()=>{Gr(on)}};_t.push(ln),Ze.addKeyMap(ln)}return()=>{for(let Gt of _t)Ze.removeKeyMap(Gt)}}},[Ze]),(0,ne.useEffect)(()=>{ke!==jn&&yr(ke)},[ke]),(0,cn.Z)(()=>{if(!rt&&ur>0){let _t=new Date().getTime(),Gt=window.sessionStorage.getItem(pn);_t>=ur+Tn&&(!Gt||Gt!==$t)&&(window.sessionStorage.setItem(pn,$t),xr(!0))}},Tn),(0,ne.useEffect)(()=>{Hn(Fn)},[Ze,Fn]),(0,ne.useEffect)(()=>{Ze&&En&&Ze.focus()},[Ze,En]),(0,ne.useEffect)(()=>{if(Sn&&Ze){let _t=function(on){let ln=on.target;if(Br.current){let qn=ln.scrollTop/ln.scrollHeight;Br.current.scrollTop=Br.current.scrollHeight*qn}};const Gt=Ze.getScrollerElement();return Gt.addEventListener("scroll",_t),()=>{Gt.removeEventListener("scroll",_t)}}},[Ze,Sn]),(0,ne.useEffect)(()=>{if(Ze&&Rt){let _t=function(Gt,on){Rt(Gt,on)};return Ze.on("beforeChange",_t),()=>{Ze.off("beforeChange",_t)}}},[Ze,Rt]),(0,ne.useEffect)(()=>{if(Ze&&Me){let _t=function(){Me(Ze.getValue())};return Ze.on("blur",_t),()=>{Ze.off("blur",_t)}}},[Ze,Me]);function jr(_t,Gt){var on=_t.getDoc(),ln=on.getCursor(),qn=on.getLine(ln.line),er=qn.charAt(ln.ch-1),Dr=qn.lastIndexOf("@\u2581@",ln.ch),nr=qn.lastIndexOf("@\u2581\u2581@",ln.ch),hr=Dr>nr?Dr:nr,Or=Dr>nr?3:4;if(vr.indexOf(er)===-1)return null;if(console.log("change1:",Gt,_t,qn,ln,hr,Dr,nr,er),hr>=0&&ln.ch-hr<5){var Vr=hr+Or;return on.replaceRange("",{line:ln.line,ch:hr},{line:ln.line,ch:Vr}),{line:ln.line,ch:Vr}}return null}(0,ne.useEffect)(()=>{if(Ze){let _t=function(Gt,on){const ln=Gt.getValue();kn(ln),Un(new Date().getTime()),Gt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),At&&(vn?At(ln,Vt(ln)):At(ln))};return Ze.on("change",_t),()=>{Ze.off("change",_t)}}},[Ze,At]),(0,ne.useEffect)(()=>{if(Ze)if(vt==null)Ze.setValue(""),kn("");else{const _t=window.scrollY||window.pageYOffset;vt!==Ze.getValue()&&(Ze.setValue(vt),kn(vt),Ze.setCursor(nn?1:Ze.lineCount(),0),window.scrollTo(0,_t))}},[Ze,vt]);const Gr=(0,ne.useCallback)(_t=>{const Gt=Ze.getCursor(),on=Ze.getSelection();let ln=on.split(`
|
|
`);switch(_t){case"bold":return Ze.replaceSelection("**"+on+"**"),on===""&&Ze.setCursor(Gt.line,Gt.ch+2),Ze.focus();case"italic":return Ze.replaceSelection("*"+on+"*"),on===""&&Ze.setCursor(Gt.line,Gt.ch+1),Ze.focus();case"code":return Ze.replaceSelection("`"+on+"`"),on===""&&Ze.setCursor(Gt.line,Gt.ch+1),Ze.focus();case"inline-latex":return(0,Xt.Ye)(ar)?void 0:(Kn("inline-latex"),Ze.focus());case"latex":return Ze.replaceSelection("```latex\n"+on+"\n```"),Ze.setCursor(Gt.line+1,on.length+1),Ze.focus();case"line-break":return Ze.replaceSelection(`<br/>
|
|
`),Ze.focus();case"list-ul":return on===""?Ze.replaceSelection("- "+on):Ze.replaceSelection(ln.map(qn=>qn===""?"":`- ${qn}`).join(`
|
|
`)),Ze.focus();case"list-ol":return on===""?Ze.replaceSelection("1. "+on):Ze.replaceSelection(ln.map((qn,er)=>qn===""?"":`${er+1}. ${qn}`).join(`
|
|
`)),Ze.focus();case"add-null-ch":return on===""&&Ze.setCursor(Gt.line,Gt.ch),Ze.replaceSelection(or),Ze.focus();case"add-signal":return on===""&&Ze.setCursor(Gt.line,Gt.ch),Ze.replaceSelection(lr),Ze.focus();case"add-multiple":return on===""&&Ze.setCursor(Gt.line,Gt.ch),Ze.replaceSelection(vr),Ze.focus();case"inster-template-1":return on===""&&Ze.setCursor(Gt.line,Gt.ch),Ze.replaceSelection(Vn),Ze.focus();case"eraser":return Ze.setValue(""),Ze.focus();case"trigger-watch":return Hn(!Sn),Ze.focus();case"trigger-full-screen":return yr(!jn),Ze.focus();case xt:Kn(xt);return;case Qt:Kn(Qt);return;case dn:Kn(dn);return;case Nt:Kn(Nt);return;case"maths-latex":if((0,Xt.Ye)(ar))return;Kn("maths-latex");return;case ft:Cr.current="",sessionStorage.removeItem("file_id"),Kn(ft);return;case kt:Kn(kt);return;default:throw new Error}},[Ze,Sn,jn]),dr=(0,ne.useCallback)((_t,Gt)=>{var on,ln,qn,er,Dr,nr;_t!=null&&_t.disabledClose||Kn("");const{src:hr,alt:Or,id:Vr}=_t||{};switch(Qn){case xt:const{title:Zi,link:Ri}=_t;return Ze.replaceSelection(`[${Zi}](${Ri})`),Ze.focus();case Qt:const{language:xi,content:mi}=_t;return Ze.replaceSelection(["```"+xi,mi,"```"].join(`
|
|
`)),Ze.focus();case"maths-latex":for(var kr=atob(_t),Yr=new Uint8Array(kr.length),Fr=0;Fr<kr.length;Fr++)Yr[Fr]=kr.charCodeAt(Fr);var di=new Blob([Yr],{type:"image/png"});(0,be.I)(di,fi=>{fi.id?Ze.replaceSelection(``):(fi==null?void 0:fi.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":if((0,Xt.Ye)(ar))return;Ze.replaceSelection("`$$"+_t+"$$`");break;case tt:if(!Vr)return;Ze.getValue().indexOf(hr)===-1?Ze.replaceSelection(`<center><img id="${Vr}" width="80%" src="${hr}" class="draw-flowchart" alt="${Or||""}" /></center>`):document.getElementById(Vr).src=le.Z.API_SERVER+hr+"?t="+Date.now();break;case dn:case Nt:const Lr=Gt,wi=(qn=(ln=(on=Lr==null?void 0:Lr.name)==null?void 0:on.split("."))==null?void 0:ln.pop)==null?void 0:qn.call(ln);return((er=Lr==null?void 0:Lr.type)==null?void 0:er.indexOf("image"))>-1||!(Lr!=null&&Lr.type)?Lr!=null&&Lr.align||Lr!=null&&Lr.width?Ze.replaceSelection(`<p style="text-align:${Lr.align||"initial"}"><img width="${Lr.width?Lr.width+"%":"initial"}" src="${hr}" alt="${Or||""}" /></p>`):Ze.replaceSelection(`<img width="100%" src="${hr}" alt="${Or||""}" />`):((Dr=Lr==null?void 0:Lr.type)==null?void 0:Dr.indexOf("video"))>-1?Ze.replaceSelection(`<video width="100%" controls src="${hr}"></video>`):((nr=Lr==null?void 0:Lr.type)==null?void 0:nr.indexOf("pdf"))>-1?Ze.replaceSelection(`<a href="${hr}?type=${Lr.type}&disposition=inline" target="_blank">${Lr.name}</a>`):hn.includes(wi)?Ze.replaceSelection(`<a href="${hr}?type=office&disposition=inline" target="_blank">${Lr.name}</a>`):Ze.replaceSelection(`[${Lr.name}](${hr})`),Ze.focus();case kt:const{row:eo,col:Jr,align:zi}=_t;let Ji=`
|
|
`;for(let fi=0;fi<eo;fi++){let ao=[],Ti=[];for(let Hr=0;Hr<Jr;Hr++)fi===1&&Ti.push(Dt[zi]),ao.push(" ");fi===1&&(Ji+=`| ${Ti.join(" | ")} |
|
|
`),Ji+=`| ${ao.join(Jr===1?"":" | ")} |
|
|
`}return Ze.replaceSelection(Ji+`
|
|
`),Ze.focus();default:throw new Error}},[Ze,Qn]),ai=(0,ne.useMemo)(()=>{switch(Qn){case xt:return ne.createElement(dt,{callback:dr,onCancel:gr});case Qt:return ne.createElement(ct.Z,{callback:dr,onCancel:gr});case dn:return ne.createElement(be.Z,{callback:dr,onCancel:gr});case ft:return ne.createElement(ie,{editImgId:Cr.current,callback:dr,onCancel:gr});case kt:return ne.createElement(yt,{callback:dr,onCancel:gr});case"maths-latex":return ne.createElement(Yt,{showSaveButton:!0,callback:dr});case"inline-latex":return ne.createElement(Jt.Z,{showSaveButton:!0,callback:dr});default:return null}},[Qn]);function gr(){Kn("")}(0,ne.useEffect)(()=>{if(fr.current){let _t=function(Dr){qn=!0,er=Dr.pageY},Gt=function(){qn=!1},on=function(Dr){if(qn){let nr=Dr.pageY-er;nr<0&&(nr=0),nr>300&&(nr=300);let hr=sn+nr+"px";Mr(hr)}},ln=fr.current,qn=!1,er=0;return ln.addEventListener("mousedown",_t),document.addEventListener("mousemove",on),document.addEventListener("mouseup",Gt),()=>{ln.removeEventListener("mousedown",_t),document.removeEventListener("mousemove",on),document.removeEventListener("mouseup",Gt)}}},[Ze,fr]),(0,ne.useEffect)(()=>{Mr(sn)},[sn]);const li=Xn(qt),ti=Xn(br),zr={width:li,height:ti},$n=(0,ne.useMemo)(()=>{if(ur){let _t=new Date(ur),Gt=_t.getHours(),on=_t.getMinutes(),ln=_t.getSeconds();return Gt=Gt<10?"0"+Gt:Gt,on=on<10?"0"+on:on,ln=ln<10?"0"+ln:ln,`${Gt}:${on}:${ln}`}return 0},[ur]),Vt=_t=>{const Gt=[];if(vn){let on=-1;_t=_t.replace(/(@▁▁@|@▁@)/g,function(ln,qn,er){Gt.push({multiLine:ln!==lr})})}return Gt};function en(){window.sessionStorage.removeItem(pn),xr(!1),Un(0)}function An(){xr(!1),Un(0),Ze.setValue(window.sessionStorage.getItem(pn))}(0,ne.useEffect)(()=>{Ft[Qn]&&Qn!==Nt&&Qn!==ft&&setTimeout(()=>{const _t=document.getElementsByClassName("markdown-popup-form")[0],Gt=window.innerWidth/2-_t.offsetWidth/2,on=window.innerHeight/2-_t.offsetHeight/2;wr(Gt),Ln(on)},0)},[Qn]);const mn=_t=>{_t.preventDefault();const Gt=_t.clientX-Er,on=_t.clientY-gn;document.body.onmousemove=ln=>{let qn=ln.clientX-Gt,er=ln.clientY-on;const Dr=document.getElementsByClassName("markdown-popup-form")[0],nr=window.innerWidth-Dr.offsetWidth,hr=window.innerHeight-Dr.offsetHeight;qn=Math.max(0,Math.min(qn,nr)),er=Math.max(0,Math.min(er,hr)),In(ln.clientX,ln.clientY,Gt,on)&&(wr(qn),Ln(er))},document.body.onmouseup=function(){document.body.onmousemove=null}},In=(_t,Gt,on,ln)=>{const qn=document.body.clientHeight,er=document.body.clientWidth;return _t<20&&on>_t||_t>er-20&&on<_t||Gt<20&&ln>Gt||Gt>qn-20&&ln<Gt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"markdown-editor-wrapper",ref:ir},ne.createElement("div",{className:`markdown-editor-container ${je} ${Sn?"on-preview":""} ${an?"mini":""} ${jn?"full-screen":""}`,style:zr},ne.createElement(Lt,{insertTemp:Mn,watch:Sn,fullScreen:jn,showNullButton:Ut,showNullProgramButton:vn,onActionCallback:Gr,hidetoolBar:Pn,extraUse:rn}),ne.createElement("div",{className:"markdown-editor-body"},ne.createElement("div",{className:"codemirror-container"},ne.createElement("textarea",{ref:Yn,placeholder:xn})),Sn?ne.createElement("div",{ref:Br,className:"preview-container"},wn==="stex"&&ne.createElement(ot,{value:$t}),wn!=="stex"&&ne.createElement(ve.Z,{edit:!0,disabledFill:un,showProgramFill:vn,value:$t,openEditor:_t=>{var Gt;Cr.current=_t,(Gt=cr.current)==null||Gt.setHeight("100vh"),setTimeout(()=>{Kn("add-flowchart")},150)}})):null))),Ht?ne.createElement("a",{ref:fr,className:"editor-resize"}):null,Qn===Nt&&ne.createElement(wt,{callback:dr,onCancel:gr}),Qn===ft&&ne.createElement(ie,{ref:cr,editImgId:Cr.current,callback:dr,onCancel:gr}),ne.createElement(Ue.Z,null,Ft[Qn]&&Qn!==Nt&&Qn!==ft?ne.createElement(Ye.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Er,top:gn},title:ne.createElement("div",{style:{cursor:"move"},onMouseDown:mn},Ft[Qn]),open:!0,onCancel:gr,footer:null,destroyOnClose:!0,width:Qn===ft?"1200px":null,height:Qn===ft?"80vh":null,className:"markdown-popup-form"},ai):null))}},45596:function(Tt,zt,de){"use strict";de.d(zt,{Z:function(){return Je},I:function(){return Lt}});var ne=de(28284),$e=de(6767),Le=de(37568),Re=de(77736),ge=de(71051),me=de(47889),Te=de(99571),Ce=de(67303),we=de(59301),he=de(59301),Qe=Object.defineProperty,ve=Object.defineProperties,ot=Object.getOwnPropertyDescriptors,We=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,Fe=Object.prototype.propertyIsEnumerable,Be=(Ue,Ne,et)=>Ne in Ue?Qe(Ue,Ne,{enumerable:!0,configurable:!0,writable:!0,value:et}):Ue[Ne]=et,st=(Ue,Ne)=>{for(var et in Ne||(Ne={}))De.call(Ne,et)&&Be(Ue,et,Ne[et]);if(We)for(var et of We(Ne))Fe.call(Ne,et)&&Be(Ue,et,Ne[et]);return Ue},ht=(Ue,Ne)=>ve(Ue,ot(Ne));const{useForm:nt}=ne.default,Ge={width:280,marginRight:10},Xe={labelCol:{span:5},wrapperCol:{span:19}};var Je=({callback:Ue,onCancel:Ne})=>{const[et]=nt();let Ee=(0,we.useRef)();function Ve(Pt){Ee.current.width=et.getFieldValue("width"),Ee.current.align=et.getFieldValue("align"),Ue(Pt,Ee.current)}function Se(Pt,gt){if(Pt.status===-1){$e.ZP.error(Pt.message);return}et.setFieldsValue({src:`/api/attachments/${Pt.id}`,type:gt.type})}function He(Pt){let gt=Pt.target.files[0];Ee.current=gt,Lt(gt,Se)}return he.createElement(ne.default,ht(st({form:et},Xe),{className:"upload-image-panel",onFinish:Ve,style:{width:470,overflow:"hidden"}}),he.createElement(ne.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},he.createElement("div",{className:"flex-container"},he.createElement(ne.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},he.createElement(Le.default,{style:Ge})),he.createElement(Ke,{onFileChange:He}))),he.createElement(ne.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},he.createElement(Le.default,{style:{width:264}})),he.createElement(ne.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},he.createElement(Re.Z,null,he.createElement(ne.default.Item,{name:"width",style:{margin:0}},he.createElement(ge.Z,{style:{width:264}})),he.createElement("span",{className:"ml8"},"%"))),he.createElement(ne.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},he.createElement(me.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),he.createElement("aside",null,he.createElement(ne.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},he.createElement(Te.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),he.createElement(Te.ZP,{type:"default",onClick:Ne},"\u53D6\u6D88"))))};function Ke({onFileChange:Ue}){return he.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",he.createElement("input",{type:"file",onChange:Ue}))}function Lt(Ue,Ne){if(!Ue)throw new String("\u6CA1\u6709\u6587\u4EF6");let et=new FormData;et.append("editormd-image-file",Ue),et.append("file_param_name","editormd-image-file"),et.append("byxhr","true");var Ee=new window.XMLHttpRequest;Ee.withCredentials=!0,Ee.addEventListener("load",function(Ve){Ne(JSON.parse(Ve.target.responseText),Ue)},!1),Ee.addEventListener("error",function(Ve){console.error(Ve)},!1),Ee.open("POST",`${Ce.KI}/api/attachments.json`),Ee.send(et)}},75790:function(Tt,zt,de){"use strict";de.d(zt,{Z:function(){return Le}});var ne=de(59301),$e=de(4676);class Le extends ne.Component{constructor(ge){super(ge);const me=window.document;this.node=me.createElement("div"),me.body.appendChild(this.node)}render(){const{children:ge}=this.props;return(0,$e.createPortal)(ge,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},51124:function(Tt,zt,de){"use strict";de.d(zt,{SV:function(){return wt},ZP:function(){return qe}});var ne=de(59301),$e=de(76374);const Le={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},Re={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},ge={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
`)}]},me={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
|
|
`)}]},Te={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
|
|
`)}]};var Ce=de(53184),we=de.n(Ce),he=(Pe,lt,pt)=>new Promise((ae,ee)=>{var z=re=>{try{le(pt.next(re))}catch(ye){ee(ye)}},ie=re=>{try{le(pt.throw(re))}catch(ye){ee(ye)}},le=re=>re.done?ae(re.value):Promise.resolve(re.value).then(z,ie);le((pt=pt.apply(Pe,lt)).next())});const Qe={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},ve=(Pe,lt,pt,ae)=>{const ee=lt.getValueInRange({startLineNumber:1,startColumn:1,endLineNumber:pt.lineNumber,endColumn:pt.column});return Array.from(new Set(ee.match(/\b\w{2,}\b/g)||[])).map(ie=>({label:ie,kind:Pe.languages.CompletionItemKind.Text,insertText:ie,range:ae}))},ot=(Pe,lt,pt,ae)=>{Pe.languages.registerCompletionItemProvider(lt,{provideCompletionItems(ee,z){const ie=ee.getWordUntilPosition(z),le={startLineNumber:z.lineNumber,endLineNumber:z.lineNumber,startColumn:ie.startColumn,endColumn:ie.endColumn},re=ee.getLineContent(z.lineNumber).substring(ie.startColumn-2,ie.endColumn);return{suggestions:[...ve(Pe,ee,z,le),...pt.map(Oe=>({label:Oe,kind:Pe.languages.CompletionItemKind.Keyword,documentation:Oe,insertText:Oe,insertTextRules:Pe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:le})),...ae.map(Oe=>({label:Oe.label,kind:Pe.languages.CompletionItemKind.Snippet,documentation:Oe.content,insertText:re.startsWith("#")?Oe.content.replace(/#/,""):Oe.content,insertTextRules:Pe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:le}))]}}})};var We=Pe=>{Qe.languages.forEach(lt=>{Pe.languages.registerDocumentFormattingEditProvider(lt,{provideDocumentFormattingEdits(pt){return he(this,null,function*(){const ae=we()(pt.getValue(),{indent_size:2,indent_char:" ",max_preserve_newlines:2,preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:0,indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:pt.getFullModelRange(),text:ae}]})}})}),ot(Pe,"java",Re.keywords,Re.quickKey),ot(Pe,"cpp",ge.keywords,ge.quickKey),ot(Pe,"c",Le.keywords,[]),ot(Pe,"python",me.keywords,me.quickKey),ot(Pe,"scala",Te.keywords,Te.quickKey)};const De="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Fe=Object.defineProperty,Be=(Pe,lt,pt)=>lt in Pe?Fe(Pe,lt,{enumerable:!0,configurable:!0,writable:!0,value:pt}):Pe[lt]=pt,st=(Pe,lt,pt)=>Be(Pe,typeof lt!="symbol"?lt+"":lt,pt);const ht=class Hs{constructor(lt,pt,ae){this.placeholder=lt,this.editor=pt,this.monaco=ae,pt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Hs.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};st(ht,"ID","editor.widget.placeholderHint");var Ge=ht,Xe=de(96236),Je=de(6767),Ke=de(25399),Lt=de(89392),Ue=de(33796),Ne=de(56102),et=Object.defineProperty,Ee=Object.defineProperties,Ve=Object.getOwnPropertyDescriptors,Se=Object.getOwnPropertySymbols,He=Object.prototype.hasOwnProperty,Pt=Object.prototype.propertyIsEnumerable,gt=(Pe,lt,pt)=>lt in Pe?et(Pe,lt,{enumerable:!0,configurable:!0,writable:!0,value:pt}):Pe[lt]=pt,bt=(Pe,lt)=>{for(var pt in lt||(lt={}))He.call(lt,pt)&>(Pe,pt,lt[pt]);if(Se)for(var pt of Se(lt))Pt.call(lt,pt)&>(Pe,pt,lt[pt]);return Pe},ut=(Pe,lt)=>Ee(Pe,Ve(lt)),pe=(Pe,lt)=>{var pt={};for(var ae in Pe)He.call(Pe,ae)&<.indexOf(ae)<0&&(pt[ae]=Pe[ae]);if(Pe!=null&&Se)for(var ae of Se(Pe))lt.indexOf(ae)<0&&Pt.call(Pe,ae)&&(pt[ae]=Pe[ae]);return pt},ce=(Pe,lt,pt)=>new Promise((ae,ee)=>{var z=re=>{try{le(pt.next(re))}catch(ye){ee(ye)}},ie=re=>{try{le(pt.throw(re))}catch(ye){ee(ye)}},le=re=>re.done?ae(re.value):Promise.resolve(re.value).then(z,ie);le((pt=pt.apply(Pe,lt)).next())});function ze(Pe){return/^\d+$/.test(Pe)?`${Pe}px`:Pe}function dt(){}let ct=!1;const be={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function Ye(Pe=[]){let lt=Pe;if(Array.isArray(Pe)){for(let pt=0;pt<Pe.length;pt++){let ae=be[Pe[pt]];if(ae)return ae}return lt[0]}return be[lt]||lt}let Ie=null;const Ct=()=>ce(void 0,null,function*(){try{yield navigator.clipboard.writeText(" "),console.log("\u5185\u5BB9\u5DF2\u81EA\u52A8\u590D\u5236\u5230\u526A\u8D34\u677F:")}catch(Pe){console.error("\u81EA\u52A8\u590D\u5236\u5931\u8D25:",Pe)}});var qe=Pe=>{var lt=Pe,{width:pt="100%",height:ae="100%",value:ee,language:z="javascript",style:ie={},options:le={},overrideServices:re={},theme:ye="vs-dark",onEditBlur:Oe,isCopy:Et=!1,onSave:yt,autoHeight:at=!1,forbidCopy:mt=!1,onChange:It=dt,editorDidMount:Wt=dt,onFocus:Yt=dt,onBreakPoint:Jt=dt,breakPointValue:xt=[],filename:dn="educoder.txt",errorLine:ft,errorContent:Nt="",highlightLine:tt,openBreakPoint:Qt=!1,placeholder:kt="",showMiniMap:Ot=!0}=lt,Dt=pe(lt,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder","showMiniMap"]);const cn=(0,ne.useRef)(),Xt=(0,ne.useRef)({}),fn=(0,ne.useRef)(),Nn=(0,ne.useRef)(),Tn=(0,ne.useRef)([]),or=(0,ne.useRef)(!1),vr=(0,ne.useRef)(),lr=(0,ne.useRef)(),Vn=(0,ne.useRef)(!1),[hn,Xn]=(0,ne.useState)(!1);function Rn(){let Ht;return cn.current&&(Ht=new $e.Z(rt=>{for(let Ut of rt)(Ut.target.offsetHeight>0||Ut.target.offsetWidth>0)&&Xt.current.instance.layout()}),Ht.observe(cn.current)),Ht}function Bn(){Je.ZP.warning({content:decodeURIComponent(De),key:"monaco-editor-tip"})}const Zn=()=>{let Ht=Xt.current.instance;if(ee!=null&&Ht&&hn){const rt=Ht.getModel();rt&&ee!==rt.getValue()&&(ct=!0,rt.setValue(ee),Ht.layout(),ct=!1)}};(0,ne.useEffect)(()=>{const Ht=Ue.Z.subscribe("formatDocument",rt=>{var Ut;let vn=Xt.current.instance;(Ut=vn==null?void 0:vn.getAction)==null||Ut.call(vn,"editor.action.formatDocument").run()});return window.updateMonacoValue=rt=>{It(rt)},Ht},[]),(0,ne.useEffect)(()=>{var Ht;let rt=Xt.current.instance;Nn.current&&clearTimeout(Nn.current),Nn.current=setTimeout(()=>{Zn()},500),ee&&(ee!=null&&ee.length)&&((Ht=rt==null?void 0:rt.updateOptions)==null||Ht.call(rt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(ee.split(/\r\n|\r|\n/g).length))+3,5)}))},[ee,hn,Xt.current]),(0,ne.useEffect)(()=>{if(ft&&Xt.current&&Xt.current.instance){let rt=Xt.current.instance;rt.changeViewZones(function(Ut){var vn=document.createElement("div");vn.style.padding="10px 20px",vn.style.width="calc(100% - 20px)",vn.className="my-error-line-wrp",vn.innerHTML=Nt,Ut.addZone({afterLineNumber:ft||11,heightInLines:3,domNode:vn})});var Ht={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};rt.addOverlayWidget(Ht),rt.revealPositionInCenter({lineNumber:20,column:1})}},[ft,Xt.current,hn]);const Ft=(Ht="",rt)=>{if(!Ht||Ht.trim()==="")return!0;const vn=Xt.current.instance.getModel().getLineTokens(rt);let Pn=!1;for(let ke=0;ke<2;ke++)vn.getStandardTokenType(ke)===1&&(Pn=!0);return Pn};(0,ne.useEffect)(()=>{var Ht;const rt=(Ht=Xt.current)==null?void 0:Ht.instance;if(rt&&hn&&mt){const Ut=rt.onDidBlurEditorWidget(()=>{Vn.current=!1}),vn=rt.onDidFocusEditorText(()=>{Vn.current=!0});return()=>{Ut.dispose(),vn.dispose()}}},[Xt.current,hn,mt]),(0,ne.useEffect)(()=>{var Ht;if((Ht=Xt.current)!=null&&Ht.instance&&hn&&Qt){let rt=Xt.current.instance,Ut=rt.getModel();if(!Ut)return;(()=>{var Kt;let rn=[],Ze=[];const zn=Ut.getAllDecorations();for(let kn of zn)kn.options.className==="highlighted-line"&&(rn.push((Kt=kn==null?void 0:kn.range)==null?void 0:Kt.startLineNumber),Ze.push(kn==null?void 0:kn.id));if(tt===rn[0])return;Ut.deltaDecorations(Ze,[]);const $t=Ut.getLineCount();tt&&tt<=$t&&(rt.deltaDecorations([],[{range:new Ie.Range(tt,1,tt,Ut.getLineMaxColumn(tt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),rt.revealLineInCenter(tt))})();const Pn=(Kt=!1)=>{var rn;let Ze=[],zn=[];const $t=Ut.getAllDecorations();for(let kn of $t)kn.options.linesDecorationsClassName==="breakpoints-select"&&(Ze.push((rn=kn==null?void 0:kn.range)==null?void 0:rn.startLineNumber),zn.push(kn==null?void 0:kn.id));if(Kt)return{lines:Ze,ids:zn};Jt(Ze)},ke=Kt=>ce(void 0,null,function*(){let rn={range:new Ie.Range(Kt,1,Kt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Ut.deltaDecorations([],[rn]),Pn()}),Me=Kt=>ce(void 0,null,function*(){let rn=[];const Ze=rt.getLineDecorations(Kt);for(let zn of Ze)zn.options.linesDecorationsClassName==="breakpoints-select"&&rn.push(zn.id);yield Ut.deltaDecorations(rn,[]),Pn()}),Rt=Kt=>{let rn=rt.getLineDecorations(Kt);for(let Ze of rn)if(Ze.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Lt.isEqual)(xt,Pn(!0).lines)){Ut.deltaDecorations(Pn(!0).ids,[]);const Kt=xt.map(rn=>({range:new Ie.Range(rn,1,rn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Ut.deltaDecorations([],Kt)}const St=rt.onDidChangeModelContent(Kt=>{let rn=rt.getPosition();if(rn){let Ze=rn.lineNumber;clearTimeout(lr.current),lr.current=setTimeout(()=>{Ft(Ut.getLineContent(Ze),Ze)?Me(Ze):Rt(Ze)?(Me(Ze),ke(Ze)):Pn()},100)}}),je=rt.onMouseDown(Kt=>{var rn,Ze,zn;if(Kt.target.detail&&((zn=(Ze=(rn=Kt.target)==null?void 0:rn.element)==null?void 0:Ze.className)!=null&&zn.includes("line-numbers"))){let $t=Kt.target.position.lineNumber;if(Ft(Ut.getLineContent($t),$t))return;Rt($t)?Me($t):ke($t)}}),Bt=Kt=>{let rn={range:new Ie.Range(Kt,1,Kt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Tn.current=rt.deltaDecorations(Tn.current,[rn])},nn=()=>{Tn.current=rt.deltaDecorations(Tn.current,[])},un=rt.onMouseMove(Kt=>{var rn,Ze,zn;if(nn(),Kt.target.detail&&((zn=(Ze=(rn=Kt.target)==null?void 0:rn.element)==null?void 0:Ze.className)!=null&&zn.includes("line-numbers"))){let $t=Kt.target.position.lineNumber;if(Ft(Ut.getLineContent($t),$t))return;Bt($t)}}),xn=rt.onMouseLeave(()=>{nn()});return()=>{St.dispose(),je.dispose(),un.dispose(),xn.dispose()}}},[Xt.current,hn,xt,tt,Qt,z]),(0,ne.useEffect)(()=>{var Ht;(Ht=Xt.current)!=null&&Ht.instance&&Qt&&Xt.current.instance.setPosition({lineNumber:0,column:0})},[tt]);function jt(){let Ht=Xt.current.instance;if(Ht){const rt=Ht.getSelection(),Ut=Xt.current.pastePos||{},vn=new Ie.Range(Ut.startLineNumber||rt.endLineNumber,Ut.startColumn||rt.endColumn,Ut.endLineNumber||rt.endLineNumber,Ut.endColumn||rt.endColumn);setTimeout(()=>{Ht.executeEdits("",[{range:vn,text:""}])},300)}}function vt(Ht){(window.navigator.platform.match("Mac")?Ht.metaKey:Ht.ctrlKey)&&Ht.keyCode==83&&(Ht.preventDefault(),yt())}const At=()=>{if(at&&Xt.current.instance){const Ht=Xt.current.instance.getContentHeight();wn(Ht<ae?ae:Ht)}else wn(ae)};function qt(Ht){var rt=document.createEvent("MouseEvents");rt.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Ht.dispatchEvent(rt)}const sn=Ht=>{if(!Vn.current)return;const{keyCode:rt,ctrlKey:Ut,metaKey:vn,target:Pn,type:ke}=Ht;return(ke==="paste"||(rt===67||rt===86)&&(vn||Ut))&&Pn.nodeName==="TEXTAREA"&&(Bn(),Ht.preventDefault()),!1};function an(Ht,rt){var Ut=window.URL||window.webkitURL||window,vn=new Blob([rt]),Pn=document.createElementNS("http://www.w3.org/1999/xhtml","a");Pn.href=Ut.createObjectURL(vn),Pn.download=Ht,qt(Pn)}(0,ne.useEffect)(()=>{At()},[At]),(0,ne.useEffect)(()=>{cn.current&&!hn&&Promise.all([de.e(8909),de.e(5028)]).then(de.bind(de,71448)).then(Ht=>{try{Ie=Ht,Xt.current.instance=Ie.editor.create(cn.current,{value:ee,language:Ye(z),theme:ye,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0,minimap:{enabled:Ot||!1}},re);const rt=Xt.current.instance;let Pn=[...Xe.BH._menuItems].find(St=>St[0]._debugName=="EditorContext")[1],ke=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Me=(St,je)=>{var Bt,nn;let un=St._first;do je.includes((nn=(Bt=un.element)==null?void 0:Bt.command)==null?void 0:nn.id)&&St._remove(un);while(un=un.next)};if(Wt(rt,Ie),setTimeout(()=>{At(),Xt.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{an(dn||"educoder.txt",rt.getValue())}})},500),Xt.current.subscription=rt.onDidChangeModelContent(St=>{or.current?clearTimeout(vr.current):(At(),It(rt.getValue(),St)),vr.current=setTimeout(()=>{or.current=!1},500)}),window.Monaco||We(Ie,Ye(z)),mt&&(Me(Pn,ke),cn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",sn),window.removeEventListener("paste",sn),window.addEventListener("keydown",sn),window.addEventListener("paste",sn)),window.Monaco=Ie,Oe&&rt.onDidBlurEditorWidget(()=>{Oe(rt.getValue())}),Yt&&rt.onDidFocusEditorText(()=>{mt&&Ct(),Yt(rt.getValue())}),mt){Ct();try{rt.onDidPaste(St=>{const je=rt.getSelection(),Bt=Xt.current.pastePos||{},nn=new Ie.Range(Bt.startLineNumber||je.endLineNumber,Bt.startColumn||je.endColumn,Bt.endLineNumber||je.endLineNumber,Bt.endColumn||je.endColumn);rt.executeEdits("",[{range:St.range,text:""}])})}catch(St){}}let Rt=Rn();return kt&&typeof kt=="string"&&new Ge(kt,rt,Ie),Xn(!0),()=>{const St=Xt.current.instance;St.dispose();const je=St.getModel();je&&je.dispose(),Xt.current.subscription&&Xt.current.subscription.dispose(),Rt.unobserve(cn.current)}}catch(rt){}})},[]),(0,ne.useEffect)(()=>{if(Xt.current.instance&&hn)return document.addEventListener("keydown",vt,!1),()=>{document.removeEventListener("keydown",vt)}},[yt,hn]),(0,ne.useEffect)(()=>{let Ht=Xt.current.instance;if(Ht&&hn){let rt=Ye(z);Ie.editor.setModelLanguage(Ht.getModel(),rt)}},[z,hn]),(0,ne.useEffect)(()=>{Xt.current.instance&&hn&&Ie.editor.setTheme(ye)},[ye,hn]),(0,ne.useEffect)(()=>{let Ht=Xt.current.instance;fn.current=le,Ht&&hn&&(Ht.updateOptions(bt({},le)),setTimeout(()=>{Ht.getModel().updateOptions(bt({},le))},200))},[JSON.stringify(le),hn]),(0,ne.useEffect)(()=>{let Ht=Xt.current.instance;Ht&&hn&&Ht.layout()},[pt,ae,hn]);const[En,Fn]=(0,ne.useState)(ze(pt)),[Mn,wn]=(0,ne.useState)(ze(ae)),pn=ut(bt({},ie),{width:En,height:Mn,position:"relative"});return ne.createElement("div",{className:"my-monaco-editor",ref:cn,style:pn},Et&&ne.createElement(Ne.CopyToClipboard,{text:ee,onCopy:()=>Je.ZP.success("\u590D\u5236\u6210\u529F")},ne.createElement(Ke.Z,{title:"\u590D\u5236\u4EE3\u7801"},ne.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},ne.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function wt({width:Pe="100%",height:lt="100%",original:pt,modified:ae,language:ee,options:z={}}){const ie=(0,ne.useRef)(),[le,re]=(0,ne.useState)(null);function ye(at){let mt;return ie.current&&(mt=new $e.Z(It=>{for(let Wt of It)(Wt.target.offsetHeight>0||Wt.target.offsetWidth>0)&&at.layout()}),mt.observe(ie.current)),mt}(0,ne.useEffect)(()=>(ie.current&&Promise.all([de.e(8909),de.e(9404)]).then(de.bind(de,2550)).then(at=>{Ie=at;const mt=Ie.editor.createDiffEditor(ie.current,ut(bt({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},z),{wordWrap:!0}));re(mt);let It=ye(mt);return()=>{mt.dispose();const Wt=mt.getModel();Wt&&Wt.dispose(),It.unobserve(ie.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,ne.useEffect)(()=>{le&&le.setModel({original:Ie.editor.createModel(pt,ee),modified:Ie.editor.createModel(ae,ee)})},[pt,ae,ee,le]);const Oe=ze(Pe),Et=ze(lt),yt={width:Oe,height:Et};return ne.createElement("div",{className:"my-diff-editor",ref:ie,style:yt})}},929:function(Tt,zt,de){"use strict";de.d(zt,{Z:function(){return ve}});var ne={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},$e=de(29787),Le=de(25399),Re=de(60242),ge=de(92310),me=de.n(ge),Te=de(49661),Ce=de(57884),we=de(34055),he=de(59301),ve=({className:ot,dataSource:We=[],col:De=4,right:Fe,bottom:Be=23,precision:st=0,wrapWidth:ht=1200,trackEventItems:nt,loading:Ge,onRemove:Xe=()=>{},isCurrent:Je=!0,showProgress:Ke=!1,showAlias:Lt=!1})=>{const Ue=Math.floor((ht-(De-1)*Fe)/De),Ne=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return he.createElement($e.Z,{spinning:Ge},he.createElement("div",{className:me()(ne.list,ot)},!!(We!=null&&We.length)&&(We==null?void 0:We.map((et,Ee)=>{var Ve,Se,He,Pt,gt,bt;const{name:ut,id:pe,identifier:ce,featured:ze,school_name:dt,image_url:ct,excellent:be,is_plan:Ye}=et;return he.createElement("div",{key:pe,className:Je&&Ke?ne.wrapisCurrent:ne.wrap,style:{width:Ue,marginRight:(1+Ee)%De===0?0:Fe+st,marginBottom:Be}},he.createElement("a",{className:ne.li,onClick:Ie=>{Ie.preventDefault(),Ie.stopPropagation(),nt&&(0,Te.L9)([nt]),(0,Te.xg)(`/paths/${ce}`)}},he.createElement("div",{className:ne.img},he.createElement("img",{className:ne.cover,src:`${ct}`}),Je&&(0,we.bg)()&&(et==null?void 0:et.studying)&&he.createElement("div",{className:`${ne.movebq} user-path-items`,onClick:Ie=>{Ie.stopPropagation(),Xe(et)}},he.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),he.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Ve=et==null?void 0:et.subject_tags)==null?void 0:Ve.map((Ie,Ct)=>{var qe,wt;if(Ct===0){const lt=(qe=Ne.find(pt=>pt.name==Ie))==null?void 0:qe.swimg;return he.createElement("img",{className:ne.sign,src:lt,style:{left:"-4px"}})}const Pe=(wt=Ne.find(lt=>lt.name==Ie))==null?void 0:wt.ptimg;return he.createElement("img",{className:ne.sign,src:Pe,style:{left:`${48+52*(Ct-1)+2*Ct}px`}})}),he.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(et==null?void 0:et.excellent)&&he.createElement("div",{className:ne.bq},"\u5F00\u653E\u8BFE\u7A0B"))),he.createElement("div",{className:ne.name},he.createElement(Le.Z,{title:Lt&&(et!=null&&et.excellent_alias_name)?he.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${ut}`,he.createElement("br",null),he.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${et==null?void 0:et.excellent_alias_name}`)):ut},he.createElement("span",{className:ne.e},Lt&&(et==null?void 0:et.excellent_alias_name)||ut))),Je&&Ke&&((Se=et==null?void 0:et.progress)==null?void 0:Se.all_score)!=0&&he.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},he.createElement(Re.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((He=et==null?void 0:et.progress)==null?void 0:He.my_score)/((Pt=et==null?void 0:et.progress)==null?void 0:Pt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(gt=et==null?void 0:et.progress)==null?void 0:gt.my_score,"/",(bt=et==null?void 0:et.progress)==null?void 0:bt.all_score),(!Je||!Ke)&&he.createElement(Le.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${dt}`},he.createElement("div",{className:ne.unit},he.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),dt)),(!Je||!Ke)&&he.createElement("div",{className:ne.tags},he.createElement("div",null,he.createElement(Le.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),he.createElement("span",null,et.stages_count))),he.createElement(Le.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},he.createElement("span",null,he.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),he.createElement("span",null,et.members_count)))))))})),!We.length&&he.createElement(Ce.Z,null)))}},71360:function(Tt,zt,de){"use strict";de.d(zt,{jL:function(){return ge},w9:function(){return ze},QD:function(){return ft},cQ:function(){return gt.Z},op:function(){return It},O5:function(){return Zn},_b:function(){return Dt},t7:function(){return st},Gi:function(){return Ct},YG:function(){return Ye},qp:function(){return Qe},vr:function(){return Qt},qE:function(){return Jt},Je:function(){return Ge},wb:function(){return Pt},cq:function(){return ae},tp:function(){return We}});var ne=de(59301),$e={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},Le="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5iSy6I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V1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",ge=({dataSource:Ft=[],img:jt,imgWidth:vt=346,title:At,sunTitle:qt,bannerExtraContent:sn})=>ne.createElement("div",{className:$e.banner},ne.createElement("div",{className:$e.content},ne.createElement("aside",null,ne.createElement("p",null,ne.createElement("b",null,At),ne.createElement("span",null,qt)),Ft.length>0&&ne.createElement("div",{className:$e.btns},Ft.map((an,En)=>ne.createElement("div",{key:En,onClick:an.click},an.name,an.sign?ne.createElement("img",{src:Le,width:39}):null))),sn),jt&&ne.createElement("img",{style:{marginTop:33,marginRight:38},src:jt,width:vt}))),me={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},Te=de(92310),Ce=de.n(Te),we=de(89392),Qe=({dataSource:Ft=[],value:jt,onChange:vt,onTitleChange:At,className:qt,title:sn,titleWidth:an=41,style:En={},fontColor:Fn="#6A7283",showCount:Mn})=>{const[wn,pn]=(0,ne.useState)(0),[Ht,rt]=(0,ne.useState)(!1),Ut=(0,ne.useRef)(null),vn=(0,ne.useRef)(null);return(0,ne.useEffect)(()=>{var Pn;Ft.length!==0&&(((Pn=Ut==null?void 0:Ut.current)==null?void 0:Pn.clientHeight)>97?pn(1):pn(0)),Ft.length===0&&pn(0),rt(!1)},[Ft]),ne.createElement("div",{className:Ce()(me.row,qt),style:En},ne.createElement("div",{onClick:(0,we.throttle)(()=>At==null?void 0:At(),2e3),style:{width:an,marginTop:Ht?12:4},className:`${me.title} ${At?"current":""}`},sn),ne.createElement("div",{className:Ht?`${me.tagsWrap} ${me.tagsBorderWrap}`:me.tagsWrap},ne.createElement("div",{className:me.bar,ref:vn,style:wn>0?{height:wn===1?97:"auto",overflow:wn===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ne.createElement("div",{className:me.tag,ref:Ut},Ft==null?void 0:Ft.map(Pn=>ne.createElement("span",{onClick:()=>vt(Pn.id),key:Pn.id,style:{color:Fn},className:jt===Pn.id?me.active:""},ne.createElement("span",{title:Pn.name,className:me.name},Pn.name),!!Mn&&ne.createElement("span",{className:me.num},Pn.count))))),!!wn&&ne.createElement(ne.Fragment,null,wn===1?ne.createElement("div",{onClick:()=>{var Pn;pn(2),((Pn=Ut==null?void 0:Ut.current)==null?void 0:Pn.clientHeight)>245?rt(!0):rt(!1)},className:me.action},"\u5C55\u5F00",ne.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ne.createElement("div",{onClick:()=>{vn.current.scrollTop=0,pn(1),rt(!1)},className:me.action},"\u6536\u8D77",ne.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ve={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},We=({dataSource:Ft=[],value:jt,onChange:vt,className:At,style:qt={}})=>ne.createElement("div",{style:qt,className:Ce()(ve.tabs,At)},Ft.map(sn=>ne.createElement("span",{onClick:()=>vt(sn.id),className:jt===sn.id?ve.active:"",key:sn.id},sn.name))),De={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},Fe=de(37568),st=({dataSource:Ft=[],value:jt="",onChange:vt,onInputChange:At=()=>{},className:qt,style:sn={},placeholder:an,allowClear:En=!1})=>{var Fn;const[Mn,wn]=(0,ne.useState)(""),[pn,Ht]=(0,ne.useState)("");(0,ne.useEffect)(()=>{var vn;let Pn=jt;(vn=JSON.stringify(jt))!=null&&vn.includes("{")&&(wn(jt.id),Pn=jt.value||"");try{Ht(decodeURIComponent(Pn||""))}catch(ke){Ht(decodeURIComponent(Pn||""))}},[jt]);const rt=()=>{vt(encodeURIComponent(pn),Mn||null)},Ut=vn=>{vn!==Mn&&(wn(vn),vt(encodeURIComponent(pn),vn))};return ne.createElement("div",{className:Ce()(De.input,qt),style:sn},!!Ft.length&&ne.createElement("div",{className:De.dropdown},ne.createElement("div",{className:De.text},(Fn=Ft.find(vn=>vn.id===Mn))==null?void 0:Fn.name,ne.createElement("i",{className:"iconfont icon-zhankai4"}),ne.createElement("b",{className:De.b1}),ne.createElement("b",{className:De.b2})),ne.createElement("div",{className:De.menu},Ft.map((vn,Pn)=>ne.createElement("div",{key:Pn,onClick:()=>Ut(vn.id)},vn.name)))),ne.createElement(Fe.default,{onPressEnter:rt,value:pn,onChange:vn=>{Ht(vn.target.value),At(encodeURIComponent(vn.target.value),Mn||null)},placeholder:an,variant:"borderless",allowClear:En,onClear:()=>vt("",Mn||null)}),ne.createElement("i",{onClick:rt,className:"iconfont icon-sousuo9 font14 current"}))},ht={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Ge=({value:Ft,onChange:jt,className:vt,total:At,pageSize:qt,style:sn={}})=>{const an=Ft<2,En=Ft>=Math.ceil(At/qt);return At<=qt?ne.createElement(ne.Fragment,null):ne.createElement("div",{className:Ce()(ht.quickPager,vt),style:sn},ne.createElement("div",{onClick:()=>{an||jt(Ft-1,"prev")},className:an?ht.disabled:""},"\u4E0A\u4E00\u9875"),ne.createElement("div",{onClick:()=>{En||jt(Ft+1,"next")},className:En?ht.disabled:""},"\u4E0B\u4E00\u9875"))},Xe={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Je=de(29787),Ke=de(25399),Lt=de(58018),Ue=de(90524),Ne=de(49661),et=de(96908),Ee=de(57177),Ve=de(81378),Se=de(57884),Pt=({className:Ft,dataSource:jt=[],col:vt=4,right:At,bottom:qt=23,precision:sn=0,wrapWidth:an=1200,trackEventItems:En,loading:Fn})=>{const Mn=Math.floor((an-(vt-1)*At)/vt);return ne.createElement(Je.Z,{spinning:Fn},ne.createElement("div",{className:Ce()(Xe.list,Ft)},!!jt.length&&jt.map((wn,pn)=>{const{name:Ht,id:rt,identifier:Ut,power:vn,cover_image_id:Pn,pic:ke}=wn;return ne.createElement("div",{className:Xe.wrap,key:rt,style:{width:Mn,marginRight:(1+pn)%vt===0?0:At+sn,marginBottom:qt}},ne.createElement("a",{target:"_blank",href:`/shixuns/${Ut}/challenges`,className:Xe.li,onClick:Me=>{Me.preventDefault(),En&&(0,Ne.L9)([En]),vn&&(0,Ne.xg)(`/shixuns/${Ut}/challenges`)}},ne.createElement("div",{className:Xe.img},ne.createElement("img",{className:Xe.cover,src:`${ke}`}),wn.is_jupyter&&ne.createElement("img",{className:Xe.sign,src:et}),wn.is_jupyter_lab&&ne.createElement("img",{className:Xe.sign,src:Ee}),wn.is_unity_3d&&ne.createElement("img",{className:Xe.sign,src:Ve})),ne.createElement("div",{className:Xe.name},ne.createElement(Ke.Z,{title:Ht||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ne.createElement("span",{className:Xe.e},Ht||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ne.createElement("div",{className:Xe.tags},ne.createElement(Ke.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ne.createElement("span",null,wn.challenges_count))),!!wn.myshixuns_count&&ne.createElement(Ke.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ne.createElement("span",null,ne.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ne.createElement("span",null,wn.myshixuns_count))),ne.createElement(Ke.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ne.createElement("span",null,ne.createElement("span",null,wn.level))),ne.createElement("div",{className:Xe.rate},ne.createElement(Lt.Z,{allowHalf:!0,disabled:!0,defaultValue:wn.score_info}),ne.createElement("span",null,"\xA0",wn.score_info?`${wn.score_info}\u5206`:"5\u5206")))),!vn&&ne.createElement("div",{className:Xe.lockWrap},ne.createElement("img",{src:`${Ue.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ne.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!jt.length&&ne.createElement(Se.Z,null)))},gt=de(929),bt={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},ut="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiLyZj7v+s2BgArBjA+XzpzR7oq8x880ouQK/7JqKnFfiziUT0iV731aj9ZQeYmYez+fJXiOguZl72/ldkkYmYmb+eSkT+lIjOLOcYlm2BBcx8sfoJz+O/BHhkOSe5evqiaaXoTxIx55tExMsxrmUBOJ/njVVUvgvmW5djUqu+D6JHHbgfTSRostdj7TnAuWLlDq/K37pwqXYxCGlaOfRbyZh7Xy9B7hnAzOzmCpUvA/jDC2WvbReogE3/TTLufo6IKu0+38r9PQE4n+f1VVS+B+ZbWhnEBX8P0Q4H7gcTCZqyvRbWARZHQLlavp8ZG20P9rXcHhEmI07kdtsODasA5/OlX6gy/dfF/bbTV5GmHeL3JBLRxzttof45awCLRY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9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",pe=de(59301),ze=({className:Ft,dataSource:jt=[],col:vt=4,right:At,bottom:qt=23,precision:sn=0,wrapWidth:an=1200,trackEventItems:En,loading:Fn,handleVery:Mn=()=>!0})=>{const wn=Math.floor((an-(vt-1)*At)/vt);return pe.createElement(Je.Z,{spinning:Fn},pe.createElement("div",{className:Ce()(bt.list,Ft)},!!jt.length&&jt.map((pn,Ht)=>{const{subject_identifier:rt,id:Ut,identifier:vn,power:Pn}=pn,ke=pn.is_public!=0&&pn.is_public;return pe.createElement("div",{className:bt.wrap,key:Ut,style:{width:wn,marginRight:(1+Ht)%vt===0?0:At+sn,marginBottom:qt}},pe.createElement("a",{className:bt.li,onClick:Me=>{Me.preventDefault(),Mn(pn==null?void 0:pn.first_category_url)&&(En&&(0,Ne.L9)([En]),(0,Ne.xg)(pn.first_category_url))}},pe.createElement("div",{className:bt.top},pe.createElement(Ke.Z,{title:pn.name},pe.createElement("div",{className:bt.name},pn.name)),pe.createElement("img",{className:bt.img,src:Ue.Z.IMG_SERVER+"/images/"+pn.avatar_url}),pe.createElement("div",{className:bt.text,title:pn.creator},pn.creator),rt&&pe.createElement("div",{className:bt.btns},pe.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),pe.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),ke&&pe.createElement("div",{className:bt.sign},"\u516C\u5F00")),pe.createElement("div",{className:bt.bottom},pn.visits>0&&pe.createElement(Ke.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},pe.createElement("span",null,pe.createElement("i",{className:"iconfont icon-liulanyan"}),pe.createElement("span",null,pn.visits))),pn.course_members_count>0&&pe.createElement(Ke.Z,{title:"\u6210\u5458",placement:"bottom"},pe.createElement("span",null,pe.createElement("i",{className:"iconfont icon-chengyuan"}),pn.course_members_count)),pn.tasks_count>0&&pe.createElement(Ke.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},pe.createElement("span",null,pe.createElement("i",{className:"iconfont icon-zuoye"}),pn.tasks_count)),pn.is_end?pe.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):pe.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!pn.is_accessible&&pe.createElement("div",{className:bt.lockWrap},pe.createElement("img",{src:`${Ue.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),pe.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!jt.length&&pe.createElement(Se.Z,null)))},dt={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},ct=de(76560),Ye=({dataSource:Ft=[],value:jt,onChange:vt,className:At,style:qt={},tabBarExtraContent:sn})=>ne.createElement("div",{className:Ce()(dt.tabs,At),style:qt},ne.createElement("div",{className:dt.tabsWrap},Ft.map((an,En)=>!(an!=null&&an.hide)&&ne.createElement("aside",{className:dt.tab,onClick:()=>{vt(an.id),an.link&&ct.history.push(an.link)},key:En},ne.createElement("div",{className:jt===an.id?dt.active:""},an.name),(an==null?void 0:an.resetCount)==null&&(an==null?void 0:an.total)!==void 0&&ne.createElement("span",null,"\uFF08",an==null?void 0:an.total,"\uFF09"),(an==null?void 0:an.resetCount)!==void 0&&(an==null?void 0:an.total)!==void 0&&ne.createElement(Ke.Z,{title:(an==null?void 0:an.tip)!=null?an==null?void 0:an.tip:""},ne.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ne.createElement("span",{style:{color:"#000"}},an==null?void 0:an.resetCount),"/",ne.createElement("span",null,an==null?void 0:an.total),"\uFF09"))))),ne.createElement("div",{className:dt.tabBar},sn)),Ct=({className:Ft,style:jt={},children:vt})=>ne.createElement("div",{className:Ce()(Ft),style:jt},vt),qe={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},wt=de(75727),Pe=de(93041);const lt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ae=({sortValue:Ft,dropValue:jt,className:vt,onSort:At,onDrop:qt,dataSource:sn=lt})=>{var an;return ne.createElement("div",{className:Ce()(qe.orderWrap,vt)},ne.createElement(wt.Z,{dropdownRender:()=>ne.createElement(Pe.default,null,sn.map((En,Fn)=>ne.createElement(Pe.default.Item,{key:Fn,onClick:()=>qt(En.id)},En.name)))},ne.createElement("span",{className:qe.orderTextWrap},(an=sn.find(En=>jt===En.id))==null?void 0:an.name)),ne.createElement("span",{className:qe.orderIconWrap},ne.createElement("span",{className:qe.orderAsc},ne.createElement("i",{className:Ft==="asc"?`iconfont icon-sanjiaoxing-up font12 ${qe.cursorPointer} ${qe.active}`:`iconfont icon-sanjiaoxing-up font12 ${qe.cursorPointer}`,onClick:()=>At(Ft==="asc"?"desc":"asc")})),ne.createElement("span",{className:qe.orderDesc},ne.createElement("i",{className:Ft==="desc"?`iconfont icon-sanjiaoxing-down font12 ${qe.cursorPointer} ${qe.active}`:`iconfont icon-sanjiaoxing-down font12 ${qe.cursorPointer}`,onClick:()=>At(Ft==="asc"?"desc":"asc")}))))},ee={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},z=de(99571),ie=Object.defineProperty,le=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,Oe=(Ft,jt,vt)=>jt in Ft?ie(Ft,jt,{enumerable:!0,configurable:!0,writable:!0,value:vt}):Ft[jt]=vt,Et=(Ft,jt)=>{for(var vt in jt||(jt={}))re.call(jt,vt)&&Oe(Ft,vt,jt[vt]);if(le)for(var vt of le(jt))ye.call(jt,vt)&&Oe(Ft,vt,jt[vt]);return Ft},yt=(Ft,jt)=>{var vt={};for(var At in Ft)re.call(Ft,At)&&jt.indexOf(At)<0&&(vt[At]=Ft[At]);if(Ft!=null&&le)for(var At of le(Ft))jt.indexOf(At)<0&&ye.call(Ft,At)&&(vt[At]=Ft[At]);return vt},at=(Ft,jt,vt)=>new Promise((At,qt)=>{var sn=Fn=>{try{En(vt.next(Fn))}catch(Mn){qt(Mn)}},an=Fn=>{try{En(vt.throw(Fn))}catch(Mn){qt(Mn)}},En=Fn=>Fn.done?At(Fn.value):Promise.resolve(Fn.value).then(sn,an);En((vt=vt.apply(Ft,jt)).next())}),It=Ft=>{var jt=Ft,{className:vt,style:At,children:qt,loading:sn=!1,openLoading:an,onClick:En=()=>{},size:Fn="middle",shape:Mn="round"}=jt,wn=yt(jt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[pn,Ht]=(0,ne.useState)(!1);return ne.createElement(z.ZP,Et({onClick:(0,we.throttle)(rt=>at(void 0,null,function*(){an&&Ht(!0);try{yield En(rt)}catch(Ut){console.log("error",Ut)}an&&Ht(!1)}),2e3,{leading:!0,trailing:!1}),className:Ce()(ee.btn,ee[`${Fn}-${Mn}`],vt),style:At,size:Fn,shape:Mn,loading:pn||sn},wn),qt)},Wt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Jt=({className:Ft,style:jt,children:vt=null,onClick:At,title:qt})=>ne.createElement("div",{className:Ce()(Wt.head,Ft),style:jt},ne.createElement("span",{className:"primary-hover",onClick:At},ne.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ne.createElement("b",{title:qt},qt),ne.createElement("div",{className:Wt.node},vt)),xt={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},ft=({confirmShow:Ft=!0,confirmTitle:jt,confirmClick:vt,cancelShow:At=!0,cancelTitle:qt,cancelClick:sn,className:an,style:En,confirmLoading:Fn=!1})=>ne.createElement("div",{className:Ce()(xt.btns,an),style:En},Ft&&ne.createElement(z.ZP,{loading:Fn,onClick:vt,type:"primary",className:xt.confirm},jt),At&&ne.createElement(z.ZP,{onClick:sn,className:xt.cancel},qt)),Nt={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Qt=({className:Ft,style:jt={},LeftContent:vt,children:At,RightContent:qt})=>ne.createElement("div",{className:Ce()(Nt.fixedBottom,Ft),style:jt},ne.createElement("div",{className:Nt.wrap},ne.createElement("div",{className:Nt.left},vt),ne.createElement("div",{className:Nt.center},At),ne.createElement("div",{className:Nt.right},qt))),kt={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Dt=({className:Ft,style:jt={},dataSource:vt=[]})=>ne.createElement("div",{className:Ce()(kt.crumbs,Ft),style:jt},vt.map((At,qt)=>qt<vt.length-1?ne.createElement(ne.Fragment,{key:qt},At.path||At.onClick?ne.createElement("span",{className:kt.hover,onClick:At!=null&&At.onClick?At.onClick:()=>ct.history.push(At.path)},At.name):ne.createElement("span",null,At.name),ne.createElement("span",null,"\xA0",">","\xA0")):ne.createElement("span",{key:qt,style:{color:"#5F6368"}},At.name))),cn=de(11938),Xt=Object.defineProperty,fn=Object.defineProperties,Nn=Object.getOwnPropertyDescriptors,Tn=Object.getOwnPropertySymbols,or=Object.prototype.hasOwnProperty,vr=Object.prototype.propertyIsEnumerable,lr=(Ft,jt,vt)=>jt in Ft?Xt(Ft,jt,{enumerable:!0,configurable:!0,writable:!0,value:vt}):Ft[jt]=vt,Vn=(Ft,jt)=>{for(var vt in jt||(jt={}))or.call(jt,vt)&&lr(Ft,vt,jt[vt]);if(Tn)for(var vt of Tn(jt))vr.call(jt,vt)&&lr(Ft,vt,jt[vt]);return Ft},hn=(Ft,jt)=>fn(Ft,Nn(jt)),Xn=(Ft,jt)=>{var vt={};for(var At in Ft)or.call(Ft,At)&&jt.indexOf(At)<0&&(vt[At]=Ft[At]);if(Ft!=null&&Tn)for(var At of Tn(Ft))jt.indexOf(At)<0&&vr.call(Ft,At)&&(vt[At]=Ft[At]);return vt};const{Countdown:Rn}=cn.default;var Zn=Ft=>{var jt=Ft,{onChange:vt}=jt,At=Xn(jt,["onChange"]);const[qt,sn]=(0,ne.useState)(null);(0,ne.useEffect)(()=>{typeof qt=="number"&&qt>=0&&vt(qt)},[qt]);const an=En=>{const Fn=Math.floor(En/1e3);sn(Fn)};return ne.createElement(Rn,hn(Vn({},At),{onChange:an}))}},17904:function(Tt,zt,de){"use strict";de.d(zt,{Z:function(){return $e}});var ne=de(59301);function $e(Le,Re){const ge=(0,ne.useRef)();(0,ne.useEffect)(()=>{ge.current=Le}),(0,ne.useEffect)(()=>{function me(){ge.current()}if(Re!==null){let Te=setInterval(me,Re);return()=>clearInterval(Te)}},[Re])}},53794:function(Tt,zt,de){"use strict";de.d(zt,{Z:function(){return ge}});var ne=de(59301),$e={label:"label___CZ1_z",left:"left___ZKFRV",right:"right___zVTRn",error:"error___oNJNo"},Le=de(25399),ge=({name:me,tooltipTitle:Te,children:Ce,required:we,errorKey:he,errorValue:Qe,errorName:ve,errorStyle:ot={},nameWidth:We=112,align:De="center",contentStyle:Fe={}})=>ne.createElement(ne.Fragment,null,ne.createElement("div",{className:$e.label,style:{alignItems:De}},ne.createElement("div",{className:$e.left,style:{width:We}},we&&ne.createElement("span",null,"*"),ne.createElement("div",null,me),!!Te&&ne.createElement(Le.Z,{title:Te},ne.createElement("i",{className:"iconfont icon-xiaowenhao2"}))),ne.createElement("div",{className:$e.right,style:Fe},Ce,ve&&Qe===he&&ne.createElement("div",{className:$e.error,style:ot},ve))))},2312:function(Tt,zt,de){"use strict";de.d(zt,{Z:function(){return me}});var ne=de(59301),$e={mirrorModal:"mirrorModal___Pi3tF",right:"right___Hot5f",title:"title___jjMKh",content:"content___BmOkD",des:"des___oGTUM",modal:"modal___yy3VB"},Le=de(62957),Re=de(38394),me=({title:Te,children:Ce,value:we})=>{const[he,Qe]=(0,ne.useState)(!1);return ne.createElement(ne.Fragment,null,ne.createElement("span",{onClick:()=>Qe(!0)},Ce),ne.createElement(Le.default,{title:Te,open:he,width:1e3,destroyOnClose:!0,centered:!0,onCancel:()=>Qe(!1),className:$e.modal,footer:null},typeof we=="string"&&ne.createElement(Re.Z,{value:we||""}),Object.prototype.toString.call(we)==="[object Array]"&&ne.createElement(ne.Fragment,null,we==null?void 0:we.map((ve,ot)=>ne.createElement("div",{key:ot},ne.createElement("b",null,ve.name||ve.type_name),ne.createElement(Re.Z,{value:ve.description||""}))))))}},88195:function(Tt,zt,de){"use strict";de.d(zt,{Z:function(){return ht}});var ne=de(59301),$e=de(76560),Le=de(37568),Re=de(28284),ge=de(62957),me=de(6767),Te=de(14566),Ce=de(99571),we=de(90524),he=de(55351),Qe={flexRow:"flexRow___JBN3B",flexColumn:"flexColumn___zXgFj",formWrap:"formWrap___aNgan",upload:"upload___yGdLQ",color0152d9:"color0152d9___zzEpS",colorCCC:"colorCCC___k4Dxq",footerWrap:"footerWrap___WrUZd",qrCode:"qrCode___GPwSg",a1:"a1___R6etl",code:"code___fCL_L",group:"group___n7tgy",groupNumber:"groupNumber___tw7hA",a2:"a2___GGjDE"},ve=Object.getOwnPropertySymbols,ot=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable,De=(nt,Ge)=>{var Xe={};for(var Je in nt)ot.call(nt,Je)&&Ge.indexOf(Je)<0&&(Xe[Je]=nt[Je]);if(nt!=null&&ve)for(var Je of ve(nt))Ge.indexOf(Je)<0&&We.call(nt,Je)&&(Xe[Je]=nt[Je]);return Xe},Fe=(nt,Ge,Xe)=>new Promise((Je,Ke)=>{var Lt=et=>{try{Ne(Xe.next(et))}catch(Ee){Ke(Ee)}},Ue=et=>{try{Ne(Xe.throw(et))}catch(Ee){Ke(Ee)}},Ne=et=>et.done?Je(et.value):Promise.resolve(et.value).then(Lt,Ue);Ne((Xe=Xe.apply(nt,Ge)).next())});const Be=Le.default.TextArea,st=nt=>{var Ge=nt,{newShixuns:Xe,globalSetting:Je,loading:Ke,dispatch:Lt}=Ge,Ue=De(Ge,["newShixuns","globalSetting","loading","dispatch"]);const[Ne]=Re.default.useForm(),[et,Ee]=(0,ne.useState)([]),Ve=bt=>{["uploading","done","removed"].includes(bt.file.status)&&Ee(bt.fileList)},Se=bt=>{var ut;if(!bt.percent||bt.percent==100){const pe=(ut=bt.response)==null?void 0:ut.id;return ge.default.confirm({centered:!0,title:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u9644\u4EF6\u5417?",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Fe(void 0,null,function*(){(yield Lt({type:"newShixuns/deleteAttachment",payload:{id:pe}}))&&Ee(et.filter(ze=>{var dt;return((dt=ze.response)==null?void 0:dt.id)!==pe}))})}),!1}},He=bt=>et.length?!1:bt.size/1024/1024>50?(me.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0,Pt=bt=>Fe(void 0,null,function*(){var ut,pe;const{language:ce,env:ze,mode:dt,code:ct}=bt||{},be=yield Lt({type:"newShixuns/applyShixunMirror",payload:{language:ce,runtime:ze,run_method:dt,attachment_id:(pe=(ut=et==null?void 0:et[0])==null?void 0:ut.response)==null?void 0:pe.id}});Lt({type:"newShixuns/setActionTabs",payload:{}}),be&&me.ZP.success("\u65B0\u5EFA\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u7BA1\u7406\u5458\u5BA1\u6838\u3002")}),gt=()=>{Ne.resetFields(),Ee([])};return ne.createElement(ge.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:Xe.actionTabs.key==="NewShixuns-Apply",title:"\u7533\u8BF7\u65B0\u5EFA",width:"1000px",footer:null,afterClose:gt},ne.createElement("section",{className:Qe.qrCode},ne.createElement("aside",{className:Qe.a1},ne.createElement("div",{className:Qe.code},ne.createElement("img",{width:120,height:120,src:he,alt:"\u4E8C\u7EF4\u7801"})),ne.createElement("div",{className:Qe.group},"\u5B9E\u9A8C\u73AF\u5883\u7533\u8BF7QQ\u7FA4"),ne.createElement("div",{className:Qe.groupNumber},"\u7FA4\u53F7\uFF1A740157011")),ne.createElement("aside",{className:Qe.a2},"\u5C0A\u656C\u7684\u8001\u5E08/\u540C\u5B66\u60A8\u597D\uFF0C",ne.createElement("br",null),"\u5982\u679C\u60A8\u60F3\u65B0\u5EFA\u5B9E\u9A8C\u73AF\u5883\uFF0C\u53EF\u4EE5\u626B\u63CF\u5DE6\u4FA7\u4E8C\u7EF4\u7801\u8FDB\u7FA4\uFF0C\u76F4\u63A5\u5411\u6211\u4EEC\u7684\u5DE5\u4F5C\u4EBA\u5458\u7533\u8BF7\u54E6~ \u4E5F\u53EF\u4EE5\u63D0\u4EA4\u4E0B\u9762\u7684\u8868\u5355\u7533\u8BF7\uFF0C\u6211\u4EEC\u7684\u5DE5\u4F5C\u4EBA\u5458\u6536\u5230\u7533\u8BF7\u4FE1\u606F\u5C06\u4F1A\u7B2C\u4E00\u65F6\u95F4\u8054\u7CFB\u60A8\uFF01")),ne.createElement(Re.default,{className:Qe.formWrap,form:Ne,labelCol:{span:4},wrapperCol:{span:20},onFinish:Pt},ne.createElement(Re.default.Item,{label:"\u8BED\u8A00\uFF1A",name:"language",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00"}]},ne.createElement(Be,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48\u8BED\u8A00\uFF1A\u793A\u4F8B\uFF1APython",rows:4})),ne.createElement(Re.default.Item,{label:"\u7CFB\u7EDF\u73AF\u5883\uFF1A",name:"env",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00\u7CFB\u7EDF\u73AF\u5883"}]},ne.createElement(Be,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48linux\u7CFB\u7EDF\u73AF\u5883,\u4EE3\u7801\u8FD0\u884C\u73AF\u5883",rows:4})),ne.createElement(Re.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F\uFF1A",name:"mode",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F"}]},ne.createElement(Be,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u4E2D\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F",rows:4})),ne.createElement(Re.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\uFF1A",name:"code",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},ne.createElement("div",{className:Qe.upload},ne.createElement(Te.default,{fileList:et,action:`${we.Z.API_SERVER}/api/attachments.json?client_key=6d57f8c3dd186c5ada392546ace9620a`,onChange:Ve,onRemove:Se,beforeUpload:He,withCredentials:!0},ne.createElement("span",{className:`${Qe.color0152d9} current`},"\u4E0A\u4F20\u9644\u4EF6"),ne.createElement("span",{className:`${Qe.colorCCC} ml10`},"(\u5355\u4E2A\u6587\u4EF650M\u4EE5\u5185)")))),ne.createElement("div",{className:Qe.footerWrap},ne.createElement(Re.default.Item,null,ne.createElement(Ce.ZP,{className:"mr5",size:"middle",onClick:()=>{Lt({type:"newShixuns/setActionTabs",payload:{}})}},"\u53D6\u6D88"),ne.createElement(Ce.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:Ke["newShixuns/applyShixunMirror"]},"\u4FDD\u5B58")))))};var ht=(0,$e.connect)(({newShixuns:nt,loading:Ge,globalSetting:Xe})=>({newShixuns:nt,globalSetting:Xe,loading:Ge.effects}))(st)},84722:function(Tt,zt,de){"use strict";var ne=de(59301),$e=de(76560),Le=de(62957),Re=de(55351);const ge=({newShixuns:me,dispatch:Te,user:Ce})=>{var we;const[he,Qe]=(0,ne.useState)(!1);(0,ne.useEffect)(()=>{me.actionTabs.key==="Create-Environment"&&ot()},[(we=me==null?void 0:me.actionTabs)==null?void 0:we.key]);const ve=()=>{Te({type:"newShixuns/setActionTabs",payload:{}})},ot=()=>{var We,De,Fe,Be;ve(),((We=Ce.userInfo)==null?void 0:We.mirror_marker_status)===0?Qe(!0):((De=Ce.userInfo)==null?void 0:De.mirror_marker_status)===1?$e.history.push(`/users/${(Fe=Ce.userInfo)==null?void 0:Fe.login}/experiment-img/add`):((Be=Ce.userInfo)==null?void 0:Be.mirror_marker_status)===2&&Le.default.confirm({title:"\u60A8\u4ECA\u65E5\u5DF2\u8FBE\u5230\u7533\u8BF7\u4E0A\u9650\uFF0C\u662F\u5426\u8DF3\u8F6C\u81F3\u4E91\u4E3B\u673A\u5217\u8868\uFF1F",content:"\u63D0\u793A\uFF1A\u6BCF\u5929\u6700\u591A\u5141\u8BB8\u7533\u8BF7\u4E00\u53F0\u4E91\u4E3B\u673A",okText:"\u8DF3\u8F6C",cancelText:"\u53D6\u6D88",onOk(){var st;$e.history.push(`/users/${(st=Ce.userInfo)==null?void 0:st.login}/experiment-img`)}})};return ne.createElement(Le.default,{title:"\u52A0\u5165qq\u7FA4\u63D0\u793A",open:he,footer:null,onCancel:()=>{Qe(!1)}},ne.createElement("div",{style:{textAlign:"center"}},ne.createElement("br",null),ne.createElement("img",{width:120,height:120,style:{marginTop:"20px"},src:Re,alt:"\u4E8C\u7EF4\u7801"})),ne.createElement("img",null))};zt.Z=(0,$e.connect)(({newShixuns:me,user:Te,globalSetting:Ce})=>({newShixuns:me,globalSetting:Ce,user:Te}))(ge)},98216:function(Tt,zt,de){"use strict";de.r(zt),de.d(zt,{default:function(){return ee}});var ne=de(59301),$e=de(76560),Le=de(6767),Re=de(62957),ge=de(25399),me=de(99571),Te=de(77019),Ce=de(37568),we=de(73835),he=de(2978),Qe=de(82093),ve={wrap:"wrap___ONdsC",content:"content___N0LEk",crumbs:"crumbs___ZMtFD",title:"title___zwDOY",upload:"upload___MSuSG",btn:"btn___VpNOC",activeBtn:"activeBtn___WARNi",head:"head___G0LuH",add:"add___ThO12",addDisable:"addDisable___ykVne",setting:"setting___ACQW6",tabs:"tabs___kF5MC",name:"name___APZDD",active:"active___hzqus",line:"line___DAGKO",resource:"resource___Gveup",mirror:"mirror___IBeiQ",interface:"interface___pzUyA",disabled:"disabled___d4p_T",port:"port___vS58L",grade:"grade___4_rtU",tabsBox:"tabsBox___DfBD9",tabTitle:"tabTitle___yxNTA",more:"more___hoice",system:"system___utj75",explain:"explain___ecqpL",btns:"btns___MTI71",template:"template___xdQbN",liWrap:"liWrap___z55nC",li:"li___GcxuL",tag:"tag___xVpLK",cpuWrap:"cpuWrap___Wi43O",activebtn:"activebtn___UamsA",activeTab:"activeTab___fzQvD",tab:"tab___UNT6N",disabledBtn:"disabledBtn___maLgB",doc:"doc___gT07l"},ot=de(53794),We=de(71360),De=de(584),Fe=de(67135),Be=de(36723),st=de(38394),ht=de(95887),nt={mirrorModal:"mirrorModal___Or3Fz",right:"right___dmM3o",title:"title___qvx5b",content:"content___bgacR",des:"des___tTuzA",btns:"btns___AAZk3",confirm:"confirm___NIDd7",cancel:"cancel___oCK9D",modal:"modal___zo5el"},Ge=de(88195),Xe=de(84722),Je=(z,ie,le)=>new Promise((re,ye)=>{var Oe=at=>{try{yt(le.next(at))}catch(mt){ye(mt)}},Et=at=>{try{yt(le.throw(at))}catch(mt){ye(mt)}},yt=at=>at.done?re(at.value):Promise.resolve(at.value).then(Oe,Et);yt((le=le.apply(z,ie)).next())});const Ke=({newShixuns:z,user:ie,dispatch:le,tab_type:re,visible:ye,onOk:Oe,onCancel:Et,useId:yt=null,identifier:at,shixun_environment_id:mt})=>{var It,Wt;const[Yt,Jt]=(0,ne.useState)(null),[xt,dn]=(0,ne.useState)({}),[ft,Nt]=(0,ne.useState)(""),{environmentData:tt}=z,{frequence_image:Qt=[],environments:kt=[],other_image:Ot=[]}=tt,{name:Dt,description:cn}=xt;(0,ne.useEffect)(()=>{ye&&(le({type:"newShixuns/getEnvironmentData",payload:{is_create_mirror:1,tab_type:re}}),Nt(""),Jt(yt))},[ye,yt]),(0,ne.useEffect)(()=>{z.actionTabs.key==="NewShixuns-Apply"&&Et()},[(It=z==null?void 0:z.actionTabs)==null?void 0:It.key]),(0,ne.useEffect)(()=>{Yt!==null&&Xt()},[Yt]);const Xt=()=>Je(void 0,null,function*(){const fn=yield(0,Fe.Q1)({mirror_repository_id:Yt,identifier:at,shixun_environment_id:mt});dn(fn.data)});return ne.createElement(ne.Fragment,null,ne.createElement(Re.default,{title:"\u9009\u62E9\u5B9E\u9A8C\u955C\u50CF",open:ye,width:1e3,destroyOnClose:!0,centered:!0,onCancel:Et,className:nt.modal,footer:null},ne.createElement("div",{className:nt.mirrorModal},ne.createElement(ht.Z,{dispatch:le,value:Yt,data:kt,otherData:Ot,tags:Qt,onChange:fn=>Jt(fn),onSearchWord:fn=>Nt(fn),hiddenCreateOnline:!0,tab_type:re,is_create_mirror:1}),ne.createElement("div",{className:nt.right},ne.createElement("header",null,ne.createElement("div",{className:nt.title},"\u5B9E\u9A8C\u73AF\u5883:\xA0",ne.createElement("span",{dangerouslySetInnerHTML:{__html:Yt===null?"\u2014 \u2014":(Wt=Dt||"")==null?void 0:Wt.replace(new RegExp(ft==null?void 0:ft.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>')}}))),ne.createElement("div",{className:nt.content},Yt===null&&ne.createElement(De.Z,{image:Be,description:"\u8BF7\u9009\u62E9\u5B9E\u9A8C\u73AF\u5883"}),Yt!==null&&ne.createElement("div",{className:nt.des},ne.createElement(st.Z,{value:cn,highlightKeywords:ft})),ne.createElement("div",{className:nt.btns},ne.createElement(me.ZP,{onClick:()=>{Jt(null),dn({}),Et()},className:nt.cancel},"\u53D6\u6D88 "),ne.createElement(me.ZP,{onClick:()=>{Oe(xt)},className:nt.confirm,type:"primary"},"\u4FDD\u5B58 ")))))),ne.createElement(Ge.Z,null),ne.createElement(Xe.Z,null))};var Lt=(0,$e.connect)(({newShixuns:z,globalSetting:ie,user:le})=>({newShixuns:z,globalSetting:ie,user:le}))(Ke),Ue=de(2312),Ne="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAABACAYAAABGHBTIAAAAAXNSR0IArs4c6QAABlFJREFUaEPtm2lsVFUUx3/nzUxHNsFqqXFvpcOqKEhLTIghkUSN0UT5YPADicagQRA1iiIKJu5RkbD4waAkJsbli7hEo8YYF2IpCCEE2oHGFlnaAQst7TDtzLxjXqHY0lnuG2dLnPtx3v+ce37n3HfenftmhCyP1apWx/r2JSryIFAl6D4R6621i8d/kuWpMnInGVmlMFq6of1dtfXh8yWWxRNrF1+6JtvzufWXVeBlG45PjtuxvYmCEOgtL6ssX71Iwm6DzKbeNfCyDaEb1NZrEwWhlsxR234sWYBiyXKxaU503S5j17pFlQmvFRR4yfq2dpTx2QzijC/5Yd2SynnZ9zvUY3+Fu8J6MzYTEdJWfOX7oTWKXpjtwLwe2friwvGb0vpVbAt2jR4tu9JqEwikK6yv2jbPmBqv2hw6ZauOMdWb6kb4rT9WLKiYYaoX4dGxo2SDqX5AJye7tQswBigaYNg3drRMyQRY3RjlCvgCv/XHcy4qjHBo3Ci50k3s/Z3iZLe6An5hc+iEql7kdqJ0+pF+a8ezCypmptOdu54v4D0tvbsOtvd1GgdmKJxWfcElV1X4phrKyVuFjQPKtTBfFc41h7H/ErBZqlw3LTO3eVCVKmyW5FKFzfJUBKrSkjYrQmlJm+WpCFS5WNI9vbQ2t2mL2vkH9HrgmkqpGeXnsoSz5wL4i212Yzyuk/KPe2ZGv1923DHDSvyFIhfAW363D9uqlxcK2OeVxjtnWYkTXgI2K0vKLv2/q/CX2+29sai6PkYxy3V61Qg/DbfN8MzKW9OK9NHWelwPYOPqVC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8KIB/368XogRRKgcHem5nZbRQzogERqriH2IihBBqZtdIV1EAO8E1BPXWOHxLlhuoCM437LvrAvLV2YS4SF+Opdua9CEbNkLqZ66bMERYWheQdQM2RVPhgYAagjrPhs/UaUr/YQhE1eLx2TVD//lSdMAOo7MvjvexRSHTtxMtlof7ayfIkO/SRbekBxd0u6ovHmQRwlOqXGVY7CNYvDJmAu9NFUl4YFSUFR4Mp6qyrZm5YnO7Qp1CNVCO9p8/twkcxTkVUb6uDbA13duHfwA4Vw8Pu1GN2AAAAABJRU5ErkJggg==",et=de(14566),Ee=(z,ie,le)=>new Promise((re,ye)=>{var Oe=at=>{try{yt(le.next(at))}catch(mt){ye(mt)}},Et=at=>{try{yt(le.throw(at))}catch(mt){ye(mt)}},yt=at=>at.done?re(at.value):Promise.resolve(at.value).then(Oe,Et);yt((le=le.apply(z,ie)).next())});const Ve=(z,ie)=>Ee(void 0,null,function*(){return(0,Qe.ZP)(`${z}/file/v3/getMd5List`,{method:"get",params:ie},!1,!0)}),Se=(z,ie)=>Ee(void 0,null,function*(){return(0,Qe.ZP)(`${z}/file/v3/fileExists`,{method:"get",params:ie},!1,!0)}),He=(z,ie)=>Ee(void 0,null,function*(){return(0,Qe.ZP)(`${z}/file/v3/newFile`,{method:"post",body:ie},!1,!0)}),Pt=(z,ie)=>Ee(void 0,null,function*(){return(0,Qe.ZP)(`${z}/file/v3/filePatchUpload`,{method:"post",body:ie},!0,!0)}),gt=(z,ie)=>Ee(void 0,null,function*(){return(0,Qe.ZP)(`${z}/file/v3/filePatchMerge`,{method:"post",body:ie},!0,!0)}),bt=(z,ie)=>Ee(void 0,null,function*(){return(0,Qe.ZP)(`${z}/file/v3/downloadCheck`,{method:"get",params:ie},!1,!0)});var ut=(z,ie,le)=>new Promise((re,ye)=>{var Oe=at=>{try{yt(le.next(at))}catch(mt){ye(mt)}},Et=at=>{try{yt(le.throw(at))}catch(mt){ye(mt)}},yt=at=>at.done?re(at.value):Promise.resolve(at.value).then(Oe,Et);yt((le=le.apply(z,ie)).next())});const{Dragger:pe}=et.default,ce=15*1024*1024,ze=({user:z,setloading:ie,uploading:le,successCallback:re,url:ye})=>{let[Oe,Et]=(0,ne.useState)([]);const[yt,at]=(0,ne.useState)(!1),mt=(0,ne.useRef)(0);(0,ne.useEffect)(()=>{(Oe==null?void 0:Oe.length)>0&&yt&&Yt(Oe==null?void 0:Oe[0])},[Oe,yt]),(0,ne.useEffect)(()=>()=>{mt.current++},[]);const It=()=>{Et([]),mt.current++,dn.current=0,xt.current=0,ft.current=0,Jt.current=0},Wt=kt=>{const Ot=setInterval(()=>{bt(ye,{id:kt}).then(Dt=>{var cn,Xt,fn;Dt.status==="000000"&&((Xt=(cn=Dt.data)==null?void 0:cn[0])==null?void 0:Xt.isDownload)===1&&(Oe[0].percent=100,Oe[0].status="success",Et([...Oe]),Le.ZP.info("\u4E0A\u4F20\u6210\u529F"),re((fn=Dt==null?void 0:Dt.data)==null?void 0:fn[0]),clearInterval(Ot)),Dt.status!=="000000"&&It()})},2e3)},Yt=kt=>ut(void 0,null,function*(){var Ot,Dt,cn,Xt,fn,Nn,Tn,or,vr,lr,Vn,hn,Xn,Rn,Bn,Zn,Ft,jt,vt,At,qt,sn,an,En,Fn,Mn,wn,pn,Ht,rt,Ut,vn,Pn;const ke=Math.ceil(kt.size/ce),Me=mt.current+1;mt.current=Me,at(!1),Oe[0].status="uploading";const Rt=yield Ve(ye,{filename:kt.name,userId:(Ot=z.userInfo)==null?void 0:Ot.login,size:kt.size,patchNum:ke,lastModified:`${kt.lastModified}`});if(Rt.status==="000000"){const St=yield Se(ye,{md5:((cn=(Dt=Rt.data)==null?void 0:Dt[0])==null?void 0:cn.fmd5)||((fn=(Xt=Rt.data)==null?void 0:Xt[0])==null?void 0:fn.md5),size:kt.size,dirName:(Nn=z.userInfo)==null?void 0:Nn.login,lastModified:`${kt.lastModified}`});if(St.status==="000000"){if(mt.current!==Me)return;const je=(or=(Tn=St.data)==null?void 0:Tn[0])==null?void 0:or.id;if(Array.isArray((lr=(vr=Rt.data)==null?void 0:vr[0])==null?void 0:lr.md5List)&&!((Xn=(hn=(Vn=Rt.data)==null?void 0:Vn[0])==null?void 0:hn.md5List)!=null&&Xn.length)){Qt(je,kt,ke);return}if(((Rn=St.data)==null?void 0:Rn.length)>0&&((Zn=(Bn=St.data)==null?void 0:Bn[0])==null?void 0:Zn.type)===1){Oe[0].percent=100,Oe[0].status="success",Et([...Oe]),Le.ZP.info("\u79D2\u4F20\u6210\u529F"),re((jt=(Ft=St==null?void 0:St.data)==null?void 0:Ft[0])==null?void 0:jt.item);return}if(((vt=St.data)==null?void 0:vt.length)>0&&((qt=(At=St.data)==null?void 0:At[0])==null?void 0:qt.type)===0){Oe[0].percent=parseInt(`${((an=(sn=St.data)==null?void 0:sn[0])==null?void 0:an.rate)*100}`),Oe[0].status="uploading",Et([...Oe]),Nt(je,kt,(Fn=(En=Rt.data)==null?void 0:En[0])==null?void 0:Fn.md5List,Me,ke);return}const Bt=yield He(ye,{dirName:(Mn=z.userInfo)==null?void 0:Mn.login,md5:(pn=(wn=Rt.data)==null?void 0:wn[0])==null?void 0:pn.fmd5,name:kt.name,size:kt.size});((Ht=Bt.data)==null?void 0:Ht.length)>0&&Nt((Ut=(rt=Bt.data)==null?void 0:rt[0])==null?void 0:Ut.id,kt,(Pn=(vn=Rt.data)==null?void 0:vn[0])==null?void 0:Pn.md5List,Me,ke)}else It()}else It()}),Jt=(0,ne.useRef)(0),xt=(0,ne.useRef)(0),dn=(0,ne.useRef)(0),ft=(0,ne.useRef)(0),Nt=(kt,Ot,Dt,cn,Xt)=>{if(!kt)return;Jt.current=Dt.length;const fn=Math.min(4,Dt.length);for(let Nn=0;Nn<fn;Nn++)tt(`${kt}`,Ot,Dt,cn,Xt)};function tt(kt,Ot,Dt,cn,Xt){var fn,Nn;if(dn.current>=Jt.current)return;const Tn=(fn=Dt[dn.current])==null?void 0:fn.md5,or=(Nn=Dt[dn.current])==null?void 0:Nn.index,vr=or*ce,lr=Math.min(Ot.size,vr+ce),Vn=Ot.slice(vr,lr),hn=new FileReader;dn.current++,hn.readAsArrayBuffer(Vn),hn.onload=Xn=>ut(this,null,function*(){var Rn,Bn;const Zn=new FormData;Zn.append("index",`${or}`),Zn.append("parent",kt),Zn.append("size",Vn.size),Zn.append("patch",Vn),Zn.append("md5",Tn),Zn.append("userId",(Rn=z.userInfo)==null?void 0:Rn.login),Zn.append("name",Ot.name+"-patch-"+or);const Ft=yield Pt(ye,Zn);if(mt.current===cn)if(Oe[0].percent=0,Oe[0].status="uploading",Ft.errorCode==="000000"){xt.current++,Qt(`${kt}`,Ot,Xt),ft.current=Math.max((Bn=Ft.data[0])==null?void 0:Bn.rate,ft.current),Oe[0].percent=parseInt(`${ft.current*100}`),Oe[0].status="uploading",Et([...Oe]),tt(`${kt}`,Ot,Dt,cn,Xt);return}else It()})}function Qt(kt,Ot,Dt){return ut(this,null,function*(){var cn,Xt,fn;if(xt.current<Jt.current)return;const Nn=new FormData;Nn.append("parent",kt),Nn.append("size",`${Ot.size}`),Nn.append("userId",(cn=z.userInfo)==null?void 0:cn.login),Nn.append("patchNum",`${Dt}`);const Tn=yield gt(ye,Nn);Tn.errorCode==="000000"?Wt((fn=(Xt=Tn.data)==null?void 0:Xt[0])==null?void 0:fn.id):It()})}return ne.createElement(pe,{height:200,accept:".gz,.bz2,.tar",onRemove:kt=>{It(),re(null)},multiple:!1,fileList:Oe,beforeUpload:kt=>ut(void 0,null,function*(){let Ot=5368709120,Dt=kt.name.toLowerCase();const cn=[".gz",".bz2",".tar"],Xt=Dt.substring(Dt.lastIndexOf("."));return cn.includes(Xt)?(kt==null?void 0:kt.size)>Ot?(Le.ZP.info(`\u6587\u4EF6\u8D85\u8FC7${Ot/1024/1024/1024}GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42`),!1):(It(),re(null),at(!0),Et([kt]),!1):(Le.ZP.info("\u4EC5\u652F\u6301\u4E0A\u4F20gz\u3001bz2\u3001tar\u3001tar.gz\u3001tar.bz2\u683C\u5F0F\u7684\u955C\u50CF\u6587\u4EF6"),!1)})},ne.createElement("div",null,ne.createElement("i",{className:"iconfont icon-shangchuanwenjian1 font50",style:{color:"#A9C9FB "}})),ne.createElement("div",{className:"font14 mt30 mb20",style:{color:"#9096A3"}},"\u62D6\u62FD\u6587\u4EF6\u6216",ne.createElement("span",{style:{color:"#3061D0",marginLeft:5}},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")),ne.createElement("div",{style:{fontSize:12,color:"#9096A3"}},"\u4EC5\u652F\u6301\u4E0A\u4F20gz\u3001bz2\u3001tar\u3001tar.gz\u3001tar.bz2\u683C\u5F0F\u7684\u955C\u50CF\u6587\u4EF6\uFF0C\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u4E0D\u80FD\u8D85\u8FC75GB",ne.createElement("br",null),"\u5982\u679C\u6709\u4E0A\u4F20\u4E2D\u7684\u6587\u4EF6\uFF0C\u8BF7\u52FF\u5237\u65B0\u6216\u5173\u95ED\u6D4F\u89C8\u5668"))};var dt=(0,$e.connect)(({user:z})=>({user:z}))(ze),ct=de(49661),be=de(34055),Ye=Object.defineProperty,Ie=Object.getOwnPropertySymbols,Ct=Object.prototype.hasOwnProperty,qe=Object.prototype.propertyIsEnumerable,wt=(z,ie,le)=>ie in z?Ye(z,ie,{enumerable:!0,configurable:!0,writable:!0,value:le}):z[ie]=le,Pe=(z,ie)=>{for(var le in ie||(ie={}))Ct.call(ie,le)&&wt(z,le,ie[le]);if(Ie)for(var le of Ie(ie))qe.call(ie,le)&&wt(z,le,ie[le]);return z},lt=(z,ie)=>{var le={};for(var re in z)Ct.call(z,re)&&ie.indexOf(re)<0&&(le[re]=z[re]);if(z!=null&&Ie)for(var re of Ie(z))ie.indexOf(re)<0&&qe.call(z,re)&&(le[re]=z[re]);return le},pt=(z,ie,le)=>new Promise((re,ye)=>{var Oe=at=>{try{yt(le.next(at))}catch(mt){ye(mt)}},Et=at=>{try{yt(le.throw(at))}catch(mt){ye(mt)}},yt=at=>at.done?re(at.value):Promise.resolve(at.value).then(Oe,Et);yt((le=le.apply(z,ie)).next())});const ae=z=>{var ie=z,{classroomList:le,globalSetting:re,loading:ye,user:Oe,dispatch:Et}=ie,yt=lt(ie,["classroomList","globalSetting","loading","user","dispatch"]),at,mt,It,Wt,Yt,Jt;const[xt,dn]=(0,ne.useState)(1),[ft,Nt]=(0,ne.useState)(1),[tt,Qt]=(0,ne.useState)(!1),[kt,Ot]=(0,ne.useState)(!0),[Dt,cn]=(0,ne.useState)({}),[Xt,fn]=(0,ne.useState)(""),[Nn,Tn]=(0,ne.useState)(!1),[or,vr]=(0,ne.useState)({}),[lr,Vn]=(0,ne.useState)(),[hn,Xn]=(0,ne.useState)(0),[Rn,Bn]=(0,ne.useState)(null),[Zn,Ft]=(0,ne.useState)(0),[jt,vt]=(0,ne.useState)(""),[At,qt]=(0,ne.useState)(!0),[sn,an]=(0,ne.useState)(!1),[En,Fn]=(0,ne.useState)(""),[Mn,wn]=(0,ne.useState)(""),[pn,Ht]=(0,ne.useState)({}),[rt,Ut]=(0,ne.useState)({}),[vn,Pn]=(0,ne.useState)({}),[ke,Me]=(0,ne.useState)({}),[Rt,St]=(0,ne.useState)(),[je,Bt]=(0,ne.useState)(),[nn,un]=(0,ne.useState)(""),[xn,Kt]=(0,ne.useState)(""),[rn,Ze]=(0,ne.useState)(""),[zn,$t]=(0,ne.useState)(""),[kn,Sn]=(0,ne.useState)(!1),[Hn,jn]=(0,ne.useState)(!1),[yr,Qn]=(0,ne.useState)(!1),Kn=[{id:1,name:"\u57FA\u4E8E\u57FA\u7840\u955C\u50CF\u521B\u5EFA"},{id:2,name:"\u5BFC\u5165\u672C\u5730\u955C\u50CF\u521B\u5EFA"}],ur=[{id:1,name:"1\u5F208g",gpu_limit:1,gpu_memory_limit:8*1024},{id:2,name:"2\u5F2016g",gpu_limit:2,gpu_memory_limit:16*1024},{id:3,name:"3\u5F2024g",gpu_limit:3,gpu_memory_limit:24*1024}],Un=[{id:1,name:"\u516C\u5171\u955C\u50CF",type:"public"},{id:2,name:"\u81EA\u5B9A\u4E49\u955C\u50CF",type:"customize"},{id:3,name:"\u5171\u4EAB\u955C\u50CF",type:"share"}];(0,ne.useEffect)(()=>{br(),Et({type:"globalSetting/footerToggle",payload:!1})},[]),(0,ne.useEffect)(()=>{document.title="\u521B\u5EFA\u955C\u50CF"},[location==null?void 0:location.pathname]);const br=()=>pt(void 0,null,function*(){var gn;const Ln=yield(0,Qe.ZP)("/api/user_mirrors/other_info.json",{method:"get"});Ln.status===0&&(vr(Ln==null?void 0:Ln.data),Vn((gn=Ln==null?void 0:Ln.data)==null?void 0:gn.default_mirror_desc))}),Mr=(gn,Ln)=>pt(void 0,null,function*(){xt===1?Sn(!0):jn(!0);const Yn=yield(0,Qe.ZP)("/api/user_mirrors/check_mirror_name.json",{method:"post",body:{type_name:gn}});(Yn==null?void 0:Yn.status)===0?(xt===1&&(un(""),Kt(""),Ln&&Tn(!0)),xt===2&&(Ze(""),$t(""),Ln&&mr())):(xt===1&&(un("type_name"),Kt(Yn==null?void 0:Yn.message)),xt===2&&(Ze("type_name"),$t(Yn==null?void 0:Yn.message)),document.body.scrollIntoView()),jn(!1),Sn(!1)}),mr=()=>pt(void 0,null,function*(){jn(!0);const gn=yield(0,Qe.ZP)("/api/user_mirrors.json",{method:"post",body:{create_method:2,type_name:je,description:Xt,is_support_vnc:sn,is_support_webssh:At,file_path:pn==null?void 0:pn.path,file_id:pn==null?void 0:pn.id,file_old_name:pn==null?void 0:pn.oldName,file_new_name:pn==null?void 0:pn.name,filesize:pn==null?void 0:pn.size}});(gn==null?void 0:gn.status)===0&&(Le.ZP.success("\u521B\u5EFA\u6210\u529F"),$e.history.back(),jn(!1))}),xr=()=>pt(void 0,null,function*(){var gn,Ln,Yn;const ir=yield(0,Qe.ZP)("/api/shixuns/new.json",{method:"get",params:{is_create_mirror:1,tab_type:Un[Number(ft)-1].type}});(ir==null?void 0:ir.status)===0&&(((Ln=(gn=ir==null?void 0:ir.data)==null?void 0:gn.environments)==null?void 0:Ln.length)===0&&((Yn=ir==null?void 0:ir.data)==null?void 0:Yn.other_image.length)===0?Ot(!0):Ot(!1))}),Er=()=>{const gn=()=>{$e.history.back()};let Ln=!1;(rt!=null&&rt.id||vn!=null&&vn.id||ke!=null&&ke.id||Rt)&&(Ln=!0),(pn!=null&&pn.id||je||At===!1||sn===!0)&&(Ln=!0),Ln?Re.default.confirm({title:"\u79BB\u5F00\u6B64\u9875\u63D0\u793A",content:"\u7CFB\u7EDF\u53EF\u80FD\u4E0D\u4F1A\u4FDD\u5B58\u60A8\u6240\u505A\u7684\u66F4\u6539\u3002",okText:"\u79BB\u5F00",cancelText:"\u53D6\u6D88",onOk:()=>{gn()}}):gn()};(0,ne.useEffect)(()=>{xr()},[ft]);const wr=()=>pt(void 0,null,function*(){if(xt===1){if(Dt!=null&&Dt.id)vt("");else{vt("mirror"),document.body.scrollIntoView();return}if(Rt)yield Mr(Rt,!0);else{un("type_name"),Kt("\u955C\u50CF\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"),document.body.scrollIntoView();return}}if(xt===2){if(!At&&!sn){Fn("interface"),document.body.scrollIntoView();return}else Fn("");if((pn==null?void 0:pn.id)!=null)wn("");else{wn("file"),document.body.scrollIntoView();return}if(je)Mr(je,!0);else{Ze("type_name"),$t("\u955C\u50CF\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"),document.body.scrollIntoView();return}}});return ne.createElement("div",{className:ve.wrap},ne.createElement("div",{className:ve.content},ne.createElement("div",{className:ve.crumbs},ne.createElement("div",null,ne.createElement("i",{className:"iconfont icon-fanhuijingxiang",style:{color:"#3061D0",fontSize:14,cursor:"pointer"},onClick:Er}),ne.createElement("span",{style:{paddingLeft:8}},"\u521B\u5EFA\u955C\u50CF")),ne.createElement(ge.Z,{title:"",className:ve.doc},ne.createElement("span",{onClick:()=>{(0,ct.xg)("https://www.educoder.net/forums/37006")}},ne.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"}),ne.createElement("span",{style:{paddingLeft:4}},"\u5E2E\u52A9\u6587\u6863")))),ne.createElement("div",{className:ve.title},"\u521B\u5EFA\u65B9\u5F0F\u4E0E\u6765\u6E90"),ne.createElement("div",{style:{marginBottom:60}},ne.createElement(ot.Z,{required:!0,nameWidth:100,name:"\u521B\u5EFA\u65B9\u5F0F"},Kn.map(gn=>ne.createElement(me.ZP,{type:xt===gn.id?"primary":"default",style:{marginRight:20,borderRadius:2},className:xt===gn.id?ve.activeBtn:ve.btn,onClick:()=>{dn(gn.id),ft===1&&(cn(rt),rt!=null&&rt.id&&vt("")),ft===2&&(cn(vn),vn!=null&&vn.id&&vt("")),ft===3&&(cn(ke),ke!=null&&ke.id&&vt(""))}},gn.name))),xt===1&&ne.createElement(ne.Fragment,null,ne.createElement(ot.Z,{required:!0,nameWidth:100,name:"\u57FA\u7840\u955C\u50CF"},ne.createElement(We.tp,{dataSource:Un,value:ft,onChange:gn=>{Nt(gn),gn===1&&(cn(Pe({},rt)),rt!=null&&rt.id&&vt("")),gn===2&&(cn(Pe({},vn)),vn!=null&&vn.id&&vt("")),gn===3&&(cn(Pe({},ke)),ke!=null&&ke.id&&vt(""))}})),ne.createElement(ot.Z,{nameWidth:100,errorKey:"mirror",errorValue:jt,errorName:"\u8BF7\u9009\u62E9\u57FA\u7840\u955C\u50CF",errorStyle:{fontSize:12,paddingBottom:8}},ne.createElement(Te.Z,{align:"middle"},kt===!1?ne.createElement(ne.Fragment,null,!!(Dt!=null&&Dt.id)&&ne.createElement(ne.Fragment,null,ne.createElement("div",{onClick:()=>{Qt(!0)},className:ve.mirror},ne.createElement("div",null,Dt==null?void 0:Dt.name),ne.createElement("i",{className:"iconfont icon-genghuan"})),ne.createElement(Ue.Z,{value:[{description:Dt==null?void 0:Dt.description,name:Dt==null?void 0:Dt.name}],title:"\u5B9E\u9A8C\u955C\u50CF\u8BF4\u660E"},ne.createElement("span",{className:ve.explain},"\u5B9E\u9A8C\u955C\u50CF\u8BF4\u660E"))),!(Dt!=null&&Dt.id)&&ne.createElement("div",{onClick:()=>{Qt(!0)},className:ve.mirror},ne.createElement("i",{className:"iconfont icon-tianjia3 font14 mr10"}),ne.createElement("div",null,"\u9009\u62E9\u5B9E\u9A8C\u955C\u50CF"))):ne.createElement("div",null,ne.createElement("img",{src:Ne,style:{width:"30px",height:"32px"}}),ne.createElement("span",{style:{paddingLeft:"10px"}},"\u6682\u65E0\u6570\u636E~"))))),xt===2&&ne.createElement(ne.Fragment,null,ne.createElement(ot.Z,{nameWidth:100,align:"start",required:!0,name:"\u955C\u50CF\u6587\u4EF6",errorKey:"file",errorValue:Mn,errorName:"\u8BF7\u4E0A\u4F20\u955C\u50CF\u6587\u4EF6",errorStyle:{fontSize:12,paddingBottom:8}},ne.createElement(dt,{successCallback:gn=>{gn?(wn(""),Ht(Pe({},gn))):Ht({})},url:(at=re==null?void 0:re.setting)==null?void 0:at.bigfiles_upload})),ne.createElement(ot.Z,{required:!0,name:"\u955C\u50CF\u7C7B\u578B",nameWidth:100,align:"start",errorKey:"interface",errorValue:En,errorName:"\u8BF7\u9009\u62E9\u955C\u50CF\u7C7B\u578B",errorStyle:{fontSize:12,paddingBottom:8}},ne.createElement("div",{className:ve.interface},ne.createElement("div",{onClick:()=>{qt(!At),(!At||sn===!0)&&Fn("")},className:At?ve.active:""},ne.createElement("span",{className:"iconfont icon-xuanzhong9"}),ne.createElement("div",null,ne.createElement("i",{className:"iconfont icon-minglinghang"}),ne.createElement("span",null,"\u547D\u4EE4\u884C\u7EC8\u7AEF")),ne.createElement("aside",null,"\u901A\u8FC7\u547D\u4EE4\u884C\u7EC8\u7AEF\u7684\u65B9\u5F0F\u8FDE\u63A5")),ne.createElement("div",{onClick:()=>{an(!sn),(!sn||At===!0)&&Fn("")},className:sn?ve.active:""},ne.createElement("span",{className:"iconfont icon-xuanzhong9"}),ne.createElement("div",null,ne.createElement("i",{className:"iconfont icon-tuxinghuazhuomian"}),ne.createElement("span",null,"\u56FE\u5F62\u5316\u684C\u9762")),ne.createElement("aside",null,"\u901A\u8FC7\u56FE\u5F62\u5316\u684C\u9762\u7684\u65B9\u5F0F\u8FDE\u63A5"))))),ne.createElement("div",{className:ve.title,style:{marginTop:0}},"\u955C\u50CF\u4FE1\u606F"),ne.createElement(ot.Z,{required:!0,nameWidth:100,name:"\u955C\u50CF\u540D\u79F0",errorKey:"type_name",errorValue:xt===1?nn:rn,errorName:xt===1?xn:zn,errorStyle:{fontSize:12,paddingBottom:8}},ne.createElement(Ce.default,{value:xt===1?Rt:je,onChange:gn=>{const Ln=gn.target.value;xt===1&&St(Ln),xt===2&&Bt(Ln)},onBlur:gn=>{const Ln=gn.target.value;if(Ln.length<=60){const Yn=/^[a-zA-Z][a-zA-Z0-9#+.\-/_:]*$/;Ln.match(Yn)||Ln===""?xt===1?(St(Ln),un(""),Kt("")):xt===2&&(Bt(Ln),Ze(""),$t("")):xt===1?(un("type_name"),Kt("\u955C\u50CF\u540D\u79F0\u53EA\u80FD\u4EE5\u5B57\u6BCD\u5F00\u5934\uFF0C\u4EC5\u652F\u6301\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u5B57\u7B26#+.-/_:")):xt===2&&(Ze("type_name"),$t("\u955C\u50CF\u540D\u79F0\u53EA\u80FD\u4EE5\u5B57\u6BCD\u5F00\u5934\uFF0C\u4EC5\u652F\u6301\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u7279\u6B8A\u5B57\u7B26#+.-/_:"))}else xt===1?(un("type_name"),Kt("\u955C\u50CF\u540D\u79F0\u4E0D\u80FD\u8D85\u8FC760\u4E2A\u5B57\u7B26")):xt===2&&(Ze("type_name"),$t("\u955C\u50CF\u540D\u79F0\u4E0D\u80FD\u8D85\u8FC760\u4E2A\u5B57\u7B26"))},placeholder:"\u4F8B\u5982\uFF1APython3.6",size:"large"})),ne.createElement(ot.Z,{name:"\u955C\u50CF\u63CF\u8FF0",nameWidth:100,align:"start"},ne.createElement(he.Z,{fullScreen:!1,watch:!0,height:500,placeholder:"",defaultValue:xt===1?Dt==null?void 0:Dt.description:lr,onChange:gn=>{fn(gn)},onBlur:gn=>{fn(gn)}})))),ne.createElement("div",{className:ve.btns},ne.createElement(me.ZP,{style:{marginRight:40},onClick:Er},"\u53D6\u6D88"),xt===1&&ne.createElement(me.ZP,{type:"primary",onClick:wr,loading:kn},"\u5F00\u59CB\u5236\u4F5C\u955C\u50CF"),xt===2&&ne.createElement(me.ZP,{disabled:!(pn!=null&&pn.id),type:pn!=null&&pn.id?"primary":"default",className:pn!=null&&pn.id?"":ve.disabledBtn,onClick:()=>wr(),loading:Hn},"\u5F00\u59CB\u5BFC\u5165")),ne.createElement(Lt,{useId:Dt==null?void 0:Dt.id,tab_type:Un[Number(ft)-1].type,visible:tt,onCancel:()=>{Qt(!1)},onOk:gn=>{ft===1&&Ut(gn),ft===2&&Pn(gn),ft===3&&Me(gn),cn(gn),Qt(!1),vt("")}}),ne.createElement(Re.default,{centered:!0,maskClosable:!1,keyboard:!1,destroyOnClose:!0,open:Nn,title:"\u9009\u62E9\u8FD0\u884C\u73AF\u5883",width:"568px",okText:"\u786E\u5B9A",wrapClassName:ve.auditModal,confirmLoading:yr,onCancel:()=>{Tn(!1)},onOk:()=>pt(void 0,null,function*(){var gn,Ln,Yn,ir;Qn(!0);const fr=yield(0,Qe.ZP)("/api/user_mirrors.json",{method:"post",body:{create_method:1,base_mirror_repository_id:Dt.id,cpu_memory_limit:or==null?void 0:or.cpu_memory_limit_config[Number(hn)],gpu_limit:typeof Rn=="number"?(gn=ur[Rn])==null?void 0:gn.gpu_limit:null,gpu_memory_limit:typeof Rn=="number"?(Ln=ur[Rn])==null?void 0:Ln.gpu_memory_limit:null,time_limit:(Yn=or==null?void 0:or.time_limit_config[Number(Zn)])==null?void 0:Yn.value,type_name:Rt,description:Xt}});(fr==null?void 0:fr.status)===0&&(Le.ZP.success("\u521B\u5EFA\u6210\u529F"),$e.history.push(`/shixuns/new/${(ir=fr==null?void 0:fr.data)==null?void 0:ir.user_mirror_id}/imagepreview?operation=create_image`)),Qn(!1),Tn(!1)})},ne.createElement("div",{style:{paddingTop:20}},ne.createElement(ot.Z,{required:!0,name:"\u914D\u7F6E",align:"center",nameWidth:60},ne.createElement("div",{className:ve.cpuWrap},(mt=or==null?void 0:or.cpu_memory_limit_config)==null?void 0:mt.map((gn,Ln)=>ne.createElement("div",{className:hn===Ln?ve.activebtn:ve.btn,onClick:()=>Xn(Ln)},ne.createElement("div",null,gn),hn===Ln?ne.createElement("div",null,ne.createElement("i",{className:"iconfont icon-xuanzhong9",style:{paddingRight:12}})):"")))),(((Yt=(It=re==null?void 0:re.setting)==null?void 0:It.big_model_users)==null?void 0:Yt.includes((Wt=Oe==null?void 0:Oe.userInfo)==null?void 0:Wt.login))||(0,be.fn)())&&ne.createElement(ne.Fragment,null,ne.createElement(ot.Z,{name:"GPU",align:"center",nameWidth:60},ne.createElement("div",{className:ve.cpuWrap},ur==null?void 0:ur.map((gn,Ln)=>ne.createElement("div",{className:Rn===Ln?ve.activebtn:ve.btn,onClick:()=>{Bn(Rn===Ln?null:Ln)}},ne.createElement("div",null,gn.name),Rn===Ln?ne.createElement("div",null,ne.createElement("i",{className:"iconfont icon-xuanzhong9",style:{paddingRight:12}})):""))))),ne.createElement(ot.Z,{required:!0,name:"\u65F6\u957F",align:"center",nameWidth:60},(Jt=or==null?void 0:or.time_limit_config)==null?void 0:Jt.map((gn,Ln)=>ne.createElement("span",{className:Zn===Ln?ve.activeTab:ve.tab,onClick:()=>Ft(Ln)},gn.name))))))};var ee=(0,$e.connect)(({classroomList:z,loading:ie,globalSetting:le,user:re})=>({classroomList:z,globalSetting:le,loading:ie.models.classroomList,user:re}))(ae)},90290:function(Tt,zt,de){"use strict";de.d(zt,{AL:function(){return Ge},Iy:function(){return Qe},Qv:function(){return We},ez:function(){return nt},jb:function(){return ve}});var ne=de(32834),$e=de.n(ne),Le=de(11690),Re=de.n(Le);let ge=1;function me(Ue,Ne){const et=Ue.match(/^(\s+)(?:```)/);if(et===null)return Ne;const Ee=et[1];return Ne.split(`
|
|
`).map(Ve=>{const Se=Ve.match(/^\s+/);if(Se===null)return Ve;const[He]=Se;return He.length>=Ee.length?Ve.slice(Ee.length):Ve}).join(`
|
|
`)}let Te=[],Ce=["<ul>"];const we=new($e()).Renderer,he=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function Qe(){Te.length=0,Ce=["<ul>"]}const ve={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function ot(Ue,Ne,et,Ee){if(Ne>=Ue.length||Ue[Ne].level<=et)return Ne;var Ve=Ue[Ne];Ee.push("<li><a href='#"+ge+Ve.anchor+"'>"+Ve.text+"</a>"),Ne++;var Se=[];return Ne=ot(Ue,Ne,Ve.level,Se),Se.length>0&&(Ee.push("<ul>"),Se.forEach(function(He){Ee.push(He)}),Ee.push("</ul>")),Ee.push("</li>"),Ne=ot(Ue,Ne,et,Ee),Ne}function We(){return ot(Te,0,0,Ce),Ce.push("</ul>"),Ce.join("")}const De={heading(Ue){const Ne=he.exec(Ue);if(ge+=1,Ne)return{type:"heading",raw:Ne[0],depth:Ne[1].length,text:Ne[2]}},fences(Ue){const Ne=this.rules.block.fences.exec(Ue);if(Ne){const et=Ne[0];let Ee=me(et,Ne[3]||"");const Ve=Ne[2]?Ne[2].trim():Ne[2];if(["latex","katex","math"].indexOf(Ve)>=0){const Se=st(),He=Ee;Ee=Se,ht[Se]={type:"block",expression:He}}return{type:"code",raw:et,lang:Ve,text:Ee}}}},Fe=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let Be=0;const st=()=>`__special_katext_id_${Be++}__`;let ht={};function nt(){return ht}function Ge(){Be=0,ht={}}function Xe(Ue){return Ue=Ue.replace(Fe,(Ne,et)=>{const Ee=st();return ht[Ee]={type:"inline",expression:et},Ee}),Ue}const Je=we.listitem;we.listitem=function(Ue){return Je(Xe(Ue))};const Ke=we.paragraph;we.paragraph=function(Ue){return Ke(Xe(Ue))};const Lt=we.tablecell;we.tablecell=function(Ue,Ne){return Lt(Xe(Ue),Ne)},we.code=function(Ue,Ne,et){const Ee=(Ne||"").match(/\S*/)[0];return Ee?["latex","katex","math"].indexOf(Ee)>=0?`<p class='editormd-tex'>${Ue}</p>`:`<pre class="prettyprint linenums"><code class="language-${Ne}">${et?Ue:(0,Le.escape)(Ue,!0)}</code></pre>
|
|
`:'<pre class="prettyprint linenums"><code>'+(et?Ue:(0,Le.escape)(Ue,!0))+"</code></pre>"},we.heading=function(Ue,Ne,et){let Ee=this.options.headerPrefix+et.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return Te.push({anchor:Ee,level:Ne,text:Ue}),"<h"+Ne+' id="'+ge+Ee+'">'+Ue+"</h"+Ne+">"},$e().setOptions({silent:!0,gfm:!0,pedantic:!1}),$e().use({tokenizer:De,renderer:we}),zt.ZP=$e()},99498:function(Tt,zt,de){(function(ne){ne(de(89780))})(function(ne){ne.defineOption("placeholder","",function(Ce,we,he){var Qe=he&&he!=ne.Init;if(we&&!Qe)Ce.on("blur",ge),Ce.on("change",me),Ce.on("swapDoc",me),ne.on(Ce.getInputField(),"compositionupdate",Ce.state.placeholderCompose=function(){Re(Ce)}),me(Ce);else if(!we&&Qe){Ce.off("blur",ge),Ce.off("change",me),Ce.off("swapDoc",me),ne.off(Ce.getInputField(),"compositionupdate",Ce.state.placeholderCompose),$e(Ce);var ve=Ce.getWrapperElement();ve.className=ve.className.replace(" CodeMirror-empty","")}we&&!Ce.hasFocus()&&ge(Ce)});function $e(Ce){Ce.state.placeholder&&(Ce.state.placeholder.parentNode.removeChild(Ce.state.placeholder),Ce.state.placeholder=null)}function Le(Ce){$e(Ce);var we=Ce.state.placeholder=document.createElement("pre");we.style.cssText="height: 0; overflow: visible",we.style.direction=Ce.getOption("direction"),we.className="CodeMirror-placeholder CodeMirror-line-like";var he=Ce.getOption("placeholder");typeof he=="string"&&(he=document.createTextNode(he)),we.appendChild(he),Ce.display.lineSpace.insertBefore(we,Ce.display.lineSpace.firstChild)}function Re(Ce){setTimeout(function(){var we=!1,he=Ce.getInputField();he.nodeName=="TEXTAREA"?we=!he.value:Ce.lineCount()==1&&(we=!/[^\u200b]/.test(he.querySelector(".CodeMirror-line").textContent)),we?Le(Ce):$e(Ce)},20)}function ge(Ce){Te(Ce)&&Le(Ce)}function me(Ce){var we=Ce.getWrapperElement(),he=Te(Ce);we.className=we.className.replace(" CodeMirror-empty","")+(he?" CodeMirror-empty":""),he?Le(Ce):$e(Ce)}function Te(Ce){return Ce.lineCount()===1&&Ce.getLine(0)===""}})},25717:function(Tt,zt,de){(function(ne){ne(de(89780))})(function(ne){var $e={pairs:`()[]{}''""`,closeBefore:`)]}'":;>`,triples:"",explode:"[]{}"},Le=ne.Pos;ne.defineOption("autoCloseBrackets",!1,function(De,Fe,Be){Be&&Be!=ne.Init&&(De.removeKeyMap(ge),De.state.closeBrackets=null),Fe&&(me(Re(Fe,"pairs")),De.state.closeBrackets=Fe,De.addKeyMap(ge))});function Re(De,Fe){return Fe=="pairs"&&typeof De=="string"?De:typeof De=="object"&&De[Fe]!=null?De[Fe]:$e[Fe]}var ge={Backspace:we,Enter:he};function me(De){for(var Fe=0;Fe<De.length;Fe++){var Be=De.charAt(Fe),st="'"+Be+"'";ge[st]||(ge[st]=Te(Be))}}me($e.pairs+"`");function Te(De){return function(Fe){return ve(Fe,De)}}function Ce(De){var Fe=De.state.closeBrackets;if(!Fe||Fe.override)return Fe;var Be=De.getModeAt(De.getCursor());return Be.closeBrackets||Fe}function we(De){var Fe=Ce(De);if(!Fe||De.getOption("disableInput"))return ne.Pass;for(var Be=Re(Fe,"pairs"),st=De.listSelections(),ht=0;ht<st.length;ht++){if(!st[ht].empty())return ne.Pass;var nt=ot(De,st[ht].head);if(!nt||Be.indexOf(nt)%2!=0)return ne.Pass}for(var ht=st.length-1;ht>=0;ht--){var Ge=st[ht].head;De.replaceRange("",Le(Ge.line,Ge.ch-1),Le(Ge.line,Ge.ch+1),"+delete")}}function he(De){var Fe=Ce(De),Be=Fe&&Re(Fe,"explode");if(!Be||De.getOption("disableInput"))return ne.Pass;for(var st=De.listSelections(),ht=0;ht<st.length;ht++){if(!st[ht].empty())return ne.Pass;var nt=ot(De,st[ht].head);if(!nt||Be.indexOf(nt)%2!=0)return ne.Pass}De.operation(function(){var Ge=De.lineSeparator()||`
|
|
`;De.replaceSelection(Ge+Ge,null),De.execCommand("goCharLeft"),st=De.listSelections();for(var Xe=0;Xe<st.length;Xe++){var Je=st[Xe].head.line;De.indentLine(Je,null,!0),De.indentLine(Je+1,null,!0)}})}function Qe(De){var Fe=ne.cmpPos(De.anchor,De.head)>0;return{anchor:new Le(De.anchor.line,De.anchor.ch+(Fe?-1:1)),head:new Le(De.head.line,De.head.ch+(Fe?1:-1))}}function ve(De,Fe){var Be=Ce(De);if(!Be||De.getOption("disableInput"))return ne.Pass;var st=Re(Be,"pairs"),ht=st.indexOf(Fe);if(ht==-1)return ne.Pass;for(var nt=Re(Be,"closeBefore"),Ge=Re(Be,"triples"),Xe=st.charAt(ht+1)==Fe,Je=De.listSelections(),Ke=ht%2==0,Lt,Ue=0;Ue<Je.length;Ue++){var Ne=Je[Ue],et=Ne.head,Ee,Ve=De.getRange(et,Le(et.line,et.ch+1));if(Ke&&!Ne.empty())Ee="surround";else if((Xe||!Ke)&&Ve==Fe)Xe&&We(De,et)?Ee="both":Ge.indexOf(Fe)>=0&&De.getRange(et,Le(et.line,et.ch+3))==Fe+Fe+Fe?Ee="skipThree":Ee="skip";else if(Xe&&et.ch>1&&Ge.indexOf(Fe)>=0&&De.getRange(Le(et.line,et.ch-2),et)==Fe+Fe){if(et.ch>2&&/\bstring/.test(De.getTokenTypeAt(Le(et.line,et.ch-2))))return ne.Pass;Ee="addFour"}else if(Xe){var Se=et.ch==0?" ":De.getRange(Le(et.line,et.ch-1),et);if(!ne.isWordChar(Ve)&&Se!=Fe&&!ne.isWordChar(Se))Ee="both";else return ne.Pass}else if(Ke&&(Ve.length===0||/\s/.test(Ve)||nt.indexOf(Ve)>-1))Ee="both";else return ne.Pass;if(!Lt)Lt=Ee;else if(Lt!=Ee)return ne.Pass}var He=ht%2?st.charAt(ht-1):Fe,Pt=ht%2?Fe:st.charAt(ht+1);De.operation(function(){if(Lt=="skip")De.execCommand("goCharRight");else if(Lt=="skipThree")for(var gt=0;gt<3;gt++)De.execCommand("goCharRight");else if(Lt=="surround"){for(var bt=De.getSelections(),gt=0;gt<bt.length;gt++)bt[gt]=He+bt[gt]+Pt;De.replaceSelections(bt,"around"),bt=De.listSelections().slice();for(var gt=0;gt<bt.length;gt++)bt[gt]=Qe(bt[gt]);De.setSelections(bt)}else Lt=="both"?(De.replaceSelection(He+Pt,null),De.triggerElectric(He+Pt),De.execCommand("goCharLeft")):Lt=="addFour"&&(De.replaceSelection(He+He+He+He,"before"),De.execCommand("goCharRight"))})}function ot(De,Fe){var Be=De.getRange(Le(Fe.line,Fe.ch-1),Le(Fe.line,Fe.ch+1));return Be.length==2?Be:null}function We(De,Fe){var Be=De.getTokenAt(Le(Fe.line,Fe.ch+1));return/\bstring/.test(Be.type)&&Be.start==Fe.ch&&(Fe.ch==0||!/\bstring/.test(De.getTokenTypeAt(Fe)))}})},6313:function(Tt,zt,de){(function(ne){ne(de(89780),de(52730))})(function(ne){ne.defineOption("autoCloseTags",!1,function(we,he,Qe){if(Qe!=ne.Init&&Qe&&we.removeKeyMap("autoCloseTags"),!!he){var ve={name:"autoCloseTags"};(typeof he!="object"||he.whenClosing!==!1)&&(ve["'/'"]=function(ot){return me(ot)}),(typeof he!="object"||he.whenOpening!==!1)&&(ve["'>'"]=function(ot){return Re(ot)}),we.addKeyMap(ve)}});var $e=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"],Le=["applet","blockquote","body","button","div","dl","fieldset","form","frameset","h1","h2","h3","h4","h5","h6","head","html","iframe","layer","legend","object","ol","p","select","table","ul"];function Re(we){if(we.getOption("disableInput"))return ne.Pass;for(var he=we.listSelections(),Qe=[],ve=we.getOption("autoCloseTags"),ot=0;ot<he.length;ot++){if(!he[ot].empty())return ne.Pass;var We=he[ot].head,De=we.getTokenAt(We),Fe=ne.innerMode(we.getMode(),De.state),Be=Fe.state,st=Fe.mode.xmlCurrentTag&&Fe.mode.xmlCurrentTag(Be),ht=st&&st.name;if(!ht)return ne.Pass;var nt=Fe.mode.configuration=="html",Ge=typeof ve=="object"&&ve.dontCloseTags||nt&&$e,Xe=typeof ve=="object"&&ve.indentTags||nt&&Le;De.end>We.ch&&(ht=ht.slice(0,ht.length-De.end+We.ch));var Je=ht.toLowerCase();if(!ht||De.type=="string"&&(De.end!=We.ch||!/[\"\']/.test(De.string.charAt(De.string.length-1))||De.string.length==1)||De.type=="tag"&&st.close||De.string.indexOf("/")==We.ch-De.start-1||Ge&&Te(Ge,Je)>-1||Ce(we,Fe.mode.xmlCurrentContext&&Fe.mode.xmlCurrentContext(Be)||[],ht,We,!0))return ne.Pass;var Ke=typeof ve=="object"&&ve.emptyTags;if(Ke&&Te(Ke,ht)>-1){Qe[ot]={text:"/>",newPos:ne.Pos(We.line,We.ch+2)};continue}var Lt=Xe&&Te(Xe,Je)>-1;Qe[ot]={indent:Lt,text:">"+(Lt?`
|
|
|
|
`:"")+"</"+ht+">",newPos:Lt?ne.Pos(We.line+1,0):ne.Pos(We.line,We.ch+1)}}for(var Ue=typeof ve=="object"&&ve.dontIndentOnAutoClose,ot=he.length-1;ot>=0;ot--){var Ne=Qe[ot];we.replaceRange(Ne.text,he[ot].head,he[ot].anchor,"+insert");var et=we.listSelections().slice(0);et[ot]={head:Ne.newPos,anchor:Ne.newPos},we.setSelections(et),!Ue&&Ne.indent&&(we.indentLine(Ne.newPos.line,null,!0),we.indentLine(Ne.newPos.line+1,null,!0))}}function ge(we,he){for(var Qe=we.listSelections(),ve=[],ot=he?"/":"</",We=we.getOption("autoCloseTags"),De=typeof We=="object"&&We.dontIndentOnSlash,Fe=0;Fe<Qe.length;Fe++){if(!Qe[Fe].empty())return ne.Pass;var Be=Qe[Fe].head,st=we.getTokenAt(Be),ht=ne.innerMode(we.getMode(),st.state),nt=ht.state;if(he&&(st.type=="string"||st.string.charAt(0)!="<"||st.start!=Be.ch-1))return ne.Pass;var Ge,Xe=ht.mode.name!="xml"&&we.getMode().name=="htmlmixed";if(Xe&&ht.mode.name=="javascript")Ge=ot+"script";else if(Xe&&ht.mode.name=="css")Ge=ot+"style";else{var Je=ht.mode.xmlCurrentContext&&ht.mode.xmlCurrentContext(nt);if(!Je||Je.length&&Ce(we,Je,Je[Je.length-1],Be))return ne.Pass;Ge=ot+Je[Je.length-1]}we.getLine(Be.line).charAt(st.end)!=">"&&(Ge+=">"),ve[Fe]=Ge}if(we.replaceSelections(ve),Qe=we.listSelections(),!De)for(var Fe=0;Fe<Qe.length;Fe++)(Fe==Qe.length-1||Qe[Fe].head.line<Qe[Fe+1].head.line)&&we.indentLine(Qe[Fe].head.line)}function me(we){return we.getOption("disableInput")?ne.Pass:ge(we,!0)}ne.commands.closeTag=function(we){return ge(we)};function Te(we,he){if(we.indexOf)return we.indexOf(he);for(var Qe=0,ve=we.length;Qe<ve;++Qe)if(we[Qe]==he)return Qe;return-1}function Ce(we,he,Qe,ve,ot){if(!ne.scanForClosingTag)return!1;var We=Math.min(we.lastLine()+1,ve.line+500),De=ne.scanForClosingTag(we,ve,null,We);if(!De||De.tag!=Qe)return!1;for(var Fe=ot?1:0,Be=he.length-1;Be>=0&&he[Be]==Qe;Be--)++Fe;ve=De.to;for(var Be=1;Be<Fe;Be++){var st=ne.scanForClosingTag(we,ve,null,We);if(!st||st.tag!=Qe)return!1;ve=st.to}return!0}})},52730:function(Tt,zt,de){(function(ne){ne(de(89780))})(function(ne){"use strict";var $e=ne.Pos;function Le(Be,st){return Be.line-st.line||Be.ch-st.ch}var Re="A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ge=Re+"-:.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",me=new RegExp("<(/?)(["+Re+"]["+ge+"]*)","g");function Te(Be,st,ht,nt){this.line=st,this.ch=ht,this.cm=Be,this.text=Be.getLine(st),this.min=nt?Math.max(nt.from,Be.firstLine()):Be.firstLine(),this.max=nt?Math.min(nt.to-1,Be.lastLine()):Be.lastLine()}function Ce(Be,st){var ht=Be.cm.getTokenTypeAt($e(Be.line,st));return ht&&/\btag\b/.test(ht)}function we(Be){if(!(Be.line>=Be.max))return Be.ch=0,Be.text=Be.cm.getLine(++Be.line),!0}function he(Be){if(!(Be.line<=Be.min))return Be.text=Be.cm.getLine(--Be.line),Be.ch=Be.text.length,!0}function Qe(Be){for(;;){var st=Be.text.indexOf(">",Be.ch);if(st==-1){if(we(Be))continue;return}if(!Ce(Be,st+1)){Be.ch=st+1;continue}var ht=Be.text.lastIndexOf("/",st),nt=ht>-1&&!/\S/.test(Be.text.slice(ht+1,st));return Be.ch=st+1,nt?"selfClose":"regular"}}function ve(Be){for(;;){var st=Be.ch?Be.text.lastIndexOf("<",Be.ch-1):-1;if(st==-1){if(he(Be))continue;return}if(!Ce(Be,st+1)){Be.ch=st;continue}me.lastIndex=st,Be.ch=st;var ht=me.exec(Be.text);if(ht&&ht.index==st)return ht}}function ot(Be){for(;;){me.lastIndex=Be.ch;var st=me.exec(Be.text);if(!st){if(we(Be))continue;return}if(!Ce(Be,st.index+1)){Be.ch=st.index+1;continue}return Be.ch=st.index+st[0].length,st}}function We(Be){for(;;){var st=Be.ch?Be.text.lastIndexOf(">",Be.ch-1):-1;if(st==-1){if(he(Be))continue;return}if(!Ce(Be,st+1)){Be.ch=st;continue}var ht=Be.text.lastIndexOf("/",st),nt=ht>-1&&!/\S/.test(Be.text.slice(ht+1,st));return Be.ch=st+1,nt?"selfClose":"regular"}}function De(Be,st){for(var ht=[];;){var nt=ot(Be),Ge,Xe=Be.line,Je=Be.ch-(nt?nt[0].length:0);if(!nt||!(Ge=Qe(Be)))return;if(Ge!="selfClose")if(nt[1]){for(var Ke=ht.length-1;Ke>=0;--Ke)if(ht[Ke]==nt[2]){ht.length=Ke;break}if(Ke<0&&(!st||st==nt[2]))return{tag:nt[2],from:$e(Xe,Je),to:$e(Be.line,Be.ch)}}else ht.push(nt[2])}}function Fe(Be,st){for(var ht=[];;){var nt=We(Be);if(!nt)return;if(nt=="selfClose"){ve(Be);continue}var Ge=Be.line,Xe=Be.ch,Je=ve(Be);if(!Je)return;if(Je[1])ht.push(Je[2]);else{for(var Ke=ht.length-1;Ke>=0;--Ke)if(ht[Ke]==Je[2]){ht.length=Ke;break}if(Ke<0&&(!st||st==Je[2]))return{tag:Je[2],from:$e(Be.line,Be.ch),to:$e(Ge,Xe)}}}}ne.registerHelper("fold","xml",function(Be,st){for(var ht=new Te(Be,st.line,0);;){var nt=ot(ht);if(!nt||ht.line!=st.line)return;var Ge=Qe(ht);if(!Ge)return;if(!nt[1]&&Ge!="selfClose"){var Xe=$e(ht.line,ht.ch),Je=De(ht,nt[2]);return Je&&Le(Je.from,Xe)>0?{from:Xe,to:Je.from}:null}}}),ne.findMatchingTag=function(Be,st,ht){var nt=new Te(Be,st.line,st.ch,ht);if(!(nt.text.indexOf(">")==-1&&nt.text.indexOf("<")==-1)){var Ge=Qe(nt),Xe=Ge&&$e(nt.line,nt.ch),Je=Ge&&ve(nt);if(!(!Ge||!Je||Le(nt,st)>0)){var Ke={from:$e(nt.line,nt.ch),to:Xe,tag:Je[2]};return Ge=="selfClose"?{open:Ke,close:null,at:"open"}:Je[1]?{open:Fe(nt,Je[2]),close:Ke,at:"close"}:(nt=new Te(Be,Xe.line,Xe.ch,ht),{open:Ke,close:De(nt,Je[2]),at:"open"})}}},ne.findEnclosingTag=function(Be,st,ht,nt){for(var Ge=new Te(Be,st.line,st.ch,ht);;){var Xe=Fe(Ge,nt);if(!Xe)break;var Je=new Te(Be,st.line,st.ch,ht),Ke=De(Je,Xe.tag);if(Ke)return{open:Xe,close:Ke}}},ne.scanForClosingTag=function(Be,st,ht,nt){var Ge=new Te(Be,st.line,st.ch,nt?{from:0,to:nt}:null);return De(Ge,ht)}})},89780:function(Tt){(function(zt,de){Tt.exports=de()})(this,function(){"use strict";var zt=navigator.userAgent,de=navigator.platform,ne=/gecko\/\d/i.test(zt),$e=/MSIE \d/.test(zt),Le=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(zt),Re=/Edge\/(\d+)/.exec(zt),ge=$e||Le||Re,me=ge&&($e?document.documentMode||6:+(Re||Le)[1]),Te=!Re&&/WebKit\//.test(zt),Ce=Te&&/Qt\/\d+\.\d+/.test(zt),we=!Re&&/Chrome\//.test(zt),he=/Opera\//.test(zt),Qe=/Apple Computer/.test(navigator.vendor),ve=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(zt),ot=/PhantomJS/.test(zt),We=!Re&&/AppleWebKit/.test(zt)&&/Mobile\/\w+/.test(zt),De=/Android/.test(zt),Fe=We||De||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(zt),Be=We||/Mac/.test(de),st=/\bCrOS\b/.test(zt),ht=/win/i.test(de),nt=he&&zt.match(/Version\/(\d*\.\d*)/);nt&&(nt=Number(nt[1])),nt&&nt>=15&&(he=!1,Te=!0);var Ge=Be&&(Ce||he&&(nt==null||nt<12.11)),Xe=ne||ge&&me>=9;function Je(a){return new RegExp("(^|\\s)"+a+"(?:$|\\s)\\s*")}var Ke=function(a,y){var x=a.className,b=Je(y).exec(x);if(b){var E=x.slice(b.index+b[0].length);a.className=x.slice(0,b.index)+(E?b[1]+E:"")}};function Lt(a){for(var y=a.childNodes.length;y>0;--y)a.removeChild(a.firstChild);return a}function Ue(a,y){return Lt(a).appendChild(y)}function Ne(a,y,x,b){var E=document.createElement(a);if(x&&(E.className=x),b&&(E.style.cssText=b),typeof y=="string")E.appendChild(document.createTextNode(y));else if(y)for(var te=0;te<y.length;++te)E.appendChild(y[te]);return E}function et(a,y,x,b){var E=Ne(a,y,x,b);return E.setAttribute("role","presentation"),E}var Ee;document.createRange?Ee=function(a,y,x,b){var E=document.createRange();return E.setEnd(b||a,x),E.setStart(a,y),E}:Ee=function(a,y,x){var b=document.body.createTextRange();try{b.moveToElementText(a.parentNode)}catch(E){return b}return b.collapse(!0),b.moveEnd("character",x),b.moveStart("character",y),b};function Ve(a,y){if(y.nodeType==3&&(y=y.parentNode),a.contains)return a.contains(y);do if(y.nodeType==11&&(y=y.host),y==a)return!0;while(y=y.parentNode)}function Se(){var a;try{a=document.activeElement}catch(y){a=document.body||null}for(;a&&a.shadowRoot&&a.shadowRoot.activeElement;)a=a.shadowRoot.activeElement;return a}function He(a,y){var x=a.className;Je(y).test(x)||(a.className+=(x?" ":"")+y)}function Pt(a,y){for(var x=a.split(" "),b=0;b<x.length;b++)x[b]&&!Je(x[b]).test(y)&&(y+=" "+x[b]);return y}var gt=function(a){a.select()};We?gt=function(a){a.selectionStart=0,a.selectionEnd=a.value.length}:ge&&(gt=function(a){try{a.select()}catch(y){}});function bt(a){var y=Array.prototype.slice.call(arguments,1);return function(){return a.apply(null,y)}}function ut(a,y,x){y||(y={});for(var b in a)a.hasOwnProperty(b)&&(x!==!1||!y.hasOwnProperty(b))&&(y[b]=a[b]);return y}function pe(a,y,x,b,E){y==null&&(y=a.search(/[^\s\u00a0]/),y==-1&&(y=a.length));for(var te=b||0,oe=E||0;;){var se=a.indexOf(" ",te);if(se<0||se>=y)return oe+(y-te);oe+=se-te,oe+=x-oe%x,te=se+1}}var ce=function(){this.id=null,this.f=null,this.time=0,this.handler=bt(this.onTimeout,this)};ce.prototype.onTimeout=function(a){a.id=0,a.time<=+new Date?a.f():setTimeout(a.handler,a.time-+new Date)},ce.prototype.set=function(a,y){this.f=y;var x=+new Date+a;(!this.id||x<this.time)&&(clearTimeout(this.id),this.id=setTimeout(this.handler,a),this.time=x)};function ze(a,y){for(var x=0;x<a.length;++x)if(a[x]==y)return x;return-1}var dt=50,ct={toString:function(){return"CodeMirror.Pass"}},be={scroll:!1},Ye={origin:"*mouse"},Ie={origin:"+move"};function Ct(a,y,x){for(var b=0,E=0;;){var te=a.indexOf(" ",b);te==-1&&(te=a.length);var oe=te-b;if(te==a.length||E+oe>=y)return b+Math.min(oe,y-E);if(E+=te-b,E+=x-E%x,b=te+1,E>=y)return b}}var qe=[""];function wt(a){for(;qe.length<=a;)qe.push(Pe(qe)+" ");return qe[a]}function Pe(a){return a[a.length-1]}function lt(a,y){for(var x=[],b=0;b<a.length;b++)x[b]=y(a[b],b);return x}function pt(a,y,x){for(var b=0,E=x(y);b<a.length&&x(a[b])<=E;)b++;a.splice(b,0,y)}function ae(){}function ee(a,y){var x;return Object.create?x=Object.create(a):(ae.prototype=a,x=new ae),y&&ut(y,x),x}var z=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;function ie(a){return/\w/.test(a)||a>"\x80"&&(a.toUpperCase()!=a.toLowerCase()||z.test(a))}function le(a,y){return y?y.source.indexOf("\\w")>-1&&ie(a)?!0:y.test(a):ie(a)}function re(a){for(var y in a)if(a.hasOwnProperty(y)&&a[y])return!1;return!0}var ye=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Oe(a){return a.charCodeAt(0)>=768&&ye.test(a)}function Et(a,y,x){for(;(x<0?y>0:y<a.length)&&Oe(a.charAt(y));)y+=x;return y}function yt(a,y,x){for(var b=y>x?-1:1;;){if(y==x)return y;var E=(y+x)/2,te=b<0?Math.ceil(E):Math.floor(E);if(te==y)return a(te)?y:x;a(te)?x=te:y=te+b}}function at(a,y,x,b){if(!a)return b(y,x,"ltr",0);for(var E=!1,te=0;te<a.length;++te){var oe=a[te];(oe.from<x&&oe.to>y||y==x&&oe.to==y)&&(b(Math.max(oe.from,y),Math.min(oe.to,x),oe.level==1?"rtl":"ltr",te),E=!0)}E||b(y,x,"ltr")}var mt=null;function It(a,y,x){var b;mt=null;for(var E=0;E<a.length;++E){var te=a[E];if(te.from<y&&te.to>y)return E;te.to==y&&(te.from!=te.to&&x=="before"?b=E:mt=E),te.from==y&&(te.from!=te.to&&x!="before"?b=E:mt=E)}return b!=null?b:mt}var Wt=function(){var a="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",y="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function x(fe){return fe<=247?a.charAt(fe):1424<=fe&&fe<=1524?"R":1536<=fe&&fe<=1785?y.charAt(fe-1536):1774<=fe&&fe<=2220?"r":8192<=fe&&fe<=8203?"w":fe==8204?"b":"L"}var b=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,E=/[stwN]/,te=/[LRr]/,oe=/[Lb1n]/,se=/[1n]/;function ue(fe,xe,Ae){this.level=fe,this.from=xe,this.to=Ae}return function(fe,xe){var Ae=xe=="ltr"?"L":"R";if(fe.length==0||xe=="ltr"&&!b.test(fe))return!1;for(var it=fe.length,_e=[],Mt=0;Mt<it;++Mt)_e.push(x(fe.charCodeAt(Mt)));for(var Zt=0,tn=Ae;Zt<it;++Zt){var yn=_e[Zt];yn=="m"?_e[Zt]=tn:tn=yn}for(var Cn=0,bn=Ae;Cn<it;++Cn){var Dn=_e[Cn];Dn=="1"&&bn=="r"?_e[Cn]="n":te.test(Dn)&&(bn=Dn,Dn=="r"&&(_e[Cn]="R"))}for(var Gn=1,On=_e[0];Gn<it-1;++Gn){var sr=_e[Gn];sr=="+"&&On=="1"&&_e[Gn+1]=="1"?_e[Gn]="1":sr==","&&On==_e[Gn+1]&&(On=="1"||On=="n")&&(_e[Gn]=On),On=sr}for(var Rr=0;Rr<it;++Rr){var ii=_e[Rr];if(ii==",")_e[Rr]="N";else if(ii=="%"){var Wr=void 0;for(Wr=Rr+1;Wr<it&&_e[Wr]=="%";++Wr);for(var Fi=Rr&&_e[Rr-1]=="!"||Wr<it&&_e[Wr]=="1"?"1":"N",ki=Rr;ki<Wr;++ki)_e[ki]=Fi;Rr=Wr-1}}for(var qr=0,Ai=Ae;qr<it;++qr){var ci=_e[qr];Ai=="L"&&ci=="1"?_e[qr]="L":te.test(ci)&&(Ai=ci)}for(var ei=0;ei<it;++ei)if(E.test(_e[ei])){var _r=void 0;for(_r=ei+1;_r<it&&E.test(_e[_r]);++_r);for(var Zr=(ei?_e[ei-1]:Ae)=="L",Di=(_r<it?_e[_r]:Ae)=="L",Xo=Zr==Di?Zr?"L":"R":Ae,bo=ei;bo<_r;++bo)_e[bo]=Xo;ei=_r-1}for(var vi=[],$i,oi=0;oi<it;)if(oe.test(_e[oi])){var bl=oi;for(++oi;oi<it&&oe.test(_e[oi]);++oi);vi.push(new ue(0,bl,oi))}else{var oo=oi,Bo=vi.length,Lo=xe=="rtl"?1:0;for(++oi;oi<it&&_e[oi]!="L";++oi);for(var bi=oo;bi<oi;)if(se.test(_e[bi])){oo<bi&&(vi.splice(Bo,0,new ue(1,oo,bi)),Bo+=Lo);var Uo=bi;for(++bi;bi<oi&&se.test(_e[bi]);++bi);vi.splice(Bo,0,new ue(2,Uo,bi)),Bo+=Lo,oo=bi}else++bi;oo<oi&&vi.splice(Bo,0,new ue(1,oo,oi))}return xe=="ltr"&&(vi[0].level==1&&($i=fe.match(/^\s+/))&&(vi[0].from=$i[0].length,vi.unshift(new ue(0,0,$i[0].length))),Pe(vi).level==1&&($i=fe.match(/\s+$/))&&(Pe(vi).to-=$i[0].length,vi.push(new ue(0,it-$i[0].length,it)))),xe=="rtl"?vi.reverse():vi}}();function Yt(a,y){var x=a.order;return x==null&&(x=a.order=Wt(a.text,y)),x}var Jt=[],xt=function(a,y,x){if(a.addEventListener)a.addEventListener(y,x,!1);else if(a.attachEvent)a.attachEvent("on"+y,x);else{var b=a._handlers||(a._handlers={});b[y]=(b[y]||Jt).concat(x)}};function dn(a,y){return a._handlers&&a._handlers[y]||Jt}function ft(a,y,x){if(a.removeEventListener)a.removeEventListener(y,x,!1);else if(a.detachEvent)a.detachEvent("on"+y,x);else{var b=a._handlers,E=b&&b[y];if(E){var te=ze(E,x);te>-1&&(b[y]=E.slice(0,te).concat(E.slice(te+1)))}}}function Nt(a,y){var x=dn(a,y);if(x.length)for(var b=Array.prototype.slice.call(arguments,2),E=0;E<x.length;++E)x[E].apply(null,b)}function tt(a,y,x){return typeof y=="string"&&(y={type:y,preventDefault:function(){this.defaultPrevented=!0}}),Nt(a,x||y.type,a,y),Xt(y)||y.codemirrorIgnore}function Qt(a){var y=a._handlers&&a._handlers.cursorActivity;if(y)for(var x=a.curOp.cursorActivityHandlers||(a.curOp.cursorActivityHandlers=[]),b=0;b<y.length;++b)ze(x,y[b])==-1&&x.push(y[b])}function kt(a,y){return dn(a,y).length>0}function Ot(a){a.prototype.on=function(y,x){xt(this,y,x)},a.prototype.off=function(y,x){ft(this,y,x)}}function Dt(a){a.preventDefault?a.preventDefault():a.returnValue=!1}function cn(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0}function Xt(a){return a.defaultPrevented!=null?a.defaultPrevented:a.returnValue==!1}function fn(a){Dt(a),cn(a)}function Nn(a){return a.target||a.srcElement}function Tn(a){var y=a.which;return y==null&&(a.button&1?y=1:a.button&2?y=3:a.button&4&&(y=2)),Be&&a.ctrlKey&&y==1&&(y=3),y}var or=function(){if(ge&&me<9)return!1;var a=Ne("div");return"draggable"in a||"dragDrop"in a}(),vr;function lr(a){if(vr==null){var y=Ne("span","\u200B");Ue(a,Ne("span",[y,document.createTextNode("x")])),a.firstChild.offsetHeight!=0&&(vr=y.offsetWidth<=1&&y.offsetHeight>2&&!(ge&&me<8))}var x=vr?Ne("span","\u200B"):Ne("span","\xA0",null,"display: inline-block; width: 1px; margin-right: -1px");return x.setAttribute("cm-text",""),x}var Vn;function hn(a){if(Vn!=null)return Vn;var y=Ue(a,document.createTextNode("A\u062EA")),x=Ee(y,0,1).getBoundingClientRect(),b=Ee(y,1,2).getBoundingClientRect();return Lt(a),!x||x.left==x.right?!1:Vn=b.right-x.right<3}var Xn=`
|
|
|
|
b`.split(/\n/).length!=3?function(a){for(var y=0,x=[],b=a.length;y<=b;){var E=a.indexOf(`
|
|
`,y);E==-1&&(E=a.length);var te=a.slice(y,a.charAt(E-1)=="\r"?E-1:E),oe=te.indexOf("\r");oe!=-1?(x.push(te.slice(0,oe)),y+=oe+1):(x.push(te),y=E+1)}return x}:function(a){return a.split(/\r\n?|\n/)},Rn=window.getSelection?function(a){try{return a.selectionStart!=a.selectionEnd}catch(y){return!1}}:function(a){var y;try{y=a.ownerDocument.selection.createRange()}catch(x){}return!y||y.parentElement()!=a?!1:y.compareEndPoints("StartToEnd",y)!=0},Bn=function(){var a=Ne("div");return"oncopy"in a?!0:(a.setAttribute("oncopy","return;"),typeof a.oncopy=="function")}(),Zn=null;function Ft(a){if(Zn!=null)return Zn;var y=Ue(a,Ne("span","x")),x=y.getBoundingClientRect(),b=Ee(y,0,1).getBoundingClientRect();return Zn=Math.abs(x.left-b.left)>1}var jt={},vt={};function At(a,y){arguments.length>2&&(y.dependencies=Array.prototype.slice.call(arguments,2)),jt[a]=y}function qt(a,y){vt[a]=y}function sn(a){if(typeof a=="string"&&vt.hasOwnProperty(a))a=vt[a];else if(a&&typeof a.name=="string"&&vt.hasOwnProperty(a.name)){var y=vt[a.name];typeof y=="string"&&(y={name:y}),a=ee(y,a),a.name=y.name}else{if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(a))return sn("application/xml");if(typeof a=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(a))return sn("application/json")}return typeof a=="string"?{name:a}:a||{name:"null"}}function an(a,y){y=sn(y);var x=jt[y.name];if(!x)return an(a,"text/plain");var b=x(a,y);if(En.hasOwnProperty(y.name)){var E=En[y.name];for(var te in E)E.hasOwnProperty(te)&&(b.hasOwnProperty(te)&&(b["_"+te]=b[te]),b[te]=E[te])}if(b.name=y.name,y.helperType&&(b.helperType=y.helperType),y.modeProps)for(var oe in y.modeProps)b[oe]=y.modeProps[oe];return b}var En={};function Fn(a,y){var x=En.hasOwnProperty(a)?En[a]:En[a]={};ut(y,x)}function Mn(a,y){if(y===!0)return y;if(a.copyState)return a.copyState(y);var x={};for(var b in y){var E=y[b];E instanceof Array&&(E=E.concat([])),x[b]=E}return x}function wn(a,y){for(var x;a.innerMode&&(x=a.innerMode(y),!(!x||x.mode==a));)y=x.state,a=x.mode;return x||{mode:a,state:y}}function pn(a,y,x){return a.startState?a.startState(y,x):!0}var Ht=function(a,y,x){this.pos=this.start=0,this.string=a,this.tabSize=y||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=x};Ht.prototype.eol=function(){return this.pos>=this.string.length},Ht.prototype.sol=function(){return this.pos==this.lineStart},Ht.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ht.prototype.next=function(){if(this.pos<this.string.length)return this.string.charAt(this.pos++)},Ht.prototype.eat=function(a){var y=this.string.charAt(this.pos),x;if(typeof a=="string"?x=y==a:x=y&&(a.test?a.test(y):a(y)),x)return++this.pos,y},Ht.prototype.eatWhile=function(a){for(var y=this.pos;this.eat(a););return this.pos>y},Ht.prototype.eatSpace=function(){for(var a=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>a},Ht.prototype.skipToEnd=function(){this.pos=this.string.length},Ht.prototype.skipTo=function(a){var y=this.string.indexOf(a,this.pos);if(y>-1)return this.pos=y,!0},Ht.prototype.backUp=function(a){this.pos-=a},Ht.prototype.column=function(){return this.lastColumnPos<this.start&&(this.lastColumnValue=pe(this.string,this.start,this.tabSize,this.lastColumnPos,this.lastColumnValue),this.lastColumnPos=this.start),this.lastColumnValue-(this.lineStart?pe(this.string,this.lineStart,this.tabSize):0)},Ht.prototype.indentation=function(){return pe(this.string,null,this.tabSize)-(this.lineStart?pe(this.string,this.lineStart,this.tabSize):0)},Ht.prototype.match=function(a,y,x){if(typeof a=="string"){var b=function(oe){return x?oe.toLowerCase():oe},E=this.string.substr(this.pos,a.length);if(b(E)==b(a))return y!==!1&&(this.pos+=a.length),!0}else{var te=this.string.slice(this.pos).match(a);return te&&te.index>0?null:(te&&y!==!1&&(this.pos+=te[0].length),te)}},Ht.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ht.prototype.hideFirstChars=function(a,y){this.lineStart+=a;try{return y()}finally{this.lineStart-=a}},Ht.prototype.lookAhead=function(a){var y=this.lineOracle;return y&&y.lookAhead(a)},Ht.prototype.baseToken=function(){var a=this.lineOracle;return a&&a.baseToken(this.pos)};function rt(a,y){if(y-=a.first,y<0||y>=a.size)throw new Error("There is no line "+(y+a.first)+" in the document.");for(var x=a;!x.lines;)for(var b=0;;++b){var E=x.children[b],te=E.chunkSize();if(y<te){x=E;break}y-=te}return x.lines[y]}function Ut(a,y,x){var b=[],E=y.line;return a.iter(y.line,x.line+1,function(te){var oe=te.text;E==x.line&&(oe=oe.slice(0,x.ch)),E==y.line&&(oe=oe.slice(y.ch)),b.push(oe),++E}),b}function vn(a,y,x){var b=[];return a.iter(y,x,function(E){b.push(E.text)}),b}function Pn(a,y){var x=y-a.height;if(x)for(var b=a;b;b=b.parent)b.height+=x}function ke(a){if(a.parent==null)return null;for(var y=a.parent,x=ze(y.lines,a),b=y.parent;b;y=b,b=b.parent)for(var E=0;b.children[E]!=y;++E)x+=b.children[E].chunkSize();return x+y.first}function Me(a,y){var x=a.first;e:do{for(var b=0;b<a.children.length;++b){var E=a.children[b],te=E.height;if(y<te){a=E;continue e}y-=te,x+=E.chunkSize()}return x}while(!a.lines);for(var oe=0;oe<a.lines.length;++oe){var se=a.lines[oe],ue=se.height;if(y<ue)break;y-=ue}return x+oe}function Rt(a,y){return y>=a.first&&y<a.first+a.size}function St(a,y){return String(a.lineNumberFormatter(y+a.firstLineNumber))}function je(a,y,x){if(x===void 0&&(x=null),!(this instanceof je))return new je(a,y,x);this.line=a,this.ch=y,this.sticky=x}function Bt(a,y){return a.line-y.line||a.ch-y.ch}function nn(a,y){return a.sticky==y.sticky&&Bt(a,y)==0}function un(a){return je(a.line,a.ch)}function xn(a,y){return Bt(a,y)<0?y:a}function Kt(a,y){return Bt(a,y)<0?a:y}function rn(a,y){return Math.max(a.first,Math.min(y,a.first+a.size-1))}function Ze(a,y){if(y.line<a.first)return je(a.first,0);var x=a.first+a.size-1;return y.line>x?je(x,rt(a,x).text.length):zn(y,rt(a,y.line).text.length)}function zn(a,y){var x=a.ch;return x==null||x>y?je(a.line,y):x<0?je(a.line,0):a}function $t(a,y){for(var x=[],b=0;b<y.length;b++)x[b]=Ze(a,y[b]);return x}var kn=function(a,y){this.state=a,this.lookAhead=y},Sn=function(a,y,x,b){this.state=y,this.doc=a,this.line=x,this.maxLookAhead=b||0,this.baseTokens=null,this.baseTokenPos=1};Sn.prototype.lookAhead=function(a){var y=this.doc.getLine(this.line+a);return y!=null&&a>this.maxLookAhead&&(this.maxLookAhead=a),y},Sn.prototype.baseToken=function(a){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=a;)this.baseTokenPos+=2;var y=this.baseTokens[this.baseTokenPos+1];return{type:y&&y.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-a}},Sn.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},Sn.fromSaved=function(a,y,x){return y instanceof kn?new Sn(a,Mn(a.mode,y.state),x,y.lookAhead):new Sn(a,Mn(a.mode,y),x)},Sn.prototype.save=function(a){var y=a!==!1?Mn(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new kn(y,this.maxLookAhead):y};function Hn(a,y,x,b){var E=[a.state.modeGen],te={};mr(a,y.text,a.doc.mode,x,function(fe,xe){return E.push(fe,xe)},te,b);for(var oe=x.state,se=function(fe){x.baseTokens=E;var xe=a.state.overlays[fe],Ae=1,it=0;x.state=!0,mr(a,y.text,xe.mode,x,function(_e,Mt){for(var Zt=Ae;it<_e;){var tn=E[Ae];tn>_e&&E.splice(Ae,1,_e,E[Ae+1],tn),Ae+=2,it=Math.min(_e,tn)}if(Mt)if(xe.opaque)E.splice(Zt,Ae-Zt,_e,"overlay "+Mt),Ae=Zt+2;else for(;Zt<Ae;Zt+=2){var yn=E[Zt+1];E[Zt+1]=(yn?yn+" ":"")+"overlay "+Mt}},te),x.state=oe,x.baseTokens=null,x.baseTokenPos=1},ue=0;ue<a.state.overlays.length;++ue)se(ue);return{styles:E,classes:te.bgClass||te.textClass?te:null}}function jn(a,y,x){if(!y.styles||y.styles[0]!=a.state.modeGen){var b=yr(a,ke(y)),E=y.text.length>a.options.maxHighlightLength&&Mn(a.doc.mode,b.state),te=Hn(a,y,b);E&&(b.state=E),y.stateAfter=b.save(!E),y.styles=te.styles,te.classes?y.styleClasses=te.classes:y.styleClasses&&(y.styleClasses=null),x===a.doc.highlightFrontier&&(a.doc.modeFrontier=Math.max(a.doc.modeFrontier,++a.doc.highlightFrontier))}return y.styles}function yr(a,y,x){var b=a.doc,E=a.display;if(!b.mode.startState)return new Sn(b,!0,y);var te=xr(a,y,x),oe=te>b.first&&rt(b,te-1).stateAfter,se=oe?Sn.fromSaved(b,oe,te):new Sn(b,pn(b.mode),te);return b.iter(te,y,function(ue){Qn(a,ue.text,se);var fe=se.line;ue.stateAfter=fe==y-1||fe%5==0||fe>=E.viewFrom&&fe<E.viewTo?se.save():null,se.nextLine()}),x&&(b.modeFrontier=se.line),se}function Qn(a,y,x,b){var E=a.doc.mode,te=new Ht(y,a.options.tabSize,x);for(te.start=te.pos=b||0,y==""&&Kn(E,x.state);!te.eol();)ur(E,te,x.state),te.start=te.pos}function Kn(a,y){if(a.blankLine)return a.blankLine(y);if(a.innerMode){var x=wn(a,y);if(x.mode.blankLine)return x.mode.blankLine(x.state)}}function ur(a,y,x,b){for(var E=0;E<10;E++){b&&(b[0]=wn(a,x).mode);var te=a.token(y,x);if(y.pos>y.start)return te}throw new Error("Mode "+a.name+" failed to advance stream.")}var Un=function(a,y,x){this.start=a.start,this.end=a.pos,this.string=a.current(),this.type=y||null,this.state=x};function br(a,y,x,b){var E=a.doc,te=E.mode,oe;y=Ze(E,y);var se=rt(E,y.line),ue=yr(a,y.line,x),fe=new Ht(se.text,a.options.tabSize,ue),xe;for(b&&(xe=[]);(b||fe.pos<y.ch)&&!fe.eol();)fe.start=fe.pos,oe=ur(te,fe,ue.state),b&&xe.push(new Un(fe,oe,Mn(E.mode,ue.state)));return b?xe:new Un(fe,oe,ue.state)}function Mr(a,y){if(a)for(;;){var x=a.match(/(?:^|\s+)line-(background-)?(\S+)/);if(!x)break;a=a.slice(0,x.index)+a.slice(x.index+x[0].length);var b=x[1]?"bgClass":"textClass";y[b]==null?y[b]=x[2]:new RegExp("(?:^|\\s)"+x[2]+"(?:$|\\s)").test(y[b])||(y[b]+=" "+x[2])}return a}function mr(a,y,x,b,E,te,oe){var se=x.flattenSpans;se==null&&(se=a.options.flattenSpans);var ue=0,fe=null,xe=new Ht(y,a.options.tabSize,b),Ae,it=a.options.addModeClass&&[null];for(y==""&&Mr(Kn(x,b.state),te);!xe.eol();){if(xe.pos>a.options.maxHighlightLength?(se=!1,oe&&Qn(a,y,b,xe.pos),xe.pos=y.length,Ae=null):Ae=Mr(ur(x,xe,b.state,it),te),it){var _e=it[0].name;_e&&(Ae="m-"+(Ae?_e+" "+Ae:_e))}if(!se||fe!=Ae){for(;ue<xe.start;)ue=Math.min(xe.start,ue+5e3),E(ue,fe);fe=Ae}xe.start=xe.pos}for(;ue<xe.pos;){var Mt=Math.min(xe.pos,ue+5e3);E(Mt,fe),ue=Mt}}function xr(a,y,x){for(var b,E,te=a.doc,oe=x?-1:y-(a.doc.mode.innerMode?1e3:100),se=y;se>oe;--se){if(se<=te.first)return te.first;var ue=rt(te,se-1),fe=ue.stateAfter;if(fe&&(!x||se+(fe instanceof kn?fe.lookAhead:0)<=te.modeFrontier))return se;var xe=pe(ue.text,null,a.options.tabSize);(E==null||b>xe)&&(E=se-1,b=xe)}return E}function Er(a,y){if(a.modeFrontier=Math.min(a.modeFrontier,y),!(a.highlightFrontier<y-10)){for(var x=a.first,b=y-1;b>x;b--){var E=rt(a,b).stateAfter;if(E&&(!(E instanceof kn)||b+E.lookAhead<y)){x=b+1;break}}a.highlightFrontier=Math.min(a.highlightFrontier,x)}}var wr=!1,gn=!1;function Ln(){wr=!0}function Yn(){gn=!0}function ir(a,y,x){this.marker=a,this.from=y,this.to=x}function fr(a,y){if(a)for(var x=0;x<a.length;++x){var b=a[x];if(b.marker==y)return b}}function Br(a,y){for(var x,b=0;b<a.length;++b)a[b]!=y&&(x||(x=[])).push(a[b]);return x}function Cr(a,y){a.markedSpans=a.markedSpans?a.markedSpans.concat([y]):[y],y.marker.attachLine(a)}function cr(a,y,x){var b;if(a)for(var E=0;E<a.length;++E){var te=a[E],oe=te.marker,se=te.from==null||(oe.inclusiveLeft?te.from<=y:te.from<y);if(se||te.from==y&&oe.type=="bookmark"&&(!x||!te.marker.insertLeft)){var ue=te.to==null||(oe.inclusiveRight?te.to>=y:te.to>y);(b||(b=[])).push(new ir(oe,te.from,ue?null:te.to))}}return b}function ar(a,y,x){var b;if(a)for(var E=0;E<a.length;++E){var te=a[E],oe=te.marker,se=te.to==null||(oe.inclusiveRight?te.to>=y:te.to>y);if(se||te.from==y&&oe.type=="bookmark"&&(!x||te.marker.insertLeft)){var ue=te.from==null||(oe.inclusiveLeft?te.from<=y:te.from<y);(b||(b=[])).push(new ir(oe,ue?null:te.from-y,te.to==null?null:te.to-y))}}return b}function Tr(a,y){if(y.full)return null;var x=Rt(a,y.from.line)&&rt(a,y.from.line).markedSpans,b=Rt(a,y.to.line)&&rt(a,y.to.line).markedSpans;if(!x&&!b)return null;var E=y.from.ch,te=y.to.ch,oe=Bt(y.from,y.to)==0,se=cr(x,E,oe),ue=ar(b,te,oe),fe=y.text.length==1,xe=Pe(y.text).length+(fe?E:0);if(se)for(var Ae=0;Ae<se.length;++Ae){var it=se[Ae];if(it.to==null){var _e=fr(ue,it.marker);_e?fe&&(it.to=_e.to==null?null:_e.to+xe):it.to=E}}if(ue)for(var Mt=0;Mt<ue.length;++Mt){var Zt=ue[Mt];if(Zt.to!=null&&(Zt.to+=xe),Zt.from==null){var tn=fr(se,Zt.marker);tn||(Zt.from=xe,fe&&(se||(se=[])).push(Zt))}else Zt.from+=xe,fe&&(se||(se=[])).push(Zt)}se&&(se=jr(se)),ue&&ue!=se&&(ue=jr(ue));var yn=[se];if(!fe){var Cn=y.text.length-2,bn;if(Cn>0&&se)for(var Dn=0;Dn<se.length;++Dn)se[Dn].to==null&&(bn||(bn=[])).push(new ir(se[Dn].marker,null,null));for(var Gn=0;Gn<Cn;++Gn)yn.push(bn);yn.push(ue)}return yn}function jr(a){for(var y=0;y<a.length;++y){var x=a[y];x.from!=null&&x.from==x.to&&x.marker.clearWhenEmpty!==!1&&a.splice(y--,1)}return a.length?a:null}function Gr(a,y,x){var b=null;if(a.iter(y.line,x.line+1,function(_e){if(_e.markedSpans)for(var Mt=0;Mt<_e.markedSpans.length;++Mt){var Zt=_e.markedSpans[Mt].marker;Zt.readOnly&&(!b||ze(b,Zt)==-1)&&(b||(b=[])).push(Zt)}}),!b)return null;for(var E=[{from:y,to:x}],te=0;te<b.length;++te)for(var oe=b[te],se=oe.find(0),ue=0;ue<E.length;++ue){var fe=E[ue];if(!(Bt(fe.to,se.from)<0||Bt(fe.from,se.to)>0)){var xe=[ue,1],Ae=Bt(fe.from,se.from),it=Bt(fe.to,se.to);(Ae<0||!oe.inclusiveLeft&&!Ae)&&xe.push({from:fe.from,to:se.from}),(it>0||!oe.inclusiveRight&&!it)&&xe.push({from:se.to,to:fe.to}),E.splice.apply(E,xe),ue+=xe.length-3}}return E}function dr(a){var y=a.markedSpans;if(y){for(var x=0;x<y.length;++x)y[x].marker.detachLine(a);a.markedSpans=null}}function ai(a,y){if(y){for(var x=0;x<y.length;++x)y[x].marker.attachLine(a);a.markedSpans=y}}function gr(a){return a.inclusiveLeft?-1:0}function li(a){return a.inclusiveRight?1:0}function ti(a,y){var x=a.lines.length-y.lines.length;if(x!=0)return x;var b=a.find(),E=y.find(),te=Bt(b.from,E.from)||gr(a)-gr(y);if(te)return-te;var oe=Bt(b.to,E.to)||li(a)-li(y);return oe||y.id-a.id}function zr(a,y){var x=gn&&a.markedSpans,b;if(x)for(var E=void 0,te=0;te<x.length;++te)E=x[te],E.marker.collapsed&&(y?E.from:E.to)==null&&(!b||ti(b,E.marker)<0)&&(b=E.marker);return b}function $n(a){return zr(a,!0)}function Vt(a){return zr(a,!1)}function en(a,y){var x=gn&&a.markedSpans,b;if(x)for(var E=0;E<x.length;++E){var te=x[E];te.marker.collapsed&&(te.from==null||te.from<y)&&(te.to==null||te.to>y)&&(!b||ti(b,te.marker)<0)&&(b=te.marker)}return b}function An(a,y,x,b,E){var te=rt(a,y),oe=gn&&te.markedSpans;if(oe)for(var se=0;se<oe.length;++se){var ue=oe[se];if(ue.marker.collapsed){var fe=ue.marker.find(0),xe=Bt(fe.from,x)||gr(ue.marker)-gr(E),Ae=Bt(fe.to,b)||li(ue.marker)-li(E);if(!(xe>=0&&Ae<=0||xe<=0&&Ae>=0)&&(xe<=0&&(ue.marker.inclusiveRight&&E.inclusiveLeft?Bt(fe.to,x)>=0:Bt(fe.to,x)>0)||xe>=0&&(ue.marker.inclusiveRight&&E.inclusiveLeft?Bt(fe.from,b)<=0:Bt(fe.from,b)<0)))return!0}}}function mn(a){for(var y;y=$n(a);)a=y.find(-1,!0).line;return a}function In(a){for(var y;y=Vt(a);)a=y.find(1,!0).line;return a}function _t(a){for(var y,x;y=Vt(a);)a=y.find(1,!0).line,(x||(x=[])).push(a);return x}function Gt(a,y){var x=rt(a,y),b=mn(x);return x==b?y:ke(b)}function on(a,y){if(y>a.lastLine())return y;var x=rt(a,y),b;if(!ln(a,x))return y;for(;b=Vt(x);)x=b.find(1,!0).line;return ke(x)+1}function ln(a,y){var x=gn&&y.markedSpans;if(x){for(var b=void 0,E=0;E<x.length;++E)if(b=x[E],!!b.marker.collapsed){if(b.from==null)return!0;if(!b.marker.widgetNode&&b.from==0&&b.marker.inclusiveLeft&&qn(a,y,b))return!0}}}function qn(a,y,x){if(x.to==null){var b=x.marker.find(1,!0);return qn(a,b.line,fr(b.line.markedSpans,x.marker))}if(x.marker.inclusiveRight&&x.to==y.text.length)return!0;for(var E=void 0,te=0;te<y.markedSpans.length;++te)if(E=y.markedSpans[te],E.marker.collapsed&&!E.marker.widgetNode&&E.from==x.to&&(E.to==null||E.to!=x.from)&&(E.marker.inclusiveLeft||x.marker.inclusiveRight)&&qn(a,y,E))return!0}function er(a){a=mn(a);for(var y=0,x=a.parent,b=0;b<x.lines.length;++b){var E=x.lines[b];if(E==a)break;y+=E.height}for(var te=x.parent;te;x=te,te=x.parent)for(var oe=0;oe<te.children.length;++oe){var se=te.children[oe];if(se==x)break;y+=se.height}return y}function Dr(a){if(a.height==0)return 0;for(var y=a.text.length,x,b=a;x=$n(b);){var E=x.find(0,!0);b=E.from.line,y+=E.from.ch-E.to.ch}for(b=a;x=Vt(b);){var te=x.find(0,!0);y-=b.text.length-te.from.ch,b=te.to.line,y+=b.text.length-te.to.ch}return y}function nr(a){var y=a.display,x=a.doc;y.maxLine=rt(x,x.first),y.maxLineLength=Dr(y.maxLine),y.maxLineChanged=!0,x.iter(function(b){var E=Dr(b);E>y.maxLineLength&&(y.maxLineLength=E,y.maxLine=b)})}var hr=function(a,y,x){this.text=a,ai(this,y),this.height=x?x(this):1};hr.prototype.lineNo=function(){return ke(this)},Ot(hr);function Or(a,y,x,b){a.text=y,a.stateAfter&&(a.stateAfter=null),a.styles&&(a.styles=null),a.order!=null&&(a.order=null),dr(a),ai(a,x);var E=b?b(a):1;E!=a.height&&Pn(a,E)}function Vr(a){a.parent=null,dr(a)}var kr={},Yr={};function Fr(a,y){if(!a||/^\s*$/.test(a))return null;var x=y.addModeClass?Yr:kr;return x[a]||(x[a]=a.replace(/\S+/g,"cm-$&"))}function di(a,y){var x=et("span",null,null,Te?"padding-right: .1px":null),b={pre:et("pre",[x],"CodeMirror-line"),content:x,col:0,pos:0,cm:a,trailingSpace:!1,splitSpaces:a.getOption("lineWrapping")};y.measure={};for(var E=0;E<=(y.rest?y.rest.length:0);E++){var te=E?y.rest[E-1]:y.line,oe=void 0;b.pos=0,b.addToken=Ri,hn(a.display.measure)&&(oe=Yt(te,a.doc.direction))&&(b.addToken=mi(b.addToken,oe)),b.map=[];var se=y!=a.display.externalMeasured&&ke(te);wi(te,b,jn(a,te,se)),te.styleClasses&&(te.styleClasses.bgClass&&(b.bgClass=Pt(te.styleClasses.bgClass,b.bgClass||"")),te.styleClasses.textClass&&(b.textClass=Pt(te.styleClasses.textClass,b.textClass||""))),b.map.length==0&&b.map.push(0,0,b.content.appendChild(lr(a.display.measure))),E==0?(y.measure.map=b.map,y.measure.cache={}):((y.measure.maps||(y.measure.maps=[])).push(b.map),(y.measure.caches||(y.measure.caches=[])).push({}))}if(Te){var ue=b.content.lastChild;(/\bcm-tab\b/.test(ue.className)||ue.querySelector&&ue.querySelector(".cm-tab"))&&(b.content.className="cm-tab-wrap-hack")}return Nt(a,"renderLine",a,y.line,b.pre),b.pre.className&&(b.textClass=Pt(b.pre.className,b.textClass||"")),b}function Zi(a){var y=Ne("span","\u2022","cm-invalidchar");return y.title="\\u"+a.charCodeAt(0).toString(16),y.setAttribute("aria-label",y.title),y}function Ri(a,y,x,b,E,te,oe){if(y){var se=a.splitSpaces?xi(y,a.trailingSpace):y,ue=a.cm.state.specialChars,fe=!1,xe;if(!ue.test(y))a.col+=y.length,xe=document.createTextNode(se),a.map.push(a.pos,a.pos+y.length,xe),ge&&me<9&&(fe=!0),a.pos+=y.length;else{xe=document.createDocumentFragment();for(var Ae=0;;){ue.lastIndex=Ae;var it=ue.exec(y),_e=it?it.index-Ae:y.length-Ae;if(_e){var Mt=document.createTextNode(se.slice(Ae,Ae+_e));ge&&me<9?xe.appendChild(Ne("span",[Mt])):xe.appendChild(Mt),a.map.push(a.pos,a.pos+_e,Mt),a.col+=_e,a.pos+=_e}if(!it)break;Ae+=_e+1;var Zt=void 0;if(it[0]==" "){var tn=a.cm.options.tabSize,yn=tn-a.col%tn;Zt=xe.appendChild(Ne("span",wt(yn),"cm-tab")),Zt.setAttribute("role","presentation"),Zt.setAttribute("cm-text"," "),a.col+=yn}else it[0]=="\r"||it[0]==`
|
|
`?(Zt=xe.appendChild(Ne("span",it[0]=="\r"?"\u240D":"\u2424","cm-invalidchar")),Zt.setAttribute("cm-text",it[0]),a.col+=1):(Zt=a.cm.options.specialCharPlaceholder(it[0]),Zt.setAttribute("cm-text",it[0]),ge&&me<9?xe.appendChild(Ne("span",[Zt])):xe.appendChild(Zt),a.col+=1);a.map.push(a.pos,a.pos+1,Zt),a.pos++}}if(a.trailingSpace=se.charCodeAt(y.length-1)==32,x||b||E||fe||te||oe){var Cn=x||"";b&&(Cn+=b),E&&(Cn+=E);var bn=Ne("span",[xe],Cn,te);if(oe)for(var Dn in oe)oe.hasOwnProperty(Dn)&&Dn!="style"&&Dn!="class"&&bn.setAttribute(Dn,oe[Dn]);return a.content.appendChild(bn)}a.content.appendChild(xe)}}function xi(a,y){if(a.length>1&&!/ /.test(a))return a;for(var x=y,b="",E=0;E<a.length;E++){var te=a.charAt(E);te==" "&&x&&(E==a.length-1||a.charCodeAt(E+1)==32)&&(te="\xA0"),b+=te,x=te==" "}return b}function mi(a,y){return function(x,b,E,te,oe,se,ue){E=E?E+" cm-force-border":"cm-force-border";for(var fe=x.pos,xe=fe+b.length;;){for(var Ae=void 0,it=0;it<y.length&&(Ae=y[it],!(Ae.to>fe&&Ae.from<=fe));it++);if(Ae.to>=xe)return a(x,b,E,te,oe,se,ue);a(x,b.slice(0,Ae.to-fe),E,te,null,se,ue),te=null,b=b.slice(Ae.to-fe),fe=Ae.to}}}function Lr(a,y,x,b){var E=!b&&x.widgetNode;E&&a.map.push(a.pos,a.pos+y,E),!b&&a.cm.display.input.needsContentAttribute&&(E||(E=a.content.appendChild(document.createElement("span"))),E.setAttribute("cm-marker",x.id)),E&&(a.cm.display.input.setUneditable(E),a.content.appendChild(E)),a.pos+=y,a.trailingSpace=!1}function wi(a,y,x){var b=a.markedSpans,E=a.text,te=0;if(!b){for(var oe=1;oe<x.length;oe+=2)y.addToken(y,E.slice(te,te=x[oe]),Fr(x[oe+1],y.cm.options));return}for(var se=E.length,ue=0,fe=1,xe="",Ae,it,_e=0,Mt,Zt,tn,yn,Cn;;){if(_e==ue){Mt=Zt=tn=it="",Cn=null,yn=null,_e=1/0;for(var bn=[],Dn=void 0,Gn=0;Gn<b.length;++Gn){var On=b[Gn],sr=On.marker;if(sr.type=="bookmark"&&On.from==ue&&sr.widgetNode)bn.push(sr);else if(On.from<=ue&&(On.to==null||On.to>ue||sr.collapsed&&On.to==ue&&On.from==ue)){if(On.to!=null&&On.to!=ue&&_e>On.to&&(_e=On.to,Zt=""),sr.className&&(Mt+=" "+sr.className),sr.css&&(it=(it?it+";":"")+sr.css),sr.startStyle&&On.from==ue&&(tn+=" "+sr.startStyle),sr.endStyle&&On.to==_e&&(Dn||(Dn=[])).push(sr.endStyle,On.to),sr.title&&((Cn||(Cn={})).title=sr.title),sr.attributes)for(var Rr in sr.attributes)(Cn||(Cn={}))[Rr]=sr.attributes[Rr];sr.collapsed&&(!yn||ti(yn.marker,sr)<0)&&(yn=On)}else On.from>ue&&_e>On.from&&(_e=On.from)}if(Dn)for(var ii=0;ii<Dn.length;ii+=2)Dn[ii+1]==_e&&(Zt+=" "+Dn[ii]);if(!yn||yn.from==ue)for(var Wr=0;Wr<bn.length;++Wr)Lr(y,0,bn[Wr]);if(yn&&(yn.from||0)==ue){if(Lr(y,(yn.to==null?se+1:yn.to)-ue,yn.marker,yn.from==null),yn.to==null)return;yn.to==ue&&(yn=!1)}}if(ue>=se)break;for(var Fi=Math.min(se,_e);;){if(xe){var ki=ue+xe.length;if(!yn){var qr=ki>Fi?xe.slice(0,Fi-ue):xe;y.addToken(y,qr,Ae?Ae+Mt:Mt,tn,ue+qr.length==_e?Zt:"",it,Cn)}if(ki>=Fi){xe=xe.slice(Fi-ue),ue=Fi;break}ue=ki,tn=""}xe=E.slice(te,te=x[fe++]),Ae=Fr(x[fe++],y.cm.options)}}}function eo(a,y,x){this.line=y,this.rest=_t(y),this.size=this.rest?ke(Pe(this.rest))-x+1:1,this.node=this.text=null,this.hidden=ln(a,y)}function Jr(a,y,x){for(var b=[],E,te=y;te<x;te=E){var oe=new eo(a.doc,rt(a.doc,te),te);E=te+oe.size,b.push(oe)}return b}var zi=null;function Ji(a){zi?zi.ops.push(a):a.ownsGroup=zi={ops:[a],delayedCallbacks:[]}}function fi(a){var y=a.delayedCallbacks,x=0;do{for(;x<y.length;x++)y[x].call(null);for(var b=0;b<a.ops.length;b++){var E=a.ops[b];if(E.cursorActivityHandlers)for(;E.cursorActivityCalled<E.cursorActivityHandlers.length;)E.cursorActivityHandlers[E.cursorActivityCalled++].call(null,E.cm)}}while(x<y.length)}function ao(a,y){var x=a.ownsGroup;if(x)try{fi(x)}finally{zi=null,y(x)}}var Ti=null;function Hr(a,y){var x=dn(a,y);if(x.length){var b=Array.prototype.slice.call(arguments,2),E;zi?E=zi.delayedCallbacks:Ti?E=Ti:(E=Ti=[],setTimeout(to,0));for(var te=function(se){E.push(function(){return x[se].apply(null,b)})},oe=0;oe<x.length;++oe)te(oe)}}function to(){var a=Ti;Ti=null;for(var y=0;y<a.length;++y)a[y]()}function lo(a,y,x,b){for(var E=0;E<y.changes.length;E++){var te=y.changes[E];te=="text"?so(a,y):te=="gutter"?tr(a,y,x,b):te=="class"?Wn(a,y):te=="widget"&&Jn(a,y,b)}y.changes=null}function ji(a){return a.node==a.text&&(a.node=Ne("div",null,null,"position: relative"),a.text.parentNode&&a.text.parentNode.replaceChild(a.node,a.text),a.node.appendChild(a.text),ge&&me<8&&(a.node.style.zIndex=2)),a.node}function Qr(a,y){var x=y.bgClass?y.bgClass+" "+(y.line.bgClass||""):y.line.bgClass;if(x&&(x+=" CodeMirror-linebackground"),y.background)x?y.background.className=x:(y.background.parentNode.removeChild(y.background),y.background=null);else if(x){var b=ji(y);y.background=b.insertBefore(Ne("div",null,x),b.firstChild),a.display.input.setUneditable(y.background)}}function xo(a,y){var x=a.display.externalMeasured;return x&&x.line==y.line?(a.display.externalMeasured=null,y.measure=x.measure,x.built):di(a,y)}function so(a,y){var x=y.text.className,b=xo(a,y);y.text==y.node&&(y.node=b.pre),y.text.parentNode.replaceChild(b.pre,y.text),y.text=b.pre,b.bgClass!=y.bgClass||b.textClass!=y.textClass?(y.bgClass=b.bgClass,y.textClass=b.textClass,Wn(a,y)):x&&(y.text.className=x)}function Wn(a,y){Qr(a,y),y.line.wrapClass?ji(y).className=y.line.wrapClass:y.node!=y.text&&(y.node.className="");var x=y.textClass?y.textClass+" "+(y.line.textClass||""):y.line.textClass;y.text.className=x||""}function tr(a,y,x,b){if(y.gutter&&(y.node.removeChild(y.gutter),y.gutter=null),y.gutterBackground&&(y.node.removeChild(y.gutterBackground),y.gutterBackground=null),y.line.gutterClass){var E=ji(y);y.gutterBackground=Ne("div",null,"CodeMirror-gutter-background "+y.line.gutterClass,"left: "+(a.options.fixedGutter?b.fixedPos:-b.gutterTotalWidth)+"px; width: "+b.gutterTotalWidth+"px"),a.display.input.setUneditable(y.gutterBackground),E.insertBefore(y.gutterBackground,y.text)}var te=y.line.gutterMarkers;if(a.options.lineNumbers||te){var oe=ji(y),se=y.gutter=Ne("div",null,"CodeMirror-gutter-wrapper","left: "+(a.options.fixedGutter?b.fixedPos:-b.gutterTotalWidth)+"px");if(a.display.input.setUneditable(se),oe.insertBefore(se,y.text),y.line.gutterClass&&(se.className+=" "+y.line.gutterClass),a.options.lineNumbers&&(!te||!te["CodeMirror-linenumbers"])&&(y.lineNumber=se.appendChild(Ne("div",St(a.options,x),"CodeMirror-linenumber CodeMirror-gutter-elt","left: "+b.gutterLeft["CodeMirror-linenumbers"]+"px; width: "+a.display.lineNumInnerWidth+"px"))),te)for(var ue=0;ue<a.display.gutterSpecs.length;++ue){var fe=a.display.gutterSpecs[ue].className,xe=te.hasOwnProperty(fe)&&te[fe];xe&&se.appendChild(Ne("div",[xe],"CodeMirror-gutter-elt","left: "+b.gutterLeft[fe]+"px; width: "+b.gutterWidth[fe]+"px"))}}}function Jn(a,y,x){y.alignable&&(y.alignable=null);for(var b=Je("CodeMirror-linewidget"),E=y.node.firstChild,te=void 0;E;E=te)te=E.nextSibling,b.test(E.className)&&y.node.removeChild(E);Sr(a,y,x)}function _n(a,y,x,b){var E=xo(a,y);return y.text=y.node=E.pre,E.bgClass&&(y.bgClass=E.bgClass),E.textClass&&(y.textClass=E.textClass),Wn(a,y),tr(a,y,x,b),Sr(a,y,b),y.node}function Sr(a,y,x){if(Nr(a,y.line,y,x,!0),y.rest)for(var b=0;b<y.rest.length;b++)Nr(a,y.rest[b],y,x,!1)}function Nr(a,y,x,b,E){if(y.widgets)for(var te=ji(x),oe=0,se=y.widgets;oe<se.length;++oe){var ue=se[oe],fe=Ne("div",[ue.node],"CodeMirror-linewidget"+(ue.className?" "+ue.className:""));ue.handleMouseEvents||fe.setAttribute("cm-ignore-events","true"),Gi(ue,fe,x,b),a.display.input.setUneditable(fe),E&&ue.above?te.insertBefore(fe,x.gutter||x.text):te.appendChild(fe),Hr(ue,"redraw")}}function Gi(a,y,x,b){if(a.noHScroll){(x.alignable||(x.alignable=[])).push(y);var E=b.wrapperWidth;y.style.left=b.fixedPos+"px",a.coverGutter||(E-=b.gutterTotalWidth,y.style.paddingLeft=b.gutterTotalWidth+"px"),y.style.width=E+"px"}a.coverGutter&&(y.style.zIndex=5,y.style.position="relative",a.noHScroll||(y.style.marginLeft=-b.gutterTotalWidth+"px"))}function gi(a){if(a.height!=null)return a.height;var y=a.doc.cm;if(!y)return 0;if(!Ve(document.body,a.node)){var x="position: relative;";a.coverGutter&&(x+="margin-left: -"+y.display.gutters.offsetWidth+"px;"),a.noHScroll&&(x+="width: "+y.display.wrapper.clientWidth+"px;"),Ue(y.display.measure,Ne("div",[a.node],null,x))}return a.height=a.node.parentNode.offsetHeight}function si(a,y){for(var x=Nn(y);x!=a.wrapper;x=x.parentNode)if(!x||x.nodeType==1&&x.getAttribute("cm-ignore-events")=="true"||x.parentNode==a.sizer&&x!=a.mover)return!0}function Xr(a){return a.lineSpace.offsetTop}function Hi(a){return a.mover.offsetHeight-a.lineSpace.offsetHeight}function Qi(a){if(a.cachedPaddingH)return a.cachedPaddingH;var y=Ue(a.measure,Ne("pre","x","CodeMirror-line-like")),x=window.getComputedStyle?window.getComputedStyle(y):y.currentStyle,b={left:parseInt(x.paddingLeft),right:parseInt(x.paddingRight)};return!isNaN(b.left)&&!isNaN(b.right)&&(a.cachedPaddingH=b),b}function Bi(a){return dt-a.display.nativeBarWidth}function qi(a){return a.display.scroller.clientWidth-Bi(a)-a.display.barWidth}function no(a){return a.display.scroller.clientHeight-Bi(a)-a.display.barHeight}function Vi(a,y,x){var b=a.options.lineWrapping,E=b&&qi(a);if(!y.measure.heights||b&&y.measure.width!=E){var te=y.measure.heights=[];if(b){y.measure.width=E;for(var oe=y.text.firstChild.getClientRects(),se=0;se<oe.length-1;se++){var ue=oe[se],fe=oe[se+1];Math.abs(ue.bottom-fe.bottom)>2&&te.push((ue.bottom+fe.top)/2-x.top)}}te.push(x.bottom-x.top)}}function Po(a,y,x){if(a.line==y)return{map:a.measure.map,cache:a.measure.cache};for(var b=0;b<a.rest.length;b++)if(a.rest[b]==y)return{map:a.measure.maps[b],cache:a.measure.caches[b]};for(var E=0;E<a.rest.length;E++)if(ke(a.rest[E])>x)return{map:a.measure.maps[E],cache:a.measure.caches[E],before:!0}}function Va(a,y){y=mn(y);var x=ke(y),b=a.display.externalMeasured=new eo(a.doc,y,x);b.lineN=x;var E=b.built=di(a,b);return b.text=E.pre,Ue(a.display.lineMeasure,E.pre),b}function ya(a,y,x,b){return Ii(a,uo(a,y),x,b)}function _i(a,y){if(y>=a.display.viewFrom&&y<a.display.viewTo)return a.display.view[So(a,y)];var x=a.display.externalMeasured;if(x&&y>=x.lineN&&y<x.lineN+x.size)return x}function uo(a,y){var x=ke(y),b=_i(a,x);b&&!b.text?b=null:b&&b.changes&&(lo(a,b,x,co(a)),a.curOp.forceUpdate=!0),b||(b=Va(a,y));var E=Po(b,y,x);return{line:y,view:b,rect:null,map:E.map,cache:E.cache,before:E.before,hasHeights:!1}}function Ii(a,y,x,b,E){y.before&&(x=-1);var te=x+(b||""),oe;return y.cache.hasOwnProperty(te)?oe=y.cache[te]:(y.rect||(y.rect=y.view.text.getBoundingClientRect()),y.hasHeights||(Vi(a,y.view,y.rect),y.hasHeights=!0),oe=wa(a,y,x,b),oe.bogus||(y.cache[te]=oe)),{left:oe.left,right:oe.right,top:E?oe.rtop:oe.top,bottom:E?oe.rbottom:oe.bottom}}var ba={left:0,right:0,top:0,bottom:0};function xa(a,y,x){for(var b,E,te,oe,se,ue,fe=0;fe<a.length;fe+=3)if(se=a[fe],ue=a[fe+1],y<se?(E=0,te=1,oe="left"):y<ue?(E=y-se,te=E+1):(fe==a.length-3||y==ue&&a[fe+3]>y)&&(te=ue-se,E=te-1,y>=ue&&(oe="right")),E!=null){if(b=a[fe+2],se==ue&&x==(b.insertLeft?"left":"right")&&(oe=x),x=="left"&&E==0)for(;fe&&a[fe-2]==a[fe-3]&&a[fe-1].insertLeft;)b=a[(fe-=3)+2],oe="left";if(x=="right"&&E==ue-se)for(;fe<a.length-3&&a[fe+3]==a[fe+4]&&!a[fe+5].insertLeft;)b=a[(fe+=3)+2],oe="right";break}return{node:b,start:E,end:te,collapse:oe,coverStart:se,coverEnd:ue}}function Xa(a,y){var x=ba;if(y=="left")for(var b=0;b<a.length&&(x=a[b]).left==x.right;b++);else for(var E=a.length-1;E>=0&&(x=a[E]).left==x.right;E--);return x}function wa(a,y,x,b){var E=xa(y.map,x,b),te=E.node,oe=E.start,se=E.end,ue=E.collapse,fe;if(te.nodeType==3){for(var xe=0;xe<4;xe++){for(;oe&&Oe(y.line.text.charAt(E.coverStart+oe));)--oe;for(;E.coverStart+se<E.coverEnd&&Oe(y.line.text.charAt(E.coverStart+se));)++se;if(ge&&me<9&&oe==0&&se==E.coverEnd-E.coverStart?fe=te.parentNode.getBoundingClientRect():fe=Xa(Ee(te,oe,se).getClientRects(),b),fe.left||fe.right||oe==0)break;se=oe,oe=oe-1,ue="right"}ge&&me<11&&(fe=Ua(a.display.measure,fe))}else{oe>0&&(ue=b="right");var Ae;a.options.lineWrapping&&(Ae=te.getClientRects()).length>1?fe=Ae[b=="right"?Ae.length-1:0]:fe=te.getBoundingClientRect()}if(ge&&me<9&&!oe&&(!fe||!fe.left&&!fe.right)){var it=te.parentNode.getClientRects()[0];it?fe={left:it.left,right:it.left+Ui(a.display),top:it.top,bottom:it.bottom}:fe=ba}for(var _e=fe.top-y.rect.top,Mt=fe.bottom-y.rect.top,Zt=(_e+Mt)/2,tn=y.view.measure.heights,yn=0;yn<tn.length-1&&!(Zt<tn[yn]);yn++);var Cn=yn?tn[yn-1]:0,bn=tn[yn],Dn={left:(ue=="right"?fe.right:fe.left)-y.rect.left,right:(ue=="left"?fe.left:fe.right)-y.rect.left,top:Cn,bottom:bn};return!fe.left&&!fe.right&&(Dn.bogus=!0),a.options.singleCursorHeightPerLine||(Dn.rtop=_e,Dn.rbottom=Mt),Dn}function Ua(a,y){if(!window.screen||screen.logicalXDPI==null||screen.logicalXDPI==screen.deviceXDPI||!Ft(a))return y;var x=screen.logicalXDPI/screen.deviceXDPI,b=screen.logicalYDPI/screen.deviceYDPI;return{left:y.left*x,right:y.right*x,top:y.top*b,bottom:y.bottom*b}}function Ko(a){if(a.measure&&(a.measure.cache={},a.measure.heights=null,a.rest))for(var y=0;y<a.rest.length;y++)a.measure.caches[y]={}}function Yo(a){a.display.externalMeasure=null,Lt(a.display.lineMeasure);for(var y=0;y<a.display.view.length;y++)Ko(a.display.view[y])}function wo(a){Yo(a),a.display.cachedCharWidth=a.display.cachedTextHeight=a.display.cachedPaddingH=null,a.options.lineWrapping||(a.display.maxLineChanged=!0),a.display.lineNumChars=null}function Jo(){return we&&De?-(document.body.getBoundingClientRect().left-parseInt(getComputedStyle(document.body).marginLeft)):window.pageXOffset||(document.documentElement||document.body).scrollLeft}function Ca(){return we&&De?-(document.body.getBoundingClientRect().top-parseInt(getComputedStyle(document.body).marginTop)):window.pageYOffset||(document.documentElement||document.body).scrollTop}function Qo(a){var y=0;if(a.widgets)for(var x=0;x<a.widgets.length;++x)a.widgets[x].above&&(y+=gi(a.widgets[x]));return y}function Mo(a,y,x,b,E){if(!E){var te=Qo(y);x.top+=te,x.bottom+=te}if(b=="line")return x;b||(b="local");var oe=er(y);if(b=="local"?oe+=Xr(a.display):oe-=a.display.viewOffset,b=="page"||b=="window"){var se=a.display.lineSpace.getBoundingClientRect();oe+=se.top+(b=="window"?0:Ca());var ue=se.left+(b=="window"?0:Jo());x.left+=ue,x.right+=ue}return x.top+=oe,x.bottom+=oe,x}function Sa(a,y,x){if(x=="div")return y;var b=y.left,E=y.top;if(x=="page")b-=Jo(),E-=Ca();else if(x=="local"||!x){var te=a.display.sizer.getBoundingClientRect();b+=te.left,E+=te.top}var oe=a.display.lineSpace.getBoundingClientRect();return{left:b-oe.left,top:E-oe.top}}function Fo(a,y,x,b,E){return b||(b=rt(a.doc,y.line)),Mo(a,b,ya(a,b,y.ch,E),x)}function Ci(a,y,x,b,E,te){b=b||rt(a.doc,y.line),E||(E=uo(a,b));function oe(Mt,Zt){var tn=Ii(a,E,Mt,Zt?"right":"left",te);return Zt?tn.left=tn.right:tn.right=tn.left,Mo(a,b,tn,x)}var se=Yt(b,a.doc.direction),ue=y.ch,fe=y.sticky;if(ue>=b.text.length?(ue=b.text.length,fe="before"):ue<=0&&(ue=0,fe="after"),!se)return oe(fe=="before"?ue-1:ue,fe=="before");function xe(Mt,Zt,tn){var yn=se[Zt],Cn=yn.level==1;return oe(tn?Mt-1:Mt,Cn!=tn)}var Ae=It(se,ue,fe),it=mt,_e=xe(ue,Ae,fe=="before");return it!=null&&(_e.other=xe(ue,it,fe!="before")),_e}function pr(a,y){var x=0;y=Ze(a.doc,y),a.options.lineWrapping||(x=Ui(a.display)*y.ch);var b=rt(a.doc,y.line),E=er(b)+Xr(a.display);return{left:x,right:x,top:E,bottom:E+b.height}}function rr(a,y,x,b,E){var te=je(a,y,x);return te.xRel=E,b&&(te.outside=b),te}function ui(a,y,x){var b=a.doc;if(x+=a.display.viewOffset,x<0)return rr(b.first,0,null,-1,-1);var E=Me(b,x),te=b.first+b.size-1;if(E>te)return rr(b.first+b.size-1,rt(b,te).text.length,null,1,1);y<0&&(y=0);for(var oe=rt(b,E);;){var se=Xi(a,oe,E,y,x),ue=en(oe,se.ch+(se.xRel>0||se.outside>0?1:0));if(!ue)return se;var fe=ue.find(1);if(fe.line==E)return fe;oe=rt(b,E=fe.line)}}function hi(a,y,x,b){b-=Qo(y);var E=y.text.length,te=yt(function(oe){return Ii(a,x,oe-1).bottom<=b},E,0);return E=yt(function(oe){return Ii(a,x,oe).top>b},te,E),{begin:te,end:E}}function Ur(a,y,x,b){x||(x=uo(a,y));var E=Mo(a,y,Ii(a,x,b),"line").top;return hi(a,y,x,E)}function $r(a,y,x,b){return a.bottom<=x?!1:a.top>x?!0:(b?a.left:a.right)>y}function Xi(a,y,x,b,E){E-=er(y);var te=uo(a,y),oe=Qo(y),se=0,ue=y.text.length,fe=!0,xe=Yt(y,a.doc.direction);if(xe){var Ae=(a.options.lineWrapping?ro:Wi)(a,y,x,te,xe,b,E);fe=Ae.level!=1,se=fe?Ae.from:Ae.to-1,ue=fe?Ae.to:Ae.from-1}var it=null,_e=null,Mt=yt(function(Gn){var On=Ii(a,te,Gn);return On.top+=oe,On.bottom+=oe,$r(On,b,E,!1)?(On.top<=E&&On.left<=b&&(it=Gn,_e=On),!0):!1},se,ue),Zt,tn,yn=!1;if(_e){var Cn=b-_e.left<_e.right-b,bn=Cn==fe;Mt=it+(bn?0:1),tn=bn?"after":"before",Zt=Cn?_e.left:_e.right}else{!fe&&(Mt==ue||Mt==se)&&Mt++,tn=Mt==0?"after":Mt==y.text.length?"before":Ii(a,te,Mt-(fe?1:0)).bottom+oe<=E==fe?"after":"before";var Dn=Ci(a,je(x,Mt,tn),"line",y,te);Zt=Dn.left,yn=E<Dn.top?-1:E>=Dn.bottom?1:0}return Mt=Et(y.text,Mt,1),rr(x,Mt,tn,yn,b-Zt)}function Wi(a,y,x,b,E,te,oe){var se=yt(function(Ae){var it=E[Ae],_e=it.level!=1;return $r(Ci(a,je(x,_e?it.to:it.from,_e?"before":"after"),"line",y,b),te,oe,!0)},0,E.length-1),ue=E[se];if(se>0){var fe=ue.level!=1,xe=Ci(a,je(x,fe?ue.from:ue.to,fe?"after":"before"),"line",y,b);$r(xe,te,oe,!0)&&xe.top>oe&&(ue=E[se-1])}return ue}function ro(a,y,x,b,E,te,oe){var se=hi(a,y,b,oe),ue=se.begin,fe=se.end;/\s/.test(y.text.charAt(fe-1))&&fe--;for(var xe=null,Ae=null,it=0;it<E.length;it++){var _e=E[it];if(!(_e.from>=fe||_e.to<=ue)){var Mt=_e.level!=1,Zt=Ii(a,b,Mt?Math.min(fe,_e.to)-1:Math.max(ue,_e.from)).right,tn=Zt<te?te-Zt+1e9:Zt-te;(!xe||Ae>tn)&&(xe=_e,Ae=tn)}}return xe||(xe=E[E.length-1]),xe.from<ue&&(xe={from:ue,to:xe.to,level:xe.level}),xe.to>fe&&(xe={from:xe.from,to:fe,level:xe.level}),xe}var Li;function Pi(a){if(a.cachedTextHeight!=null)return a.cachedTextHeight;if(Li==null){Li=Ne("pre",null,"CodeMirror-line-like");for(var y=0;y<49;++y)Li.appendChild(document.createTextNode("x")),Li.appendChild(Ne("br"));Li.appendChild(document.createTextNode("x"))}Ue(a.measure,Li);var x=Li.offsetHeight/50;return x>3&&(a.cachedTextHeight=x),Lt(a.measure),x||1}function Ui(a){if(a.cachedCharWidth!=null)return a.cachedCharWidth;var y=Ne("span","xxxxxxxxxx"),x=Ne("pre",[y],"CodeMirror-line-like");Ue(a.measure,x);var b=y.getBoundingClientRect(),E=(b.right-b.left)/10;return E>2&&(a.cachedCharWidth=E),E||10}function co(a){for(var y=a.display,x={},b={},E=y.gutters.clientLeft,te=y.gutters.firstChild,oe=0;te;te=te.nextSibling,++oe){var se=a.display.gutterSpecs[oe].className;x[se]=te.offsetLeft+te.clientLeft+E,b[se]=te.clientWidth}return{fixedPos:Ka(y),gutterTotalWidth:y.gutters.offsetWidth,gutterLeft:x,gutterWidth:b,wrapperWidth:y.wrapper.clientWidth}}function Ka(a){return a.scroller.getBoundingClientRect().left-a.sizer.getBoundingClientRect().left}function wl(a){var y=Pi(a.display),x=a.options.lineWrapping,b=x&&Math.max(5,a.display.scroller.clientWidth/Ui(a.display)-3);return function(E){if(ln(a.doc,E))return 0;var te=0;if(E.widgets)for(var oe=0;oe<E.widgets.length;oe++)E.widgets[oe].height&&(te+=E.widgets[oe].height);return x?te+(Math.ceil(E.text.length/b)||1)*y:te+y}}function Ya(a){var y=a.doc,x=wl(a);y.iter(function(b){var E=x(b);E!=b.height&&Pn(b,E)})}function Co(a,y,x,b){var E=a.display;if(!x&&Nn(y).getAttribute("cm-not-content")=="true")return null;var te,oe,se=E.lineSpace.getBoundingClientRect();try{te=y.clientX-se.left,oe=y.clientY-se.top}catch(Ae){return null}var ue=ui(a,te,oe),fe;if(b&&ue.xRel>0&&(fe=rt(a.doc,ue.line).text).length==ue.ch){var xe=pe(fe,fe.length,a.options.tabSize)-fe.length;ue=je(ue.line,Math.max(0,Math.round((te-Qi(a.display).left)/Ui(a.display))-xe))}return ue}function So(a,y){if(y>=a.display.viewTo||(y-=a.display.viewFrom,y<0))return null;for(var x=a.display.view,b=0;b<x.length;b++)if(y-=x[b].size,y<0)return b}function Si(a,y,x,b){y==null&&(y=a.doc.first),x==null&&(x=a.doc.first+a.doc.size),b||(b=0);var E=a.display;if(b&&x<E.viewTo&&(E.updateLineNumbers==null||E.updateLineNumbers>y)&&(E.updateLineNumbers=y),a.curOp.viewChanged=!0,y>=E.viewTo)gn&&Gt(a.doc,y)<E.viewTo&&ho(a);else if(x<=E.viewFrom)gn&&on(a.doc,x+b)>E.viewFrom?ho(a):(E.viewFrom+=b,E.viewTo+=b);else if(y<=E.viewFrom&&x>=E.viewTo)ho(a);else if(y<=E.viewFrom){var te=Ea(a,x,x+b,1);te?(E.view=E.view.slice(te.index),E.viewFrom=te.lineN,E.viewTo+=b):ho(a)}else if(x>=E.viewTo){var oe=Ea(a,y,y,-1);oe?(E.view=E.view.slice(0,oe.index),E.viewTo=oe.lineN):ho(a)}else{var se=Ea(a,y,y,-1),ue=Ea(a,x,x+b,1);se&&ue?(E.view=E.view.slice(0,se.index).concat(Jr(a,se.lineN,ue.lineN)).concat(E.view.slice(ue.index)),E.viewTo+=b):ho(a)}var fe=E.externalMeasured;fe&&(x<fe.lineN?fe.lineN+=b:y<fe.lineN+fe.size&&(E.externalMeasured=null))}function fo(a,y,x){a.curOp.viewChanged=!0;var b=a.display,E=a.display.externalMeasured;if(E&&y>=E.lineN&&y<E.lineN+E.size&&(b.externalMeasured=null),!(y<b.viewFrom||y>=b.viewTo)){var te=b.view[So(a,y)];if(te.node!=null){var oe=te.changes||(te.changes=[]);ze(oe,x)==-1&&oe.push(x)}}}function ho(a){a.display.viewFrom=a.display.viewTo=a.doc.first,a.display.view=[],a.display.viewOffset=0}function Ea(a,y,x,b){var E=So(a,y),te,oe=a.display.view;if(!gn||x==a.doc.first+a.doc.size)return{index:E,lineN:x};for(var se=a.display.viewFrom,ue=0;ue<E;ue++)se+=oe[ue].size;if(se!=y){if(b>0){if(E==oe.length-1)return null;te=se+oe[E].size-y,E++}else te=se-y;y+=te,x+=te}for(;Gt(a.doc,x)!=x;){if(E==(b<0?0:oe.length-1))return null;x+=b*oe[E-(b<0?1:0)].size,E+=b}return{index:E,lineN:x}}function Is(a,y,x){var b=a.display,E=b.view;E.length==0||y>=b.viewTo||x<=b.viewFrom?(b.view=Jr(a,y,x),b.viewFrom=y):(b.viewFrom>y?b.view=Jr(a,y,b.viewFrom).concat(b.view):b.viewFrom<y&&(b.view=b.view.slice(So(a,y))),b.viewFrom=y,b.viewTo<x?b.view=b.view.concat(Jr(a,b.viewTo,x)):b.viewTo>x&&(b.view=b.view.slice(0,So(a,x)))),b.viewTo=x}function Cl(a){for(var y=a.display.view,x=0,b=0;b<y.length;b++){var E=y[b];!E.hidden&&(!E.node||E.changes)&&++x}return x}function qo(a){a.display.input.showSelection(a.display.input.prepareSelection())}function Sl(a,y){y===void 0&&(y=!0);for(var x=a.doc,b={},E=b.cursors=document.createDocumentFragment(),te=b.selection=document.createDocumentFragment(),oe=0;oe<x.sel.ranges.length;oe++)if(!(!y&&oe==x.sel.primIndex)){var se=x.sel.ranges[oe];if(!(se.from().line>=a.display.viewTo||se.to().line<a.display.viewFrom)){var ue=se.empty();(ue||a.options.showCursorWhenSelecting)&&El(a,se.head,E),ue||Ws(a,se,te)}}return b}function El(a,y,x){var b=Ci(a,y,"div",null,null,!a.options.singleCursorHeightPerLine),E=x.appendChild(Ne("div","\xA0","CodeMirror-cursor"));if(E.style.left=b.left+"px",E.style.top=b.top+"px",E.style.height=Math.max(0,b.bottom-b.top)*a.options.cursorHeight+"px",b.other){var te=x.appendChild(Ne("div","\xA0","CodeMirror-cursor CodeMirror-secondarycursor"));te.style.display="",te.style.left=b.other.left+"px",te.style.top=b.other.top+"px",te.style.height=(b.other.bottom-b.other.top)*.85+"px"}}function ka(a,y){return a.top-y.top||a.left-y.left}function Ws(a,y,x){var b=a.display,E=a.doc,te=document.createDocumentFragment(),oe=Qi(a.display),se=oe.left,ue=Math.max(b.sizerWidth,qi(a)-b.sizer.offsetLeft)-oe.right,fe=E.direction=="ltr";function xe(bn,Dn,Gn,On){Dn<0&&(Dn=0),Dn=Math.round(Dn),On=Math.round(On),te.appendChild(Ne("div",null,"CodeMirror-selected","position: absolute; left: "+bn+`px;
|
|
top: `+Dn+"px; width: "+(Gn==null?ue-bn:Gn)+`px;
|
|
height: `+(On-Dn)+"px"))}function Ae(bn,Dn,Gn){var On=rt(E,bn),sr=On.text.length,Rr,ii;function Wr(qr,Ai){return Fo(a,je(bn,qr),"div",On,Ai)}function Fi(qr,Ai,ci){var ei=Ur(a,On,null,qr),_r=Ai=="ltr"==(ci=="after")?"left":"right",Zr=ci=="after"?ei.begin:ei.end-(/\s/.test(On.text.charAt(ei.end-1))?2:1);return Wr(Zr,_r)[_r]}var ki=Yt(On,E.direction);return at(ki,Dn||0,Gn==null?sr:Gn,function(qr,Ai,ci,ei){var _r=ci=="ltr",Zr=Wr(qr,_r?"left":"right"),Di=Wr(Ai-1,_r?"right":"left"),Xo=Dn==null&&qr==0,bo=Gn==null&&Ai==sr,vi=ei==0,$i=!ki||ei==ki.length-1;if(Di.top-Zr.top<=3){var oi=(fe?Xo:bo)&&vi,bl=(fe?bo:Xo)&&$i,oo=oi?se:(_r?Zr:Di).left,Bo=bl?ue:(_r?Di:Zr).right;xe(oo,Zr.top,Bo-oo,Zr.bottom)}else{var Lo,bi,Uo,xl;_r?(Lo=fe&&Xo&&vi?se:Zr.left,bi=fe?ue:Fi(qr,ci,"before"),Uo=fe?se:Fi(Ai,ci,"after"),xl=fe&&bo&&$i?ue:Di.right):(Lo=fe?Fi(qr,ci,"before"):se,bi=!fe&&Xo&&vi?ue:Zr.right,Uo=!fe&&bo&&$i?se:Di.left,xl=fe?Fi(Ai,ci,"after"):ue),xe(Lo,Zr.top,bi-Lo,Zr.bottom),Zr.bottom<Di.top&&xe(se,Zr.bottom,null,Di.top),xe(Uo,Di.top,xl-Uo,Di.bottom)}(!Rr||ka(Zr,Rr)<0)&&(Rr=Zr),ka(Di,Rr)<0&&(Rr=Di),(!ii||ka(Zr,ii)<0)&&(ii=Zr),ka(Di,ii)<0&&(ii=Di)}),{start:Rr,end:ii}}var it=y.from(),_e=y.to();if(it.line==_e.line)Ae(it.line,it.ch,_e.ch);else{var Mt=rt(E,it.line),Zt=rt(E,_e.line),tn=mn(Mt)==mn(Zt),yn=Ae(it.line,it.ch,tn?Mt.text.length+1:null).end,Cn=Ae(_e.line,tn?0:null,_e.ch).start;tn&&(yn.top<Cn.top-2?(xe(yn.right,yn.top,null,yn.bottom),xe(se,Cn.top,Cn.left,Cn.bottom)):xe(yn.right,yn.top,Cn.left-yn.right,yn.bottom)),yn.bottom<Cn.top&&xe(se,yn.bottom,null,Cn.top)}x.appendChild(te)}function Ja(a){if(a.state.focused){var y=a.display;clearInterval(y.blinker);var x=!0;y.cursorDiv.style.visibility="",a.options.cursorBlinkRate>0?y.blinker=setInterval(function(){a.hasFocus()||To(a),y.cursorDiv.style.visibility=(x=!x)?"":"hidden"},a.options.cursorBlinkRate):a.options.cursorBlinkRate<0&&(y.cursorDiv.style.visibility="hidden")}}function kl(a){a.state.focused||(a.display.input.focus(),Qa(a))}function Al(a){a.state.delayingBlurEvent=!0,setTimeout(function(){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1,To(a))},100)}function Qa(a,y){a.state.delayingBlurEvent&&(a.state.delayingBlurEvent=!1),a.options.readOnly!="nocursor"&&(a.state.focused||(Nt(a,"focus",a,y),a.state.focused=!0,He(a.display.wrapper,"CodeMirror-focused"),!a.curOp&&a.display.selForContextMenu!=a.doc.sel&&(a.display.input.reset(),Te&&setTimeout(function(){return a.display.input.reset(!0)},20)),a.display.input.receivedFocus()),Ja(a))}function To(a,y){a.state.delayingBlurEvent||(a.state.focused&&(Nt(a,"blur",a,y),a.state.focused=!1,Ke(a.display.wrapper,"CodeMirror-focused")),clearInterval(a.display.blinker),setTimeout(function(){a.state.focused||(a.display.shift=!1)},150))}function Aa(a){for(var y=a.display,x=y.lineDiv.offsetTop,b=0;b<y.view.length;b++){var E=y.view[b],te=a.options.lineWrapping,oe=void 0,se=0;if(!E.hidden){if(ge&&me<8){var ue=E.node.offsetTop+E.node.offsetHeight;oe=ue-x,x=ue}else{var fe=E.node.getBoundingClientRect();oe=fe.bottom-fe.top,!te&&E.text.firstChild&&(se=E.text.firstChild.getBoundingClientRect().right-fe.left-1)}var xe=E.line.height-oe;if((xe>.005||xe<-.005)&&(Pn(E.line,oe),Dl(E.line),E.rest))for(var Ae=0;Ae<E.rest.length;Ae++)Dl(E.rest[Ae]);if(se>a.display.sizerWidth){var it=Math.ceil(se/Ui(a.display));it>a.display.maxLineLength&&(a.display.maxLineLength=it,a.display.maxLine=E.line,a.display.maxLineChanged=!0)}}}}function Dl(a){if(a.widgets)for(var y=0;y<a.widgets.length;++y){var x=a.widgets[y],b=x.node.parentNode;b&&(x.height=b.offsetHeight)}}function Da(a,y,x){var b=x&&x.top!=null?Math.max(0,x.top):a.scroller.scrollTop;b=Math.floor(b-Xr(a));var E=x&&x.bottom!=null?x.bottom:b+a.wrapper.clientHeight,te=Me(y,b),oe=Me(y,E);if(x&&x.ensure){var se=x.ensure.from.line,ue=x.ensure.to.line;se<te?(te=se,oe=Me(y,er(rt(y,se))+a.wrapper.clientHeight)):Math.min(ue,y.lastLine())>=oe&&(te=Me(y,er(rt(y,ue))-a.wrapper.clientHeight),oe=ue)}return{from:te,to:Math.max(oe,te+1)}}function Zs(a,y){if(!tt(a,"scrollCursorIntoView")){var x=a.display,b=x.sizer.getBoundingClientRect(),E=null;if(y.top+b.top<0?E=!0:y.bottom+b.top>(window.innerHeight||document.documentElement.clientHeight)&&(E=!1),E!=null&&!ot){var te=Ne("div","\u200B",null,`position: absolute;
|
|
top: `+(y.top-x.viewOffset-Xr(a.display))+`px;
|
|
height: `+(y.bottom-y.top+Bi(a)+x.barHeight)+`px;
|
|
left: `+y.left+"px; width: "+Math.max(2,y.right-y.left)+"px;");a.display.lineSpace.appendChild(te),te.scrollIntoView(E),a.display.lineSpace.removeChild(te)}}}function js(a,y,x,b){b==null&&(b=0);var E;!a.options.lineWrapping&&y==x&&(y=y.ch?je(y.line,y.sticky=="before"?y.ch-1:y.ch,"after"):y,x=y.sticky=="before"?je(y.line,y.ch+1,"before"):y);for(var te=0;te<5;te++){var oe=!1,se=Ci(a,y),ue=!x||x==y?se:Ci(a,x);E={left:Math.min(se.left,ue.left),top:Math.min(se.top,ue.top)-b,right:Math.max(se.left,ue.left),bottom:Math.max(se.bottom,ue.bottom)+b};var fe=qa(a,E),xe=a.doc.scrollTop,Ae=a.doc.scrollLeft;if(fe.scrollTop!=null&&($o(a,fe.scrollTop),Math.abs(a.doc.scrollTop-xe)>1&&(oe=!0)),fe.scrollLeft!=null&&(Eo(a,fe.scrollLeft),Math.abs(a.doc.scrollLeft-Ae)>1&&(oe=!0)),!oe)break}return E}function Gs(a,y){var x=qa(a,y);x.scrollTop!=null&&$o(a,x.scrollTop),x.scrollLeft!=null&&Eo(a,x.scrollLeft)}function qa(a,y){var x=a.display,b=Pi(a.display);y.top<0&&(y.top=0);var E=a.curOp&&a.curOp.scrollTop!=null?a.curOp.scrollTop:x.scroller.scrollTop,te=no(a),oe={};y.bottom-y.top>te&&(y.bottom=y.top+te);var se=a.doc.height+Hi(x),ue=y.top<b,fe=y.bottom>se-b;if(y.top<E)oe.scrollTop=ue?0:y.top;else if(y.bottom>E+te){var xe=Math.min(y.top,(fe?se:y.bottom)-te);xe!=E&&(oe.scrollTop=xe)}var Ae=a.options.fixedGutter?0:x.gutters.offsetWidth,it=a.curOp&&a.curOp.scrollLeft!=null?a.curOp.scrollLeft:x.scroller.scrollLeft-Ae,_e=qi(a)-x.gutters.offsetWidth,Mt=y.right-y.left>_e;return Mt&&(y.right=y.left+_e),y.left<10?oe.scrollLeft=0:y.left<it?oe.scrollLeft=Math.max(0,y.left+Ae-(Mt?0:10)):y.right>_e+it-3&&(oe.scrollLeft=y.right+(Mt?0:10)-_e),oe}function _a(a,y){y!=null&&(Ba(a),a.curOp.scrollTop=(a.curOp.scrollTop==null?a.doc.scrollTop:a.curOp.scrollTop)+y)}function Oo(a){Ba(a);var y=a.getCursor();a.curOp.scrollToPos={from:y,to:y,margin:a.options.cursorScrollMargin}}function _o(a,y,x){(y!=null||x!=null)&&Ba(a),y!=null&&(a.curOp.scrollLeft=y),x!=null&&(a.curOp.scrollTop=x)}function Vs(a,y){Ba(a),a.curOp.scrollToPos=y}function Ba(a){var y=a.curOp.scrollToPos;if(y){a.curOp.scrollToPos=null;var x=pr(a,y.from),b=pr(a,y.to);Bl(a,x,b,y.margin)}}function Bl(a,y,x,b){var E=qa(a,{left:Math.min(y.left,x.left),top:Math.min(y.top,x.top)-b,right:Math.max(y.right,x.right),bottom:Math.max(y.bottom,x.bottom)+b});_o(a,E.scrollLeft,E.scrollTop)}function $o(a,y){Math.abs(a.doc.scrollTop-y)<2||(ne||el(a,{top:y}),Ll(a,y,!0),ne&&el(a),na(a,100))}function Ll(a,y,x){y=Math.max(0,Math.min(a.display.scroller.scrollHeight-a.display.scroller.clientHeight,y)),!(a.display.scroller.scrollTop==y&&!x)&&(a.doc.scrollTop=y,a.display.scrollbars.setScrollTop(y),a.display.scroller.scrollTop!=y&&(a.display.scroller.scrollTop=y))}function Eo(a,y,x,b){y=Math.max(0,Math.min(y,a.display.scroller.scrollWidth-a.display.scroller.clientWidth)),!((x?y==a.doc.scrollLeft:Math.abs(a.doc.scrollLeft-y)<2)&&!b)&&(a.doc.scrollLeft=y,Ol(a),a.display.scroller.scrollLeft!=y&&(a.display.scroller.scrollLeft=y),a.display.scrollbars.setScrollLeft(y))}function ea(a){var y=a.display,x=y.gutters.offsetWidth,b=Math.round(a.doc.height+Hi(a.display));return{clientHeight:y.scroller.clientHeight,viewHeight:y.wrapper.clientHeight,scrollWidth:y.scroller.scrollWidth,clientWidth:y.scroller.clientWidth,viewWidth:y.wrapper.clientWidth,barLeft:a.options.fixedGutter?x:0,docHeight:b,scrollHeight:b+Bi(a)+y.barHeight,nativeBarWidth:y.nativeBarWidth,gutterWidth:x}}var ko=function(a,y,x){this.cm=x;var b=this.vert=Ne("div",[Ne("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),E=this.horiz=Ne("div",[Ne("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");b.tabIndex=E.tabIndex=-1,a(b),a(E),xt(b,"scroll",function(){b.clientHeight&&y(b.scrollTop,"vertical")}),xt(E,"scroll",function(){E.clientWidth&&y(E.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,ge&&me<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};ko.prototype.update=function(a){var y=a.scrollWidth>a.clientWidth+1,x=a.scrollHeight>a.clientHeight+1,b=a.nativeBarWidth;if(x){this.vert.style.display="block",this.vert.style.bottom=y?b+"px":"0";var E=a.viewHeight-(y?b:0);this.vert.firstChild.style.height=Math.max(0,a.scrollHeight-a.clientHeight+E)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(y){this.horiz.style.display="block",this.horiz.style.right=x?b+"px":"0",this.horiz.style.left=a.barLeft+"px";var te=a.viewWidth-a.barLeft-(x?b:0);this.horiz.firstChild.style.width=Math.max(0,a.scrollWidth-a.clientWidth+te)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&a.clientHeight>0&&(b==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:x?b:0,bottom:y?b:0}},ko.prototype.setScrollLeft=function(a){this.horiz.scrollLeft!=a&&(this.horiz.scrollLeft=a),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},ko.prototype.setScrollTop=function(a){this.vert.scrollTop!=a&&(this.vert.scrollTop=a),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},ko.prototype.zeroWidthHack=function(){var a=Be&&!ve?"12px":"18px";this.horiz.style.height=this.vert.style.width=a,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new ce,this.disableVert=new ce},ko.prototype.enableZeroWidthBar=function(a,y,x){a.style.pointerEvents="auto";function b(){var E=a.getBoundingClientRect(),te=x=="vert"?document.elementFromPoint(E.right-1,(E.top+E.bottom)/2):document.elementFromPoint((E.right+E.left)/2,E.bottom-1);te!=a?a.style.pointerEvents="none":y.set(1e3,b)}y.set(1e3,b)},ko.prototype.clear=function(){var a=this.horiz.parentNode;a.removeChild(this.horiz),a.removeChild(this.vert)};var ta=function(){};ta.prototype.update=function(){return{bottom:0,right:0}},ta.prototype.setScrollLeft=function(){},ta.prototype.setScrollTop=function(){},ta.prototype.clear=function(){};function No(a,y){y||(y=ea(a));var x=a.display.barWidth,b=a.display.barHeight;Pl(a,y);for(var E=0;E<4&&x!=a.display.barWidth||b!=a.display.barHeight;E++)x!=a.display.barWidth&&a.options.lineWrapping&&Aa(a),Pl(a,ea(a)),x=a.display.barWidth,b=a.display.barHeight}function Pl(a,y){var x=a.display,b=x.scrollbars.update(y);x.sizer.style.paddingRight=(x.barWidth=b.right)+"px",x.sizer.style.paddingBottom=(x.barHeight=b.bottom)+"px",x.heightForcer.style.borderBottom=b.bottom+"px solid transparent",b.right&&b.bottom?(x.scrollbarFiller.style.display="block",x.scrollbarFiller.style.height=b.bottom+"px",x.scrollbarFiller.style.width=b.right+"px"):x.scrollbarFiller.style.display="",b.bottom&&a.options.coverGutterNextToScrollbar&&a.options.fixedGutter?(x.gutterFiller.style.display="block",x.gutterFiller.style.height=b.bottom+"px",x.gutterFiller.style.width=y.gutterWidth+"px"):x.gutterFiller.style.display=""}var Ml={native:ko,null:ta};function Fl(a){a.display.scrollbars&&(a.display.scrollbars.clear(),a.display.scrollbars.addClass&&Ke(a.display.wrapper,a.display.scrollbars.addClass)),a.display.scrollbars=new Ml[a.options.scrollbarStyle](function(y){a.display.wrapper.insertBefore(y,a.display.scrollbarFiller),xt(y,"mousedown",function(){a.state.focused&&setTimeout(function(){return a.display.input.focus()},0)}),y.setAttribute("cm-not-content","true")},function(y,x){x=="horizontal"?Eo(a,y):$o(a,y)},a),a.display.scrollbars.addClass&&He(a.display.wrapper,a.display.scrollbars.addClass)}var Xs=0;function Ao(a){a.curOp={cm:a,viewChanged:!1,startHeight:a.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++Xs},Ji(a.curOp)}function Do(a){var y=a.curOp;y&&ao(y,function(x){for(var b=0;b<x.ops.length;b++)x.ops[b].cm.curOp=null;Us(x)})}function Us(a){for(var y=a.ops,x=0;x<y.length;x++)Ks(y[x]);for(var b=0;b<y.length;b++)Ys(y[b]);for(var E=0;E<y.length;E++)Js(y[E]);for(var te=0;te<y.length;te++)Qs(y[te]);for(var oe=0;oe<y.length;oe++)qs(y[oe])}function Ks(a){var y=a.cm,x=y.display;$s(y),a.updateMaxLine&&nr(y),a.mustUpdate=a.viewChanged||a.forceUpdate||a.scrollTop!=null||a.scrollToPos&&(a.scrollToPos.from.line<x.viewFrom||a.scrollToPos.to.line>=x.viewTo)||x.maxLineChanged&&y.options.lineWrapping,a.update=a.mustUpdate&&new La(y,a.mustUpdate&&{top:a.scrollTop,ensure:a.scrollToPos},a.forceUpdate)}function Ys(a){a.updatedDisplay=a.mustUpdate&&$a(a.cm,a.update)}function Js(a){var y=a.cm,x=y.display;a.updatedDisplay&&Aa(y),a.barMeasure=ea(y),x.maxLineChanged&&!y.options.lineWrapping&&(a.adjustWidthTo=ya(y,x.maxLine,x.maxLine.text.length).left+3,y.display.sizerWidth=a.adjustWidthTo,a.barMeasure.scrollWidth=Math.max(x.scroller.clientWidth,x.sizer.offsetLeft+a.adjustWidthTo+Bi(y)+y.display.barWidth),a.maxScrollLeft=Math.max(0,x.sizer.offsetLeft+a.adjustWidthTo-qi(y))),(a.updatedDisplay||a.selectionChanged)&&(a.preparedSelection=x.input.prepareSelection())}function Qs(a){var y=a.cm;a.adjustWidthTo!=null&&(y.display.sizer.style.minWidth=a.adjustWidthTo+"px",a.maxScrollLeft<y.doc.scrollLeft&&Eo(y,Math.min(y.display.scroller.scrollLeft,a.maxScrollLeft),!0),y.display.maxLineChanged=!1);var x=a.focus&&a.focus==Se();a.preparedSelection&&y.display.input.showSelection(a.preparedSelection,x),(a.updatedDisplay||a.startHeight!=y.doc.height)&&No(y,a.barMeasure),a.updatedDisplay&&nl(y,a.barMeasure),a.selectionChanged&&Ja(y),y.state.focused&&a.updateInput&&y.display.input.reset(a.typing),x&&kl(a.cm)}function qs(a){var y=a.cm,x=y.display,b=y.doc;if(a.updatedDisplay&&Tl(y,a.update),x.wheelStartX!=null&&(a.scrollTop!=null||a.scrollLeft!=null||a.scrollToPos)&&(x.wheelStartX=x.wheelStartY=null),a.scrollTop!=null&&Ll(y,a.scrollTop,a.forceScroll),a.scrollLeft!=null&&Eo(y,a.scrollLeft,!0,!0),a.scrollToPos){var E=js(y,Ze(b,a.scrollToPos.from),Ze(b,a.scrollToPos.to),a.scrollToPos.margin);Zs(y,E)}var te=a.maybeHiddenMarkers,oe=a.maybeUnhiddenMarkers;if(te)for(var se=0;se<te.length;++se)te[se].lines.length||Nt(te[se],"hide");if(oe)for(var ue=0;ue<oe.length;++ue)oe[ue].lines.length&&Nt(oe[ue],"unhide");x.wrapper.offsetHeight&&(b.scrollTop=y.display.scroller.scrollTop),a.changeObjs&&Nt(y,"changes",y,a.changeObjs),a.update&&a.update.finish()}function Mi(a,y){if(a.curOp)return y();Ao(a);try{return y()}finally{Do(a)}}function ni(a,y){return function(){if(a.curOp)return y.apply(a,arguments);Ao(a);try{return y.apply(a,arguments)}finally{Do(a)}}}function yi(a){return function(){if(this.curOp)return a.apply(this,arguments);Ao(this);try{return a.apply(this,arguments)}finally{Do(this)}}}function ri(a){return function(){var y=this.cm;if(!y||y.curOp)return a.apply(this,arguments);Ao(y);try{return a.apply(this,arguments)}finally{Do(y)}}}function na(a,y){a.doc.highlightFrontier<a.display.viewTo&&a.state.highlight.set(y,bt(_s,a))}function _s(a){var y=a.doc;if(!(y.highlightFrontier>=a.display.viewTo)){var x=+new Date+a.options.workTime,b=yr(a,y.highlightFrontier),E=[];y.iter(b.line,Math.min(y.first+y.size,a.display.viewTo+500),function(te){if(b.line>=a.display.viewFrom){var oe=te.styles,se=te.text.length>a.options.maxHighlightLength?Mn(y.mode,b.state):null,ue=Hn(a,te,b,!0);se&&(b.state=se),te.styles=ue.styles;var fe=te.styleClasses,xe=ue.classes;xe?te.styleClasses=xe:fe&&(te.styleClasses=null);for(var Ae=!oe||oe.length!=te.styles.length||fe!=xe&&(!fe||!xe||fe.bgClass!=xe.bgClass||fe.textClass!=xe.textClass),it=0;!Ae&&it<oe.length;++it)Ae=oe[it]!=te.styles[it];Ae&&E.push(b.line),te.stateAfter=b.save(),b.nextLine()}else te.text.length<=a.options.maxHighlightLength&&Qn(a,te.text,b),te.stateAfter=b.line%5==0?b.save():null,b.nextLine();if(+new Date>x)return na(a,a.options.workDelay),!0}),y.highlightFrontier=b.line,y.modeFrontier=Math.max(y.modeFrontier,b.line),E.length&&Mi(a,function(){for(var te=0;te<E.length;te++)fo(a,E[te],"text")})}}var La=function(a,y,x){var b=a.display;this.viewport=y,this.visible=Da(b,a.doc,y),this.editorIsHidden=!b.wrapper.offsetWidth,this.wrapperHeight=b.wrapper.clientHeight,this.wrapperWidth=b.wrapper.clientWidth,this.oldDisplayWidth=qi(a),this.force=x,this.dims=co(a),this.events=[]};La.prototype.signal=function(a,y){kt(a,y)&&this.events.push(arguments)},La.prototype.finish=function(){for(var a=0;a<this.events.length;a++)Nt.apply(null,this.events[a])};function $s(a){var y=a.display;!y.scrollbarsClipped&&y.scroller.offsetWidth&&(y.nativeBarWidth=y.scroller.offsetWidth-y.scroller.clientWidth,y.heightForcer.style.height=Bi(a)+"px",y.sizer.style.marginBottom=-y.nativeBarWidth+"px",y.sizer.style.borderRightWidth=Bi(a)+"px",y.scrollbarsClipped=!0)}function eu(a){if(a.hasFocus())return null;var y=Se();if(!y||!Ve(a.display.lineDiv,y))return null;var x={activeElt:y};if(window.getSelection){var b=window.getSelection();b.anchorNode&&b.extend&&Ve(a.display.lineDiv,b.anchorNode)&&(x.anchorNode=b.anchorNode,x.anchorOffset=b.anchorOffset,x.focusNode=b.focusNode,x.focusOffset=b.focusOffset)}return x}function tu(a){if(!(!a||!a.activeElt||a.activeElt==Se())&&(a.activeElt.focus(),!/^(INPUT|TEXTAREA)$/.test(a.activeElt.nodeName)&&a.anchorNode&&Ve(document.body,a.anchorNode)&&Ve(document.body,a.focusNode))){var y=window.getSelection(),x=document.createRange();x.setEnd(a.anchorNode,a.anchorOffset),x.collapse(!1),y.removeAllRanges(),y.addRange(x),y.extend(a.focusNode,a.focusOffset)}}function $a(a,y){var x=a.display,b=a.doc;if(y.editorIsHidden)return ho(a),!1;if(!y.force&&y.visible.from>=x.viewFrom&&y.visible.to<=x.viewTo&&(x.updateLineNumbers==null||x.updateLineNumbers>=x.viewTo)&&x.renderedView==x.view&&Cl(a)==0)return!1;Nl(a)&&(ho(a),y.dims=co(a));var E=b.first+b.size,te=Math.max(y.visible.from-a.options.viewportMargin,b.first),oe=Math.min(E,y.visible.to+a.options.viewportMargin);x.viewFrom<te&&te-x.viewFrom<20&&(te=Math.max(b.first,x.viewFrom)),x.viewTo>oe&&x.viewTo-oe<20&&(oe=Math.min(E,x.viewTo)),gn&&(te=Gt(a.doc,te),oe=on(a.doc,oe));var se=te!=x.viewFrom||oe!=x.viewTo||x.lastWrapHeight!=y.wrapperHeight||x.lastWrapWidth!=y.wrapperWidth;Is(a,te,oe),x.viewOffset=er(rt(a.doc,x.viewFrom)),a.display.mover.style.top=x.viewOffset+"px";var ue=Cl(a);if(!se&&ue==0&&!y.force&&x.renderedView==x.view&&(x.updateLineNumbers==null||x.updateLineNumbers>=x.viewTo))return!1;var fe=eu(a);return ue>4&&(x.lineDiv.style.display="none"),nu(a,x.updateLineNumbers,y.dims),ue>4&&(x.lineDiv.style.display=""),x.renderedView=x.view,tu(fe),Lt(x.cursorDiv),Lt(x.selectionDiv),x.gutters.style.height=x.sizer.style.minHeight=0,se&&(x.lastWrapHeight=y.wrapperHeight,x.lastWrapWidth=y.wrapperWidth,na(a,400)),x.updateLineNumbers=null,!0}function Tl(a,y){for(var x=y.viewport,b=!0;;b=!1){if(!b||!a.options.lineWrapping||y.oldDisplayWidth==qi(a)){if(x&&x.top!=null&&(x={top:Math.min(a.doc.height+Hi(a.display)-no(a),x.top)}),y.visible=Da(a.display,a.doc,x),y.visible.from>=a.display.viewFrom&&y.visible.to<=a.display.viewTo)break}else b&&(y.visible=Da(a.display,a.doc,x));if(!$a(a,y))break;Aa(a);var E=ea(a);qo(a),No(a,E),nl(a,E),y.force=!1}y.signal(a,"update",a),(a.display.viewFrom!=a.display.reportedViewFrom||a.display.viewTo!=a.display.reportedViewTo)&&(y.signal(a,"viewportChange",a,a.display.viewFrom,a.display.viewTo),a.display.reportedViewFrom=a.display.viewFrom,a.display.reportedViewTo=a.display.viewTo)}function el(a,y){var x=new La(a,y);if($a(a,x)){Aa(a),Tl(a,x);var b=ea(a);qo(a),No(a,b),nl(a,b),x.finish()}}function nu(a,y,x){var b=a.display,E=a.options.lineNumbers,te=b.lineDiv,oe=te.firstChild;function se(Mt){var Zt=Mt.nextSibling;return Te&&Be&&a.display.currentWheelTarget==Mt?Mt.style.display="none":Mt.parentNode.removeChild(Mt),Zt}for(var ue=b.view,fe=b.viewFrom,xe=0;xe<ue.length;xe++){var Ae=ue[xe];if(!Ae.hidden)if(!Ae.node||Ae.node.parentNode!=te){var it=_n(a,Ae,fe,x);te.insertBefore(it,oe)}else{for(;oe!=Ae.node;)oe=se(oe);var _e=E&&y!=null&&y<=fe&&Ae.lineNumber;Ae.changes&&(ze(Ae.changes,"gutter")>-1&&(_e=!1),lo(a,Ae,fe,x)),_e&&(Lt(Ae.lineNumber),Ae.lineNumber.appendChild(document.createTextNode(St(a.options,fe)))),oe=Ae.node.nextSibling}fe+=Ae.size}for(;oe;)oe=se(oe)}function tl(a){var y=a.gutters.offsetWidth;a.sizer.style.marginLeft=y+"px"}function nl(a,y){a.display.sizer.style.minHeight=y.docHeight+"px",a.display.heightForcer.style.top=y.docHeight+"px",a.display.gutters.style.height=y.docHeight+a.display.barHeight+Bi(a)+"px"}function Ol(a){var y=a.display,x=y.view;if(!(!y.alignWidgets&&(!y.gutters.firstChild||!a.options.fixedGutter))){for(var b=Ka(y)-y.scroller.scrollLeft+a.doc.scrollLeft,E=y.gutters.offsetWidth,te=b+"px",oe=0;oe<x.length;oe++)if(!x[oe].hidden){a.options.fixedGutter&&(x[oe].gutter&&(x[oe].gutter.style.left=te),x[oe].gutterBackground&&(x[oe].gutterBackground.style.left=te));var se=x[oe].alignable;if(se)for(var ue=0;ue<se.length;ue++)se[ue].style.left=te}a.options.fixedGutter&&(y.gutters.style.left=b+E+"px")}}function Nl(a){if(!a.options.lineNumbers)return!1;var y=a.doc,x=St(a.options,y.first+y.size-1),b=a.display;if(x.length!=b.lineNumChars){var E=b.measure.appendChild(Ne("div",[Ne("div",x)],"CodeMirror-linenumber CodeMirror-gutter-elt")),te=E.firstChild.offsetWidth,oe=E.offsetWidth-te;return b.lineGutter.style.width="",b.lineNumInnerWidth=Math.max(te,b.lineGutter.offsetWidth-oe)+1,b.lineNumWidth=b.lineNumInnerWidth+oe,b.lineNumChars=b.lineNumInnerWidth?x.length:-1,b.lineGutter.style.width=b.lineNumWidth+"px",tl(a.display),!0}return!1}function rl(a,y){for(var x=[],b=!1,E=0;E<a.length;E++){var te=a[E],oe=null;if(typeof te!="string"&&(oe=te.style,te=te.className),te=="CodeMirror-linenumbers")if(y)b=!0;else continue;x.push({className:te,style:oe})}return y&&!b&&x.push({className:"CodeMirror-linenumbers",style:null}),x}function Rl(a){var y=a.gutters,x=a.gutterSpecs;Lt(y),a.lineGutter=null;for(var b=0;b<x.length;++b){var E=x[b],te=E.className,oe=E.style,se=y.appendChild(Ne("div",null,"CodeMirror-gutter "+te));oe&&(se.style.cssText=oe),te=="CodeMirror-linenumbers"&&(a.lineGutter=se,se.style.width=(a.lineNumWidth||1)+"px")}y.style.display=x.length?"":"none",tl(a)}function ra(a){Rl(a.display),Si(a),Ol(a)}function ru(a,y,x,b){var E=this;this.input=x,E.scrollbarFiller=Ne("div",null,"CodeMirror-scrollbar-filler"),E.scrollbarFiller.setAttribute("cm-not-content","true"),E.gutterFiller=Ne("div",null,"CodeMirror-gutter-filler"),E.gutterFiller.setAttribute("cm-not-content","true"),E.lineDiv=et("div",null,"CodeMirror-code"),E.selectionDiv=Ne("div",null,null,"position: relative; z-index: 1"),E.cursorDiv=Ne("div",null,"CodeMirror-cursors"),E.measure=Ne("div",null,"CodeMirror-measure"),E.lineMeasure=Ne("div",null,"CodeMirror-measure"),E.lineSpace=et("div",[E.measure,E.lineMeasure,E.selectionDiv,E.cursorDiv,E.lineDiv],null,"position: relative; outline: none");var te=et("div",[E.lineSpace],"CodeMirror-lines");E.mover=Ne("div",[te],null,"position: relative"),E.sizer=Ne("div",[E.mover],"CodeMirror-sizer"),E.sizerWidth=null,E.heightForcer=Ne("div",null,null,"position: absolute; height: "+dt+"px; width: 1px;"),E.gutters=Ne("div",null,"CodeMirror-gutters"),E.lineGutter=null,E.scroller=Ne("div",[E.sizer,E.heightForcer,E.gutters],"CodeMirror-scroll"),E.scroller.setAttribute("tabIndex","-1"),E.wrapper=Ne("div",[E.scrollbarFiller,E.gutterFiller,E.scroller],"CodeMirror"),ge&&me<8&&(E.gutters.style.zIndex=-1,E.scroller.style.paddingRight=0),!Te&&!(ne&&Fe)&&(E.scroller.draggable=!0),a&&(a.appendChild?a.appendChild(E.wrapper):a(E.wrapper)),E.viewFrom=E.viewTo=y.first,E.reportedViewFrom=E.reportedViewTo=y.first,E.view=[],E.renderedView=null,E.externalMeasured=null,E.viewOffset=0,E.lastWrapHeight=E.lastWrapWidth=0,E.updateLineNumbers=null,E.nativeBarWidth=E.barHeight=E.barWidth=0,E.scrollbarsClipped=!1,E.lineNumWidth=E.lineNumInnerWidth=E.lineNumChars=null,E.alignWidgets=!1,E.cachedCharWidth=E.cachedTextHeight=E.cachedPaddingH=null,E.maxLine=null,E.maxLineLength=0,E.maxLineChanged=!1,E.wheelDX=E.wheelDY=E.wheelStartX=E.wheelStartY=null,E.shift=!1,E.selForContextMenu=null,E.activeTouch=null,E.gutterSpecs=rl(b.gutters,b.lineNumbers),Rl(E),x.init(E)}var Pa=0,Oi=null;ge?Oi=-.53:ne?Oi=15:we?Oi=-.7:Qe&&(Oi=-1/3);function zl(a){var y=a.wheelDeltaX,x=a.wheelDeltaY;return y==null&&a.detail&&a.axis==a.HORIZONTAL_AXIS&&(y=a.detail),x==null&&a.detail&&a.axis==a.VERTICAL_AXIS?x=a.detail:x==null&&(x=a.wheelDelta),{x:y,y:x}}function iu(a){var y=zl(a);return y.x*=Oi,y.y*=Oi,y}function Hl(a,y){var x=zl(y),b=x.x,E=x.y,te=a.display,oe=te.scroller,se=oe.scrollWidth>oe.clientWidth,ue=oe.scrollHeight>oe.clientHeight;if(b&&se||E&&ue){if(E&&Be&&Te){e:for(var fe=y.target,xe=te.view;fe!=oe;fe=fe.parentNode)for(var Ae=0;Ae<xe.length;Ae++)if(xe[Ae].node==fe){a.display.currentWheelTarget=fe;break e}}if(b&&!ne&&!he&&Oi!=null){E&&ue&&$o(a,Math.max(0,oe.scrollTop+E*Oi)),Eo(a,Math.max(0,oe.scrollLeft+b*Oi)),(!E||E&&ue)&&Dt(y),te.wheelStartX=null;return}if(E&&Oi!=null){var it=E*Oi,_e=a.doc.scrollTop,Mt=_e+te.wrapper.clientHeight;it<0?_e=Math.max(0,_e+it-50):Mt=Math.min(a.doc.height,Mt+it+50),el(a,{top:_e,bottom:Mt})}Pa<20&&(te.wheelStartX==null?(te.wheelStartX=oe.scrollLeft,te.wheelStartY=oe.scrollTop,te.wheelDX=b,te.wheelDY=E,setTimeout(function(){if(te.wheelStartX!=null){var Zt=oe.scrollLeft-te.wheelStartX,tn=oe.scrollTop-te.wheelStartY,yn=tn&&te.wheelDY&&tn/te.wheelDY||Zt&&te.wheelDX&&Zt/te.wheelDX;te.wheelStartX=te.wheelStartY=null,yn&&(Oi=(Oi*Pa+yn)/(Pa+1),++Pa)}},200)):(te.wheelDX+=b,te.wheelDY+=E))}}var Ni=function(a,y){this.ranges=a,this.primIndex=y};Ni.prototype.primary=function(){return this.ranges[this.primIndex]},Ni.prototype.equals=function(a){if(a==this)return!0;if(a.primIndex!=this.primIndex||a.ranges.length!=this.ranges.length)return!1;for(var y=0;y<this.ranges.length;y++){var x=this.ranges[y],b=a.ranges[y];if(!nn(x.anchor,b.anchor)||!nn(x.head,b.head))return!1}return!0},Ni.prototype.deepCopy=function(){for(var a=[],y=0;y<this.ranges.length;y++)a[y]=new Ar(un(this.ranges[y].anchor),un(this.ranges[y].head));return new Ni(a,this.primIndex)},Ni.prototype.somethingSelected=function(){for(var a=0;a<this.ranges.length;a++)if(!this.ranges[a].empty())return!0;return!1},Ni.prototype.contains=function(a,y){y||(y=a);for(var x=0;x<this.ranges.length;x++){var b=this.ranges[x];if(Bt(y,b.from())>=0&&Bt(a,b.to())<=0)return x}return-1};var Ar=function(a,y){this.anchor=a,this.head=y};Ar.prototype.from=function(){return Kt(this.anchor,this.head)},Ar.prototype.to=function(){return xn(this.anchor,this.head)},Ar.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function Ki(a,y,x){var b=a&&a.options.selectionsMayTouch,E=y[x];y.sort(function(it,_e){return Bt(it.from(),_e.from())}),x=ze(y,E);for(var te=1;te<y.length;te++){var oe=y[te],se=y[te-1],ue=Bt(se.to(),oe.from());if(b&&!oe.empty()?ue>0:ue>=0){var fe=Kt(se.from(),oe.from()),xe=xn(se.to(),oe.to()),Ae=se.empty()?oe.from()==oe.head:se.from()==se.head;te<=x&&--x,y.splice(--te,2,new Ar(Ae?xe:fe,Ae?fe:xe))}}return new Ni(y,x)}function po(a,y){return new Ni([new Ar(a,y||a)],0)}function vo(a){return a.text?je(a.from.line+a.text.length-1,Pe(a.text).length+(a.text.length==1?a.from.ch:0)):a.to}function Il(a,y){if(Bt(a,y.from)<0)return a;if(Bt(a,y.to)<=0)return vo(y);var x=a.line+y.text.length-(y.to.line-y.from.line)-1,b=a.ch;return a.line==y.to.line&&(b+=vo(y).ch-y.to.ch),je(x,b)}function il(a,y){for(var x=[],b=0;b<a.sel.ranges.length;b++){var E=a.sel.ranges[b];x.push(new Ar(Il(E.anchor,y),Il(E.head,y)))}return Ki(a.cm,x,a.sel.primIndex)}function Wl(a,y,x){return a.line==y.line?je(x.line,a.ch-y.ch+x.ch):je(x.line+(a.line-y.line),a.ch)}function ou(a,y,x){for(var b=[],E=je(a.first,0),te=E,oe=0;oe<y.length;oe++){var se=y[oe],ue=Wl(se.from,E,te),fe=Wl(vo(se),E,te);if(E=se.to,te=fe,x=="around"){var xe=a.sel.ranges[oe],Ae=Bt(xe.head,xe.anchor)<0;b[oe]=new Ar(Ae?fe:ue,Ae?ue:fe)}else b[oe]=new Ar(ue,ue)}return new Ni(b,a.sel.primIndex)}function ol(a){a.doc.mode=an(a.options,a.doc.modeOption),ia(a)}function ia(a){a.doc.iter(function(y){y.stateAfter&&(y.stateAfter=null),y.styles&&(y.styles=null)}),a.doc.modeFrontier=a.doc.highlightFrontier=a.doc.first,na(a,100),a.state.modeGen++,a.curOp&&Si(a)}function Zl(a,y){return y.from.ch==0&&y.to.ch==0&&Pe(y.text)==""&&(!a.cm||a.cm.options.wholeLineUpdateBefore)}function al(a,y,x,b){function E(Cn){return x?x[Cn]:null}function te(Cn,bn,Dn){Or(Cn,bn,Dn,b),Hr(Cn,"change",Cn,y)}function oe(Cn,bn){for(var Dn=[],Gn=Cn;Gn<bn;++Gn)Dn.push(new hr(fe[Gn],E(Gn),b));return Dn}var se=y.from,ue=y.to,fe=y.text,xe=rt(a,se.line),Ae=rt(a,ue.line),it=Pe(fe),_e=E(fe.length-1),Mt=ue.line-se.line;if(y.full)a.insert(0,oe(0,fe.length)),a.remove(fe.length,a.size-fe.length);else if(Zl(a,y)){var Zt=oe(0,fe.length-1);te(Ae,Ae.text,_e),Mt&&a.remove(se.line,Mt),Zt.length&&a.insert(se.line,Zt)}else if(xe==Ae)if(fe.length==1)te(xe,xe.text.slice(0,se.ch)+it+xe.text.slice(ue.ch),_e);else{var tn=oe(1,fe.length-1);tn.push(new hr(it+xe.text.slice(ue.ch),_e,b)),te(xe,xe.text.slice(0,se.ch)+fe[0],E(0)),a.insert(se.line+1,tn)}else if(fe.length==1)te(xe,xe.text.slice(0,se.ch)+fe[0]+Ae.text.slice(ue.ch),E(0)),a.remove(se.line+1,Mt);else{te(xe,xe.text.slice(0,se.ch)+fe[0],E(0)),te(Ae,it+Ae.text.slice(ue.ch),_e);var yn=oe(1,fe.length-1);Mt>1&&a.remove(se.line+1,Mt-1),a.insert(se.line+1,yn)}Hr(a,"change",a,y)}function mo(a,y,x){function b(E,te,oe){if(E.linked)for(var se=0;se<E.linked.length;++se){var ue=E.linked[se];if(ue.doc!=te){var fe=oe&&ue.sharedHist;x&&!fe||(y(ue.doc,fe),b(ue.doc,E,fe))}}}b(a,null,!0)}function jl(a,y){if(y.cm)throw new Error("This document is already in use.");a.doc=y,y.cm=a,Ya(a),ol(a),Gl(a),a.options.lineWrapping||nr(a),a.options.mode=y.modeOption,Si(a)}function Gl(a){(a.doc.direction=="rtl"?He:Ke)(a.display.lineDiv,"CodeMirror-rtl")}function au(a){Mi(a,function(){Gl(a),Si(a)})}function Ma(a){this.done=[],this.undone=[],this.undoDepth=1/0,this.lastModTime=this.lastSelTime=0,this.lastOp=this.lastSelOp=null,this.lastOrigin=this.lastSelOrigin=null,this.generation=this.maxGeneration=a||1}function ll(a,y){var x={from:un(y.from),to:vo(y),text:Ut(a,y.from,y.to)};return Ul(a,x,y.from.line,y.to.line+1),mo(a,function(b){return Ul(b,x,y.from.line,y.to.line+1)},!0),x}function Vl(a){for(;a.length;){var y=Pe(a);if(y.ranges)a.pop();else break}}function lu(a,y){if(y)return Vl(a.done),Pe(a.done);if(a.done.length&&!Pe(a.done).ranges)return Pe(a.done);if(a.done.length>1&&!a.done[a.done.length-2].ranges)return a.done.pop(),Pe(a.done)}function Xl(a,y,x,b){var E=a.history;E.undone.length=0;var te=+new Date,oe,se;if((E.lastOp==b||E.lastOrigin==y.origin&&y.origin&&(y.origin.charAt(0)=="+"&&E.lastModTime>te-(a.cm?a.cm.options.historyEventDelay:500)||y.origin.charAt(0)=="*"))&&(oe=lu(E,E.lastOp==b)))se=Pe(oe.changes),Bt(y.from,y.to)==0&&Bt(y.from,se.to)==0?se.to=vo(y):oe.changes.push(ll(a,y));else{var ue=Pe(E.done);for((!ue||!ue.ranges)&&Fa(a.sel,E.done),oe={changes:[ll(a,y)],generation:E.generation},E.done.push(oe);E.done.length>E.undoDepth;)E.done.shift(),E.done[0].ranges||E.done.shift()}E.done.push(x),E.generation=++E.maxGeneration,E.lastModTime=E.lastSelTime=te,E.lastOp=E.lastSelOp=b,E.lastOrigin=E.lastSelOrigin=y.origin,se||Nt(a,"historyAdded")}function su(a,y,x,b){var E=y.charAt(0);return E=="*"||E=="+"&&x.ranges.length==b.ranges.length&&x.somethingSelected()==b.somethingSelected()&&new Date-a.history.lastSelTime<=(a.cm?a.cm.options.historyEventDelay:500)}function uu(a,y,x,b){var E=a.history,te=b&&b.origin;x==E.lastSelOp||te&&E.lastSelOrigin==te&&(E.lastModTime==E.lastSelTime&&E.lastOrigin==te||su(a,te,Pe(E.done),y))?E.done[E.done.length-1]=y:Fa(y,E.done),E.lastSelTime=+new Date,E.lastSelOrigin=te,E.lastSelOp=x,b&&b.clearRedo!==!1&&Vl(E.undone)}function Fa(a,y){var x=Pe(y);x&&x.ranges&&x.equals(a)||y.push(a)}function Ul(a,y,x,b){var E=y["spans_"+a.id],te=0;a.iter(Math.max(a.first,x),Math.min(a.first+a.size,b),function(oe){oe.markedSpans&&((E||(E=y["spans_"+a.id]={}))[te]=oe.markedSpans),++te})}function cu(a){if(!a)return null;for(var y,x=0;x<a.length;++x)a[x].marker.explicitlyCleared?y||(y=a.slice(0,x)):y&&y.push(a[x]);return y?y.length?y:null:a}function du(a,y){var x=y["spans_"+a.id];if(!x)return null;for(var b=[],E=0;E<y.text.length;++E)b.push(cu(x[E]));return b}function Kl(a,y){var x=du(a,y),b=Tr(a,y);if(!x)return b;if(!b)return x;for(var E=0;E<x.length;++E){var te=x[E],oe=b[E];if(te&&oe)e:for(var se=0;se<oe.length;++se){for(var ue=oe[se],fe=0;fe<te.length;++fe)if(te[fe].marker==ue.marker)continue e;te.push(ue)}else oe&&(x[E]=oe)}return x}function Ro(a,y,x){for(var b=[],E=0;E<a.length;++E){var te=a[E];if(te.ranges){b.push(x?Ni.prototype.deepCopy.call(te):te);continue}var oe=te.changes,se=[];b.push({changes:se});for(var ue=0;ue<oe.length;++ue){var fe=oe[ue],xe=void 0;if(se.push({from:fe.from,to:fe.to,text:fe.text}),y)for(var Ae in fe)(xe=Ae.match(/^spans_(\d+)$/))&&ze(y,Number(xe[1]))>-1&&(Pe(se)[Ae]=fe[Ae],delete fe[Ae])}}return b}function sl(a,y,x,b){if(b){var E=a.anchor;if(x){var te=Bt(y,E)<0;te!=Bt(x,E)<0?(E=y,y=x):te!=Bt(y,x)<0&&(y=x)}return new Ar(E,y)}else return new Ar(x||y,y)}function Ta(a,y,x,b,E){E==null&&(E=a.cm&&(a.cm.display.shift||a.extend)),pi(a,new Ni([sl(a.sel.primary(),y,x,E)],0),b)}function Yl(a,y,x){for(var b=[],E=a.cm&&(a.cm.display.shift||a.extend),te=0;te<a.sel.ranges.length;te++)b[te]=sl(a.sel.ranges[te],y[te],null,E);var oe=Ki(a.cm,b,a.sel.primIndex);pi(a,oe,x)}function ul(a,y,x,b){var E=a.sel.ranges.slice(0);E[y]=x,pi(a,Ki(a.cm,E,a.sel.primIndex),b)}function Jl(a,y,x,b){pi(a,po(y,x),b)}function fu(a,y,x){var b={ranges:y.ranges,update:function(E){this.ranges=[];for(var te=0;te<E.length;te++)this.ranges[te]=new Ar(Ze(a,E[te].anchor),Ze(a,E[te].head))},origin:x&&x.origin};return Nt(a,"beforeSelectionChange",a,b),a.cm&&Nt(a.cm,"beforeSelectionChange",a.cm,b),b.ranges!=y.ranges?Ki(a.cm,b.ranges,b.ranges.length-1):y}function Ql(a,y,x){var b=a.history.done,E=Pe(b);E&&E.ranges?(b[b.length-1]=y,Oa(a,y,x)):pi(a,y,x)}function pi(a,y,x){Oa(a,y,x),uu(a,a.sel,a.cm?a.cm.curOp.id:NaN,x)}function Oa(a,y,x){(kt(a,"beforeSelectionChange")||a.cm&&kt(a.cm,"beforeSelectionChange"))&&(y=fu(a,y,x));var b=x&&x.bias||(Bt(y.primary().head,a.sel.primary().head)<0?-1:1);ql(a,$l(a,y,b,!0)),!(x&&x.scroll===!1)&&a.cm&&Oo(a.cm)}function ql(a,y){y.equals(a.sel)||(a.sel=y,a.cm&&(a.cm.curOp.updateInput=1,a.cm.curOp.selectionChanged=!0,Qt(a.cm)),Hr(a,"cursorActivity",a))}function _l(a){ql(a,$l(a,a.sel,null,!1))}function $l(a,y,x,b){for(var E,te=0;te<y.ranges.length;te++){var oe=y.ranges[te],se=y.ranges.length==a.sel.ranges.length&&a.sel.ranges[te],ue=Na(a,oe.anchor,se&&se.anchor,x,b),fe=Na(a,oe.head,se&&se.head,x,b);(E||ue!=oe.anchor||fe!=oe.head)&&(E||(E=y.ranges.slice(0,te)),E[te]=new Ar(ue,fe))}return E?Ki(a.cm,E,y.primIndex):y}function zo(a,y,x,b,E){var te=rt(a,y.line);if(te.markedSpans)for(var oe=0;oe<te.markedSpans.length;++oe){var se=te.markedSpans[oe],ue=se.marker,fe="selectLeft"in ue?!ue.selectLeft:ue.inclusiveLeft,xe="selectRight"in ue?!ue.selectRight:ue.inclusiveRight;if((se.from==null||(fe?se.from<=y.ch:se.from<y.ch))&&(se.to==null||(xe?se.to>=y.ch:se.to>y.ch))){if(E&&(Nt(ue,"beforeCursorEnter"),ue.explicitlyCleared))if(te.markedSpans){--oe;continue}else break;if(!ue.atomic)continue;if(x){var Ae=ue.find(b<0?1:-1),it=void 0;if((b<0?xe:fe)&&(Ae=es(a,Ae,-b,Ae&&Ae.line==y.line?te:null)),Ae&&Ae.line==y.line&&(it=Bt(Ae,x))&&(b<0?it<0:it>0))return zo(a,Ae,y,b,E)}var _e=ue.find(b<0?-1:1);return(b<0?fe:xe)&&(_e=es(a,_e,b,_e.line==y.line?te:null)),_e?zo(a,_e,y,b,E):null}}return y}function Na(a,y,x,b,E){var te=b||1,oe=zo(a,y,x,te,E)||!E&&zo(a,y,x,te,!0)||zo(a,y,x,-te,E)||!E&&zo(a,y,x,-te,!0);return oe||(a.cantEdit=!0,je(a.first,0))}function es(a,y,x,b){return x<0&&y.ch==0?y.line>a.first?Ze(a,je(y.line-1)):null:x>0&&y.ch==(b||rt(a,y.line)).text.length?y.line<a.first+a.size-1?je(y.line+1,0):null:new je(y.line,y.ch+x)}function ts(a){a.setSelection(je(a.firstLine(),0),je(a.lastLine()),be)}function ns(a,y,x){var b={canceled:!1,from:y.from,to:y.to,text:y.text,origin:y.origin,cancel:function(){return b.canceled=!0}};return x&&(b.update=function(E,te,oe,se){E&&(b.from=Ze(a,E)),te&&(b.to=Ze(a,te)),oe&&(b.text=oe),se!==void 0&&(b.origin=se)}),Nt(a,"beforeChange",a,b),a.cm&&Nt(a.cm,"beforeChange",a.cm,b),b.canceled?(a.cm&&(a.cm.curOp.updateInput=2),null):{from:b.from,to:b.to,text:b.text,origin:b.origin}}function Ho(a,y,x){if(a.cm){if(!a.cm.curOp)return ni(a.cm,Ho)(a,y,x);if(a.cm.state.suppressEdits)return}if(!((kt(a,"beforeChange")||a.cm&&kt(a.cm,"beforeChange"))&&(y=ns(a,y,!0),!y))){var b=wr&&!x&&Gr(a,y.from,y.to);if(b)for(var E=b.length-1;E>=0;--E)rs(a,{from:b[E].from,to:b[E].to,text:E?[""]:y.text,origin:y.origin});else rs(a,y)}}function rs(a,y){if(!(y.text.length==1&&y.text[0]==""&&Bt(y.from,y.to)==0)){var x=il(a,y);Xl(a,y,x,a.cm?a.cm.curOp.id:NaN),oa(a,y,x,Tr(a,y));var b=[];mo(a,function(E,te){!te&&ze(b,E.history)==-1&&(ls(E.history,y),b.push(E.history)),oa(E,y,null,Tr(E,y))})}}function Ra(a,y,x){var b=a.cm&&a.cm.state.suppressEdits;if(!(b&&!x)){for(var E=a.history,te,oe=a.sel,se=y=="undo"?E.done:E.undone,ue=y=="undo"?E.undone:E.done,fe=0;fe<se.length&&(te=se[fe],!(x?te.ranges&&!te.equals(a.sel):!te.ranges));fe++);if(fe!=se.length){for(E.lastOrigin=E.lastSelOrigin=null;;)if(te=se.pop(),te.ranges){if(Fa(te,ue),x&&!te.equals(a.sel)){pi(a,te,{clearRedo:!1});return}oe=te}else if(b){se.push(te);return}else break;var xe=[];Fa(oe,ue),ue.push({changes:xe,generation:E.generation}),E.generation=te.generation||++E.maxGeneration;for(var Ae=kt(a,"beforeChange")||a.cm&&kt(a.cm,"beforeChange"),it=function(Zt){var tn=te.changes[Zt];if(tn.origin=y,Ae&&!ns(a,tn,!1))return se.length=0,{};xe.push(ll(a,tn));var yn=Zt?il(a,tn):Pe(se);oa(a,tn,yn,Kl(a,tn)),!Zt&&a.cm&&a.cm.scrollIntoView({from:tn.from,to:vo(tn)});var Cn=[];mo(a,function(bn,Dn){!Dn&&ze(Cn,bn.history)==-1&&(ls(bn.history,tn),Cn.push(bn.history)),oa(bn,tn,null,Kl(bn,tn))})},_e=te.changes.length-1;_e>=0;--_e){var Mt=it(_e);if(Mt)return Mt.v}}}}function is(a,y){if(y!=0&&(a.first+=y,a.sel=new Ni(lt(a.sel.ranges,function(E){return new Ar(je(E.anchor.line+y,E.anchor.ch),je(E.head.line+y,E.head.ch))}),a.sel.primIndex),a.cm)){Si(a.cm,a.first,a.first-y,y);for(var x=a.cm.display,b=x.viewFrom;b<x.viewTo;b++)fo(a.cm,b,"gutter")}}function oa(a,y,x,b){if(a.cm&&!a.cm.curOp)return ni(a.cm,oa)(a,y,x,b);if(y.to.line<a.first){is(a,y.text.length-1-(y.to.line-y.from.line));return}if(!(y.from.line>a.lastLine())){if(y.from.line<a.first){var E=y.text.length-1-(a.first-y.from.line);is(a,E),y={from:je(a.first,0),to:je(y.to.line+E,y.to.ch),text:[Pe(y.text)],origin:y.origin}}var te=a.lastLine();y.to.line>te&&(y={from:y.from,to:je(te,rt(a,te).text.length),text:[y.text[0]],origin:y.origin}),y.removed=Ut(a,y.from,y.to),x||(x=il(a,y)),a.cm?hu(a.cm,y,b):al(a,y,b),Oa(a,x,be),a.cantEdit&&Na(a,je(a.firstLine(),0))&&(a.cantEdit=!1)}}function hu(a,y,x){var b=a.doc,E=a.display,te=y.from,oe=y.to,se=!1,ue=te.line;a.options.lineWrapping||(ue=ke(mn(rt(b,te.line))),b.iter(ue,oe.line+1,function(_e){if(_e==E.maxLine)return se=!0,!0})),b.sel.contains(y.from,y.to)>-1&&Qt(a),al(b,y,x,wl(a)),a.options.lineWrapping||(b.iter(ue,te.line+y.text.length,function(_e){var Mt=Dr(_e);Mt>E.maxLineLength&&(E.maxLine=_e,E.maxLineLength=Mt,E.maxLineChanged=!0,se=!1)}),se&&(a.curOp.updateMaxLine=!0)),Er(b,te.line),na(a,400);var fe=y.text.length-(oe.line-te.line)-1;y.full?Si(a):te.line==oe.line&&y.text.length==1&&!Zl(a.doc,y)?fo(a,te.line,"text"):Si(a,te.line,oe.line+1,fe);var xe=kt(a,"changes"),Ae=kt(a,"change");if(Ae||xe){var it={from:te,to:oe,text:y.text,removed:y.removed,origin:y.origin};Ae&&Hr(a,"change",a,it),xe&&(a.curOp.changeObjs||(a.curOp.changeObjs=[])).push(it)}a.display.selForContextMenu=null}function Io(a,y,x,b,E){var te;b||(b=x),Bt(b,x)<0&&(te=[b,x],x=te[0],b=te[1]),typeof y=="string"&&(y=a.splitLines(y)),Ho(a,{from:x,to:b,text:y,origin:E})}function os(a,y,x,b){x<a.line?a.line+=b:y<a.line&&(a.line=y,a.ch=0)}function as(a,y,x,b){for(var E=0;E<a.length;++E){var te=a[E],oe=!0;if(te.ranges){te.copied||(te=a[E]=te.deepCopy(),te.copied=!0);for(var se=0;se<te.ranges.length;se++)os(te.ranges[se].anchor,y,x,b),os(te.ranges[se].head,y,x,b);continue}for(var ue=0;ue<te.changes.length;++ue){var fe=te.changes[ue];if(x<fe.from.line)fe.from=je(fe.from.line+b,fe.from.ch),fe.to=je(fe.to.line+b,fe.to.ch);else if(y<=fe.to.line){oe=!1;break}}oe||(a.splice(0,E+1),E=0)}}function ls(a,y){var x=y.from.line,b=y.to.line,E=y.text.length-(b-x)-1;as(a.done,x,b,E),as(a.undone,x,b,E)}function aa(a,y,x,b){var E=y,te=y;return typeof y=="number"?te=rt(a,rn(a,y)):E=ke(y),E==null?null:(b(te,E)&&a.cm&&fo(a.cm,E,x),te)}function la(a){this.lines=a,this.parent=null;for(var y=0,x=0;x<a.length;++x)a[x].parent=this,y+=a[x].height;this.height=y}la.prototype={chunkSize:function(){return this.lines.length},removeInner:function(a,y){for(var x=a,b=a+y;x<b;++x){var E=this.lines[x];this.height-=E.height,Vr(E),Hr(E,"delete")}this.lines.splice(a,y)},collapse:function(a){a.push.apply(a,this.lines)},insertInner:function(a,y,x){this.height+=x,this.lines=this.lines.slice(0,a).concat(y).concat(this.lines.slice(a));for(var b=0;b<y.length;++b)y[b].parent=this},iterN:function(a,y,x){for(var b=a+y;a<b;++a)if(x(this.lines[a]))return!0}};function sa(a){this.children=a;for(var y=0,x=0,b=0;b<a.length;++b){var E=a[b];y+=E.chunkSize(),x+=E.height,E.parent=this}this.size=y,this.height=x,this.parent=null}sa.prototype={chunkSize:function(){return this.size},removeInner:function(a,y){this.size-=y;for(var x=0;x<this.children.length;++x){var b=this.children[x],E=b.chunkSize();if(a<E){var te=Math.min(y,E-a),oe=b.height;if(b.removeInner(a,te),this.height-=oe-b.height,E==te&&(this.children.splice(x--,1),b.parent=null),(y-=te)==0)break;a=0}else a-=E}if(this.size-y<25&&(this.children.length>1||!(this.children[0]instanceof la))){var se=[];this.collapse(se),this.children=[new la(se)],this.children[0].parent=this}},collapse:function(a){for(var y=0;y<this.children.length;++y)this.children[y].collapse(a)},insertInner:function(a,y,x){this.size+=y.length,this.height+=x;for(var b=0;b<this.children.length;++b){var E=this.children[b],te=E.chunkSize();if(a<=te){if(E.insertInner(a,y,x),E.lines&&E.lines.length>50){for(var oe=E.lines.length%25+25,se=oe;se<E.lines.length;){var ue=new la(E.lines.slice(se,se+=25));E.height-=ue.height,this.children.splice(++b,0,ue),ue.parent=this}E.lines=E.lines.slice(0,oe),this.maybeSpill()}break}a-=te}},maybeSpill:function(){if(!(this.children.length<=10)){var a=this;do{var y=a.children.splice(a.children.length-5,5),x=new sa(y);if(a.parent){a.size-=x.size,a.height-=x.height;var E=ze(a.parent.children,a);a.parent.children.splice(E+1,0,x)}else{var b=new sa(a.children);b.parent=a,a.children=[b,x],a=b}x.parent=a.parent}while(a.children.length>10);a.parent.maybeSpill()}},iterN:function(a,y,x){for(var b=0;b<this.children.length;++b){var E=this.children[b],te=E.chunkSize();if(a<te){var oe=Math.min(y,te-a);if(E.iterN(a,oe,x))return!0;if((y-=oe)==0)break;a=0}else a-=te}}};var ua=function(a,y,x){if(x)for(var b in x)x.hasOwnProperty(b)&&(this[b]=x[b]);this.doc=a,this.node=y};ua.prototype.clear=function(){var a=this.doc.cm,y=this.line.widgets,x=this.line,b=ke(x);if(!(b==null||!y)){for(var E=0;E<y.length;++E)y[E]==this&&y.splice(E--,1);y.length||(x.widgets=null);var te=gi(this);Pn(x,Math.max(0,x.height-te)),a&&(Mi(a,function(){ss(a,x,-te),fo(a,b,"widget")}),Hr(a,"lineWidgetCleared",a,this,b))}},ua.prototype.changed=function(){var a=this,y=this.height,x=this.doc.cm,b=this.line;this.height=null;var E=gi(this)-y;E&&(ln(this.doc,b)||Pn(b,b.height+E),x&&Mi(x,function(){x.curOp.forceUpdate=!0,ss(x,b,E),Hr(x,"lineWidgetChanged",x,a,ke(b))}))},Ot(ua);function ss(a,y,x){er(y)<(a.curOp&&a.curOp.scrollTop||a.doc.scrollTop)&&_a(a,x)}function pu(a,y,x,b){var E=new ua(a,x,b),te=a.cm;return te&&E.noHScroll&&(te.display.alignWidgets=!0),aa(a,y,"widget",function(oe){var se=oe.widgets||(oe.widgets=[]);if(E.insertAt==null?se.push(E):se.splice(Math.min(se.length-1,Math.max(0,E.insertAt)),0,E),E.line=oe,te&&!ln(a,oe)){var ue=er(oe)<a.scrollTop;Pn(oe,oe.height+gi(E)),ue&&_a(te,E.height),te.curOp.forceUpdate=!0}return!0}),te&&Hr(te,"lineWidgetAdded",te,E,typeof y=="number"?y:ke(y)),E}var us=0,go=function(a,y){this.lines=[],this.type=y,this.doc=a,this.id=++us};go.prototype.clear=function(){if(!this.explicitlyCleared){var a=this.doc.cm,y=a&&!a.curOp;if(y&&Ao(a),kt(this,"clear")){var x=this.find();x&&Hr(this,"clear",x.from,x.to)}for(var b=null,E=null,te=0;te<this.lines.length;++te){var oe=this.lines[te],se=fr(oe.markedSpans,this);a&&!this.collapsed?fo(a,ke(oe),"text"):a&&(se.to!=null&&(E=ke(oe)),se.from!=null&&(b=ke(oe))),oe.markedSpans=Br(oe.markedSpans,se),se.from==null&&this.collapsed&&!ln(this.doc,oe)&&a&&Pn(oe,Pi(a.display))}if(a&&this.collapsed&&!a.options.lineWrapping)for(var ue=0;ue<this.lines.length;++ue){var fe=mn(this.lines[ue]),xe=Dr(fe);xe>a.display.maxLineLength&&(a.display.maxLine=fe,a.display.maxLineLength=xe,a.display.maxLineChanged=!0)}b!=null&&a&&this.collapsed&&Si(a,b,E+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,a&&_l(a.doc)),a&&Hr(a,"markerCleared",a,this,b,E),y&&Do(a),this.parent&&this.parent.clear()}},go.prototype.find=function(a,y){a==null&&this.type=="bookmark"&&(a=1);for(var x,b,E=0;E<this.lines.length;++E){var te=this.lines[E],oe=fr(te.markedSpans,this);if(oe.from!=null&&(x=je(y?te:ke(te),oe.from),a==-1))return x;if(oe.to!=null&&(b=je(y?te:ke(te),oe.to),a==1))return b}return x&&{from:x,to:b}},go.prototype.changed=function(){var a=this,y=this.find(-1,!0),x=this,b=this.doc.cm;!y||!b||Mi(b,function(){var E=y.line,te=ke(y.line),oe=_i(b,te);if(oe&&(Ko(oe),b.curOp.selectionChanged=b.curOp.forceUpdate=!0),b.curOp.updateMaxLine=!0,!ln(x.doc,E)&&x.height!=null){var se=x.height;x.height=null;var ue=gi(x)-se;ue&&Pn(E,E.height+ue)}Hr(b,"markerChanged",b,a)})},go.prototype.attachLine=function(a){if(!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(!y.maybeHiddenMarkers||ze(y.maybeHiddenMarkers,this)==-1)&&(y.maybeUnhiddenMarkers||(y.maybeUnhiddenMarkers=[])).push(this)}this.lines.push(a)},go.prototype.detachLine=function(a){if(this.lines.splice(ze(this.lines,a),1),!this.lines.length&&this.doc.cm){var y=this.doc.cm.curOp;(y.maybeHiddenMarkers||(y.maybeHiddenMarkers=[])).push(this)}},Ot(go);function Wo(a,y,x,b,E){if(b&&b.shared)return vu(a,y,x,b,E);if(a.cm&&!a.cm.curOp)return ni(a.cm,Wo)(a,y,x,b,E);var te=new go(a,E),oe=Bt(y,x);if(b&&ut(b,te,!1),oe>0||oe==0&&te.clearWhenEmpty!==!1)return te;if(te.replacedWith&&(te.collapsed=!0,te.widgetNode=et("span",[te.replacedWith],"CodeMirror-widget"),b.handleMouseEvents||te.widgetNode.setAttribute("cm-ignore-events","true"),b.insertLeft&&(te.widgetNode.insertLeft=!0)),te.collapsed){if(An(a,y.line,y,x,te)||y.line!=x.line&&An(a,x.line,y,x,te))throw new Error("Inserting collapsed marker partially overlapping an existing one");Yn()}te.addToHistory&&Xl(a,{from:y,to:x,origin:"markText"},a.sel,NaN);var se=y.line,ue=a.cm,fe;if(a.iter(se,x.line+1,function(Ae){ue&&te.collapsed&&!ue.options.lineWrapping&&mn(Ae)==ue.display.maxLine&&(fe=!0),te.collapsed&&se!=y.line&&Pn(Ae,0),Cr(Ae,new ir(te,se==y.line?y.ch:null,se==x.line?x.ch:null)),++se}),te.collapsed&&a.iter(y.line,x.line+1,function(Ae){ln(a,Ae)&&Pn(Ae,0)}),te.clearOnEnter&&xt(te,"beforeCursorEnter",function(){return te.clear()}),te.readOnly&&(Ln(),(a.history.done.length||a.history.undone.length)&&a.clearHistory()),te.collapsed&&(te.id=++us,te.atomic=!0),ue){if(fe&&(ue.curOp.updateMaxLine=!0),te.collapsed)Si(ue,y.line,x.line+1);else if(te.className||te.startStyle||te.endStyle||te.css||te.attributes||te.title)for(var xe=y.line;xe<=x.line;xe++)fo(ue,xe,"text");te.atomic&&_l(ue.doc),Hr(ue,"markerAdded",ue,te)}return te}var ca=function(a,y){this.markers=a,this.primary=y;for(var x=0;x<a.length;++x)a[x].parent=this};ca.prototype.clear=function(){if(!this.explicitlyCleared){this.explicitlyCleared=!0;for(var a=0;a<this.markers.length;++a)this.markers[a].clear();Hr(this,"clear")}},ca.prototype.find=function(a,y){return this.primary.find(a,y)},Ot(ca);function vu(a,y,x,b,E){b=ut(b),b.shared=!1;var te=[Wo(a,y,x,b,E)],oe=te[0],se=b.widgetNode;return mo(a,function(ue){se&&(b.widgetNode=se.cloneNode(!0)),te.push(Wo(ue,Ze(ue,y),Ze(ue,x),b,E));for(var fe=0;fe<ue.linked.length;++fe)if(ue.linked[fe].isParent)return;oe=Pe(te)}),new ca(te,oe)}function cs(a){return a.findMarks(je(a.first,0),a.clipPos(je(a.lastLine())),function(y){return y.parent})}function mu(a,y){for(var x=0;x<y.length;x++){var b=y[x],E=b.find(),te=a.clipPos(E.from),oe=a.clipPos(E.to);if(Bt(te,oe)){var se=Wo(a,te,oe,b.primary,b.primary.type);b.markers.push(se),se.parent=b}}}function gu(a){for(var y=function(b){var E=a[b],te=[E.primary.doc];mo(E.primary.doc,function(ue){return te.push(ue)});for(var oe=0;oe<E.markers.length;oe++){var se=E.markers[oe];ze(te,se.doc)==-1&&(se.parent=null,E.markers.splice(oe--,1))}},x=0;x<a.length;x++)y(x)}var yu=0,Ei=function(a,y,x,b,E){if(!(this instanceof Ei))return new Ei(a,y,x,b,E);x==null&&(x=0),sa.call(this,[new la([new hr("",null)])]),this.first=x,this.scrollTop=this.scrollLeft=0,this.cantEdit=!1,this.cleanGeneration=1,this.modeFrontier=this.highlightFrontier=x;var te=je(x,0);this.sel=po(te),this.history=new Ma(null),this.id=++yu,this.modeOption=y,this.lineSep=b,this.direction=E=="rtl"?"rtl":"ltr",this.extend=!1,typeof a=="string"&&(a=this.splitLines(a)),al(this,{from:te,to:te,text:a}),pi(this,po(te),be)};Ei.prototype=ee(sa.prototype,{constructor:Ei,iter:function(a,y,x){x?this.iterN(a-this.first,y-a,x):this.iterN(this.first,this.first+this.size,a)},insert:function(a,y){for(var x=0,b=0;b<y.length;++b)x+=y[b].height;this.insertInner(a-this.first,y,x)},remove:function(a,y){this.removeInner(a-this.first,y)},getValue:function(a){var y=vn(this,this.first,this.first+this.size);return a===!1?y:y.join(a||this.lineSeparator())},setValue:ri(function(a){var y=je(this.first,0),x=this.first+this.size-1;Ho(this,{from:y,to:je(x,rt(this,x).text.length),text:this.splitLines(a),origin:"setValue",full:!0},!0),this.cm&&_o(this.cm,0,0),pi(this,po(y),be)}),replaceRange:function(a,y,x,b){y=Ze(this,y),x=x?Ze(this,x):y,Io(this,a,y,x,b)},getRange:function(a,y,x){var b=Ut(this,Ze(this,a),Ze(this,y));return x===!1?b:b.join(x||this.lineSeparator())},getLine:function(a){var y=this.getLineHandle(a);return y&&y.text},getLineHandle:function(a){if(Rt(this,a))return rt(this,a)},getLineNumber:function(a){return ke(a)},getLineHandleVisualStart:function(a){return typeof a=="number"&&(a=rt(this,a)),mn(a)},lineCount:function(){return this.size},firstLine:function(){return this.first},lastLine:function(){return this.first+this.size-1},clipPos:function(a){return Ze(this,a)},getCursor:function(a){var y=this.sel.primary(),x;return a==null||a=="head"?x=y.head:a=="anchor"?x=y.anchor:a=="end"||a=="to"||a===!1?x=y.to():x=y.from(),x},listSelections:function(){return this.sel.ranges},somethingSelected:function(){return this.sel.somethingSelected()},setCursor:ri(function(a,y,x){Jl(this,Ze(this,typeof a=="number"?je(a,y||0):a),null,x)}),setSelection:ri(function(a,y,x){Jl(this,Ze(this,a),Ze(this,y||a),x)}),extendSelection:ri(function(a,y,x){Ta(this,Ze(this,a),y&&Ze(this,y),x)}),extendSelections:ri(function(a,y){Yl(this,$t(this,a),y)}),extendSelectionsBy:ri(function(a,y){var x=lt(this.sel.ranges,a);Yl(this,$t(this,x),y)}),setSelections:ri(function(a,y,x){if(a.length){for(var b=[],E=0;E<a.length;E++)b[E]=new Ar(Ze(this,a[E].anchor),Ze(this,a[E].head));y==null&&(y=Math.min(a.length-1,this.sel.primIndex)),pi(this,Ki(this.cm,b,y),x)}}),addSelection:ri(function(a,y,x){var b=this.sel.ranges.slice(0);b.push(new Ar(Ze(this,a),Ze(this,y||a))),pi(this,Ki(this.cm,b,b.length-1),x)}),getSelection:function(a){for(var y=this.sel.ranges,x,b=0;b<y.length;b++){var E=Ut(this,y[b].from(),y[b].to());x=x?x.concat(E):E}return a===!1?x:x.join(a||this.lineSeparator())},getSelections:function(a){for(var y=[],x=this.sel.ranges,b=0;b<x.length;b++){var E=Ut(this,x[b].from(),x[b].to());a!==!1&&(E=E.join(a||this.lineSeparator())),y[b]=E}return y},replaceSelection:function(a,y,x){for(var b=[],E=0;E<this.sel.ranges.length;E++)b[E]=a;this.replaceSelections(b,y,x||"+input")},replaceSelections:ri(function(a,y,x){for(var b=[],E=this.sel,te=0;te<E.ranges.length;te++){var oe=E.ranges[te];b[te]={from:oe.from(),to:oe.to(),text:this.splitLines(a[te]),origin:x}}for(var se=y&&y!="end"&&ou(this,b,y),ue=b.length-1;ue>=0;ue--)Ho(this,b[ue]);se?Ql(this,se):this.cm&&Oo(this.cm)}),undo:ri(function(){Ra(this,"undo")}),redo:ri(function(){Ra(this,"redo")}),undoSelection:ri(function(){Ra(this,"undo",!0)}),redoSelection:ri(function(){Ra(this,"redo",!0)}),setExtending:function(a){this.extend=a},getExtending:function(){return this.extend},historySize:function(){for(var a=this.history,y=0,x=0,b=0;b<a.done.length;b++)a.done[b].ranges||++y;for(var E=0;E<a.undone.length;E++)a.undone[E].ranges||++x;return{undo:y,redo:x}},clearHistory:function(){var a=this;this.history=new Ma(this.history.maxGeneration),mo(this,function(y){return y.history=a.history},!0)},markClean:function(){this.cleanGeneration=this.changeGeneration(!0)},changeGeneration:function(a){return a&&(this.history.lastOp=this.history.lastSelOp=this.history.lastOrigin=null),this.history.generation},isClean:function(a){return this.history.generation==(a||this.cleanGeneration)},getHistory:function(){return{done:Ro(this.history.done),undone:Ro(this.history.undone)}},setHistory:function(a){var y=this.history=new Ma(this.history.maxGeneration);y.done=Ro(a.done.slice(0),null,!0),y.undone=Ro(a.undone.slice(0),null,!0)},setGutterMarker:ri(function(a,y,x){return aa(this,a,"gutter",function(b){var E=b.gutterMarkers||(b.gutterMarkers={});return E[y]=x,!x&&re(E)&&(b.gutterMarkers=null),!0})}),clearGutter:ri(function(a){var y=this;this.iter(function(x){x.gutterMarkers&&x.gutterMarkers[a]&&aa(y,x,"gutter",function(){return x.gutterMarkers[a]=null,re(x.gutterMarkers)&&(x.gutterMarkers=null),!0})})}),lineInfo:function(a){var y;if(typeof a=="number"){if(!Rt(this,a)||(y=a,a=rt(this,a),!a))return null}else if(y=ke(a),y==null)return null;return{line:y,handle:a,text:a.text,gutterMarkers:a.gutterMarkers,textClass:a.textClass,bgClass:a.bgClass,wrapClass:a.wrapClass,widgets:a.widgets}},addLineClass:ri(function(a,y,x){return aa(this,a,y=="gutter"?"gutter":"class",function(b){var E=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass";if(!b[E])b[E]=x;else{if(Je(x).test(b[E]))return!1;b[E]+=" "+x}return!0})}),removeLineClass:ri(function(a,y,x){return aa(this,a,y=="gutter"?"gutter":"class",function(b){var E=y=="text"?"textClass":y=="background"?"bgClass":y=="gutter"?"gutterClass":"wrapClass",te=b[E];if(te)if(x==null)b[E]=null;else{var oe=te.match(Je(x));if(!oe)return!1;var se=oe.index+oe[0].length;b[E]=te.slice(0,oe.index)+(!oe.index||se==te.length?"":" ")+te.slice(se)||null}else return!1;return!0})}),addLineWidget:ri(function(a,y,x){return pu(this,a,y,x)}),removeLineWidget:function(a){a.clear()},markText:function(a,y,x){return Wo(this,Ze(this,a),Ze(this,y),x,x&&x.type||"range")},setBookmark:function(a,y){var x={replacedWith:y&&(y.nodeType==null?y.widget:y),insertLeft:y&&y.insertLeft,clearWhenEmpty:!1,shared:y&&y.shared,handleMouseEvents:y&&y.handleMouseEvents};return a=Ze(this,a),Wo(this,a,a,x,"bookmark")},findMarksAt:function(a){a=Ze(this,a);var y=[],x=rt(this,a.line).markedSpans;if(x)for(var b=0;b<x.length;++b){var E=x[b];(E.from==null||E.from<=a.ch)&&(E.to==null||E.to>=a.ch)&&y.push(E.marker.parent||E.marker)}return y},findMarks:function(a,y,x){a=Ze(this,a),y=Ze(this,y);var b=[],E=a.line;return this.iter(a.line,y.line+1,function(te){var oe=te.markedSpans;if(oe)for(var se=0;se<oe.length;se++){var ue=oe[se];!(ue.to!=null&&E==a.line&&a.ch>=ue.to||ue.from==null&&E!=a.line||ue.from!=null&&E==y.line&&ue.from>=y.ch)&&(!x||x(ue.marker))&&b.push(ue.marker.parent||ue.marker)}++E}),b},getAllMarks:function(){var a=[];return this.iter(function(y){var x=y.markedSpans;if(x)for(var b=0;b<x.length;++b)x[b].from!=null&&a.push(x[b].marker)}),a},posFromIndex:function(a){var y,x=this.first,b=this.lineSeparator().length;return this.iter(function(E){var te=E.text.length+b;if(te>a)return y=a,!0;a-=te,++x}),Ze(this,je(x,y))},indexFromPos:function(a){a=Ze(this,a);var y=a.ch;if(a.line<this.first||a.ch<0)return 0;var x=this.lineSeparator().length;return this.iter(this.first,a.line,function(b){y+=b.text.length+x}),y},copy:function(a){var y=new Ei(vn(this,this.first,this.first+this.size),this.modeOption,this.first,this.lineSep,this.direction);return y.scrollTop=this.scrollTop,y.scrollLeft=this.scrollLeft,y.sel=this.sel,y.extend=!1,a&&(y.history.undoDepth=this.history.undoDepth,y.setHistory(this.getHistory())),y},linkedDoc:function(a){a||(a={});var y=this.first,x=this.first+this.size;a.from!=null&&a.from>y&&(y=a.from),a.to!=null&&a.to<x&&(x=a.to);var b=new Ei(vn(this,y,x),a.mode||this.modeOption,y,this.lineSep,this.direction);return a.sharedHist&&(b.history=this.history),(this.linked||(this.linked=[])).push({doc:b,sharedHist:a.sharedHist}),b.linked=[{doc:this,isParent:!0,sharedHist:a.sharedHist}],mu(b,cs(this)),b},unlinkDoc:function(a){if(a instanceof Ir&&(a=a.doc),this.linked)for(var y=0;y<this.linked.length;++y){var x=this.linked[y];if(x.doc==a){this.linked.splice(y,1),a.unlinkDoc(this),gu(cs(this));break}}if(a.history==this.history){var b=[a.id];mo(a,function(E){return b.push(E.id)},!0),a.history=new Ma(null),a.history.done=Ro(this.history.done,b),a.history.undone=Ro(this.history.undone,b)}},iterLinkedDocs:function(a){mo(this,a)},getMode:function(){return this.mode},getEditor:function(){return this.cm},splitLines:function(a){return this.lineSep?a.split(this.lineSep):Xn(a)},lineSeparator:function(){return this.lineSep||`
|
|
`},setDirection:ri(function(a){a!="rtl"&&(a="ltr"),a!=this.direction&&(this.direction=a,this.iter(function(y){return y.order=null}),this.cm&&au(this.cm))})}),Ei.prototype.eachLine=Ei.prototype.iter;var ds=0;function bu(a){var y=this;if(fs(y),!(tt(y,a)||si(y.display,a))){Dt(a),ge&&(ds=+new Date);var x=Co(y,a,!0),b=a.dataTransfer.files;if(!(!x||y.isReadOnly()))if(b&&b.length&&window.FileReader&&window.File)for(var E=b.length,te=Array(E),oe=0,se=function(){++oe==E&&ni(y,function(){x=Ze(y.doc,x);var _e={from:x,to:x,text:y.doc.splitLines(te.filter(function(Mt){return Mt!=null}).join(y.doc.lineSeparator())),origin:"paste"};Ho(y.doc,_e),Ql(y.doc,po(Ze(y.doc,x),Ze(y.doc,vo(_e))))})()},ue=function(_e,Mt){if(y.options.allowDropFileTypes&&ze(y.options.allowDropFileTypes,_e.type)==-1){se();return}var Zt=new FileReader;Zt.onerror=function(){return se()},Zt.onload=function(){var tn=Zt.result;if(/[\x00-\x08\x0e-\x1f]{2}/.test(tn)){se();return}te[Mt]=tn,se()},Zt.readAsText(_e)},fe=0;fe<b.length;fe++)ue(b[fe],fe);else{if(y.state.draggingText&&y.doc.sel.contains(x)>-1){y.state.draggingText(a),setTimeout(function(){return y.display.input.focus()},20);return}try{var xe=a.dataTransfer.getData("Text");if(xe){var Ae;if(y.state.draggingText&&!y.state.draggingText.copy&&(Ae=y.listSelections()),Oa(y.doc,po(x,x)),Ae)for(var it=0;it<Ae.length;++it)Io(y.doc,"",Ae[it].anchor,Ae[it].head,"drag");y.replaceSelection(xe,"around","paste"),y.display.input.focus()}}catch(_e){}}}}function xu(a,y){if(ge&&(!a.state.draggingText||+new Date-ds<100)){fn(y);return}if(!(tt(a,y)||si(a.display,y))&&(y.dataTransfer.setData("Text",a.getSelection()),y.dataTransfer.effectAllowed="copyMove",y.dataTransfer.setDragImage&&!Qe)){var x=Ne("img",null,null,"position: fixed; left: 0; top: 0;");x.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",he&&(x.width=x.height=1,a.display.wrapper.appendChild(x),x._top=x.offsetTop),y.dataTransfer.setDragImage(x,0,0),he&&x.parentNode.removeChild(x)}}function wu(a,y){var x=Co(a,y);if(x){var b=document.createDocumentFragment();El(a,x,b),a.display.dragCursor||(a.display.dragCursor=Ne("div",null,"CodeMirror-cursors CodeMirror-dragcursors"),a.display.lineSpace.insertBefore(a.display.dragCursor,a.display.cursorDiv)),Ue(a.display.dragCursor,b)}}function fs(a){a.display.dragCursor&&(a.display.lineSpace.removeChild(a.display.dragCursor),a.display.dragCursor=null)}function hs(a){if(document.getElementsByClassName){for(var y=document.getElementsByClassName("CodeMirror"),x=[],b=0;b<y.length;b++){var E=y[b].CodeMirror;E&&x.push(E)}x.length&&x[0].operation(function(){for(var te=0;te<x.length;te++)a(x[te])})}}var ps=!1;function Cu(){ps||(Su(),ps=!0)}function Su(){var a;xt(window,"resize",function(){a==null&&(a=setTimeout(function(){a=null,hs(Eu)},100))}),xt(window,"blur",function(){return hs(To)})}function Eu(a){var y=a.display;y.cachedCharWidth=y.cachedTextHeight=y.cachedPaddingH=null,y.scrollbarsClipped=!1,a.setSize()}for(var yo={3:"Pause",8:"Backspace",9:"Tab",13:"Enter",16:"Shift",17:"Ctrl",18:"Alt",19:"Pause",20:"CapsLock",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"PrintScrn",45:"Insert",46:"Delete",59:";",61:"=",91:"Mod",92:"Mod",93:"Mod",106:"*",107:"=",109:"-",110:".",111:"/",145:"ScrollLock",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",224:"Mod",63232:"Up",63233:"Down",63234:"Left",63235:"Right",63272:"Delete",63273:"Home",63275:"End",63276:"PageUp",63277:"PageDown",63302:"Insert"},da=0;da<10;da++)yo[da+48]=yo[da+96]=String(da);for(var za=65;za<=90;za++)yo[za]=String.fromCharCode(za);for(var fa=1;fa<=12;fa++)yo[fa+111]=yo[fa+63235]="F"+fa;var io={};io.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},io.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},io.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Alt-F":"goWordRight","Alt-B":"goWordLeft","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-D":"delWordAfter","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},io.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},io.default=Be?io.macDefault:io.pcDefault;function ku(a){var y=a.split(/-(?!$)/);a=y[y.length-1];for(var x,b,E,te,oe=0;oe<y.length-1;oe++){var se=y[oe];if(/^(cmd|meta|m)$/i.test(se))te=!0;else if(/^a(lt)?$/i.test(se))x=!0;else if(/^(c|ctrl|control)$/i.test(se))b=!0;else if(/^s(hift)?$/i.test(se))E=!0;else throw new Error("Unrecognized modifier name: "+se)}return x&&(a="Alt-"+a),b&&(a="Ctrl-"+a),te&&(a="Cmd-"+a),E&&(a="Shift-"+a),a}function Au(a){var y={};for(var x in a)if(a.hasOwnProperty(x)){var b=a[x];if(/^(name|fallthrough|(de|at)tach)$/.test(x))continue;if(b=="..."){delete a[x];continue}for(var E=lt(x.split(" "),ku),te=0;te<E.length;te++){var oe=void 0,se=void 0;te==E.length-1?(se=E.join(" "),oe=b):(se=E.slice(0,te+1).join(" "),oe="...");var ue=y[se];if(!ue)y[se]=oe;else if(ue!=oe)throw new Error("Inconsistent bindings for "+se)}delete a[x]}for(var fe in y)a[fe]=y[fe];return a}function Zo(a,y,x,b){y=Ha(y);var E=y.call?y.call(a,b):y[a];if(E===!1)return"nothing";if(E==="...")return"multi";if(E!=null&&x(E))return"handled";if(y.fallthrough){if(Object.prototype.toString.call(y.fallthrough)!="[object Array]")return Zo(a,y.fallthrough,x,b);for(var te=0;te<y.fallthrough.length;te++){var oe=Zo(a,y.fallthrough[te],x,b);if(oe)return oe}}}function vs(a){var y=typeof a=="string"?a:yo[a.keyCode];return y=="Ctrl"||y=="Alt"||y=="Shift"||y=="Mod"}function ms(a,y,x){var b=a;return y.altKey&&b!="Alt"&&(a="Alt-"+a),(Ge?y.metaKey:y.ctrlKey)&&b!="Ctrl"&&(a="Ctrl-"+a),(Ge?y.ctrlKey:y.metaKey)&&b!="Mod"&&(a="Cmd-"+a),!x&&y.shiftKey&&b!="Shift"&&(a="Shift-"+a),a}function gs(a,y){if(he&&a.keyCode==34&&a.char)return!1;var x=yo[a.keyCode];return x==null||a.altGraphKey?!1:(a.keyCode==3&&a.code&&(x=a.code),ms(x,a,y))}function Ha(a){return typeof a=="string"?io[a]:a}function jo(a,y){for(var x=a.doc.sel.ranges,b=[],E=0;E<x.length;E++){for(var te=y(x[E]);b.length&&Bt(te.from,Pe(b).to)<=0;){var oe=b.pop();if(Bt(oe.from,te.from)<0){te.from=oe.from;break}}b.push(te)}Mi(a,function(){for(var se=b.length-1;se>=0;se--)Io(a.doc,"",b[se].from,b[se].to,"+delete");Oo(a)})}function cl(a,y,x){var b=Et(a.text,y+x,x);return b<0||b>a.text.length?null:b}function dl(a,y,x){var b=cl(a,y.ch,x);return b==null?null:new je(y.line,b,x<0?"after":"before")}function fl(a,y,x,b,E){if(a){y.doc.direction=="rtl"&&(E=-E);var te=Yt(x,y.doc.direction);if(te){var oe=E<0?Pe(te):te[0],se=E<0==(oe.level==1),ue=se?"after":"before",fe;if(oe.level>0||y.doc.direction=="rtl"){var xe=uo(y,x);fe=E<0?x.text.length-1:0;var Ae=Ii(y,xe,fe).top;fe=yt(function(it){return Ii(y,xe,it).top==Ae},E<0==(oe.level==1)?oe.from:oe.to-1,fe),ue=="before"&&(fe=cl(x,fe,1))}else fe=E<0?oe.to:oe.from;return new je(b,fe,ue)}}return new je(b,E<0?x.text.length:0,E<0?"before":"after")}function Du(a,y,x,b){var E=Yt(y,a.doc.direction);if(!E)return dl(y,x,b);x.ch>=y.text.length?(x.ch=y.text.length,x.sticky="before"):x.ch<=0&&(x.ch=0,x.sticky="after");var te=It(E,x.ch,x.sticky),oe=E[te];if(a.doc.direction=="ltr"&&oe.level%2==0&&(b>0?oe.to>x.ch:oe.from<x.ch))return dl(y,x,b);var se=function(yn,Cn){return cl(y,yn instanceof je?yn.ch:yn,Cn)},ue,fe=function(yn){return a.options.lineWrapping?(ue=ue||uo(a,y),Ur(a,y,ue,yn)):{begin:0,end:y.text.length}},xe=fe(x.sticky=="before"?se(x,-1):x.ch);if(a.doc.direction=="rtl"||oe.level==1){var Ae=oe.level==1==b<0,it=se(x,Ae?1:-1);if(it!=null&&(Ae?it<=oe.to&&it<=xe.end:it>=oe.from&&it>=xe.begin)){var _e=Ae?"before":"after";return new je(x.line,it,_e)}}var Mt=function(yn,Cn,bn){for(var Dn=function(Rr,ii){return ii?new je(x.line,se(Rr,1),"before"):new je(x.line,Rr,"after")};yn>=0&&yn<E.length;yn+=Cn){var Gn=E[yn],On=Cn>0==(Gn.level!=1),sr=On?bn.begin:se(bn.end,-1);if(Gn.from<=sr&&sr<Gn.to||(sr=On?Gn.from:se(Gn.to,-1),bn.begin<=sr&&sr<bn.end))return Dn(sr,On)}},Zt=Mt(te+b,b,xe);if(Zt)return Zt;var tn=b>0?xe.end:se(xe.begin,-1);return tn!=null&&!(b>0&&tn==y.text.length)&&(Zt=Mt(b>0?0:E.length-1,b,fe(tn)),Zt)?Zt:null}var ha={selectAll:ts,singleSelection:function(a){return a.setSelection(a.getCursor("anchor"),a.getCursor("head"),be)},killLine:function(a){return jo(a,function(y){if(y.empty()){var x=rt(a.doc,y.head.line).text.length;return y.head.ch==x&&y.head.line<a.lastLine()?{from:y.head,to:je(y.head.line+1,0)}:{from:y.head,to:je(y.head.line,x)}}else return{from:y.from(),to:y.to()}})},deleteLine:function(a){return jo(a,function(y){return{from:je(y.from().line,0),to:Ze(a.doc,je(y.to().line+1,0))}})},delLineLeft:function(a){return jo(a,function(y){return{from:je(y.from().line,0),to:y.from()}})},delWrappedLineLeft:function(a){return jo(a,function(y){var x=a.charCoords(y.head,"div").top+5,b=a.coordsChar({left:0,top:x},"div");return{from:b,to:y.from()}})},delWrappedLineRight:function(a){return jo(a,function(y){var x=a.charCoords(y.head,"div").top+5,b=a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:x},"div");return{from:y.from(),to:b}})},undo:function(a){return a.undo()},redo:function(a){return a.redo()},undoSelection:function(a){return a.undoSelection()},redoSelection:function(a){return a.redoSelection()},goDocStart:function(a){return a.extendSelection(je(a.firstLine(),0))},goDocEnd:function(a){return a.extendSelection(je(a.lastLine()))},goLineStart:function(a){return a.extendSelectionsBy(function(y){return ys(a,y.head.line)},{origin:"+move",bias:1})},goLineStartSmart:function(a){return a.extendSelectionsBy(function(y){return bs(a,y.head)},{origin:"+move",bias:1})},goLineEnd:function(a){return a.extendSelectionsBy(function(y){return Bu(a,y.head.line)},{origin:"+move",bias:-1})},goLineRight:function(a){return a.extendSelectionsBy(function(y){var x=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:a.display.lineDiv.offsetWidth+100,top:x},"div")},Ie)},goLineLeft:function(a){return a.extendSelectionsBy(function(y){var x=a.cursorCoords(y.head,"div").top+5;return a.coordsChar({left:0,top:x},"div")},Ie)},goLineLeftSmart:function(a){return a.extendSelectionsBy(function(y){var x=a.cursorCoords(y.head,"div").top+5,b=a.coordsChar({left:0,top:x},"div");return b.ch<a.getLine(b.line).search(/\S/)?bs(a,y.head):b},Ie)},goLineUp:function(a){return a.moveV(-1,"line")},goLineDown:function(a){return a.moveV(1,"line")},goPageUp:function(a){return a.moveV(-1,"page")},goPageDown:function(a){return a.moveV(1,"page")},goCharLeft:function(a){return a.moveH(-1,"char")},goCharRight:function(a){return a.moveH(1,"char")},goColumnLeft:function(a){return a.moveH(-1,"column")},goColumnRight:function(a){return a.moveH(1,"column")},goWordLeft:function(a){return a.moveH(-1,"word")},goGroupRight:function(a){return a.moveH(1,"group")},goGroupLeft:function(a){return a.moveH(-1,"group")},goWordRight:function(a){return a.moveH(1,"word")},delCharBefore:function(a){return a.deleteH(-1,"codepoint")},delCharAfter:function(a){return a.deleteH(1,"char")},delWordBefore:function(a){return a.deleteH(-1,"word")},delWordAfter:function(a){return a.deleteH(1,"word")},delGroupBefore:function(a){return a.deleteH(-1,"group")},delGroupAfter:function(a){return a.deleteH(1,"group")},indentAuto:function(a){return a.indentSelection("smart")},indentMore:function(a){return a.indentSelection("add")},indentLess:function(a){return a.indentSelection("subtract")},insertTab:function(a){return a.replaceSelection(" ")},insertSoftTab:function(a){for(var y=[],x=a.listSelections(),b=a.options.tabSize,E=0;E<x.length;E++){var te=x[E].from(),oe=pe(a.getLine(te.line),te.ch,b);y.push(wt(b-oe%b))}a.replaceSelections(y)},defaultTab:function(a){a.somethingSelected()?a.indentSelection("add"):a.execCommand("insertTab")},transposeChars:function(a){return Mi(a,function(){for(var y=a.listSelections(),x=[],b=0;b<y.length;b++)if(y[b].empty()){var E=y[b].head,te=rt(a.doc,E.line).text;if(te){if(E.ch==te.length&&(E=new je(E.line,E.ch-1)),E.ch>0)E=new je(E.line,E.ch+1),a.replaceRange(te.charAt(E.ch-1)+te.charAt(E.ch-2),je(E.line,E.ch-2),E,"+transpose");else if(E.line>a.doc.first){var oe=rt(a.doc,E.line-1).text;oe&&(E=new je(E.line,1),a.replaceRange(te.charAt(0)+a.doc.lineSeparator()+oe.charAt(oe.length-1),je(E.line-1,oe.length-1),E,"+transpose"))}}x.push(new Ar(E,E))}a.setSelections(x)})},newlineAndIndent:function(a){return Mi(a,function(){for(var y=a.listSelections(),x=y.length-1;x>=0;x--)a.replaceRange(a.doc.lineSeparator(),y[x].anchor,y[x].head,"+input");y=a.listSelections();for(var b=0;b<y.length;b++)a.indentLine(y[b].from().line,null,!0);Oo(a)})},openLine:function(a){return a.replaceSelection(`
|
|
`,"start")},toggleOverwrite:function(a){return a.toggleOverwrite()}};function ys(a,y){var x=rt(a.doc,y),b=mn(x);return b!=x&&(y=ke(b)),fl(!0,a,b,y,1)}function Bu(a,y){var x=rt(a.doc,y),b=In(x);return b!=x&&(y=ke(b)),fl(!0,a,x,y,-1)}function bs(a,y){var x=ys(a,y.line),b=rt(a.doc,x.line),E=Yt(b,a.doc.direction);if(!E||E[0].level==0){var te=Math.max(x.ch,b.text.search(/\S/)),oe=y.line==x.line&&y.ch<=te&&y.ch;return je(x.line,oe?0:te,x.sticky)}return x}function Ia(a,y,x){if(typeof y=="string"&&(y=ha[y],!y))return!1;a.display.input.ensurePolled();var b=a.display.shift,E=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),x&&(a.display.shift=!1),E=y(a)!=ct}finally{a.display.shift=b,a.state.suppressEdits=!1}return E}function Lu(a,y,x){for(var b=0;b<a.state.keyMaps.length;b++){var E=Zo(y,a.state.keyMaps[b],x,a);if(E)return E}return a.options.extraKeys&&Zo(y,a.options.extraKeys,x,a)||Zo(y,a.options.keyMap,x,a)}var Pu=new ce;function pa(a,y,x,b){var E=a.state.keySeq;if(E){if(vs(y))return"handled";if(/\'$/.test(y)?a.state.keySeq=null:Pu.set(50,function(){a.state.keySeq==E&&(a.state.keySeq=null,a.display.input.reset())}),xs(a,E+" "+y,x,b))return!0}return xs(a,y,x,b)}function xs(a,y,x,b){var E=Lu(a,y,b);return E=="multi"&&(a.state.keySeq=y),E=="handled"&&Hr(a,"keyHandled",a,y,x),(E=="handled"||E=="multi")&&(Dt(x),Ja(a)),!!E}function ws(a,y){var x=gs(y,!0);return x?y.shiftKey&&!a.state.keySeq?pa(a,"Shift-"+x,y,function(b){return Ia(a,b,!0)})||pa(a,x,y,function(b){if(typeof b=="string"?/^go[A-Z]/.test(b):b.motion)return Ia(a,b)}):pa(a,x,y,function(b){return Ia(a,b)}):!1}function Mu(a,y,x){return pa(a,"'"+x+"'",y,function(b){return Ia(a,b,!0)})}var hl=null;function Cs(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&(y.curOp.focus=Se(),!tt(y,a))){ge&&me<11&&a.keyCode==27&&(a.returnValue=!1);var x=a.keyCode;y.display.shift=x==16||a.shiftKey;var b=ws(y,a);he&&(hl=b?x:null,!b&&x==88&&!Bn&&(Be?a.metaKey:a.ctrlKey)&&y.replaceSelection("",null,"cut")),ne&&!Be&&!b&&x==46&&a.shiftKey&&!a.ctrlKey&&document.execCommand&&document.execCommand("cut"),x==18&&!/\bCodeMirror-crosshair\b/.test(y.display.lineDiv.className)&&Fu(y)}}function Fu(a){var y=a.display.lineDiv;He(y,"CodeMirror-crosshair");function x(b){(b.keyCode==18||!b.altKey)&&(Ke(y,"CodeMirror-crosshair"),ft(document,"keyup",x),ft(document,"mouseover",x))}xt(document,"keyup",x),xt(document,"mouseover",x)}function Ss(a){a.keyCode==16&&(this.doc.sel.shift=!1),tt(this,a)}function Es(a){var y=this;if(!(a.target&&a.target!=y.display.input.getField())&&!(si(y.display,a)||tt(y,a)||a.ctrlKey&&!a.altKey||Be&&a.metaKey)){var x=a.keyCode,b=a.charCode;if(he&&x==hl){hl=null,Dt(a);return}if(!(he&&(!a.which||a.which<10)&&ws(y,a))){var E=String.fromCharCode(b==null?x:b);E!="\b"&&(Mu(y,a,E)||y.display.input.onKeyPress(a))}}}var Tu=400,pl=function(a,y,x){this.time=a,this.pos=y,this.button=x};pl.prototype.compare=function(a,y,x){return this.time+Tu>a&&Bt(y,this.pos)==0&&x==this.button};var va,ma;function Ou(a,y){var x=+new Date;return ma&&ma.compare(x,a,y)?(va=ma=null,"triple"):va&&va.compare(x,a,y)?(ma=new pl(x,a,y),va=null,"double"):(va=new pl(x,a,y),ma=null,"single")}function ks(a){var y=this,x=y.display;if(!(tt(y,a)||x.activeTouch&&x.input.supportsTouch())){if(x.input.ensurePolled(),x.shift=a.shiftKey,si(x,a)){Te||(x.scroller.draggable=!1,setTimeout(function(){return x.scroller.draggable=!0},100));return}if(!vl(y,a)){var b=Co(y,a),E=Tn(a),te=b?Ou(b,E):"single";window.focus(),E==1&&y.state.selectingText&&y.state.selectingText(a),!(b&&Nu(y,E,b,te,a))&&(E==1?b?zu(y,b,te,a):Nn(a)==x.scroller&&Dt(a):E==2?(b&&Ta(y.doc,b),setTimeout(function(){return x.input.focus()},20)):E==3&&(Xe?y.display.input.onContextMenu(a):Al(y)))}}}function Nu(a,y,x,b,E){var te="Click";return b=="double"?te="Double"+te:b=="triple"&&(te="Triple"+te),te=(y==1?"Left":y==2?"Middle":"Right")+te,pa(a,ms(te,E),E,function(oe){if(typeof oe=="string"&&(oe=ha[oe]),!oe)return!1;var se=!1;try{a.isReadOnly()&&(a.state.suppressEdits=!0),se=oe(a,x)!=ct}finally{a.state.suppressEdits=!1}return se})}function Ru(a,y,x){var b=a.getOption("configureMouse"),E=b?b(a,y,x):{};if(E.unit==null){var te=st?x.shiftKey&&x.metaKey:x.altKey;E.unit=te?"rectangle":y=="single"?"char":y=="double"?"word":"line"}return(E.extend==null||a.doc.extend)&&(E.extend=a.doc.extend||x.shiftKey),E.addNew==null&&(E.addNew=Be?x.metaKey:x.ctrlKey),E.moveOnDrag==null&&(E.moveOnDrag=!(Be?x.altKey:x.ctrlKey)),E}function zu(a,y,x,b){ge?setTimeout(bt(kl,a),0):a.curOp.focus=Se();var E=Ru(a,x,b),te=a.doc.sel,oe;a.options.dragDrop&&or&&!a.isReadOnly()&&x=="single"&&(oe=te.contains(y))>-1&&(Bt((oe=te.ranges[oe]).from(),y)<0||y.xRel>0)&&(Bt(oe.to(),y)>0||y.xRel<0)?Hu(a,b,y,E):Iu(a,b,y,E)}function Hu(a,y,x,b){var E=a.display,te=!1,oe=ni(a,function(fe){Te&&(E.scroller.draggable=!1),a.state.draggingText=!1,ft(E.wrapper.ownerDocument,"mouseup",oe),ft(E.wrapper.ownerDocument,"mousemove",se),ft(E.scroller,"dragstart",ue),ft(E.scroller,"drop",oe),te||(Dt(fe),b.addNew||Ta(a.doc,x,null,null,b.extend),Te&&!Qe||ge&&me==9?setTimeout(function(){E.wrapper.ownerDocument.body.focus({preventScroll:!0}),E.input.focus()},20):E.input.focus())}),se=function(fe){te=te||Math.abs(y.clientX-fe.clientX)+Math.abs(y.clientY-fe.clientY)>=10},ue=function(){return te=!0};Te&&(E.scroller.draggable=!0),a.state.draggingText=oe,oe.copy=!b.moveOnDrag,E.scroller.dragDrop&&E.scroller.dragDrop(),xt(E.wrapper.ownerDocument,"mouseup",oe),xt(E.wrapper.ownerDocument,"mousemove",se),xt(E.scroller,"dragstart",ue),xt(E.scroller,"drop",oe),Al(a),setTimeout(function(){return E.input.focus()},20)}function As(a,y,x){if(x=="char")return new Ar(y,y);if(x=="word")return a.findWordAt(y);if(x=="line")return new Ar(je(y.line,0),Ze(a.doc,je(y.line+1,0)));var b=x(a,y);return new Ar(b.from,b.to)}function Iu(a,y,x,b){var E=a.display,te=a.doc;Dt(y);var oe,se,ue=te.sel,fe=ue.ranges;if(b.addNew&&!b.extend?(se=te.sel.contains(x),se>-1?oe=fe[se]:oe=new Ar(x,x)):(oe=te.sel.primary(),se=te.sel.primIndex),b.unit=="rectangle")b.addNew||(oe=new Ar(x,x)),x=Co(a,y,!0,!0),se=-1;else{var xe=As(a,x,b.unit);b.extend?oe=sl(oe,xe.anchor,xe.head,b.extend):oe=xe}b.addNew?se==-1?(se=fe.length,pi(te,Ki(a,fe.concat([oe]),se),{scroll:!1,origin:"*mouse"})):fe.length>1&&fe[se].empty()&&b.unit=="char"&&!b.extend?(pi(te,Ki(a,fe.slice(0,se).concat(fe.slice(se+1)),0),{scroll:!1,origin:"*mouse"}),ue=te.sel):ul(te,se,oe,Ye):(se=0,pi(te,new Ni([oe],0),Ye),ue=te.sel);var Ae=x;function it(bn){if(Bt(Ae,bn)!=0)if(Ae=bn,b.unit=="rectangle"){for(var Dn=[],Gn=a.options.tabSize,On=pe(rt(te,x.line).text,x.ch,Gn),sr=pe(rt(te,bn.line).text,bn.ch,Gn),Rr=Math.min(On,sr),ii=Math.max(On,sr),Wr=Math.min(x.line,bn.line),Fi=Math.min(a.lastLine(),Math.max(x.line,bn.line));Wr<=Fi;Wr++){var ki=rt(te,Wr).text,qr=Ct(ki,Rr,Gn);Rr==ii?Dn.push(new Ar(je(Wr,qr),je(Wr,qr))):ki.length>qr&&Dn.push(new Ar(je(Wr,qr),je(Wr,Ct(ki,ii,Gn))))}Dn.length||Dn.push(new Ar(x,x)),pi(te,Ki(a,ue.ranges.slice(0,se).concat(Dn),se),{origin:"*mouse",scroll:!1}),a.scrollIntoView(bn)}else{var Ai=oe,ci=As(a,bn,b.unit),ei=Ai.anchor,_r;Bt(ci.anchor,ei)>0?(_r=ci.head,ei=Kt(Ai.from(),ci.anchor)):(_r=ci.anchor,ei=xn(Ai.to(),ci.head));var Zr=ue.ranges.slice(0);Zr[se]=Wu(a,new Ar(Ze(te,ei),_r)),pi(te,Ki(a,Zr,se),Ye)}}var _e=E.wrapper.getBoundingClientRect(),Mt=0;function Zt(bn){var Dn=++Mt,Gn=Co(a,bn,!0,b.unit=="rectangle");if(Gn)if(Bt(Gn,Ae)!=0){a.curOp.focus=Se(),it(Gn);var On=Da(E,te);(Gn.line>=On.to||Gn.line<On.from)&&setTimeout(ni(a,function(){Mt==Dn&&Zt(bn)}),150)}else{var sr=bn.clientY<_e.top?-20:bn.clientY>_e.bottom?20:0;sr&&setTimeout(ni(a,function(){Mt==Dn&&(E.scroller.scrollTop+=sr,Zt(bn))}),50)}}function tn(bn){a.state.selectingText=!1,Mt=1/0,bn&&(Dt(bn),E.input.focus()),ft(E.wrapper.ownerDocument,"mousemove",yn),ft(E.wrapper.ownerDocument,"mouseup",Cn),te.history.lastSelOrigin=null}var yn=ni(a,function(bn){bn.buttons===0||!Tn(bn)?tn(bn):Zt(bn)}),Cn=ni(a,tn);a.state.selectingText=Cn,xt(E.wrapper.ownerDocument,"mousemove",yn),xt(E.wrapper.ownerDocument,"mouseup",Cn)}function Wu(a,y){var x=y.anchor,b=y.head,E=rt(a.doc,x.line);if(Bt(x,b)==0&&x.sticky==b.sticky)return y;var te=Yt(E);if(!te)return y;var oe=It(te,x.ch,x.sticky),se=te[oe];if(se.from!=x.ch&&se.to!=x.ch)return y;var ue=oe+(se.from==x.ch==(se.level!=1)?0:1);if(ue==0||ue==te.length)return y;var fe;if(b.line!=x.line)fe=(b.line-x.line)*(a.doc.direction=="ltr"?1:-1)>0;else{var xe=It(te,b.ch,b.sticky),Ae=xe-oe||(b.ch-x.ch)*(se.level==1?-1:1);xe==ue-1||xe==ue?fe=Ae<0:fe=Ae>0}var it=te[ue+(fe?-1:0)],_e=fe==(it.level==1),Mt=_e?it.from:it.to,Zt=_e?"after":"before";return x.ch==Mt&&x.sticky==Zt?y:new Ar(new je(x.line,Mt,Zt),b)}function Ds(a,y,x,b){var E,te;if(y.touches)E=y.touches[0].clientX,te=y.touches[0].clientY;else try{E=y.clientX,te=y.clientY}catch(it){return!1}if(E>=Math.floor(a.display.gutters.getBoundingClientRect().right))return!1;b&&Dt(y);var oe=a.display,se=oe.lineDiv.getBoundingClientRect();if(te>se.bottom||!kt(a,x))return Xt(y);te-=se.top-oe.viewOffset;for(var ue=0;ue<a.display.gutterSpecs.length;++ue){var fe=oe.gutters.childNodes[ue];if(fe&&fe.getBoundingClientRect().right>=E){var xe=Me(a.doc,te),Ae=a.display.gutterSpecs[ue];return Nt(a,x,a,xe,Ae.className,y),Xt(y)}}}function vl(a,y){return Ds(a,y,"gutterClick",!0)}function Bs(a,y){si(a.display,y)||Zu(a,y)||tt(a,y,"contextmenu")||Xe||a.display.input.onContextMenu(y)}function Zu(a,y){return kt(a,"gutterContextMenu")?Ds(a,y,"gutterContextMenu",!1):!1}function Ls(a){a.display.wrapper.className=a.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+a.options.theme.replace(/(^|\s)\s*/g," cm-s-"),wo(a)}var Go={toString:function(){return"CodeMirror.Init"}},Ps={},Wa={};function ju(a){var y=a.optionHandlers;function x(b,E,te,oe){a.defaults[b]=E,te&&(y[b]=oe?function(se,ue,fe){fe!=Go&&te(se,ue,fe)}:te)}a.defineOption=x,a.Init=Go,x("value","",function(b,E){return b.setValue(E)},!0),x("mode",null,function(b,E){b.doc.modeOption=E,ol(b)},!0),x("indentUnit",2,ol,!0),x("indentWithTabs",!1),x("smartIndent",!0),x("tabSize",4,function(b){ia(b),wo(b),Si(b)},!0),x("lineSeparator",null,function(b,E){if(b.doc.lineSep=E,!!E){var te=[],oe=b.doc.first;b.doc.iter(function(ue){for(var fe=0;;){var xe=ue.text.indexOf(E,fe);if(xe==-1)break;fe=xe+E.length,te.push(je(oe,xe))}oe++});for(var se=te.length-1;se>=0;se--)Io(b.doc,E,te[se],je(te[se].line,te[se].ch+E.length))}}),x("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b-\u200c\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,function(b,E,te){b.state.specialChars=new RegExp(E.source+(E.test(" ")?"":"| "),"g"),te!=Go&&b.refresh()}),x("specialCharPlaceholder",Zi,function(b){return b.refresh()},!0),x("electricChars",!0),x("inputStyle",Fe?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),x("spellcheck",!1,function(b,E){return b.getInputField().spellcheck=E},!0),x("autocorrect",!1,function(b,E){return b.getInputField().autocorrect=E},!0),x("autocapitalize",!1,function(b,E){return b.getInputField().autocapitalize=E},!0),x("rtlMoveVisually",!ht),x("wholeLineUpdateBefore",!0),x("theme","default",function(b){Ls(b),ra(b)},!0),x("keyMap","default",function(b,E,te){var oe=Ha(E),se=te!=Go&&Ha(te);se&&se.detach&&se.detach(b,oe),oe.attach&&oe.attach(b,se||null)}),x("extraKeys",null),x("configureMouse",null),x("lineWrapping",!1,Vu,!0),x("gutters",[],function(b,E){b.display.gutterSpecs=rl(E,b.options.lineNumbers),ra(b)},!0),x("fixedGutter",!0,function(b,E){b.display.gutters.style.left=E?Ka(b.display)+"px":"0",b.refresh()},!0),x("coverGutterNextToScrollbar",!1,function(b){return No(b)},!0),x("scrollbarStyle","native",function(b){Fl(b),No(b),b.display.scrollbars.setScrollTop(b.doc.scrollTop),b.display.scrollbars.setScrollLeft(b.doc.scrollLeft)},!0),x("lineNumbers",!1,function(b,E){b.display.gutterSpecs=rl(b.options.gutters,E),ra(b)},!0),x("firstLineNumber",1,ra,!0),x("lineNumberFormatter",function(b){return b},ra,!0),x("showCursorWhenSelecting",!1,qo,!0),x("resetSelectionOnContextMenu",!0),x("lineWiseCopyCut",!0),x("pasteLinesPerSelection",!0),x("selectionsMayTouch",!1),x("readOnly",!1,function(b,E){E=="nocursor"&&(To(b),b.display.input.blur()),b.display.input.readOnlyChanged(E)}),x("screenReaderLabel",null,function(b,E){E=E===""?null:E,b.display.input.screenReaderLabelChanged(E)}),x("disableInput",!1,function(b,E){E||b.display.input.reset()},!0),x("dragDrop",!0,Gu),x("allowDropFileTypes",null),x("cursorBlinkRate",530),x("cursorScrollMargin",0),x("cursorHeight",1,qo,!0),x("singleCursorHeightPerLine",!0,qo,!0),x("workTime",100),x("workDelay",100),x("flattenSpans",!0,ia,!0),x("addModeClass",!1,ia,!0),x("pollInterval",100),x("undoDepth",200,function(b,E){return b.doc.history.undoDepth=E}),x("historyEventDelay",1250),x("viewportMargin",10,function(b){return b.refresh()},!0),x("maxHighlightLength",1e4,ia,!0),x("moveInputWithCursor",!0,function(b,E){E||b.display.input.resetPosition()}),x("tabindex",null,function(b,E){return b.display.input.getField().tabIndex=E||""}),x("autofocus",null),x("direction","ltr",function(b,E){return b.doc.setDirection(E)},!0),x("phrases",null)}function Gu(a,y,x){var b=x&&x!=Go;if(!y!=!b){var E=a.display.dragFunctions,te=y?xt:ft;te(a.display.scroller,"dragstart",E.start),te(a.display.scroller,"dragenter",E.enter),te(a.display.scroller,"dragover",E.over),te(a.display.scroller,"dragleave",E.leave),te(a.display.scroller,"drop",E.drop)}}function Vu(a){a.options.lineWrapping?(He(a.display.wrapper,"CodeMirror-wrap"),a.display.sizer.style.minWidth="",a.display.sizerWidth=null):(Ke(a.display.wrapper,"CodeMirror-wrap"),nr(a)),Ya(a),Si(a),wo(a),setTimeout(function(){return No(a)},100)}function Ir(a,y){var x=this;if(!(this instanceof Ir))return new Ir(a,y);this.options=y=y?ut(y):{},ut(Ps,y,!1);var b=y.value;typeof b=="string"?b=new Ei(b,y.mode,null,y.lineSeparator,y.direction):y.mode&&(b.modeOption=y.mode),this.doc=b;var E=new Ir.inputStyles[y.inputStyle](this),te=this.display=new ru(a,b,E,y);te.wrapper.CodeMirror=this,Ls(this),y.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Fl(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new ce,keySeq:null,specialChars:null},y.autofocus&&!Fe&&te.input.focus(),ge&&me<11&&setTimeout(function(){return x.display.input.reset(!0)},20),Xu(this),Cu(),Ao(this),this.curOp.forceUpdate=!0,jl(this,b),y.autofocus&&!Fe||this.hasFocus()?setTimeout(function(){x.hasFocus()&&!x.state.focused&&Qa(x)},20):To(this);for(var oe in Wa)Wa.hasOwnProperty(oe)&&Wa[oe](this,y[oe],Go);Nl(this),y.finishInit&&y.finishInit(this);for(var se=0;se<ml.length;++se)ml[se](this);Do(this),Te&&y.lineWrapping&&getComputedStyle(te.lineDiv).textRendering=="optimizelegibility"&&(te.lineDiv.style.textRendering="auto")}Ir.defaults=Ps,Ir.optionHandlers=Wa;function Xu(a){var y=a.display;xt(y.scroller,"mousedown",ni(a,ks)),ge&&me<11?xt(y.scroller,"dblclick",ni(a,function(ue){if(!tt(a,ue)){var fe=Co(a,ue);if(!(!fe||vl(a,ue)||si(a.display,ue))){Dt(ue);var xe=a.findWordAt(fe);Ta(a.doc,xe.anchor,xe.head)}}})):xt(y.scroller,"dblclick",function(ue){return tt(a,ue)||Dt(ue)}),xt(y.scroller,"contextmenu",function(ue){return Bs(a,ue)}),xt(y.input.getField(),"contextmenu",function(ue){y.scroller.contains(ue.target)||Bs(a,ue)});var x,b={end:0};function E(){y.activeTouch&&(x=setTimeout(function(){return y.activeTouch=null},1e3),b=y.activeTouch,b.end=+new Date)}function te(ue){if(ue.touches.length!=1)return!1;var fe=ue.touches[0];return fe.radiusX<=1&&fe.radiusY<=1}function oe(ue,fe){if(fe.left==null)return!0;var xe=fe.left-ue.left,Ae=fe.top-ue.top;return xe*xe+Ae*Ae>20*20}xt(y.scroller,"touchstart",function(ue){if(!tt(a,ue)&&!te(ue)&&!vl(a,ue)){y.input.ensurePolled(),clearTimeout(x);var fe=+new Date;y.activeTouch={start:fe,moved:!1,prev:fe-b.end<=300?b:null},ue.touches.length==1&&(y.activeTouch.left=ue.touches[0].pageX,y.activeTouch.top=ue.touches[0].pageY)}}),xt(y.scroller,"touchmove",function(){y.activeTouch&&(y.activeTouch.moved=!0)}),xt(y.scroller,"touchend",function(ue){var fe=y.activeTouch;if(fe&&!si(y,ue)&&fe.left!=null&&!fe.moved&&new Date-fe.start<300){var xe=a.coordsChar(y.activeTouch,"page"),Ae;!fe.prev||oe(fe,fe.prev)?Ae=new Ar(xe,xe):!fe.prev.prev||oe(fe,fe.prev.prev)?Ae=a.findWordAt(xe):Ae=new Ar(je(xe.line,0),Ze(a.doc,je(xe.line+1,0))),a.setSelection(Ae.anchor,Ae.head),a.focus(),Dt(ue)}E()}),xt(y.scroller,"touchcancel",E),xt(y.scroller,"scroll",function(){y.scroller.clientHeight&&($o(a,y.scroller.scrollTop),Eo(a,y.scroller.scrollLeft,!0),Nt(a,"scroll",a))}),xt(y.scroller,"mousewheel",function(ue){return Hl(a,ue)}),xt(y.scroller,"DOMMouseScroll",function(ue){return Hl(a,ue)}),xt(y.wrapper,"scroll",function(){return y.wrapper.scrollTop=y.wrapper.scrollLeft=0}),y.dragFunctions={enter:function(ue){tt(a,ue)||fn(ue)},over:function(ue){tt(a,ue)||(wu(a,ue),fn(ue))},start:function(ue){return xu(a,ue)},drop:ni(a,bu),leave:function(ue){tt(a,ue)||fs(a)}};var se=y.input.getField();xt(se,"keyup",function(ue){return Ss.call(a,ue)}),xt(se,"keydown",ni(a,Cs)),xt(se,"keypress",ni(a,Es)),xt(se,"focus",function(ue){return Qa(a,ue)}),xt(se,"blur",function(ue){return To(a,ue)})}var ml=[];Ir.defineInitHook=function(a){return ml.push(a)};function ga(a,y,x,b){var E=a.doc,te;x==null&&(x="add"),x=="smart"&&(E.mode.indent?te=yr(a,y).state:x="prev");var oe=a.options.tabSize,se=rt(E,y),ue=pe(se.text,null,oe);se.stateAfter&&(se.stateAfter=null);var fe=se.text.match(/^\s*/)[0],xe;if(!b&&!/\S/.test(se.text))xe=0,x="not";else if(x=="smart"&&(xe=E.mode.indent(te,se.text.slice(fe.length),se.text),xe==ct||xe>150)){if(!b)return;x="prev"}x=="prev"?y>E.first?xe=pe(rt(E,y-1).text,null,oe):xe=0:x=="add"?xe=ue+a.options.indentUnit:x=="subtract"?xe=ue-a.options.indentUnit:typeof x=="number"&&(xe=ue+x),xe=Math.max(0,xe);var Ae="",it=0;if(a.options.indentWithTabs)for(var _e=Math.floor(xe/oe);_e;--_e)it+=oe,Ae+=" ";if(it<xe&&(Ae+=wt(xe-it)),Ae!=fe)return Io(E,Ae,je(y,0),je(y,fe.length),"+input"),se.stateAfter=null,!0;for(var Mt=0;Mt<E.sel.ranges.length;Mt++){var Zt=E.sel.ranges[Mt];if(Zt.head.line==y&&Zt.head.ch<fe.length){var tn=je(y,fe.length);ul(E,Mt,new Ar(tn,tn));break}}}var Yi=null;function Za(a){Yi=a}function gl(a,y,x,b,E){var te=a.doc;a.display.shift=!1,b||(b=te.sel);var oe=+new Date-200,se=E=="paste"||a.state.pasteIncoming>oe,ue=Xn(y),fe=null;if(se&&b.ranges.length>1)if(Yi&&Yi.text.join(`
|
|
`)==y){if(b.ranges.length%Yi.text.length==0){fe=[];for(var xe=0;xe<Yi.text.length;xe++)fe.push(te.splitLines(Yi.text[xe]))}}else ue.length==b.ranges.length&&a.options.pasteLinesPerSelection&&(fe=lt(ue,function(yn){return[yn]}));for(var Ae=a.curOp.updateInput,it=b.ranges.length-1;it>=0;it--){var _e=b.ranges[it],Mt=_e.from(),Zt=_e.to();_e.empty()&&(x&&x>0?Mt=je(Mt.line,Mt.ch-x):a.state.overwrite&&!se?Zt=je(Zt.line,Math.min(rt(te,Zt.line).text.length,Zt.ch+Pe(ue).length)):se&&Yi&&Yi.lineWise&&Yi.text.join(`
|
|
`)==ue.join(`
|
|
`)&&(Mt=Zt=je(Mt.line,0)));var tn={from:Mt,to:Zt,text:fe?fe[it%fe.length]:ue,origin:E||(se?"paste":a.state.cutIncoming>oe?"cut":"+input")};Ho(a.doc,tn),Hr(a,"inputRead",a,tn)}y&&!se&&Fs(a,y),Oo(a),a.curOp.updateInput<2&&(a.curOp.updateInput=Ae),a.curOp.typing=!0,a.state.pasteIncoming=a.state.cutIncoming=-1}function Ms(a,y){var x=a.clipboardData&&a.clipboardData.getData("Text");if(x)return a.preventDefault(),!y.isReadOnly()&&!y.options.disableInput&&Mi(y,function(){return gl(y,x,0,null,"paste")}),!0}function Fs(a,y){if(!(!a.options.electricChars||!a.options.smartIndent))for(var x=a.doc.sel,b=x.ranges.length-1;b>=0;b--){var E=x.ranges[b];if(!(E.head.ch>100||b&&x.ranges[b-1].head.line==E.head.line)){var te=a.getModeAt(E.head),oe=!1;if(te.electricChars){for(var se=0;se<te.electricChars.length;se++)if(y.indexOf(te.electricChars.charAt(se))>-1){oe=ga(a,E.head.line,"smart");break}}else te.electricInput&&te.electricInput.test(rt(a.doc,E.head.line).text.slice(0,E.head.ch))&&(oe=ga(a,E.head.line,"smart"));oe&&Hr(a,"electricInput",a,E.head.line)}}}function Ts(a){for(var y=[],x=[],b=0;b<a.doc.sel.ranges.length;b++){var E=a.doc.sel.ranges[b].head.line,te={anchor:je(E,0),head:je(E+1,0)};x.push(te),y.push(a.getRange(te.anchor,te.head))}return{text:y,ranges:x}}function Os(a,y,x,b){a.setAttribute("autocorrect",x?"":"off"),a.setAttribute("autocapitalize",b?"":"off"),a.setAttribute("spellcheck",!!y)}function Ns(){var a=Ne("textarea",null,null,"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none"),y=Ne("div",[a],null,"overflow: hidden; position: relative; width: 3px; height: 0px;");return Te?a.style.width="1000px":a.setAttribute("wrap","off"),We&&(a.style.border="1px solid black"),Os(a),y}function Uu(a){var y=a.optionHandlers,x=a.helpers={};a.prototype={constructor:a,focus:function(){window.focus(),this.display.input.focus()},setOption:function(b,E){var te=this.options,oe=te[b];te[b]==E&&b!="mode"||(te[b]=E,y.hasOwnProperty(b)&&ni(this,y[b])(this,E,oe),Nt(this,"optionChange",this,b))},getOption:function(b){return this.options[b]},getDoc:function(){return this.doc},addKeyMap:function(b,E){this.state.keyMaps[E?"push":"unshift"](Ha(b))},removeKeyMap:function(b){for(var E=this.state.keyMaps,te=0;te<E.length;++te)if(E[te]==b||E[te].name==b)return E.splice(te,1),!0},addOverlay:yi(function(b,E){var te=b.token?b:a.getMode(this.options,b);if(te.startState)throw new Error("Overlays may not be stateful.");pt(this.state.overlays,{mode:te,modeSpec:b,opaque:E&&E.opaque,priority:E&&E.priority||0},function(oe){return oe.priority}),this.state.modeGen++,Si(this)}),removeOverlay:yi(function(b){for(var E=this.state.overlays,te=0;te<E.length;++te){var oe=E[te].modeSpec;if(oe==b||typeof b=="string"&&oe.name==b){E.splice(te,1),this.state.modeGen++,Si(this);return}}}),indentLine:yi(function(b,E,te){typeof E!="string"&&typeof E!="number"&&(E==null?E=this.options.smartIndent?"smart":"prev":E=E?"add":"subtract"),Rt(this.doc,b)&&ga(this,b,E,te)}),indentSelection:yi(function(b){for(var E=this.doc.sel.ranges,te=-1,oe=0;oe<E.length;oe++){var se=E[oe];if(se.empty())se.head.line>te&&(ga(this,se.head.line,b,!0),te=se.head.line,oe==this.doc.sel.primIndex&&Oo(this));else{var ue=se.from(),fe=se.to(),xe=Math.max(te,ue.line);te=Math.min(this.lastLine(),fe.line-(fe.ch?0:1))+1;for(var Ae=xe;Ae<te;++Ae)ga(this,Ae,b);var it=this.doc.sel.ranges;ue.ch==0&&E.length==it.length&&it[oe].from().ch>0&&ul(this.doc,oe,new Ar(ue,it[oe].to()),be)}}}),getTokenAt:function(b,E){return br(this,b,E)},getLineTokens:function(b,E){return br(this,je(b),E,!0)},getTokenTypeAt:function(b){b=Ze(this.doc,b);var E=jn(this,rt(this.doc,b.line)),te=0,oe=(E.length-1)/2,se=b.ch,ue;if(se==0)ue=E[2];else for(;;){var fe=te+oe>>1;if((fe?E[fe*2-1]:0)>=se)oe=fe;else if(E[fe*2+1]<se)te=fe+1;else{ue=E[fe*2+2];break}}var xe=ue?ue.indexOf("overlay "):-1;return xe<0?ue:xe==0?null:ue.slice(0,xe-1)},getModeAt:function(b){var E=this.doc.mode;return E.innerMode?a.innerMode(E,this.getTokenAt(b).state).mode:E},getHelper:function(b,E){return this.getHelpers(b,E)[0]},getHelpers:function(b,E){var te=[];if(!x.hasOwnProperty(E))return te;var oe=x[E],se=this.getModeAt(b);if(typeof se[E]=="string")oe[se[E]]&&te.push(oe[se[E]]);else if(se[E])for(var ue=0;ue<se[E].length;ue++){var fe=oe[se[E][ue]];fe&&te.push(fe)}else se.helperType&&oe[se.helperType]?te.push(oe[se.helperType]):oe[se.name]&&te.push(oe[se.name]);for(var xe=0;xe<oe._global.length;xe++){var Ae=oe._global[xe];Ae.pred(se,this)&&ze(te,Ae.val)==-1&&te.push(Ae.val)}return te},getStateAfter:function(b,E){var te=this.doc;return b=rn(te,b==null?te.first+te.size-1:b),yr(this,b+1,E).state},cursorCoords:function(b,E){var te,oe=this.doc.sel.primary();return b==null?te=oe.head:typeof b=="object"?te=Ze(this.doc,b):te=b?oe.from():oe.to(),Ci(this,te,E||"page")},charCoords:function(b,E){return Fo(this,Ze(this.doc,b),E||"page")},coordsChar:function(b,E){return b=Sa(this,b,E||"page"),ui(this,b.left,b.top)},lineAtHeight:function(b,E){return b=Sa(this,{top:b,left:0},E||"page").top,Me(this.doc,b+this.display.viewOffset)},heightAtLine:function(b,E,te){var oe=!1,se;if(typeof b=="number"){var ue=this.doc.first+this.doc.size-1;b<this.doc.first?b=this.doc.first:b>ue&&(b=ue,oe=!0),se=rt(this.doc,b)}else se=b;return Mo(this,se,{top:0,left:0},E||"page",te||oe).top+(oe?this.doc.height-er(se):0)},defaultTextHeight:function(){return Pi(this.display)},defaultCharWidth:function(){return Ui(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(b,E,te,oe,se){var ue=this.display;b=Ci(this,Ze(this.doc,b));var fe=b.bottom,xe=b.left;if(E.style.position="absolute",E.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(E),ue.sizer.appendChild(E),oe=="over")fe=b.top;else if(oe=="above"||oe=="near"){var Ae=Math.max(ue.wrapper.clientHeight,this.doc.height),it=Math.max(ue.sizer.clientWidth,ue.lineSpace.clientWidth);(oe=="above"||b.bottom+E.offsetHeight>Ae)&&b.top>E.offsetHeight?fe=b.top-E.offsetHeight:b.bottom+E.offsetHeight<=Ae&&(fe=b.bottom),xe+E.offsetWidth>it&&(xe=it-E.offsetWidth)}E.style.top=fe+"px",E.style.left=E.style.right="",se=="right"?(xe=ue.sizer.clientWidth-E.offsetWidth,E.style.right="0px"):(se=="left"?xe=0:se=="middle"&&(xe=(ue.sizer.clientWidth-E.offsetWidth)/2),E.style.left=xe+"px"),te&&Gs(this,{left:xe,top:fe,right:xe+E.offsetWidth,bottom:fe+E.offsetHeight})},triggerOnKeyDown:yi(Cs),triggerOnKeyPress:yi(Es),triggerOnKeyUp:Ss,triggerOnMouseDown:yi(ks),execCommand:function(b){if(ha.hasOwnProperty(b))return ha[b].call(null,this)},triggerElectric:yi(function(b){Fs(this,b)}),findPosH:function(b,E,te,oe){var se=1;E<0&&(se=-1,E=-E);for(var ue=Ze(this.doc,b),fe=0;fe<E&&(ue=yl(this.doc,ue,se,te,oe),!ue.hitSide);++fe);return ue},moveH:yi(function(b,E){var te=this;this.extendSelectionsBy(function(oe){return te.display.shift||te.doc.extend||oe.empty()?yl(te.doc,oe.head,b,E,te.options.rtlMoveVisually):b<0?oe.from():oe.to()},Ie)}),deleteH:yi(function(b,E){var te=this.doc.sel,oe=this.doc;te.somethingSelected()?oe.replaceSelection("",null,"+delete"):jo(this,function(se){var ue=yl(oe,se.head,b,E,!1);return b<0?{from:ue,to:se.head}:{from:se.head,to:ue}})}),findPosV:function(b,E,te,oe){var se=1,ue=oe;E<0&&(se=-1,E=-E);for(var fe=Ze(this.doc,b),xe=0;xe<E;++xe){var Ae=Ci(this,fe,"div");if(ue==null?ue=Ae.left:Ae.left=ue,fe=Rs(this,Ae,se,te),fe.hitSide)break}return fe},moveV:yi(function(b,E){var te=this,oe=this.doc,se=[],ue=!this.display.shift&&!oe.extend&&oe.sel.somethingSelected();if(oe.extendSelectionsBy(function(xe){if(ue)return b<0?xe.from():xe.to();var Ae=Ci(te,xe.head,"div");xe.goalColumn!=null&&(Ae.left=xe.goalColumn),se.push(Ae.left);var it=Rs(te,Ae,b,E);return E=="page"&&xe==oe.sel.primary()&&_a(te,Fo(te,it,"div").top-Ae.top),it},Ie),se.length)for(var fe=0;fe<oe.sel.ranges.length;fe++)oe.sel.ranges[fe].goalColumn=se[fe]}),findWordAt:function(b){var E=this.doc,te=rt(E,b.line).text,oe=b.ch,se=b.ch;if(te){var ue=this.getHelper(b,"wordChars");(b.sticky=="before"||se==te.length)&&oe?--oe:++se;for(var fe=te.charAt(oe),xe=le(fe,ue)?function(Ae){return le(Ae,ue)}:/\s/.test(fe)?function(Ae){return/\s/.test(Ae)}:function(Ae){return!/\s/.test(Ae)&&!le(Ae)};oe>0&&xe(te.charAt(oe-1));)--oe;for(;se<te.length&&xe(te.charAt(se));)++se}return new Ar(je(b.line,oe),je(b.line,se))},toggleOverwrite:function(b){b!=null&&b==this.state.overwrite||((this.state.overwrite=!this.state.overwrite)?He(this.display.cursorDiv,"CodeMirror-overwrite"):Ke(this.display.cursorDiv,"CodeMirror-overwrite"),Nt(this,"overwriteToggle",this,this.state.overwrite))},hasFocus:function(){return this.display.input.getField()==Se()},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:yi(function(b,E){_o(this,b,E)}),getScrollInfo:function(){var b=this.display.scroller;return{left:b.scrollLeft,top:b.scrollTop,height:b.scrollHeight-Bi(this)-this.display.barHeight,width:b.scrollWidth-Bi(this)-this.display.barWidth,clientHeight:no(this),clientWidth:qi(this)}},scrollIntoView:yi(function(b,E){b==null?(b={from:this.doc.sel.primary().head,to:null},E==null&&(E=this.options.cursorScrollMargin)):typeof b=="number"?b={from:je(b,0),to:null}:b.from==null&&(b={from:b,to:null}),b.to||(b.to=b.from),b.margin=E||0,b.from.line!=null?Vs(this,b):Bl(this,b.from,b.to,b.margin)}),setSize:yi(function(b,E){var te=this,oe=function(ue){return typeof ue=="number"||/^\d+$/.test(String(ue))?ue+"px":ue};b!=null&&(this.display.wrapper.style.width=oe(b)),E!=null&&(this.display.wrapper.style.height=oe(E)),this.options.lineWrapping&&Yo(this);var se=this.display.viewFrom;this.doc.iter(se,this.display.viewTo,function(ue){if(ue.widgets){for(var fe=0;fe<ue.widgets.length;fe++)if(ue.widgets[fe].noHScroll){fo(te,se,"widget");break}}++se}),this.curOp.forceUpdate=!0,Nt(this,"refresh",this)}),operation:function(b){return Mi(this,b)},startOperation:function(){return Ao(this)},endOperation:function(){return Do(this)},refresh:yi(function(){var b=this.display.cachedTextHeight;Si(this),this.curOp.forceUpdate=!0,wo(this),_o(this,this.doc.scrollLeft,this.doc.scrollTop),tl(this.display),(b==null||Math.abs(b-Pi(this.display))>.5||this.options.lineWrapping)&&Ya(this),Nt(this,"refresh",this)}),swapDoc:yi(function(b){var E=this.doc;return E.cm=null,this.state.selectingText&&this.state.selectingText(),jl(this,b),wo(this),this.display.input.reset(),_o(this,b.scrollLeft,b.scrollTop),this.curOp.forceScroll=!0,Hr(this,"swapDoc",this,E),E}),phrase:function(b){var E=this.options.phrases;return E&&Object.prototype.hasOwnProperty.call(E,b)?E[b]:b},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Ot(a),a.registerHelper=function(b,E,te){x.hasOwnProperty(b)||(x[b]=a[b]={_global:[]}),x[b][E]=te},a.registerGlobalHelper=function(b,E,te,oe){a.registerHelper(b,E,oe),x[b]._global.push({pred:te,val:oe})}}function yl(a,y,x,b,E){var te=y,oe=x,se=rt(a,y.line),ue=E&&a.direction=="rtl"?-x:x;function fe(){var Cn=y.line+ue;return Cn<a.first||Cn>=a.first+a.size?!1:(y=new je(Cn,y.ch,y.sticky),se=rt(a,Cn))}function xe(Cn){var bn;if(b=="codepoint"){var Dn=se.text.charCodeAt(y.ch+(b>0?0:-1));isNaN(Dn)?bn=null:bn=new je(y.line,Math.max(0,Math.min(se.text.length,y.ch+x*(Dn>=55296&&Dn<56320?2:1))),-x)}else E?bn=Du(a.cm,se,y,x):bn=dl(se,y,x);if(bn==null)if(!Cn&&fe())y=fl(E,a.cm,se,y.line,ue);else return!1;else y=bn;return!0}if(b=="char"||b=="codepoint")xe();else if(b=="column")xe(!0);else if(b=="word"||b=="group")for(var Ae=null,it=b=="group",_e=a.cm&&a.cm.getHelper(y,"wordChars"),Mt=!0;!(x<0&&!xe(!Mt));Mt=!1){var Zt=se.text.charAt(y.ch)||`
|
|
`,tn=le(Zt,_e)?"w":it&&Zt==`
|
|
`?"n":!it||/\s/.test(Zt)?null:"p";if(it&&!Mt&&!tn&&(tn="s"),Ae&&Ae!=tn){x<0&&(x=1,xe(),y.sticky="after");break}if(tn&&(Ae=tn),x>0&&!xe(!Mt))break}var yn=Na(a,y,te,oe,!0);return nn(te,yn)&&(yn.hitSide=!0),yn}function Rs(a,y,x,b){var E=a.doc,te=y.left,oe;if(b=="page"){var se=Math.min(a.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),ue=Math.max(se-.5*Pi(a.display),3);oe=(x>0?y.bottom:y.top)+x*ue}else b=="line"&&(oe=x>0?y.bottom+3:y.top-3);for(var fe;fe=ui(a,te,oe),!!fe.outside;){if(x<0?oe<=0:oe>=E.height){fe.hitSide=!0;break}oe+=x*5}return fe}var Pr=function(a){this.cm=a,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new ce,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};Pr.prototype.init=function(a){var y=this,x=this,b=x.cm,E=x.div=a.lineDiv;Os(E,b.options.spellcheck,b.options.autocorrect,b.options.autocapitalize);function te(se){for(var ue=se.target;ue;ue=ue.parentNode){if(ue==E)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(ue.className))break}return!1}xt(E,"paste",function(se){!te(se)||tt(b,se)||Ms(se,b)||me<=11&&setTimeout(ni(b,function(){return y.updateFromDOM()}),20)}),xt(E,"compositionstart",function(se){y.composing={data:se.data,done:!1}}),xt(E,"compositionupdate",function(se){y.composing||(y.composing={data:se.data,done:!1})}),xt(E,"compositionend",function(se){y.composing&&(se.data!=y.composing.data&&y.readFromDOMSoon(),y.composing.done=!0)}),xt(E,"touchstart",function(){return x.forceCompositionEnd()}),xt(E,"input",function(){y.composing||y.readFromDOMSoon()});function oe(se){if(!(!te(se)||tt(b,se))){if(b.somethingSelected())Za({lineWise:!1,text:b.getSelections()}),se.type=="cut"&&b.replaceSelection("",null,"cut");else if(b.options.lineWiseCopyCut){var ue=Ts(b);Za({lineWise:!0,text:ue.text}),se.type=="cut"&&b.operation(function(){b.setSelections(ue.ranges,0,be),b.replaceSelection("",null,"cut")})}else return;if(se.clipboardData){se.clipboardData.clearData();var fe=Yi.text.join(`
|
|
`);if(se.clipboardData.setData("Text",fe),se.clipboardData.getData("Text")==fe){se.preventDefault();return}}var xe=Ns(),Ae=xe.firstChild;b.display.lineSpace.insertBefore(xe,b.display.lineSpace.firstChild),Ae.value=Yi.text.join(`
|
|
`);var it=document.activeElement;gt(Ae),setTimeout(function(){b.display.lineSpace.removeChild(xe),it.focus(),it==E&&x.showPrimarySelection()},50)}}xt(E,"copy",oe),xt(E,"cut",oe)},Pr.prototype.screenReaderLabelChanged=function(a){a?this.div.setAttribute("aria-label",a):this.div.removeAttribute("aria-label")},Pr.prototype.prepareSelection=function(){var a=Sl(this.cm,!1);return a.focus=document.activeElement==this.div,a},Pr.prototype.showSelection=function(a,y){!a||!this.cm.display.view.length||((a.focus||y)&&this.showPrimarySelection(),this.showMultipleSelections(a))},Pr.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},Pr.prototype.showPrimarySelection=function(){var a=this.getSelection(),y=this.cm,x=y.doc.sel.primary(),b=x.from(),E=x.to();if(y.display.viewTo==y.display.viewFrom||b.line>=y.display.viewTo||E.line<y.display.viewFrom){a.removeAllRanges();return}var te=ja(y,a.anchorNode,a.anchorOffset),oe=ja(y,a.focusNode,a.focusOffset);if(!(te&&!te.bad&&oe&&!oe.bad&&Bt(Kt(te,oe),b)==0&&Bt(xn(te,oe),E)==0)){var se=y.display.view,ue=b.line>=y.display.viewFrom&&zs(y,b)||{node:se[0].measure.map[2],offset:0},fe=E.line<y.display.viewTo&&zs(y,E);if(!fe){var xe=se[se.length-1].measure,Ae=xe.maps?xe.maps[xe.maps.length-1]:xe.map;fe={node:Ae[Ae.length-1],offset:Ae[Ae.length-2]-Ae[Ae.length-3]}}if(!ue||!fe){a.removeAllRanges();return}var it=a.rangeCount&&a.getRangeAt(0),_e;try{_e=Ee(ue.node,ue.offset,fe.offset,fe.node)}catch(Mt){}_e&&(!ne&&y.state.focused?(a.collapse(ue.node,ue.offset),_e.collapsed||(a.removeAllRanges(),a.addRange(_e))):(a.removeAllRanges(),a.addRange(_e)),it&&a.anchorNode==null?a.addRange(it):ne&&this.startGracePeriod()),this.rememberSelection()}},Pr.prototype.startGracePeriod=function(){var a=this;clearTimeout(this.gracePeriod),this.gracePeriod=setTimeout(function(){a.gracePeriod=!1,a.selectionChanged()&&a.cm.operation(function(){return a.cm.curOp.selectionChanged=!0})},20)},Pr.prototype.showMultipleSelections=function(a){Ue(this.cm.display.cursorDiv,a.cursors),Ue(this.cm.display.selectionDiv,a.selection)},Pr.prototype.rememberSelection=function(){var a=this.getSelection();this.lastAnchorNode=a.anchorNode,this.lastAnchorOffset=a.anchorOffset,this.lastFocusNode=a.focusNode,this.lastFocusOffset=a.focusOffset},Pr.prototype.selectionInEditor=function(){var a=this.getSelection();if(!a.rangeCount)return!1;var y=a.getRangeAt(0).commonAncestorContainer;return Ve(this.div,y)},Pr.prototype.focus=function(){this.cm.options.readOnly!="nocursor"&&((!this.selectionInEditor()||document.activeElement!=this.div)&&this.showSelection(this.prepareSelection(),!0),this.div.focus())},Pr.prototype.blur=function(){this.div.blur()},Pr.prototype.getField=function(){return this.div},Pr.prototype.supportsTouch=function(){return!0},Pr.prototype.receivedFocus=function(){var a=this;this.selectionInEditor()?this.pollSelection():Mi(this.cm,function(){return a.cm.curOp.selectionChanged=!0});function y(){a.cm.state.focused&&(a.pollSelection(),a.polling.set(a.cm.options.pollInterval,y))}this.polling.set(this.cm.options.pollInterval,y)},Pr.prototype.selectionChanged=function(){var a=this.getSelection();return a.anchorNode!=this.lastAnchorNode||a.anchorOffset!=this.lastAnchorOffset||a.focusNode!=this.lastFocusNode||a.focusOffset!=this.lastFocusOffset},Pr.prototype.pollSelection=function(){if(!(this.readDOMTimeout!=null||this.gracePeriod||!this.selectionChanged())){var a=this.getSelection(),y=this.cm;if(De&&we&&this.cm.display.gutterSpecs.length&&Ku(a.anchorNode)){this.cm.triggerOnKeyDown({type:"keydown",keyCode:8,preventDefault:Math.abs}),this.blur(),this.focus();return}if(!this.composing){this.rememberSelection();var x=ja(y,a.anchorNode,a.anchorOffset),b=ja(y,a.focusNode,a.focusOffset);x&&b&&Mi(y,function(){pi(y.doc,po(x,b),be),(x.bad||b.bad)&&(y.curOp.selectionChanged=!0)})}}},Pr.prototype.pollContent=function(){this.readDOMTimeout!=null&&(clearTimeout(this.readDOMTimeout),this.readDOMTimeout=null);var a=this.cm,y=a.display,x=a.doc.sel.primary(),b=x.from(),E=x.to();if(b.ch==0&&b.line>a.firstLine()&&(b=je(b.line-1,rt(a.doc,b.line-1).length)),E.ch==rt(a.doc,E.line).text.length&&E.line<a.lastLine()&&(E=je(E.line+1,0)),b.line<y.viewFrom||E.line>y.viewTo-1)return!1;var te,oe,se;b.line==y.viewFrom||(te=So(a,b.line))==0?(oe=ke(y.view[0].line),se=y.view[0].node):(oe=ke(y.view[te].line),se=y.view[te-1].node.nextSibling);var ue=So(a,E.line),fe,xe;if(ue==y.view.length-1?(fe=y.viewTo-1,xe=y.lineDiv.lastChild):(fe=ke(y.view[ue+1].line)-1,xe=y.view[ue+1].node.previousSibling),!se)return!1;for(var Ae=a.doc.splitLines(Yu(a,se,xe,oe,fe)),it=Ut(a.doc,je(oe,0),je(fe,rt(a.doc,fe).text.length));Ae.length>1&&it.length>1;)if(Pe(Ae)==Pe(it))Ae.pop(),it.pop(),fe--;else if(Ae[0]==it[0])Ae.shift(),it.shift(),oe++;else break;for(var _e=0,Mt=0,Zt=Ae[0],tn=it[0],yn=Math.min(Zt.length,tn.length);_e<yn&&Zt.charCodeAt(_e)==tn.charCodeAt(_e);)++_e;for(var Cn=Pe(Ae),bn=Pe(it),Dn=Math.min(Cn.length-(Ae.length==1?_e:0),bn.length-(it.length==1?_e:0));Mt<Dn&&Cn.charCodeAt(Cn.length-Mt-1)==bn.charCodeAt(bn.length-Mt-1);)++Mt;if(Ae.length==1&&it.length==1&&oe==b.line)for(;_e&&_e>b.ch&&Cn.charCodeAt(Cn.length-Mt-1)==bn.charCodeAt(bn.length-Mt-1);)_e--,Mt++;Ae[Ae.length-1]=Cn.slice(0,Cn.length-Mt).replace(/^\u200b+/,""),Ae[0]=Ae[0].slice(_e).replace(/\u200b+$/,"");var Gn=je(oe,_e),On=je(fe,it.length?Pe(it).length-Mt:0);if(Ae.length>1||Ae[0]||Bt(Gn,On))return Io(a.doc,Ae,Gn,On,"+input"),!0},Pr.prototype.ensurePolled=function(){this.forceCompositionEnd()},Pr.prototype.reset=function(){this.forceCompositionEnd()},Pr.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Pr.prototype.readFromDOMSoon=function(){var a=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(a.readDOMTimeout=null,a.composing)if(a.composing.done)a.composing=null;else return;a.updateFromDOM()},80))},Pr.prototype.updateFromDOM=function(){var a=this;(this.cm.isReadOnly()||!this.pollContent())&&Mi(this.cm,function(){return Si(a.cm)})},Pr.prototype.setUneditable=function(a){a.contentEditable="false"},Pr.prototype.onKeyPress=function(a){a.charCode==0||this.composing||(a.preventDefault(),this.cm.isReadOnly()||ni(this.cm,gl)(this.cm,String.fromCharCode(a.charCode==null?a.keyCode:a.charCode),0))},Pr.prototype.readOnlyChanged=function(a){this.div.contentEditable=String(a!="nocursor")},Pr.prototype.onContextMenu=function(){},Pr.prototype.resetPosition=function(){},Pr.prototype.needsContentAttribute=!0;function zs(a,y){var x=_i(a,y.line);if(!x||x.hidden)return null;var b=rt(a.doc,y.line),E=Po(x,b,y.line),te=Yt(b,a.doc.direction),oe="left";if(te){var se=It(te,y.ch);oe=se%2?"right":"left"}var ue=xa(E.map,y.ch,oe);return ue.offset=ue.collapse=="right"?ue.end:ue.start,ue}function Ku(a){for(var y=a;y;y=y.parentNode)if(/CodeMirror-gutter-wrapper/.test(y.className))return!0;return!1}function Vo(a,y){return y&&(a.bad=!0),a}function Yu(a,y,x,b,E){var te="",oe=!1,se=a.doc.lineSeparator(),ue=!1;function fe(_e){return function(Mt){return Mt.id==_e}}function xe(){oe&&(te+=se,ue&&(te+=se),oe=ue=!1)}function Ae(_e){_e&&(xe(),te+=_e)}function it(_e){if(_e.nodeType==1){var Mt=_e.getAttribute("cm-text");if(Mt){Ae(Mt);return}var Zt=_e.getAttribute("cm-marker"),tn;if(Zt){var yn=a.findMarks(je(b,0),je(E+1,0),fe(+Zt));yn.length&&(tn=yn[0].find(0))&&Ae(Ut(a.doc,tn.from,tn.to).join(se));return}if(_e.getAttribute("contenteditable")=="false")return;var Cn=/^(pre|div|p|li|table|br)$/i.test(_e.nodeName);if(!/^br$/i.test(_e.nodeName)&&_e.textContent.length==0)return;Cn&&xe();for(var bn=0;bn<_e.childNodes.length;bn++)it(_e.childNodes[bn]);/^(pre|p)$/i.test(_e.nodeName)&&(ue=!0),Cn&&(oe=!0)}else _e.nodeType==3&&Ae(_e.nodeValue.replace(/\u200b/g,"").replace(/\u00a0/g," "))}for(;it(y),y!=x;)y=y.nextSibling,ue=!1;return te}function ja(a,y,x){var b;if(y==a.display.lineDiv){if(b=a.display.lineDiv.childNodes[x],!b)return Vo(a.clipPos(je(a.display.viewTo-1)),!0);y=null,x=0}else for(b=y;;b=b.parentNode){if(!b||b==a.display.lineDiv)return null;if(b.parentNode&&b.parentNode==a.display.lineDiv)break}for(var E=0;E<a.display.view.length;E++){var te=a.display.view[E];if(te.node==b)return Ju(te,y,x)}}function Ju(a,y,x){var b=a.text.firstChild,E=!1;if(!y||!Ve(b,y))return Vo(je(ke(a.line),0),!0);if(y==b&&(E=!0,y=b.childNodes[x],x=0,!y)){var te=a.rest?Pe(a.rest):a.line;return Vo(je(ke(te),te.text.length),E)}var oe=y.nodeType==3?y:null,se=y;for(!oe&&y.childNodes.length==1&&y.firstChild.nodeType==3&&(oe=y.firstChild,x&&(x=oe.nodeValue.length));se.parentNode!=b;)se=se.parentNode;var ue=a.measure,fe=ue.maps;function xe(tn,yn,Cn){for(var bn=-1;bn<(fe?fe.length:0);bn++)for(var Dn=bn<0?ue.map:fe[bn],Gn=0;Gn<Dn.length;Gn+=3){var On=Dn[Gn+2];if(On==tn||On==yn){var sr=ke(bn<0?a.line:a.rest[bn]),Rr=Dn[Gn]+Cn;return(Cn<0||On!=tn)&&(Rr=Dn[Gn+(Cn?1:0)]),je(sr,Rr)}}}var Ae=xe(oe,se,x);if(Ae)return Vo(Ae,E);for(var it=se.nextSibling,_e=oe?oe.nodeValue.length-x:0;it;it=it.nextSibling){if(Ae=xe(it,it.firstChild,0),Ae)return Vo(je(Ae.line,Ae.ch-_e),E);_e+=it.textContent.length}for(var Mt=se.previousSibling,Zt=x;Mt;Mt=Mt.previousSibling){if(Ae=xe(Mt,Mt.firstChild,-1),Ae)return Vo(je(Ae.line,Ae.ch+Zt),E);Zt+=Mt.textContent.length}}var Kr=function(a){this.cm=a,this.prevInput="",this.pollingFast=!1,this.polling=new ce,this.hasSelection=!1,this.composing=null};Kr.prototype.init=function(a){var y=this,x=this,b=this.cm;this.createField(a);var E=this.textarea;a.wrapper.insertBefore(this.wrapper,a.wrapper.firstChild),We&&(E.style.width="0px"),xt(E,"input",function(){ge&&me>=9&&y.hasSelection&&(y.hasSelection=null),x.poll()}),xt(E,"paste",function(oe){tt(b,oe)||Ms(oe,b)||(b.state.pasteIncoming=+new Date,x.fastPoll())});function te(oe){if(!tt(b,oe)){if(b.somethingSelected())Za({lineWise:!1,text:b.getSelections()});else if(b.options.lineWiseCopyCut){var se=Ts(b);Za({lineWise:!0,text:se.text}),oe.type=="cut"?b.setSelections(se.ranges,null,be):(x.prevInput="",E.value=se.text.join(`
|
|
`),gt(E))}else return;oe.type=="cut"&&(b.state.cutIncoming=+new Date)}}xt(E,"cut",te),xt(E,"copy",te),xt(a.scroller,"paste",function(oe){if(!(si(a,oe)||tt(b,oe))){if(!E.dispatchEvent){b.state.pasteIncoming=+new Date,x.focus();return}var se=new Event("paste");se.clipboardData=oe.clipboardData,E.dispatchEvent(se)}}),xt(a.lineSpace,"selectstart",function(oe){si(a,oe)||Dt(oe)}),xt(E,"compositionstart",function(){var oe=b.getCursor("from");x.composing&&x.composing.range.clear(),x.composing={start:oe,range:b.markText(oe,b.getCursor("to"),{className:"CodeMirror-composing"})}}),xt(E,"compositionend",function(){x.composing&&(x.poll(),x.composing.range.clear(),x.composing=null)})},Kr.prototype.createField=function(a){this.wrapper=Ns(),this.textarea=this.wrapper.firstChild},Kr.prototype.screenReaderLabelChanged=function(a){a?this.textarea.setAttribute("aria-label",a):this.textarea.removeAttribute("aria-label")},Kr.prototype.prepareSelection=function(){var a=this.cm,y=a.display,x=a.doc,b=Sl(a);if(a.options.moveInputWithCursor){var E=Ci(a,x.sel.primary().head,"div"),te=y.wrapper.getBoundingClientRect(),oe=y.lineDiv.getBoundingClientRect();b.teTop=Math.max(0,Math.min(y.wrapper.clientHeight-10,E.top+oe.top-te.top)),b.teLeft=Math.max(0,Math.min(y.wrapper.clientWidth-10,E.left+oe.left-te.left))}return b},Kr.prototype.showSelection=function(a){var y=this.cm,x=y.display;Ue(x.cursorDiv,a.cursors),Ue(x.selectionDiv,a.selection),a.teTop!=null&&(this.wrapper.style.top=a.teTop+"px",this.wrapper.style.left=a.teLeft+"px")},Kr.prototype.reset=function(a){if(!(this.contextMenuPending||this.composing)){var y=this.cm;if(y.somethingSelected()){this.prevInput="";var x=y.getSelection();this.textarea.value=x,y.state.focused&>(this.textarea),ge&&me>=9&&(this.hasSelection=x)}else a||(this.prevInput=this.textarea.value="",ge&&me>=9&&(this.hasSelection=null))}},Kr.prototype.getField=function(){return this.textarea},Kr.prototype.supportsTouch=function(){return!1},Kr.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!Fe||Se()!=this.textarea))try{this.textarea.focus()}catch(a){}},Kr.prototype.blur=function(){this.textarea.blur()},Kr.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Kr.prototype.receivedFocus=function(){this.slowPoll()},Kr.prototype.slowPoll=function(){var a=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){a.poll(),a.cm.state.focused&&a.slowPoll()})},Kr.prototype.fastPoll=function(){var a=!1,y=this;y.pollingFast=!0;function x(){var b=y.poll();!b&&!a?(a=!0,y.polling.set(60,x)):(y.pollingFast=!1,y.slowPoll())}y.polling.set(20,x)},Kr.prototype.poll=function(){var a=this,y=this.cm,x=this.textarea,b=this.prevInput;if(this.contextMenuPending||!y.state.focused||Rn(x)&&!b&&!this.composing||y.isReadOnly()||y.options.disableInput||y.state.keySeq)return!1;var E=x.value;if(E==b&&!y.somethingSelected())return!1;if(ge&&me>=9&&this.hasSelection===E||Be&&/[\uf700-\uf7ff]/.test(E))return y.display.input.reset(),!1;if(y.doc.sel==y.display.selForContextMenu){var te=E.charCodeAt(0);if(te==8203&&!b&&(b="\u200B"),te==8666)return this.reset(),this.cm.execCommand("undo")}for(var oe=0,se=Math.min(b.length,E.length);oe<se&&b.charCodeAt(oe)==E.charCodeAt(oe);)++oe;return Mi(y,function(){gl(y,E.slice(oe),b.length-oe,null,a.composing?"*compose":null),E.length>1e3||E.indexOf(`
|
|
`)>-1?x.value=a.prevInput="":a.prevInput=E,a.composing&&(a.composing.range.clear(),a.composing.range=y.markText(a.composing.start,y.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Kr.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Kr.prototype.onKeyPress=function(){ge&&me>=9&&(this.hasSelection=null),this.fastPoll()},Kr.prototype.onContextMenu=function(a){var y=this,x=y.cm,b=x.display,E=y.textarea;y.contextMenuPending&&y.contextMenuPending();var te=Co(x,a),oe=b.scroller.scrollTop;if(!te||he)return;var se=x.options.resetSelectionOnContextMenu;se&&x.doc.sel.contains(te)==-1&&ni(x,pi)(x.doc,po(te),be);var ue=E.style.cssText,fe=y.wrapper.style.cssText,xe=y.wrapper.offsetParent.getBoundingClientRect();y.wrapper.style.cssText="position: static",E.style.cssText=`position: absolute; width: 30px; height: 30px;
|
|
top: `+(a.clientY-xe.top-5)+"px; left: "+(a.clientX-xe.left-5)+`px;
|
|
z-index: 1000; background: `+(ge?"rgba(255, 255, 255, .05)":"transparent")+`;
|
|
outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);`;var Ae;Te&&(Ae=window.scrollY),b.input.focus(),Te&&window.scrollTo(null,Ae),b.input.reset(),x.somethingSelected()||(E.value=y.prevInput=" "),y.contextMenuPending=_e,b.selForContextMenu=x.doc.sel,clearTimeout(b.detectingSelectAll);function it(){if(E.selectionStart!=null){var Zt=x.somethingSelected(),tn="\u200B"+(Zt?E.value:"");E.value="\u21DA",E.value=tn,y.prevInput=Zt?"":"\u200B",E.selectionStart=1,E.selectionEnd=tn.length,b.selForContextMenu=x.doc.sel}}function _e(){if(y.contextMenuPending==_e&&(y.contextMenuPending=!1,y.wrapper.style.cssText=fe,E.style.cssText=ue,ge&&me<9&&b.scrollbars.setScrollTop(b.scroller.scrollTop=oe),E.selectionStart!=null)){(!ge||ge&&me<9)&&it();var Zt=0,tn=function(){b.selForContextMenu==x.doc.sel&&E.selectionStart==0&&E.selectionEnd>0&&y.prevInput=="\u200B"?ni(x,ts)(x):Zt++<10?b.detectingSelectAll=setTimeout(tn,500):(b.selForContextMenu=null,b.input.reset())};b.detectingSelectAll=setTimeout(tn,200)}}if(ge&&me>=9&&it(),Xe){fn(a);var Mt=function(){ft(window,"mouseup",Mt),setTimeout(_e,20)};xt(window,"mouseup",Mt)}else setTimeout(_e,50)},Kr.prototype.readOnlyChanged=function(a){a||this.reset(),this.textarea.disabled=a=="nocursor",this.textarea.readOnly=!!a},Kr.prototype.setUneditable=function(){},Kr.prototype.needsContentAttribute=!1;function Qu(a,y){if(y=y?ut(y):{},y.value=a.value,!y.tabindex&&a.tabIndex&&(y.tabindex=a.tabIndex),!y.placeholder&&a.placeholder&&(y.placeholder=a.placeholder),y.autofocus==null){var x=Se();y.autofocus=x==a||a.getAttribute("autofocus")!=null&&x==document.body}function b(){a.value=se.getValue()}var E;if(a.form&&(xt(a.form,"submit",b),!y.leaveSubmitMethodAlone)){var te=a.form;E=te.submit;try{var oe=te.submit=function(){b(),te.submit=E,te.submit(),te.submit=oe}}catch(ue){}}y.finishInit=function(ue){ue.save=b,ue.getTextArea=function(){return a},ue.toTextArea=function(){ue.toTextArea=isNaN,b(),a.parentNode.removeChild(ue.getWrapperElement()),a.style.display="",a.form&&(ft(a.form,"submit",b),!y.leaveSubmitMethodAlone&&typeof a.form.submit=="function"&&(a.form.submit=E))}},a.style.display="none";var se=Ir(function(ue){return a.parentNode.insertBefore(ue,a.nextSibling)},y);return se}function qu(a){a.off=ft,a.on=xt,a.wheelEventPixels=iu,a.Doc=Ei,a.splitLines=Xn,a.countColumn=pe,a.findColumn=Ct,a.isWordChar=ie,a.Pass=ct,a.signal=Nt,a.Line=hr,a.changeEnd=vo,a.scrollbarModel=Ml,a.Pos=je,a.cmpPos=Bt,a.modes=jt,a.mimeModes=vt,a.resolveMode=sn,a.getMode=an,a.modeExtensions=En,a.extendMode=Fn,a.copyState=Mn,a.startState=pn,a.innerMode=wn,a.commands=ha,a.keyMap=io,a.keyName=gs,a.isModifierKey=vs,a.lookupKey=Zo,a.normalizeKeyMap=Au,a.StringStream=Ht,a.SharedTextMarker=ca,a.TextMarker=go,a.LineWidget=ua,a.e_preventDefault=Dt,a.e_stopPropagation=cn,a.e_stop=fn,a.addClass=He,a.contains=Ve,a.rmClass=Ke,a.keyNames=yo}ju(Ir),Uu(Ir);var _u="iter insert remove copy getEditor constructor".split(" ");for(var Ga in Ei.prototype)Ei.prototype.hasOwnProperty(Ga)&&ze(_u,Ga)<0&&(Ir.prototype[Ga]=function(a){return function(){return a.apply(this.doc,arguments)}}(Ei.prototype[Ga]));return Ot(Ei),Ir.inputStyles={textarea:Kr,contenteditable:Pr},Ir.defineMode=function(a){!Ir.defaults.mode&&a!="null"&&(Ir.defaults.mode=a),At.apply(this,arguments)},Ir.defineMIME=qt,Ir.defineMode("null",function(){return{token:function(a){return a.skipToEnd()}}}),Ir.defineMIME("text/plain","null"),Ir.defineExtension=function(a,y){Ir.prototype[a]=y},Ir.defineDocExtension=function(a,y){Ei.prototype[a]=y},Ir.fromTextArea=Qu,qu(Ir),Ir.version="5.58.2",Ir})},25419:function(Tt,zt,de){(function(ne){ne(de(89780),de(15525),de(98101))})(function(ne){"use strict";ne.defineMode("markdown",function($e,Le){var Re=ne.getMode($e,"text/html"),ge=Re.name=="null";function me(pe){if(ne.findModeByName){var ce=ne.findModeByName(pe);ce&&(pe=ce.mime||ce.mimes[0])}var ze=ne.getMode($e,pe);return ze.name=="null"?null:ze}Le.highlightFormatting===void 0&&(Le.highlightFormatting=!1),Le.maxBlockquoteDepth===void 0&&(Le.maxBlockquoteDepth=0),Le.taskLists===void 0&&(Le.taskLists=!1),Le.strikethrough===void 0&&(Le.strikethrough=!1),Le.emoji===void 0&&(Le.emoji=!1),Le.fencedCodeBlockHighlighting===void 0&&(Le.fencedCodeBlockHighlighting=!0),Le.fencedCodeBlockDefaultMode===void 0&&(Le.fencedCodeBlockDefaultMode="text/plain"),Le.xml===void 0&&(Le.xml=!0),Le.tokenTypeOverrides===void 0&&(Le.tokenTypeOverrides={});var Te={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var Ce in Te)Te.hasOwnProperty(Ce)&&Le.tokenTypeOverrides[Ce]&&(Te[Ce]=Le.tokenTypeOverrides[Ce]);var we=/^([*\-_])(?:\s*\1){2,}\s*$/,he=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,Qe=/^\[(x| )\](?=\s)/i,ve=Le.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,ot=/^ {0,3}(?:\={1,}|-{2,})\s*$/,We=/^[^#!\[\]*_\\<>` "'(~:]+/,De=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Fe=/^\s*\[[^\]]+?\]:.*$/,Be=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,st=" ";function ht(pe,ce,ze){return ce.f=ce.inline=ze,ze(pe,ce)}function nt(pe,ce,ze){return ce.f=ce.block=ze,ze(pe,ce)}function Ge(pe){return!pe||!/\S/.test(pe.string)}function Xe(pe){if(pe.linkTitle=!1,pe.linkHref=!1,pe.linkText=!1,pe.em=!1,pe.strong=!1,pe.strikethrough=!1,pe.quote=0,pe.indentedCode=!1,pe.f==Ke){var ce=ge;if(!ce){var ze=ne.innerMode(Re,pe.htmlState);ce=ze.mode.name=="xml"&&ze.state.tagStart===null&&!ze.state.context&&ze.state.tokenize.isInText}ce&&(pe.f=et,pe.block=Je,pe.htmlState=null)}return pe.trailingSpace=0,pe.trailingSpaceNewLine=!1,pe.prevLine=pe.thisLine,pe.thisLine={stream:null},null}function Je(pe,ce){var ze=pe.column()===ce.indentation,dt=Ge(ce.prevLine.stream),ct=ce.indentedCode,be=ce.prevLine.hr,Ye=ce.list!==!1,Ie=(ce.listStack[ce.listStack.length-1]||0)+3;ce.indentedCode=!1;var Ct=ce.indentation;if(ce.indentationDiff===null&&(ce.indentationDiff=ce.indentation,Ye)){for(ce.list=null;Ct<ce.listStack[ce.listStack.length-1];)ce.listStack.pop(),ce.listStack.length?ce.indentation=ce.listStack[ce.listStack.length-1]:ce.list=!1;ce.list!==!1&&(ce.indentationDiff=Ct-ce.listStack[ce.listStack.length-1])}var qe=!dt&&!be&&!ce.prevLine.header&&(!Ye||!ct)&&!ce.prevLine.fencedCodeEnd,wt=(ce.list===!1||be||dt)&&ce.indentation<=Ie&&pe.match(we),Pe=null;if(ce.indentationDiff>=4&&(ct||ce.prevLine.fencedCodeEnd||ce.prevLine.header||dt))return pe.skipToEnd(),ce.indentedCode=!0,Te.code;if(pe.eatSpace())return null;if(ze&&ce.indentation<=Ie&&(Pe=pe.match(ve))&&Pe[1].length<=6)return ce.quote=0,ce.header=Pe[1].length,ce.thisLine.header=!0,Le.highlightFormatting&&(ce.formatting="header"),ce.f=ce.inline,Ue(ce);if(ce.indentation<=Ie&&pe.eat(">"))return ce.quote=ze?1:ce.quote+1,Le.highlightFormatting&&(ce.formatting="quote"),pe.eatSpace(),Ue(ce);if(!wt&&!ce.setext&&ze&&ce.indentation<=Ie&&(Pe=pe.match(he))){var lt=Pe[1]?"ol":"ul";return ce.indentation=Ct+pe.current().length,ce.list=!0,ce.quote=0,ce.listStack.push(ce.indentation),ce.em=!1,ce.strong=!1,ce.code=!1,ce.strikethrough=!1,Le.taskLists&&pe.match(Qe,!1)&&(ce.taskList=!0),ce.f=ce.inline,Le.highlightFormatting&&(ce.formatting=["list","list-"+lt]),Ue(ce)}else{if(ze&&ce.indentation<=Ie&&(Pe=pe.match(De,!0)))return ce.quote=0,ce.fencedEndRE=new RegExp(Pe[1]+"+ *$"),ce.localMode=Le.fencedCodeBlockHighlighting&&me(Pe[2]||Le.fencedCodeBlockDefaultMode),ce.localMode&&(ce.localState=ne.startState(ce.localMode)),ce.f=ce.block=Lt,Le.highlightFormatting&&(ce.formatting="code-block"),ce.code=-1,Ue(ce);if(ce.setext||(!qe||!Ye)&&!ce.quote&&ce.list===!1&&!ce.code&&!wt&&!Fe.test(pe.string)&&(Pe=pe.lookAhead(1))&&(Pe=Pe.match(ot)))return ce.setext?(ce.header=ce.setext,ce.setext=0,pe.skipToEnd(),Le.highlightFormatting&&(ce.formatting="header")):(ce.header=Pe[0].charAt(0)=="="?1:2,ce.setext=ce.header),ce.thisLine.header=!0,ce.f=ce.inline,Ue(ce);if(wt)return pe.skipToEnd(),ce.hr=!0,ce.thisLine.hr=!0,Te.hr;if(pe.peek()==="[")return ht(pe,ce,Pt)}return ht(pe,ce,ce.inline)}function Ke(pe,ce){var ze=Re.token(pe,ce.htmlState);if(!ge){var dt=ne.innerMode(Re,ce.htmlState);(dt.mode.name=="xml"&&dt.state.tagStart===null&&!dt.state.context&&dt.state.tokenize.isInText||ce.md_inside&&pe.current().indexOf(">")>-1)&&(ce.f=et,ce.block=Je,ce.htmlState=null)}return ze}function Lt(pe,ce){var ze=ce.listStack[ce.listStack.length-1]||0,dt=ce.indentation<ze,ct=ze+3;if(ce.fencedEndRE&&ce.indentation<=ct&&(dt||pe.match(ce.fencedEndRE))){Le.highlightFormatting&&(ce.formatting="code-block");var be;return dt||(be=Ue(ce)),ce.localMode=ce.localState=null,ce.block=Je,ce.f=et,ce.fencedEndRE=null,ce.code=0,ce.thisLine.fencedCodeEnd=!0,dt?nt(pe,ce,ce.block):be}else return ce.localMode?ce.localMode.token(pe,ce.localState):(pe.skipToEnd(),Te.code)}function Ue(pe){var ce=[];if(pe.formatting){ce.push(Te.formatting),typeof pe.formatting=="string"&&(pe.formatting=[pe.formatting]);for(var ze=0;ze<pe.formatting.length;ze++)ce.push(Te.formatting+"-"+pe.formatting[ze]),pe.formatting[ze]==="header"&&ce.push(Te.formatting+"-"+pe.formatting[ze]+"-"+pe.header),pe.formatting[ze]==="quote"&&(!Le.maxBlockquoteDepth||Le.maxBlockquoteDepth>=pe.quote?ce.push(Te.formatting+"-"+pe.formatting[ze]+"-"+pe.quote):ce.push("error"))}if(pe.taskOpen)return ce.push("meta"),ce.length?ce.join(" "):null;if(pe.taskClosed)return ce.push("property"),ce.length?ce.join(" "):null;if(pe.linkHref?ce.push(Te.linkHref,"url"):(pe.strong&&ce.push(Te.strong),pe.em&&ce.push(Te.em),pe.strikethrough&&ce.push(Te.strikethrough),pe.emoji&&ce.push(Te.emoji),pe.linkText&&ce.push(Te.linkText),pe.code&&ce.push(Te.code),pe.image&&ce.push(Te.image),pe.imageAltText&&ce.push(Te.imageAltText,"link"),pe.imageMarker&&ce.push(Te.imageMarker)),pe.header&&ce.push(Te.header,Te.header+"-"+pe.header),pe.quote&&(ce.push(Te.quote),!Le.maxBlockquoteDepth||Le.maxBlockquoteDepth>=pe.quote?ce.push(Te.quote+"-"+pe.quote):ce.push(Te.quote+"-"+Le.maxBlockquoteDepth)),pe.list!==!1){var dt=(pe.listStack.length-1)%3;dt?dt===1?ce.push(Te.list2):ce.push(Te.list3):ce.push(Te.list1)}return pe.trailingSpaceNewLine?ce.push("trailing-space-new-line"):pe.trailingSpace&&ce.push("trailing-space-"+(pe.trailingSpace%2?"a":"b")),ce.length?ce.join(" "):null}function Ne(pe,ce){if(pe.match(We,!0))return Ue(ce)}function et(pe,ce){var ze=ce.text(pe,ce);if(typeof ze!="undefined")return ze;if(ce.list)return ce.list=null,Ue(ce);if(ce.taskList){var dt=pe.match(Qe,!0)[1]===" ";return dt?ce.taskOpen=!0:ce.taskClosed=!0,Le.highlightFormatting&&(ce.formatting="task"),ce.taskList=!1,Ue(ce)}if(ce.taskOpen=!1,ce.taskClosed=!1,ce.header&&pe.match(/^#+$/,!0))return Le.highlightFormatting&&(ce.formatting="header"),Ue(ce);var ct=pe.next();if(ce.linkTitle){ce.linkTitle=!1;var be=ct;ct==="("&&(be=")"),be=(be+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var Ye="^\\s*(?:[^"+be+"\\\\]+|\\\\\\\\|\\\\.)"+be;if(pe.match(new RegExp(Ye),!0))return Te.linkHref}if(ct==="`"){var Ie=ce.formatting;Le.highlightFormatting&&(ce.formatting="code"),pe.eatWhile("`");var Ct=pe.current().length;if(ce.code==0&&(!ce.quote||Ct==1))return ce.code=Ct,Ue(ce);if(Ct==ce.code){var qe=Ue(ce);return ce.code=0,qe}else return ce.formatting=Ie,Ue(ce)}else if(ce.code)return Ue(ce);if(ct==="\\"&&(pe.next(),Le.highlightFormatting)){var wt=Ue(ce),Pe=Te.formatting+"-escape";return wt?wt+" "+Pe:Pe}if(ct==="!"&&pe.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return ce.imageMarker=!0,ce.image=!0,Le.highlightFormatting&&(ce.formatting="image"),Ue(ce);if(ct==="["&&ce.imageMarker&&pe.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return ce.imageMarker=!1,ce.imageAltText=!0,Le.highlightFormatting&&(ce.formatting="image"),Ue(ce);if(ct==="]"&&ce.imageAltText){Le.highlightFormatting&&(ce.formatting="image");var wt=Ue(ce);return ce.imageAltText=!1,ce.image=!1,ce.inline=ce.f=Ve,wt}if(ct==="["&&!ce.image)return ce.linkText&&pe.match(/^.*?\]/)||(ce.linkText=!0,Le.highlightFormatting&&(ce.formatting="link")),Ue(ce);if(ct==="]"&&ce.linkText){Le.highlightFormatting&&(ce.formatting="link");var wt=Ue(ce);return ce.linkText=!1,ce.inline=ce.f=pe.match(/\(.*?\)| ?\[.*?\]/,!1)?Ve:et,wt}if(ct==="<"&&pe.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){ce.f=ce.inline=Ee,Le.highlightFormatting&&(ce.formatting="link");var wt=Ue(ce);return wt?wt+=" ":wt="",wt+Te.linkInline}if(ct==="<"&&pe.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){ce.f=ce.inline=Ee,Le.highlightFormatting&&(ce.formatting="link");var wt=Ue(ce);return wt?wt+=" ":wt="",wt+Te.linkEmail}if(Le.xml&&ct==="<"&&pe.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var lt=pe.string.indexOf(">",pe.pos);if(lt!=-1){var pt=pe.string.substring(pe.start,lt);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(pt)&&(ce.md_inside=!0)}return pe.backUp(1),ce.htmlState=ne.startState(Re),nt(pe,ce,Ke)}if(Le.xml&&ct==="<"&&pe.match(/^\/\w*?>/))return ce.md_inside=!1,"tag";if(ct==="*"||ct==="_"){for(var ae=1,ee=pe.pos==1?" ":pe.string.charAt(pe.pos-2);ae<3&&pe.eat(ct);)ae++;var z=pe.peek()||" ",ie=!/\s/.test(z)&&(!Be.test(z)||/\s/.test(ee)||Be.test(ee)),le=!/\s/.test(ee)&&(!Be.test(ee)||/\s/.test(z)||Be.test(z)),re=null,ye=null;if(ae%2&&(!ce.em&&ie&&(ct==="*"||!le||Be.test(ee))?re=!0:ce.em==ct&&le&&(ct==="*"||!ie||Be.test(z))&&(re=!1)),ae>1&&(!ce.strong&&ie&&(ct==="*"||!le||Be.test(ee))?ye=!0:ce.strong==ct&&le&&(ct==="*"||!ie||Be.test(z))&&(ye=!1)),ye!=null||re!=null){Le.highlightFormatting&&(ce.formatting=re==null?"strong":ye==null?"em":"strong em"),re===!0&&(ce.em=ct),ye===!0&&(ce.strong=ct);var qe=Ue(ce);return re===!1&&(ce.em=!1),ye===!1&&(ce.strong=!1),qe}}else if(ct===" "&&(pe.eat("*")||pe.eat("_"))){if(pe.peek()===" ")return Ue(ce);pe.backUp(1)}if(Le.strikethrough){if(ct==="~"&&pe.eatWhile(ct)){if(ce.strikethrough){Le.highlightFormatting&&(ce.formatting="strikethrough");var qe=Ue(ce);return ce.strikethrough=!1,qe}else if(pe.match(/^[^\s]/,!1))return ce.strikethrough=!0,Le.highlightFormatting&&(ce.formatting="strikethrough"),Ue(ce)}else if(ct===" "&&pe.match(/^~~/,!0)){if(pe.peek()===" ")return Ue(ce);pe.backUp(2)}}if(Le.emoji&&ct===":"&&pe.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){ce.emoji=!0,Le.highlightFormatting&&(ce.formatting="emoji");var Oe=Ue(ce);return ce.emoji=!1,Oe}return ct===" "&&(pe.match(/^ +$/,!1)?ce.trailingSpace++:ce.trailingSpace&&(ce.trailingSpaceNewLine=!0)),Ue(ce)}function Ee(pe,ce){var ze=pe.next();if(ze===">"){ce.f=ce.inline=et,Le.highlightFormatting&&(ce.formatting="link");var dt=Ue(ce);return dt?dt+=" ":dt="",dt+Te.linkInline}return pe.match(/^[^>]+/,!0),Te.linkInline}function Ve(pe,ce){if(pe.eatSpace())return null;var ze=pe.next();return ze==="("||ze==="["?(ce.f=ce.inline=He(ze==="("?")":"]"),Le.highlightFormatting&&(ce.formatting="link-string"),ce.linkHref=!0,Ue(ce)):"error"}var Se={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function He(pe){return function(ce,ze){var dt=ce.next();if(dt===pe){ze.f=ze.inline=et,Le.highlightFormatting&&(ze.formatting="link-string");var ct=Ue(ze);return ze.linkHref=!1,ct}return ce.match(Se[pe]),ze.linkHref=!0,Ue(ze)}}function Pt(pe,ce){return pe.match(/^([^\]\\]|\\.)*\]:/,!1)?(ce.f=gt,pe.next(),Le.highlightFormatting&&(ce.formatting="link"),ce.linkText=!0,Ue(ce)):ht(pe,ce,et)}function gt(pe,ce){if(pe.match(/^\]:/,!0)){ce.f=ce.inline=bt,Le.highlightFormatting&&(ce.formatting="link");var ze=Ue(ce);return ce.linkText=!1,ze}return pe.match(/^([^\]\\]|\\.)+/,!0),Te.linkText}function bt(pe,ce){return pe.eatSpace()?null:(pe.match(/^[^\s]+/,!0),pe.peek()===void 0?ce.linkTitle=!0:pe.match(/^(?:\s+(?:"(?:[^"\\]|\\\\|\\.)+"|'(?:[^'\\]|\\\\|\\.)+'|\((?:[^)\\]|\\\\|\\.)+\)))?/,!0),ce.f=ce.inline=et,Te.linkHref+" url")}var ut={startState:function(){return{f:Je,prevLine:{stream:null},thisLine:{stream:null},block:Je,htmlState:null,indentation:0,inline:et,text:Ne,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(pe){return{f:pe.f,prevLine:pe.prevLine,thisLine:pe.thisLine,block:pe.block,htmlState:pe.htmlState&&ne.copyState(Re,pe.htmlState),indentation:pe.indentation,localMode:pe.localMode,localState:pe.localMode?ne.copyState(pe.localMode,pe.localState):null,inline:pe.inline,text:pe.text,formatting:!1,linkText:pe.linkText,linkTitle:pe.linkTitle,linkHref:pe.linkHref,code:pe.code,em:pe.em,strong:pe.strong,strikethrough:pe.strikethrough,emoji:pe.emoji,header:pe.header,setext:pe.setext,hr:pe.hr,taskList:pe.taskList,list:pe.list,listStack:pe.listStack.slice(0),quote:pe.quote,indentedCode:pe.indentedCode,trailingSpace:pe.trailingSpace,trailingSpaceNewLine:pe.trailingSpaceNewLine,md_inside:pe.md_inside,fencedEndRE:pe.fencedEndRE}},token:function(pe,ce){if(ce.formatting=!1,pe!=ce.thisLine.stream){if(ce.header=0,ce.hr=!1,pe.match(/^\s*$/,!0))return Xe(ce),null;if(ce.prevLine=ce.thisLine,ce.thisLine={stream:pe},ce.taskList=!1,ce.trailingSpace=0,ce.trailingSpaceNewLine=!1,!ce.localState&&(ce.f=ce.block,ce.f!=Ke)){var ze=pe.match(/^\s*/,!0)[0].replace(/\t/g,st).length;if(ce.indentation=ze,ce.indentationDiff=null,ze>0)return null}}return ce.f(pe,ce)},innerMode:function(pe){return pe.block==Ke?{state:pe.htmlState,mode:Re}:pe.localState?{state:pe.localState,mode:pe.localMode}:{state:pe,mode:ut}},indent:function(pe,ce,ze){return pe.block==Ke&&Re.indent?Re.indent(pe.htmlState,ce,ze):pe.localState&&pe.localMode.indent?pe.localMode.indent(pe.localState,ce,ze):ne.Pass},blankLine:Xe,getType:Ue,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return ut},"xml"),ne.defineMIME("text/markdown","markdown"),ne.defineMIME("text/x-markdown","markdown")})},98101:function(Tt,zt,de){(function(ne){ne(de(89780))})(function(ne){"use strict";ne.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded Javascript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var $e=0;$e<ne.modeInfo.length;$e++){var Le=ne.modeInfo[$e];Le.mimes&&(Le.mime=Le.mimes[0])}ne.findModeByMIME=function(Re){Re=Re.toLowerCase();for(var ge=0;ge<ne.modeInfo.length;ge++){var me=ne.modeInfo[ge];if(me.mime==Re)return me;if(me.mimes){for(var Te=0;Te<me.mimes.length;Te++)if(me.mimes[Te]==Re)return me}}if(/\+xml$/.test(Re))return ne.findModeByMIME("application/xml");if(/\+json$/.test(Re))return ne.findModeByMIME("application/json")},ne.findModeByExtension=function(Re){Re=Re.toLowerCase();for(var ge=0;ge<ne.modeInfo.length;ge++){var me=ne.modeInfo[ge];if(me.ext){for(var Te=0;Te<me.ext.length;Te++)if(me.ext[Te]==Re)return me}}},ne.findModeByFileName=function(Re){for(var ge=0;ge<ne.modeInfo.length;ge++){var me=ne.modeInfo[ge];if(me.file&&me.file.test(Re))return me}var Te=Re.lastIndexOf("."),Ce=Te>-1&&Re.substring(Te+1,Re.length);if(Ce)return ne.findModeByExtension(Ce)},ne.findModeByName=function(Re){Re=Re.toLowerCase();for(var ge=0;ge<ne.modeInfo.length;ge++){var me=ne.modeInfo[ge];if(me.name.toLowerCase()==Re)return me;if(me.alias){for(var Te=0;Te<me.alias.length;Te++)if(me.alias[Te].toLowerCase()==Re)return me}}}})},67549:function(Tt,zt,de){(function(ne){ne(de(89780))})(function(ne){"use strict";ne.defineMode("stex",function($e,Le){"use strict";function Re(We,De){We.cmdState.push(De)}function ge(We){return We.cmdState.length>0?We.cmdState[We.cmdState.length-1]:null}function me(We){var De=We.cmdState.pop();De&&De.closeBracket()}function Te(We){for(var De=We.cmdState,Fe=De.length-1;Fe>=0;Fe--){var Be=De[Fe];if(Be.name!="DEFAULT")return Be}return{styleIdentifier:function(){return null}}}function Ce(We,De,Fe){return function(){this.name=We,this.bracketNo=0,this.style=De,this.styles=Fe,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var we={};we.importmodule=Ce("importmodule","tag",["string","builtin"]),we.documentclass=Ce("documentclass","tag",["","atom"]),we.usepackage=Ce("usepackage","tag",["atom"]),we.begin=Ce("begin","tag",["atom"]),we.end=Ce("end","tag",["atom"]),we.label=Ce("label","tag",["atom"]),we.ref=Ce("ref","tag",["atom"]),we.eqref=Ce("eqref","tag",["atom"]),we.cite=Ce("cite","tag",["atom"]),we.bibitem=Ce("bibitem","tag",["atom"]),we.Bibitem=Ce("Bibitem","tag",["atom"]),we.RBibitem=Ce("RBibitem","tag",["atom"]),we.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function he(We,De){We.f=De}function Qe(We,De){var Fe;if(We.match(/^\\[a-zA-Z@]+/)){var Be=We.current().slice(1);return Fe=we.hasOwnProperty(Be)?we[Be]:we.DEFAULT,Fe=new Fe,Re(De,Fe),he(De,ot),Fe.style}if(We.match(/^\\[$&%#{}_]/)||We.match(/^\\[,;!\/\\]/))return"tag";if(We.match("\\["))return he(De,function(ht,nt){return ve(ht,nt,"\\]")}),"keyword";if(We.match("\\("))return he(De,function(ht,nt){return ve(ht,nt,"\\)")}),"keyword";if(We.match("$$"))return he(De,function(ht,nt){return ve(ht,nt,"$$")}),"keyword";if(We.match("$"))return he(De,function(ht,nt){return ve(ht,nt,"$")}),"keyword";var st=We.next();if(st=="%")return We.skipToEnd(),"comment";if(st=="}"||st=="]"){if(Fe=ge(De),Fe)Fe.closeBracket(st),he(De,ot);else return"error";return"bracket"}else return st=="{"||st=="["?(Fe=we.DEFAULT,Fe=new Fe,Re(De,Fe),"bracket"):/\d/.test(st)?(We.eatWhile(/[\w.%]/),"atom"):(We.eatWhile(/[\w\-_]/),Fe=Te(De),Fe.name=="begin"&&(Fe.argument=We.current()),Fe.styleIdentifier())}function ve(We,De,Fe){if(We.eatSpace())return null;if(Fe&&We.match(Fe))return he(De,Qe),"keyword";if(We.match(/^\\[a-zA-Z@]+/))return"tag";if(We.match(/^[a-zA-Z]+/))return"variable-2";if(We.match(/^\\[$&%#{}_]/)||We.match(/^\\[,;!\/]/)||We.match(/^[\^_&]/))return"tag";if(We.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(We.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var Be=We.next();return Be=="{"||Be=="}"||Be=="["||Be=="]"||Be=="("||Be==")"?"bracket":Be=="%"?(We.skipToEnd(),"comment"):"error"}function ot(We,De){var Fe=We.peek(),Be;return Fe=="{"||Fe=="["?(Be=ge(De),Be.openBracket(Fe),We.eat(Fe),he(De,Qe),"bracket"):/[ \t\r]/.test(Fe)?(We.eat(Fe),null):(he(De,Qe),me(De),Qe(We,De))}return{startState:function(){var We=Le.inMathMode?function(De,Fe){return ve(De,Fe)}:Qe;return{cmdState:[],f:We}},copyState:function(We){return{cmdState:We.cmdState.slice(),f:We.f}},token:function(We,De){return De.f(We,De)},blankLine:function(We){We.f=Qe,We.cmdState.length=0},lineComment:"%"}}),ne.defineMIME("text/x-stex","stex"),ne.defineMIME("text/x-latex","stex")})},15525:function(Tt,zt,de){(function(ne){ne(de(89780))})(function(ne){"use strict";var $e={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},Le={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};ne.defineMode("xml",function(Re,ge){var me=Re.indentUnit,Te={},Ce=ge.htmlMode?$e:Le;for(var we in Ce)Te[we]=Ce[we];for(var we in ge)Te[we]=ge[we];var he,Qe;function ve(Ee,Ve){function Se(gt){return Ve.tokenize=gt,gt(Ee,Ve)}var He=Ee.next();if(He=="<")return Ee.eat("!")?Ee.eat("[")?Ee.match("CDATA[")?Se(De("atom","]]>")):null:Ee.match("--")?Se(De("comment","-->")):Ee.match("DOCTYPE",!0,!0)?(Ee.eatWhile(/[\w\._\-]/),Se(Fe(1))):null:Ee.eat("?")?(Ee.eatWhile(/[\w\._\-]/),Ve.tokenize=De("meta","?>"),"meta"):(he=Ee.eat("/")?"closeTag":"openTag",Ve.tokenize=ot,"tag bracket");if(He=="&"){var Pt;return Ee.eat("#")?Ee.eat("x")?Pt=Ee.eatWhile(/[a-fA-F\d]/)&&Ee.eat(";"):Pt=Ee.eatWhile(/[\d]/)&&Ee.eat(";"):Pt=Ee.eatWhile(/[\w\.\-:]/)&&Ee.eat(";"),Pt?"atom":"error"}else return Ee.eatWhile(/[^&<]/),null}ve.isInText=!0;function ot(Ee,Ve){var Se=Ee.next();if(Se==">"||Se=="/"&&Ee.eat(">"))return Ve.tokenize=ve,he=Se==">"?"endTag":"selfcloseTag","tag bracket";if(Se=="=")return he="equals",null;if(Se=="<"){Ve.tokenize=ve,Ve.state=nt,Ve.tagName=Ve.tagStart=null;var He=Ve.tokenize(Ee,Ve);return He?He+" tag error":"tag error"}else return/[\'\"]/.test(Se)?(Ve.tokenize=We(Se),Ve.stringStartCol=Ee.column(),Ve.tokenize(Ee,Ve)):(Ee.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function We(Ee){var Ve=function(Se,He){for(;!Se.eol();)if(Se.next()==Ee){He.tokenize=ot;break}return"string"};return Ve.isInAttribute=!0,Ve}function De(Ee,Ve){return function(Se,He){for(;!Se.eol();){if(Se.match(Ve)){He.tokenize=ve;break}Se.next()}return Ee}}function Fe(Ee){return function(Ve,Se){for(var He;(He=Ve.next())!=null;){if(He=="<")return Se.tokenize=Fe(Ee+1),Se.tokenize(Ve,Se);if(He==">")if(Ee==1){Se.tokenize=ve;break}else return Se.tokenize=Fe(Ee-1),Se.tokenize(Ve,Se)}return"meta"}}function Be(Ee,Ve,Se){this.prev=Ee.context,this.tagName=Ve,this.indent=Ee.indented,this.startOfLine=Se,(Te.doNotIndent.hasOwnProperty(Ve)||Ee.context&&Ee.context.noIndent)&&(this.noIndent=!0)}function st(Ee){Ee.context&&(Ee.context=Ee.context.prev)}function ht(Ee,Ve){for(var Se;;){if(!Ee.context||(Se=Ee.context.tagName,!Te.contextGrabbers.hasOwnProperty(Se)||!Te.contextGrabbers[Se].hasOwnProperty(Ve)))return;st(Ee)}}function nt(Ee,Ve,Se){return Ee=="openTag"?(Se.tagStart=Ve.column(),Ge):Ee=="closeTag"?Xe:nt}function Ge(Ee,Ve,Se){return Ee=="word"?(Se.tagName=Ve.current(),Qe="tag",Lt):Te.allowMissingTagName&&Ee=="endTag"?(Qe="tag bracket",Lt(Ee,Ve,Se)):(Qe="error",Ge)}function Xe(Ee,Ve,Se){if(Ee=="word"){var He=Ve.current();return Se.context&&Se.context.tagName!=He&&Te.implicitlyClosed.hasOwnProperty(Se.context.tagName)&&st(Se),Se.context&&Se.context.tagName==He||Te.matchClosing===!1?(Qe="tag",Je):(Qe="tag error",Ke)}else return Te.allowMissingTagName&&Ee=="endTag"?(Qe="tag bracket",Je(Ee,Ve,Se)):(Qe="error",Ke)}function Je(Ee,Ve,Se){return Ee!="endTag"?(Qe="error",Je):(st(Se),nt)}function Ke(Ee,Ve,Se){return Qe="error",Je(Ee,Ve,Se)}function Lt(Ee,Ve,Se){if(Ee=="word")return Qe="attribute",Ue;if(Ee=="endTag"||Ee=="selfcloseTag"){var He=Se.tagName,Pt=Se.tagStart;return Se.tagName=Se.tagStart=null,Ee=="selfcloseTag"||Te.autoSelfClosers.hasOwnProperty(He)?ht(Se,He):(ht(Se,He),Se.context=new Be(Se,He,Pt==Se.indented)),nt}return Qe="error",Lt}function Ue(Ee,Ve,Se){return Ee=="equals"?Ne:(Te.allowMissing||(Qe="error"),Lt(Ee,Ve,Se))}function Ne(Ee,Ve,Se){return Ee=="string"?et:Ee=="word"&&Te.allowUnquoted?(Qe="string",Lt):(Qe="error",Lt(Ee,Ve,Se))}function et(Ee,Ve,Se){return Ee=="string"?et:Lt(Ee,Ve,Se)}return{startState:function(Ee){var Ve={tokenize:ve,state:nt,indented:Ee||0,tagName:null,tagStart:null,context:null};return Ee!=null&&(Ve.baseIndent=Ee),Ve},token:function(Ee,Ve){if(!Ve.tagName&&Ee.sol()&&(Ve.indented=Ee.indentation()),Ee.eatSpace())return null;he=null;var Se=Ve.tokenize(Ee,Ve);return(Se||he)&&Se!="comment"&&(Qe=null,Ve.state=Ve.state(he||Se,Ee,Ve),Qe&&(Se=Qe=="error"?Se+" error":Qe)),Se},indent:function(Ee,Ve,Se){var He=Ee.context;if(Ee.tokenize.isInAttribute)return Ee.tagStart==Ee.indented?Ee.stringStartCol+1:Ee.indented+me;if(He&&He.noIndent)return ne.Pass;if(Ee.tokenize!=ot&&Ee.tokenize!=ve)return Se?Se.match(/^(\s*)/)[0].length:0;if(Ee.tagName)return Te.multilineTagIndentPastTag!==!1?Ee.tagStart+Ee.tagName.length+2:Ee.tagStart+me*(Te.multilineTagIndentFactor||1);if(Te.alignCDATA&&/<!\[CDATA\[/.test(Ve))return 0;var Pt=Ve&&/^<(\/)?([\w_:\.-]*)/.exec(Ve);if(Pt&&Pt[1])for(;He;)if(He.tagName==Pt[2]){He=He.prev;break}else if(Te.implicitlyClosed.hasOwnProperty(He.tagName))He=He.prev;else break;else if(Pt)for(;He;){var gt=Te.contextGrabbers[He.tagName];if(gt&>.hasOwnProperty(Pt[2]))He=He.prev;else break}for(;He&&He.prev&&!He.startOfLine;)He=He.prev;return He?He.indent+me:Ee.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:Te.htmlMode?"html":"xml",helperType:Te.htmlMode?"html":"xml",skipAttribute:function(Ee){Ee.state==Ne&&(Ee.state=Lt)},xmlCurrentTag:function(Ee){return Ee.tagName?{name:Ee.tagName,close:Ee.type=="closeTag"}:null},xmlCurrentContext:function(Ee){for(var Ve=[],Se=Ee.context;Se;Se=Se.prev)Se.tagName&&Ve.push(Se.tagName);return Ve.reverse()}}}),ne.defineMIME("text/xml","xml"),ne.defineMIME("application/xml","xml"),ne.mimeModes.hasOwnProperty("text/html")||ne.defineMIME("text/html",{name:"xml",htmlMode:!0})})},2859:function(Tt,zt,de){"use strict";de.d(zt,{hP:function(){return pt}});var ne=function(ae,ee){return(ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,ie){z.__proto__=ie}||function(z,ie){for(var le in ie)Object.prototype.hasOwnProperty.call(ie,le)&&(z[le]=ie[le])})(ae,ee)};function $e(ae,ee){function z(){this.constructor=ae}ne(ae,ee),ae.prototype=ee===null?Object.create(ee):(z.prototype=ee.prototype,new z)}function Le(ae,ee,z,ie){return new(z||(z=Promise))(function(le,re){function ye(yt){try{Et(ie.next(yt))}catch(at){re(at)}}function Oe(yt){try{Et(ie.throw(yt))}catch(at){re(at)}}function Et(yt){var at;yt.done?le(yt.value):(at=yt.value,at instanceof z?at:new z(function(mt){mt(at)})).then(ye,Oe)}Et((ie=ie.apply(ae,ee||[])).next())})}function Re(ae,ee){var z,ie,le,re,ye={label:0,sent:function(){if(1&le[0])throw le[1];return le[1]},trys:[],ops:[]};return re={next:Oe(0),throw:Oe(1),return:Oe(2)},typeof Symbol=="function"&&(re[Symbol.iterator]=function(){return this}),re;function Oe(Et){return function(yt){return function(at){if(z)throw new TypeError("Generator is already executing.");for(;ye;)try{if(z=1,ie&&(le=2&at[0]?ie.return:at[0]?ie.throw||((le=ie.return)&&le.call(ie),0):ie.next)&&!(le=le.call(ie,at[1])).done)return le;switch(ie=0,le&&(at=[2&at[0],le.value]),at[0]){case 0:case 1:le=at;break;case 4:return ye.label++,{value:at[1],done:!1};case 5:ye.label++,ie=at[1],at=[0];continue;case 7:at=ye.ops.pop(),ye.trys.pop();continue;default:if(le=ye.trys,!((le=le.length>0&&le[le.length-1])||at[0]!==6&&at[0]!==2)){ye=0;continue}if(at[0]===3&&(!le||at[1]>le[0]&&at[1]<le[3])){ye.label=at[1];break}if(at[0]===6&&ye.label<le[1]){ye.label=le[1],le=at;break}if(le&&ye.label<le[2]){ye.label=le[2],ye.ops.push(at);break}le[2]&&ye.ops.pop(),ye.trys.pop();continue}at=ee.call(ae,ye)}catch(mt){at=[6,mt],ie=0}finally{z=le=0}if(5&at[0])throw at[1];return{value:at[0]?at[1]:void 0,done:!0}}([Et,yt])}}}function ge(){for(var ae=0,ee=0,z=arguments.length;ee<z;ee++)ae+=arguments[ee].length;var ie=Array(ae),le=0;for(ee=0;ee<z;ee++)for(var re=arguments[ee],ye=0,Oe=re.length;ye<Oe;ye++,le++)ie[le]=re[ye];return ie}var me=function(){function ae(){}return ae.createDefs=function(){return document.createElementNS("http://www.w3.org/2000/svg","defs")},ae.setAttributes=function(ee,z){for(var ie=0,le=z;ie<le.length;ie++){var re=le[ie],ye=re[0],Oe=re[1];ee.setAttribute(ye,Oe)}},ae.createRect=function(ee,z,ie){var le=document.createElementNS("http://www.w3.org/2000/svg","rect");return le.setAttribute("width",ee.toString()),le.setAttribute("height",z.toString()),ie&&ae.setAttributes(le,ie),le},ae.createLine=function(ee,z,ie,le,re){var ye=document.createElementNS("http://www.w3.org/2000/svg","line");return ye.setAttribute("x1",ee.toString()),ye.setAttribute("y1",z.toString()),ye.setAttribute("x2",ie.toString()),ye.setAttribute("y2",le.toString()),re&&ae.setAttributes(ye,re),ye},ae.createPolygon=function(ee,z){var ie=document.createElementNS("http://www.w3.org/2000/svg","polygon");return ie.setAttribute("points",ee),z&&ae.setAttributes(ie,z),ie},ae.createCircle=function(ee,z){var ie=document.createElementNS("http://www.w3.org/2000/svg","circle");return ie.setAttribute("cx",(ee/2).toString()),ie.setAttribute("cy",(ee/2).toString()),ie.setAttribute("r",ee.toString()),z&&ae.setAttributes(ie,z),ie},ae.createEllipse=function(ee,z,ie){var le=document.createElementNS("http://www.w3.org/2000/svg","ellipse");return le.setAttribute("cx",(ee/2).toString()),le.setAttribute("cy",(z/2).toString()),le.setAttribute("rx",(ee/2).toString()),le.setAttribute("ry",(z/2).toString()),ie&&ae.setAttributes(le,ie),le},ae.createGroup=function(ee){var z=document.createElementNS("http://www.w3.org/2000/svg","g");return ee&&ae.setAttributes(z,ee),z},ae.createTransform=function(){return document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGTransform()},ae.createMarker=function(ee,z,ie,le,re,ye,Oe){var Et=document.createElementNS("http://www.w3.org/2000/svg","marker");return ae.setAttributes(Et,[["id",ee],["orient",z],["markerWidth",ie.toString()],["markerHeight",le.toString()],["refX",re.toString()],["refY",ye.toString()]]),Et.appendChild(Oe),Et},ae.createText=function(ee){var z=document.createElementNS("http://www.w3.org/2000/svg","text");return z.setAttribute("x","0"),z.setAttribute("y","0"),ee&&ae.setAttributes(z,ee),z},ae.createTSpan=function(ee,z){var ie=document.createElementNS("http://www.w3.org/2000/svg","tspan");return ie.textContent=ee,z&&ae.setAttributes(ie,z),ie},ae.createImage=function(ee){var z=document.createElementNS("http://www.w3.org/2000/svg","image");return ee&&ae.setAttributes(z,ee),z},ae.createPoint=function(ee,z){var ie=document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGPoint();return ie.x=ee,ie.y=z,ie},ae.createPath=function(ee,z){var ie=document.createElementNS("http://www.w3.org/2000/svg","path");return ie.setAttribute("d",ee),z&&ae.setAttributes(ie,z),ie},ae}(),Te=function(){function ae(){}return ae.addKey=function(ee){ae.key=ee},Object.defineProperty(ae,"isLicensed",{get:function(){return!!ae.key&&new RegExp(/^MJS2-[A-Z][0-9]{3}-[A-Z][0-9]{3}-[0-9]{4}$/,"i").test(ae.key)},enumerable:!1,configurable:!0}),ae}(),Ce=function(){function ae(){this.naturalSize=!1,this.imageType="image/png",this.markersOnly=!1}return ae.prototype.rasterize=function(ee,z,ie){var le=this;return new Promise(function(re){var ye=ie!==void 0?ie:document.createElement("canvas");ee===null&&(le.markersOnly=!0,le.naturalSize=!1);var Oe=document.createElementNS("http://www.w3.org/2000/svg","svg");Oe.setAttribute("xmlns","http://www.w3.org/2000/svg"),Oe.setAttribute("width",z.width.baseVal.valueAsString),Oe.setAttribute("height",z.height.baseVal.valueAsString),Oe.setAttribute("viewBox","0 0 "+z.viewBox.baseVal.width.toString()+" "+z.viewBox.baseVal.height.toString()),Oe.innerHTML=z.innerHTML,le.naturalSize===!0?(Oe.width.baseVal.value=ee.naturalWidth,Oe.height.baseVal.value=ee.naturalHeight):le.width!==void 0&&le.height!==void 0&&(Oe.width.baseVal.value=le.width,Oe.height.baseVal.value=le.height),ye.width=Oe.width.baseVal.value,ye.height=Oe.height.baseVal.value;var Et=Oe.outerHTML,yt=ye.getContext("2d");le.markersOnly!==!0&&yt.drawImage(ee,0,0,ye.width,ye.height);var at=window.URL,mt=new Image(ye.width,ye.height);mt.setAttribute("crossOrigin","anonymous");var It=new Blob([Et],{type:"image/svg+xml"}),Wt=at.createObjectURL(It);mt.onload=function(){yt.drawImage(mt,0,0),at.revokeObjectURL(Wt);var Yt=ye.toDataURL(le.imageType,le.imageQuality);re(Yt)},mt.src=Wt})},ae}(),we=function(){},he=function(){function ae(ee){this._classNamePrefixBase="__markerjs2_",this.classes=[],this.rules=[],this.settings=this.defaultSettings,this._classNamePrefix=this._classNamePrefixBase+"_"+ee+"_"}return Object.defineProperty(ae.prototype,"classNamePrefixBase",{get:function(){return this._classNamePrefixBase},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"classNamePrefix",{get:function(){return this._classNamePrefix},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"defaultSettings",{get:function(){return{canvasBackgroundColor:"#ffffff",toolbarBackgroundColor:"#111111",toolbarBackgroundHoverColor:"#333333",toolbarColor:"#eeeeee",toolbarHeight:40,toolboxColor:"#eeeeee",toolboxAccentColor:"#3080c3",undoButtonVisible:!0,redoButtonVisible:!1,zoomButtonVisible:!1,zoomOutButtonVisible:!1,clearButtonVisible:!1,resultButtonBlockVisible:!0,logoPosition:"left"}},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"fadeInAnimationClassName",{get:function(){return this.classNamePrefix+"fade_in"},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"fadeOutAnimationClassName",{get:function(){return this.classNamePrefix+"fade_out"},enumerable:!1,configurable:!0}),ae.prototype.addClass=function(ee){return this.styleSheet===void 0&&this.addStyleSheet(),ee.name=""+this.classNamePrefix+ee.localName,this.classes.push(ee),this.styleSheet.sheet.insertRule("."+ee.name+" {"+ee.style+"}",this.styleSheet.sheet.cssRules.length),ee},ae.prototype.addRule=function(ee){this.styleSheet===void 0&&this.addStyleSheet(),this.rules.push(ee),this.styleSheet.sheet.insertRule(ee.selector+" {"+ee.style+"}",this.styleSheet.sheet.cssRules.length)},ae.prototype.addStyleSheet=function(){var ee;this.styleSheet=document.createElement("style"),((ee=this.styleSheetRoot)!==null&&ee!==void 0?ee:document.head).appendChild(this.styleSheet),this.addRule(new Qe("."+this.classNamePrefix+" h3","font-family: sans-serif")),this.addRule(new Qe("@keyframes "+this.classNamePrefix+"_fade_in_animation_frames",`
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
`)),this.addRule(new Qe("@keyframes "+this.classNamePrefix+"_fade_out_animation_frames",`
|
|
from {
|
|
opacity: 1;
|
|
}
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
`)),this.addClass(new ve("fade_in",`
|
|
animation-duration: 0.3s;
|
|
animation-name: `+this.classNamePrefix+`_fade_in_animation_frames;
|
|
`)),this.addClass(new ve("fade_out",`
|
|
animation-duration: 0.3s;
|
|
animation-name: `+this.classNamePrefix+`_fade_out_animation_frames;
|
|
`))},ae.prototype.removeStyleSheet=function(){var ee;this.styleSheet&&(((ee=this.styleSheetRoot)!==null&&ee!==void 0?ee:document.head).removeChild(this.styleSheet),this.styleSheet=void 0)},ae}(),Qe=function(ae,ee){this.selector=ae,this.style=ee},ve=function(ae,ee){this.localName=ae,this.style=ee},ot=function(){function ae(ee,z,ie,le,re){this.buttons=[],this.markerButtons=[],this.buttonClickListeners=[],this.markerjsContainer=ee,this.displayMode=z,this.markerItems=ie,this.uiStyleSettings=le,this.styles=re,this.addStyles(),this.adjustLayout=this.adjustLayout.bind(this),this.overflowButtonClicked=this.overflowButtonClicked.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this)}return ae.prototype.show=function(ee){var z=this;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ee,this.uiContainer.className=this.toolbarStyleClass.name+" "+this.styles.fadeInAnimationClassName+" "+(this.uiStyleSettings.toolbarStyleColorsClassName?this.uiStyleSettings.toolbarStyleColorsClassName:this.toolbarStyleColorsClass.name);var ie=document.createElement("div");ie.className=this.toolbarBlockStyleClass.name,ie.style.whiteSpace="nowrap",this.uiContainer.appendChild(ie),this.addActionButton(ie,'<svg viewBox="0 0 24 24"><path d="M10.07 14.27a.997.997 0 011.33.48l2.3 4.99 1.8-.85-2.31-4.98c-.24-.5-.02-1.1.48-1.33l.28-.08 2.3-.45L8 5.12V15.9l1.82-1.47.25-.16m3.57 7.7a.99.99 0 01-1.33-.47l-2.18-4.74-2.51 2.02c-.17.14-.38.22-.62.22a1 1 0 01-1-1V3a1 1 0 011-1c.24 0 .47.09.64.23l.01-.01 11.49 9.64a1.001 1.001 0 01-.44 1.75l-3.16.62 2.2 4.73c.26.5.02 1.09-.48 1.32l-3.62 1.69z"/></svg>',"select"),this.addActionButton(ie,'<svg viewBox="0 0 24 24"><path d="M9 3v1H4v2h1v13a2 2 0 002 2h10a2 2 0 002-2V6h1V4h-5V3H9M7 6h10v13H7V6m2 2v9h2V8H9m4 0v9h2V8h-2z"/></svg>',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(ie,'<svg viewBox="0 0 24 24"><path d="M19.36 2.72l1.42 1.42-5.72 5.71c1.07 1.54 1.22 3.39.32 4.59L9.06 8.12c1.2-.9 3.05-.75 4.59.32l5.71-5.72M5.93 17.57c-2.01-2.01-3.24-4.41-3.58-6.65l4.88-2.09 7.44 7.44-2.09 4.88c-2.24-.34-4.64-1.57-6.65-3.58z"/></svg>',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(ie,'<svg viewBox="0 0 24 24"><path d="M12.5 8c-2.65 0-5.05 1-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88 3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z"/></svg>',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(ie,'<svg viewBox="0 0 24 24"><path d="M18.4 10.6C16.55 9 14.15 8 11.5 8c-4.65 0-8.58 3.03-9.96 7.22L3.9 16a8.002 8.002 0 017.6-5.5c1.95 0 3.73.72 5.12 1.88L13 16h9V7l-3.6 3.6z"/></svg>',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(ie,'<svg viewBox="0 0 24 24"><path d="M15.5 14l5 5-1.5 1.5-5-5v-.79l-.27-.28A6.471 6.471 0 019.5 16 6.5 6.5 0 013 9.5 6.5 6.5 0 019.5 3 6.5 6.5 0 0116 9.5c0 1.61-.59 3.09-1.57 4.23l.28.27h.79m-6 0C12 14 14 12 14 9.5S12 5 9.5 5 5 7 5 9.5 7 14 9.5 14m2.5-4h-2v2H9v-2H7V9h2V7h1v2h2v1z"/></svg>',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(ie,'<svg viewBox="0 0 24 24"><path d="M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 009.5 3 6.5 6.5 0 003 9.5 6.5 6.5 0 009.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 5 1.5-1.5-5-5m-6 0C7 14 5 12 5 9.5S7 5 9.5 5 14 7 14 9.5 12 14 9.5 14M7 9h5v1H7V9z"/></svg>',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(ie,'<svg viewBox="0 0 24 24"><path d="M18.13 12l1.26-1.26c.44-.44 1-.68 1.61-.74V9l-6-6H5c-1.11 0-2 .89-2 2v14a2 2 0 002 2h6v-1.87l.13-.13H5V5h7v7h6.13M14 4.5l5.5 5.5H14V4.5m5.13 9.33l2.04 2.04L15.04 22H13v-2.04l6.13-6.13m3.72.36l-.98.98-2.04-2.04.98-.98c.19-.2.52-.2.72 0l1.32 1.32c.2.2.2.53 0 .72z"/></svg>',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(re){var ye=document.createElement("div");ye.className=""+z.toolbarButtonStyleClass.name,ye.setAttribute("data-type-name",re.typeName),ye.innerHTML=re.icon,ye.addEventListener("click",function(){z.markerToolbarButtonClicked(ye,re)}),z.buttons.push(ye),z.markerButtons.push(ye)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='<svg viewBox="0 0 24 24"><path d="M12 16a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2m0-6a2 2 0 012 2 2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2z"/></svg>',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var le=document.createElement("div");le.className=this.toolbarBlockStyleClass.name,le.style.whiteSpace="nowrap",le.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(le),this.addActionButton(le,'<svg viewBox="0 0 24 24"><path d="M9 20.42l-6.21-6.21 2.83-2.83L9 14.77l9.88-9.89 2.83 2.83L9 20.42z"/></svg>',"render"),this.addActionButton(le,'<svg viewBox="0 0 24 24"><path d="M20 6.91L17.09 4 12 9.09 6.91 4 4 6.91 9.09 12 4 17.09 6.91 20 12 14.91 17.09 20 20 17.09 14.91 12 20 6.91z"/></svg>',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},ae.prototype.addButtonClickListener=function(ee){this.buttonClickListeners.push(ee)},ae.prototype.removeButtonClickListener=function(ee){this.buttonClickListeners.indexOf(ee)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(ee),1)},ae.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},ae.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var ee=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var z=0;z<this.markerButtons.length;z++)z<ee||z===ee&&this.markerButtons.length-1===ee?this.markerButtonBlock.appendChild(this.markerButtons[z]):(z===ee&&this.markerButtonBlock.appendChild(this.overflowButton),this.markerButtonOverflowBlock.appendChild(this.markerButtons[z]))}},ae.prototype.overflowButtonClicked=function(){this.markerButtonOverflowBlock.style.display!=="none"?(this.markerButtonOverflowBlock.className=this.markerButtonOverflowBlock.className.replace(this.styles.fadeInAnimationClassName,""),this.markerButtonOverflowBlock.style.display="none"):(this.markerButtonOverflowBlock.className+=" "+this.styles.fadeInAnimationClassName,this.markerButtonOverflowBlock.style.top=this.uiContainer.offsetTop+this.overflowButton.offsetHeight+"px",this.markerButtonOverflowBlock.style.right=this.uiContainer.offsetWidth-this.overflowButton.offsetLeft-this.overflowButton.offsetWidth+2*this.uiContainer.offsetLeft+"px",this.markerButtonOverflowBlock.style.display="inline-block")},ae.prototype.resetButtonStyles=function(){var ee=this;this.buttons.forEach(function(z){z.className=z.className.replace(ee.uiStyleSettings.toolbarButtonStyleColorsClassName?ee.uiStyleSettings.toolbarButtonStyleColorsClassName:ee.toolbarButtonStyleColorsClass.name,"").trim(),z.className=z.className.replace(ee.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?ee.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:ee.toolbarActiveButtonStyleColorsClass.name,"").trim(),z.className+=" "+(ee.uiStyleSettings.toolbarButtonStyleColorsClassName?ee.uiStyleSettings.toolbarButtonStyleColorsClassName:ee.toolbarButtonStyleColorsClass.name)})},ae.prototype.addActionButton=function(ee,z,ie){var le=this,re=document.createElement("div");switch(re.className=""+this.toolbarButtonStyleClass.name,re.innerHTML=z,re.setAttribute("data-action",ie),re.addEventListener("click",function(){le.actionToolbarButtonClicked(re,ie)}),ie){case"select":re.style.fill=this.uiStyleSettings.selectButtonColor;break;case"delete":case"clear":re.style.fill=this.uiStyleSettings.deleteButtonColor;break;case"undo":case"redo":re.style.fill=this.uiStyleSettings.selectButtonColor;break;case"render":re.style.fill=this.uiStyleSettings.okButtonColor;break;case"close":re.style.fill=this.uiStyleSettings.closeButtonColor}ee.appendChild(re),this.buttons.push(re)},ae.prototype.addStyles=function(){this.toolbarStyleClass=this.styles.addClass(new ve("toolbar",`
|
|
width: 100%;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
height: `+this.uiStyleSettings.toolbarHeight+`px;
|
|
box-sizing: content-box;
|
|
`+(this.displayMode==="inline"?"border-top-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
`+(this.displayMode==="inline"?"border-top-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
overflow: hidden;
|
|
`)),this.toolbarStyleColorsClass=this.styles.addClass(new ve("toolbar_colors",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
box-shadow: 0px 3px rgba(33, 33, 33, 0.1);
|
|
`)),this.toolbarBlockStyleClass=this.styles.addClass(new ve("toolbar-block",`
|
|
display: inline-block;
|
|
box-sizing: content-box;
|
|
`)),this.toolbarOverflowBlockStyleClass=this.styles.addClass(new ve("toolbar-overflow-block",`
|
|
position: absolute;
|
|
top: `+this.uiStyleSettings.toolbarHeight+`px;
|
|
max-width: `+2*this.uiStyleSettings.toolbarHeight+`px;
|
|
z-index: 10;
|
|
box-sizing: content-box;
|
|
`)),this.toolbarOverflowBlockStyleColorsClass=this.styles.addClass(new ve("toolbar-overflow-block_colors",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
`));var ee=this.uiStyleSettings.toolbarHeight/4;this.toolbarButtonStyleClass=this.styles.addClass(new ve("toolbar_button",`
|
|
display: inline-block;
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*ee)+`px;
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*ee)+`px;
|
|
padding: `+ee+`px;
|
|
box-sizing: content-box;
|
|
`)),this.toolbarButtonStyleColorsClass=this.styles.addClass(new ve("toolbar_button_colors",`
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
`)),this.toolbarActiveButtonStyleColorsClass=this.styles.addClass(new ve("toolbar_active_button",`
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
`)),this.styles.addRule(new Qe("."+this.toolbarButtonStyleClass.name+" svg",`
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
`)),this.styles.addRule(new Qe("."+this.toolbarButtonStyleColorsClass.name+":hover",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
`))},ae.prototype.markerToolbarButtonClicked=function(ee,z){this.setActiveButton(ee),this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ie){return ie("marker",z)}),this.markerButtonOverflowBlock.style.display="none"},ae.prototype.actionToolbarButtonClicked=function(ee,z){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(ie){return ie("action",z)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},ae.prototype.setActiveButton=function(ee){this.resetButtonStyles(),ee.className=ee.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),ee.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},ae.prototype.setActiveMarkerButton=function(ee){var z=this.markerButtons.find(function(ie){return ie.getAttribute("data-type-name")===ee});z&&this.setActiveButton(z)},ae.prototype.setCurrentMarker=function(ee){var z=this;this.currentMarker=ee,this.buttons.filter(function(ie){return/delete|notes/.test(ie.getAttribute("data-action"))}).forEach(function(ie){z.currentMarker===void 0?(ie.style.fillOpacity="0.4",ie.style.pointerEvents="none"):(ie.style.fillOpacity="1",ie.style.pointerEvents="all")})},ae}(),We=function(){function ae(ee,z,ie,le){this.panels=[],this.panelButtons=[],this.markerjsContainer=ee,this.displayMode=z,this.uiStyleSettings=ie,this.styles=le,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return ae.prototype.addStyles=function(){var ee;this.toolboxStyleClass=this.styles.addClass(new ve("toolbox",`
|
|
width: 100%;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
font-family: sans-serif;
|
|
`+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+`
|
|
box-sizing: content-box;
|
|
`+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+`
|
|
`+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
`+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+`
|
|
overflow: hidden;
|
|
`)),this.toolboxStyleColorsClass=this.styles.addClass(new ve("toolbox_colors",`
|
|
color: `+this.uiStyleSettings.toolboxColor+`;
|
|
`));var z=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new ve("toolbox-button-row",`
|
|
display: flex;
|
|
cursor: default;
|
|
box-sizing: content-box;
|
|
`)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new ve("toolbox-button-row_colors",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`;
|
|
`)),this.toolboxPanelRowStyleClass=this.styles.addClass(new ve("toolbox-panel-row",`
|
|
display: flex;
|
|
`+(this.displayMode==="inline"?"position: absolute;":"")+`
|
|
`+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+`
|
|
cursor: default;
|
|
height: `+1.5*this.uiStyleSettings.toolbarHeight+`px;
|
|
`+(this.displayMode==="inline"?"width: 100%;":"")+`
|
|
box-sizing: content-box;
|
|
`)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new ve("toolbox-panel-row_colors",`
|
|
background-color: `+((ee=this.uiStyleSettings.toolboxBackgroundColor)!==null&&ee!==void 0?ee:this.uiStyleSettings.toolbarBackgroundHoverColor)+`;
|
|
`)),this.toolboxButtonStyleClass=this.styles.addClass(new ve("toolbox_button",`
|
|
display: inline-block;
|
|
width: `+(this.uiStyleSettings.toolbarHeight-2*z)+`px;
|
|
height: `+(this.uiStyleSettings.toolbarHeight-2*z)+`px;
|
|
padding: `+z+`px;
|
|
box-sizing: content-box;
|
|
`)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new ve("toolbox-button_colors",`
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
`)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new ve("toolbox-active-button_colors",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`;
|
|
fill: `+this.uiStyleSettings.toolbarColor+`;
|
|
`)),this.styles.addRule(new Qe("."+this.toolboxButtonStyleColorsClass.name+":hover",`
|
|
background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`
|
|
`)),this.styles.addRule(new Qe("."+this.toolboxButtonStyleClass.name+" svg",`
|
|
height: `+this.uiStyleSettings.toolbarHeight/2+`px;
|
|
`))},ae.prototype.show=function(ee){var z;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=ee,this.uiContainer.className=this.toolboxStyleClass.name+" "+((z=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&z!==void 0?z:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},ae.prototype.setPanelButtons=function(ee){var z,ie,le=this;this.panels=ee,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((z=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&z!==void 0?z:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((ie=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&ie!==void 0?ie:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(re){var ye;re.uiStyleSettings=le.uiStyleSettings;var Oe=document.createElement("div");Oe.className=le.toolboxButtonStyleClass.name+" "+((ye=le.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&ye!==void 0?ye:le.toolboxButtonStyleColorsClass.name),Oe.innerHTML=re.icon,Oe.title=re.title,Oe.addEventListener("click",function(){le.panelButtonClick(re)}),le.panelButtons.push(Oe),le.buttonRow.appendChild(Oe)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},ae.prototype.panelButtonClick=function(ee){var z=this,ie=-1;if(ee!==this.activePanel){ie=this.panels.indexOf(ee),this.panelRow.innerHTML="";var le=ee.getUi();le.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(le),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=ee}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){z.displayMode==="inline"?z.panelRow.style.display="none":z.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(re,ye){var Oe,Et;re.className=z.toolboxButtonStyleClass.name+" "+(ye===ie?""+((Oe=z.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Oe!==void 0?Oe:z.toolboxActiveButtonStyleColorsClass.name):""+((Et=z.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Et!==void 0?Et:z.toolboxButtonStyleColorsClass.name))})},ae}(),De=function(ae,ee){this.title=ae,this.icon=ee},Fe=function(ae){function ee(z,ie,le,re){var ye=ae.call(this,z,re||'<svg viewBox="0 0 24 24"><path d="M17.5 12a1.5 1.5 0 01-1.5-1.5A1.5 1.5 0 0117.5 9a1.5 1.5 0 011.5 1.5 1.5 1.5 0 01-1.5 1.5m-3-4A1.5 1.5 0 0113 6.5 1.5 1.5 0 0114.5 5 1.5 1.5 0 0116 6.5 1.5 1.5 0 0114.5 8m-5 0A1.5 1.5 0 018 6.5 1.5 1.5 0 019.5 5 1.5 1.5 0 0111 6.5 1.5 1.5 0 019.5 8m-3 4A1.5 1.5 0 015 10.5 1.5 1.5 0 016.5 9 1.5 1.5 0 018 10.5 1.5 1.5 0 016.5 12M12 3a9 9 0 00-9 9 9 9 0 009 9 1.5 1.5 0 001.5-1.5c0-.39-.15-.74-.39-1-.23-.27-.38-.62-.38-1a1.5 1.5 0 011.5-1.5H16a5 5 0 005-5c0-4.42-4.03-8-9-8z"/></svg>')||this;return ye.colors=[],ye.addTransparent=!1,ye.colorBoxes=[],ye.colors=ie,ye.currentColor=le,ye.setCurrentColor=ye.setCurrentColor.bind(ye),ye.getColorBox=ye.getColorBox.bind(ye),ye}return $e(ee,ae),ee.prototype.getUi=function(){var z=this,ie=document.createElement("div");return ie.style.overflow="hidden",ie.style.whiteSpace="nowrap",this.colors.forEach(function(le){var re=z.getColorBox(le);ie.appendChild(re),z.colorBoxes.push(re)}),ie},ee.prototype.getColorBox=function(z){var ie=this,le=this.uiStyleSettings.toolbarHeight/4,re=this.uiStyleSettings.toolbarHeight-le,ye=document.createElement("div");ye.style.display="inline-block",ye.style.boxSizing="content-box",ye.style.width=re-2+"px",ye.style.height=re-2+"px",ye.style.padding="1px",ye.style.marginRight="2px",ye.style.marginBottom="2px",ye.style.borderWidth="2px",ye.style.borderStyle="solid",ye.style.borderRadius=(re+2)/2+"px",ye.style.borderColor=z===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",ye.addEventListener("click",function(){ie.setCurrentColor(z,ye)});var Oe=document.createElement("div");return Oe.style.display="inline-block",Oe.style.width=re-2+"px",Oe.style.height=re-2+"px",Oe.style.backgroundColor=z,Oe.style.borderRadius=re/2+"px",z==="transparent"&&(Oe.style.fill=this.uiStyleSettings.toolboxAccentColor,Oe.innerHTML=`<svg viewBox="0 0 24 24">
|
|
<path d="M2,5.27L3.28,4L20,20.72L18.73,22L15.65,18.92C14.5,19.3 13.28,19.5 12,19.5C7,19.5 2.73,16.39 1,12C1.69,10.24 2.79,8.69 4.19,7.46L2,5.27M12,9A3,3 0 0,1 15,12C15,12.35 14.94,12.69 14.83,13L11,9.17C11.31,9.06 11.65,9 12,9M12,4.5C17,4.5 21.27,7.61 23,12C22.18,14.08 20.79,15.88 19,17.19L17.58,15.76C18.94,14.82 20.06,13.54 20.82,12C19.17,8.64 15.76,6.5 12,6.5C10.91,6.5 9.84,6.68 8.84,7L7.3,5.47C8.74,4.85 10.33,4.5 12,4.5M3.18,12C4.83,15.36 8.24,17.5 12,17.5C12.69,17.5 13.37,17.43 14,17.29L11.72,15C10.29,14.85 9.15,13.71 9,12.28L5.6,8.87C4.61,9.72 3.78,10.78 3.18,12Z" />
|
|
</svg>`),ye.appendChild(Oe),ye},ee.prototype.setCurrentColor=function(z,ie){var le=this;this.currentColor=z,this.colorBoxes.forEach(function(re){re.style.borderColor=re===ie?le.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(z)},ee}(De),Be=function(){function ae(ee,z,ie){this._state="new",this._isSelected=!1,this._container=ee,this._overlayContainer=z,this.globalSettings=ie,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(ae.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),ae.prototype.ownsTarget=function(ee){return!1},Object.defineProperty(ae.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),ae.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},ae.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},ae.prototype.pointerDown=function(ee,z){},ae.prototype.dblClick=function(ee,z){},ae.prototype.manipulate=function(ee){},ae.prototype.pointerUp=function(ee){this.stateChanged()},ae.prototype.dispose=function(){},ae.prototype.addMarkerVisualToContainer=function(ee){this.container.childNodes.length>0?this.container.insertBefore(ee,this.container.childNodes[0]):this.container.appendChild(ee)},ae.prototype.getState=function(){return{typeName:ae.typeName,state:this.state,notes:this.notes}},ae.prototype.restoreState=function(ee){this._state=ee.state,this.notes=ee.notes},ae.prototype.scale=function(ee,z){},ae.prototype.colorChanged=function(ee){this.onColorChanged&&this.onColorChanged(ee),this.stateChanged()},ae.prototype.fillColorChanged=function(ee){this.onFillColorChanged&&this.onFillColorChanged(ee),this.stateChanged()},ae.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var ee=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),ee.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(ee)&&this.onStateChanged(this)}},ae.typeName="MarkerBase",ae}(),st=function(){function ae(){this.findGripByVisual=this.findGripByVisual.bind(this)}return ae.prototype.findGripByVisual=function(ee){return this.topLeft.ownsTarget(ee)?this.topLeft:this.topCenter.ownsTarget(ee)?this.topCenter:this.topRight.ownsTarget(ee)?this.topRight:this.centerLeft.ownsTarget(ee)?this.centerLeft:this.centerRight.ownsTarget(ee)?this.centerRight:this.bottomLeft.ownsTarget(ee)?this.bottomLeft:this.bottomCenter.ownsTarget(ee)?this.bottomCenter:this.bottomRight.ownsTarget(ee)?this.bottomRight:void 0},ae}(),ht=function(){function ae(){this.GRIP_SIZE=10,this.visual=me.createGroup(),this.visual.appendChild(me.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(me.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return ae.prototype.ownsTarget=function(ee){return ee===this.visual||ee===this.visual.childNodes[0]||ee===this.visual.childNodes[1]},ae}(),nt=function(){function ae(){}return ae.toITransformMatrix=function(ee){return{a:ee.a,b:ee.b,c:ee.c,d:ee.d,e:ee.e,f:ee.f}},ae.toSVGMatrix=function(ee,z){return ee.a=z.a,ee.b=z.b,ee.c=z.c,ee.d=z.d,ee.e=z.e,ee.f=z.f,ee},ae}(),Ge=function(ae){function ee(z,ie,le){var re=ae.call(this,z,ie,le)||this;return re.left=0,re.top=0,re.width=0,re.height=0,re.defaultSize={x:50,y:20},re.offsetX=0,re.offsetY=0,re.rotationAngle=0,re.CB_DISTANCE=10,re._suppressMarkerCreateEvent=!1,re.container.transform.baseVal.appendItem(me.createTransform()),re.setupControlBox(),re}return $e(ee,ae),Object.defineProperty(ee.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"visual",{get:function(){return this._visual},set:function(z){this._visual=z;var ie=me.createTransform();this._visual.transform.baseVal.appendItem(ie)},enumerable:!1,configurable:!0}),ee.prototype.ownsTarget=function(z){return!!ae.prototype.ownsTarget.call(this,z)||!!(this.controlGrips.findGripByVisual(z)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(z))},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.state==="new"&&(this.left=z.x,this.top=z.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var le=this.unrotatePoint(z);if(this.manipulationStartX=le.x,this.manipulationStartY=le.y,this.offsetX=le.x-this.left,this.offsetY=le.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(ie),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(ie)){this.activeGrip=this.rotatorGrip;var re=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=re.x-this.width/2,this.top=re.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var ye=this.container.transform.baseVal.getItem(0);ye.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(ye,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},ee.prototype.pointerUp=function(z){var ie=this.state;ae.prototype.pointerUp.call(this,z),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(z),this._state="select",ie==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},ee.prototype.moveVisual=function(z){this.visual.style.transform="translate("+z.x+"px, "+z.y+"px)"},ee.prototype.manipulate=function(z){var ie=this.unrotatePoint(z);this.state==="creating"?this.resize(z):this.state==="move"?(this.left=this.manipulationStartLeft+(ie.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(ie.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(ie):this.state==="rotate"&&this.rotate(z)},ee.prototype.resize=function(z){var ie=this.manipulationStartLeft,le=this.manipulationStartWidth,re=this.manipulationStartTop,ye=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:ie=this.manipulationStartLeft+z.x-this.manipulationStartX,le=this.manipulationStartWidth+this.manipulationStartLeft-ie;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:le=this.manipulationStartWidth+z.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:re=this.manipulationStartTop+z.y-this.manipulationStartY,ye=this.manipulationStartHeight+this.manipulationStartTop-re;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:ye=this.manipulationStartHeight+z.y-this.manipulationStartY}le>=0?(this.left=ie,this.width=le):(this.left=ie+le,this.width=-le),ye>=0?(this.top=re,this.height=ye):(this.top=re+ye,this.height=-ye),this.setSize()},ee.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},ee.prototype.rotate=function(z){if(Math.abs(z.x-this.centerX)>.1){var ie=Math.sign(z.x-this.centerX);this.rotationAngle=180*Math.atan((z.y-this.centerY)/(z.x-this.centerX))/Math.PI+90*ie,this.applyRotation()}},ee.prototype.applyRotation=function(){var z=this.container.transform.baseVal.getItem(0);z.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(z,0)},ee.prototype.rotatePoint=function(z){if(this.rotationAngle===0)return z;var ie=this.container.getCTM(),le=me.createPoint(z.x,z.y);return{x:(le=le.matrixTransform(ie)).x,y:le.y}},ee.prototype.unrotatePoint=function(z){if(this.rotationAngle===0)return z;var ie=this.container.getCTM();ie=ie.inverse();var le=me.createPoint(z.x,z.y);return{x:(le=le.matrixTransform(ie)).x,y:le.y}},ee.prototype.select=function(){ae.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ee.prototype.deselect=function(){ae.prototype.deselect.call(this),this.controlBox.style.display="none"},ee.prototype.setupControlBox=function(){this.controlBox=me.createGroup();var z=me.createTransform();z.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(z),this.container.appendChild(this.controlBox),this.controlRect=me.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=me.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new st,this.addControlGrips(),this.controlBox.style.display="none"},ee.prototype.adjustControlBox=function(){var z=this.controlBox.transform.baseVal.getItem(0);z.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(z,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},ee.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},ee.prototype.createGrip=function(){var z=new ht;return z.visual.transform.baseVal.appendItem(me.createTransform()),this.controlBox.appendChild(z.visual),z},ee.prototype.positionGrips=function(){var z=this.controlGrips.topLeft.GRIP_SIZE,ie=-z/2,le=ie,re=(this.width+this.CB_DISTANCE)/2-z/2,ye=(this.height+this.CB_DISTANCE)/2-z/2,Oe=this.height+this.CB_DISTANCE-z/2,Et=this.width+this.CB_DISTANCE-z/2;this.positionGrip(this.controlGrips.topLeft.visual,ie,le),this.positionGrip(this.controlGrips.topCenter.visual,re,le),this.positionGrip(this.controlGrips.topRight.visual,Et,le),this.positionGrip(this.controlGrips.centerLeft.visual,ie,ye),this.positionGrip(this.controlGrips.centerRight.visual,Et,ye),this.positionGrip(this.controlGrips.bottomLeft.visual,ie,Oe),this.positionGrip(this.controlGrips.bottomCenter.visual,re,Oe),this.positionGrip(this.controlGrips.bottomRight.visual,Et,Oe),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,re,le-3*this.CB_DISTANCE)},ee.prototype.positionGrip=function(z,ie,le){var re=z.transform.baseVal.getItem(0);re.setTranslate(ie,le),z.transform.baseVal.replaceItem(re,0)},ee.prototype.hideControlBox=function(){this.controlBox.style.display="none"},ee.prototype.showControlBox=function(){this.controlBox.style.display=""},ee.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:nt.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:nt.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},ae.prototype.getState.call(this))},ee.prototype.restoreState=function(z){ae.prototype.restoreState.call(this,z);var ie=z;this.left=ie.left,this.top=ie.top,this.width=ie.width,this.height=ie.height,this.rotationAngle=ie.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(nt.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,ie.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(nt.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,ie.containerTransformMatrix))},ee.prototype.scale=function(z,ie){ae.prototype.scale.call(this,z,ie);var le=this.rotatePoint({x:this.left,y:this.top}),re=this.unrotatePoint({x:le.x*z,y:le.y*ie});this.left=re.x,this.top=re.y,this.width=this.width*z,this.height=this.height*ie,this.adjustControlBox()},ee}(Be),Xe=function(ae){function ee(z,ie,le){var re=ae.call(this,z,ie,le)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.opacity=1,re.setStrokeColor=re.setStrokeColor.bind(re),re.setFillColor=re.setFillColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.createVisual=re.createVisual.bind(re),re}return $e(ee,ae),ee.prototype.ownsTarget=function(z){return!(!ae.prototype.ownsTarget.call(this,z)&&z!==this.visual)},ee.prototype.createVisual=function(){this.visual=me.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.state==="new"&&(this.createVisual(),this.moveVisual(z),this._state="creating")},ee.prototype.manipulate=function(z){ae.prototype.manipulate.call(this,z)},ee.prototype.resize=function(z){ae.prototype.resize.call(this,z),this.setSize()},ee.prototype.setSize=function(){ae.prototype.setSize.call(this),me.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},ee.prototype.pointerUp=function(z){ae.prototype.pointerUp.call(this,z),this.setSize()},ee.prototype.setStrokeColor=function(z){this.strokeColor=z,this.visual&&me.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(z),this.stateChanged()},ee.prototype.setFillColor=function(z){this.fillColor=z,this.visual&&me.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},ee.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.visual&&me.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ee.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.visual&&me.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ee.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},ae.prototype.getState.call(this))},ee.prototype.restoreState=function(z){var ie=z;this.fillColor=ie.fillColor,this.strokeColor=ie.strokeColor,this.strokeWidth=ie.strokeWidth,this.strokeDasharray=ie.strokeDasharray,this.opacity=ie.opacity,this.createVisual(),ae.prototype.restoreState.call(this,z),this.setSize()},ee.prototype.scale=function(z,ie){ae.prototype.scale.call(this,z,ie),this.setSize()},ee.title="Rectangle marker",ee}(Ge),Je=function(ae){function ee(z,ie,le,re){var ye=ae.call(this,z,re||'<svg viewBox="0 0 24 24"><path d="M3 17h18v-2H3v2m0 3h18v-1H3v1m0-7h18v-3H3v3m0-9v4h18V4H3z"/></svg>')||this;return ye.widths=[],ye.widthBoxes=[],ye.widths=ie,ye.currentWidth=le,ye.setCurrentWidth=ye.setCurrentWidth.bind(ye),ye}return $e(ee,ae),ee.prototype.getUi=function(){var z=this,ie=document.createElement("div");return ie.style.display="flex",ie.style.overflow="hidden",ie.style.flexGrow="2",this.widths.forEach(function(le){var re=document.createElement("div");re.style.display="flex",re.style.flexGrow="2",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.borderColor=le===z.currentWidth?z.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){z.setCurrentWidth(le,re)}),ie.appendChild(re);var ye=document.createElement("div");ye.innerText=le.toString(),ye.style.marginRight="5px",re.appendChild(ye);var Oe=document.createElement("div");Oe.style.minHeight="20px",Oe.style.flexGrow="2",Oe.style.display="flex",Oe.style.alignItems="center";var Et=document.createElement("hr");Et.style.minWidth="20px",Et.style.border="0px",Et.style.borderTop=le+"px solid "+z.uiStyleSettings.toolboxColor,Et.style.flexGrow="2",Oe.appendChild(Et),re.appendChild(Oe),z.widthBoxes.push(re)}),ie},ee.prototype.setCurrentWidth=function(z,ie){var le=this;this.currentWidth=z,this.widthBoxes.forEach(function(re){re.style.borderColor=re===ie?le.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},ee}(De),Ke=function(ae){function ee(z,ie,le,re){var ye=ae.call(this,z,re||'<svg viewBox="0 0 24 24"><path d="M3 16h5v-2H3v2m6.5 0h5v-2h-5v2m6.5 0h5v-2h-5v2M3 20h2v-2H3v2m4 0h2v-2H7v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2m4 0h2v-2h-2v2M3 12h8v-2H3v2m10 0h8v-2h-8v2M3 4v4h18V4H3z"/></svg>')||this;return ye.styles=[],ye.styleBoxes=[],ye.styles=ie,ye.currentStyle=le,ye.setCurrentStyle=ye.setCurrentStyle.bind(ye),ye}return $e(ee,ae),ee.prototype.getUi=function(){var z=this,ie=document.createElement("div");return ie.style.display="flex",ie.style.overflow="hidden",ie.style.flexGrow="2",this.styles.forEach(function(le){var re=document.createElement("div");re.style.display="flex",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.overflow="hidden",re.style.maxWidth=100/z.styles.length-5+"%",re.style.borderColor=le===z.currentStyle?z.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){z.setCurrentStyle(le,re)}),ie.appendChild(re);var ye=document.createElement("div");ye.style.minHeight="20px",ye.style.flexGrow="2",ye.style.overflow="hidden";var Oe=`<svg width="100" height="20">
|
|
<line x1="0" y1="10" x2="100" y2="10" stroke="`+z.uiStyleSettings.toolboxColor+'" stroke-width="3" '+(le!==""?'stroke-dasharray="'+le+'"':"")+` />
|
|
</svg>`;ye.innerHTML=Oe,re.appendChild(ye),z.styleBoxes.push(re)}),ie},ee.prototype.setCurrentStyle=function(z,ie){var le=this;this.currentStyle=z,this.styleBoxes.forEach(function(re){re.style.borderColor=re===ie?le.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},ee}(De),Lt=function(ae){function ee(z,ie,le){var re=ae.call(this,z,ie,le)||this;return re.strokeColor=le.defaultColor,re.strokeWidth=le.defaultStrokeWidth,re.strokeDasharray=le.defaultStrokeDasharray,re.strokePanel=new Fe("Line color",le.defaultColorSet,le.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new Je("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new Ke("Line style",le.defaultStrokeDasharrays,le.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return $e(ee,ae),Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=ae.prototype.getState.call(this);return z.typeName=ee.typeName,z},ee.typeName="FrameMarker",ee.title="Frame marker",ee.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4m14 11H6V8h12v9z"/></svg>',ee}(Xe),Ue=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},Ne=function(ae){function ee(z,ie,le){var re=ae.call(this,z,ie,le)||this;return re.x1=0,re.y1=0,re.x2=0,re.y2=0,re.defaultLength=50,re.manipulationStartX=0,re.manipulationStartY=0,re.manipulationStartX1=0,re.manipulationStartY1=0,re.manipulationStartX2=0,re.manipulationStartY2=0,re.setupControlBox(),re}return $e(ee,ae),ee.prototype.ownsTarget=function(z){return!!ae.prototype.ownsTarget.call(this,z)||!(!this.grip1.ownsTarget(z)&&!this.grip2.ownsTarget(z))},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.manipulationStartX=z.x,this.manipulationStartY=z.y,this.state==="new"&&(this.x1=z.x,this.y1=z.y,this.x2=z.x,this.y2=z.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(ie)?this.activeGrip=this.grip1:this.grip2.ownsTarget(ie)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},ee.prototype.pointerUp=function(z){var ie=this.state;ae.prototype.pointerUp.call(this,z),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(z),this._state="select",ie==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},ee.prototype.adjustVisual=function(){},ee.prototype.manipulate=function(z){this.state==="creating"?this.resize(z):this.state==="move"?(this.x1=this.manipulationStartX1+z.x-this.manipulationStartX,this.y1=this.manipulationStartY1+z.y-this.manipulationStartY,this.x2=this.manipulationStartX2+z.x-this.manipulationStartX,this.y2=this.manipulationStartY2+z.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(z)},ee.prototype.resize=function(z){switch(this.activeGrip){case this.grip1:this.x1=z.x,this.y1=z.y;break;case this.grip2:case void 0:this.x2=z.x,this.y2=z.y}this.adjustVisual(),this.adjustControlBox()},ee.prototype.select=function(){ae.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},ee.prototype.deselect=function(){ae.prototype.deselect.call(this),this.controlBox.style.display="none"},ee.prototype.setupControlBox=function(){this.controlBox=me.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},ee.prototype.adjustControlBox=function(){this.positionGrips()},ee.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},ee.prototype.createGrip=function(){var z=new ht;return z.visual.transform.baseVal.appendItem(me.createTransform()),this.controlBox.appendChild(z.visual),z},ee.prototype.positionGrips=function(){var z=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-z/2,this.y1-z/2),this.positionGrip(this.grip2.visual,this.x2-z/2,this.y2-z/2)},ee.prototype.positionGrip=function(z,ie,le){var re=z.transform.baseVal.getItem(0);re.setTranslate(ie,le),z.transform.baseVal.replaceItem(re,0)},ee.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},ae.prototype.getState.call(this))},ee.prototype.restoreState=function(z){ae.prototype.restoreState.call(this,z);var ie=z;this.x1=ie.x1,this.y1=ie.y1,this.x2=ie.x2,this.y2=ie.y2},ee.prototype.scale=function(z,ie){ae.prototype.scale.call(this,z,ie),this.x1=this.x1*z,this.y1=this.y1*ie,this.x2=this.x2*z,this.y2=this.y2*ie,this.adjustVisual(),this.adjustControlBox()},ee}(Be),et=function(ae){function ee(z,ie,le){var re=ae.call(this,z,ie,le)||this;return re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.setStrokeColor=re.setStrokeColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.strokeColor=le.defaultColor,re.strokeWidth=le.defaultStrokeWidth,re.strokeDasharray=le.defaultStrokeDasharray,re.strokePanel=new Fe("Line color",le.defaultColorSet,le.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new Je("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new Ke("Line style",le.defaultStrokeDasharrays,le.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return $e(ee,ae),ee.prototype.ownsTarget=function(z){return!(!ae.prototype.ownsTarget.call(this,z)&&z!==this.visual&&z!==this.selectorLine&&z!==this.visibleLine)},ee.prototype.createVisual=function(){this.visual=me.createGroup(),this.selectorLine=me.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=me.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},ee.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),me.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),me.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),me.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ee.prototype.setStrokeColor=function(z){this.strokeColor=z,this.adjustVisual(),this.colorChanged(z)},ee.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.adjustVisual()},ee.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},ae.prototype.getState.call(this));return z.typeName=ee.typeName,z},ee.prototype.restoreState=function(z){ae.prototype.restoreState.call(this,z);var ie=z;this.strokeColor=ie.strokeColor,this.strokeWidth=ie.strokeWidth,this.strokeDasharray=ie.strokeDasharray,this.createVisual(),this.adjustVisual()},ee.typeName="LineMarker",ee.title="Line marker",ee.icon='<svg viewBox="0 0 24 24"><path d="M19 13H5v-2h14v2z"/></svg>',ee}(Ne),Ee=function(ae){function ee(z,ie,le,re){var ye=ae.call(this,z,re||'<svg viewBox="0 0 24 24"><path d="M17 8h3v12h1v1h-4v-1h1v-3h-4l-1.5 3H14v1h-4v-1h1l6-12m1 1l-3.5 7H18V9M5 3h5c1.11 0 2 .89 2 2v11H9v-5H6v5H3V5c0-1.11.89-2 2-2m1 2v4h3V5H6z"/></svg>')||this;return ye.fonts=[],ye.fontBoxes=[],ye.fonts=ie,ye.currentFont=le,ye.setCurrentFont=ye.setCurrentFont.bind(ye),ye}return $e(ee,ae),ee.prototype.getUi=function(){var z=this,ie=document.createElement("div");return ie.style.overflow="hidden",ie.style.flexGrow="2",this.fonts.forEach(function(le){var re=document.createElement("div");re.style.display="inline-block",re.style.alignItems="center",re.style.justifyContent="space-between",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.overflow="hidden",re.style.maxWidth=100/z.fonts.length-5+"%",re.style.borderColor=le===z.currentFont?z.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){z.setCurrentFont(le,re)}),ie.appendChild(re);var ye=document.createElement("div");ye.style.display="flex",ye.style.minHeight="20px",ye.style.flexGrow="2",ye.style.fontFamily=le,ye.style.overflow="hidden";var Oe=document.createElement("div");Oe.style.whiteSpace="nowrap",Oe.style.overflow="hidden",Oe.style.textOverflow="ellipsis",Oe.innerHTML="The quick brown fox jumps over the lazy dog",ye.appendChild(Oe),re.appendChild(ye),z.fontBoxes.push(re)}),ie},ee.prototype.setCurrentFont=function(z,ie){var le=this;this.currentFont=z,this.fontBoxes.forEach(function(re){re.style.borderColor=re===ie?le.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},ee}(De),Ve=function(ae){function ee(z,ie,le){var re=ae.call(this,z,ie,le)||this;return re.color="transparent",re.padding=5,re.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",re.text=re.DEFAULT_TEXT,re.isMoved=!1,re.color=le.defaultColor,re.fontFamily=le.defaultFontFamily,re.defaultSize={x:100,y:30},re.setColor=re.setColor.bind(re),re.setFont=re.setFont.bind(re),re.renderText=re.renderText.bind(re),re.sizeText=re.sizeText.bind(re),re.textEditDivClicked=re.textEditDivClicked.bind(re),re.showTextEditor=re.showTextEditor.bind(re),re.setSize=re.setSize.bind(re),re.positionTextEditor=re.positionTextEditor.bind(re),re.colorPanel=new Fe("Color",le.defaultColorSet,le.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.fontFamilyPanel=new Ee("Font",le.defaultFontFamilies,le.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re}return $e(ee,ae),ee.prototype.ownsTarget=function(z){if(ae.prototype.ownsTarget.call(this,z)||z===this.visual||z===this.textElement||z===this.bgRectangle)return!0;var ie=!1;return this.textElement.childNodes.forEach(function(le){le===z&&(ie=!0)}),ie},ee.prototype.createVisual=function(){this.visual=me.createGroup(),this.bgRectangle=me.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=me.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(me.createTransform()),this.textElement.transform.baseVal.appendItem(me.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.isMoved=!1,this.pointerDownPoint=z,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(z),this._state="creating")},ee.prototype.renderText=function(){var z=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(ie){z.textElement.appendChild(me.createTSpan(ie.trim()===""?" ":ie.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},ee.prototype.getTextScale=function(){var z=this.textElement.getBBox(),ie=1;if(z.width>0&&z.height>0){var le=(1*this.width-this.width*this.padding*2/100)/z.width,re=(1*this.height-this.height*this.padding*2/100)/z.height;ie=Math.min(le,re)}return ie},ee.prototype.getTextPosition=function(z){var ie=this.textElement.getBBox(),le=0,re=0;return ie.width>0&&ie.height>0&&(le=(this.width-ie.width*z)/2,re=this.height/2-ie.height*z/2),{x:le,y:re}},ee.prototype.sizeText=function(){var z=this.textElement.getBBox(),ie=this.getTextScale(),le=this.getTextPosition(ie);le.y-=z.y*ie,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+le.x+"px, "+le.y+"px) scale("+ie+", "+ie+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(le.x,le.y),this.textElement.transform.baseVal.getItem(1).setScale(ie,ie))},ee.prototype.manipulate=function(z){ae.prototype.manipulate.call(this,z),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(z.x-this.pointerDownPoint.x)>5||Math.abs(z.y-this.pointerDownPoint.y)>5)},ee.prototype.resize=function(z){ae.prototype.resize.call(this,z),this.isMoved=!0,this.setSize(),this.sizeText()},ee.prototype.setSize=function(){ae.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(me.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),me.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},ee.prototype.pointerUp=function(z){var ie=this.state;ie==="creating"&&(this._suppressMarkerCreateEvent=!0),ae.prototype.pointerUp.call(this,z),this.setSize(),(ie==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},ee.prototype.showTextEditor=function(){var z=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(ie){ie.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var ie=Number.parseFloat(z.textEditor.style.fontSize);z.textEditor.clientWidth>=Number.parseInt(z.textEditor.style.maxWidth)&&ie>.9;)ie-=.1,z.textEditor.style.fontSize=Math.max(ie,.9)+"em"}),this.textEditor.addEventListener("keyup",function(ie){ie.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(ie){if(ie.clipboardData){var le=ie.clipboardData.getData("text"),re=window.getSelection();if(!re.rangeCount)return!1;re.deleteFromDocument(),re.getRangeAt(0).insertNode(document.createTextNode(le)),ie.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){z.textEditDivClicked(z.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},ee.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var z=this.getTextScale(),ie=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),le=this.textElement.getBBox(),re={x:le.width*z,y:le.height*z};ie.x-=re.x/2,ie.y-=re.y/2,this.textEditor.style.top=ie.y+"px",this.textEditor.style.left=ie.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-ie.x+"px",this.textEditor.style.fontSize=Math.max(16*z,12)+"px",this.textElement.style.display="none"}},ee.prototype.textEditDivClicked=function(z){this.text=z.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},ee.prototype.select=function(){ae.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},ee.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),ae.prototype.deselect.call(this)},ee.prototype.dblClick=function(z,ie){ae.prototype.dblClick.call(this,z,ie),this.showTextEditor()},ee.prototype.setColor=function(z){this.textElement&&me.setAttributes(this.textElement,[["fill",z]]),this.color=z,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(z)},ee.prototype.setFont=function(z){this.textElement&&me.setAttributes(this.textElement,[["font-family",z]]),this.fontFamily=z,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},ee.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},ee.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},ae.prototype.getState.call(this));return z.typeName=ee.typeName,z},ee.prototype.restoreState=function(z){var ie=z;this.color=ie.color,this.fontFamily=ie.fontFamily,this.padding=ie.padding,this.text=ie.text,this.createVisual(),ae.prototype.restoreState.call(this,z),this.setSize()},ee.prototype.scale=function(z,ie){ae.prototype.scale.call(this,z,ie),this.setSize(),this.sizeText(),this.positionTextEditor()},ee.typeName="TextMarker",ee.title="Text marker",ee.icon='<svg viewBox="0 0 24 24"><path d="M9.6 14L12 7.7l2.4 6.3M11 5L5.5 19h2.2l1.1-3H15l1.1 3h2.2L13 5h-2z"/></svg>',ee}(Ge),Se=function(ae){function ee(z,ie,le){var re=ae.call(this,z,ie,le)||this;return re.color="transparent",re.lineWidth=3,re.drawing=!1,re.pixelRatio=1,re.color=le.defaultColor,re.lineWidth=le.defaultStrokeWidth,re.pixelRatio=le.freehandPixelRatio,re.setColor=re.setColor.bind(re),re.addCanvas=re.addCanvas.bind(re),re.finishCreation=re.finishCreation.bind(re),re.setLineWidth=re.setLineWidth.bind(re),re.colorPanel=new Fe("Color",le.defaultColorSet,le.defaultColor),re.colorPanel.onColorChanged=re.setColor,re.lineWidthPanel=new Je("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),re.lineWidthPanel.onWidthChanged=re.setLineWidth,re}return $e(ee,ae),ee.prototype.ownsTarget=function(z){return!(!ae.prototype.ownsTarget.call(this,z)&&z!==this.visual&&z!==this.drawingImage)},ee.prototype.createVisual=function(){this.visual=me.createGroup(),this.drawingImage=me.createImage(),this.visual.appendChild(this.drawingImage);var z=me.createTransform();this.visual.transform.baseVal.appendItem(z),this.addMarkerVisualToContainer(this.visual)},ee.prototype.pointerDown=function(z,ie){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(z.x,z.y),this.drawing=!0):ae.prototype.pointerDown.call(this,z,ie)},ee.prototype.manipulate=function(z){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(z.x,z.y),this.canvasContext.stroke()):ae.prototype.manipulate.call(this,z)},ee.prototype.resize=function(z){ae.prototype.resize.call(this,z),me.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),me.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},ee.prototype.pointerUp=function(z){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):ae.prototype.pointerUp.call(this,z)},ee.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},ee.prototype.select=function(){this.state==="creating"&&this.finishCreation(),ae.prototype.select.call(this)},ee.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),ae.prototype.deselect.call(this)},ee.prototype.finishCreation=function(){for(var z=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),ie=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],le=ie[0],re=ie[1],ye=ie[2],Oe=ie[3],Et=!1,yt=0;yt<this.canvasElement.height;yt++)for(var at=0;at<this.canvasElement.width;at++)z.data[yt*this.canvasElement.width*4+4*at+3]>0&&(Et=!0,yt<re&&(re=yt),at<le&&(le=at),yt>Oe&&(Oe=yt),at>ye&&(ye=at));if(Et){this.left=le/this.pixelRatio,this.top=re/this.pixelRatio,this.width=(ye-le)/this.pixelRatio,this.height=(Oe-re)/this.pixelRatio;var mt=document.createElement("canvas");mt.width=ye-le,mt.height=Oe-re,mt.getContext("2d").putImageData(this.canvasContext.getImageData(le,re,ye-le,Oe-re),0,0),this.drawingImgUrl=mt.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},ee.prototype.setDrawingImage=function(){me.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),me.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},ee.prototype.setColor=function(z){this.color=z,this.colorChanged(z)},ee.prototype.setLineWidth=function(z){this.lineWidth=z},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=Object.assign({drawingImgUrl:this.drawingImgUrl},ae.prototype.getState.call(this));return z.typeName=ee.typeName,z},ee.prototype.restoreState=function(z){this.createVisual(),ae.prototype.restoreState.call(this,z),this.drawingImgUrl=z.drawingImgUrl,this.setDrawingImage()},ee.prototype.scale=function(z,ie){ae.prototype.scale.call(this,z,ie),this.setDrawingImage()},ee.typeName="FreehandMarker",ee.title="Freehand marker",ee.icon='<svg viewBox="0 0 24 24"><path d="M9.75 20.85c1.78-.7 1.39-2.63.49-3.85-.89-1.25-2.12-2.11-3.36-2.94A9.817 9.817 0 014.54 12c-.28-.33-.85-.94-.27-1.06.59-.12 1.61.46 2.13.68.91.38 1.81.82 2.65 1.34l1.01-1.7C8.5 10.23 6.5 9.32 4.64 9.05c-1.06-.16-2.18.06-2.54 1.21-.32.99.19 1.99.77 2.77 1.37 1.83 3.5 2.71 5.09 4.29.34.33.75.72.95 1.18.21.44.16.47-.31.47-1.24 0-2.79-.97-3.8-1.61l-1.01 1.7c1.53.94 4.09 2.41 5.96 1.79m11.09-15.6c.22-.22.22-.58 0-.79l-1.3-1.3a.562.562 0 00-.78 0l-1.02 1.02 2.08 2.08M11 10.92V13h2.08l6.15-6.15-2.08-2.08L11 10.92z"/></svg>',ee}(Ge),He=function(ae){function ee(z,ie,le){var re=ae.call(this,z,le||'<svg viewBox="0 0 24 24"><path d="M8 14v4l-6-6 6-6v4h8V6l6 6-6 6v-4H8z"/></svg>')||this;return re.typeBoxes=[],re.currentType=ie,re.setCurrentType=re.setCurrentType.bind(re),re}return $e(ee,ae),ee.prototype.getUi=function(){var z=this,ie=document.createElement("div");ie.style.display="flex",ie.style.overflow="hidden",ie.style.flexGrow="2";for(var le=function(Oe){var Et="both";switch(Oe){case 0:Et="both";break;case 1:Et="start";break;case 2:Et="end";break;case 3:Et="none"}var yt=document.createElement("div");if(yt.style.display="flex",yt.style.flexGrow="2",yt.style.alignItems="center",yt.style.justifyContent="space-between",yt.style.padding="5px",yt.style.borderWidth="2px",yt.style.borderStyle="solid",yt.style.borderColor=Et===re.currentType?re.uiStyleSettings.toolboxAccentColor:"transparent",yt.addEventListener("click",function(){z.setCurrentType(Et,yt)}),ie.appendChild(yt),Et==="both"||Et==="start"){var at=document.createElement("div");at.style.display="flex",at.style.alignItems="center",at.style.minHeight="20px",at.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
|
|
<polygon points="0,5 10,0 10,10" fill="`+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
</svg>`,at.style.marginLeft="5px",yt.appendChild(at)}var mt=document.createElement("div");mt.style.display="flex",mt.style.alignItems="center",mt.style.minHeight="20px",mt.style.flexGrow="2";var It=document.createElement("hr");if(It.style.minWidth="20px",It.style.border="0px",It.style.borderTop="3px solid "+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee"),It.style.flexGrow="2",mt.appendChild(It),yt.appendChild(mt),Et==="both"||Et==="end"){var Wt=document.createElement("div");Wt.style.display="flex",Wt.style.alignItems="center",Wt.style.minHeight="20px",Wt.innerHTML=`<svg viewBox="0 0 10 10" width="10" height="10" xmlns="http://www.w3.org/2000/svg">
|
|
<polygon points="0,0 10,5 0,10" fill="`+(re.uiStyleSettings!==void 0?re.uiStyleSettings.toolboxColor:"#eeeeee")+`" />
|
|
</svg>`,Wt.style.marginRight="5px",yt.appendChild(Wt)}re.typeBoxes.push(yt)},re=this,ye=0;ye<4;ye++)le(ye);return ie},ee.prototype.setCurrentType=function(z,ie){var le=this;this.currentType=z,this.typeBoxes.forEach(function(re){re.style.borderColor=re===ie?le.uiStyleSettings!==void 0?le.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},ee}(De),Pt=function(ae){function ee(z,ie,le){var re=ae.call(this,z,ie,le)||this;return re.arrowType="end",re.arrowBaseHeight=10,re.arrowBaseWidth=10,re.getArrowPoints=re.getArrowPoints.bind(re),re.setArrowType=re.setArrowType.bind(re),re.arrowTypePanel=new He("Arrow type","end"),re.arrowTypePanel.onArrowTypeChanged=re.setArrowType,re}return $e(ee,ae),ee.prototype.ownsTarget=function(z){return!(!ae.prototype.ownsTarget.call(this,z)&&z!==this.arrow1&&z!==this.arrow2)},ee.prototype.getArrowPoints=function(z,ie){var le=this.arrowBaseWidth+2*this.strokeWidth,re=this.arrowBaseHeight+2*this.strokeWidth;return z-le/2+","+(ie+re/2)+" "+z+","+(ie-re/2)+" "+(z+le/2)+","+(ie+re/2)},ee.prototype.createTips=function(){this.arrow1=me.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(me.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=me.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(me.createTransform()),this.visual.appendChild(this.arrow2)},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.state==="creating"&&this.createTips()},ee.prototype.adjustVisual=function(){if(ae.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",me.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),me.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var z=0;Math.abs(this.x1-this.x2)>.1&&(z=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var ie=this.arrow1.transform.baseVal.getItem(0);ie.setRotate(z,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(ie,0);var le=this.arrow2.transform.baseVal.getItem(0);le.setRotate(z+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(le,0)}},ee.prototype.setArrowType=function(z){this.arrowType=z,this.adjustVisual(),this.stateChanged()},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=Object.assign({arrowType:this.arrowType},ae.prototype.getState.call(this));return z.typeName=ee.typeName,z},ee.prototype.restoreState=function(z){ae.prototype.restoreState.call(this,z);var ie=z;this.arrowType=ie.arrowType,this.createTips(),this.adjustVisual()},ee.typeName="ArrowMarker",ee.title="Arrow marker",ee.icon='<svg viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 7 15.59V9H5v10h10v-2H8.41L19 6.41z"/></svg>',ee}(et),gt=function(ae){function ee(z,ie,le){var re=ae.call(this,z,ie,le)||this;return re.fillColor=le.defaultFillColor,re.strokeWidth=0,re.fillPanel=new Fe("Color",le.defaultColorSet,le.defaultFillColor),re.fillPanel.onColorChanged=re.setFillColor,re}return $e(ee,ae),Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=ae.prototype.getState.call(this);return z.typeName=ee.typeName,z},ee.typeName="CoverMarker",ee.title="Cover marker",ee.icon='<svg viewBox="0 0 24 24"><path d="M4 6v13h16V6H4z"/></svg>',ee}(Xe),bt=function(ae){function ee(z,ie,le,re){var ye=ae.call(this,z,re||'<svg viewBox="0 0 24 24"><path d="M17.66 8L12 2.35 6.34 8A8.02 8.02 0 004 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0011.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8M6 14c0-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 18 12 18 14H6z"/></svg>')||this;return ye.opacities=[],ye.opacityBoxes=[],ye.opacities=ie,ye.currentOpacity=le,ye.setCurrentOpacity=ye.setCurrentOpacity.bind(ye),ye}return $e(ee,ae),ee.prototype.getUi=function(){var z=this,ie=document.createElement("div");return ie.style.display="flex",ie.style.overflow="hidden",ie.style.flexGrow="2",ie.style.justifyContent="space-between",this.opacities.forEach(function(le){var re=document.createElement("div");re.style.display="flex",re.style.alignItems="center",re.style.justifyContent="center",re.style.padding="5px",re.style.borderWidth="2px",re.style.borderStyle="solid",re.style.borderColor=le===z.currentOpacity?z.uiStyleSettings.toolboxAccentColor:"transparent",re.addEventListener("click",function(){z.setCurrentOpacity(le,re)}),ie.appendChild(re);var ye=document.createElement("div");ye.innerText=100*le+"%",re.appendChild(ye),z.opacityBoxes.push(re)}),ie},ee.prototype.setCurrentOpacity=function(z,ie){var le=this;this.currentOpacity=z,this.opacityBoxes.forEach(function(re){re.style.borderColor=re===ie?le.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},ee}(De),ut=function(ae){function ee(z,ie,le){var re=ae.call(this,z,ie,le)||this;return re.setOpacity=re.setOpacity.bind(re),re.fillColor=le.defaultHighlightColor,re.strokeWidth=0,re.opacity=le.defaultHighlightOpacity,re.fillPanel=new Fe("Color",le.defaultColorSet,re.fillColor),re.fillPanel.onColorChanged=re.setFillColor,re.opacityPanel=new bt("Opacity",le.defaultOpacitySteps,re.opacity),re.opacityPanel.onOpacityChanged=re.setOpacity,re}return $e(ee,ae),ee.prototype.setOpacity=function(z){this.opacity=z,this.visual&&me.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=ae.prototype.getState.call(this);return z.typeName=ee.typeName,z},ee.typeName="HighlightMarker",ee.title="Highlight marker",ee.icon='<svg viewBox="0 0 24 24"><path d="M18.5 1.15c-.53 0-1.04.19-1.43.58l-5.81 5.82 5.65 5.65 5.82-5.81c.77-.78.77-2.04 0-2.83l-2.84-2.83c-.39-.39-.89-.58-1.39-.58M10.3 8.5l-5.96 5.96c-.78.78-.78 2.04.02 2.85C3.14 18.54 1.9 19.77.67 21h5.66l.86-.86c.78.76 2.03.75 2.81-.02l5.95-5.96"/></svg>',ee}(gt),pe='<svg viewBox="0 0 24 24"><path d="M9.62 12L12 5.67 14.37 12M11 3L5.5 17h2.25l1.12-3h6.25l1.13 3h2.25L13 3h-2z"/></svg>',ce='<svg viewBox="0 0 24 24"><path d="M19 11.5s-2 2.17-2 3.5a2 2 0 002 2 2 2 0 002-2c0-1.33-2-3.5-2-3.5M5.21 10L10 5.21 14.79 10m1.77-1.06L7.62 0 6.21 1.41l2.38 2.38-5.15 5.15c-.59.56-.59 1.53 0 2.12l5.5 5.5c.29.29.68.44 1.06.44s.77-.15 1.06-.44l5.5-5.5c.59-.59.59-1.56 0-2.12z"/></svg>',ze=function(ae){function ee(z,ie,le){var re=ae.call(this,z,ie,le)||this;return re.bgColor="transparent",re.tipPosition={x:0,y:0},re.tipBase1Position={x:0,y:0},re.tipBase2Position={x:0,y:0},re.tipMoving=!1,re.color=le.defaultStrokeColor,re.bgColor=le.defaultFillColor,re.fontFamily=le.defaultFontFamily,re.defaultSize={x:100,y:30},re.setBgColor=re.setBgColor.bind(re),re.getTipPoints=re.getTipPoints.bind(re),re.positionTip=re.positionTip.bind(re),re.setTipPoints=re.setTipPoints.bind(re),re.colorPanel=new Fe("Text color",le.defaultColorSet,re.color,pe),re.colorPanel.onColorChanged=re.setColor,re.bgColorPanel=new Fe("Fill color",le.defaultColorSet,re.bgColor,ce),re.bgColorPanel.onColorChanged=re.setBgColor,re.fontFamilyPanel=new Ee("Font",le.defaultFontFamilies,le.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re.tipGrip=new ht,re.tipGrip.visual.transform.baseVal.appendItem(me.createTransform()),re.controlBox.appendChild(re.tipGrip.visual),re}return $e(ee,ae),ee.prototype.ownsTarget=function(z){return ae.prototype.ownsTarget.call(this,z)||this.tipGrip.ownsTarget(z)||this.tip===z},ee.prototype.createTip=function(){me.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=me.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},ee.prototype.pointerDown=function(z,ie){this.state==="new"&&ae.prototype.pointerDown.call(this,z,ie),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(ie)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):ae.prototype.pointerDown.call(this,z,ie)},ee.prototype.pointerUp=function(z){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,ae.prototype.pointerUp.call(this,z);else{var ie=this.state==="creating";ae.prototype.pointerUp.call(this,z),this.setTipPoints(ie),this.positionTip()}},ee.prototype.manipulate=function(z){if(this.tipMoving){var ie=this.unrotatePoint(z);this.tipPosition={x:ie.x-this.manipulationStartLeft,y:ie.y-this.manipulationStartTop},this.positionTip()}else ae.prototype.manipulate.call(this,z)},ee.prototype.setBgColor=function(z){this.bgRectangle&&this.tip&&(me.setAttributes(this.bgRectangle,[["fill",z]]),me.setAttributes(this.tip,[["fill",z]])),this.bgColor=z,this.fillColorChanged(z)},ee.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},ee.prototype.setTipPoints=function(z){z===void 0&&(z=!1);var ie=Math.min(this.height/2,15),le=this.height/5;z&&(this.tipPosition={x:ie+le/2,y:this.height+20});var re=Math.atan(this.height/2/(this.width/2));this.tipPosition.x<this.width/2&&this.tipPosition.y<this.height/2?re<Math.atan((this.height/2-this.tipPosition.y)/(this.width/2-this.tipPosition.x))?(le=this.width/5,ie=Math.min(this.width/2,15),this.tipBase1Position={x:ie,y:0},this.tipBase2Position={x:ie+le,y:0}):(this.tipBase1Position={x:0,y:ie},this.tipBase2Position={x:0,y:ie+le}):this.tipPosition.x>=this.width/2&&this.tipPosition.y<this.height/2?re<Math.atan((this.height/2-this.tipPosition.y)/(this.tipPosition.x-this.width/2))?(le=this.width/5,ie=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ie-le,y:0},this.tipBase2Position={x:this.width-ie,y:0}):(this.tipBase1Position={x:this.width,y:ie},this.tipBase2Position={x:this.width,y:ie+le}):this.tipPosition.x>=this.width/2&&this.tipPosition.y>=this.height/2?re<Math.atan((this.tipPosition.y-this.height/2)/(this.tipPosition.x-this.width/2))?(le=this.width/5,ie=Math.min(this.width/2,15),this.tipBase1Position={x:this.width-ie-le,y:this.height},this.tipBase2Position={x:this.width-ie,y:this.height}):(this.tipBase1Position={x:this.width,y:this.height-ie-le},this.tipBase2Position={x:this.width,y:this.height-ie}):re<Math.atan((this.tipPosition.y-this.height/2)/(this.width/2-this.tipPosition.x))?(le=this.width/5,ie=Math.min(this.width/2,15),this.tipBase1Position={x:ie,y:this.height},this.tipBase2Position={x:ie+le,y:this.height}):(this.tipBase1Position={x:0,y:this.height-ie},this.tipBase2Position={x:0,y:this.height-ie-le})},ee.prototype.resize=function(z){ae.prototype.resize.call(this,z),this.positionTip()},ee.prototype.positionTip=function(){me.setAttributes(this.tip,[["points",this.getTipPoints()]]);var z=this.tipGrip.visual.transform.baseVal.getItem(0);z.setTranslate(this.tipPosition.x,this.tipPosition.y),this.tipGrip.visual.transform.baseVal.replaceItem(z,0)},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.bgColorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),ee.prototype.select=function(){this.positionTip(),ae.prototype.select.call(this)},ee.prototype.getState=function(){var z=Object.assign({bgColor:this.bgColor,tipPosition:this.tipPosition},ae.prototype.getState.call(this));return z.typeName=ee.typeName,z},ee.prototype.restoreState=function(z){var ie=z;this.bgColor=ie.bgColor,this.tipPosition=ie.tipPosition,ae.prototype.restoreState.call(this,z),this.createTip(),this.setTipPoints()},ee.prototype.scale=function(z,ie){ae.prototype.scale.call(this,z,ie),this.tipPosition={x:this.tipPosition.x*z,y:this.tipPosition.y*ie},this.positionTip()},ee.typeName="CalloutMarker",ee.title="Callout marker",ee.icon='<svg viewBox="0 0 24 24"><path d="M4 2h16a2 2 0 012 2v12a2 2 0 01-2 2h-4l-4 4-4-4H4a2 2 0 01-2-2V4a2 2 0 012-2m0 2v12h4.83L12 19.17 15.17 16H20V4H4m2 3h12v2H6V7m0 4h10v2H6v-2z"/></svg>',ee}(Ve),dt=function(ae){function ee(z,ie,le){var re=ae.call(this,z,ie,le)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.opacity=1,re.strokeColor=le.defaultColor,re.strokeWidth=le.defaultStrokeWidth,re.strokeDasharray=le.defaultStrokeDasharray,re.fillColor=le.defaultFillColor,re.setStrokeColor=re.setStrokeColor.bind(re),re.setFillColor=re.setFillColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.setOpacity=re.setOpacity.bind(re),re.createVisual=re.createVisual.bind(re),re.strokePanel=new Fe("Line color",ge(le.defaultColorSet,["transparent"]),le.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new Fe("Fill color",ge(le.defaultColorSet,["transparent"]),re.fillColor,ce),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new Je("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new Ke("Line style",le.defaultStrokeDasharrays,le.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re.opacityPanel=new bt("Opacity",le.defaultOpacitySteps,re.opacity),re.opacityPanel.onOpacityChanged=re.setOpacity,re}return $e(ee,ae),ee.prototype.ownsTarget=function(z){return!(!ae.prototype.ownsTarget.call(this,z)&&z!==this.visual)},ee.prototype.createVisual=function(){this.visual=me.createEllipse(this.width/2,this.height/2,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.state==="new"&&(this.createVisual(),this.moveVisual(z),this._state="creating")},ee.prototype.manipulate=function(z){ae.prototype.manipulate.call(this,z)},ee.prototype.resize=function(z){ae.prototype.resize.call(this,z),this.setSize()},ee.prototype.setSize=function(){ae.prototype.setSize.call(this),me.setAttributes(this.visual,[["cx",(this.width/2).toString()],["cy",(this.height/2).toString()],["rx",(this.width/2).toString()],["ry",(this.height/2).toString()]])},ee.prototype.pointerUp=function(z){ae.prototype.pointerUp.call(this,z),this.setSize()},ee.prototype.setStrokeColor=function(z){this.strokeColor=z,this.visual&&me.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(z),this.stateChanged()},ee.prototype.setFillColor=function(z){this.fillColor=z,this.visual&&me.setAttributes(this.visual,[["fill",this.fillColor]]),this.fillColorChanged(z),this.stateChanged()},ee.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.visual&&me.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ee.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.visual&&me.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},ee.prototype.setOpacity=function(z){this.opacity=z,this.visual&&me.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.opacityPanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},ae.prototype.getState.call(this));return z.typeName=ee.typeName,z},ee.prototype.restoreState=function(z){var ie=z;this.fillColor=ie.fillColor,this.strokeColor=ie.strokeColor,this.strokeWidth=ie.strokeWidth,this.strokeDasharray=ie.strokeDasharray,this.opacity=ie.opacity,this.createVisual(),ae.prototype.restoreState.call(this,z),this.setSize()},ee.prototype.scale=function(z,ie){ae.prototype.scale.call(this,z,ie),this.setSize()},ee.typeName="EllipseMarker",ee.title="Ellipse marker",ee.icon='<svg viewBox="0 0 24 24"><path d="M12 4C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',ee}(Ge),ct=function(ae){function ee(z,ie,le){return ae.call(this,z,ie,le)||this}return $e(ee,ae),Object.defineProperty(ee.prototype,"tipLength",{get:function(){return 10+3*this.strokeWidth},enumerable:!1,configurable:!0}),ee.prototype.ownsTarget=function(z){return!(!ae.prototype.ownsTarget.call(this,z)&&z!==this.tip1&&z!==this.tip2)},ee.prototype.createTips=function(){this.tip1=me.createLine(this.x1-this.tipLength/2,this.y1,this.x1+this.tipLength/2,this.y1,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip1.transform.baseVal.appendItem(me.createTransform()),this.visual.appendChild(this.tip1),this.tip2=me.createLine(this.x2-this.tipLength/2,this.y2,this.x2+this.tipLength/2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.tip2.transform.baseVal.appendItem(me.createTransform()),this.visual.appendChild(this.tip2)},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.state==="creating"&&this.createTips()},ee.prototype.adjustVisual=function(){if(ae.prototype.adjustVisual.call(this),this.tip1&&this.tip2&&(me.setAttributes(this.tip1,[["x1",(this.x1-this.tipLength/2).toString()],["y1",this.y1.toString()],["x2",(this.x1+this.tipLength/2).toString()],["y2",this.y1.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),me.setAttributes(this.tip2,[["x1",(this.x2-this.tipLength/2).toString()],["y1",this.y2.toString()],["x2",(this.x2+this.tipLength/2).toString()],["y2",this.y2.toString()],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),Math.abs(this.x1-this.x2)>.1)){var z=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),ie=this.tip1.transform.baseVal.getItem(0);ie.setRotate(z,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(ie,0);var le=this.tip2.transform.baseVal.getItem(0);le.setRotate(z+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(le,0)}},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=ae.prototype.getState.call(this);return z.typeName=ee.typeName,z},ee.prototype.restoreState=function(z){ae.prototype.restoreState.call(this,z),this.createTips(),this.adjustVisual()},ee.typeName="MeasurementMarker",ee.title="Measurement marker",ee.icon='<svg viewBox="0 0 24 24"><path d="M1.39 18.36l1.77-1.76L4.58 18l1.06-1.05-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.42 1.41L10.59 12l-1.42-1.41 1.42-1.42 2.47 2.48 1.06-1.06-2.47-2.48 1.41-1.41 1.41 1.41 1.07-1.06-1.42-1.41 1.42-1.42L18 6.7l1.07-1.06-2.47-2.48 1.76-1.77 4.25 4.25L5.64 22.61l-4.25-4.25z"/></svg>',ee}(et),be=function(ae){function ee(z,ie,le){var re=ae.call(this,z,ie,le)||this;return re.strokePanel.colors=le.defaultColorSet,re.fillColor="transparent",re}return $e(ee,ae),Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=ae.prototype.getState.call(this);return z.typeName=ee.typeName,z},ee.typeName="EllipseFrameMarker",ee.title="Ellipse frame marker",ee.icon='<svg viewBox="0 0 24 24"><path d="M12 6c4.41 0 8 2.69 8 6s-3.59 6-8 6-8-2.69-8-6 3.59-6 8-6m0-2C6.5 4 2 7.58 2 12s4.5 8 10 8 10-3.58 10-8-4.5-8-10-8z"/></svg>',ee}(dt),Ye=function(){function ae(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(ae.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),ae.prototype.addUndoStep=function(ee){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(ee)||(this.undoStack.push(ee),JSON.stringify(this.lastRedoStep)!==JSON.stringify(ee)&&this.redoStack.splice(0,this.redoStack.length))},ae.prototype.replaceLastUndoStep=function(ee){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=ee)},ae.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},ae.prototype.undo=function(){if(this.undoStack.length>1){var ee=this.undoStack.pop();return ee!==void 0&&this.redoStack.push(ee),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},ae.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},ae}(),Ie=function(ae){function ee(z,ie,le){var re=ae.call(this,z,ie,le)||this;return re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.curveX=0,re.curveY=0,re.manipulationStartCurveX=0,re.manipulationStartCurveY=0,re.setStrokeColor=re.setStrokeColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.positionGrips=re.positionGrips.bind(re),re.addControlGrips=re.addControlGrips.bind(re),re.adjustVisual=re.adjustVisual.bind(re),re.setupControlBox=re.setupControlBox.bind(re),re.resize=re.resize.bind(re),re.strokeColor=le.defaultColor,re.strokeWidth=le.defaultStrokeWidth,re.strokeDasharray=le.defaultStrokeDasharray,re.strokePanel=new Fe("Line color",le.defaultColorSet,le.defaultColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.strokeWidthPanel=new Je("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new Ke("Line style",le.defaultStrokeDasharrays,le.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re}return $e(ee,ae),ee.prototype.ownsTarget=function(z){return!(!ae.prototype.ownsTarget.call(this,z)&&z!==this.visual&&z!==this.selectorCurve&&z!==this.visibleCurve&&!this.curveGrip.ownsTarget(z))},ee.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},ee.prototype.createVisual=function(){this.visual=me.createGroup(),this.selectorCurve=me.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=me.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=z.x,this.curveY=z.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(ie)&&(this.activeGrip=this.curveGrip,this._state="resize")},ee.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),me.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),me.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),me.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},ee.prototype.setupControlBox=function(){ae.prototype.setupControlBox.call(this),this.curveControlLine1=me.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=me.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},ee.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,ae.prototype.addControlGrips.call(this)},ee.prototype.positionGrips=function(){ae.prototype.positionGrips.call(this);var z=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-z/2,this.curveY-z/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},ee.prototype.manipulate=function(z){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+z.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+z.y-this.manipulationStartY),ae.prototype.manipulate.call(this,z)},ee.prototype.resize=function(z){this.activeGrip===this.curveGrip&&(this.curveX=z.x,this.curveY=z.y),ae.prototype.resize.call(this,z),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},ee.prototype.setStrokeColor=function(z){this.strokeColor=z,this.adjustVisual(),this.colorChanged(z)},ee.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.adjustVisual()},ee.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.adjustVisual()},ee.prototype.scale=function(z,ie){this.curveX=this.curveX*z,this.curveY=this.curveY*ie,ae.prototype.scale.call(this,z,ie)},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},ae.prototype.getState.call(this));return z.typeName=ee.typeName,z},ee.prototype.restoreState=function(z){ae.prototype.restoreState.call(this,z);var ie=z;this.strokeColor=ie.strokeColor,this.strokeWidth=ie.strokeWidth,this.strokeDasharray=ie.strokeDasharray,this.curveX=ie.curveX,this.curveY=ie.curveY,this.createVisual(),this.adjustVisual()},ee.typeName="CurveMarker",ee.title="Curve marker",ee.icon='<svg viewBox="0 0 24 24"><path d="M18.5 2A1.5 1.5 0 0120 3.5 1.5 1.5 0 0118.5 5c-.23 0-.45-.05-.65-.15l-3.69 3.7.34.45c2.19-1.26 4.76-2 7.5-2l1 .03v2.01L22 9c-2.58 0-5 .75-7 2.04A3.96 3.96 0 0111.04 15C9.75 17 9 19.42 9 22l.04 1H7.03L7 22c0-2.74.74-5.31 2-7.5l-.45-.34-3.7 3.69c.1.2.15.42.15.65A1.5 1.5 0 013.5 20 1.5 1.5 0 012 18.5 1.5 1.5 0 013.5 17c.23 0 .45.05.65.15l3.69-3.7C7.31 12.78 7 11.92 7 11a4 4 0 014-4c.92 0 1.78.31 2.45.84l3.7-3.69c-.1-.2-.15-.42-.15-.65A1.5 1.5 0 0118.5 2M11 9a2 2 0 00-2 2 2 2 0 002 2 2 2 0 002-2 2 2 0 00-2-2z"/></svg>',ee}(Ne),Ct=function(ae){function ee(z,ie,le){var re=ae.call(this,z,ie,le)||this;return re.fillColor="transparent",re.strokeColor="transparent",re.strokeWidth=0,re.strokeDasharray="",re.textColor="transparent",re.fontSize="1rem",re.isMoved=!1,re.captionText="Caption",re.PADDING=5,re.captionBoxWidth=0,re.captionBoxHeight=0,re.strokeColor=le.defaultColor,re.strokeWidth=le.defaultStrokeWidth,re.strokeDasharray=le.defaultStrokeDasharray,re.fillColor=le.defaultFillColor,re.textColor=le.defaultStrokeColor,re.fontFamily=le.defaultFontFamily,re.fontSize=le.defaultCaptionFontSize,re.captionText=le.defaultCaptionText,re.setStrokeColor=re.setStrokeColor.bind(re),re.setFillColor=re.setFillColor.bind(re),re.setStrokeWidth=re.setStrokeWidth.bind(re),re.setStrokeDasharray=re.setStrokeDasharray.bind(re),re.createVisual=re.createVisual.bind(re),re.sizeCaption=re.sizeCaption.bind(re),re.setCaptionText=re.setCaptionText.bind(re),re.showTextEditor=re.showTextEditor.bind(re),re.positionTextEditor=re.positionTextEditor.bind(re),re.finishTextEditing=re.finishTextEditing.bind(re),re.setFont=re.setFont.bind(re),re.setTextColor=re.setTextColor.bind(re),re.strokePanel=new Fe("Line color",ge(le.defaultColorSet,["transparent"]),re.strokeColor),re.strokePanel.onColorChanged=re.setStrokeColor,re.fillPanel=new Fe("Fill color",ge(le.defaultColorSet,["transparent"]),re.fillColor,ce),re.fillPanel.onColorChanged=re.setFillColor,re.strokeWidthPanel=new Je("Line width",le.defaultStrokeWidths,le.defaultStrokeWidth),re.strokeWidthPanel.onWidthChanged=re.setStrokeWidth,re.strokeStylePanel=new Ke("Line style",le.defaultStrokeDasharrays,le.defaultStrokeDasharray),re.strokeStylePanel.onStyleChanged=re.setStrokeDasharray,re.fontFamilyPanel=new Ee("Font",le.defaultFontFamilies,le.defaultFontFamily),re.fontFamilyPanel.onFontChanged=re.setFont,re.textColorPanel=new Fe("Text color",le.defaultColorSet,re.textColor,pe),re.textColorPanel.onColorChanged=re.setTextColor,re}return $e(ee,ae),ee.prototype.ownsTarget=function(z){return!(!ae.prototype.ownsTarget.call(this,z)&&z!==this.visual&&z!==this.frame&&z!==this.captionBg&&z!==this.captionElement)},ee.prototype.createVisual=function(){this.visual=me.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=me.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=me.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=me.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},ee.prototype.setCaptionText=function(z){this.captionText=z,this.captionElement.textContent=this.captionText,this.sizeCaption()},ee.prototype.pointerDown=function(z,ie){ae.prototype.pointerDown.call(this,z,ie),this.isMoved=!1,this.pointerDownPoint=z,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(z),this._state="creating")},ee.prototype.manipulate=function(z){ae.prototype.manipulate.call(this,z),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(z.x-this.pointerDownPoint.x)>5||Math.abs(z.y-this.pointerDownPoint.y)>5)},ee.prototype.resize=function(z){ae.prototype.resize.call(this,z),this.setSize()},ee.prototype.sizeCaption=function(){var z=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=z.width+2*this.PADDING,this.captionBoxHeight=z.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),me.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),me.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},ee.prototype.showTextEditor=function(){var z=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(ie){ie.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(ie){ie.key==="Enter"&&z.finishTextEditing(z.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(ie){ie.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){z.finishTextEditing(z.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){z.finishTextEditing(z.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},ee.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},ee.prototype.finishTextEditing=function(z){this.setCaptionText(z.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},ee.prototype.setFont=function(z){this.captionElement&&me.setAttributes(this.captionElement,[["font-family",z]]),this.fontFamily=z,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},ee.prototype.setTextColor=function(z){this.captionElement&&me.setAttributes(this.captionElement,[["fill",z]]),this.textColor=z,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},ee.prototype.setSize=function(){ae.prototype.setSize.call(this),me.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},ee.prototype.pointerUp=function(z){ae.prototype.pointerUp.call(this,z),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},ee.prototype.dblClick=function(z,ie){ae.prototype.dblClick.call(this,z,ie),this.showTextEditor()},ee.prototype.setStrokeColor=function(z){this.strokeColor=z,this.frame&&me.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(z),this.stateChanged()},ee.prototype.setFillColor=function(z){this.fillColor=z,this.captionBg&&me.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(z),this.stateChanged()},ee.prototype.setStrokeWidth=function(z){this.strokeWidth=z,this.frame&&me.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},ee.prototype.setStrokeDasharray=function(z){this.strokeDasharray=z,this.frame&&me.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(ee.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),ee.prototype.getState=function(){var z=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},ae.prototype.getState.call(this));return z.typeName=this.typeName,z},ee.prototype.restoreState=function(z){var ie=z;this.fillColor=ie.fillColor,this.strokeColor=ie.strokeColor,this.strokeWidth=ie.strokeWidth,this.strokeDasharray=ie.strokeDasharray,this.textColor=ie.textColor,this.fontFamily=ie.fontFamily,this.captionText=ie.captionText,this.fontSize=ie.fontSize,this.createVisual(),ae.prototype.restoreState.call(this,z),this.setSize()},ee.prototype.scale=function(z,ie){ae.prototype.scale.call(this,z,ie),this.setSize()},ee.typeName="CaptionFrameMarker",ee.title="Caption frame marker",ee.icon='<svg viewBox="0 0 24 24"><path d="M5 3c-1.11 0-2 .89-2 2v14c0 1.11.89 2 2 2h14c1.11 0 2-.89 2-2V5c0-1.11-.89-2-2-2H5m0 2h14v14H5V5m2 2v2h10V7H7z"/></svg>',ee}(Ge),qe=function(){function ae(ee,z){z===void 0&&(z=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=ee,this.cancelable=z}return Object.defineProperty(ae.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),ae.prototype.preventDefault=function(){this._defaultPrevented=!0},ae}(),wt=function(ae){function ee(z,ie,le){var re=ae.call(this,z,!1)||this;return re.dataUrl=ie,re.state=le,re}return $e(ee,ae),ee}(qe),Pe=function(ae){function ee(z,ie,le){le===void 0&&(le=!1);var re=ae.call(this,z,le)||this;return re.marker=ie,re}return $e(ee,ae),ee}(qe),lt=function(){function ae(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return ae.prototype.addEventListener=function(ee,z){this[ee].push(z)},ae.prototype.removeEventListener=function(ee,z){var ie=this[ee].indexOf(z);ie>-1&&this[ee].splice(ie,1)},ae}(),pt=function(){function ae(ee){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Ue,this._isOpen=!1,this.undoRedoManager=new Ye,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new lt,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=ae.instanceCounter++,this.styles=new he(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=ee,this.targetRoot=document.body,this.width=ee.clientWidth,this.height=ee.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(ae.prototype,"ALL_MARKER_TYPES",{get:function(){return[Lt,Se,Pt,Ve,be,dt,ut,ze,ct,gt,et,Ie,Ct]},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Lt,Se,Pt,Ve,dt,ut,ze]},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Lt,Se,Pt,Ve,ut]},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(ee){var z=this;this._availableMarkerTypes.splice(0),ee.forEach(function(ie){if(typeof ie=="string"){var le=z.ALL_MARKER_TYPES.find(function(re){return re.typeName===ie});le!==void 0&&z._availableMarkerTypes.push(le)}else z._availableMarkerTypes.push(ie)})},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(ee){this._zoomLevel=ee,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),ae.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),Te.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},ae.prototype.show=function(){var ee=this;this.styles.styleSheetRoot===void 0&&we.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=we.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(z){return z(new qe(ee))})},ae.prototype.render=function(){return Le(this,void 0,void 0,function(){var ee;return Re(this,function(z){switch(z.label){case 0:return this.setCurrentMarker(),(ee=new Ce).naturalSize=this.renderAtNaturalSize,ee.imageType=this.renderImageType,ee.imageQuality=this.renderImageQuality,ee.markersOnly=this.renderMarkersOnly,ee.width=this.renderWidth,ee.height=this.renderHeight,[4,ee.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return z.sent(),[4,ee.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,z.sent()]}})})},ae.prototype.close=function(ee){var z=this;if(ee===void 0&&(ee=!1),this.isOpen){var ie=!1;ee||this.eventListeners.beforeclose.forEach(function(le){var re=new qe(z,!0);le(re),re.defaultPrevented&&(ie=!0)}),ie||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(le){return le(new qe(z))}),this.detachEvents(),this._isOpen=!1)}},ae.prototype.addMarkersToToolbar=function(){for(var ee,z=[],ie=0;ie<arguments.length;ie++)z[ie]=arguments[ie];(ee=this._availableMarkerTypes).push.apply(ee,z)},ae.prototype.addRenderEventListener=function(ee){this.addEventListener("render",function(z){ee(z.dataUrl,z.state)})},ae.prototype.removeRenderEventListener=function(ee){},ae.prototype.addCloseEventListener=function(ee){this.addEventListener("close",function(){ee()})},ae.prototype.removeCloseEventListener=function(ee){},ae.prototype.setupResizeObserver=function(){var ee=this;this.settings.displayMode==="inline"?window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){ee.resize(ee.target.clientWidth,ee.target.clientHeight)}),this.targetObserver.observe(this.target)):this.settings.displayMode==="popup"&&(window.ResizeObserver&&(this.targetObserver=new ResizeObserver(function(){return ee.onPopupTargetResize()}),this.targetObserver.observe(this.editorCanvas)),window.addEventListener("resize",this.setWindowHeight))},ae.prototype.onPopupTargetResize=function(){var ee=1*this.target.clientWidth/this.target.clientHeight,z=this.editorCanvas.clientWidth/ee>this.editorCanvas.clientHeight?this.editorCanvas.clientHeight*ee:this.editorCanvas.clientWidth,ie=z<this.editorCanvas.clientWidth?this.editorCanvas.clientHeight:this.editorCanvas.clientWidth/ee;this.resize(z,ie)},ae.prototype.setWindowHeight=function(){this.windowHeight=window.innerHeight},ae.prototype.resize=function(ee,z){this._isResizing=!0;var ie=ee/this.imageWidth,le=z/this.imageHeight;this.imageWidth=Math.round(ee),this.imageHeight=Math.round(z),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px",this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.settings.displayMode!=="popup"?this.coverDiv.style.width=this.imageWidth.toString()+"px":(this.setTopLeft(),this.positionMarkerImage()),this.toolbar!==void 0&&this.toolbar.adjustLayout(),this.positionLogo(),this.scaleMarkers(ie,le),this._isResizing=!1},ae.prototype.scaleMarkers=function(ee,z){var ie,le=this;this._currentMarker&&this._currentMarker instanceof Ve?this._currentMarker.scale(ee,z):(ie=this._currentMarker,this.setCurrentMarker()),this.markers.forEach(function(re){re!==le._currentMarker&&re.scale(ee,z)}),ie!==void 0&&this.setCurrentMarker(ie)},ae.prototype.setEditingTarget=function(){this.imageWidth=Math.round(this.target.clientWidth),this.imageHeight=Math.round(this.target.clientHeight),this.target instanceof HTMLImageElement&&this.editingTarget instanceof HTMLImageElement&&(this.editingTarget.src=this.target.src),this.editingTarget.width=this.imageWidth,this.editingTarget.height=this.imageHeight,this.editingTarget.style.width=this.imageWidth+"px",this.editingTarget.style.height=this.imageHeight+"px"},ae.prototype.setTopLeft=function(){var ee=this.editingTarget.getBoundingClientRect(),z=this.editorCanvas.getBoundingClientRect();this.left=ee.left-z.left,this.top=ee.top-z.top},ae.prototype.initMarkerCanvas=function(){this.markerImageHolder=document.createElement("div"),this.markerImageHolder.style.setProperty("touch-action","pinch-zoom"),this.markerImage=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.markerImage.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.markerImage.setAttribute("width",this.imageWidth.toString()),this.markerImage.setAttribute("height",this.imageHeight.toString()),this.markerImage.setAttribute("viewBox","0 0 "+this.imageWidth.toString()+" "+this.imageHeight.toString()),this.markerImage.style.pointerEvents="auto",this.markerImageHolder.style.position="absolute",this.markerImageHolder.style.width=this.imageWidth+"px",this.markerImageHolder.style.height=this.imageHeight+"px",this.markerImageHolder.style.transformOrigin="top left",this.positionMarkerImage(),this.markerImageHolder.appendChild(this.markerImage),this.editorCanvas.appendChild(this.markerImageHolder)},ae.prototype.addDefs=function(){for(var ee,z=[],ie=0;ie<arguments.length;ie++)z[ie]=arguments[ie];this.defs=me.createDefs(),this.addDefsToImage(),(ee=this.defs).append.apply(ee,z)},ae.prototype.addDefsToImage=function(){this.defs&&this.markerImage.insertBefore(this.defs,this.markerImage.firstChild)},ae.prototype.initOverlay=function(){this.overlayContainer=document.createElement("div"),this.overlayContainer.style.position="absolute",this.overlayContainer.style.left="0px",this.overlayContainer.style.top="0px",this.overlayContainer.style.width=this.imageWidth+"px",this.overlayContainer.style.height=this.imageHeight+"px",this.overlayContainer.style.display="flex",this.markerImageHolder.appendChild(this.overlayContainer)},ae.prototype.positionMarkerImage=function(){this.markerImageHolder.style.top=this.top/this.zoomLevel+"px",this.markerImageHolder.style.left=this.left/this.zoomLevel+"px"},ae.prototype.attachEvents=function(){this.markerImage.addEventListener("pointerdown",this.onPointerDown),this.markerImage.addEventListener("dblclick",this.onDblClick),this.attachWindowEvents()},ae.prototype.attachWindowEvents=function(){window.addEventListener("pointermove",this.onPointerMove),window.addEventListener("pointerup",this.onPointerUp),window.addEventListener("pointercancel",this.onPointerOut),window.addEventListener("pointerout",this.onPointerOut),window.addEventListener("pointerleave",this.onPointerUp),window.addEventListener("resize",this.onWindowResize),window.addEventListener("keyup",this.onKeyUp)},ae.prototype.detachEvents=function(){this.markerImage.removeEventListener("pointerdown",this.onPointerDown),this.markerImage.removeEventListener("dblclick",this.onDblClick),this.detachWindowEvents()},ae.prototype.detachWindowEvents=function(){window.removeEventListener("pointermove",this.onPointerMove),window.removeEventListener("pointerup",this.onPointerUp),window.removeEventListener("pointercancel",this.onPointerOut),window.removeEventListener("pointerout",this.onPointerOut),window.removeEventListener("pointerleave",this.onPointerUp),window.removeEventListener("resize",this.onWindowResize),window.removeEventListener("keyup",this.onKeyUp)},ae.prototype.addLogo=function(){this.logoUI=document.createElement("div"),this.logoUI.style.display="inline-block",this.logoUI.style.margin="0px",this.logoUI.style.padding="0px",this.logoUI.style.fill="#333333";var ee=document.createElement("a");ee.href="https://markerjs.com/",ee.target="_blank",ee.innerHTML='<svg viewBox="0 0 112 96" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#e5f20d" fill-opacity=".647" d="M0 40.386h111.96V95.62H0z"/><path d="M93.61 61.452c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.591 1.048-1.481 0-2.222-.74-2.222-2.22 0-16.617-.533-29.347-1.604-38.192-1.068-8.842-2.92-13.265-5.552-13.265-4.443 0-10.94 15.509-19.497 46.52v.124c0 .987-.328 1.831-.987 2.53-.657.7-1.52 1.048-2.592 1.048-1.48 0-2.22-.74-2.22-2.22 0-3.29.165-8.392.493-15.302.33-7.732.494-13.82.494-18.262 0-6.17-.186-10.55-.556-13.142-.37-2.591-1.172-3.887-2.406-3.887-2.796 0-6.333 5.12-10.612 15.363C38.494 34.367 34.01 46.44 29.32 60.34l-1.11 3.209a5.714 5.714 0 01-1.42 2.097c-.617.578-1.295.864-2.036.864-.987 0-1.644-.081-1.974-.247-.328-.162-.533-.656-.617-1.48-.41-4.03-.74-9.418-.987-16.165-.163-1.728-.329-4.566-.494-8.515-.822-13.901-1.562-23.3-2.221-28.196-.657-4.893-.987-7.628-.987-8.205 0-.657.33-1.44.987-2.345.659-.903 1.276-1.357 1.85-1.357 1.319 0 2.387.947 3.21 2.838.411.906.863 4.526 1.357 10.859.493 6.335.905 14.19 1.233 23.568l.617 18.88c4.527-13.983 9.216-26.673 14.068-38.068C45.65 6.686 50.093.988 54.123.988c2.715 0 4.566 1.974 5.553 5.923.987 3.949 1.481 9.667 1.481 17.152 0 3.949-.081 9.625-.247 17.029l-.123 5.676c3.373-11.762 6.725-21.634 10.057-29.615 3.331-7.979 6.685-11.97 10.056-11.97 8.475 0 12.71 18.757 12.71 56.269z" fill-rule="nonzero"/></svg>',ee.title="Powered by marker.js",ee.style.display="grid",ee.style.alignItems="center",ee.style.justifyItems="center",ee.style.padding="3px",ee.style.width="20px",ee.style.height="20px",this.logoUI.appendChild(ee),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},ae.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},ae.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},ae.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},ae.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var ee=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ee+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new ot(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop<this.styles.settings.toolbarHeight&&(this.editingTarget.style.marginTop=this.target.offsetTop-this.styles.settings.toolbarHeight+"px"),this.editorCanvas.appendChild(this.editingTarget),this.toolbox=new We(this.uiDiv,this.settings.displayMode,this.uiStyleSettings,this.styles),this.toolbox.show(this._silentRenderMode||this.uiStyleSettings.hideToolbox?"hidden":"visible")},ae.prototype.closeUI=function(){this.settings.displayMode==="popup"&&this.restoreOverflow(),this.targetRoot.removeChild(this.coverDiv)},ae.prototype.removeMarker=function(ee){this.markerImage.removeChild(ee.container),this.markers.indexOf(ee)>-1&&this.markers.splice(this.markers.indexOf(ee),1),ee.dispose()},ae.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},ae.prototype.toolbarButtonClicked=function(ee,z){if(ee==="marker"&&z!==void 0)this.createNewMarker(z);else if(ee==="action")switch(z){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},ae.prototype.deleteSelectedMarker=function(){var ee=this;if(this._currentMarker!==void 0){var z=!1;if(this.eventListeners.markerbeforedelete.forEach(function(le){var re=new Pe(ee,ee._currentMarker,!0);le(re),re.defaultPrevented&&(z=!0)}),!z){var ie=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(le){return le(new Pe(ee,ie))})}}},ae.prototype.clear=function(){var ee=this,z=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(ye){var Oe=new Pe(ee,void 0,!0);ye(Oe),Oe.defaultPrevented&&(z=!0)}),!z)){this.setCurrentMarker();for(var ie=function(ye){var Oe=le.markers[ye];le.setCurrentMarker(le.markers[ye]),le._currentMarker.dispose(),le.markerImage.removeChild(le._currentMarker.container),le.markers.splice(le.markers.indexOf(le._currentMarker),1),le.eventListeners.markerdelete.forEach(function(Et){return Et(new Pe(ee,Oe))})},le=this,re=this.markers.length-1;re>=0;re--)ie(re);this.addUndoStep()}},Object.defineProperty(ae.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),ae.prototype.showNotesEditor=function(){var ee;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(ee=this._currentMarker.notes)!==null&&ee!==void 0?ee:"",this.overlayContainer.appendChild(this.notesArea))},ae.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},ae.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},ae.prototype.addUndoStep=function(){var ee=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var z=this.getState(),ie=this.undoRedoManager.getLastUndoStep();if(!ie||ie.width===z.width&&ie.height===z.height){var le=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(z),le<this.undoRedoManager.undoStepCount&&this.eventListeners.statechange.forEach(function(re){return re(new qe(ee))})}else this.undoRedoManager.replaceLastUndoStep(z),this.eventListeners.statechange.forEach(function(re){return re(new qe(ee))})}},ae.prototype.undo=function(){this.switchToSelectMode(),this.addUndoStep(),this.undoStep()},ae.prototype.undoStep=function(){var ee=this,z=this.undoRedoManager.undo();z!==void 0&&(this.restoreState(z),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ie){return ie(new qe(ee))}))},ae.prototype.redo=function(){this.switchToSelectMode(),this.redoStep()},ae.prototype.redoStep=function(){var ee=this,z=this.undoRedoManager.redo();z!==void 0&&(this.restoreState(z),this.addDefsToImage(),this.selectLastMarker(),this.eventListeners.statechange.forEach(function(ie){return ie(new qe(ee))}))},ae.prototype.stepZoom=function(){var ee=this.zoomSteps.indexOf(this.zoomLevel);this.zoomLevel=ee<this.zoomSteps.length-1?this.zoomSteps[ee+1]:this.zoomSteps[0]},ae.prototype.panTo=function(ee){this.contentDiv.scrollBy({left:this.prevPanPoint.x-ee.x,top:this.prevPanPoint.y-ee.y}),this.prevPanPoint=ee},ae.prototype.startRenderAndClose=function(){return Le(this,void 0,void 0,function(){var ee,z,ie=this;return Re(this,function(le){switch(le.label){case 0:return[4,this.render()];case 1:return ee=le.sent(),z=this.getState(),this.eventListeners.render.forEach(function(re){return re(new wt(ie,ee,z))}),this.close(!0),[2]}})})},ae.prototype.getState=function(ee){ee===!0&&this.setCurrentMarker();var z={width:this.imageWidth,height:this.imageHeight,markers:[]};return this.markers.forEach(function(ie){return z.markers.push(ie.getState())}),z},ae.prototype.restoreState=function(ee){var z=this;for(this.markers.splice(0);this.markerImage.lastChild;)this.markerImage.removeChild(this.markerImage.lastChild);ee.markers.forEach(function(ie){var le=z._availableMarkerTypes.find(function(ye){return ye.typeName===ie.typeName});if(le!==void 0){var re=z.addNewMarker(le);re.restoreState(ie),z.markers.push(re)}}),ee.width&&ee.height&&(ee.width!==this.imageWidth||ee.height!==this.imageHeight)&&this.scaleMarkers(this.imageWidth/ee.width,this.imageHeight/ee.height),this.eventListeners.restorestate.forEach(function(ie){return ie(new qe(z))})},ae.prototype.addNewMarker=function(ee){var z=me.createGroup();return this.markerImage.appendChild(z),new ee(z,this.overlayContainer,this.settings)},ae.prototype.createNewMarker=function(ee){var z,ie=this;(z=typeof ee=="string"?this._availableMarkerTypes.find(function(le){return le.typeName===ee}):ee)&&(this.setCurrentMarker(),this.addUndoStep(),this._currentMarker=this.addNewMarker(z),this._currentMarker.onMarkerCreated=this.markerCreated,this._currentMarker.onColorChanged=this.colorChanged,this._currentMarker.onFillColorChanged=this.fillColorChanged,this._currentMarker.onStateChanged=this.markerStateChanged,this.markerImage.style.cursor="crosshair",this.toolbar.setActiveMarkerButton(z.typeName),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this.eventListeners.markercreating.forEach(function(le){return le(new Pe(ie,ie._currentMarker))}))},ae.prototype.markerCreated=function(ee){var z=this;this.mode="select",this.markerImage.style.cursor="default",this.markers.push(ee),this.setCurrentMarker(ee),ee instanceof Se&&this.settings.newFreehandMarkerOnPointerUp?this.createNewMarker(Se):this.toolbar.setSelectMode(),this.addUndoStep(),this.eventListeners.markercreate.forEach(function(ie){return ie(new Pe(z,z._currentMarker))})},ae.prototype.colorChanged=function(ee){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultColor=ee,this.settings.defaultStrokeColor=ee)},ae.prototype.fillColorChanged=function(ee){this.settings.defaultColorsFollowCurrentColors&&(this.settings.defaultFillColor=ee)},ae.prototype.markerStateChanged=function(ee){var z=this;this.eventListeners.markerchange.forEach(function(ie){return ie(new Pe(z,ee))})},ae.prototype.setCurrentMarker=function(ee){var z=this;this._currentMarker!==ee&&this._currentMarker!==void 0&&(this._currentMarker.deselect(),this.toolbar.setCurrentMarker(),this.toolbox.setPanelButtons([]),this._isResizing||this.eventListeners.markerdeselect.forEach(function(ie){return ie(new Pe(z,z._currentMarker))})),this._currentMarker=ee,this._currentMarker===void 0||this._currentMarker.isSelected||(this._currentMarker.state!=="new"&&this._currentMarker.select(),this.toolbar.setCurrentMarker(this._currentMarker),this.toolbox.setPanelButtons(this._currentMarker.toolboxPanels),this._isResizing||this.eventListeners.markerselect.forEach(function(ie){return ie(new Pe(z,z._currentMarker))}))},ae.prototype.onPointerDown=function(ee){if(this._isFocused||this.focus(),this.touchPoints++,this.touchPoints===1||ee.pointerType!=="touch")if(this._currentMarker===void 0||this._currentMarker.state!=="new"&&this._currentMarker.state!=="creating"){if(this.mode==="select"){var z=this.markers.find(function(ie){return ie.ownsTarget(ee.target)});z!==void 0?(this.setCurrentMarker(z),this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ee.clientX,ee.clientY),ee.target)):(this.setCurrentMarker(),this.isDragging=!0,this.prevPanPoint={x:ee.clientX,y:ee.clientY})}}else this.isDragging=!0,this._currentMarker.pointerDown(this.clientToLocalCoordinates(ee.clientX,ee.clientY))},ae.prototype.onDblClick=function(ee){if(this._isFocused||this.focus(),this.mode==="select"){var z=this.markers.find(function(ie){return ie.ownsTarget(ee.target)});z!==void 0&&z!==this._currentMarker&&this.setCurrentMarker(z),this._currentMarker!==void 0?this._currentMarker.dblClick(this.clientToLocalCoordinates(ee.clientX,ee.clientY),ee.target):this.setCurrentMarker()}},ae.prototype.onPointerMove=function(ee){this.touchPoints!==1&&ee.pointerType==="touch"||(this._currentMarker!==void 0||this.isDragging)&&(this._currentMarker!==void 0&&this._currentMarker.state==="edit"||ee.preventDefault(),this._currentMarker!==void 0?this._currentMarker.manipulate(this.clientToLocalCoordinates(ee.clientX,ee.clientY)):this.zoomLevel>1&&this.panTo({x:ee.clientX,y:ee.clientY}))},ae.prototype.onPointerUp=function(ee){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(ee.clientX,ee.clientY)),this.isDragging=!1,this.addUndoStep()},ae.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},ae.prototype.onKeyUp=function(ee){this._currentMarker===void 0||this.notesArea!==void 0||ee.key!=="Delete"&&ee.key!=="Backspace"||this.deleteSelectedMarker()},ae.prototype.clientToLocalCoordinates=function(ee,z){var ie=this.markerImage.getBoundingClientRect();return{x:(ee-ie.left)/this.zoomLevel,y:(z-ie.top)/this.zoomLevel}},ae.prototype.onWindowResize=function(){this.positionUI()},ae.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var ee=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=ee+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},ae.prototype.addLicenseKey=function(ee){Te.addKey(ee)},ae.prototype.addEventListener=function(ee,z){this.eventListeners.addEventListener(ee,z)},ae.prototype.removeEventListener=function(ee,z){this.eventListeners.removeEventListener(ee,z)},ae.prototype.renderState=function(ee){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(ee),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(ae.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),ae.prototype.focus=function(){var ee=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(z){return z(new qe(ee))}))},ae.prototype.blur=function(){var ee=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(z){return z(new qe(ee))}))},ae.instanceCounter=0,ae}()},66042:function(Tt,zt,de){"use strict";de.d(zt,{Z:function(){return Ve}});var ne=de(27247),$e=de(11913),Le=de(43403),Re=de(34280),ge=de(59301),me=ge.createContext(null),Te=ge.createContext({}),Ce=me,we=de(74430),he=de(32855),Qe=de(92310),ve=de.n(Qe),ot=de(77900),We=de(10228),De=de(26112),Fe=de(43079),Be=de(8654),st=["prefixCls","className","containerRef"],ht=function(He){var Pt=He.prefixCls,gt=He.className,bt=He.containerRef,ut=(0,Fe.Z)(He,st),pe=ge.useContext(Te),ce=pe.panel,ze=(0,Be.x1)(ce,bt);return ge.createElement("div",(0,he.Z)({className:ve()("".concat(Pt,"-content"),gt),role:"dialog",ref:ze},(0,De.Z)(He,{aria:!0}),{"aria-modal":"true"},ut))},nt=ht,Ge=de(48736);function Xe(Se){return typeof Se=="string"&&String(Number(Se))===Se?((0,Ge.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(Se)):Se}function Je(Se){warning(!("wrapperClassName"in Se),"'wrapperClassName' is removed. Please use 'rootClassName' instead."),warning(canUseDom()||!Se.open,"Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.")}var Ke={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Lt(Se,He){var Pt,gt,bt,ut=Se.prefixCls,pe=Se.open,ce=Se.placement,ze=Se.inline,dt=Se.push,ct=Se.forceRender,be=Se.autoFocus,Ye=Se.keyboard,Ie=Se.classNames,Ct=Se.rootClassName,qe=Se.rootStyle,wt=Se.zIndex,Pe=Se.className,lt=Se.id,pt=Se.style,ae=Se.motion,ee=Se.width,z=Se.height,ie=Se.children,le=Se.mask,re=Se.maskClosable,ye=Se.maskMotion,Oe=Se.maskClassName,Et=Se.maskStyle,yt=Se.afterOpenChange,at=Se.onClose,mt=Se.onMouseEnter,It=Se.onMouseOver,Wt=Se.onMouseLeave,Yt=Se.onClick,Jt=Se.onKeyDown,xt=Se.onKeyUp,dn=Se.styles,ft=Se.drawerRender,Nt=ge.useRef(),tt=ge.useRef(),Qt=ge.useRef();ge.useImperativeHandle(He,function(){return Nt.current});var kt=function(Zn){var Ft=Zn.keyCode,jt=Zn.shiftKey;switch(Ft){case We.Z.TAB:{if(Ft===We.Z.TAB){if(!jt&&document.activeElement===Qt.current){var vt;(vt=tt.current)===null||vt===void 0||vt.focus({preventScroll:!0})}else if(jt&&document.activeElement===tt.current){var At;(At=Qt.current)===null||At===void 0||At.focus({preventScroll:!0})}}break}case We.Z.ESC:{at&&Ye&&(Zn.stopPropagation(),at(Zn));break}}};ge.useEffect(function(){if(pe&&be){var Bn;(Bn=Nt.current)===null||Bn===void 0||Bn.focus({preventScroll:!0})}},[pe]);var Ot=ge.useState(!1),Dt=(0,$e.Z)(Ot,2),cn=Dt[0],Xt=Dt[1],fn=ge.useContext(Ce),Nn;typeof dt=="boolean"?Nn=dt?{}:{distance:0}:Nn=dt||{};var Tn=(Pt=(gt=(bt=Nn)===null||bt===void 0?void 0:bt.distance)!==null&>!==void 0?gt:fn==null?void 0:fn.pushDistance)!==null&&Pt!==void 0?Pt:180,or=ge.useMemo(function(){return{pushDistance:Tn,push:function(){Xt(!0)},pull:function(){Xt(!1)}}},[Tn]);ge.useEffect(function(){if(pe){var Bn;fn==null||(Bn=fn.push)===null||Bn===void 0||Bn.call(fn)}else{var Zn;fn==null||(Zn=fn.pull)===null||Zn===void 0||Zn.call(fn)}},[pe]),ge.useEffect(function(){return function(){var Bn;fn==null||(Bn=fn.pull)===null||Bn===void 0||Bn.call(fn)}},[]);var vr=le&&ge.createElement(ot.default,(0,he.Z)({key:"mask"},ye,{visible:pe}),function(Bn,Zn){var Ft=Bn.className,jt=Bn.style;return ge.createElement("div",{className:ve()("".concat(ut,"-mask"),Ft,Ie==null?void 0:Ie.mask,Oe),style:(0,ne.Z)((0,ne.Z)((0,ne.Z)({},jt),Et),dn==null?void 0:dn.mask),onClick:re&&pe?at:void 0,ref:Zn})}),lr=typeof ae=="function"?ae(ce):ae,Vn={};if(cn&&Tn)switch(ce){case"top":Vn.transform="translateY(".concat(Tn,"px)");break;case"bottom":Vn.transform="translateY(".concat(-Tn,"px)");break;case"left":Vn.transform="translateX(".concat(Tn,"px)");break;default:Vn.transform="translateX(".concat(-Tn,"px)");break}ce==="left"||ce==="right"?Vn.width=Xe(ee):Vn.height=Xe(z);var hn={onMouseEnter:mt,onMouseOver:It,onMouseLeave:Wt,onClick:Yt,onKeyDown:Jt,onKeyUp:xt},Xn=ge.createElement(ot.default,(0,he.Z)({key:"panel"},lr,{visible:pe,forceRender:ct,onVisibleChanged:function(Zn){yt==null||yt(Zn)},removeOnLeave:!1,leavedClassName:"".concat(ut,"-content-wrapper-hidden")}),function(Bn,Zn){var Ft=Bn.className,jt=Bn.style,vt=ge.createElement(nt,(0,he.Z)({id:lt,containerRef:Zn,prefixCls:ut,className:ve()(Pe,Ie==null?void 0:Ie.content),style:(0,ne.Z)((0,ne.Z)({},pt),dn==null?void 0:dn.content)},(0,De.Z)(Se,{aria:!0}),hn),ie);return ge.createElement("div",(0,he.Z)({className:ve()("".concat(ut,"-content-wrapper"),Ie==null?void 0:Ie.wrapper,Ft),style:(0,ne.Z)((0,ne.Z)((0,ne.Z)({},Vn),jt),dn==null?void 0:dn.wrapper)},(0,De.Z)(Se,{data:!0})),ft?ft(vt):vt)}),Rn=(0,ne.Z)({},qe);return wt&&(Rn.zIndex=wt),ge.createElement(Ce.Provider,{value:or},ge.createElement("div",{className:ve()(ut,"".concat(ut,"-").concat(ce),Ct,(0,we.Z)((0,we.Z)({},"".concat(ut,"-open"),pe),"".concat(ut,"-inline"),ze)),style:Rn,tabIndex:-1,ref:Nt,onKeyDown:kt},vr,ge.createElement("div",{tabIndex:0,ref:tt,style:Ke,"aria-hidden":"true","data-sentinel":"start"}),Xn,ge.createElement("div",{tabIndex:0,ref:Qt,style:Ke,"aria-hidden":"true","data-sentinel":"end"})))}var Ue=ge.forwardRef(Lt),Ne=Ue,et=function(He){var Pt=He.open,gt=Pt===void 0?!1:Pt,bt=He.prefixCls,ut=bt===void 0?"rc-drawer":bt,pe=He.placement,ce=pe===void 0?"right":pe,ze=He.autoFocus,dt=ze===void 0?!0:ze,ct=He.keyboard,be=ct===void 0?!0:ct,Ye=He.width,Ie=Ye===void 0?378:Ye,Ct=He.mask,qe=Ct===void 0?!0:Ct,wt=He.maskClosable,Pe=wt===void 0?!0:wt,lt=He.getContainer,pt=He.forceRender,ae=He.afterOpenChange,ee=He.destroyOnClose,z=He.onMouseEnter,ie=He.onMouseOver,le=He.onMouseLeave,re=He.onClick,ye=He.onKeyDown,Oe=He.onKeyUp,Et=He.panelRef,yt=ge.useState(!1),at=(0,$e.Z)(yt,2),mt=at[0],It=at[1],Wt=ge.useState(!1),Yt=(0,$e.Z)(Wt,2),Jt=Yt[0],xt=Yt[1];(0,Re.Z)(function(){xt(!0)},[]);var dn=Jt?gt:!1,ft=ge.useRef(),Nt=ge.useRef();(0,Re.Z)(function(){dn&&(Nt.current=document.activeElement)},[dn]);var tt=function(cn){var Xt;if(It(cn),ae==null||ae(cn),!cn&&Nt.current&&!((Xt=ft.current)!==null&&Xt!==void 0&&Xt.contains(Nt.current))){var fn;(fn=Nt.current)===null||fn===void 0||fn.focus({preventScroll:!0})}},Qt=ge.useMemo(function(){return{panel:Et}},[Et]);if(!pt&&!mt&&!dn&&ee)return null;var kt={onMouseEnter:z,onMouseOver:ie,onMouseLeave:le,onClick:re,onKeyDown:ye,onKeyUp:Oe},Ot=(0,ne.Z)((0,ne.Z)({},He),{},{open:dn,prefixCls:ut,placement:ce,autoFocus:dt,keyboard:be,width:Ie,mask:qe,maskClosable:Pe,inline:lt===!1,afterOpenChange:tt,ref:ft},kt);return ge.createElement(Te.Provider,{value:Qt},ge.createElement(Le.Z,{open:dn||pt||mt,autoDestroy:!1,getContainer:lt,autoLock:qe&&(dn||mt)},ge.createElement(Ne,Ot)))},Ee=et,Ve=Ee},25930:function(Tt,zt,de){"use strict";de.d(zt,{Cd:function(){return et}});var ne=de(32855),$e=de(27247),Le=de(43079),Re=de(59301),ge=de(92310),me=de.n(ge),Te={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},Ce=function(){var Se=(0,Re.useRef)([]),He=(0,Re.useRef)(null);return(0,Re.useEffect)(function(){var Pt=Date.now(),gt=!1;Se.current.forEach(function(bt){if(bt){gt=!0;var ut=bt.style;ut.transitionDuration=".3s, .3s, .3s, .06s",He.current&&Pt-He.current<100&&(ut.transitionDuration="0s, 0s")}}),gt&&(He.current=Date.now())}),Se.current},we=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],he=function(Se){var He=(0,$e.Z)((0,$e.Z)({},Te),Se),Pt=He.className,gt=He.percent,bt=He.prefixCls,ut=He.strokeColor,pe=He.strokeLinecap,ce=He.strokeWidth,ze=He.style,dt=He.trailColor,ct=He.trailWidth,be=He.transition,Ye=(0,Le.Z)(He,we);delete Ye.gapPosition;var Ie=Array.isArray(gt)?gt:[gt],Ct=Array.isArray(ut)?ut:[ut],qe=Ce(),wt=ce/2,Pe=100-ce/2,lt="M ".concat(pe==="round"?wt:0,",").concat(wt,`
|
|
L `).concat(pe==="round"?Pe:100,",").concat(wt),pt="0 0 100 ".concat(ce),ae=0;return Re.createElement("svg",(0,ne.Z)({className:me()("".concat(bt,"-line"),Pt),viewBox:pt,preserveAspectRatio:"none",style:ze},Ye),Re.createElement("path",{className:"".concat(bt,"-line-trail"),d:lt,strokeLinecap:pe,stroke:dt,strokeWidth:ct||ce,fillOpacity:"0"}),Ie.map(function(ee,z){var ie=1;switch(pe){case"round":ie=1-ce/100;break;case"square":ie=1-ce/2/100;break;default:ie=1;break}var le={strokeDasharray:"".concat(ee*ie,"px, 100px"),strokeDashoffset:"-".concat(ae,"px"),transition:be||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},re=Ct[z]||Ct[Ct.length-1];return ae+=ee,Re.createElement("path",{key:z,className:"".concat(bt,"-line-path"),d:lt,strokeLinecap:pe,stroke:re,strokeWidth:ce,fillOpacity:"0",ref:function(Oe){qe[z]=Oe},style:le})}))},Qe=he,ve=de(34666),ot=de(11913),We=de(47273),De=0,Fe=(0,We.Z)();function Be(){var Ve;return Fe?(Ve=De,De+=1):Ve="TEST_OR_SSR",Ve}var st=function(Ve){var Se=Re.useState(),He=(0,ot.Z)(Se,2),Pt=He[0],gt=He[1];return Re.useEffect(function(){gt("rc_progress_".concat(Be()))},[]),Ve||Pt},ht=function(Se){var He=Se.bg,Pt=Se.children;return Re.createElement("div",{style:{width:"100%",height:"100%",background:He}},Pt)};function nt(Ve,Se){return Object.keys(Ve).map(function(He){var Pt=parseFloat(He),gt="".concat(Math.floor(Pt*Se),"%");return"".concat(Ve[He]," ").concat(gt)})}var Ge=Re.forwardRef(function(Ve,Se){var He=Ve.prefixCls,Pt=Ve.color,gt=Ve.gradientId,bt=Ve.radius,ut=Ve.style,pe=Ve.ptg,ce=Ve.strokeLinecap,ze=Ve.strokeWidth,dt=Ve.size,ct=Ve.gapDegree,be=Pt&&(0,ve.Z)(Pt)==="object",Ye=be?"#FFF":void 0,Ie=dt/2,Ct=Re.createElement("circle",{className:"".concat(He,"-circle-path"),r:bt,cx:Ie,cy:Ie,stroke:Ye,strokeLinecap:ce,strokeWidth:ze,opacity:pe===0?0:1,style:ut,ref:Se});if(!be)return Ct;var qe="".concat(gt,"-conic"),wt=ct?"".concat(180+ct/2,"deg"):"0deg",Pe=nt(Pt,(360-ct)/360),lt=nt(Pt,1),pt="conic-gradient(from ".concat(wt,", ").concat(Pe.join(", "),")"),ae="linear-gradient(to ".concat(ct?"bottom":"top",", ").concat(lt.join(", "),")");return Re.createElement(Re.Fragment,null,Re.createElement("mask",{id:qe},Ct),Re.createElement("foreignObject",{x:0,y:0,width:dt,height:dt,mask:"url(#".concat(qe,")")},Re.createElement(ht,{bg:ae},Re.createElement(ht,{bg:pt}))))}),Xe=Ge,Je=100,Ke=function(Se,He,Pt,gt,bt,ut,pe,ce,ze,dt){var ct=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,be=Pt/100*360*((360-ut)/360),Ye=ut===0?0:{bottom:0,top:180,left:90,right:-90}[pe],Ie=(100-gt)/100*He;ze==="round"&>!==100&&(Ie+=dt/2,Ie>=He&&(Ie=He-.01));var Ct=Je/2;return{stroke:typeof ce=="string"?ce:void 0,strokeDasharray:"".concat(He,"px ").concat(Se),strokeDashoffset:Ie+ct,transform:"rotate(".concat(bt+be+Ye,"deg)"),transformOrigin:"".concat(Ct,"px ").concat(Ct,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Lt=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Ue(Ve){var Se=Ve!=null?Ve:[];return Array.isArray(Se)?Se:[Se]}var Ne=function(Se){var He=(0,$e.Z)((0,$e.Z)({},Te),Se),Pt=He.id,gt=He.prefixCls,bt=He.steps,ut=He.strokeWidth,pe=He.trailWidth,ce=He.gapDegree,ze=ce===void 0?0:ce,dt=He.gapPosition,ct=He.trailColor,be=He.strokeLinecap,Ye=He.style,Ie=He.className,Ct=He.strokeColor,qe=He.percent,wt=(0,Le.Z)(He,Lt),Pe=Je/2,lt=st(Pt),pt="".concat(lt,"-gradient"),ae=Pe-ut/2,ee=Math.PI*2*ae,z=ze>0?90+ze/2:-90,ie=ee*((360-ze)/360),le=(0,ve.Z)(bt)==="object"?bt:{count:bt,gap:2},re=le.count,ye=le.gap,Oe=Ue(qe),Et=Ue(Ct),yt=Et.find(function(xt){return xt&&(0,ve.Z)(xt)==="object"}),at=yt&&(0,ve.Z)(yt)==="object",mt=at?"butt":be,It=Ke(ee,ie,0,100,z,ze,dt,ct,mt,ut),Wt=Ce(),Yt=function(){var dn=0;return Oe.map(function(ft,Nt){var tt=Et[Nt]||Et[Et.length-1],Qt=Ke(ee,ie,dn,ft,z,ze,dt,tt,mt,ut);return dn+=ft,Re.createElement(Xe,{key:Nt,color:tt,ptg:ft,radius:ae,prefixCls:gt,gradientId:pt,style:Qt,strokeLinecap:mt,strokeWidth:ut,gapDegree:ze,ref:function(Ot){Wt[Nt]=Ot},size:Je})}).reverse()},Jt=function(){var dn=Math.round(re*(Oe[0]/100)),ft=100/re,Nt=0;return new Array(re).fill(null).map(function(tt,Qt){var kt=Qt<=dn-1?Et[0]:ct,Ot=kt&&(0,ve.Z)(kt)==="object"?"url(#".concat(pt,")"):void 0,Dt=Ke(ee,ie,Nt,ft,z,ze,dt,kt,"butt",ut,ye);return Nt+=(ie-Dt.strokeDashoffset+ye)*100/ie,Re.createElement("circle",{key:Qt,className:"".concat(gt,"-circle-path"),r:ae,cx:Pe,cy:Pe,stroke:Ot,strokeWidth:ut,opacity:1,style:Dt,ref:function(Xt){Wt[Qt]=Xt}})})};return Re.createElement("svg",(0,ne.Z)({className:me()("".concat(gt,"-circle"),Ie),viewBox:"0 0 ".concat(Je," ").concat(Je),style:Ye,id:Pt,role:"presentation"},wt),!re&&Re.createElement("circle",{className:"".concat(gt,"-circle-trail"),r:ae,cx:Pe,cy:Pe,stroke:ct,strokeLinecap:mt,strokeWidth:pe||ut,style:It}),re?Jt():Yt())},et=Ne,Ee={Line:Qe,Circle:et}},738:function(Tt,zt,de){"use strict";de.d(zt,{Z:function(){return nt}});var ne=de(32855),$e=de(74430),Le=de(11913),Re=de(43079),ge=de(92310),me=de.n(ge),Te=de(18929),Ce=de(10228),we=de(26112),he=de(59301);function Qe(Ge,Xe){var Je=Ge.disabled,Ke=Ge.prefixCls,Lt=Ge.character,Ue=Ge.characterRender,Ne=Ge.index,et=Ge.count,Ee=Ge.value,Ve=Ge.allowHalf,Se=Ge.focused,He=Ge.onHover,Pt=Ge.onClick,gt=function(be){He(be,Ne)},bt=function(be){Pt(be,Ne)},ut=function(be){be.keyCode===Ce.Z.ENTER&&Pt(be,Ne)},pe=Ne+1,ce=new Set([Ke]);Ee===0&&Ne===0&&Se?ce.add("".concat(Ke,"-focused")):Ve&&Ee+.5>=pe&&Ee<pe?(ce.add("".concat(Ke,"-half")),ce.add("".concat(Ke,"-active")),Se&&ce.add("".concat(Ke,"-focused"))):(pe<=Ee?ce.add("".concat(Ke,"-full")):ce.add("".concat(Ke,"-zero")),pe===Ee&&Se&&ce.add("".concat(Ke,"-focused")));var ze=typeof Lt=="function"?Lt(Ge):Lt,dt=he.createElement("li",{className:me()(Array.from(ce)),ref:Xe},he.createElement("div",{onClick:Je?null:bt,onKeyDown:Je?null:ut,onMouseMove:Je?null:gt,role:"radio","aria-checked":Ee>Ne?"true":"false","aria-posinset":Ne+1,"aria-setsize":et,tabIndex:Je?-1:0},he.createElement("div",{className:"".concat(Ke,"-first")},ze),he.createElement("div",{className:"".concat(Ke,"-second")},ze)));return Ue&&(dt=Ue(dt,Ge)),dt}var ve=he.forwardRef(Qe);function ot(){var Ge=he.useRef({});function Xe(Ke){return Ge.current[Ke]}function Je(Ke){return function(Lt){Ge.current[Ke]=Lt}}return[Xe,Je]}function We(Ge){var Xe=Ge.pageXOffset,Je="scrollLeft";if(typeof Xe!="number"){var Ke=Ge.document;Xe=Ke.documentElement[Je],typeof Xe!="number"&&(Xe=Ke.body[Je])}return Xe}function De(Ge){var Xe,Je,Ke=Ge.ownerDocument,Lt=Ke.body,Ue=Ke&&Ke.documentElement,Ne=Ge.getBoundingClientRect();return Xe=Ne.left,Je=Ne.top,Xe-=Ue.clientLeft||Lt.clientLeft||0,Je-=Ue.clientTop||Lt.clientTop||0,{left:Xe,top:Je}}function Fe(Ge){var Xe=De(Ge),Je=Ge.ownerDocument,Ke=Je.defaultView||Je.parentWindow;return Xe.left+=We(Ke),Xe.left}var Be=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function st(Ge,Xe){var Je=Ge.prefixCls,Ke=Je===void 0?"rc-rate":Je,Lt=Ge.className,Ue=Ge.defaultValue,Ne=Ge.value,et=Ge.count,Ee=et===void 0?5:et,Ve=Ge.allowHalf,Se=Ve===void 0?!1:Ve,He=Ge.allowClear,Pt=He===void 0?!0:He,gt=Ge.keyboard,bt=gt===void 0?!0:gt,ut=Ge.character,pe=ut===void 0?"\u2605":ut,ce=Ge.characterRender,ze=Ge.disabled,dt=Ge.direction,ct=dt===void 0?"ltr":dt,be=Ge.tabIndex,Ye=be===void 0?0:be,Ie=Ge.autoFocus,Ct=Ge.onHoverChange,qe=Ge.onChange,wt=Ge.onFocus,Pe=Ge.onBlur,lt=Ge.onKeyDown,pt=Ge.onMouseLeave,ae=(0,Re.Z)(Ge,Be),ee=ot(),z=(0,Le.Z)(ee,2),ie=z[0],le=z[1],re=he.useRef(null),ye=function(){if(!ze){var hn;(hn=re.current)===null||hn===void 0||hn.focus()}};he.useImperativeHandle(Xe,function(){return{focus:ye,blur:function(){if(!ze){var hn;(hn=re.current)===null||hn===void 0||hn.blur()}}}});var Oe=(0,Te.Z)(Ue||0,{value:Ne}),Et=(0,Le.Z)(Oe,2),yt=Et[0],at=Et[1],mt=(0,Te.Z)(null),It=(0,Le.Z)(mt,2),Wt=It[0],Yt=It[1],Jt=function(hn,Xn){var Rn=ct==="rtl",Bn=hn+1;if(Se){var Zn=ie(hn),Ft=Fe(Zn),jt=Zn.clientWidth;(Rn&&Xn-Ft>jt/2||!Rn&&Xn-Ft<jt/2)&&(Bn-=.5)}return Bn},xt=function(hn){at(hn),qe==null||qe(hn)},dn=he.useState(!1),ft=(0,Le.Z)(dn,2),Nt=ft[0],tt=ft[1],Qt=function(){tt(!0),wt==null||wt()},kt=function(){tt(!1),Pe==null||Pe()},Ot=he.useState(null),Dt=(0,Le.Z)(Ot,2),cn=Dt[0],Xt=Dt[1],fn=function(hn,Xn){var Rn=Jt(Xn,hn.pageX);Rn!==Wt&&(Xt(Rn),Yt(null)),Ct==null||Ct(Rn)},Nn=function(hn){ze||(Xt(null),Yt(null),Ct==null||Ct(void 0)),hn&&(pt==null||pt(hn))},Tn=function(hn,Xn){var Rn=Jt(Xn,hn.pageX),Bn=!1;Pt&&(Bn=Rn===yt),Nn(),xt(Bn?0:Rn),Yt(Bn?Rn:null)},or=function(hn){var Xn=hn.keyCode,Rn=ct==="rtl",Bn=Se?.5:1;bt&&(Xn===Ce.Z.RIGHT&&yt<Ee&&!Rn?(xt(yt+Bn),hn.preventDefault()):Xn===Ce.Z.LEFT&&yt>0&&!Rn||Xn===Ce.Z.RIGHT&&yt>0&&Rn?(xt(yt-Bn),hn.preventDefault()):Xn===Ce.Z.LEFT&&yt<Ee&&Rn&&(xt(yt+Bn),hn.preventDefault())),lt==null||lt(hn)};he.useEffect(function(){Ie&&!ze&&ye()},[]);var vr=new Array(Ee).fill(0).map(function(Vn,hn){return he.createElement(ve,{ref:le(hn),index:hn,count:Ee,disabled:ze,prefixCls:"".concat(Ke,"-star"),allowHalf:Se,value:cn===null?yt:cn,onClick:Tn,onHover:fn,key:Vn||hn,character:pe,characterRender:ce,focused:Nt})}),lr=me()(Ke,Lt,(0,$e.Z)((0,$e.Z)({},"".concat(Ke,"-disabled"),ze),"".concat(Ke,"-rtl"),ct==="rtl"));return he.createElement("ul",(0,ne.Z)({className:lr,onMouseLeave:Nn,tabIndex:ze?-1:Ye,onFocus:ze?null:Qt,onBlur:ze?null:kt,onKeyDown:ze?null:or,ref:re},(0,we.Z)(ae,{aria:!0,data:!0,attr:!0})),vr)}var ht=he.forwardRef(st),nt=ht},6551:function(Tt,zt,de){"use strict";de.d(zt,{ZP:function(){return Te}});var ne=de(11913),$e=de(59301),Le=de(47273),Re=0,ge=(0,Le.Z)();function me(){var Ce;return ge?(Ce=Re,Re+=1):Ce="TEST_OR_SSR",Ce}function Te(Ce){var we=$e.useState(),he=(0,ne.Z)(we,2),Qe=he[0],ve=he[1];return $e.useEffect(function(){ve("rc_select_".concat(me()))},[]),Ce||Qe}},37463:function(Tt,zt,de){"use strict";de.d(zt,{Ac:function(){return tt},Xo:function(){return kt},Wx:function(){return Dt},ZP:function(){return Pn},lk:function(){return nt}});var ne=de(32855),$e=de(3300),Le=de(74430),Re=de(27247),ge=de(11913),me=de(43079),Te=de(34666),Ce=de(18929),we=de(48736),he=de(59301),Qe=de(92310),ve=de.n(Qe),ot=de(34280),We=de(49658),De=de(8654),Fe=function(Me){var Rt=Me.className,St=Me.customizeIcon,je=Me.customizeIconProps,Bt=Me.children,nn=Me.onMouseDown,un=Me.onClick,xn=typeof St=="function"?St(je):St;return he.createElement("span",{className:Rt,onMouseDown:function(rn){rn.preventDefault(),nn==null||nn(rn)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:un,"aria-hidden":!0},xn!==void 0?xn:he.createElement("span",{className:ve()(Rt.split(/\s+/).map(function(Kt){return"".concat(Kt,"-icon")}))},Bt))},Be=Fe,st=function(Me,Rt,St,je,Bt){var nn=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,un=arguments.length>6?arguments[6]:void 0,xn=arguments.length>7?arguments[7]:void 0,Kt=he.useMemo(function(){if((0,Te.Z)(je)==="object")return je.clearIcon;if(Bt)return Bt},[je,Bt]),rn=he.useMemo(function(){return!!(!nn&&je&&(St.length||un)&&!(xn==="combobox"&&un===""))},[je,nn,St.length,un,xn]);return{allowClear:rn,clearIcon:he.createElement(Be,{className:"".concat(Me,"-clear"),onMouseDown:Rt,customizeIcon:Kt},"\xD7")}},ht=he.createContext(null);function nt(){return he.useContext(ht)}function Ge(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,Me=he.useState(!1),Rt=(0,ge.Z)(Me,2),St=Rt[0],je=Rt[1],Bt=he.useRef(null),nn=function(){window.clearTimeout(Bt.current)};he.useEffect(function(){return nn},[]);var un=function(Kt,rn){nn(),Bt.current=window.setTimeout(function(){je(Kt),rn&&rn()},ke)};return[St,un,nn]}function Xe(){var ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Me=he.useRef(null),Rt=he.useRef(null);he.useEffect(function(){return function(){window.clearTimeout(Rt.current)}},[]);function St(je){(je||Me.current===null)&&(Me.current=je),window.clearTimeout(Rt.current),Rt.current=window.setTimeout(function(){Me.current=null},ke)}return[function(){return Me.current},St]}function Je(ke,Me,Rt,St){var je=he.useRef(null);je.current={open:Me,triggerOpen:Rt,customizedTrigger:St},he.useEffect(function(){function Bt(nn){var un;if(!((un=je.current)!==null&&un!==void 0&&un.customizedTrigger)){var xn=nn.target;xn.shadowRoot&&nn.composed&&(xn=nn.composedPath()[0]||xn),je.current.open&&ke().filter(function(Kt){return Kt}).every(function(Kt){return!Kt.contains(xn)&&Kt!==xn})&&je.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Bt),function(){return window.removeEventListener("mousedown",Bt)}},[])}var Ke=de(10228);function Lt(ke){return ke&&![Ke.Z.ESC,Ke.Z.SHIFT,Ke.Z.BACKSPACE,Ke.Z.TAB,Ke.Z.WIN_KEY,Ke.Z.ALT,Ke.Z.META,Ke.Z.WIN_KEY_RIGHT,Ke.Z.CTRL,Ke.Z.SEMICOLON,Ke.Z.EQUALS,Ke.Z.CAPS_LOCK,Ke.Z.CONTEXT_MENU,Ke.Z.F1,Ke.Z.F2,Ke.Z.F3,Ke.Z.F4,Ke.Z.F5,Ke.Z.F6,Ke.Z.F7,Ke.Z.F8,Ke.Z.F9,Ke.Z.F10,Ke.Z.F11,Ke.Z.F12].includes(ke)}var Ue=de(26112),Ne=de(11780);function et(ke,Me,Rt){var St=(0,Re.Z)((0,Re.Z)({},ke),Rt?Me:{});return Object.keys(Me).forEach(function(je){var Bt=Me[je];typeof Bt=="function"&&(St[je]=function(){for(var nn,un=arguments.length,xn=new Array(un),Kt=0;Kt<un;Kt++)xn[Kt]=arguments[Kt];return Bt.apply(void 0,xn),(nn=ke[je])===null||nn===void 0?void 0:nn.call.apply(nn,[ke].concat(xn))})}),St}var Ee=et,Ve=["prefixCls","id","inputElement","autoFocus","autoComplete","editable","activeDescendantId","value","open","attrs"],Se=function(Me,Rt){var St=Me.prefixCls,je=Me.id,Bt=Me.inputElement,nn=Me.autoFocus,un=Me.autoComplete,xn=Me.editable,Kt=Me.activeDescendantId,rn=Me.value,Ze=Me.open,zn=Me.attrs,$t=(0,me.Z)(Me,Ve),kn=Bt||he.createElement("input",null),Sn=kn,Hn=Sn.ref,jn=Sn.props;return(0,we.Kp)(!("maxLength"in kn.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),kn=he.cloneElement(kn,(0,Re.Z)((0,Re.Z)((0,Re.Z)({type:"search"},Ee($t,jn,!0)),{},{id:je,ref:(0,De.sQ)(Rt,Hn),autoComplete:un||"off",autoFocus:nn,className:ve()("".concat(St,"-selection-search-input"),jn==null?void 0:jn.className),role:"combobox","aria-expanded":Ze||!1,"aria-haspopup":"listbox","aria-owns":"".concat(je,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(je,"_list"),"aria-activedescendant":Ze?Kt:void 0},zn),{},{value:xn?rn:"",readOnly:!xn,unselectable:xn?null:"on",style:(0,Re.Z)((0,Re.Z)({},jn.style),{},{opacity:xn?null:0})})),kn},He=he.forwardRef(Se),Pt=He;function gt(ke){return Array.isArray(ke)?ke:ke!==void 0?[ke]:[]}var bt=typeof window!="undefined"&&window.document&&window.document.documentElement,ut=bt;function pe(ke){return ke!=null}function ce(ke){return!ke&&ke!==0}function ze(ke){return["string","number"].includes((0,Te.Z)(ke))}function dt(ke){var Me=void 0;return ke&&(ze(ke.title)?Me=ke.title.toString():ze(ke.label)&&(Me=ke.label.toString())),Me}function ct(ke,Me){ut?he.useLayoutEffect(ke,Me):he.useEffect(ke,Me)}function be(ke){var Me;return(Me=ke.key)!==null&&Me!==void 0?Me:ke.value}var Ye=function(Me){Me.preventDefault(),Me.stopPropagation()},Ie=function(Me){var Rt=Me.id,St=Me.prefixCls,je=Me.values,Bt=Me.open,nn=Me.searchValue,un=Me.autoClearSearchValue,xn=Me.inputRef,Kt=Me.placeholder,rn=Me.disabled,Ze=Me.mode,zn=Me.showSearch,$t=Me.autoFocus,kn=Me.autoComplete,Sn=Me.activeDescendantId,Hn=Me.tabIndex,jn=Me.removeIcon,yr=Me.maxTagCount,Qn=Me.maxTagTextLength,Kn=Me.maxTagPlaceholder,ur=Kn===void 0?function(An){return"+ ".concat(An.length," ...")}:Kn,Un=Me.tagRender,br=Me.onToggleOpen,Mr=Me.onRemove,mr=Me.onInputChange,xr=Me.onInputPaste,Er=Me.onInputKeyDown,wr=Me.onInputMouseDown,gn=Me.onInputCompositionStart,Ln=Me.onInputCompositionEnd,Yn=Me.onInputBlur,ir=he.useRef(null),fr=(0,he.useState)(0),Br=(0,ge.Z)(fr,2),Cr=Br[0],cr=Br[1],ar=(0,he.useState)(!1),Tr=(0,ge.Z)(ar,2),jr=Tr[0],Gr=Tr[1],dr="".concat(St,"-selection"),ai=Bt||Ze==="multiple"&&un===!1||Ze==="tags"?nn:"",gr=Ze==="tags"||Ze==="multiple"&&un===!1||zn&&(Bt||jr);ct(function(){cr(ir.current.scrollWidth)},[ai]);var li=function(mn,In,_t,Gt,on){return he.createElement("span",{title:dt(mn),className:ve()("".concat(dr,"-item"),(0,Le.Z)({},"".concat(dr,"-item-disabled"),_t))},he.createElement("span",{className:"".concat(dr,"-item-content")},In),Gt&&he.createElement(Be,{className:"".concat(dr,"-item-remove"),onMouseDown:Ye,onClick:on,customizeIcon:jn},"\xD7"))},ti=function(mn,In,_t,Gt,on,ln){var qn=function(Dr){Ye(Dr),br(!Bt)};return he.createElement("span",{onMouseDown:qn},Un({label:In,value:mn,disabled:_t,closable:Gt,onClose:on,isMaxTag:!!ln}))},zr=function(mn){var In=mn.disabled,_t=mn.label,Gt=mn.value,on=!rn&&!In,ln=_t;if(typeof Qn=="number"&&(typeof _t=="string"||typeof _t=="number")){var qn=String(ln);qn.length>Qn&&(ln="".concat(qn.slice(0,Qn),"..."))}var er=function(nr){nr&&nr.stopPropagation(),Mr(mn)};return typeof Un=="function"?ti(Gt,ln,In,on,er):li(mn,ln,In,on,er)},$n=function(mn){if(!je.length)return null;var In=typeof ur=="function"?ur(mn):ur;return typeof Un=="function"?ti(void 0,In,!1,!1,void 0,!0):li({title:In},In,!1)},Vt=he.createElement("div",{className:"".concat(dr,"-search"),style:{width:Cr},onFocus:function(){Gr(!0)},onBlur:function(){Gr(!1)}},he.createElement(Pt,{ref:xn,open:Bt,prefixCls:St,id:Rt,inputElement:null,disabled:rn,autoFocus:$t,autoComplete:kn,editable:gr,activeDescendantId:Sn,value:ai,onKeyDown:Er,onMouseDown:wr,onChange:mr,onPaste:xr,onCompositionStart:gn,onCompositionEnd:Ln,onBlur:Yn,tabIndex:Hn,attrs:(0,Ue.Z)(Me,!0)}),he.createElement("span",{ref:ir,className:"".concat(dr,"-search-mirror"),"aria-hidden":!0},ai,"\xA0")),en=he.createElement(Ne.Z,{prefixCls:"".concat(dr,"-overflow"),data:je,renderItem:zr,renderRest:$n,suffix:Vt,itemKey:be,maxCount:yr});return he.createElement("span",{className:"".concat(dr,"-wrap")},en,!je.length&&!ai&&he.createElement("span",{className:"".concat(dr,"-placeholder")},Kt))},Ct=Ie,qe=function(Me){var Rt=Me.inputElement,St=Me.prefixCls,je=Me.id,Bt=Me.inputRef,nn=Me.disabled,un=Me.autoFocus,xn=Me.autoComplete,Kt=Me.activeDescendantId,rn=Me.mode,Ze=Me.open,zn=Me.values,$t=Me.placeholder,kn=Me.tabIndex,Sn=Me.showSearch,Hn=Me.searchValue,jn=Me.activeValue,yr=Me.maxLength,Qn=Me.onInputKeyDown,Kn=Me.onInputMouseDown,ur=Me.onInputChange,Un=Me.onInputPaste,br=Me.onInputCompositionStart,Mr=Me.onInputCompositionEnd,mr=Me.onInputBlur,xr=Me.title,Er=he.useState(!1),wr=(0,ge.Z)(Er,2),gn=wr[0],Ln=wr[1],Yn=rn==="combobox",ir=Yn||Sn,fr=zn[0],Br=Hn||"";Yn&&jn&&!gn&&(Br=jn),he.useEffect(function(){Yn&&Ln(!1)},[Yn,jn]);var Cr=rn!=="combobox"&&!Ze&&!Sn?!1:!!Br,cr=xr===void 0?dt(fr):xr,ar=he.useMemo(function(){return fr?null:he.createElement("span",{className:"".concat(St,"-selection-placeholder"),style:Cr?{visibility:"hidden"}:void 0},$t)},[fr,Cr,$t,St]);return he.createElement("span",{className:"".concat(St,"-selection-wrap")},he.createElement("span",{className:"".concat(St,"-selection-search")},he.createElement(Pt,{ref:Bt,prefixCls:St,id:je,open:Ze,inputElement:Rt,disabled:nn,autoFocus:un,autoComplete:xn,editable:ir,activeDescendantId:Kt,value:Br,onKeyDown:Qn,onMouseDown:Kn,onChange:function(jr){Ln(!0),ur(jr)},onPaste:Un,onCompositionStart:br,onCompositionEnd:Mr,onBlur:mr,tabIndex:kn,attrs:(0,Ue.Z)(Me,!0),maxLength:Yn?yr:void 0})),!Yn&&fr?he.createElement("span",{className:"".concat(St,"-selection-item"),title:cr,style:Cr?{visibility:"hidden"}:void 0},fr.label):null,ar)},wt=qe,Pe=function(Me,Rt){var St=(0,he.useRef)(null),je=(0,he.useRef)(!1),Bt=Me.prefixCls,nn=Me.open,un=Me.mode,xn=Me.showSearch,Kt=Me.tokenWithEnter,rn=Me.disabled,Ze=Me.prefix,zn=Me.autoClearSearchValue,$t=Me.onSearch,kn=Me.onSearchSubmit,Sn=Me.onToggleOpen,Hn=Me.onInputKeyDown,jn=Me.onInputBlur,yr=Me.domRef;he.useImperativeHandle(Rt,function(){return{focus:function(cr){St.current.focus(cr)},blur:function(){St.current.blur()}}});var Qn=Xe(0),Kn=(0,ge.Z)(Qn,2),ur=Kn[0],Un=Kn[1],br=function(cr){var ar=cr.which,Tr=St.current instanceof HTMLTextAreaElement;!Tr&&nn&&(ar===Ke.Z.UP||ar===Ke.Z.DOWN)&&cr.preventDefault(),Hn&&Hn(cr),ar===Ke.Z.ENTER&&un==="tags"&&!je.current&&!nn&&(kn==null||kn(cr.target.value)),!(Tr&&!nn&&~[Ke.Z.UP,Ke.Z.DOWN,Ke.Z.LEFT,Ke.Z.RIGHT].indexOf(ar))&&Lt(ar)&&Sn(!0)},Mr=function(){Un(!0)},mr=(0,he.useRef)(null),xr=function(cr){$t(cr,!0,je.current)!==!1&&Sn(!0)},Er=function(){je.current=!0},wr=function(cr){je.current=!1,un!=="combobox"&&xr(cr.target.value)},gn=function(cr){var ar=cr.target.value;if(Kt&&mr.current&&/[\r\n]/.test(mr.current)){var Tr=mr.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");ar=ar.replace(Tr,mr.current)}mr.current=null,xr(ar)},Ln=function(cr){var ar=cr.clipboardData,Tr=ar==null?void 0:ar.getData("text");mr.current=Tr||""},Yn=function(cr){var ar=cr.target;if(ar!==St.current){var Tr=document.body.style.msTouchAction!==void 0;Tr?setTimeout(function(){St.current.focus()}):St.current.focus()}},ir=function(cr){var ar=ur();cr.target!==St.current&&!ar&&!(un==="combobox"&&rn)&&cr.preventDefault(),(un!=="combobox"&&(!xn||!ar)||!nn)&&(nn&&zn!==!1&&$t("",!0,!1),Sn())},fr={inputRef:St,onInputKeyDown:br,onInputMouseDown:Mr,onInputChange:gn,onInputPaste:Ln,onInputCompositionStart:Er,onInputCompositionEnd:wr,onInputBlur:jn},Br=un==="multiple"||un==="tags"?he.createElement(Ct,(0,ne.Z)({},Me,fr)):he.createElement(wt,(0,ne.Z)({},Me,fr));return he.createElement("div",{ref:yr,className:"".concat(Bt,"-selector"),onClick:Yn,onMouseDown:ir},Ze&&he.createElement("div",{className:"".concat(Bt,"-prefix")},Ze),Br)},lt=he.forwardRef(Pe),pt=lt,ae=de(65030),ee=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],z=function(Me){var Rt=Me===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Rt,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Rt,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Rt,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Rt,adjustY:1},htmlRegion:"scroll"}}},ie=function(Me,Rt){var St=Me.prefixCls,je=Me.disabled,Bt=Me.visible,nn=Me.children,un=Me.popupElement,xn=Me.animation,Kt=Me.transitionName,rn=Me.dropdownStyle,Ze=Me.dropdownClassName,zn=Me.direction,$t=zn===void 0?"ltr":zn,kn=Me.placement,Sn=Me.builtinPlacements,Hn=Me.dropdownMatchSelectWidth,jn=Me.dropdownRender,yr=Me.dropdownAlign,Qn=Me.getPopupContainer,Kn=Me.empty,ur=Me.getTriggerDOMNode,Un=Me.onPopupVisibleChange,br=Me.onPopupMouseEnter,Mr=(0,me.Z)(Me,ee),mr="".concat(St,"-dropdown"),xr=un;jn&&(xr=jn(un));var Er=he.useMemo(function(){return Sn||z(Hn)},[Sn,Hn]),wr=xn?"".concat(mr,"-").concat(xn):Kt,gn=typeof Hn=="number",Ln=he.useMemo(function(){return gn?null:Hn===!1?"minWidth":"width"},[Hn,gn]),Yn=rn;gn&&(Yn=(0,Re.Z)((0,Re.Z)({},Yn),{},{width:Hn}));var ir=he.useRef(null);return he.useImperativeHandle(Rt,function(){return{getPopupElement:function(){var Br;return(Br=ir.current)===null||Br===void 0?void 0:Br.popupElement}}}),he.createElement(ae.Z,(0,ne.Z)({},Mr,{showAction:Un?["click"]:[],hideAction:Un?["click"]:[],popupPlacement:kn||($t==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Er,prefixCls:mr,popupTransitionName:wr,popup:he.createElement("div",{onMouseEnter:br},xr),ref:ir,stretch:Ln,popupAlign:yr,popupVisible:Bt,getPopupContainer:Qn,popupClassName:ve()(Ze,(0,Le.Z)({},"".concat(mr,"-empty"),Kn)),popupStyle:Yn,getTriggerDOMNode:ur,onPopupVisibleChange:Un}),nn)},le=he.forwardRef(ie),re=le,ye=de(40954);function Oe(ke,Me){var Rt=ke.key,St;return"value"in ke&&(St=ke.value),Rt!=null?Rt:St!==void 0?St:"rc-index-key-".concat(Me)}function Et(ke){return typeof ke!="undefined"&&!Number.isNaN(ke)}function yt(ke,Me){var Rt=ke||{},St=Rt.label,je=Rt.value,Bt=Rt.options,nn=Rt.groupLabel,un=St||(Me?"children":"label");return{label:un,value:je||"value",options:Bt||"options",groupLabel:nn||un}}function at(ke){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Rt=Me.fieldNames,St=Me.childrenAsData,je=[],Bt=yt(Rt,!1),nn=Bt.label,un=Bt.value,xn=Bt.options,Kt=Bt.groupLabel;function rn(Ze,zn){Array.isArray(Ze)&&Ze.forEach(function($t){if(zn||!(xn in $t)){var kn=$t[un];je.push({key:Oe($t,je.length),groupOption:zn,data:$t,label:$t[nn],value:kn})}else{var Sn=$t[Kt];Sn===void 0&&St&&(Sn=$t.label),je.push({key:Oe($t,je.length),group:!0,data:$t,label:Sn}),rn($t[xn],!0)}})}return rn(ke,!1),je}function mt(ke){var Me=(0,Re.Z)({},ke);return"props"in Me||Object.defineProperty(Me,"props",{get:function(){return(0,we.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),Me}}),Me}var It=function(Me,Rt,St){if(!Rt||!Rt.length)return null;var je=!1,Bt=function un(xn,Kt){var rn=(0,ye.Z)(Kt),Ze=rn[0],zn=rn.slice(1);if(!Ze)return[xn];var $t=xn.split(Ze);return je=je||$t.length>1,$t.reduce(function(kn,Sn){return[].concat((0,$e.Z)(kn),(0,$e.Z)(un(Sn,zn)))},[]).filter(Boolean)},nn=Bt(Me,Rt);return je?typeof St!="undefined"?nn.slice(0,St):nn:null},Wt=he.createContext(null),Yt=Wt;function Jt(ke){var Me=ke.visible,Rt=ke.values;if(!Me)return null;var St=50;return he.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(Rt.slice(0,St).map(function(je){var Bt=je.label,nn=je.value;return["number","string"].includes((0,Te.Z)(Bt))?Bt:nn}).join(", ")),Rt.length>St?", ...":null)}var xt=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],dn=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],ft=function(Me){return Me==="tags"||Me==="multiple"},Nt=he.forwardRef(function(ke,Me){var Rt,St=ke.id,je=ke.prefixCls,Bt=ke.className,nn=ke.showSearch,un=ke.tagRender,xn=ke.direction,Kt=ke.omitDomProps,rn=ke.displayValues,Ze=ke.onDisplayValuesChange,zn=ke.emptyOptions,$t=ke.notFoundContent,kn=$t===void 0?"Not Found":$t,Sn=ke.onClear,Hn=ke.mode,jn=ke.disabled,yr=ke.loading,Qn=ke.getInputElement,Kn=ke.getRawInputElement,ur=ke.open,Un=ke.defaultOpen,br=ke.onDropdownVisibleChange,Mr=ke.activeValue,mr=ke.onActiveValueChange,xr=ke.activeDescendantId,Er=ke.searchValue,wr=ke.autoClearSearchValue,gn=ke.onSearch,Ln=ke.onSearchSplit,Yn=ke.tokenSeparators,ir=ke.allowClear,fr=ke.prefix,Br=ke.suffixIcon,Cr=ke.clearIcon,cr=ke.OptionList,ar=ke.animation,Tr=ke.transitionName,jr=ke.dropdownStyle,Gr=ke.dropdownClassName,dr=ke.dropdownMatchSelectWidth,ai=ke.dropdownRender,gr=ke.dropdownAlign,li=ke.placement,ti=ke.builtinPlacements,zr=ke.getPopupContainer,$n=ke.showAction,Vt=$n===void 0?[]:$n,en=ke.onFocus,An=ke.onBlur,mn=ke.onKeyUp,In=ke.onKeyDown,_t=ke.onMouseDown,Gt=(0,me.Z)(ke,xt),on=ft(Hn),ln=(nn!==void 0?nn:on)||Hn==="combobox",qn=(0,Re.Z)({},Gt);dn.forEach(function(pr){delete qn[pr]}),Kt==null||Kt.forEach(function(pr){delete qn[pr]});var er=he.useState(!1),Dr=(0,ge.Z)(er,2),nr=Dr[0],hr=Dr[1];he.useEffect(function(){hr((0,We.Z)())},[]);var Or=he.useRef(null),Vr=he.useRef(null),kr=he.useRef(null),Yr=he.useRef(null),Fr=he.useRef(null),di=he.useRef(!1),Zi=Ge(),Ri=(0,ge.Z)(Zi,3),xi=Ri[0],mi=Ri[1],Lr=Ri[2];he.useImperativeHandle(Me,function(){var pr,rr;return{focus:(pr=Yr.current)===null||pr===void 0?void 0:pr.focus,blur:(rr=Yr.current)===null||rr===void 0?void 0:rr.blur,scrollTo:function(hi){var Ur;return(Ur=Fr.current)===null||Ur===void 0?void 0:Ur.scrollTo(hi)},nativeElement:Or.current||Vr.current}});var wi=he.useMemo(function(){var pr;if(Hn!=="combobox")return Er;var rr=(pr=rn[0])===null||pr===void 0?void 0:pr.value;return typeof rr=="string"||typeof rr=="number"?String(rr):""},[Er,Hn,rn]),eo=Hn==="combobox"&&typeof Qn=="function"&&Qn()||null,Jr=typeof Kn=="function"&&Kn(),zi=(0,De.x1)(Vr,Jr==null||(Rt=Jr.props)===null||Rt===void 0?void 0:Rt.ref),Ji=he.useState(!1),fi=(0,ge.Z)(Ji,2),ao=fi[0],Ti=fi[1];(0,ot.Z)(function(){Ti(!0)},[]);var Hr=(0,Ce.Z)(!1,{defaultValue:Un,value:ur}),to=(0,ge.Z)(Hr,2),lo=to[0],ji=to[1],Qr=ao?lo:!1,xo=!kn&&zn;(jn||xo&&Qr&&Hn==="combobox")&&(Qr=!1);var so=xo?!1:Qr,Wn=he.useCallback(function(pr){var rr=pr!==void 0?pr:!Qr;jn||(ji(rr),Qr!==rr&&(br==null||br(rr)))},[jn,Qr,ji,br]),tr=he.useMemo(function(){return(Yn||[]).some(function(pr){return[`
|
|
`,`\r
|
|
`].includes(pr)})},[Yn]),Jn=he.useContext(Yt)||{},_n=Jn.maxCount,Sr=Jn.rawValues,Nr=function(rr,ui,hi){if(!(on&&Et(_n)&&(Sr==null?void 0:Sr.size)>=_n)){var Ur=!0,$r=rr;mr==null||mr(null);var Xi=It(rr,Yn,Et(_n)?_n-Sr.size:void 0),Wi=hi?null:Xi;return Hn!=="combobox"&&Wi&&($r="",Ln==null||Ln(Wi),Wn(!1),Ur=!1),gn&&wi!==$r&&gn($r,{source:ui?"typing":"effect"}),Ur}},Gi=function(rr){!rr||!rr.trim()||gn(rr,{source:"submit"})};he.useEffect(function(){!Qr&&!on&&Hn!=="combobox"&&Nr("",!1,!1)},[Qr]),he.useEffect(function(){lo&&jn&&ji(!1),jn&&!di.current&&mi(!1)},[jn]);var gi=Xe(),si=(0,ge.Z)(gi,2),Xr=si[0],Hi=si[1],Qi=he.useRef(!1),Bi=function(rr){var ui=Xr(),hi=rr.key,Ur=hi==="Enter";if(Ur&&(Hn!=="combobox"&&rr.preventDefault(),Qr||Wn(!0)),Hi(!!wi),hi==="Backspace"&&!ui&&on&&!wi&&rn.length){for(var $r=(0,$e.Z)(rn),Xi=null,Wi=$r.length-1;Wi>=0;Wi-=1){var ro=$r[Wi];if(!ro.disabled){$r.splice(Wi,1),Xi=ro;break}}Xi&&Ze($r,{type:"remove",values:[Xi]})}for(var Li=arguments.length,Pi=new Array(Li>1?Li-1:0),Ui=1;Ui<Li;Ui++)Pi[Ui-1]=arguments[Ui];if(Qr&&(!Ur||!Qi.current)){var co;Ur&&(Qi.current=!0),(co=Fr.current)===null||co===void 0||co.onKeyDown.apply(co,[rr].concat(Pi))}In==null||In.apply(void 0,[rr].concat(Pi))},qi=function(rr){for(var ui=arguments.length,hi=new Array(ui>1?ui-1:0),Ur=1;Ur<ui;Ur++)hi[Ur-1]=arguments[Ur];if(Qr){var $r;($r=Fr.current)===null||$r===void 0||$r.onKeyUp.apply($r,[rr].concat(hi))}rr.key==="Enter"&&(Qi.current=!1),mn==null||mn.apply(void 0,[rr].concat(hi))},no=function(rr){var ui=rn.filter(function(hi){return hi!==rr});Ze(ui,{type:"remove",values:[rr]})},Vi=function(){Qi.current=!1},Po=he.useRef(!1),Va=function(){mi(!0),jn||(en&&!Po.current&&en.apply(void 0,arguments),Vt.includes("focus")&&Wn(!0)),Po.current=!0},ya=function(){di.current=!0,mi(!1,function(){Po.current=!1,di.current=!1,Wn(!1)}),!jn&&(wi&&(Hn==="tags"?gn(wi,{source:"submit"}):Hn==="multiple"&&gn("",{source:"blur"})),An&&An.apply(void 0,arguments))},_i=[];he.useEffect(function(){return function(){_i.forEach(function(pr){return clearTimeout(pr)}),_i.splice(0,_i.length)}},[]);var uo=function(rr){var ui,hi=rr.target,Ur=(ui=kr.current)===null||ui===void 0?void 0:ui.getPopupElement();if(Ur&&Ur.contains(hi)){var $r=setTimeout(function(){var Li=_i.indexOf($r);if(Li!==-1&&_i.splice(Li,1),Lr(),!nr&&!Ur.contains(document.activeElement)){var Pi;(Pi=Yr.current)===null||Pi===void 0||Pi.focus()}});_i.push($r)}for(var Xi=arguments.length,Wi=new Array(Xi>1?Xi-1:0),ro=1;ro<Xi;ro++)Wi[ro-1]=arguments[ro];_t==null||_t.apply(void 0,[rr].concat(Wi))},Ii=he.useState({}),ba=(0,ge.Z)(Ii,2),xa=ba[1];function Xa(){xa({})}var wa;Jr&&(wa=function(rr){Wn(rr)}),Je(function(){var pr;return[Or.current,(pr=kr.current)===null||pr===void 0?void 0:pr.getPopupElement()]},so,Wn,!!Jr);var Ua=he.useMemo(function(){return(0,Re.Z)((0,Re.Z)({},ke),{},{notFoundContent:kn,open:Qr,triggerOpen:so,id:St,showSearch:ln,multiple:on,toggleOpen:Wn})},[ke,kn,so,Qr,St,ln,on,Wn]),Ko=!!Br||yr,Yo;Ko&&(Yo=he.createElement(Be,{className:ve()("".concat(je,"-arrow"),(0,Le.Z)({},"".concat(je,"-arrow-loading"),yr)),customizeIcon:Br,customizeIconProps:{loading:yr,searchValue:wi,open:Qr,focused:xi,showSearch:ln}}));var wo=function(){var rr;Sn==null||Sn(),(rr=Yr.current)===null||rr===void 0||rr.focus(),Ze([],{type:"clear",values:rn}),Nr("",!1,!1)},Jo=st(je,wo,rn,ir,Cr,jn,wi,Hn),Ca=Jo.allowClear,Qo=Jo.clearIcon,Mo=he.createElement(cr,{ref:Fr}),Sa=ve()(je,Bt,(0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)({},"".concat(je,"-focused"),xi),"".concat(je,"-multiple"),on),"".concat(je,"-single"),!on),"".concat(je,"-allow-clear"),ir),"".concat(je,"-show-arrow"),Ko),"".concat(je,"-disabled"),jn),"".concat(je,"-loading"),yr),"".concat(je,"-open"),Qr),"".concat(je,"-customize-input"),eo),"".concat(je,"-show-search"),ln)),Fo=he.createElement(re,{ref:kr,disabled:jn,prefixCls:je,visible:so,popupElement:Mo,animation:ar,transitionName:Tr,dropdownStyle:jr,dropdownClassName:Gr,direction:xn,dropdownMatchSelectWidth:dr,dropdownRender:ai,dropdownAlign:gr,placement:li,builtinPlacements:ti,getPopupContainer:zr,empty:zn,getTriggerDOMNode:function(rr){return Vr.current||rr},onPopupVisibleChange:wa,onPopupMouseEnter:Xa},Jr?he.cloneElement(Jr,{ref:zi}):he.createElement(pt,(0,ne.Z)({},ke,{domRef:Vr,prefixCls:je,inputElement:eo,ref:Yr,id:St,prefix:fr,showSearch:ln,autoClearSearchValue:wr,mode:Hn,activeDescendantId:xr,tagRender:un,values:rn,open:Qr,onToggleOpen:Wn,activeValue:Mr,searchValue:wi,onSearch:Nr,onSearchSubmit:Gi,onRemove:no,tokenWithEnter:tr,onInputBlur:Vi}))),Ci;return Jr?Ci=Fo:Ci=he.createElement("div",(0,ne.Z)({className:Sa},qn,{ref:Or,onMouseDown:uo,onKeyDown:Bi,onKeyUp:qi,onFocus:Va,onBlur:ya}),he.createElement(Jt,{visible:xi&&!Qr,values:rn}),Fo,Yo,Ca&&Qo),he.createElement(ht.Provider,{value:Ua},Ci)}),tt=Nt,Qt=function(){return null};Qt.isSelectOptGroup=!0;var kt=Qt,Ot=function(){return null};Ot.isSelectOption=!0;var Dt=Ot,cn=de(80547),Xt=de(2738),fn=de(6790);function Nn(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Tn=["disabled","title","children","style","className"];function or(ke){return typeof ke=="string"||typeof ke=="number"}var vr=function(Me,Rt){var St=nt(),je=St.prefixCls,Bt=St.id,nn=St.open,un=St.multiple,xn=St.mode,Kt=St.searchValue,rn=St.toggleOpen,Ze=St.notFoundContent,zn=St.onPopupScroll,$t=he.useContext(Yt),kn=$t.maxCount,Sn=$t.flattenOptions,Hn=$t.onActiveValue,jn=$t.defaultActiveFirstOption,yr=$t.onSelect,Qn=$t.menuItemSelectedIcon,Kn=$t.rawValues,ur=$t.fieldNames,Un=$t.virtual,br=$t.direction,Mr=$t.listHeight,mr=$t.listItemHeight,xr=$t.optionRender,Er="".concat(je,"-item"),wr=(0,cn.Z)(function(){return Sn},[nn,Sn],function($n,Vt){return Vt[0]&&$n[1]!==Vt[1]}),gn=he.useRef(null),Ln=he.useMemo(function(){return un&&Et(kn)&&(Kn==null?void 0:Kn.size)>=kn},[un,kn,Kn==null?void 0:Kn.size]),Yn=function(Vt){Vt.preventDefault()},ir=function(Vt){var en;(en=gn.current)===null||en===void 0||en.scrollTo(typeof Vt=="number"?{index:Vt}:Vt)},fr=he.useCallback(function($n){return xn==="combobox"?!1:Kn.has($n)},[xn,(0,$e.Z)(Kn).toString(),Kn.size]),Br=function(Vt){for(var en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,An=wr.length,mn=0;mn<An;mn+=1){var In=(Vt+mn*en+An)%An,_t=wr[In]||{},Gt=_t.group,on=_t.data;if(!Gt&&!(on!=null&&on.disabled)&&(fr(on.value)||!Ln))return In}return-1},Cr=he.useState(function(){return Br(0)}),cr=(0,ge.Z)(Cr,2),ar=cr[0],Tr=cr[1],jr=function(Vt){var en=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Tr(Vt);var An={source:en?"keyboard":"mouse"},mn=wr[Vt];if(!mn){Hn(null,-1,An);return}Hn(mn.value,Vt,An)};(0,he.useEffect)(function(){jr(jn!==!1?Br(0):-1)},[wr.length,Kt]);var Gr=he.useCallback(function($n){return xn==="combobox"?String($n).toLowerCase()===Kt.toLowerCase():Kn.has($n)},[xn,Kt,(0,$e.Z)(Kn).toString(),Kn.size]);(0,he.useEffect)(function(){var $n=setTimeout(function(){if(!un&&nn&&Kn.size===1){var en=Array.from(Kn)[0],An=wr.findIndex(function(mn){var In=mn.data;return Kt?String(In.value).startsWith(Kt):In.value===en});An!==-1&&(jr(An),ir(An))}});if(nn){var Vt;(Vt=gn.current)===null||Vt===void 0||Vt.scrollTo(void 0)}return function(){return clearTimeout($n)}},[nn,Kt]);var dr=function(Vt){Vt!==void 0&&yr(Vt,{selected:!Kn.has(Vt)}),un||rn(!1)};if(he.useImperativeHandle(Rt,function(){return{onKeyDown:function(Vt){var en=Vt.which,An=Vt.ctrlKey;switch(en){case Ke.Z.N:case Ke.Z.P:case Ke.Z.UP:case Ke.Z.DOWN:{var mn=0;if(en===Ke.Z.UP?mn=-1:en===Ke.Z.DOWN?mn=1:Nn()&&An&&(en===Ke.Z.N?mn=1:en===Ke.Z.P&&(mn=-1)),mn!==0){var In=Br(ar+mn,mn);ir(In),jr(In,!0)}break}case Ke.Z.TAB:case Ke.Z.ENTER:{var _t,Gt=wr[ar];Gt&&!(Gt!=null&&(_t=Gt.data)!==null&&_t!==void 0&&_t.disabled)&&!Ln?dr(Gt.value):dr(void 0),nn&&Vt.preventDefault();break}case Ke.Z.ESC:rn(!1),nn&&Vt.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Vt){ir(Vt)}}}),wr.length===0)return he.createElement("div",{role:"listbox",id:"".concat(Bt,"_list"),className:"".concat(Er,"-empty"),onMouseDown:Yn},Ze);var ai=Object.keys(ur).map(function($n){return ur[$n]}),gr=function(Vt){return Vt.label};function li($n,Vt){var en=$n.group;return{role:en?"presentation":"option",id:"".concat(Bt,"_list_").concat(Vt)}}var ti=function(Vt){var en=wr[Vt];if(!en)return null;var An=en.data||{},mn=An.value,In=en.group,_t=(0,Ue.Z)(An,!0),Gt=gr(en);return en?he.createElement("div",(0,ne.Z)({"aria-label":typeof Gt=="string"&&!In?Gt:null},_t,{key:Vt},li(en,Vt),{"aria-selected":Gr(mn)}),mn):null},zr={role:"listbox",id:"".concat(Bt,"_list")};return he.createElement(he.Fragment,null,Un&&he.createElement("div",(0,ne.Z)({},zr,{style:{height:0,width:0,overflow:"hidden"}}),ti(ar-1),ti(ar),ti(ar+1)),he.createElement(fn.Z,{itemKey:"key",ref:gn,data:wr,height:Mr,itemHeight:mr,fullHeight:!1,onMouseDown:Yn,onScroll:zn,virtual:Un,direction:br,innerProps:Un?null:zr},function($n,Vt){var en=$n.group,An=$n.groupOption,mn=$n.data,In=$n.label,_t=$n.value,Gt=mn.key;if(en){var on,ln=(on=mn.title)!==null&&on!==void 0?on:or(In)?In.toString():void 0;return he.createElement("div",{className:ve()(Er,"".concat(Er,"-group"),mn.className),title:ln},In!==void 0?In:Gt)}var qn=mn.disabled,er=mn.title,Dr=mn.children,nr=mn.style,hr=mn.className,Or=(0,me.Z)(mn,Tn),Vr=(0,Xt.Z)(Or,ai),kr=fr(_t),Yr=qn||!kr&&Ln,Fr="".concat(Er,"-option"),di=ve()(Er,Fr,hr,(0,Le.Z)((0,Le.Z)((0,Le.Z)((0,Le.Z)({},"".concat(Fr,"-grouped"),An),"".concat(Fr,"-active"),ar===Vt&&!Yr),"".concat(Fr,"-disabled"),Yr),"".concat(Fr,"-selected"),kr)),Zi=gr($n),Ri=!Qn||typeof Qn=="function"||kr,xi=typeof Zi=="number"?Zi:Zi||_t,mi=or(xi)?xi.toString():void 0;return er!==void 0&&(mi=er),he.createElement("div",(0,ne.Z)({},(0,Ue.Z)(Vr),Un?{}:li($n,Vt),{"aria-selected":Gr(_t),className:di,title:mi,onMouseMove:function(){ar===Vt||Yr||jr(Vt)},onClick:function(){Yr||dr(_t)},style:nr}),he.createElement("div",{className:"".concat(Fr,"-content")},typeof xr=="function"?xr($n,{index:Vt}):xi),he.isValidElement(Qn)||kr,Ri&&he.createElement(Be,{className:"".concat(Er,"-option-state"),customizeIcon:Qn,customizeIconProps:{value:_t,disabled:Yr,isSelected:kr}},kr?"\u2713":null))}))},lr=he.forwardRef(vr),Vn=lr,hn=function(ke,Me){var Rt=he.useRef({values:new Map,options:new Map}),St=he.useMemo(function(){var Bt=Rt.current,nn=Bt.values,un=Bt.options,xn=ke.map(function(Ze){if(Ze.label===void 0){var zn;return(0,Re.Z)((0,Re.Z)({},Ze),{},{label:(zn=nn.get(Ze.value))===null||zn===void 0?void 0:zn.label})}return Ze}),Kt=new Map,rn=new Map;return xn.forEach(function(Ze){Kt.set(Ze.value,Ze),rn.set(Ze.value,Me.get(Ze.value)||un.get(Ze.value))}),Rt.current.values=Kt,Rt.current.options=rn,xn},[ke,Me]),je=he.useCallback(function(Bt){return Me.get(Bt)||Rt.current.options.get(Bt)},[Me]);return[St,je]};function Xn(ke,Me){return gt(ke).join("").toUpperCase().includes(Me)}var Rn=function(ke,Me,Rt,St,je){return he.useMemo(function(){if(!Rt||St===!1)return ke;var Bt=Me.options,nn=Me.label,un=Me.value,xn=[],Kt=typeof St=="function",rn=Rt.toUpperCase(),Ze=Kt?St:function($t,kn){return je?Xn(kn[je],rn):kn[Bt]?Xn(kn[nn!=="children"?nn:"label"],rn):Xn(kn[un],rn)},zn=Kt?function($t){return mt($t)}:function($t){return $t};return ke.forEach(function($t){if($t[Bt]){var kn=Ze(Rt,zn($t));if(kn)xn.push($t);else{var Sn=$t[Bt].filter(function(Hn){return Ze(Rt,zn(Hn))});Sn.length&&xn.push((0,Re.Z)((0,Re.Z)({},$t),{},(0,Le.Z)({},Bt,Sn)))}return}Ze(Rt,zn($t))&&xn.push($t)}),xn},[ke,St,je,Rt,Me])},Bn=de(6551),Zn=de(11592),Ft=["children","value"],jt=["children"];function vt(ke){var Me=ke,Rt=Me.key,St=Me.props,je=St.children,Bt=St.value,nn=(0,me.Z)(St,Ft);return(0,Re.Z)({key:Rt,value:Bt!==void 0?Bt:Rt,children:je},nn)}function At(ke){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Zn.Z)(ke).map(function(Rt,St){if(!he.isValidElement(Rt)||!Rt.type)return null;var je=Rt,Bt=je.type.isSelectOptGroup,nn=je.key,un=je.props,xn=un.children,Kt=(0,me.Z)(un,jt);return Me||!Bt?vt(Rt):(0,Re.Z)((0,Re.Z)({key:"__RC_SELECT_GRP__".concat(nn===null?St:nn,"__"),label:nn},Kt),{},{options:At(xn)})}).filter(function(Rt){return Rt})}var qt=function(Me,Rt,St,je,Bt){return he.useMemo(function(){var nn=Me,un=!Me;un&&(nn=At(Rt));var xn=new Map,Kt=new Map,rn=function($t,kn,Sn){Sn&&typeof Sn=="string"&&$t.set(kn[Sn],kn)},Ze=function zn($t){for(var kn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Sn=0;Sn<$t.length;Sn+=1){var Hn=$t[Sn];!Hn[St.options]||kn?(xn.set(Hn[St.value],Hn),rn(Kt,Hn,St.label),rn(Kt,Hn,je),rn(Kt,Hn,Bt)):zn(Hn[St.options],!0)}};return Ze(nn),{options:nn,valueOptions:xn,labelOptions:Kt}},[Me,Rt,St,je,Bt])},sn=qt;function an(ke){var Me=he.useRef();Me.current=ke;var Rt=he.useCallback(function(){return Me.current.apply(Me,arguments)},[]);return Rt}function En(ke){var Me=ke.mode,Rt=ke.options,St=ke.children,je=ke.backfill,Bt=ke.allowClear,nn=ke.placeholder,un=ke.getInputElement,xn=ke.showSearch,Kt=ke.onSearch,rn=ke.defaultOpen,Ze=ke.autoFocus,zn=ke.labelInValue,$t=ke.value,kn=ke.inputValue,Sn=ke.optionLabelProp,Hn=isMultiple(Me),jn=xn!==void 0?xn:Hn||Me==="combobox",yr=Rt||convertChildrenToData(St);if(warning(Me!=="tags"||yr.every(function(Un){return!Un.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),Me==="tags"||Me==="combobox"){var Qn=yr.some(function(Un){return Un.options?Un.options.some(function(br){return typeof("value"in br?br.value:br.key)=="number"}):typeof("value"in Un?Un.value:Un.key)=="number"});warning(!Qn,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(Me!=="combobox"||!Sn,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(Me==="combobox"||!je,"`backfill` only works with `combobox` mode."),warning(Me==="combobox"||!un,"`getInputElement` only work with `combobox` mode."),noteOnce(Me!=="combobox"||!un||!Bt||!nn,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),Kt&&!jn&&Me!=="combobox"&&Me!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!rn||Ze,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),$t!=null){var Kn=toArray($t);warning(!zn||Kn.every(function(Un){return _typeof(Un)==="object"&&("key"in Un||"value"in Un)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!Hn||Array.isArray($t),"`value` should be array when `mode` is `multiple` or `tags`")}if(St){var ur=null;toNodeArray(St).some(function(Un){if(!React.isValidElement(Un)||!Un.type)return!1;var br=Un,Mr=br.type;if(Mr.isSelectOption)return!1;if(Mr.isSelectOptGroup){var mr=toNodeArray(Un.props.children).every(function(xr){return!React.isValidElement(xr)||!Un.type||xr.type.isSelectOption?!0:(ur=xr.type,!1)});return!mr}return ur=Mr,!0}),ur&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(ur.displayName||ur.name||ur,"`.")),warning(kn===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Fn(ke,Me){if(ke){var Rt=function St(je){for(var Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,nn=0;nn<je.length;nn++){var un=je[nn];if(un[Me==null?void 0:Me.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Bt&&Array.isArray(un[Me==null?void 0:Me.options])&&St(un[Me==null?void 0:Me.options],!0))break}};Rt(ke)}}var Mn=null,wn=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","optionRender","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","labelRender","value","defaultValue","labelInValue","onChange","maxCount"],pn=["inputValue"];function Ht(ke){return!ke||(0,Te.Z)(ke)!=="object"}var rt=he.forwardRef(function(ke,Me){var Rt=ke.id,St=ke.mode,je=ke.prefixCls,Bt=je===void 0?"rc-select":je,nn=ke.backfill,un=ke.fieldNames,xn=ke.inputValue,Kt=ke.searchValue,rn=ke.onSearch,Ze=ke.autoClearSearchValue,zn=Ze===void 0?!0:Ze,$t=ke.onSelect,kn=ke.onDeselect,Sn=ke.dropdownMatchSelectWidth,Hn=Sn===void 0?!0:Sn,jn=ke.filterOption,yr=ke.filterSort,Qn=ke.optionFilterProp,Kn=ke.optionLabelProp,ur=ke.options,Un=ke.optionRender,br=ke.children,Mr=ke.defaultActiveFirstOption,mr=ke.menuItemSelectedIcon,xr=ke.virtual,Er=ke.direction,wr=ke.listHeight,gn=wr===void 0?200:wr,Ln=ke.listItemHeight,Yn=Ln===void 0?20:Ln,ir=ke.labelRender,fr=ke.value,Br=ke.defaultValue,Cr=ke.labelInValue,cr=ke.onChange,ar=ke.maxCount,Tr=(0,me.Z)(ke,wn),jr=(0,Bn.ZP)(Rt),Gr=ft(St),dr=!!(!ur&&br),ai=he.useMemo(function(){return jn===void 0&&St==="combobox"?!1:jn},[jn,St]),gr=he.useMemo(function(){return yt(un,dr)},[JSON.stringify(un),dr]),li=(0,Ce.Z)("",{value:Kt!==void 0?Kt:xn,postState:function(tr){return tr||""}}),ti=(0,ge.Z)(li,2),zr=ti[0],$n=ti[1],Vt=sn(ur,br,gr,Qn,Kn),en=Vt.valueOptions,An=Vt.labelOptions,mn=Vt.options,In=he.useCallback(function(Wn){var tr=gt(Wn);return tr.map(function(Jn){var _n,Sr,Nr,Gi,gi;if(Ht(Jn))_n=Jn;else{var si;Nr=Jn.key,Sr=Jn.label,_n=(si=Jn.value)!==null&&si!==void 0?si:Nr}var Xr=en.get(_n);if(Xr){var Hi;if(Sr===void 0&&(Sr=Xr==null?void 0:Xr[Kn||gr.label]),Nr===void 0&&(Nr=(Hi=Xr==null?void 0:Xr.key)!==null&&Hi!==void 0?Hi:_n),Gi=Xr==null?void 0:Xr.disabled,gi=Xr==null?void 0:Xr.title,0)var Qi}return{label:Sr,value:_n,key:Nr,disabled:Gi,title:gi}})},[gr,Kn,en]),_t=(0,Ce.Z)(Br,{value:fr}),Gt=(0,ge.Z)(_t,2),on=Gt[0],ln=Gt[1],qn=he.useMemo(function(){var Wn,tr=Gr&&on===null?[]:on,Jn=In(tr);return St==="combobox"&&ce((Wn=Jn[0])===null||Wn===void 0?void 0:Wn.value)?[]:Jn},[on,In,St,Gr]),er=hn(qn,en),Dr=(0,ge.Z)(er,2),nr=Dr[0],hr=Dr[1],Or=he.useMemo(function(){if(!St&&nr.length===1){var Wn=nr[0];if(Wn.value===null&&(Wn.label===null||Wn.label===void 0))return[]}return nr.map(function(tr){var Jn;return(0,Re.Z)((0,Re.Z)({},tr),{},{label:(Jn=typeof ir=="function"?ir(tr):tr.label)!==null&&Jn!==void 0?Jn:tr.value})})},[St,nr,ir]),Vr=he.useMemo(function(){return new Set(nr.map(function(Wn){return Wn.value}))},[nr]);he.useEffect(function(){if(St==="combobox"){var Wn,tr=(Wn=nr[0])===null||Wn===void 0?void 0:Wn.value;$n(pe(tr)?String(tr):"")}},[nr]);var kr=an(function(Wn,tr){var Jn=tr!=null?tr:Wn;return(0,Le.Z)((0,Le.Z)({},gr.value,Wn),gr.label,Jn)}),Yr=he.useMemo(function(){if(St!=="tags")return mn;var Wn=(0,$e.Z)(mn),tr=function(_n){return en.has(_n)};return(0,$e.Z)(nr).sort(function(Jn,_n){return Jn.value<_n.value?-1:1}).forEach(function(Jn){var _n=Jn.value;tr(_n)||Wn.push(kr(_n,Jn.label))}),Wn},[kr,mn,en,nr,St]),Fr=Rn(Yr,gr,zr,ai,Qn),di=he.useMemo(function(){return St!=="tags"||!zr||Fr.some(function(Wn){return Wn[Qn||"value"]===zr})||Fr.some(function(Wn){return Wn[gr.value]===zr})?Fr:[kr(zr)].concat((0,$e.Z)(Fr))},[kr,Qn,St,Fr,zr,gr]),Zi=function Wn(tr){var Jn=(0,$e.Z)(tr).sort(function(_n,Sr){return yr(_n,Sr,{searchValue:zr})});return Jn.map(function(_n){return Array.isArray(_n.options)?(0,Re.Z)((0,Re.Z)({},_n),{},{options:_n.options.length>0?Wn(_n.options):_n.options}):_n})},Ri=he.useMemo(function(){return yr?Zi(di):di},[di,yr,zr]),xi=he.useMemo(function(){return at(Ri,{fieldNames:gr,childrenAsData:dr})},[Ri,gr,dr]),mi=function(tr){var Jn=In(tr);if(ln(Jn),cr&&(Jn.length!==nr.length||Jn.some(function(Nr,Gi){var gi;return((gi=nr[Gi])===null||gi===void 0?void 0:gi.value)!==(Nr==null?void 0:Nr.value)}))){var _n=Cr?Jn:Jn.map(function(Nr){return Nr.value}),Sr=Jn.map(function(Nr){return mt(hr(Nr.value))});cr(Gr?_n:_n[0],Gr?Sr:Sr[0])}},Lr=he.useState(null),wi=(0,ge.Z)(Lr,2),eo=wi[0],Jr=wi[1],zi=he.useState(0),Ji=(0,ge.Z)(zi,2),fi=Ji[0],ao=Ji[1],Ti=Mr!==void 0?Mr:St!=="combobox",Hr=he.useCallback(function(Wn,tr){var Jn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},_n=Jn.source,Sr=_n===void 0?"keyboard":_n;ao(tr),nn&&St==="combobox"&&Wn!==null&&Sr==="keyboard"&&Jr(String(Wn))},[nn,St]),to=function(tr,Jn,_n){var Sr=function(){var no,Vi=hr(tr);return[Cr?{label:Vi==null?void 0:Vi[gr.label],value:tr,key:(no=Vi==null?void 0:Vi.key)!==null&&no!==void 0?no:tr}:tr,mt(Vi)]};if(Jn&&$t){var Nr=Sr(),Gi=(0,ge.Z)(Nr,2),gi=Gi[0],si=Gi[1];$t(gi,si)}else if(!Jn&&kn&&_n!=="clear"){var Xr=Sr(),Hi=(0,ge.Z)(Xr,2),Qi=Hi[0],Bi=Hi[1];kn(Qi,Bi)}},lo=an(function(Wn,tr){var Jn,_n=Gr?tr.selected:!0;_n?Jn=Gr?[].concat((0,$e.Z)(nr),[Wn]):[Wn]:Jn=nr.filter(function(Sr){return Sr.value!==Wn}),mi(Jn),to(Wn,_n),St==="combobox"?Jr(""):(!ft||zn)&&($n(""),Jr(""))}),ji=function(tr,Jn){mi(tr);var _n=Jn.type,Sr=Jn.values;(_n==="remove"||_n==="clear")&&Sr.forEach(function(Nr){to(Nr.value,!1,_n)})},Qr=function(tr,Jn){if($n(tr),Jr(null),Jn.source==="submit"){var _n=(tr||"").trim();if(_n){var Sr=Array.from(new Set([].concat((0,$e.Z)(Vr),[_n])));mi(Sr),to(_n,!0),$n("")}return}Jn.source!=="blur"&&(St==="combobox"&&mi(tr),rn==null||rn(tr))},xo=function(tr){var Jn=tr;St!=="tags"&&(Jn=tr.map(function(Sr){var Nr=An.get(Sr);return Nr==null?void 0:Nr.value}).filter(function(Sr){return Sr!==void 0}));var _n=Array.from(new Set([].concat((0,$e.Z)(Vr),(0,$e.Z)(Jn))));mi(_n),_n.forEach(function(Sr){to(Sr,!0)})},so=he.useMemo(function(){var Wn=xr!==!1&&Hn!==!1;return(0,Re.Z)((0,Re.Z)({},Vt),{},{flattenOptions:xi,onActiveValue:Hr,defaultActiveFirstOption:Ti,onSelect:lo,menuItemSelectedIcon:mr,rawValues:Vr,fieldNames:gr,virtual:Wn,direction:Er,listHeight:gn,listItemHeight:Yn,childrenAsData:dr,maxCount:ar,optionRender:Un})},[ar,Vt,xi,Hr,Ti,lo,mr,Vr,gr,xr,Hn,Er,gn,Yn,dr,Un]);return he.createElement(Yt.Provider,{value:so},he.createElement(tt,(0,ne.Z)({},Tr,{id:jr,prefixCls:Bt,ref:Me,omitDomProps:pn,mode:St,displayValues:Or,onDisplayValuesChange:ji,direction:Er,searchValue:zr,onSearch:Qr,autoClearSearchValue:zn,onSearchSplit:xo,dropdownMatchSelectWidth:Hn,OptionList:Vn,emptyOptions:!xi.length,activeValue:eo,activeDescendantId:"".concat(jr,"_list_").concat(fi)})))}),Ut=rt;Ut.Option=Dt,Ut.OptGroup=kt;var vn=Ut,Pn=vn},63158:function(Tt,zt,de){"use strict";var ne=de(32855),$e=de(74430),Le=de(11913),Re=de(43079),ge=de(59301),me=de(92310),Te=de.n(me),Ce=de(18929),we=de(10228),he=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Qe=ge.forwardRef(function(ve,ot){var We,De=ve.prefixCls,Fe=De===void 0?"rc-switch":De,Be=ve.className,st=ve.checked,ht=ve.defaultChecked,nt=ve.disabled,Ge=ve.loadingIcon,Xe=ve.checkedChildren,Je=ve.unCheckedChildren,Ke=ve.onClick,Lt=ve.onChange,Ue=ve.onKeyDown,Ne=(0,Re.Z)(ve,he),et=(0,Ce.Z)(!1,{value:st,defaultValue:ht}),Ee=(0,Le.Z)(et,2),Ve=Ee[0],Se=Ee[1];function He(ut,pe){var ce=Ve;return nt||(ce=ut,Se(ce),Lt==null||Lt(ce,pe)),ce}function Pt(ut){ut.which===we.Z.LEFT?He(!1,ut):ut.which===we.Z.RIGHT&&He(!0,ut),Ue==null||Ue(ut)}function gt(ut){var pe=He(!Ve,ut);Ke==null||Ke(pe,ut)}var bt=Te()(Fe,Be,(We={},(0,$e.Z)(We,"".concat(Fe,"-checked"),Ve),(0,$e.Z)(We,"".concat(Fe,"-disabled"),nt),We));return ge.createElement("button",(0,ne.Z)({},Ne,{type:"button",role:"switch","aria-checked":Ve,disabled:nt,className:bt,ref:ot,onKeyDown:Pt,onClick:gt}),Ge,ge.createElement("span",{className:"".concat(Fe,"-inner")},ge.createElement("span",{className:"".concat(Fe,"-inner-checked")},Xe),ge.createElement("span",{className:"".concat(Fe,"-inner-unchecked")},Je)))});Qe.displayName="Switch",zt.Z=Qe},22711:function(Tt,zt,de){"use strict";de.r(zt),de.d(zt,{ResizableTextArea:function(){return Ee},default:function(){return Pt}});var ne=de(32855),$e=de(74430),Le=de(27247),Re=de(3300),ge=de(11913),me=de(43079),Te=de(92310),Ce=de.n(Te),we=de(36901),he=de(66003),Qe=de(30292),ve=de(18929),ot=de(59301),We=de(34666),De=de(29301),Fe=de(34280),Be=de(16089),st=`
|
|
min-height:0 !important;
|
|
max-height:none !important;
|
|
height:0 !important;
|
|
visibility:hidden !important;
|
|
overflow:hidden !important;
|
|
position:absolute !important;
|
|
z-index:-1000 !important;
|
|
top:0 !important;
|
|
right:0 !important;
|
|
pointer-events: none !important;
|
|
`,ht=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],nt={},Ge;function Xe(gt){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ut=gt.getAttribute("id")||gt.getAttribute("data-reactid")||gt.getAttribute("name");if(bt&&nt[ut])return nt[ut];var pe=window.getComputedStyle(gt),ce=pe.getPropertyValue("box-sizing")||pe.getPropertyValue("-moz-box-sizing")||pe.getPropertyValue("-webkit-box-sizing"),ze=parseFloat(pe.getPropertyValue("padding-bottom"))+parseFloat(pe.getPropertyValue("padding-top")),dt=parseFloat(pe.getPropertyValue("border-bottom-width"))+parseFloat(pe.getPropertyValue("border-top-width")),ct=ht.map(function(Ye){return"".concat(Ye,":").concat(pe.getPropertyValue(Ye))}).join(";"),be={sizingStyle:ct,paddingSize:ze,borderSize:dt,boxSizing:ce};return bt&&ut&&(nt[ut]=be),be}function Je(gt){var bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ut=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,pe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;Ge||(Ge=document.createElement("textarea"),Ge.setAttribute("tab-index","-1"),Ge.setAttribute("aria-hidden","true"),Ge.setAttribute("name","hiddenTextarea"),document.body.appendChild(Ge)),gt.getAttribute("wrap")?Ge.setAttribute("wrap",gt.getAttribute("wrap")):Ge.removeAttribute("wrap");var ce=Xe(gt,bt),ze=ce.paddingSize,dt=ce.borderSize,ct=ce.boxSizing,be=ce.sizingStyle;Ge.setAttribute("style","".concat(be,";").concat(st)),Ge.value=gt.value||gt.placeholder||"";var Ye=void 0,Ie=void 0,Ct,qe=Ge.scrollHeight;if(ct==="border-box"?qe+=dt:ct==="content-box"&&(qe-=ze),ut!==null||pe!==null){Ge.value=" ";var wt=Ge.scrollHeight-ze;ut!==null&&(Ye=wt*ut,ct==="border-box"&&(Ye=Ye+ze+dt),qe=Math.max(Ye,qe)),pe!==null&&(Ie=wt*pe,ct==="border-box"&&(Ie=Ie+ze+dt),Ct=qe>Ie?"":"hidden",qe=Math.min(Ie,qe))}var Pe={height:qe,overflowY:Ct,resize:"none"};return Ye&&(Pe.minHeight=Ye),Ie&&(Pe.maxHeight=Ie),Pe}var Ke=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Lt=0,Ue=1,Ne=2,et=ot.forwardRef(function(gt,bt){var ut=gt,pe=ut.prefixCls,ce=ut.defaultValue,ze=ut.value,dt=ut.autoSize,ct=ut.onResize,be=ut.className,Ye=ut.style,Ie=ut.disabled,Ct=ut.onChange,qe=ut.onInternalAutoSize,wt=(0,me.Z)(ut,Ke),Pe=(0,ve.Z)(ce,{value:ze,postState:function(Dt){return Dt!=null?Dt:""}}),lt=(0,ge.Z)(Pe,2),pt=lt[0],ae=lt[1],ee=function(Dt){ae(Dt.target.value),Ct==null||Ct(Dt)},z=ot.useRef();ot.useImperativeHandle(bt,function(){return{textArea:z.current}});var ie=ot.useMemo(function(){return dt&&(0,We.Z)(dt)==="object"?[dt.minRows,dt.maxRows]:[]},[dt]),le=(0,ge.Z)(ie,2),re=le[0],ye=le[1],Oe=!!dt,Et=function(){try{if(document.activeElement===z.current){var Dt=z.current,cn=Dt.selectionStart,Xt=Dt.selectionEnd,fn=Dt.scrollTop;z.current.setSelectionRange(cn,Xt),z.current.scrollTop=fn}}catch(Nn){}},yt=ot.useState(Ne),at=(0,ge.Z)(yt,2),mt=at[0],It=at[1],Wt=ot.useState(),Yt=(0,ge.Z)(Wt,2),Jt=Yt[0],xt=Yt[1],dn=function(){It(Lt)};(0,Fe.Z)(function(){Oe&&dn()},[ze,re,ye,Oe]),(0,Fe.Z)(function(){if(mt===Lt)It(Ue);else if(mt===Ue){var Ot=Je(z.current,!1,re,ye);It(Ne),xt(Ot)}else Et()},[mt]);var ft=ot.useRef(),Nt=function(){Be.Z.cancel(ft.current)},tt=function(Dt){mt===Ne&&(ct==null||ct(Dt),dt&&(Nt(),ft.current=(0,Be.Z)(function(){dn()})))};ot.useEffect(function(){return Nt},[]);var Qt=Oe?Jt:null,kt=(0,Le.Z)((0,Le.Z)({},Ye),Qt);return(mt===Lt||mt===Ue)&&(kt.overflowY="hidden",kt.overflowX="hidden"),ot.createElement(De.Z,{onResize:tt,disabled:!(dt||ct)},ot.createElement("textarea",(0,ne.Z)({},wt,{ref:z,style:kt,className:Ce()(pe,be,(0,$e.Z)({},"".concat(pe,"-disabled"),Ie)),disabled:Ie,value:pt,onChange:ee})))}),Ee=et,Ve=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],Se=ot.forwardRef(function(gt,bt){var ut,pe=gt.defaultValue,ce=gt.value,ze=gt.onFocus,dt=gt.onBlur,ct=gt.onChange,be=gt.allowClear,Ye=gt.maxLength,Ie=gt.onCompositionStart,Ct=gt.onCompositionEnd,qe=gt.suffix,wt=gt.prefixCls,Pe=wt===void 0?"rc-textarea":wt,lt=gt.showCount,pt=gt.count,ae=gt.className,ee=gt.style,z=gt.disabled,ie=gt.hidden,le=gt.classNames,re=gt.styles,ye=gt.onResize,Oe=gt.onClear,Et=gt.onPressEnter,yt=gt.readOnly,at=gt.autoSize,mt=gt.onKeyDown,It=(0,me.Z)(gt,Ve),Wt=(0,ve.Z)(pe,{value:ce,defaultValue:pe}),Yt=(0,ge.Z)(Wt,2),Jt=Yt[0],xt=Yt[1],dn=Jt==null?"":String(Jt),ft=ot.useState(!1),Nt=(0,ge.Z)(ft,2),tt=Nt[0],Qt=Nt[1],kt=ot.useRef(!1),Ot=ot.useState(null),Dt=(0,ge.Z)(Ot,2),cn=Dt[0],Xt=Dt[1],fn=(0,ot.useRef)(null),Nn=(0,ot.useRef)(null),Tn=function(){var Ut;return(Ut=Nn.current)===null||Ut===void 0?void 0:Ut.textArea},or=function(){Tn().focus()};(0,ot.useImperativeHandle)(bt,function(){var rt;return{resizableTextArea:Nn.current,focus:or,blur:function(){Tn().blur()},nativeElement:((rt=fn.current)===null||rt===void 0?void 0:rt.nativeElement)||Tn()}}),(0,ot.useEffect)(function(){Qt(function(rt){return!z&&rt})},[z]);var vr=ot.useState(null),lr=(0,ge.Z)(vr,2),Vn=lr[0],hn=lr[1];ot.useEffect(function(){if(Vn){var rt;(rt=Tn()).setSelectionRange.apply(rt,(0,Re.Z)(Vn))}},[Vn]);var Xn=(0,he.Z)(pt,lt),Rn=(ut=Xn.max)!==null&&ut!==void 0?ut:Ye,Bn=Number(Rn)>0,Zn=Xn.strategy(dn),Ft=!!Rn&&Zn>Rn,jt=function(Ut,vn){var Pn=vn;!kt.current&&Xn.exceedFormatter&&Xn.max&&Xn.strategy(vn)>Xn.max&&(Pn=Xn.exceedFormatter(vn,{max:Xn.max}),vn!==Pn&&hn([Tn().selectionStart||0,Tn().selectionEnd||0])),xt(Pn),(0,Qe.rJ)(Ut.currentTarget,Ut,ct,Pn)},vt=function(Ut){kt.current=!0,Ie==null||Ie(Ut)},At=function(Ut){kt.current=!1,jt(Ut,Ut.currentTarget.value),Ct==null||Ct(Ut)},qt=function(Ut){jt(Ut,Ut.target.value)},sn=function(Ut){Ut.key==="Enter"&&Et&&Et(Ut),mt==null||mt(Ut)},an=function(Ut){Qt(!0),ze==null||ze(Ut)},En=function(Ut){Qt(!1),dt==null||dt(Ut)},Fn=function(Ut){xt(""),or(),(0,Qe.rJ)(Tn(),Ut,ct)},Mn=qe,wn;Xn.show&&(Xn.showFormatter?wn=Xn.showFormatter({value:dn,count:Zn,maxLength:Rn}):wn="".concat(Zn).concat(Bn?" / ".concat(Rn):""),Mn=ot.createElement(ot.Fragment,null,Mn,ot.createElement("span",{className:Ce()("".concat(Pe,"-data-count"),le==null?void 0:le.count),style:re==null?void 0:re.count},wn)));var pn=function(Ut){var vn;ye==null||ye(Ut),(vn=Tn())!==null&&vn!==void 0&&vn.style.height&&Xt(!0)},Ht=!at&&!lt&&!be;return ot.createElement(we.BaseInput,{ref:fn,value:dn,allowClear:be,handleReset:Fn,suffix:Mn,prefixCls:Pe,classNames:(0,Le.Z)((0,Le.Z)({},le),{},{affixWrapper:Ce()(le==null?void 0:le.affixWrapper,(0,$e.Z)((0,$e.Z)({},"".concat(Pe,"-show-count"),lt),"".concat(Pe,"-textarea-allow-clear"),be))}),disabled:z,focused:tt,className:Ce()(ae,Ft&&"".concat(Pe,"-out-of-range")),style:(0,Le.Z)((0,Le.Z)({},ee),cn&&!Ht?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof wn=="string"?wn:void 0}},hidden:ie,readOnly:yt,onClear:Oe},ot.createElement(Ee,(0,ne.Z)({},It,{autoSize:at,maxLength:Ye,onKeyDown:sn,onChange:qt,onFocus:an,onBlur:En,onCompositionStart:vt,onCompositionEnd:At,className:Ce()(le==null?void 0:le.textarea),style:(0,Le.Z)((0,Le.Z)({},re==null?void 0:re.textarea),{},{resize:ee==null?void 0:ee.resize}),disabled:z,prefixCls:Pe,onResize:pn,ref:Nn,readOnly:yt})))}),He=Se,Pt=He},90472:function(Tt,zt,de){"use strict";de.d(zt,{Z:function(){return gt}});var ne=de(32855),$e=de(33377),Le=de(93912),Re=de(83383),ge=de(18881),me=de(85461),Te=de(74430),Ce=de(59301),we=de(27247),he=de(43079),Qe=de(34666),ve=de(13932),ot=de(68702),We=de(3300),De=de(92310),Fe=de.n(De),Be=de(26112),st=de(48736),ht=function(bt,ut){if(bt&&ut){var pe=Array.isArray(ut)?ut:ut.split(","),ce=bt.name||"",ze=bt.type||"",dt=ze.replace(/\/.*$/,"");return pe.some(function(ct){var be=ct.trim();if(/^\*(\/\*)?$/.test(ct))return!0;if(be.charAt(0)==="."){var Ye=ce.toLowerCase(),Ie=be.toLowerCase(),Ct=[Ie];return(Ie===".jpg"||Ie===".jpeg")&&(Ct=[".jpg",".jpeg"]),Ct.some(function(qe){return Ye.endsWith(qe)})}return/\/\*$/.test(be)?dt===be.replace(/\/.*$/,""):ze===be?!0:/^\w+$/.test(be)?((0,st.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(be,"'.Skip for check.")),!0):!1})}return!0};function nt(bt,ut){var pe="cannot ".concat(bt.method," ").concat(bt.action," ").concat(ut.status,"'"),ce=new Error(pe);return ce.status=ut.status,ce.method=bt.method,ce.url=bt.action,ce}function Ge(bt){var ut=bt.responseText||bt.response;if(!ut)return ut;try{return JSON.parse(ut)}catch(pe){return ut}}function Xe(bt){var ut=new XMLHttpRequest;bt.onProgress&&ut.upload&&(ut.upload.onprogress=function(dt){dt.total>0&&(dt.percent=dt.loaded/dt.total*100),bt.onProgress(dt)});var pe=new FormData;bt.data&&Object.keys(bt.data).forEach(function(ze){var dt=bt.data[ze];if(Array.isArray(dt)){dt.forEach(function(ct){pe.append("".concat(ze,"[]"),ct)});return}pe.append(ze,dt)}),bt.file instanceof Blob?pe.append(bt.filename,bt.file,bt.file.name):pe.append(bt.filename,bt.file),ut.onerror=function(dt){bt.onError(dt)},ut.onload=function(){return ut.status<200||ut.status>=300?bt.onError(nt(bt,ut),Ge(ut)):bt.onSuccess(Ge(ut),ut)},ut.open(bt.method,bt.action,!0),bt.withCredentials&&"withCredentials"in ut&&(ut.withCredentials=!0);var ce=bt.headers||{};return ce["X-Requested-With"]!==null&&ut.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(ce).forEach(function(ze){ce[ze]!==null&&ut.setRequestHeader(ze,ce[ze])}),ut.send(pe),{abort:function(){ut.abort()}}}var Je=function(){var bt=(0,ot.Z)((0,ve.Z)().mark(function ut(pe,ce){var ze,dt,ct,be,Ye,Ie,Ct,qe;return(0,ve.Z)().wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:Ie=function(){return Ie=(0,ot.Z)((0,ve.Z)().mark(function pt(ae){return(0,ve.Z)().wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return z.abrupt("return",new Promise(function(ie){ae.file(function(le){ce(le)?(ae.fullPath&&!le.webkitRelativePath&&(Object.defineProperties(le,{webkitRelativePath:{writable:!0}}),le.webkitRelativePath=ae.fullPath.replace(/^\//,""),Object.defineProperties(le,{webkitRelativePath:{writable:!1}})),ie(le)):ie(null)})}));case 1:case"end":return z.stop()}},pt)})),Ie.apply(this,arguments)},Ye=function(pt){return Ie.apply(this,arguments)},be=function(){return be=(0,ot.Z)((0,ve.Z)().mark(function pt(ae){var ee,z,ie,le,re;return(0,ve.Z)().wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:ee=ae.createReader(),z=[];case 2:return Oe.next=5,new Promise(function(Et){ee.readEntries(Et,function(){return Et([])})});case 5:if(ie=Oe.sent,le=ie.length,le){Oe.next=9;break}return Oe.abrupt("break",12);case 9:for(re=0;re<le;re++)z.push(ie[re]);Oe.next=2;break;case 12:return Oe.abrupt("return",z);case 13:case"end":return Oe.stop()}},pt)})),be.apply(this,arguments)},ct=function(pt){return be.apply(this,arguments)},ze=[],dt=[],pe.forEach(function(lt){return dt.push(lt.webkitGetAsEntry())}),Ct=function(){var lt=(0,ot.Z)((0,ve.Z)().mark(function pt(ae,ee){var z,ie;return(0,ve.Z)().wrap(function(re){for(;;)switch(re.prev=re.next){case 0:if(ae){re.next=2;break}return re.abrupt("return");case 2:if(ae.path=ee||"",!ae.isFile){re.next=10;break}return re.next=6,Ye(ae);case 6:z=re.sent,z&&ze.push(z),re.next=15;break;case 10:if(!ae.isDirectory){re.next=15;break}return re.next=13,ct(ae);case 13:ie=re.sent,dt.push.apply(dt,(0,We.Z)(ie));case 15:case"end":return re.stop()}},pt)}));return function(ae,ee){return lt.apply(this,arguments)}}(),qe=0;case 9:if(!(qe<dt.length)){Pe.next=15;break}return Pe.next=12,Ct(dt[qe]);case 12:qe++,Pe.next=9;break;case 15:return Pe.abrupt("return",ze);case 16:case"end":return Pe.stop()}},ut)}));return function(pe,ce){return bt.apply(this,arguments)}}(),Ke=Je,Lt=+new Date,Ue=0;function Ne(){return"rc-upload-".concat(Lt,"-").concat(++Ue)}var et=["component","prefixCls","className","classNames","disabled","id","name","style","styles","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave","hasControlInside"],Ee=function(bt){(0,ge.Z)(pe,bt);var ut=(0,me.Z)(pe);function pe(){var ce;(0,$e.Z)(this,pe);for(var ze=arguments.length,dt=new Array(ze),ct=0;ct<ze;ct++)dt[ct]=arguments[ct];return ce=ut.call.apply(ut,[this].concat(dt)),(0,Te.Z)((0,Re.Z)(ce),"state",{uid:Ne()}),(0,Te.Z)((0,Re.Z)(ce),"reqs",{}),(0,Te.Z)((0,Re.Z)(ce),"fileInput",void 0),(0,Te.Z)((0,Re.Z)(ce),"_isMounted",void 0),(0,Te.Z)((0,Re.Z)(ce),"onChange",function(be){var Ye=ce.props,Ie=Ye.accept,Ct=Ye.directory,qe=be.target.files,wt=(0,We.Z)(qe).filter(function(Pe){return!Ct||ht(Pe,Ie)});ce.uploadFiles(wt),ce.reset()}),(0,Te.Z)((0,Re.Z)(ce),"onClick",function(be){var Ye=ce.fileInput;if(Ye){var Ie=be.target,Ct=ce.props.onClick;if(Ie&&Ie.tagName==="BUTTON"){var qe=Ye.parentNode;qe.focus(),Ie.blur()}Ye.click(),Ct&&Ct(be)}}),(0,Te.Z)((0,Re.Z)(ce),"onKeyDown",function(be){be.key==="Enter"&&ce.onClick(be)}),(0,Te.Z)((0,Re.Z)(ce),"onFileDrop",function(){var be=(0,ot.Z)((0,ve.Z)().mark(function Ye(Ie){var Ct,qe,wt;return(0,ve.Z)().wrap(function(lt){for(;;)switch(lt.prev=lt.next){case 0:if(Ct=ce.props.multiple,Ie.preventDefault(),Ie.type!=="dragover"){lt.next=4;break}return lt.abrupt("return");case 4:if(!ce.props.directory){lt.next=11;break}return lt.next=7,Ke(Array.prototype.slice.call(Ie.dataTransfer.items),function(pt){return ht(pt,ce.props.accept)});case 7:qe=lt.sent,ce.uploadFiles(qe),lt.next=14;break;case 11:wt=(0,We.Z)(Ie.dataTransfer.files).filter(function(pt){return ht(pt,ce.props.accept)}),Ct===!1&&(wt=wt.slice(0,1)),ce.uploadFiles(wt);case 14:case"end":return lt.stop()}},Ye)}));return function(Ye){return be.apply(this,arguments)}}()),(0,Te.Z)((0,Re.Z)(ce),"uploadFiles",function(be){var Ye=(0,We.Z)(be),Ie=Ye.map(function(Ct){return Ct.uid=Ne(),ce.processFile(Ct,Ye)});Promise.all(Ie).then(function(Ct){var qe=ce.props.onBatchStart;qe==null||qe(Ct.map(function(wt){var Pe=wt.origin,lt=wt.parsedFile;return{file:Pe,parsedFile:lt}})),Ct.filter(function(wt){return wt.parsedFile!==null}).forEach(function(wt){ce.post(wt)})})}),(0,Te.Z)((0,Re.Z)(ce),"processFile",function(){var be=(0,ot.Z)((0,ve.Z)().mark(function Ye(Ie,Ct){var qe,wt,Pe,lt,pt,ae,ee,z,ie;return(0,ve.Z)().wrap(function(re){for(;;)switch(re.prev=re.next){case 0:if(qe=ce.props.beforeUpload,wt=Ie,!qe){re.next=14;break}return re.prev=3,re.next=6,qe(Ie,Ct);case 6:wt=re.sent,re.next=12;break;case 9:re.prev=9,re.t0=re.catch(3),wt=!1;case 12:if(wt!==!1){re.next=14;break}return re.abrupt("return",{origin:Ie,parsedFile:null,action:null,data:null});case 14:if(Pe=ce.props.action,typeof Pe!="function"){re.next=21;break}return re.next=18,Pe(Ie);case 18:lt=re.sent,re.next=22;break;case 21:lt=Pe;case 22:if(pt=ce.props.data,typeof pt!="function"){re.next=29;break}return re.next=26,pt(Ie);case 26:ae=re.sent,re.next=30;break;case 29:ae=pt;case 30:return ee=((0,Qe.Z)(wt)==="object"||typeof wt=="string")&&wt?wt:Ie,ee instanceof File?z=ee:z=new File([ee],Ie.name,{type:Ie.type}),ie=z,ie.uid=Ie.uid,re.abrupt("return",{origin:Ie,data:ae,parsedFile:ie,action:lt});case 35:case"end":return re.stop()}},Ye,null,[[3,9]])}));return function(Ye,Ie){return be.apply(this,arguments)}}()),(0,Te.Z)((0,Re.Z)(ce),"saveFileInput",function(be){ce.fileInput=be}),ce}return(0,Le.Z)(pe,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function(ze){var dt=this,ct=ze.data,be=ze.origin,Ye=ze.action,Ie=ze.parsedFile;if(this._isMounted){var Ct=this.props,qe=Ct.onStart,wt=Ct.customRequest,Pe=Ct.name,lt=Ct.headers,pt=Ct.withCredentials,ae=Ct.method,ee=be.uid,z=wt||Xe,ie={action:Ye,filename:Pe,data:ct,file:Ie,headers:lt,withCredentials:pt,method:ae||"post",onProgress:function(re){var ye=dt.props.onProgress;ye==null||ye(re,Ie)},onSuccess:function(re,ye){var Oe=dt.props.onSuccess;Oe==null||Oe(re,Ie,ye),delete dt.reqs[ee]},onError:function(re,ye){var Oe=dt.props.onError;Oe==null||Oe(re,ye,Ie),delete dt.reqs[ee]}};qe(be),this.reqs[ee]=z(ie)}}},{key:"reset",value:function(){this.setState({uid:Ne()})}},{key:"abort",value:function(ze){var dt=this.reqs;if(ze){var ct=ze.uid?ze.uid:ze;dt[ct]&&dt[ct].abort&&dt[ct].abort(),delete dt[ct]}else Object.keys(dt).forEach(function(be){dt[be]&&dt[be].abort&&dt[be].abort(),delete dt[be]})}},{key:"render",value:function(){var ze=this.props,dt=ze.component,ct=ze.prefixCls,be=ze.className,Ye=ze.classNames,Ie=Ye===void 0?{}:Ye,Ct=ze.disabled,qe=ze.id,wt=ze.name,Pe=ze.style,lt=ze.styles,pt=lt===void 0?{}:lt,ae=ze.multiple,ee=ze.accept,z=ze.capture,ie=ze.children,le=ze.directory,re=ze.openFileDialogOnClick,ye=ze.onMouseEnter,Oe=ze.onMouseLeave,Et=ze.hasControlInside,yt=(0,he.Z)(ze,et),at=Fe()((0,Te.Z)((0,Te.Z)((0,Te.Z)({},ct,!0),"".concat(ct,"-disabled"),Ct),be,be)),mt=le?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},It=Ct?{}:{onClick:re?this.onClick:function(){},onKeyDown:re?this.onKeyDown:function(){},onMouseEnter:ye,onMouseLeave:Oe,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:Et?void 0:"0"};return Ce.createElement(dt,(0,ne.Z)({},It,{className:at,role:Et?void 0:"button",style:Pe}),Ce.createElement("input",(0,ne.Z)({},(0,Be.Z)(yt,{aria:!0,data:!0}),{id:qe,name:wt,disabled:Ct,type:"file",ref:this.saveFileInput,onClick:function(Yt){return Yt.stopPropagation()},key:this.state.uid,style:(0,we.Z)({display:"none"},pt.input),className:Ie.input,accept:ee},mt,{multiple:ae,onChange:this.onChange},z!=null?{capture:z}:{})),ie)}}]),pe}(Ce.Component),Ve=Ee;function Se(){}var He=function(bt){(0,ge.Z)(pe,bt);var ut=(0,me.Z)(pe);function pe(){var ce;(0,$e.Z)(this,pe);for(var ze=arguments.length,dt=new Array(ze),ct=0;ct<ze;ct++)dt[ct]=arguments[ct];return ce=ut.call.apply(ut,[this].concat(dt)),(0,Te.Z)((0,Re.Z)(ce),"uploader",void 0),(0,Te.Z)((0,Re.Z)(ce),"saveUploader",function(be){ce.uploader=be}),ce}return(0,Le.Z)(pe,[{key:"abort",value:function(ze){this.uploader.abort(ze)}},{key:"render",value:function(){return Ce.createElement(Ve,(0,ne.Z)({},this.props,{ref:this.saveUploader}))}}]),pe}(Ce.Component);(0,Te.Z)(He,"defaultProps",{component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:Se,onError:Se,onSuccess:Se,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0,hasControlInside:!1});var Pt=He,gt=Pt},6790:function(Tt,zt,de){"use strict";de.d(zt,{Z:function(){return pt}});var ne=de(32855),$e=de(34666),Le=de(27247),Re=de(74430),ge=de(11913),me=de(43079),Te=de(92310),Ce=de.n(Te),we=de(29301),he=de(70425),Qe=de(34280),ve=de(59301),ot=de(4676),We=ve.forwardRef(function(ae,ee){var z=ae.height,ie=ae.offsetY,le=ae.offsetX,re=ae.children,ye=ae.prefixCls,Oe=ae.onInnerResize,Et=ae.innerProps,yt=ae.rtl,at=ae.extra,mt={},It={display:"flex",flexDirection:"column"};return ie!==void 0&&(mt={height:z,position:"relative",overflow:"hidden"},It=(0,Le.Z)((0,Le.Z)({},It),{},(0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)((0,Re.Z)({transform:"translateY(".concat(ie,"px)")},yt?"marginRight":"marginLeft",-le),"position","absolute"),"left",0),"right",0),"top",0))),ve.createElement("div",{style:mt},ve.createElement(we.Z,{onResize:function(Yt){var Jt=Yt.offsetHeight;Jt&&Oe&&Oe()}},ve.createElement("div",(0,ne.Z)({style:It,className:Ce()((0,Re.Z)({},"".concat(ye,"-holder-inner"),ye)),ref:ee},Et),re,at)))});We.displayName="Filler";var De=We;function Fe(ae){var ee=ae.children,z=ae.setRef,ie=ve.useCallback(function(le){z(le)},[]);return ve.cloneElement(ee,{ref:ie})}function Be(ae,ee,z,ie,le,re,ye,Oe){var Et=Oe.getKey;return ae.slice(ee,z+1).map(function(yt,at){var mt=ee+at,It=ye(yt,mt,{style:{width:ie},offsetX:le}),Wt=Et(yt);return ve.createElement(Fe,{key:Wt,setRef:function(Jt){return re(yt,Jt)}},It)})}function st(ae,ee,z,ie){var le=z-ae,re=ee-z,ye=Math.min(le,re)*2;if(ie<=ye){var Oe=Math.floor(ie/2);return ie%2?z+Oe+1:z-Oe}return le>re?z-(ie-re):z+(ie-le)}function ht(ae,ee,z){var ie=ae.length,le=ee.length,re,ye;if(ie===0&&le===0)return null;ie<le?(re=ae,ye=ee):(re=ee,ye=ae);var Oe={__EMPTY_ITEM__:!0};function Et(Yt){return Yt!==void 0?z(Yt):Oe}for(var yt=null,at=Math.abs(ie-le)!==1,mt=0;mt<ye.length;mt+=1){var It=Et(re[mt]),Wt=Et(ye[mt]);if(It!==Wt){yt=mt,at=at||It!==Et(ye[mt+1]);break}}return yt===null?null:{index:yt,multiple:at}}function nt(ae,ee,z){var ie=ve.useState(ae),le=(0,ge.Z)(ie,2),re=le[0],ye=le[1],Oe=ve.useState(null),Et=(0,ge.Z)(Oe,2),yt=Et[0],at=Et[1];return ve.useEffect(function(){var mt=ht(re||[],ae||[],ee);(mt==null?void 0:mt.index)!==void 0&&(z==null||z(mt.index),at(ae[mt.index])),ye(ae)},[ae]),[yt]}var Ge=de(16089),Xe=(typeof navigator=="undefined"?"undefined":(0,$e.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),Je=Xe,Ke=function(ae,ee,z,ie){var le=(0,ve.useRef)(!1),re=(0,ve.useRef)(null);function ye(){clearTimeout(re.current),le.current=!0,re.current=setTimeout(function(){le.current=!1},50)}var Oe=(0,ve.useRef)({top:ae,bottom:ee,left:z,right:ie});return Oe.current.top=ae,Oe.current.bottom=ee,Oe.current.left=z,Oe.current.right=ie,function(Et,yt){var at=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,mt=Et?yt<0&&Oe.current.left||yt>0&&Oe.current.right:yt<0&&Oe.current.top||yt>0&&Oe.current.bottom;return at&&mt?(clearTimeout(re.current),le.current=!1):(!mt||le.current)&&ye(),!le.current&&mt}};function Lt(ae,ee,z,ie,le,re,ye){var Oe=(0,ve.useRef)(0),Et=(0,ve.useRef)(null),yt=(0,ve.useRef)(null),at=(0,ve.useRef)(!1),mt=Ke(ee,z,ie,le);function It(ft,Nt){if(Ge.Z.cancel(Et.current),!mt(!1,Nt)){var tt=ft;if(!tt._virtualHandled)tt._virtualHandled=!0;else return;Oe.current+=Nt,yt.current=Nt,Je||tt.preventDefault(),Et.current=(0,Ge.Z)(function(){var Qt=at.current?10:1;ye(Oe.current*Qt,!1),Oe.current=0})}}function Wt(ft,Nt){ye(Nt,!0),Je||ft.preventDefault()}var Yt=(0,ve.useRef)(null),Jt=(0,ve.useRef)(null);function xt(ft){if(ae){Ge.Z.cancel(Jt.current),Jt.current=(0,Ge.Z)(function(){Yt.current=null},2);var Nt=ft.deltaX,tt=ft.deltaY,Qt=ft.shiftKey,kt=Nt,Ot=tt;(Yt.current==="sx"||!Yt.current&&Qt&&tt&&!Nt)&&(kt=tt,Ot=0,Yt.current="sx");var Dt=Math.abs(kt),cn=Math.abs(Ot);Yt.current===null&&(Yt.current=re&&Dt>cn?"x":"y"),Yt.current==="y"?It(ft,Ot):Wt(ft,kt)}}function dn(ft){ae&&(at.current=ft.detail===yt.current)}return[xt,dn]}function Ue(ae,ee,z,ie){var le=ve.useMemo(function(){return[new Map,[]]},[ae,z.id,ie]),re=(0,ge.Z)(le,2),ye=re[0],Oe=re[1],Et=function(at){var mt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:at,It=ye.get(at),Wt=ye.get(mt);if(It===void 0||Wt===void 0)for(var Yt=ae.length,Jt=Oe.length;Jt<Yt;Jt+=1){var xt,dn=ae[Jt],ft=ee(dn);ye.set(ft,Jt);var Nt=(xt=z.get(ft))!==null&&xt!==void 0?xt:ie;if(Oe[Jt]=(Oe[Jt-1]||0)+Nt,ft===at&&(It=Jt),ft===mt&&(Wt=Jt),It!==void 0&&Wt!==void 0)break}return{top:Oe[It-1]||0,bottom:Oe[Wt]}};return Et}var Ne=de(33377),et=de(93912),Ee=function(){function ae(){(0,Ne.Z)(this,ae),(0,Re.Z)(this,"maps",void 0),(0,Re.Z)(this,"id",0),(0,Re.Z)(this,"diffRecords",new Map),this.maps=Object.create(null)}return(0,et.Z)(ae,[{key:"set",value:function(z,ie){this.diffRecords.set(z,this.maps[z]),this.maps[z]=ie,this.id+=1}},{key:"get",value:function(z){return this.maps[z]}},{key:"resetRecord",value:function(){this.diffRecords.clear()}},{key:"getRecord",value:function(){return this.diffRecords}}]),ae}(),Ve=Ee;function Se(ae){var ee=parseFloat(ae);return isNaN(ee)?0:ee}function He(ae,ee,z){var ie=ve.useState(0),le=(0,ge.Z)(ie,2),re=le[0],ye=le[1],Oe=(0,ve.useRef)(new Map),Et=(0,ve.useRef)(new Ve),yt=(0,ve.useRef)(0);function at(){yt.current+=1}function mt(){var Wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;at();var Yt=function(){var dn=!1;Oe.current.forEach(function(ft,Nt){if(ft&&ft.offsetParent){var tt=ft.offsetHeight,Qt=getComputedStyle(ft),kt=Qt.marginTop,Ot=Qt.marginBottom,Dt=Se(kt),cn=Se(Ot),Xt=tt+Dt+cn;Et.current.get(Nt)!==Xt&&(Et.current.set(Nt,Xt),dn=!0)}}),dn&&ye(function(ft){return ft+1})};if(Wt)Yt();else{yt.current+=1;var Jt=yt.current;Promise.resolve().then(function(){Jt===yt.current&&Yt()})}}function It(Wt,Yt){var Jt=ae(Wt),xt=Oe.current.get(Jt);Yt?(Oe.current.set(Jt,Yt),mt()):Oe.current.delete(Jt),!xt!=!Yt&&(Yt?ee==null||ee(Wt):z==null||z(Wt))}return(0,ve.useEffect)(function(){return at},[]),[It,mt,Et.current,re]}var Pt=14/15;function gt(ae,ee,z){var ie=(0,ve.useRef)(!1),le=(0,ve.useRef)(0),re=(0,ve.useRef)(0),ye=(0,ve.useRef)(null),Oe=(0,ve.useRef)(null),Et,yt=function(Wt){if(ie.current){var Yt=Math.ceil(Wt.touches[0].pageX),Jt=Math.ceil(Wt.touches[0].pageY),xt=le.current-Yt,dn=re.current-Jt,ft=Math.abs(xt)>Math.abs(dn);ft?le.current=Yt:re.current=Jt;var Nt=z(ft,ft?xt:dn,!1,Wt);Nt&&Wt.preventDefault(),clearInterval(Oe.current),Nt&&(Oe.current=setInterval(function(){ft?xt*=Pt:dn*=Pt;var tt=Math.floor(ft?xt:dn);(!z(ft,tt,!0)||Math.abs(tt)<=.1)&&clearInterval(Oe.current)},16))}},at=function(){ie.current=!1,Et()},mt=function(Wt){Et(),Wt.touches.length===1&&!ie.current&&(ie.current=!0,le.current=Math.ceil(Wt.touches[0].pageX),re.current=Math.ceil(Wt.touches[0].pageY),ye.current=Wt.target,ye.current.addEventListener("touchmove",yt,{passive:!1}),ye.current.addEventListener("touchend",at,{passive:!0}))};Et=function(){ye.current&&(ye.current.removeEventListener("touchmove",yt),ye.current.removeEventListener("touchend",at))},(0,Qe.Z)(function(){return ae&&ee.current.addEventListener("touchstart",mt,{passive:!0}),function(){var It;(It=ee.current)===null||It===void 0||It.removeEventListener("touchstart",mt),Et(),clearInterval(Oe.current)}},[ae])}function bt(ae){return Math.floor(Math.pow(ae,.5))}function ut(ae,ee){var z="touches"in ae?ae.touches[0]:ae;return z[ee?"pageX":"pageY"]-window[ee?"scrollX":"scrollY"]}function pe(ae,ee,z){ve.useEffect(function(){var ie=ee.current;if(ae&&ie){var le=!1,re,ye,Oe=function(){Ge.Z.cancel(re)},Et=function It(){Oe(),re=(0,Ge.Z)(function(){z(ye),It()})},yt=function(Wt){if(!(Wt.target.draggable||Wt.button!==0)){var Yt=Wt;Yt._virtualHandled||(Yt._virtualHandled=!0,le=!0)}},at=function(){le=!1,Oe()},mt=function(Wt){if(le){var Yt=ut(Wt,!1),Jt=ie.getBoundingClientRect(),xt=Jt.top,dn=Jt.bottom;if(Yt<=xt){var ft=xt-Yt;ye=-bt(ft),Et()}else if(Yt>=dn){var Nt=Yt-dn;ye=bt(Nt),Et()}else Oe()}};return ie.addEventListener("mousedown",yt),ie.ownerDocument.addEventListener("mouseup",at),ie.ownerDocument.addEventListener("mousemove",mt),function(){ie.removeEventListener("mousedown",yt),ie.ownerDocument.removeEventListener("mouseup",at),ie.ownerDocument.removeEventListener("mousemove",mt),Oe()}}},[ae])}var ce=10;function ze(ae,ee,z,ie,le,re,ye,Oe){var Et=ve.useRef(),yt=ve.useState(null),at=(0,ge.Z)(yt,2),mt=at[0],It=at[1];return(0,Qe.Z)(function(){if(mt&&mt.times<ce){if(!ae.current){It(function(Xn){return(0,Le.Z)({},Xn)});return}re();var Wt=mt.targetAlign,Yt=mt.originAlign,Jt=mt.index,xt=mt.offset,dn=ae.current.clientHeight,ft=!1,Nt=Wt,tt=null;if(dn){for(var Qt=Wt||Yt,kt=0,Ot=0,Dt=0,cn=Math.min(ee.length-1,Jt),Xt=0;Xt<=cn;Xt+=1){var fn=le(ee[Xt]);Ot=kt;var Nn=z.get(fn);Dt=Ot+(Nn===void 0?ie:Nn),kt=Dt}for(var Tn=Qt==="top"?xt:dn-xt,or=cn;or>=0;or-=1){var vr=le(ee[or]),lr=z.get(vr);if(lr===void 0){ft=!0;break}if(Tn-=lr,Tn<=0)break}switch(Qt){case"top":tt=Ot-xt;break;case"bottom":tt=Dt-dn+xt;break;default:{var Vn=ae.current.scrollTop,hn=Vn+dn;Ot<Vn?Nt="top":Dt>hn&&(Nt="bottom")}}tt!==null&&ye(tt),tt!==mt.lastTop&&(ft=!0)}ft&&It((0,Le.Z)((0,Le.Z)({},mt),{},{times:mt.times+1,targetAlign:Nt,lastTop:tt}))}},[mt,ae.current]),function(Wt){if(Wt==null){Oe();return}if(Ge.Z.cancel(Et.current),typeof Wt=="number")ye(Wt);else if(Wt&&(0,$e.Z)(Wt)==="object"){var Yt,Jt=Wt.align;"index"in Wt?Yt=Wt.index:Yt=ee.findIndex(function(ft){return le(ft)===Wt.key});var xt=Wt.offset,dn=xt===void 0?0:xt;It({times:0,index:Yt,offset:dn,originAlign:Jt})}}}var dt=ve.forwardRef(function(ae,ee){var z=ae.prefixCls,ie=ae.rtl,le=ae.scrollOffset,re=ae.scrollRange,ye=ae.onStartMove,Oe=ae.onStopMove,Et=ae.onScroll,yt=ae.horizontal,at=ae.spinSize,mt=ae.containerSize,It=ae.style,Wt=ae.thumbStyle,Yt=ae.showScrollBar,Jt=ve.useState(!1),xt=(0,ge.Z)(Jt,2),dn=xt[0],ft=xt[1],Nt=ve.useState(null),tt=(0,ge.Z)(Nt,2),Qt=tt[0],kt=tt[1],Ot=ve.useState(null),Dt=(0,ge.Z)(Ot,2),cn=Dt[0],Xt=Dt[1],fn=!ie,Nn=ve.useRef(),Tn=ve.useRef(),or=ve.useState(Yt),vr=(0,ge.Z)(or,2),lr=vr[0],Vn=vr[1],hn=ve.useRef(),Xn=function(){Yt===!0||Yt===!1||(clearTimeout(hn.current),Vn(!0),hn.current=setTimeout(function(){Vn(!1)},3e3))},Rn=re-mt||0,Bn=mt-at||0,Zn=ve.useMemo(function(){if(le===0||Rn===0)return 0;var Fn=le/Rn;return Fn*Bn},[le,Rn,Bn]),Ft=function(Mn){Mn.stopPropagation(),Mn.preventDefault()},jt=ve.useRef({top:Zn,dragging:dn,pageY:Qt,startTop:cn});jt.current={top:Zn,dragging:dn,pageY:Qt,startTop:cn};var vt=function(Mn){ft(!0),kt(ut(Mn,yt)),Xt(jt.current.top),ye(),Mn.stopPropagation(),Mn.preventDefault()};ve.useEffect(function(){var Fn=function(Ht){Ht.preventDefault()},Mn=Nn.current,wn=Tn.current;return Mn.addEventListener("touchstart",Fn,{passive:!1}),wn.addEventListener("touchstart",vt,{passive:!1}),function(){Mn.removeEventListener("touchstart",Fn),wn.removeEventListener("touchstart",vt)}},[]);var At=ve.useRef();At.current=Rn;var qt=ve.useRef();qt.current=Bn,ve.useEffect(function(){if(dn){var Fn,Mn=function(Ht){var rt=jt.current,Ut=rt.dragging,vn=rt.pageY,Pn=rt.startTop;Ge.Z.cancel(Fn);var ke=Nn.current.getBoundingClientRect(),Me=mt/(yt?ke.width:ke.height);if(Ut){var Rt=(ut(Ht,yt)-vn)*Me,St=Pn;!fn&&yt?St-=Rt:St+=Rt;var je=At.current,Bt=qt.current,nn=Bt?St/Bt:0,un=Math.ceil(nn*je);un=Math.max(un,0),un=Math.min(un,je),Fn=(0,Ge.Z)(function(){Et(un,yt)})}},wn=function(){ft(!1),Oe()};return window.addEventListener("mousemove",Mn,{passive:!0}),window.addEventListener("touchmove",Mn,{passive:!0}),window.addEventListener("mouseup",wn,{passive:!0}),window.addEventListener("touchend",wn,{passive:!0}),function(){window.removeEventListener("mousemove",Mn),window.removeEventListener("touchmove",Mn),window.removeEventListener("mouseup",wn),window.removeEventListener("touchend",wn),Ge.Z.cancel(Fn)}}},[dn]),ve.useEffect(function(){return Xn(),function(){clearTimeout(hn.current)}},[le]),ve.useImperativeHandle(ee,function(){return{delayHidden:Xn}});var sn="".concat(z,"-scrollbar"),an={position:"absolute",visibility:lr?null:"hidden"},En={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return yt?(Object.assign(an,{height:8,left:0,right:0,bottom:0}),Object.assign(En,(0,Re.Z)({height:"100%",width:at},fn?"left":"right",Zn))):(Object.assign(an,(0,Re.Z)({width:8,top:0,bottom:0},fn?"right":"left",0)),Object.assign(En,{width:"100%",height:at,top:Zn})),ve.createElement("div",{ref:Nn,className:Ce()(sn,(0,Re.Z)((0,Re.Z)((0,Re.Z)({},"".concat(sn,"-horizontal"),yt),"".concat(sn,"-vertical"),!yt),"".concat(sn,"-visible"),lr)),style:(0,Le.Z)((0,Le.Z)({},an),It),onMouseDown:Ft,onMouseMove:Xn},ve.createElement("div",{ref:Tn,className:Ce()("".concat(sn,"-thumb"),(0,Re.Z)({},"".concat(sn,"-thumb-moving"),dn)),style:(0,Le.Z)((0,Le.Z)({},En),Wt),onMouseDown:vt}))}),ct=dt,be=20;function Ye(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,z=ae/ee*ae;return isNaN(z)&&(z=0),z=Math.max(z,be),Math.floor(z)}var Ie=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Ct=[],qe={overflowY:"auto",overflowAnchor:"none"};function wt(ae,ee){var z=ae.prefixCls,ie=z===void 0?"rc-virtual-list":z,le=ae.className,re=ae.height,ye=ae.itemHeight,Oe=ae.fullHeight,Et=Oe===void 0?!0:Oe,yt=ae.style,at=ae.data,mt=ae.children,It=ae.itemKey,Wt=ae.virtual,Yt=ae.direction,Jt=ae.scrollWidth,xt=ae.component,dn=xt===void 0?"div":xt,ft=ae.onScroll,Nt=ae.onVirtualScroll,tt=ae.onVisibleChange,Qt=ae.innerProps,kt=ae.extraRender,Ot=ae.styles,Dt=ae.showScrollBar,cn=Dt===void 0?"optional":Dt,Xt=(0,me.Z)(ae,Ie),fn=ve.useCallback(function(Vt){return typeof It=="function"?It(Vt):Vt==null?void 0:Vt[It]},[It]),Nn=He(fn,null,null),Tn=(0,ge.Z)(Nn,4),or=Tn[0],vr=Tn[1],lr=Tn[2],Vn=Tn[3],hn=!!(Wt!==!1&&re&&ye),Xn=ve.useMemo(function(){return Object.values(lr.maps).reduce(function(Vt,en){return Vt+en},0)},[lr.id,lr.maps]),Rn=hn&&at&&(Math.max(ye*at.length,Xn)>re||!!Jt),Bn=Yt==="rtl",Zn=Ce()(ie,(0,Re.Z)({},"".concat(ie,"-rtl"),Bn),le),Ft=at||Ct,jt=(0,ve.useRef)(),vt=(0,ve.useRef)(),At=(0,ve.useRef)(),qt=(0,ve.useState)(0),sn=(0,ge.Z)(qt,2),an=sn[0],En=sn[1],Fn=(0,ve.useState)(0),Mn=(0,ge.Z)(Fn,2),wn=Mn[0],pn=Mn[1],Ht=(0,ve.useState)(!1),rt=(0,ge.Z)(Ht,2),Ut=rt[0],vn=rt[1],Pn=function(){vn(!0)},ke=function(){vn(!1)},Me={getKey:fn};function Rt(Vt){En(function(en){var An;typeof Vt=="function"?An=Vt(en):An=Vt;var mn=Mr(An);return jt.current.scrollTop=mn,mn})}var St=(0,ve.useRef)({start:0,end:Ft.length}),je=(0,ve.useRef)(),Bt=nt(Ft,fn),nn=(0,ge.Z)(Bt,1),un=nn[0];je.current=un;var xn=ve.useMemo(function(){if(!hn)return{scrollHeight:void 0,start:0,end:Ft.length-1,offset:void 0};if(!Rn){var Vt;return{scrollHeight:((Vt=vt.current)===null||Vt===void 0?void 0:Vt.offsetHeight)||0,start:0,end:Ft.length-1,offset:void 0}}for(var en=0,An,mn,In,_t=Ft.length,Gt=0;Gt<_t;Gt+=1){var on=Ft[Gt],ln=fn(on),qn=lr.get(ln),er=en+(qn===void 0?ye:qn);er>=an&&An===void 0&&(An=Gt,mn=en),er>an+re&&In===void 0&&(In=Gt),en=er}return An===void 0&&(An=0,mn=0,In=Math.ceil(re/ye)),In===void 0&&(In=Ft.length-1),In=Math.min(In+1,Ft.length-1),{scrollHeight:en,start:An,end:In,offset:mn}},[Rn,hn,an,Ft,Vn,re]),Kt=xn.scrollHeight,rn=xn.start,Ze=xn.end,zn=xn.offset;St.current.start=rn,St.current.end=Ze,ve.useLayoutEffect(function(){var Vt=lr.getRecord();if(Vt.size===1){var en=Array.from(Vt.keys())[0],An=Vt.get(en),mn=Ft[rn];if(mn&&An===void 0){var In=fn(mn);if(In===en){var _t=lr.get(en),Gt=_t-ye;Rt(function(on){return on+Gt})}}}lr.resetRecord()},[Kt]);var $t=ve.useState({width:0,height:re}),kn=(0,ge.Z)($t,2),Sn=kn[0],Hn=kn[1],jn=function(en){Hn({width:en.offsetWidth,height:en.offsetHeight})},yr=(0,ve.useRef)(),Qn=(0,ve.useRef)(),Kn=ve.useMemo(function(){return Ye(Sn.width,Jt)},[Sn.width,Jt]),ur=ve.useMemo(function(){return Ye(Sn.height,Kt)},[Sn.height,Kt]),Un=Kt-re,br=(0,ve.useRef)(Un);br.current=Un;function Mr(Vt){var en=Vt;return Number.isNaN(br.current)||(en=Math.min(en,br.current)),en=Math.max(en,0),en}var mr=an<=0,xr=an>=Un,Er=wn<=0,wr=wn>=Jt,gn=Ke(mr,xr,Er,wr),Ln=function(){return{x:Bn?-wn:wn,y:an}},Yn=(0,ve.useRef)(Ln()),ir=(0,he.zX)(function(Vt){if(Nt){var en=(0,Le.Z)((0,Le.Z)({},Ln()),Vt);(Yn.current.x!==en.x||Yn.current.y!==en.y)&&(Nt(en),Yn.current=en)}});function fr(Vt,en){var An=Vt;en?((0,ot.flushSync)(function(){pn(An)}),ir()):Rt(An)}function Br(Vt){var en=Vt.currentTarget.scrollTop;en!==an&&Rt(en),ft==null||ft(Vt),ir()}var Cr=function(en){var An=en,mn=Jt?Jt-Sn.width:0;return An=Math.max(An,0),An=Math.min(An,mn),An},cr=(0,he.zX)(function(Vt,en){en?((0,ot.flushSync)(function(){pn(function(An){var mn=An+(Bn?-Vt:Vt);return Cr(mn)})}),ir()):Rt(function(An){var mn=An+Vt;return mn})}),ar=Lt(hn,mr,xr,Er,wr,!!Jt,cr),Tr=(0,ge.Z)(ar,2),jr=Tr[0],Gr=Tr[1];gt(hn,jt,function(Vt,en,An,mn){var In=mn;return gn(Vt,en,An)?!1:!In||!In._virtualHandled?(In&&(In._virtualHandled=!0),jr({preventDefault:function(){},deltaX:Vt?en:0,deltaY:Vt?0:en}),!0):!1}),pe(Rn,jt,function(Vt){Rt(function(en){return en+Vt})}),(0,Qe.Z)(function(){function Vt(An){var mn=mr&&An.detail<0,In=xr&&An.detail>0;hn&&!mn&&!In&&An.preventDefault()}var en=jt.current;return en.addEventListener("wheel",jr,{passive:!1}),en.addEventListener("DOMMouseScroll",Gr,{passive:!0}),en.addEventListener("MozMousePixelScroll",Vt,{passive:!1}),function(){en.removeEventListener("wheel",jr),en.removeEventListener("DOMMouseScroll",Gr),en.removeEventListener("MozMousePixelScroll",Vt)}},[hn,mr,xr]),(0,Qe.Z)(function(){if(Jt){var Vt=Cr(wn);pn(Vt),ir({x:Vt})}},[Sn.width,Jt]);var dr=function(){var en,An;(en=yr.current)===null||en===void 0||en.delayHidden(),(An=Qn.current)===null||An===void 0||An.delayHidden()},ai=ze(jt,Ft,lr,ye,fn,function(){return vr(!0)},Rt,dr);ve.useImperativeHandle(ee,function(){return{nativeElement:At.current,getScrollInfo:Ln,scrollTo:function(en){function An(mn){return mn&&(0,$e.Z)(mn)==="object"&&("left"in mn||"top"in mn)}An(en)?(en.left!==void 0&&pn(Cr(en.left)),ai(en.top)):ai(en)}}}),(0,Qe.Z)(function(){if(tt){var Vt=Ft.slice(rn,Ze+1);tt(Vt,Ft)}},[rn,Ze,Ft]);var gr=Ue(Ft,fn,lr,ye),li=kt==null?void 0:kt({start:rn,end:Ze,virtual:Rn,offsetX:wn,offsetY:zn,rtl:Bn,getSize:gr}),ti=Be(Ft,rn,Ze,Jt,wn,or,mt,Me),zr=null;re&&(zr=(0,Le.Z)((0,Re.Z)({},Et?"height":"maxHeight",re),qe),hn&&(zr.overflowY="hidden",Jt&&(zr.overflowX="hidden"),Ut&&(zr.pointerEvents="none")));var $n={};return Bn&&($n.dir="rtl"),ve.createElement("div",(0,ne.Z)({ref:At,style:(0,Le.Z)((0,Le.Z)({},yt),{},{position:"relative"}),className:Zn},$n,Xt),ve.createElement(we.Z,{onResize:jn},ve.createElement(dn,{className:"".concat(ie,"-holder"),style:zr,ref:jt,onScroll:Br,onMouseEnter:dr},ve.createElement(De,{prefixCls:ie,height:Kt,offsetX:wn,offsetY:zn,scrollWidth:Jt,onInnerResize:vr,ref:vt,innerProps:Qt,rtl:Bn,extra:li},ti))),Rn&&Kt>re&&ve.createElement(ct,{ref:yr,prefixCls:ie,scrollOffset:an,scrollRange:Kt,rtl:Bn,onScroll:fr,onStartMove:Pn,onStopMove:ke,spinSize:ur,containerSize:Sn.height,style:Ot==null?void 0:Ot.verticalScrollBar,thumbStyle:Ot==null?void 0:Ot.verticalScrollBarThumb,showScrollBar:cn}),Rn&&Jt>Sn.width&&ve.createElement(ct,{ref:Qn,prefixCls:ie,scrollOffset:wn,scrollRange:Jt,rtl:Bn,onScroll:fr,onStartMove:Pn,onStopMove:ke,spinSize:Kn,containerSize:Sn.width,horizontal:!0,style:Ot==null?void 0:Ot.horizontalScrollBar,thumbStyle:Ot==null?void 0:Ot.horizontalScrollBarThumb,showScrollBar:cn}))}var Pe=ve.forwardRef(wt);Pe.displayName="List";var lt=Pe,pt=lt},93314:function(Tt){"use strict";Tt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x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9pgkrgrxIVmt96YtnGun3xUSxilMjq0vvqRcBqnlMNMo46I/5UtQvAUxmmaRsEPVBrLKk/IQaJwMIXjTka9LYeh9Dvb4aAvSNYq4+Jm2goXxPp0K3dMM0KWHVMUvGGBrwmQ2IrhNUJWkPY0BC9f2qA8cMX0qfqEkAtDs9D+Bpqnq9bihv5nwrYS0ATWMMpS0a7RmrnqrkJp/QlMAWgGsP3UqCeg7ALwBQtWPs86Mi0pZwwj2EY2koSlhNnlVfClvlG/DpQsEX/z9BI6s2Gez0VMcDxLQ70ThONwM6bfL9gVakukrPsNvfEyWsNmBujKHhntFUKYXRHsa/JDL6hy3yI1DwGi3pRYDG8BkAlI6YxoqERKmJqh0dNudFhNdoaSECSlgtBLdW1cYYkhjPQtIORnsYX5TEAqmMu5Y6R7WAbO733KkLXAlISoy0SemJJMWEC8dUamou4PXUpg9DPWi1+VpjDLMK0bWCJMZIrMGLJEcy44vX6LGjZHNDCYipqUhIfNEJc4x2JXqJ+8bwV0SE32lJIQJKWCmclCRd8m1lJKpASqN6aRMaNwMC6Y2bA1Q5eT1ffN/N/mWBvxIJiGfogr9U17gLRyLiixIRyYikRELiZzzOUtCduSSrLH3XKGGlb06a3iNf9WR8fBIX/wYv/h/Y0ILvmHItuJbvgxd3PvkiQQYvkh/XUJDtKCBFewwBofAzkgXJhp/xffDibhpfNF4HL5IP39NuxL9MiMD3/Mvv+N5+Tauq1vSlk7oK/x9GzthFmz90vwAAAABJRU5ErkJggg=="},55351:function(Tt){"use strict";Tt.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAADwCAYAAAA+VemSAAAAAXNSR0IArs4c6QAAQABJREFUeAHs3QfYddlVF/AXHAt2saIoX+wVxAIIChM0ININRYzKKFFBggokFghk6KYQEgQFRBiBQEAgRIICUsaKWMBYscHYsPcGqFzXb0/+J+vu75R73++bCfq4nufe3dZea+21yzlrt3Nz8zi8cTlfWL/vrN/pify93uu93unLv/zLT3vwZV/2Zafv//2//yLHz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v8iZ4mnNtBQp0l9BlcHzFAAeu0h8B48V+JdQjQri2D57a/VyBBkMNanSOw1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},16722:function(Tt,zt,de){"use strict";de.d(zt,{Z:function(){return Ce}});const ne=we=>typeof we=="object"&&we!=null&&we.nodeType===1,$e=(we,he)=>(!he||we!=="hidden")&&we!=="visible"&&we!=="clip",Le=(we,he)=>{if(we.clientHeight<we.scrollHeight||we.clientWidth<we.scrollWidth){const Qe=getComputedStyle(we,null);return $e(Qe.overflowY,he)||$e(Qe.overflowX,he)||(ve=>{const ot=(We=>{if(!We.ownerDocument||!We.ownerDocument.defaultView)return null;try{return We.ownerDocument.defaultView.frameElement}catch(De){return null}})(ve);return!!ot&&(ot.clientHeight<ve.scrollHeight||ot.clientWidth<ve.scrollWidth)})(we)}return!1},Re=(we,he,Qe,ve,ot,We,De,Fe)=>We<we&&De>he||We>we&&De<he?0:We<=we&&Fe<=Qe||De>=he&&Fe>=Qe?We-we-ve:De>he&&Fe<Qe||We<we&&Fe>Qe?De-he+ot:0,ge=we=>{const he=we.parentElement;return he==null?we.getRootNode().host||null:he},me=(we,he)=>{var Qe,ve,ot,We;if(typeof document=="undefined")return[];const{scrollMode:De,block:Fe,inline:Be,boundary:st,skipOverflowHiddenElements:ht}=he,nt=typeof st=="function"?st:ct=>ct!==st;if(!ne(we))throw new TypeError("Invalid target");const Ge=document.scrollingElement||document.documentElement,Xe=[];let Je=we;for(;ne(Je)&&nt(Je);){if(Je=ge(Je),Je===Ge){Xe.push(Je);break}Je!=null&&Je===document.body&&Le(Je)&&!Le(document.documentElement)||Je!=null&&Le(Je,ht)&&Xe.push(Je)}const Ke=(ve=(Qe=window.visualViewport)==null?void 0:Qe.width)!=null?ve:innerWidth,Lt=(We=(ot=window.visualViewport)==null?void 0:ot.height)!=null?We:innerHeight,{scrollX:Ue,scrollY:Ne}=window,{height:et,width:Ee,top:Ve,right:Se,bottom:He,left:Pt}=we.getBoundingClientRect(),{top:gt,right:bt,bottom:ut,left:pe}=(ct=>{const be=window.getComputedStyle(ct);return{top:parseFloat(be.scrollMarginTop)||0,right:parseFloat(be.scrollMarginRight)||0,bottom:parseFloat(be.scrollMarginBottom)||0,left:parseFloat(be.scrollMarginLeft)||0}})(we);let ce=Fe==="start"||Fe==="nearest"?Ve-gt:Fe==="end"?He+ut:Ve+et/2-gt+ut,ze=Be==="center"?Pt+Ee/2-pe+bt:Be==="end"?Se+bt:Pt-pe;const dt=[];for(let ct=0;ct<Xe.length;ct++){const be=Xe[ct],{height:Ye,width:Ie,top:Ct,right:qe,bottom:wt,left:Pe}=be.getBoundingClientRect();if(De==="if-needed"&&Ve>=0&&Pt>=0&&He<=Lt&&Se<=Ke&&(be===Ge&&!Le(be)||Ve>=Ct&&He<=wt&&Pt>=Pe&&Se<=qe))return dt;const lt=getComputedStyle(be),pt=parseInt(lt.borderLeftWidth,10),ae=parseInt(lt.borderTopWidth,10),ee=parseInt(lt.borderRightWidth,10),z=parseInt(lt.borderBottomWidth,10);let ie=0,le=0;const re="offsetWidth"in be?be.offsetWidth-be.clientWidth-pt-ee:0,ye="offsetHeight"in be?be.offsetHeight-be.clientHeight-ae-z:0,Oe="offsetWidth"in be?be.offsetWidth===0?0:Ie/be.offsetWidth:0,Et="offsetHeight"in be?be.offsetHeight===0?0:Ye/be.offsetHeight:0;if(Ge===be)ie=Fe==="start"?ce:Fe==="end"?ce-Lt:Fe==="nearest"?Re(Ne,Ne+Lt,Lt,ae,z,Ne+ce,Ne+ce+et,et):ce-Lt/2,le=Be==="start"?ze:Be==="center"?ze-Ke/2:Be==="end"?ze-Ke:Re(Ue,Ue+Ke,Ke,pt,ee,Ue+ze,Ue+ze+Ee,Ee),ie=Math.max(0,ie+Ne),le=Math.max(0,le+Ue);else{ie=Fe==="start"?ce-Ct-ae:Fe==="end"?ce-wt+z+ye:Fe==="nearest"?Re(Ct,wt,Ye,ae,z+ye,ce,ce+et,et):ce-(Ct+Ye/2)+ye/2,le=Be==="start"?ze-Pe-pt:Be==="center"?ze-(Pe+Ie/2)+re/2:Be==="end"?ze-qe+ee+re:Re(Pe,qe,Ie,pt,ee+re,ze,ze+Ee,Ee);const{scrollLeft:yt,scrollTop:at}=be;ie=Et===0?0:Math.max(0,Math.min(at+ie/Et,be.scrollHeight-Ye/Et+ye)),le=Oe===0?0:Math.max(0,Math.min(yt+le/Oe,be.scrollWidth-Ie/Oe+re)),ce+=at-ie,ze+=yt-le}dt.push({el:be,top:ie,left:le})}return dt},Te=we=>we===!1?{block:"end",inline:"nearest"}:(he=>he===Object(he)&&Object.keys(he).length!==0)(we)?we:{block:"start",inline:"nearest"};function Ce(we,he){if(!we.isConnected||!(ot=>{let We=ot;for(;We&&We.parentNode;){if(We.parentNode===document)return!0;We=We.parentNode instanceof ShadowRoot?We.parentNode.host:We.parentNode}return!1})(we))return;const Qe=(ot=>{const We=window.getComputedStyle(ot);return{top:parseFloat(We.scrollMarginTop)||0,right:parseFloat(We.scrollMarginRight)||0,bottom:parseFloat(We.scrollMarginBottom)||0,left:parseFloat(We.scrollMarginLeft)||0}})(we);if((ot=>typeof ot=="object"&&typeof ot.behavior=="function")(he))return he.behavior(me(we,he));const ve=typeof he=="boolean"||he==null?void 0:he.behavior;for(const{el:ot,top:We,left:De}of me(we,Te(he))){const Fe=We-Qe.top+Qe.bottom,Be=De-Qe.left+Qe.right;ot.scroll({top:Fe,left:Be,behavior:ve})}}}}]);
|